/* ==========================================================================
   JELAJAH (jelajah.tech) — YUPI PALETTE EDITION
   Official Mascot: YUPI (UPN "Veteran" Jawa Timur)
   Colors:
   - YUPI Hero Green: #0A8754 (Primary)
   - YUPI Deep Green: #055C38
   - YUPI Mint Tint: #EAF7F0
   - YUPI Flame Red: #FF453A (Spirit & Action)
   - YUPI Flame Soft: #FFECEB
   - YUPI Star Gold: #FFC72C (Rewards & Highlight)
   - YUPI Gold Deep: #D99000
   - Crisp White: #FFFFFF
   - Warm Paper: #FBFBFA
   - Ink Primary: #12261B
   - Ink Muted: #4F6357
   ========================================================================== */

:root {
  /* Muted, tertahan — satu hijau sebagai identitas, satu aksen emas untuk poin/reward saja */
  --yupi-green: #3C6E52;
  --yupi-green-deep: #264834;
  --yupi-green-light: #EEF3EE;
  --yupi-red: #A44236;
  --yupi-red-deep: #82331F;
  --yupi-red-soft: #F5EBE8;
  --yupi-gold: #B8862F;
  --yupi-gold-deep: #8C6522;
  --yupi-gold-soft: #F6EFE0;
  --yupi-sand: #C9B896;

  --bg-page: #F6F5F2;
  --bg-card: #FFFFFF;
  --ink-main: #1C231E;
  --ink-muted: #5C645D;
  --border-line: #DEDCD3;
  --border-line-strong: #C7C4B8;

  /* Bayangan sangat tipis — border tipis melakukan sebagian besar pekerjaan */
  --shadow-sm: 0 1px 2px rgba(28, 35, 30, 0.05);
  --shadow-md: 0 2px 6px rgba(28, 35, 30, 0.07);
  --shadow-lg: 0 4px 14px rgba(28, 35, 30, 0.08);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);

  /* Alias — dipakai di beberapa inline style pada index.html */
  --forest: var(--yupi-green-deep);
  --teal: var(--yupi-green);
  --gold: var(--yupi-gold);
  --gold-deep: var(--yupi-gold-deep);
  --line: var(--border-line);
  --paper-card: var(--bg-card);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100%;
  background: var(--bg-page);
  color: var(--ink-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-font {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  user-select: none;
}

/* APP SHELL */
.app-container {
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  position: relative;
  box-shadow: 0 0 40px rgba(10, 135, 84, 0.08);
}

/* TOP NAVBAR */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--yupi-green-deep);
  color: #FFF;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mascot-badge {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--yupi-gold);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: none;
}

/* ICON UTILITY — line-icon set (SVG use) */
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.15em;
  flex: none;
}

.brand-mascot-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
  color: #FFF;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-badge {
  font-size: 10px;
  color: var(--yupi-gold);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.points-pill {
  background: var(--yupi-gold);
  color: #1C1305;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s var(--ease-spring);
}

.points-pill.bounce {
  transform: scale(1.08);
}

.user-avatar-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.15s ease;
}

.user-avatar-btn:active {
  transform: scale(0.92);
}

/* EVENT HERO BANNER */
.event-header {
  background: var(--yupi-green-deep);
  color: #FFF;
  padding: 20px 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.event-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.event-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--yupi-gold);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.event-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yupi-red);
  box-shadow: 0 0 6px var(--yupi-red);
  animation: pulseDot 1.6s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.85); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.85); opacity: 0.8; }
}

.sound-toggle {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.event-header h1 {
  font-size: 22px;
  color: #FFF;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.event-header p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 14px;
  max-width: 44ch;
}

/* PROGRESS BAR */
.progress-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  margin-bottom: 6px;
  font-weight: 600;
}

.progress-track {
  height: 10px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--yupi-gold);
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 0.5s var(--ease-smooth);
}

