:root {
  --league-bg: #f3f5f2;
  --league-card: #fff;
  --league-ink: #153b35;
  --league-muted: #72817b;
  --league-line: #dfe5e1;
  --league-green: #0c4d45;
  --league-deep: #062f2b;
  --league-coral: #e97348;
  --league-gold: #e5b65d;
  --league-mint: #70b29f;
  --league-radius: 16px;
  --league-shadow: 0 16px 45px rgba(23, 57, 50, .08);
  --font-display: "Estedad", "Vazirmatn", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.challenge-page { margin: 0; overflow-x: hidden; background: var(--league-bg); color: var(--league-ink); font-family: "Vazirmatn", sans-serif; }
.challenge-page button, .challenge-page input, .challenge-page select, .challenge-page textarea { font-family: inherit; }
.challenge-page a, .challenge-page button { -webkit-tap-highlight-color: transparent; }
.challenge-container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

/* Compact first viewport */
.challenge-hero { position: relative; min-height: 590px; overflow: hidden; background: var(--league-deep); color: #fff; }
.challenge-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 17% 20%, rgba(233,115,72,.16), transparent 28%), linear-gradient(118deg, #062d29, #0a463f 64%, #073832); }
.challenge-hero::after { content: ""; position: absolute; width: 480px; height: 480px; top: 44px; left: -250px; border: 1px solid rgba(255,255,255,.055); border-radius: 50%; box-shadow: 0 0 0 78px rgba(255,255,255,.018), 0 0 0 156px rgba(255,255,255,.012); }
.challenge-nav { position: relative; z-index: 4; height: 66px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); }
.challenge-nav .brand { display: flex; align-items: center; gap: 8px; color: #fff; font-family: var(--font-display); font-size: 17px; font-weight: 900; letter-spacing: -.035em; text-decoration: none; }
.challenge-nav .brand-mark { width: 31px; height: 31px; }
.challenge-nav-links { display: flex; align-items: center; gap: 24px; }
.challenge-nav-links a { position: relative; color: rgba(255,255,255,.62); font-size: 10px; text-decoration: none; transition: color .2s ease; }
.challenge-nav-links a:hover, .challenge-nav-links a.active { color: #fff; }
.challenge-nav-links a.active::after { content: ""; position: absolute; right: 0; bottom: -23px; width: 100%; height: 2px; border-radius: 99px; background: var(--league-coral); }
.challenge-account { min-height: 34px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 9px; color: #fff; font-size: 9px; text-decoration: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 55px; padding: 36px 0 46px; }
.challenge-hero-copy { max-width: 405px; }
.live-pill { width: max-content; display: inline-flex; align-items: center; gap: 7px; padding: 5px 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.055); color: #c2dad2; font-size: 8px; font-weight: 800; }
.live-pill i, .status-live i { width: 6px; height: 6px; border-radius: 50%; background: #65d59a; box-shadow: 0 0 0 4px rgba(101,213,154,.1); animation: livePulse 1.8s ease-in-out infinite; }
.hero-kicker { margin: 15px 0 3px; color: #8fb8ab; font-size: 9px; font-weight: 800; }
.challenge-hero h1 { margin: 0; font-family: var(--font-display); font-size: clamp(45px, 5.6vw, 70px); font-weight: 900; line-height: 1.22; letter-spacing: -.075em; text-shadow: 0 14px 35px rgba(0,0,0,.16); white-space: nowrap; }
.challenge-hero h1 em { color: transparent; background: linear-gradient(110deg,#f1d6a3 15%,#fff0c9 38%,#ef9a70 61%,#f1d6a3 82%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; font-style: normal; animation: headlineShine 4.8s ease-in-out infinite; }
.challenge-hero-copy > p:not(.hero-kicker) { max-width: 390px; margin: 10px 0 0; color: rgba(255,255,255,.7); font-size: 11px; font-weight: 500; line-height: 1.95; }
.hero-actions { display: flex; align-items: center; gap: 15px; margin-top: 19px; }
.primary-action { position: relative; min-height: 46px; display: inline-flex; align-items: center; gap: 14px; overflow: hidden; padding: 0 16px; border: 0; border-radius: 11px; background: linear-gradient(115deg,#e86f45,#f08b60); box-shadow: 0 12px 25px rgba(189,75,36,.23); color: #fff; cursor: pointer; font-size: 10px; font-weight: 900; transition: transform .28s cubic-bezier(.22,1,.36,1),box-shadow .28s ease; }
.primary-action::before { content: ""; position: absolute; top: -40%; bottom: -40%; left: -45%; width: 24px; background: rgba(255,255,255,.34); filter: blur(5px); transform: skewX(-20deg); animation: ctaSheen 3.6s ease-in-out infinite; }
.primary-action:hover { box-shadow: 0 18px 34px rgba(189,75,36,.34); transform: translateY(-3px) scale(1.015); }
.primary-action:active { transform: translateY(0) scale(.98); }
.primary-action span { padding: 3px 6px; border-radius: 6px; background: rgba(255,255,255,.16); font-size: 8px; }
.hero-actions > a { color: #bdd1cb; font-size: 9px; text-decoration: none; }
.hero-stats { width: max-content; display: flex; gap: 0; margin-top: 25px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: rgba(255,255,255,.035); }
.hero-stats span { min-width: 76px; display: grid; place-items: center; gap: 0; padding: 8px 13px; border-left: 1px solid rgba(255,255,255,.1); }
.hero-stats span:last-child { border-left: 0; }
.hero-stats b { font-family: var(--font-display); font-size: 15px; font-weight: 900; font-variant-numeric: tabular-nums; }
.hero-stats small { color: rgba(255,255,255,.43); font-size: 7px; }

/* Minimal analytics console */
.rank-console { position: relative; overflow: hidden; padding: 16px; border: 1px solid rgba(255,255,255,.13); border-radius: 19px; background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.04)); box-shadow: 0 26px 60px rgba(2,25,22,.24),inset 0 1px 0 rgba(255,255,255,.09); backdrop-filter: blur(16px); animation: consoleReveal .78s cubic-bezier(.22,1,.36,1) .12s both; }
.rank-console::after { content: ""; position: absolute; z-index: 0; top: -55%; bottom: -55%; left: -18%; width: 8%; background: linear-gradient(90deg,transparent,rgba(255,255,255,.055),transparent); filter: blur(7px); transform: rotate(14deg); animation: consoleSweep 7s ease-in-out 1.5s infinite; pointer-events: none; }
.rank-console > * { position: relative; z-index: 1; }
.rank-console-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 0 2px 11px; border-bottom: 1px solid rgba(255,255,255,.09); }
.rank-console-head h2 { margin: 3px 0 0; color: #fff; font-family: var(--font-display); font-size: 16px; font-weight: 900; letter-spacing: -.035em; }
.status-live { display: flex; align-items: center; gap: 7px; color: #8fb9ad; font-size: 7px; }
.status-live i { box-shadow: none; }
.round-chip { min-width: 82px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.09); border-radius: 9px; background: rgba(255,255,255,.045); text-align: left; }
.round-chip small, .round-chip b { display: block; }
.round-chip small { color: rgba(255,255,255,.4); font-size: 6px; }
.round-chip b { margin-top: 1px; color: #f2d398; font-family: var(--font-display); font-size: 12px; font-weight: 900; font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgba(242,211,152,.25); }
.rank-dashboard { display: grid; grid-template-columns: 105px 1fr; align-items: center; gap: 15px; min-height: 105px; padding: 12px 2px 10px; }
.score-ring { --ring-value: 72; position: relative; width: 82px; height: 82px; display: grid; place-items: center; margin: auto; border-radius: 50%; background: conic-gradient(var(--league-coral) calc(var(--ring-value) * 1%), rgba(255,255,255,.09) 0); box-shadow: 0 10px 25px rgba(0,0,0,.15),0 0 28px rgba(233,115,72,.1); transform: rotate(-90deg); animation: ringEnter .8s cubic-bezier(.22,1,.36,1) both; }
.score-ring::before { content: ""; position: absolute; width: 65px; height: 65px; border-radius: 50%; background: #124d46; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.score-ring::after { content: ""; position: absolute; width: 8px; height: 8px; top: 1px; left: calc(50% - 4px); border: 2px solid #fff0d0; border-radius: 50%; background: var(--league-coral); box-shadow: 0 0 0 4px rgba(233,115,72,.17),0 0 15px rgba(233,115,72,.72); transform-origin: 4px 40px; animation: ringOrbit 5.5s linear infinite; }
.score-ring > div { position: relative; z-index: 1; display: grid; place-items: center; transform: rotate(90deg); }
.score-ring b { font-family: var(--font-display); font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; text-shadow: 0 0 18px rgba(255,255,255,.16); }
.score-ring small { margin-top: 3px; color: #8fb8ad; font-size: 7px; }
.leader-graph { min-width: 0; }
.graph-scale { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; color: rgba(255,255,255,.4); font-size: 7px; }
.graph-scale span { color: rgba(255,255,255,.72); font-weight: 800; }
.leader-bars { display: grid; gap: 7px; }
.leader-bar { display: grid; grid-template-columns: 47px 1fr 30px; align-items: center; gap: 7px; color: rgba(255,255,255,.62); font-size: 7px; }
.leader-bar > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leader-bar-track { height: 5px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.08); }
.leader-bar-track i { display: block; width: var(--bar); height: 100%; border-radius: inherit; background: linear-gradient(90deg,#e97348,#f0a761 58%,#efd28c); background-size: 180% 100%; box-shadow: 0 0 11px rgba(233,115,72,.25); transform-origin: right; animation: barEnter .75s cubic-bezier(.22,1,.36,1) both,barFlow 3.2s ease-in-out 1s infinite; animation-delay: var(--bar-delay, 0ms),calc(var(--bar-delay, 0ms) + 900ms); }
.leader-bar b { color: #e8d1a3; font-family: var(--font-display); font-size: 8px; text-align: left; }
.leader-bars > i { height: 15px; border-radius: 5px; background: rgba(255,255,255,.06); }
.leaderboard-labels { display: flex; justify-content: space-between; padding: 7px 8px 4px; color: rgba(255,255,255,.32); font-size: 6px; }
.city-leaderboard { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.city-rank { position: relative; display: grid; grid-template-columns: 24px minmax(0,1fr) 68px; align-items: center; gap: 7px; min-height: 35px; padding: 4px 7px; overflow: hidden; border: 1px solid transparent; border-radius: 8px; background: rgba(255,255,255,.03); transition: background .25s ease,transform .3s cubic-bezier(.22,1,.36,1),border-color .25s ease; animation: rowEnter .48s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(var(--row-index, 0) * 70ms + 220ms); }
.city-rank:hover { border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.085); transform: translateX(-4px) scale(1.006); }
.city-rank::before { content: ""; position: absolute; right: 0; bottom: 0; width: var(--progress); height: 1px; background: linear-gradient(90deg, rgba(233,115,72,.2), #e97348); }
.rank-number { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; background: rgba(255,255,255,.07); color: #c8d9d4; font-family: var(--font-display); font-size: 7px; font-weight: 900; }
.city-rank:first-child .rank-number { background: #d99e43; color: #fff; }
.rank-city { min-width: 0; display: flex; align-items: baseline; gap: 6px; }
.rank-city b { overflow: hidden; color: #fff; font-size: 9px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.rank-city small { overflow: hidden; color: rgba(255,255,255,.36); font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }
.rank-score { display: flex; align-items: center; justify-content: flex-end; gap: 5px; text-align: left; }
.rank-score b { color: #f0d199; font-family: var(--font-display); font-size: 8px; }
.rank-score small { color: #7ac09f; font-size: 6px; }
.rank-console-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 8px 3px 0; border-top: 1px solid rgba(255,255,255,.08); }
.rank-console-foot > div { display: flex; align-items: center; gap: 8px; }
.rank-console-foot > div > span { color: rgba(255,255,255,.38); font-size: 6px; }
.rank-console-foot p { margin: 0; color: rgba(255,255,255,.4); font-size: 6px; }
.rank-console-foot p b { color: #fff; }
.explorer-leaderboard { display: flex; margin: 0; padding: 0; list-style: none; }
.explorer-row { position: relative; width: 23px; height: 23px; margin-left: -5px; border: 2px solid #174f48; border-radius: 50%; background: #c8ded6; color: #245d53; }
.explorer-row:first-child { background: #efc77d; color: #70501d; }
.explorer-avatar { width: 100%; height: 100%; display: grid; place-items: center; font-size: 6px; font-weight: 900; }
.explorer-rank, .explorer-name, .explorer-points { display: none; }
.row-skeleton { height: 35px; border-radius: 8px; background: linear-gradient(100deg, rgba(255,255,255,.03), rgba(255,255,255,.09), rgba(255,255,255,.03)); background-size: 200% 100%; animation: skeleton 1.2s infinite; }

/* One compact content section */
.spots-section { padding: 44px 0 38px; background: var(--league-bg); }
.spots-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 13px; }
.section-kicker { margin: 0 0 3px; color: #6f8980; font-size: 8px; font-weight: 800; }
.spots-header h2 { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); font-weight: 900; line-height: 1.35; letter-spacing: -.055em; }
.spots-toolbar { display: flex; align-items: center; gap: 8px; }
.spots-sort { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--league-line); border-radius: 9px; background: #e9eeea; }
.spots-sort button { padding: 5px 9px; border: 0; border-radius: 6px; background: transparent; color: #71817b; cursor: pointer; font-size: 7px; }
.spots-sort button.active { background: #fff; box-shadow: 0 3px 9px rgba(23,57,50,.08); color: var(--league-green); font-weight: 800; }
.spot-rail-controls { display: flex; gap: 4px; }
.spot-rail-controls button { width: 30px; height: 30px; border: 1px solid var(--league-line); border-radius: 8px; background: #fff; color: var(--league-green); cursor: pointer; }
.filter-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--league-line); }
.category-filter { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.category-filter::-webkit-scrollbar { display: none; }
.category-filter button { flex: none; padding: 5px 9px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: #788780; cursor: pointer; font-size: 7px; }
.category-filter button:hover { background: #e6ece7; }
.category-filter button.active { border-color: #bfd0c6; background: #fff; color: var(--league-green); box-shadow: 0 3px 10px rgba(23,57,50,.05); font-weight: 800; }
.quick-add { flex: none; min-height: 30px; padding: 0 11px; border: 0; border-radius: 8px; background: var(--league-green); color: #fff; cursor: pointer; font-size: 7px; font-weight: 800; }
.spot-grid { display: flex; gap: 10px; overflow-x: auto; padding: 12px 1px 8px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; outline: 0; }
.spot-grid::-webkit-scrollbar { display: none; }
.spot-card { position: relative; min-width: calc((100% - 20px) / 3); height: 315px; overflow: hidden; border-radius: 14px; background: #173d37; color: #fff; scroll-snap-align: start; isolation: isolate; box-shadow: 0 10px 25px rgba(25,58,51,.1); transition: transform .38s cubic-bezier(.22,1,.36,1),box-shadow .38s ease; animation: cardReveal .55s cubic-bezier(.22,1,.36,1) both; }
.spot-card::before { content: ""; position: absolute; z-index: 2; inset: 0; border: 1px solid rgba(255,255,255,.11); border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); opacity: .75; pointer-events: none; transition: border-color .3s ease,box-shadow .3s ease; }
.spot-card > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.22,1,.36,1); }
.spot-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(5,30,27,.06), rgba(5,30,27,.22) 42%, rgba(5,30,27,.94)); }
.spot-card:hover { box-shadow: 0 20px 42px rgba(18,53,46,.18); transform: translateY(-6px); }
.spot-card:hover::before { border-color: rgba(255,220,187,.34); box-shadow: inset 0 1px 0 rgba(255,255,255,.14),0 0 0 1px rgba(233,115,72,.1); }
.spot-card:hover > img { transform: scale(1.055); }
.spot-card-top { display: flex; align-items: center; justify-content: space-between; padding: 10px; }
.spot-category, .spot-score { border: 1px solid rgba(255,255,255,.18); background: rgba(7,39,35,.45); backdrop-filter: blur(7px); }
.spot-category { padding: 4px 7px; border-radius: 999px; font-size: 6px; }
.spot-score { min-width: 37px; height: 33px; display: grid; place-items: center; border-radius: 8px; }
.spot-score b { font-family: var(--font-display); font-size: 8px; line-height: 1; }
.spot-score small { font-size: 5px; opacity: .6; }
.spot-card-content { position: absolute; right: 0; bottom: 0; left: 0; padding: 14px; }
.spot-location { display: flex; align-items: center; gap: 5px; color: #bad5cc; font-size: 6px; }
.spot-location i { width: 4px; height: 4px; border-radius: 50%; background: var(--league-coral); }
.spot-card h3 { margin: 4px 0 4px; font-family: var(--font-display); font-size: 18px; font-weight: 900; line-height: 1.5; letter-spacing: -.035em; text-shadow: 0 6px 18px rgba(0,0,0,.2); }
.spot-card-description { overflow: hidden; display: -webkit-box; margin: 0; color: rgba(255,255,255,.62); font-size: 7px; line-height: 1.8; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.spot-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 9px; border-top: 1px solid rgba(255,255,255,.12); }
.spot-owner { display: grid; gap: 1px; }
.spot-owner small { color: rgba(255,255,255,.4); font-size: 5px; }
.spot-owner b { font-size: 7px; }
.vote-button { min-height: 29px; display: flex; align-items: center; gap: 5px; padding: 0 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: rgba(255,255,255,.07); color: #fff; cursor: pointer; font-size: 6px; font-weight: 900; transition: background .22s ease,transform .25s cubic-bezier(.22,1,.36,1),border-color .22s ease; }
.vote-button:hover { border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.14); transform: translateY(-2px); }
.vote-button:active { transform: scale(.94); }
.vote-button.voted span { animation: heartBeat 1.25s ease-in-out infinite; }
.vote-button span { font-size: 12px; }
.vote-button.voted { border-color: transparent; background: var(--league-coral); }
.spot-skeleton { min-width: calc((100% - 20px) / 3); height: 315px; border-radius: 14px; background: linear-gradient(100deg,#e3e9e5,#f8faf8,#e3e9e5); background-size: 200% 100%; animation: skeleton 1.2s infinite; }
.spot-empty { padding: 40px 20px; text-align: center; }
.spot-empty > span { font-size: 24px; }
.spot-empty h3 { margin: 7px 0 2px; font-family: var(--font-display); font-size: 15px; }
.spot-empty p { margin: 0 0 9px; color: var(--league-muted); font-size: 8px; }
.spot-empty button { padding: 7px 10px; border: 0; border-radius: 8px; background: var(--league-green); color: #fff; cursor: pointer; font-size: 7px; }
.mission-ribbon { position: relative; min-height: 67px; display: grid; grid-template-columns: 35px minmax(170px,1fr) auto auto auto; align-items: center; gap: 12px; overflow: hidden; margin-top: 8px; padding: 10px 13px; border: 1px solid #d8e1da; border-radius: 13px; background: linear-gradient(105deg,#fff,#fbfdfb); box-shadow: 0 9px 26px rgba(23,57,50,.045); }
.mission-ribbon::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 3px; background: linear-gradient(180deg,var(--league-coral),var(--league-gold)); }
.mission-ribbon-mark { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 9px; background: #eef4ef; color: var(--league-green); }
.mission-ribbon > div > small, .mission-ribbon > div > b { display: block; }
.mission-ribbon > div > small { color: #82928b; font-size: 6px; }
.mission-ribbon > div > b { margin-top: 2px; font-size: 8px; font-weight: 900; }
.mission-formula { display: flex; align-items: center; gap: 5px; color: #789087; font-size: 6px; }
.mission-formula i { width: 17px; height: 1px; background: #ccd9d1; }
.mission-ribbon > strong { padding: 4px 7px; border-radius: 6px; background: #fff4df; color: #a66c23; font-family: var(--font-display); font-size: 8px; }
.mission-ribbon > button { min-height: 31px; display: flex; align-items: center; gap: 10px; padding: 0 10px; border: 0; border-radius: 8px; background: var(--league-coral); color: #fff; cursor: pointer; font-size: 7px; font-weight: 900; transition: transform .25s ease,box-shadow .25s ease; }
.mission-ribbon > button:hover { box-shadow: 0 8px 17px rgba(193,77,38,.2); transform: translateX(-3px); }
.challenge-footer { padding: 20px 0; background: #062f2b; color: #fff; }
.challenge-footer > div { display: flex; align-items: center; gap: 18px; }
.challenge-footer .brand { display: flex; align-items: center; gap: 7px; color: #fff; font-size: 12px; text-decoration: none; }
.challenge-footer .brand-mark { width: 27px; height: 27px; }
.challenge-footer p { margin: 0 auto 0 0; color: #8eaea4; font-size: 7px; }
.challenge-footer nav { display: flex; gap: 15px; }
.challenge-footer nav a { color: #b8ccc6; font-size: 7px; text-decoration: none; }
.mobile-add { display: none; }

/* Compact modal flow */
.spot-dialog, .login-dialog { width: min(640px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 0; border-radius: 19px; background: #fff; color: var(--league-ink); box-shadow: 0 35px 90px rgba(3,31,27,.32); }
.spot-dialog::backdrop, .login-dialog::backdrop { background: rgba(3,30,27,.66); backdrop-filter: blur(5px); }
.spot-dialog form { padding: 19px; }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 11px; border-bottom: 1px solid #e5eae7; }
.dialog-kicker { color: #789087; font-size: 7px; font-weight: 800; }
.dialog-head h2 { margin: 2px 0 0; font-family: var(--font-display); font-size: 19px; }
.dialog-close { width: 30px; height: 30px; border: 1px solid #dfe5e1; border-radius: 8px; background: #f7f9f7; color: #557069; cursor: pointer; font-size: 18px; }
.form-progress { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 7px; margin: 13px 0 16px; }
.form-progress span { display: flex; align-items: center; gap: 5px; color: #99a6a1; font-size: 7px; }
.form-progress i { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #d5dfd8; border-radius: 50%; font-style: normal; }
.form-progress span.active { color: var(--league-green); font-weight: 800; }
.form-progress span.active i { border-color: var(--league-green); background: var(--league-green); color: #fff; }
.form-progress em { height: 1px; background: #dfe6e2; }
.form-step { display: none; }
.form-step.active { display: block; animation: stepEnter .25s ease; }
.step-copy { text-align: center; }
.step-copy > span { color: #789087; font-size: 7px; font-weight: 800; }
.step-copy h3 { margin: 2px 0; font-family: var(--font-display); font-size: 19px; }
.step-copy p { margin: 0; color: #7b8b85; font-size: 8px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 15px; }
.field-grid label, .wide-field, .login-dialog label { display: grid; gap: 4px; }
.field-grid label > span, .wide-field > span, .login-dialog label > span { color: #60766f; font-size: 8px; font-weight: 800; }
.field-grid input, .field-grid select, .wide-field input, .wide-field textarea, .login-dialog input { width: 100%; border: 1px solid #d5dfd8; border-radius: 9px; background: #fafbf9; color: var(--league-ink); outline: 0; }
.field-grid input, .field-grid select, .wide-field input, .login-dialog input { height: 40px; padding: 0 10px; }
.wide-field { margin-top: 10px; }
.wide-field textarea { resize: vertical; padding: 9px 10px; line-height: 1.8; }
.field-grid input:focus, .field-grid select:focus, .wide-field input:focus, .wide-field textarea:focus, .login-dialog input:focus { border-color: #4f8a7c; box-shadow: 0 0 0 3px rgba(44,113,99,.08); }
.wide-field small { float: left; color: #9aa7a2; font-weight: 400; }
.category-picker { display: grid; grid-template-columns: repeat(6,1fr); gap: 5px; margin: 12px 0 0; padding: 0; border: 0; }
.category-picker legend { margin-bottom: 6px; color: #60766f; font-size: 8px; font-weight: 800; }
.category-picker label { cursor: pointer; }
.category-picker input { position: absolute; opacity: 0; }
.category-picker label span { min-height: 52px; display: grid; place-items: center; gap: 2px; border: 1px solid #dbe3dd; border-radius: 9px; background: #fafbf9; color: #698078; font-size: 14px; }
.category-picker label b { font-size: 6px; }
.category-picker input:checked + span { border-color: var(--league-green); background: #eaf3ee; color: var(--league-green); box-shadow: inset 0 0 0 1px var(--league-green); }
.photo-drop { position: relative; height: 205px; display: grid; place-items: center; overflow: hidden; margin-top: 13px; border: 1.5px dashed #b8ccc1; border-radius: 13px; background: #f1f6f2; cursor: pointer; }
.photo-drop input { position: absolute; opacity: 0; }
.photo-placeholder { display: grid; place-items: center; gap: 4px; text-align: center; }
.photo-placeholder i { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 11px; background: #dcebe3; color: var(--league-green); font-size: 20px; font-style: normal; }
.photo-placeholder b { font-size: 9px; }
.photo-placeholder small { color: #84958e; font-size: 7px; }
.photo-drop img { width: 100%; height: 100%; object-fit: cover; }
.photo-drop > button { position: absolute; left: 9px; bottom: 9px; padding: 5px 8px; border: 0; border-radius: 7px; background: rgba(8,49,44,.8); color: #fff; cursor: pointer; font-size: 7px; }
.truth-check { display: flex; align-items: flex-start; gap: 7px; margin-top: 9px; color: #687b74; font-size: 8px; line-height: 1.7; }
.truth-check input { accent-color: var(--league-green); }
.reward-summary { display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 8px; margin-top: 9px; padding: 8px; border-radius: 9px; background: #fff7e8; }
.reward-summary > span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; background: #f4dfb7; color: #9c6723; }
.reward-summary b, .reward-summary small { display: block; }
.reward-summary b { font-size: 8px; }
.reward-summary small { color: #8d7b62; font-size: 6px; }
.reward-summary strong { color: #a76c24; font-family: var(--font-display); font-size: 11px; }
.form-error { margin: 8px 0 0; padding: 7px 9px; border-radius: 7px; background: #fff0eb; color: #a64f36; font-size: 8px; }
.dialog-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; margin-top: 13px; padding-top: 11px; border-top: 1px solid #e8ede9; }
.dialog-actions button { min-height: 37px; padding: 0 12px; border-radius: 8px; cursor: pointer; font-size: 8px; font-weight: 800; }
.back-step { margin-left: auto; border: 1px solid #d6dfda; background: #fff; color: #61736d; }
.next-step, .submit-spot { border: 0; background: var(--league-green); color: #fff; }
.submit-spot { background: var(--league-coral); }
.login-dialog { width: min(380px, calc(100% - 28px)); text-align: center; }
.login-dialog form { position: relative; display: grid; gap: 10px; padding: 26px; }
.login-dialog .dialog-close { position: absolute; top: 12px; left: 12px; }
.login-mark { width: 42px; height: 42px; display: grid; place-items: center; margin: auto; border-radius: 12px; background: #eaf3ed; color: var(--league-green); }
.login-dialog h2 { margin: 2px 0 0; font-family: var(--font-display); font-size: 19px; }
.login-dialog p { margin: 0; color: #778981; font-size: 8px; }
.login-dialog label { text-align: right; }
.login-dialog button[type=submit] { min-height: 41px; border: 0; border-radius: 9px; background: var(--league-green); color: #fff; cursor: pointer; font-size: 9px; font-weight: 800; }
.login-dialog > form > small { color: #9aa6a1; font-size: 6px; }
.challenge-toast { position: fixed; z-index: 30; right: 50%; bottom: 20px; max-width: min(390px, calc(100% - 28px)); padding: 9px 13px; border-radius: 9px; background: #082f2b; color: #fff; box-shadow: 0 12px 35px rgba(0,0,0,.18); font-size: 8px; opacity: 0; pointer-events: none; transform: translate(50%,15px); transition: .22s ease; }
.challenge-toast.show { opacity: 1; transform: translate(50%,0); }
.confetti { position: fixed; z-index: 50; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: 50%; left: 50%; width: 7px; height: 13px; border-radius: 2px; background: var(--c); animation: confetti .9s ease-out forwards; }
.spot-card.vote-pop { animation: votePop .32s ease; }
.spot-card:nth-child(2) { animation-delay: 70ms; }
.spot-card:nth-child(3) { animation-delay: 140ms; }
.spot-card:nth-child(4) { animation-delay: 210ms; }
.spot-card:nth-child(5) { animation-delay: 280ms; }
.challenge-page button:focus-visible, .challenge-page a:focus-visible, .spot-grid:focus-visible { outline: 2px solid #efbd68; outline-offset: 3px; }
.spot-rail-controls button { transition: color .2s ease,background .2s ease,transform .25s cubic-bezier(.22,1,.36,1); }
.spot-rail-controls button:hover { background: var(--league-green); color: #fff; transform: translateY(-2px); }
.metric-pop { animation: metricPop .52s cubic-bezier(.22,1,.36,1) both; }
.challenge-hero-copy > * { animation: heroReveal .62s cubic-bezier(.22,1,.36,1) both; }
.challenge-hero-copy > :nth-child(1) { animation-delay: 40ms; }
.challenge-hero-copy > :nth-child(2) { animation-delay: 105ms; }
.challenge-hero-copy > :nth-child(3) { animation-delay: 165ms; }
.challenge-hero-copy > :nth-child(4) { animation-delay: 225ms; }
.challenge-hero-copy > :nth-child(5) { animation-delay: 285ms; }
.challenge-hero-copy > :nth-child(6) { animation-delay: 345ms; }

/* Final experience polish: readable type, stronger hierarchy and purposeful motion. */
.challenge-page { font-weight: 500; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.challenge-hero { min-height: 700px; display: flex; flex-direction: column; isolation: isolate; }
.challenge-hero::before { background-size: 130% 130%; animation: heroAurora 13s ease-in-out infinite alternate; }
.challenge-nav { height: 78px; }
.challenge-nav .brand { gap: 10px; font-size: 20px; }
.challenge-nav .brand-mark { width: 36px; height: 36px; }
.challenge-nav-links { gap: 31px; }
.challenge-nav-links a { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; }
.challenge-nav-links a.active::after { bottom: -17px; height: 3px; box-shadow: 0 0 14px rgba(233,115,72,.55); }
.challenge-account { min-height: 42px; padding-inline: 16px; border-radius: 11px; font-size: 12px; font-weight: 700; transition: background .25s ease,border-color .25s ease,transform .25s cubic-bezier(.22,1,.36,1); }
.challenge-account:hover { border-color: rgba(255,255,255,.46); background: rgba(255,255,255,.08); transform: translateY(-2px); }
.hero-grid { flex: 1; grid-template-columns: .92fr 1.08fr; gap: 70px; padding: 46px 0 42px; }
.challenge-hero-copy { max-width: 510px; }
.live-pill { gap: 9px; padding: 7px 11px; font-size: 11px; letter-spacing: -.01em; }
.live-pill i, .status-live i { width: 7px; height: 7px; }
.hero-kicker { margin-top: 20px; color: #a8cec1; font-size: 12px; letter-spacing: .02em; }
.challenge-hero h1 { font-size: clamp(58px, 6vw, 84px); line-height: 1.18; letter-spacing: -.07em; text-wrap: balance; }
.challenge-hero-copy > p:not(.hero-kicker) { max-width: 480px; margin-top: 14px; color: rgba(255,255,255,.78); font-size: 15px; font-weight: 500; line-height: 2; text-wrap: pretty; }
.hero-actions { gap: 22px; margin-top: 25px; }
.primary-action { min-height: 54px; gap: 17px; padding-inline: 21px; border-radius: 14px; box-shadow: 0 16px 35px rgba(189,75,36,.32),inset 0 1px 0 rgba(255,255,255,.18); font-size: 14px; }
.primary-action span { padding: 4px 8px; border-radius: 8px; font-size: 11px; }
.hero-actions > a { min-height: 44px; display: inline-flex; align-items: center; color: #d0e2dc; font-size: 12px; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(208,226,220,.3); text-underline-offset: 5px; }
.hero-stats { margin-top: 30px; border-radius: 14px; background: rgba(255,255,255,.05); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.hero-stats span { min-width: 98px; padding: 11px 17px; }
.hero-stats b { font-size: 20px; }
.hero-stats small { margin-top: 1px; font-size: 10px; }
.rank-console { padding: 21px; border-radius: 23px; box-shadow: 0 30px 75px rgba(2,25,22,.31),inset 0 1px 0 rgba(255,255,255,.12); }
.rank-console-head { padding-bottom: 14px; }
.rank-console-head h2 { margin-top: 5px; font-size: 22px; }
.status-live { font-size: 10px; font-weight: 700; }
.round-chip { min-width: 102px; padding: 9px 12px; border-radius: 11px; }
.round-chip small { font-size: 9px; }
.round-chip b { margin-top: 2px; font-size: 17px; }
.rank-dashboard { grid-template-columns: 125px 1fr; gap: 22px; min-height: 138px; padding: 16px 3px 14px; }
.score-ring { width: 100px; height: 100px; }
.score-ring::before { width: 79px; height: 79px; }
.score-ring::after { width: 10px; height: 10px; top: 1px; left: calc(50% - 5px); transform-origin: 5px 49px; }
.score-ring b { font-size: 24px; }
.score-ring small { font-size: 10px; }
.graph-scale { margin-bottom: 10px; font-size: 10px; }
.leader-bars { gap: 10px; }
.leader-bar { grid-template-columns: 62px 1fr 42px; gap: 10px; font-size: 11px; }
.leader-bar-track { height: 7px; }
.leader-bar b { font-size: 11px; }
.leaderboard-labels { padding: 9px 10px 6px; font-size: 9px; }
.city-leaderboard { gap: 5px; }
.city-rank { grid-template-columns: 32px minmax(0,1fr) 92px; gap: 10px; min-height: 46px; padding: 6px 10px; border-radius: 11px; }
.rank-number { width: 26px; height: 26px; border-radius: 8px; font-size: 10px; }
.rank-city { gap: 8px; }
.rank-city b { font-size: 12px; }
.rank-city small { font-size: 9px; }
.rank-score { gap: 7px; }
.rank-score b { font-size: 12px; }
.rank-score small { font-size: 9px; }
.rank-console-foot { margin-top: 10px; padding-top: 11px; }
.rank-console-foot > div > span, .rank-console-foot p { font-size: 9px; }
.explorer-row { width: 29px; height: 29px; margin-left: -6px; }
.explorer-avatar { font-size: 9px; }
.league-ticker { position: relative; z-index: 3; border-top: 1px solid rgba(255,255,255,.1); background: rgba(2,29,26,.54); backdrop-filter: blur(14px); }
.league-ticker > div { min-height: 54px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 20px; }
.ticker-label { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 11px; font-weight: 900; white-space: nowrap; }
.ticker-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--league-coral); box-shadow: 0 0 0 5px rgba(233,115,72,.12); animation: livePulse 1.8s ease-in-out infinite; }
.ticker-viewport { min-width: 0; overflow: hidden; direction: rtl; -webkit-mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 34px; color: #b9d0c9; font-size: 10px; animation: tickerDrift 28s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.ticker-track span::before { content: "✦"; color: var(--league-gold); font-size: 8px; }
.ticker-track b { color: #fff; font-family: var(--font-display); font-size: 12px; }
.league-ticker small { color: #789d92; font-size: 9px; white-space: nowrap; }
.spots-section { padding: 72px 0 58px; }
.spots-header { margin-bottom: 20px; }
.section-kicker { margin-bottom: 5px; font-size: 11px; }
.spots-header h2 { font-size: clamp(34px, 3.5vw, 48px); line-height: 1.3; }
.section-lead { margin: 7px 0 0; color: var(--league-muted); font-size: 13px; }
.spots-toolbar { gap: 11px; }
.spots-sort { padding: 4px; border-radius: 12px; }
.spots-sort button { min-height: 38px; padding-inline: 14px; border-radius: 9px; font-size: 11px; font-weight: 600; }
.spots-sort button.active { animation: filterPop .3s cubic-bezier(.22,1,.36,1); }
.spot-rail-controls { gap: 7px; }
.spot-rail-controls button { width: 42px; height: 42px; border-radius: 11px; font-size: 16px; }
.filter-line { gap: 18px; padding-bottom: 18px; }
.category-filter { gap: 8px; }
.category-filter button { min-height: 40px; padding-inline: 14px; font-size: 11px; font-weight: 600; }
.category-filter button.active { animation: filterPop .3s cubic-bezier(.22,1,.36,1); }
.quick-add { min-height: 42px; padding-inline: 16px; border-radius: 11px; font-size: 11px; transition: transform .25s cubic-bezier(.22,1,.36,1),box-shadow .25s ease; }
.quick-add:hover { box-shadow: 0 10px 22px rgba(12,77,69,.2); transform: translateY(-2px); }
.spot-grid { gap: 16px; padding: 20px 2px 13px; }
.spot-grid.is-loading { opacity: .55; pointer-events: none; }
.spot-card { min-width: calc((100% - 32px) / 3); height: 410px; border-radius: 20px; box-shadow: 0 16px 38px rgba(25,58,51,.13); }
.spot-card-top { padding: 15px; }
.spot-category { padding: 6px 10px; font-size: 10px; font-weight: 700; }
.spot-score { min-width: 49px; height: 45px; border-radius: 11px; }
.spot-score b { font-size: 12px; }
.spot-score small { font-size: 8px; }
.spot-card-content { padding: 20px; }
.spot-location { gap: 7px; font-size: 10px; font-weight: 600; }
.spot-location i { width: 6px; height: 6px; box-shadow: 0 0 0 4px rgba(233,115,72,.14); }
.spot-card h3 { margin: 7px 0 6px; font-size: 25px; line-height: 1.45; }
.spot-card-description { font-size: 11px; line-height: 1.9; -webkit-line-clamp: 2; }
.spot-meta { margin-top: 14px; padding-top: 13px; }
.spot-owner small { font-size: 9px; }
.spot-owner b { font-size: 11px; }
.vote-button { min-height: 42px; gap: 7px; padding-inline: 12px; border-radius: 11px; font-size: 10px; }
.vote-button span { font-size: 17px; }
.spot-skeleton { min-width: calc((100% - 32px) / 3); height: 410px; border-radius: 20px; }
.spot-empty { padding: 62px 20px; }
.spot-empty > span { font-size: 34px; }
.spot-empty h3 { margin-top: 10px; font-size: 21px; }
.spot-empty p { margin-bottom: 14px; font-size: 12px; }
.spot-empty button { min-height: 42px; padding-inline: 15px; border-radius: 10px; font-size: 11px; font-weight: 800; }
.mission-ribbon { min-height: 84px; grid-template-columns: 46px minmax(200px,1fr) auto auto auto; gap: 16px; margin-top: 15px; padding: 13px 17px; border-radius: 17px; box-shadow: 0 14px 34px rgba(23,57,50,.07); }
.mission-ribbon-mark { width: 43px; height: 43px; border-radius: 13px; font-size: 18px; animation: starFloat 2.8s ease-in-out infinite; }
.mission-ribbon > div > small { font-size: 10px; }
.mission-ribbon > div > b { margin-top: 3px; font-size: 12px; }
.mission-formula { gap: 7px; font-size: 10px; }
.mission-ribbon > strong { padding: 6px 9px; border-radius: 8px; font-size: 12px; }
.mission-ribbon > button { min-height: 42px; gap: 13px; padding-inline: 14px; border-radius: 11px; font-size: 11px; }
.challenge-footer { padding: 28px 0; }
.challenge-footer .brand { font-size: 16px; font-weight: 900; }
.challenge-footer p, .challenge-footer nav a { font-size: 10px; }
.spot-dialog form { padding: 25px; }
.dialog-head { padding-bottom: 15px; }
.dialog-kicker { font-size: 10px; }
.dialog-head h2 { margin-top: 4px; font-size: 25px; }
.dialog-close { width: 40px; height: 40px; border-radius: 11px; }
.form-progress { margin: 17px 0 21px; }
.form-progress span { font-size: 11px; }
.form-progress i { width: 28px; height: 28px; }
.step-copy > span { font-size: 10px; }
.step-copy h3 { font-size: 24px; }
.step-copy p { font-size: 12px; }
.field-grid { gap: 12px; margin-top: 20px; }
.field-grid label > span, .wide-field > span, .login-dialog label > span { font-size: 11px; }
.field-grid input, .field-grid select, .wide-field input, .login-dialog input { height: 48px; padding-inline: 13px; border-radius: 11px; font-size: 13px; }
.wide-field textarea { padding: 12px 13px; font-size: 13px; }
.category-picker { gap: 8px; margin-top: 16px; }
.category-picker legend { font-size: 11px; }
.category-picker label span { min-height: 66px; border-radius: 12px; font-size: 18px; }
.category-picker label b { font-size: 9px; }
.photo-placeholder b { font-size: 13px; }
.photo-placeholder small { font-size: 10px; }
.truth-check { font-size: 11px; }
.reward-summary b { font-size: 11px; }
.reward-summary small { font-size: 9px; }
.reward-summary strong { font-size: 15px; }
.form-error { font-size: 11px; }
.dialog-actions button { min-height: 45px; padding-inline: 16px; font-size: 11px; }
.login-dialog form { gap: 13px; padding: 32px; }
.login-dialog h2 { font-size: 24px; }
.login-dialog p { font-size: 12px; }
.login-dialog button[type=submit] { min-height: 48px; font-size: 12px; }
.login-dialog > form > small { font-size: 10px; }
.login-dialog > form > small a { color: var(--league-green); font-weight: 800; }
.challenge-toast { bottom: 24px; padding: 12px 16px; border-radius: 12px; font-size: 11px; }
.challenge-page input:focus-visible, .challenge-page select:focus-visible, .challenge-page textarea:focus-visible { outline: 2px solid #efbd68; outline-offset: 2px; }
.motion-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s ease,transform .75s cubic-bezier(.22,1,.36,1); }
.motion-ready [data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes livePulse { 50% { opacity: .4; transform: scale(.72); } }
@keyframes heroAurora { to { background-position: 72% 34%; } }
@keyframes headlineShine { 0%,100% { background-position: 0 50%; } 50% { background-position: 100% 50%; } }
@keyframes heroReveal { from { opacity: 0; transform: translateY(14px); filter: blur(5px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes consoleReveal { from { opacity: 0; transform: translateX(-18px) scale(.985); filter: blur(5px); } }
@keyframes consoleSweep { 0%,42% { transform: translateX(0) rotate(14deg); opacity: 0; } 55% { opacity: 1; } 78%,100% { transform: translateX(980px) rotate(14deg); opacity: 0; } }
@keyframes ctaSheen { 0%,42% { transform: translateX(0) skewX(-20deg); opacity: 0; } 52% { opacity: 1; } 72%,100% { transform: translateX(230px) skewX(-20deg); opacity: 0; } }
@keyframes ringEnter { from { opacity: 0; transform: rotate(-90deg) scale(.76); } }
@keyframes ringOrbit { to { transform: rotate(360deg); } }
@keyframes barEnter { from { transform: scaleX(0); } }
@keyframes barFlow { 50% { background-position: 100% 0; filter: saturate(1.2) brightness(1.1); } }
@keyframes rowEnter { from { opacity: 0; transform: translateY(5px); } }
@keyframes cardReveal { from { opacity: 0; transform: translateY(12px) scale(.985); } }
@keyframes metricPop { 0% { opacity: .35; transform: translateY(4px) scale(.86); } 70% { transform: translateY(-1px) scale(1.06); } }
@keyframes heartBeat { 50% { transform: scale(1.2); text-shadow: 0 0 12px rgba(255,255,255,.5); } }
@keyframes skeleton { to { background-position: -200% 0; } }
@keyframes stepEnter { from { opacity: 0; transform: translateX(-8px); } }
@keyframes votePop { 50% { transform: translateY(-2px) scale(1.008); } }
@keyframes confetti { to { transform: translate(var(--x),var(--y)) rotate(var(--r)); opacity: 0; } }
@keyframes tickerDrift { to { transform: translateX(50%); } }
@keyframes starFloat { 50% { transform: translateY(-4px) rotate(-7deg); box-shadow: 0 9px 18px rgba(22,84,73,.12); } }
@keyframes filterPop { 0% { transform: scale(.92); } 70% { transform: scale(1.035); } }

@media (max-width: 900px) {
  .challenge-hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; padding: 38px 0 42px; }
  .challenge-hero-copy { max-width: 680px; }
  .rank-console { max-width: 700px; }
  .spot-card, .spot-skeleton { min-width: calc((100% - 16px) / 2); }
}

@media (max-width: 620px) {
  .challenge-container { width: min(100% - 30px, 1120px); }
  .challenge-nav { height: 66px; }
  .challenge-nav-links { display: none; }
  .challenge-nav .brand { font-size: 17px; }
  .challenge-nav .brand-mark { width: 32px; height: 32px; }
  .challenge-account { min-height: 40px; padding-inline: 12px; font-size: 11px; }
  .hero-grid { gap: 26px; padding: 32px 0 36px; }
  .live-pill { font-size: 10px; }
  .hero-kicker { margin-top: 17px; font-size: 11px; }
  .challenge-hero h1 { font-size: clamp(46px, 13vw, 60px); line-height: 1.25; white-space: normal; }
  .challenge-hero-copy > p:not(.hero-kicker) { font-size: 14px; line-height: 1.95; }
  .hero-actions { gap: 16px; margin-top: 21px; }
  .primary-action { min-height: 52px; padding-inline: 18px; font-size: 13px; }
  .hero-actions > a { font-size: 11px; }
  .hero-stats { width: 100%; margin-top: 24px; }
  .hero-stats span { min-width: 0; flex: 1; }
  .hero-stats b { font-size: 19px; }
  .hero-stats small { font-size: 9px; }
  .rank-console { padding: 16px; border-radius: 19px; }
  .rank-console-head h2 { font-size: 19px; }
  .rank-dashboard { grid-template-columns: 94px 1fr; gap: 13px; min-height: 118px; }
  .score-ring { width: 82px; height: 82px; }
  .score-ring::before { width: 65px; height: 65px; }
  .score-ring::after { transform-origin: 5px 40px; }
  .score-ring b { font-size: 20px; }
  .leader-bar { grid-template-columns: 45px 1fr 34px; gap: 7px; font-size: 9px; }
  .leader-bar b { font-size: 9px; }
  .city-rank { grid-template-columns: 29px minmax(0,1fr) 78px; min-height: 43px; padding-inline: 8px; }
  .rank-city b, .rank-score b { font-size: 11px; }
  .rank-city small, .rank-score small { font-size: 8px; }
  .rank-console-foot > div > span { display: none; }
  .league-ticker > div { min-height: 49px; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
  .ticker-label { display: none; }
  .ticker-track { gap: 25px; font-size: 9px; }
  .ticker-track b { font-size: 10px; }
  .league-ticker small { font-size: 8px; }
  .spots-section { padding: 48px 0 36px; }
  .spots-header { align-items: flex-start; margin-bottom: 16px; }
  .spots-header h2 { font-size: 32px; }
  .section-kicker { font-size: 10px; }
  .section-lead { font-size: 11px; }
  .spots-toolbar { align-self: center; }
  .spots-sort { display: none; }
  .spot-rail-controls button { width: 44px; height: 44px; }
  .filter-line { align-items: flex-start; }
  .category-filter { margin-left: -74px; padding-left: 74px; }
  .category-filter button { min-height: 44px; padding-inline: 13px; font-size: 10px; }
  .quick-add { position: relative; z-index: 2; }
  .spot-grid { gap: 12px; padding-top: 16px; }
  .spot-card, .spot-skeleton { min-width: 86%; height: 390px; }
  .spot-card h3 { font-size: 22px; }
  .spot-card-description { font-size: 10px; }
  .vote-button { min-height: 40px; }
  .mission-ribbon { min-height: 78px; grid-template-columns: 40px 1fr auto; gap: 10px; padding: 12px; }
  .mission-ribbon-mark { width: 38px; height: 38px; }
  .mission-formula, .mission-ribbon > strong { display: none; }
  .mission-ribbon > div > b { font-size: 10px; }
  .mission-ribbon > button { min-height: 44px; }
  .challenge-footer { padding-bottom: 75px; }
  .challenge-footer p, .challenge-footer nav { display: none; }
  .mobile-add { position: fixed; z-index: 20; right: 15px; bottom: max(15px, env(safe-area-inset-bottom)); width: 56px; min-height: 56px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: var(--league-coral); box-shadow: 0 14px 32px rgba(174,76,42,.38),0 0 0 7px rgba(233,115,72,.1); color: #fff; font-size: 0; font-weight: 900; opacity: 0; pointer-events: none; transform: translateY(18px) scale(.86); transition: opacity .25s ease,transform .4s cubic-bezier(.22,1,.36,1),box-shadow .25s ease; }
  .mobile-add.is-visible { opacity: 1; pointer-events: auto; transform: none; }
  .mobile-add span { font-size: 24px; line-height: 1; }
  .spot-dialog { max-height: calc(100vh - 14px); border-radius: 18px; }
  .spot-dialog form { padding: 17px; }
  .form-progress span b { display: none; }
  .field-grid { grid-template-columns: 1fr; }
  .category-picker { grid-template-columns: repeat(3,1fr); }
  .category-picker label span { min-height: 62px; }
  .photo-drop { height: 180px; }
  .dialog-actions { position: sticky; bottom: -17px; margin-inline: -17px; padding: 12px 17px; background: #fff; }
  .dialog-actions button { flex: 1; }
  .back-step { margin-left: 0; }
  .challenge-toast { bottom: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .motion-ready [data-reveal] { opacity: 1; transform: none; }
}