.quick-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* RUTE KILAT CALLOUT (PROTOTYPE GUIDE) */
.quick-route-banner {
  background: var(--yupi-gold-soft);
  border: 1px solid var(--border-line-strong);
  border-left: 3px solid var(--yupi-gold);
  border-radius: var(--radius-sm);
  margin: 14px 16px 6px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.quick-route-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: #FFF;
  border: 1px solid var(--border-line-strong);
  color: var(--yupi-gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.quick-route-icon .icon { width: 20px; height: 20px; }

.quick-route-content h4 {
  font-size: 14.5px;
  color: #7A5305;
  display: flex;
  align-items: center;
  gap: 6px;
}

.quick-route-badge {
  background: var(--yupi-red);
  color: #FFF;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.4px;
}

.quick-route-content p {
  font-size: 12px;
  color: #5D4314;
  margin-top: 3px;
  line-height: 1.45;
}

/* FILTER PILLS */
.map-filter-bar {
  padding: 12px 16px 6px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.map-filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  flex: none;
  padding: 7px 14px;
  background: #FFF;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.filter-pill span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.filter-pill.active {
  background: var(--yupi-green);
  color: #FFF;
  border-color: var(--yupi-green);
}

.filter-count {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.08);
}

.filter-pill.active .filter-count {
  background: var(--yupi-gold);
  color: var(--ink-main);
}

/* MAP SECTION & SVG CANVAS */
.map-section {
  padding: 8px 16px 16px;
}

.map-wrapper {
  background: #FFF;
  border: 1px solid var(--border-line-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

/* FULLSCREEN MAP OVERLAY */
.map-wrapper.map-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  border-radius: 0 !important;
  border: none !important;
  z-index: 99999 !important;
  background: #FAF8F2;
  margin: 0 !important;
  padding: 0 !important;
}

.map-wrapper.map-fullscreen .map-viewport {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
}

.map-wrapper.map-fullscreen .map-toolbar {
  top: 16px;
  right: 16px;
}

.map-wrapper.map-fullscreen .map-legend-btn {
  top: 16px;
  left: 16px;
}

.map-toolbar {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.map-tool-btn {
  width: 36px;
  height: 36px;
  background: #FFF;
  border: 1.5px solid var(--border-line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
  font-size: 15px;
  color: var(--ink-main);
  transition: transform 0.15s ease, background 0.15s ease;
  text-decoration: none;
  cursor: pointer;
}

.map-tool-btn:hover {
  background: #F4FAF6;
  border-color: var(--yupi-green);
}

.map-tool-btn:active {
  transform: scale(0.9);
}

.map-tool-btn.active {
  background: var(--yupi-green);
  color: #FFF;
  border-color: var(--yupi-green-deep);
}

.map-toolbar-divider {
  height: 1px;
  background: rgba(0,0,0,0.12);
  margin: 2px 2px;
}

.map-legend-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-line-strong);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--yupi-green-deep);
  pointer-events: none;
}

.map-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 100 / 125;
  background: #FAF8F2;
  overflow: hidden;
  touch-action: none;
}

/* CANVAS LAYER CONTAINER (HANDLES TRANSFORM TRANSLATE & SCALE) */
.map-canvas-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  transform-origin: center center;
  transition: transform 0.08s ease-out;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.map-canvas-layer.is-dragging {
  cursor: grabbing !important;
  transition: none !important;
}

/* ZOOM BADGE STATUS PILL */
.map-zoom-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(28, 35, 30, 0.92);
  color: #FFF;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 20;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.map-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* INTERACTIVE MAP PINS */
.map-pins-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.map-pin {
  pointer-events: auto;
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring);
  z-index: 5;
}

.map-pin:hover, .map-pin.active {
  transform: translate(-50%, -50%) scale(1.22);
  z-index: 25;
}

.pin-bubble {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11.5px;
  border: 1.5px solid #FFF;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  position: relative;
}

/* PIN STATUS COLORS */
.map-pin.todo .pin-bubble {
  background: var(--yupi-gold);
  color: var(--ink-main);
  animation: radarPulse 2.2s infinite;
}

.map-pin.quick-target .pin-bubble {
  background: var(--yupi-red);
  color: #FFF;
  border-color: var(--yupi-gold);
  animation: flamePulse 1.8s infinite;
}

.map-pin.done .pin-bubble {
  background: var(--yupi-green);
  color: #FFF;
  border-color: #FFF;
}

@keyframes radarPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 199, 44, 0.7), 0 3px 8px rgba(0,0,0,0.25); }
  70% { box-shadow: 0 0 0 10px rgba(255, 199, 44, 0), 0 3px 8px rgba(0,0,0,0.25); }
  100% { box-shadow: 0 0 0 0 rgba(255, 199, 44, 0), 0 3px 8px rgba(0,0,0,0.25); }
}

@keyframes flamePulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 69, 58, 0.7), 0 3px 8px rgba(0,0,0,0.25); }
  70% { box-shadow: 0 0 0 10px rgba(255, 69, 58, 0), 0 3px 8px rgba(0,0,0,0.25); }
  100% { box-shadow: 0 0 0 0 rgba(255, 69, 58, 0), 0 3px 8px rgba(0,0,0,0.25); }
}

.pin-label-tag {
  margin-top: 2px;
  background: rgba(18, 38, 27, 0.88);
  color: #FFF;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.2px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  pointer-events: none;
}

.map-pin.done .pin-label-tag {
  background: var(--yupi-green-deep);
}

/* RPG-STYLE BOOTH EXPLORATION CARDS */
.booth-cards-section {
  padding: 18px 16px 28px;
}

.booth-section-header {
  margin-bottom: 14px;
}

.booth-badge-pill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--yupi-gold-deep);
  background: var(--yupi-gold-soft);
  border: 1px solid var(--border-line-strong);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
}

.booth-section-heading {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 19px;
  color: var(--yupi-green-deep);
  line-height: 1.25;
  margin-bottom: 4px;
}

.booth-section-sub {
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.4;
}

.booth-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}

@media (min-width: 640px) {
  .booth-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.booth-card {
  background: #FFF;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: border-color 0.15s ease, background 0.15s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.booth-card:hover {
  border-color: var(--border-line-strong);
  background: #FBFAF8;
}

.booth-card:active {
  background: #F6F4F0;
}

/* Quick Route Accent */
.booth-card.is-quick {
  border-color: var(--yupi-gold);
}

.booth-card.is-quick::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--yupi-gold);
}

/* Done State */
.booth-card.is-done {
  border-color: var(--border-line);
  background: var(--yupi-green-light);
}

.booth-card.is-done::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--yupi-green);
}

.booth-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.booth-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.booth-num-badge {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-weight: 700;
  font-size: 13px;
  padding: 3px 8px;
  border-radius: 8px;
  background: var(--yupi-green);
  color: #FFF;
  flex: none;
}

.booth-card.is-quick .booth-num-badge {
  background: var(--yupi-red);
}

.booth-card.is-done .booth-num-badge {
  background: var(--yupi-green-deep);
}

.booth-zone-tag {
  font-size: 11px;
  color: var(--ink-muted);
  font-weight: 500;
}

.booth-points-badge {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-weight: 700;
  font-size: 13px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: var(--yupi-gold-soft);
  color: var(--yupi-gold-deep);
  border: 1px solid #FFE0A3;
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}

.booth-card.is-done .booth-points-badge {
  background: #E8F5E9;
  color: #2E7D32;
  border-color: #C8E6C9;
}

.booth-card-title {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 16px;
  color: var(--ink-main);
  line-height: 1.3;
}

.booth-card.is-done .booth-card-title {
  color: var(--yupi-green-deep);
}

.booth-card-desc {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.booth-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px dashed var(--border-line);
}

.booth-status-text {
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.booth-status-text.todo {
  color: var(--yupi-gold-deep);
}

.booth-status-text.done {
  color: var(--yupi-green);
}

.booth-status-text.quick {
  color: var(--yupi-red);
}

.btn-booth-action {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--yupi-green);
  color: #FFF;
  border: none;
  box-shadow: 0 2px 4px rgba(10, 135, 84, 0.25);
  cursor: pointer;
  transition: all 0.15s ease;
}

.booth-card.is-quick .btn-booth-action {
  background: var(--yupi-gold);
  color: var(--ink-main);
  box-shadow: 0 2px 4px rgba(255, 199, 44, 0.4);
}

.booth-card.is-done .btn-booth-action {
  background: #EAF7F0;
  color: var(--yupi-green-deep);
  box-shadow: none;
  border: 1px solid #BFE4CE;
}

/* REWARDS LIST & CARDS */
.rewards-container {
  padding: 16px;
}

.rewards-hero-card {
  background: var(--yupi-gold-soft);
  border: 1px solid var(--border-line-strong);
  border-left: 3px solid var(--yupi-gold);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.rewards-hero-icon {
  font-size: 34px;
  flex: none;
}

.rewards-hero-text h3 {
  font-size: 16.5px;
  color: #7A5305;
  margin-bottom: 3px;
}

.rewards-hero-text p {
  font-size: 12.5px;
  color: #5D4314;
}

.reward-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reward-item {
  background: #FFF;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 14px;
  transition: border-color 0.15s ease;
}

.reward-item:hover {
  border-color: var(--border-line-strong);
}

.reward-item-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--yupi-gold-soft);
  color: var(--yupi-gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.reward-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.reward-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.reward-item-title {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 15.5px;
  color: var(--yupi-green-deep);
  margin-bottom: 2px;
}

.reward-sponsor-tag {
  font-size: 11px;
  color: var(--yupi-green);
  font-weight: 600;
}

.reward-cost-badge {
  background: var(--yupi-gold-soft);
  color: var(--yupi-gold-deep);
  border: 1px solid var(--border-line-strong);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.reward-item-desc {
  font-size: 12px;
  color: var(--ink-muted);
  margin: 6px 0 10px;
}

.reward-item-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reward-stock {
  font-size: 11.5px;
  color: #8C9992;
}

.btn-redeem {
  background: var(--yupi-gold);
  color: #1C1305;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.btn-redeem:active {
  background: var(--yupi-gold-deep);
}

.btn-redeem:disabled {
  background: #CFD8DC;
  color: #546E7A;
  box-shadow: none;
  cursor: not-allowed;
}

/* LEADERBOARD VIEW */
.leaderboard-view {
  padding: 16px;
}

.podium-container {
  background: var(--yupi-green-deep);
  border-radius: var(--radius-md);
  padding: 24px 16px 16px;
  color: #FFF;
  margin-bottom: 18px;
  text-align: center;
}

.podium-title {
  font-size: 19px;
  color: var(--yupi-gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.podium-ranks {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.podium-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.podium-item.first {
  order: 2;
  transform: translateY(-10px);
}

.podium-item.second { order: 1; }
.podium-item.third { order: 3; }

.podium-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 6px;
  position: relative;
  color: #E4D9BD;
}

.podium-item.second .podium-avatar { color: #D7D7D7; }
.podium-item.third .podium-avatar { color: #D9AE84; }

.podium-item.first .podium-avatar {
  width: 56px;
  height: 56px;
  border-color: var(--yupi-gold);
  font-size: 24px;
  color: var(--yupi-gold);
}

.podium-crown {
  position: absolute;
  top: -16px;
  color: var(--yupi-gold);
}

.podium-name {
  font-size: 12.5px;
  font-weight: 600;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.podium-pts {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 13.5px;
  color: var(--yupi-gold);
  margin-top: 2px;
}

.podium-pillar {
  width: 100%;
  border-radius: 10px 10px 0 0;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-weight: 700;
}

.podium-item.first .podium-pillar {
  height: 64px;
  background: var(--yupi-gold);
  color: var(--ink-main);
  font-size: 22px;
}

.podium-item.second .podium-pillar {
  height: 46px;
  background: #C4C4C4;
  color: #333;
  font-size: 17px;
}

.podium-item.third .podium-pillar {
  height: 34px;
  background: #CD7F32;
  color: #FFF;
  font-size: 15px;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lb-row-item {
  background: #FFF;
  border: 1.5px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.lb-row-item.my-rank {
  background: var(--yupi-gold-soft);
  border-color: var(--yupi-gold);
  box-shadow: 0 3px 12px rgba(255, 199, 44, 0.35);
}

.lb-rank-num {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-weight: 700;
  font-size: 15px;
  width: 24px;
  text-align: center;
  color: var(--ink-muted);
}

.lb-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yupi-green-light);
  color: var(--yupi-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.lb-info { flex: 1; }
.lb-name-text { font-weight: 600; font-size: 14px; }
.lb-badge-text { font-size: 11px; color: var(--ink-muted); }
.lb-score-text { font-family: 'Inter', sans-serif; font-weight: 700; font-weight: 700; font-size: 15px; color: var(--yupi-green); }

/* BOTTOM NAVIGATION BAR */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 520px;
  background: #FFF;
  border-top: 1.5px solid var(--border-line);
  display: flex;
  justify-content: space-around;
  padding: 8px 10px 12px;
  z-index: 90;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 600;
  gap: 3px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-item-icon { display: flex; }
.nav-item-icon .icon { width: 19px; height: 19px; }

.nav-item.active {
  color: var(--yupi-green);
}

/* MODALS & BOTTOM SHEET */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 38, 27, 0.65);
  backdrop-filter: blur(5px);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.bottom-sheet {
  background: #FFF;
  width: 100%;
  max-width: 520px;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  padding: 24px 20px 36px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease-smooth);
  position: relative;
}

.modal-overlay.active .bottom-sheet {
  transform: translateY(0);
}

.sheet-drag-handle {
  width: 44px;
  height: 4.5px;
  background: #D8D2C5;
  border-radius: var(--radius-full);
  margin: -10px auto 18px;
}

.sheet-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  background: #F0EDE5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--ink-main);
}

.modal-badge-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.modal-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: var(--yupi-green-light);
  color: var(--yupi-green);
}

.modal-points-reward {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--yupi-gold-soft);
  color: var(--yupi-gold-deep);
}

.mission-task-box {
  background: #F9F8F3;
  border: 1.5px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 16px 0;
}

/* QUIZ BUTTONS */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.quiz-opt-btn {
  text-align: left;
  background: #FFF;
  border: 1.5px solid var(--border-line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-main);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.15s ease;
}

.quiz-opt-btn:active {
  transform: scale(0.98);
}

.quiz-opt-btn.correct {
  background: #E8F5E9;
  border-color: #2E7D32;
  color: #1B5E20;
  font-weight: 600;
}

.quiz-opt-btn.wrong {
  background: #FFEBEE;
  border-color: #C62828;
  color: #B71C1C;
  animation: shake 0.35s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.code-input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-line-strong);
  border-radius: var(--radius-sm);
  font-family: 'Inter', monospace; font-weight: 700;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  outline: none;
  background: #FFF;
}

.code-input:focus {
  border-color: var(--yupi-green);
}

.btn-submit-action {
  width: 100%;
  background: var(--yupi-green);
  color: #FFF;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-top: 14px;
  transition: background 0.15s ease;
}

.btn-submit-action:active {
  background: var(--yupi-green-deep);
}

/* TOAST NOTICE */
.toast-notice {
  position: fixed;
  top: 75px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--yupi-green-deep);
  color: var(--yupi-gold);
  border: 1px solid rgba(184, 134, 47, 0.5);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s var(--ease-spring);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-notice.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* CLAIM TICKET PASS */
.claim-pass-ticket {
  background: #FFF;
  border: 1.5px dashed var(--yupi-gold-deep);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  margin-top: 14px;
}

.claim-pass-qr {
  width: 170px;
  height: 170px;
  margin: 12px auto;
  border: 1px solid var(--border-line-strong);
  border-radius: var(--radius-sm);
  padding: 8px;
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.claim-pass-qr canvas, .claim-pass-qr img {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.claim-token-text {
  font-family: 'Inter', monospace; font-weight: 700;
  font-size: 26px;
  letter-spacing: 4px;
  color: var(--yupi-green-deep);
  font-weight: 700;
  margin: 8px 0;
}

.claim-hint {
  font-size: 12.5px;
  color: var(--ink-muted);
}

/* CONFETTI CANVAS */
#confettiCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 250;
  width: 100%;
  height: 100%;
}

/* DESKTOP & LAPTOP ADAPTIVE VIEW (>960px) */
@media (min-width: 960px) {
  .app-container {
    max-width: 1240px;
    padding: 0 20px;
    background: transparent;
    box-shadow: none;
  }

  .top-nav {
    border-radius: var(--radius-lg);
    margin-top: 14px;
  }

  .event-header {
    border-radius: var(--radius-lg);
    margin-top: 16px;
    padding: 24px 28px;
  }

  .desktop-layout-row {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: start;
    margin-top: 16px;
  }

  .map-section {
    padding: 0;
  }

  .desktop-side-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .bottom-nav {
    max-width: 1200px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 10px 24px;
  }

  .nav-item {
    font-size: 12px;
    flex-direction: row;
    gap: 8px;
    padding: 8px 18px;
  }

  .reward-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

/* SECTION SMOOTH SCROLL ANCHORING */
html {
  scroll-behavior: smooth;
}

.tab-view {
  scroll-margin-top: 80px;
}

/* ===========================================================================
   JELAJAH ADVENTURE REDESIGN
   The campus-route motif, logo palette, and focal map are documented in DESIGN.md.
   ========================================================================== */

:root {
  --yupi-green: #147A45;
  --yupi-green-deep: #073B2A;
  --yupi-green-light: #E8F3E8;
  --yupi-red: #C94A32;
  --yupi-red-deep: #9F3020;
  --yupi-red-soft: #FBE8E2;
  --yupi-gold: #E9AD21;
  --yupi-gold-deep: #8B5700;
  --yupi-gold-soft: #FFF1C9;
  --yupi-sand: #E6C77A;
  --bg-page: #F7F0DF;
  --bg-card: #FFFDF7;
  --ink-main: #163528;
  --ink-muted: #53675B;
  --border-line: #DFD2B5;
  --border-line-strong: #CBB88B;
  --shadow-sm: 0 2px 4px rgba(7, 59, 42, 0.06);
  --shadow-md: 0 10px 22px rgba(7, 59, 42, 0.10);
  --shadow-lg: 0 20px 36px rgba(7, 59, 42, 0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
}

body {
  background: var(--bg-page);
}

h1, h2, h3, h4, h5, .display-font {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  letter-spacing: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--yupi-gold);
  outline-offset: 3px;
}

.app-container {
  background: var(--bg-card);
  box-shadow: 0 0 0 1px rgba(139, 87, 0, 0.08), 0 22px 46px rgba(7, 59, 42, 0.08);
}

.top-nav {
  min-height: 72px;
  padding: 10px 18px;
  background: var(--yupi-green-deep);
  border-bottom-color: rgba(255, 241, 201, 0.20);
}

.brand-wrapper {
  min-width: 0;
  gap: 9px;
}

.brand-mascot-badge {
  width: 46px;
  height: 46px;
  padding: 4px;
  border-radius: 12px 12px 4px 12px;
  background: #FFF8E7;
  border: 1px solid rgba(233, 173, 33, 0.65);
  color: var(--yupi-green-deep);
  box-shadow: none;
}

.brand-mascot-badge img {
  object-fit: contain;
  object-position: center;
}

.brand-title-wrap {
  min-width: 0;
}

.brand-title {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: 25px;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0.025em;
  gap: 7px;
}

.brand-edition {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  padding: 3px 5px 2px;
  background: var(--yupi-gold);
  color: #1A351D;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-badge {
  max-width: 160px;
  overflow: hidden;
  color: #EFD994;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-actions {
  gap: 7px;
}

.points-pill {
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 10px 10px 10px 3px;
  background: var(--yupi-gold);
  color: #1A351D;
  font-size: 12px;
}

.user-avatar-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border-color: rgba(255, 248, 231, 0.56);
}

.event-header {
  overflow: hidden;
  padding: 18px 18px 24px;
  background: var(--yupi-green-deep);
  border-bottom: 5px solid var(--yupi-gold);
}

.event-header::before {
  content: '';
  position: absolute;
  top: 29px;
  right: -18px;
  width: 142px;
  height: 142px;
  border: 2px solid rgba(233, 173, 33, 0.30);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 100% 0 0;
  transform: rotate(-28deg);
  pointer-events: none;
}

.event-header::after {
  content: '';
  position: absolute;
  top: 93px;
  right: 30px;
  width: 52px;
  height: 2px;
  background: rgba(255, 241, 201, 0.62);
  transform: rotate(-28deg);
  pointer-events: none;
}

.event-meta,
.event-header h1,
.event-header p,
.event-header .progress-card {
  position: relative;
  z-index: 1;
}

.event-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.event-tag,
.event-visitors {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.event-tag {
  padding: 4px 7px;
  border-radius: 3px 8px 3px 3px;
  background: var(--yupi-gold);
  color: #173827;
  text-transform: none;
}

.event-tag::before {
  display: none;
}

.event-visitors {
  justify-self: start;
  gap: 5px;
  color: #FFF8E7;
}

.event-visitors strong {
  color: var(--yupi-gold);
}

.event-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EA735D;
  box-shadow: 0 0 0 3px rgba(234, 115, 93, 0.16);
  animation: pulseDot 1.6s infinite;
}

.sound-toggle {
  min-height: 30px;
  padding: 4px 7px;
  border-radius: 7px;
  color: #FFF8E7;
  background: rgba(255, 255, 255, 0.10);
  font-size: 10.5px;
}

.event-header h1 {
  max-width: 12ch;
  margin-bottom: 7px;
  color: #FFFDF7;
  font-size: clamp(32px, 9vw, 44px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-shadow: none;
}

.event-header p {
  max-width: 39ch;
  margin-bottom: 18px;
  color: #DCEDE0;
  font-size: 12.5px;
  line-height: 1.55;
}

.progress-card {
  padding: 13px 14px 12px;
  background: #0D5139;
  border: 1px solid rgba(233, 173, 33, 0.34);
  border-radius: 14px 14px 5px 14px;
}

.progress-header {
  font-size: 12px;
}

.progress-track {
  height: 8px;
  border-radius: 3px;
  background: #063021;
}

.progress-fill {
  border-radius: 3px;
  background: var(--yupi-gold);
}

.quick-stats {
  color: #DCEDE0;
}

.main-content-view {
  background: var(--bg-card);
}

.map-filter-bar {
  padding: 16px 16px 9px;
  gap: 7px;
  background: #FFF8E7;
  border-bottom: 1px solid #F0E4C7;
}

.filter-pill {
  min-height: 38px;
  padding: 7px 11px;
  border-radius: 9px;
  background: #FFFDF7;
  border-color: #DED2B6;
  color: #445D4D;
  font-size: 11.5px;
  transition: transform 160ms var(--ease-spring), background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.filter-pill:hover {
  border-color: var(--yupi-green);
}

.filter-pill:active {
  transform: translateY(1px);
}

.filter-pill.active {
  background: var(--yupi-green-deep);
  border-color: var(--yupi-green-deep);
}

.filter-count {
  border-radius: 5px;
}

.filter-pill.active .filter-count {
  background: var(--yupi-gold);
  color: #173827;
}

.map-section {
  padding: 12px 16px 0;
}

.map-wrapper {
  border: 2px solid #265D43;
  border-radius: 16px 16px 5px 16px;
  box-shadow: 0 10px 20px rgba(7, 59, 42, 0.10);
}

.map-toolbar {
  padding: 9px;
}

.map-tool-btn {
  border-radius: 7px;
  border-color: #DCCCA7;
  background: #FFFDF7;
}

.map-legend-btn,
.map-zoom-badge {
  border-radius: 6px;
}

.quick-mission-card {
  display: none;
}

.desktop-side-panel {
  display: none;
}

.btn-booth-action {
  border-radius: 8px 8px 3px 8px;
  background: var(--yupi-green-deep);
  box-shadow: none;
}

.btn-booth-action:hover {
  background: #0E6643;
}

.booth-cards-section {
  padding: 32px 16px 96px;
}

.booth-section-header {
  margin-bottom: 16px;
}

.booth-badge-pill {
  border-radius: 4px 9px 4px 4px;
  background: var(--yupi-gold);
  color: #173827;
}

.booth-section-heading {
  font-size: 31px;
  line-height: 0.95;
  color: var(--yupi-green-deep);
}

.booth-cards-grid {
  gap: 12px;
}

.booth-card {
  border: 1px solid #DDD0B3;
  border-radius: 14px 14px 5px 14px;
  background: #FFFDF7;
  box-shadow: none;
}

.booth-card:hover {
  border-color: #7CAA73;
  box-shadow: 0 9px 18px rgba(7, 59, 42, 0.08);
  transform: translateY(-2px);
}

.booth-card.is-quick {
  border-color: #D9A727;
  background: #FFF6D9;
}

.booth-card.is-quick::before,
.booth-card.is-done::before {
  display: none;
}

.booth-card.is-quick .booth-num-badge {
  background: var(--yupi-red);
}

.booth-card.is-quick .btn-booth-action {
  background: var(--yupi-red);
  color: #FFFDF7;
  box-shadow: none;
}

.booth-card.is-done {
  background: var(--yupi-green-light);
}

.booth-num-badge {
  border-radius: 6px 6px 3px 6px;
  background: var(--yupi-green-deep);
}

.booth-points-badge {
  border-radius: 5px;
  border-color: #E7C560;
}

.booth-card-title {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: 21px;
  line-height: 1.04;
}

.rewards-hero-card {
  border: 1px solid #E0B84F;
  border-left: 0;
  border-radius: 18px 18px 5px 18px;
  background: var(--yupi-gold-soft);
  box-shadow: none;
}

.rewards-hero-text h3 {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-size: 25px;
  line-height: 0.98;
}

.bottom-nav {
  background: #FFFDF7;
  border-top: 2px solid #D7C7A5;
  box-shadow: 0 -10px 20px rgba(7, 59, 42, 0.08);
}

.nav-item {
  min-width: 68px;
  min-height: 48px;
  border-radius: 9px 9px 3px 9px;
}

.nav-item.active {
  background: var(--yupi-green-light);
  color: var(--yupi-green-deep);
}

.modal-overlay {
  background: rgba(7, 59, 42, 0.72);
}

.bottom-sheet {
  background: #FFFDF7;
  border-radius: 22px 22px 0 0;
}

@media (min-width: 960px) {
  .app-container {
    max-width: 1240px;
    background: transparent;
    box-shadow: none;
  }

  .top-nav {
    border-radius: 22px 22px 5px 22px;
  }

  .event-header {
    padding: 30px 34px 32px;
    border-radius: 5px 22px 22px 22px;
  }

  .event-header h1 {
    font-size: 52px;
  }

  .map-filter-bar {
    border-radius: 16px 16px 0 0;
  }

  .desktop-side-panel {
    display: flex;
  }

  .quick-mission-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 18px;
    border: 1px solid #DDA91B;
    border-radius: 18px 18px 5px 18px;
    background: #FFF1C9;
    color: var(--ink-main);
  }

  .quick-mission-marker {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px 12px 4px 12px;
    background: var(--yupi-green-deep);
    color: var(--yupi-gold);
  }

  .quick-mission-marker .icon {
    width: 23px;
    height: 23px;
  }

  .quick-mission-info {
    min-width: 0;
  }

  .quick-mission-eyebrow {
    margin: 0 0 3px;
    color: var(--yupi-gold-deep);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .quick-mission-info h4 {
    margin: 0 0 5px;
    color: var(--yupi-green-deep);
    font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    font-size: 25px;
    font-weight: 800;
    line-height: 0.95;
  }

  .quick-mission-info > p:last-child {
    margin: 0;
    color: #485B4C;
    font-size: 12px;
    line-height: 1.5;
  }

  .btn-open-mission {
    grid-column: 1 / -1;
    min-height: 44px;
    margin-top: 3px;
    padding: 10px 14px;
    border-radius: 8px 8px 3px 8px;
    background: var(--yupi-green-deep);
    color: #FFFDF7;
    font-size: 12px;
    font-weight: 800;
    text-align: left;
    transition: background 160ms ease, transform 160ms var(--ease-spring);
  }

  .btn-open-mission:hover {
    background: #0E6643;
  }

  .btn-open-mission:active {
    transform: translateY(1px);
  }

  .booth-card.is-quick {
    grid-column: span 2;
  }
}

@media (max-width: 420px) {
  .top-nav {
    padding-inline: 14px;
  }

  .brand-badge {
    display: none;
  }

  .brand-title {
    font-size: 23px;
  }

  .points-pill {
    padding-inline: 8px;
  }

  .event-meta {
    gap: 5px;
  }

  .event-visitors span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
