@font-face{font-family:'Baloo 2';font-style:normal;font-weight:600;font-display:swap;src:url('./assets/fonts/baloo-2-latin-600-normal.woff2') format('woff2')}@font-face{font-family:'Baloo 2';font-style:normal;font-weight:700;font-display:swap;src:url('./assets/fonts/baloo-2-latin-700-normal.woff2') format('woff2')}@font-face{font-family:'Baloo 2';font-style:normal;font-weight:800;font-display:swap;src:url('./assets/fonts/baloo-2-latin-800-normal.woff2') format('woff2')}
:root{--ink:#292031;--muted:#706676;--cream:#2c1738;--paper:#2c1738;--plum:#342040;--line:#563f63;--gold:#efc66d;--teal:#067a78;--coral:#bd4a3c;--player:#168a85;--rival:#cc6553;--scene:none;font-family:'Avenir Next','Nunito Sans',Avenir,'Segoe UI',sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.52}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #1d777f;outline-offset:4px}button{touch-action:manipulation}h1,h2,h3,p{margin:0}svg{display:block}button svg{flex-shrink:0}button{border:0}a{color:inherit}button[hidden],[hidden]{display:none!important}.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}span[data-icon]{display:inline-flex}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:800;line-height:1.6}.eyebrow.light{color:#f5d899}.topbar{max-width:1320px;margin:auto;display:flex;align-items:center;gap:24px;height:92px;padding:12px 36px}.brand{padding:0;background:none;display:flex;align-items:center;gap:10px;font-size:25px;font-weight:850;letter-spacing:-1px;text-align:left;line-height:1}.brand-mark{display:grid;place-items:center;position:relative;width:44px;height:44px;border-radius:14px;background:var(--plum);color:#ffdda0;font-size:35px;font-weight:900;padding-bottom:6px}.brand-mark>span{position:absolute;font-size:15px;right:6px;top:7px}.brand-arena{display:block;font-size:9px;letter-spacing:4.5px;line-height:1.8;margin-left:2px}.prototype-tag{font-size:9px;font-weight:750;letter-spacing:1.5px;border-left:1px solid var(--line);padding-left:20px;color:var(--muted)}.top-actions{margin-left:auto;display:flex;gap:10px;align-items:center}.icon-button,.nav-button,.wallet{background:transparent;display:inline-flex;justify-content:center;align-items:center;gap:8px;min-width:42px;min-height:44px;border-radius:14px;padding:10px}.icon-button:hover,.nav-button:hover{background:#3b2150}.nav-button{font-size:12px;font-weight:750}.wallet{background:#3b2150;border:1px solid #563f63;font-size:13px;padding:8px 13px;gap:7px}.wallet>span:nth-child(2){font-weight:850;font-variant-numeric:tabular-nums}.wallet-word{font-size:11px;color:#ffd166}.coin-icon{width:23px;height:23px;background:#e9b94f;border:2px solid #563f63;box-shadow:0 0 0 1px #bd8a2d;border-radius:50%;color:#ffd166;display:inline-grid;place-items:center;font-size:16px;flex-shrink:0}.skip-link{position:absolute;left:16px;top:-60px;z-index:99;background:var(--paper);padding:10px}.skip-link:focus{top:10px}main{max-width:1320px;margin:auto;padding:0 36px 26px}.home-hero{position:relative;height:400px;border-radius:26px;overflow:hidden;background:#174647;box-shadow:0 8px 28px #1b364016}.hero-scenery,.hero-shade,.stage-scenery,.stage-glaze{position:absolute;inset:0;pointer-events:none}.hero-scenery{background-image:var(--scene);background-size:cover;background-position:center 25%;transform:scale(1.02);transition:background-image .3s}.hero-shade{background:linear-gradient(90deg,#152f36ee 0%,#174346c9 26%,#16424730 65%,#16313715),linear-gradient(0deg,#163d468c,transparent 50%)}.hero-copy{position:relative;color:#fffbf1;z-index:1;padding:46px 50px}.hero-copy h1{font-size:66px;line-height:1.02;letter-spacing:-3px;font-weight:850;margin:16px 0 20px;max-width:550px}.hero-copy h1 em{font-style:normal;color:#f3c975}.hero-copy>p:not(.eyebrow){font-size:16px;line-height:1.65;color:#f8f2e7}.small-star{font-size:19px;margin-right:7px}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:none;padding:10px 2px;font-size:13px;font-weight:750;text-decoration:none;min-height:44px}.hero-how{color:#fff7e3;font-size:12px;margin-top:12px}.hero-how>.icon{width:18px;height:18px}.hero-location{position:absolute;right:38px;bottom:32px;z-index:1;display:flex;align-items:center;gap:14px;color:#fffaf0;padding:15px 20px;background:#173b40b0;backdrop-filter:blur(12px);border:1px solid #563f632f;border-radius:18px}.hero-location strong{display:block;font-size:24px}.hero-location span:not(.location-dot):not(.location-stamp){display:block;font-size:12px;color:#d9eae5}.location-dot{height:10px;width:10px;border-radius:50%;background:#3b2150;box-shadow:0 0 0 6px #12081a20}.location-stamp{font-size:10px;letter-spacing:2px;margin-left:22px;color:#e8dfcc}.departure-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:32px;margin-top:32px}.section-heading{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:20px}.section-heading h2{font-size:25px;letter-spacing:-.7px;margin-top:3px}.quiet-pill{font-size:10px;background:#3b2150;border:1px solid #563f63;padding:7px 10px;border-radius:20px;white-space:nowrap;color:#cdb9da}.city-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.city-card{position:relative;text-align:left;background:var(--paper);border-radius:18px;padding:6px;border:2px solid transparent;box-shadow:0 2px 8px #3027250a;transition:transform .2s,border-color .2s;min-width:0}.city-card:hover{transform:translateY(-4px)}.city-card.selected{border-color:var(--plum);box-shadow:0 3px 0 var(--plum)}.city-picture{display:block;height:123px;border-radius:11px;background-size:auto 170%;background-position:center top;background-repeat:no-repeat;background-color:#82b4be}.city-copy{display:block;padding:12px 8px}.city-copy strong{font-size:17px;display:block;letter-spacing:-.4px}.city-copy small{font-size:11px;color:var(--muted)}.city-check{position:absolute;right:15px;top:16px;display:grid;place-items:center;background:var(--paper);width:24px;height:24px;border-radius:50%;font-size:14px;font-weight:850;box-shadow:0 2px 6px #0002}.city-check.claimed{background:var(--gold)}.city-mix{font-size:11px;color:var(--muted);display:flex;gap:8px;align-items:center;line-height:1.7;margin:20px 0 0}.city-mix .icon{width:16px;height:16px}.departure-card{padding:23px;background:#3b2150;border:1px solid #563f63;border-radius:22px}.departure-card h2{font-size:20px;letter-spacing:-.5px;margin-bottom:16px}.mode-fieldset{border:0;padding:0;margin:0}.mode-fieldset legend{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0)}.mode-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mode-option{position:relative;border:1px solid #563f63;border-radius:13px;padding:12px 9px;display:flex;flex-direction:column;gap:4px;cursor:pointer;background:#2c1738;min-width:0}.mode-option:has(input:checked){border-color:var(--plum);background:#2c1738;box-shadow:inset 0 0 0 1px var(--plum)}.mode-option input{position:absolute;right:9px;top:12px;accent-color:var(--plum);width:14px;height:14px}.mode-option .icon{width:23px;height:23px;margin-bottom:6px}.mode-option strong{font-size:12px}.mode-option small{font-size:9px;line-height:1.5;color:var(--muted)}.switch-row{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:22px 0;border-bottom:1px solid var(--line);cursor:pointer}.switch-row>span{min-width:0}.switch-row strong{display:block;font-size:14px}.switch-row small{display:block;font-size:12px;color:var(--muted);margin-top:5px;line-height:1.5}.switch-row input{appearance:none;flex-shrink:0;background:#c2babf;width:38px;height:23px;border-radius:20px;position:relative;margin:0;cursor:pointer}.switch-row input:checked{background:var(--teal)}.switch-row input:before{content:'';position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#2c1738;transition:transform .2s}.switch-row input:checked:before{transform:translateX(15px)}.switch-row.compact{padding:17px 0;border:0;gap:8px}.switch-row.compact strong{font-size:11px}.switch-row.compact small{font-size:9px}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;font-weight:750;font-size:14px;padding:15px 20px;min-height:50px;border-radius:13px;line-height:1.4;transition:transform .15s,box-shadow .15s;width:100%}.button:active:not(:disabled){transform:translateY(2px)}.button.primary{background:var(--plum);color:#fff6e6;border:1px solid #382141;box-shadow:0 4px 0 #1c1222}.button.primary:hover:not(:disabled){background:#46294f}.button.secondary{background:#3b2150;color:var(--plum);border:1px solid #563f63;box-shadow:0 3px 0 #12081a}.button.primary.play-start{justify-content:space-between}.departure-note{font-size:9px;color:var(--muted);text-align:center;line-height:1.5;margin-top:14px}.home-footer{display:flex;justify-content:space-between;gap:20px;color:#cdb9da;font-size:10px;padding-top:24px;margin-top:10px;border-top:1px solid var(--line)}.home-footer>span:first-child{font-style:italic}.match-bar{display:flex;align-items:center;gap:28px;margin:4px 0 22px}.match-bar>div:nth-child(2){margin-right:auto}.match-bar h1{font-size:30px;letter-spacing:-1px}.round-badge{background:#3b2150;border-radius:14px;padding:11px 16px;font-size:11px;display:flex;flex-direction:column;gap:3px}.round-badge strong{font-size:17px;letter-spacing:2px}.play-layout{display:grid;grid-template-columns:minmax(0,1fr) 306px;gap:26px;align-items:start}.arena-stage{position:relative;border-radius:26px;overflow:hidden;background:#0f737d;box-shadow:0 12px 28px #224f4820;min-height:640px}.stage-scenery{background-image:var(--scene);background-size:cover;background-position:top center}.stage-glaze{background:linear-gradient(0deg,#064e6090,transparent 48%)}.stage-heading{position:relative;z-index:2;padding:22px;display:flex;justify-content:space-between;gap:10px;align-items:center}.stage-location,.turn-pill{font-size:11px;background:#183d48df;color:#fff7e5;border:1px solid #563f6331;border-radius:50px;padding:9px 13px;backdrop-filter:blur(8px);font-weight:650}.turn-pill{background:var(--paper);color:var(--ink);box-shadow:0 3px 8px #1237}.board-wrap{position:relative;margin:45px auto 4px;max-width:650px;padding:0 15px}.connections{position:absolute;inset:0;width:100%;height:100%;padding:0 15px;pointer-events:none}.connections line{stroke:#e0eee191;stroke-width:4;stroke-linecap:round}.connections line.owned-route{stroke:#a9ffed;stroke-width:8;filter:drop-shadow(0 0 5px #9ee7da)}.board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:170px;position:relative;gap:2px 6px}.district{position:relative;border:0;min-width:0;background:none;padding:0;transition:transform .22s,filter .22s;border-radius:30%;isolation:isolate;outline-offset:-1px!important;color:var(--ink)}.district:hover:not(:disabled){transform:translateY(-5px);z-index:4}.district:disabled{opacity:1}.tile-platform{position:absolute;left:0;bottom:0;width:100%;height:78%;overflow:visible;filter:drop-shadow(0 8px 5px #063c503b);transition:filter .25s}.platform-top{fill:#f7e5bf;stroke:#fff1d3;stroke-width:3;transition:fill .45s,stroke .25s}.platform-depth{fill:#b8a87d;transition:fill .45s}.district[data-owner="0"] .platform-top{fill:var(--player);stroke:#b5f0d3}.district[data-owner="0"] .platform-depth{fill:#095d5d}.district[data-owner="1"] .platform-top{fill:var(--rival);stroke:#ffd7b4}.district[data-owner="1"] .platform-depth{fill:#963c35}.district.available .platform-top{stroke:#ffe68e;stroke-width:4}.district.selected .platform-top{stroke:#ffed77;stroke-width:5}.district.selected{transform:translateY(-7px);z-index:3}.district.selected .tile-platform{filter:drop-shadow(0 0 9px #ffed77b8)}.district-art{position:absolute;left:12%;top:-8%;width:76%;aspect-ratio:1;background-image:var(--sprites);background-size:300% 300%;background-position:var(--x) var(--y);background-repeat:no-repeat;pointer-events:none;filter:drop-shadow(0 5px 4px #16251733);transition:transform .2s}.district:hover:not(:disabled) .district-art{transform:translateY(-3px)}.district-caption{position:absolute;bottom:13%;left:6%;right:6%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-shadow:0 1px 0 #ffffff35;pointer-events:none}.district-caption strong{font-size:13px;line-height:1.2;letter-spacing:-.2px;max-width:100%;overflow-wrap:anywhere}.district-caption small{font-size:10px;line-height:1.2;display:flex;gap:4px;align-items:center}.district[data-owner="0"] .district-caption,.district[data-owner="1"] .district-caption{color:#fffef4;text-shadow:0 1px 3px #19363390}.district-symbol{font-size:17px;line-height:1}.district.captured{animation:capture .65s cubic-bezier(.22,1,.36,1)}@keyframes capture{0%{transform:scale(.88)}35%{transform:translateY(-14px) scale(1.08)}70%{transform:translateY(-3px)}100%{transform:none}}.board-legend{position:relative;z-index:1;display:flex;gap:18px;justify-content:center;color:#fffaf0;font-size:10px;padding:16px 15px 22px;flex-wrap:wrap}.board-legend>span{display:flex;gap:5px;align-items:center}.legend-symbol{font-size:16px;line-height:1}.player-symbol{color:#b7f4dd}.rival-symbol{color:#ffc1a9}.free-symbol{color:#ffebbf}.match-sidebar{display:flex;flex-direction:column;gap:16px}.scoreboard{display:grid;grid-template-columns:1fr 1fr;gap:10px}.score-card{position:relative;display:flex;align-items:center;gap:10px;padding:15px 12px 30px;border-radius:17px;color:#fff;box-shadow:inset 0 1px 0 #12081a3b}.player-score{background:#086e70}.rival-score{background:#a9473d}.avatar{width:35px;height:35px;display:grid;place-items:center;background:#2c17381d;border:1px solid #563f6333;border-radius:12px;font-size:24px;flex-shrink:0}.score-card span:not(.score-unit){font-size:10px;font-weight:700;display:block;line-height:1.3}.score-card strong{font-size:31px;line-height:1.1;display:block}.score-unit{position:absolute;left:57px;bottom:11px;font-size:9px;opacity:.9}.score-card.active{outline:3px solid var(--gold);outline-offset:2px}.move-card{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:24px}.move-card h2{font-size:24px;letter-spacing:-.7px;line-height:1.2;margin-top:7px}.move-card p:not(.eyebrow){font-size:12px;line-height:1.7;color:var(--muted);margin:13px 0 21px}.selected-art{height:115px;width:115px;background:var(--sprites);background-size:300% 300%;background-position:var(--x) var(--y);margin:10px auto 0;display:none}.selected-art.shown{display:block}.turn-stats{display:flex;gap:15px;justify-content:center;border-top:1px solid var(--line);padding-top:17px;margin-top:22px;font-size:10px;color:var(--muted)}.turn-stats>span{display:flex;align-items:center;gap:4px}.turn-stats .icon{width:14px;height:14px}.turn-stats strong{color:var(--ink)}.event-card{display:flex;align-items:flex-start;gap:10px;background:#3b2150;border-radius:14px;padding:15px;color:#cdb9da}.event-card p{font-size:11px;line-height:1.6}.event-dot{width:6px;height:6px;border-radius:50%;background:var(--teal);margin-top:6px;flex-shrink:0}.strategy-note{display:flex;gap:10px;padding:3px 10px;font-size:11px;line-height:1.7;color:var(--muted)}.strategy-note strong{color:var(--ink);display:block}.strategy-note .icon{color:#ffd166;margin-top:3px}.rules-link{justify-content:space-between;padding:8px 10px}.floating-reward{position:absolute;top:42%;left:50%;z-index:5;pointer-events:none;opacity:0;color:#fff1a7;font-size:36px;font-weight:900;text-shadow:0 3px 0 #336253}.floating-reward.show{animation:rewardRise 1.4s ease-out}@keyframes rewardRise{0%{opacity:0;transform:translate(-50%,25px) scale(.75)}20%{opacity:1;transform:translate(-50%,0) scale(1.08)}70%{opacity:1}100%{opacity:0;transform:translate(-50%,-70px)}}
dialog{border:1px solid #563f63;background:var(--paper);color:var(--ink);border-radius:25px;padding:30px;max-height:calc(100dvh - 32px);width:min(540px,calc(100vw - 32px));overflow-y:auto;box-shadow:0 30px 100px #160c283b}dialog[open]{animation:dialogIn .25s ease-out}dialog::backdrop{background:#171321a3;backdrop-filter:blur(7px)}@keyframes dialogIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}.dialog-head{display:flex;gap:18px;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.dialog-head h2{font-size:27px;letter-spacing:-.9px;line-height:1.15;margin-top:5px}.dialog-head .icon-button{margin:-9px -9px 0 0;flex-shrink:0}.question-top{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px}.question-target{font-size:12px;color:var(--muted);display:block;margin-top:4px}.question-top .eyebrow{color:var(--teal)}.bonus-wrap{padding:15px 17px;background:#3b2150;border-radius:14px;margin-bottom:22px}.bonus-label{display:flex;justify-content:space-between;gap:14px;font-size:11px}.bonus-label strong{color:#ffd166;font-variant-numeric:tabular-nums}.bonus-track{height:5px;border-radius:8px;background:#3b2150;margin-top:10px;overflow:hidden}#bonusFill{height:100%;width:100%;background:#ae8730;border-radius:8px;transition:width .15s linear}.bonus-wrap p{font-size:10px;color:#cdb9da;margin-top:7px}.question-dialog h2{font-size:26px;letter-spacing:-.7px;line-height:1.3;margin-bottom:24px}.answers{display:grid;grid-template-columns:1fr 1fr;gap:12px}.answer{display:flex;align-items:center;gap:12px;min-height:66px;border:1px solid #563f63;border-radius:13px;background:#2c1738;text-align:left;padding:14px;font-size:14px;font-weight:650;transition:background .18s,transform .18s;overflow-wrap:anywhere}.answer:hover:not(:disabled){background:#3b2150;transform:translateY(-2px)}.answer-letter{display:grid;place-items:center;width:26px;height:26px;border:1px solid #563f63;border-radius:7px;flex-shrink:0;font-size:12px;color:#cdb9da}.answer.correct{background:#0e7571;color:white;border-color:#0a615e;box-shadow:0 0 0 2px #12081a}.answer.wrong{background:#3b2150;border-color:#ba6558;color:#ff9a5a}.answer:disabled{opacity:1}.answer.correct .answer-letter{color:white;border-color:#563f63}.answer.unselected{opacity:.57}.answer-feedback{font-size:13px;line-height:1.6;margin-top:21px;padding:17px;background:#3b2150;border:1px solid #563f63;border-radius:14px}.answer-feedback strong{font-size:15px;display:block;margin-bottom:5px;color:#7dd3fc}.answer-feedback.incorrect{background:#3b2150;border-color:#563f63}.answer-feedback.incorrect strong{color:#ff9a5a}.earned-line{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#ffd166;margin-top:10px;font-weight:750}.next-move{margin-top:20px}.question-foot{font-size:10px;color:var(--muted);text-align:center;margin-top:20px}.paused-content{text-align:center;padding:26px 8px}.paused-content>span{display:flex;justify-content:center;color:var(--teal);margin-bottom:12px}.paused-content h2{margin-bottom:12px}.paused-content p{color:var(--muted);margin-bottom:22px;font-size:13px}.handover-dialog{text-align:center;max-width:440px;padding:40px 34px}.handover-symbol{font-size:42px;width:90px;height:90px;margin:0 auto 24px;border-radius:27px;background:#3b2150;color:#ff9a5a;display:grid;place-items:center}.handover-dialog h2{font-size:29px;letter-spacing:-1px;margin:12px 0}.handover-dialog p:not(.eyebrow){font-size:14px;line-height:1.7;color:var(--muted);margin-bottom:26px}.result-dialog{position:relative;text-align:center;padding:34px;overflow:hidden}.result-crown{display:flex!important;justify-content:center;margin:0 auto 18px;color:#ffd166}.result-crown>.icon{width:68px;height:68px;fill:#f3ce75;stroke-width:1.1}.result-dialog h2{font-size:40px;letter-spacing:-1.8px;line-height:1.1;margin:10px 0 14px}.result-dialog>p:not(.eyebrow){font-size:13px;line-height:1.7;color:var(--muted);max-width:360px;margin:auto}.result-scores{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0 16px}.result-score{padding:14px;border-radius:15px;background:#3b2150;color:#7dd3fc}.result-score:nth-child(2){background:#3b2150;color:#ff9a5a}.result-score>strong{font-size:38px;line-height:1.2;display:block}.result-score>span{font-size:11px;font-weight:700}.result-score>small{font-size:10px;display:block}.reward-summary{background:#3b2150;border:1px solid #563f63;border-radius:13px;padding:14px;font-size:12px;line-height:1.8;margin-bottom:22px}.reward-summary strong{color:#ffd166}.result-actions{display:grid;gap:13px}.result-dialog>.text-button{margin-top:15px;font-size:11px}.result-confetti{position:absolute;top:0;left:0;right:0;pointer-events:none;height:150px;overflow:hidden}.confetti-piece{position:absolute;width:6px;height:11px;top:-18px;animation:confetti 2.4s ease-in-out forwards;background:var(--colour)}@keyframes confetti{to{transform:translate(var(--drift),220px) rotate(550deg);opacity:0}}.info-dialog p,.shop-intro{font-size:13px;line-height:1.7;color:var(--muted)}.rules-list{list-style:none;padding:0;display:flex;flex-direction:column;gap:24px;margin:24px 0}.rules-list li{display:flex;gap:16px}.rules-list li>span{font-weight:850;font-size:14px;display:grid;place-items:center;background:#3b2150;border-radius:12px;width:40px;height:40px;flex-shrink:0;color:#ffd166}.rules-list h3,.help-callout h3{font-size:15px;margin:0 0 6px}.help-callout{background:#3b2150;padding:18px;border-radius:15px;margin-top:14px}.help-callout p+p{margin-top:10px}.help-callout.subtle{background:#3b2150}.fine-print{font-size:10px!important;line-height:1.7!important;margin:18px 0!important}.info-dialog>.button{margin-top:12px}.small-dialog{max-width:450px}.settings-note{margin-top:22px}.stacked-actions{display:grid;gap:12px;margin-top:24px}.shop-dialog{max-width:750px;width:calc(100vw - 32px)}.shop-balance{display:flex;align-items:center;gap:8px;font-size:12px;padding:16px 0 22px}.shop-balance strong{font-size:18px}.shop-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.shop-item{padding:15px;border:1px solid var(--line);border-radius:18px;display:flex;flex-direction:column;min-width:0;background:#2c1738}.shop-preview{height:103px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(145deg,#3b2150,#df9277);color:#ffd166;margin-bottom:16px}.shop-preview .icon{width:45px;height:45px;stroke-width:1.3}.shop-preview.crown{background:linear-gradient(145deg,#3b2150,#3b2150);color:#ffd166}.shop-preview.royal{background:linear-gradient(145deg,#9180ae,#4e365e);color:#fae1a9}.shop-item h3{font-size:15px;margin-bottom:6px}.shop-item p{font-size:11px;line-height:1.6;color:var(--muted);margin-bottom:18px;flex-grow:1}.shop-item .button{font-size:11px;padding:10px;min-height:43px;gap:4px}.shop-note{font-size:11px;color:var(--muted);line-height:1.7;margin-top:23px}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);background:var(--plum);color:#fff6e6;padding:13px 20px;border-radius:14px;box-shadow:0 5px 25px #1d152444;z-index:90;opacity:0;pointer-events:none;font-size:13px;line-height:1.5;max-width:calc(100vw - 32px);text-align:center;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}.noscript{padding:30px}.theme-sunset .stage-scenery,.theme-sunset .hero-scenery{filter:sepia(.24) saturate(1.1)}.theme-royal{--player:#73519c}.theme-royal .connections line.owned-route{stroke:#ffe2a3}.theme-royal .district[data-owner="0"] .platform-depth{fill:#493260}.theme-crown .you-avatar:after{content:'♛';font-size:15px;position:absolute;top:0;left:24px;color:#ffe28d}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden;padding:0;border:0}.reduce-motion *, .reduce-motion *:before,.reduce-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(min-width:1400px){.home-hero{height:440px}.hero-copy{padding-top:62px}.board{grid-auto-rows:182px}.arena-stage{min-height:690px}}
@media(max-width:1100px){.topbar{padding:10px 24px}main{padding:0 24px 24px}.departure-grid{gap:22px;grid-template-columns:minmax(0,1fr) 306px}.city-cards{gap:9px}.city-picture{height:103px}.city-copy{padding:10px 5px}.city-copy strong{font-size:15px}.section-heading .quiet-pill{display:none}.play-layout{grid-template-columns:minmax(0,1fr) 275px;gap:18px}.board{grid-auto-rows:150px}.arena-stage{min-height:590px}.board-wrap{padding:0 12px;margin-top:60px}.district-caption strong{font-size:11px}.district-caption small{font-size:9px}.score-card{padding-left:9px;gap:7px}.avatar{width:29px;height:31px}.score-unit{left:47px}.move-card{padding:21px}}
@media(max-width:820px){.topbar{height:80px}.prototype-tag{display:none}.home-hero{height:360px}.hero-copy{padding:36px}.hero-copy h1{font-size:55px}.hero-location{right:25px;bottom:25px}.hero-location strong{font-size:20px}.location-stamp{display:none}.departure-grid{grid-template-columns:1fr}.departure-card{display:grid;grid-template-columns:1fr 1fr;column-gap:24px;align-items:start}.departure-card h2{grid-column:1/-1}.mode-fieldset{grid-row:2/5}.switch-row.compact{padding:0 0 14px}.departure-note{grid-column:2}.city-picture{height:135px}.city-copy strong{font-size:18px}.section-heading .quiet-pill{display:block}.play-layout{grid-template-columns:1fr}.match-sidebar{display:grid;grid-template-columns:1fr 1fr;align-items:start}.scoreboard{grid-column:1}.move-card{grid-column:2;grid-row:1/5}.event-card{grid-column:1}.strategy-note{grid-column:1}.rules-link{grid-column:1}.arena-stage{min-height:620px}.board{grid-auto-rows:168px}.district-caption strong{font-size:13px}.board-wrap{margin-top:28px}.board-legend{padding-bottom:20px}.selected-art{display:none!important}.move-card h2{font-size:22px}.home-footer{font-size:9px}}
@media(max-width:520px){.topbar{height:75px;padding:10px 16px;gap:10px}.brand{font-size:22px;gap:7px}.brand-mark{width:35px;height:37px;font-size:29px;border-radius:11px}.brand-mark>span{font-size:12px;right:5px;top:6px}.brand-arena{font-size:8px;letter-spacing:3.5px}.top-actions{gap:2px}.wallet{padding:7px 9px;min-height:39px;font-size:12px;gap:6px;border-radius:12px}.wallet-word,.nav-label{display:none}.coin-icon{width:20px;height:20px;font-size:13px}.nav-button,.icon-button{min-width:38px;min-height:42px;padding:8px}.top-actions #helpButton{display:none}.top-actions .icon{width:19px;height:19px}main{padding:0 14px 24px}.home-hero{height:374px;border-radius:20px}.hero-scenery{background-size:auto 108%;background-position:57% top}.hero-shade{background:linear-gradient(90deg,#173c45ed 0%,#173c4566 90%),linear-gradient(0deg,#123e499e,transparent 60%)}.hero-copy{padding:30px 24px}.hero-copy .eyebrow{font-size:8px;letter-spacing:1.3px}.small-star{font-size:15px;margin-right:4px}.hero-copy h1{font-size:50px;letter-spacing:-2.5px;line-height:1.05;margin:18px 0}.hero-copy>p:not(.eyebrow){font-size:13px;line-height:1.7}.hero-how{font-size:11px;margin-top:8px}.hero-location{bottom:20px;right:18px;padding:9px 12px;gap:10px;border-radius:13px}.hero-location strong{font-size:15px}.hero-location span:not(.location-dot):not(.location-stamp){font-size:9px}.location-dot{width:6px;height:6px;box-shadow:0 0 0 4px #12081a20}.departure-grid{margin-top:25px;gap:23px}.section-heading{margin-bottom:16px}.section-heading h2{font-size:22px}.section-heading .eyebrow{font-size:8px;letter-spacing:1.6px}.quiet-pill{font-size:8px;padding:6px 8px}.city-cards{gap:8px}.city-card{padding:4px;border-radius:14px}.city-picture{height:85px;border-radius:8px;background-size:auto 150%}.city-copy{padding:11px 4px 8px}.city-copy strong{font-size:14px;letter-spacing:-.3px}.city-copy small{font-size:8px}.city-check{width:18px;height:18px;font-size:11px;right:10px;top:10px}.city-mix{font-size:10px;margin-top:16px;align-items:flex-start}.city-mix .icon{margin-top:2px;flex-shrink:0}.departure-card{display:block;padding:21px}.departure-card h2{font-size:19px}.mode-option{padding:12px}.mode-option strong{font-size:12px}.mode-option small{font-size:10px}.switch-row.compact{padding:20px 0}.switch-row.compact strong{font-size:12px}.switch-row.compact small{font-size:10px}.departure-note{font-size:9px}.home-footer{flex-direction:column;gap:7px;font-size:9px;padding-top:17px;margin-top:24px}.match-bar{gap:16px;margin:5px 0 16px}.match-bar h1{font-size:25px}.match-bar .eyebrow{font-size:8px;letter-spacing:1.5px}.match-bar>.text-button{font-size:11px}.match-bar>.text-button .icon{width:17px;height:17px}.round-badge{font-size:9px;padding:9px 12px}.round-badge strong{font-size:15px}.play-layout{gap:16px}.arena-stage{min-height:435px;border-radius:20px}.stage-heading{padding:14px 12px;gap:7px}.stage-location,.turn-pill{font-size:9px;padding:8px 10px}.board-wrap{margin-top:45px;padding:0 8px}.board{grid-auto-rows:104px;gap:3px 3px}.district-art{top:-9%;left:8%;width:84%}.district-caption{bottom:12%;left:5%;right:5%;gap:2px}.district-caption strong{font-size:9px;letter-spacing:-.1px}.district-caption small{font-size:8px}.district-symbol{font-size:13px}.tile-platform{height:80%}.board-legend{font-size:8px;gap:13px;padding:14px 8px 17px}.legend-symbol{font-size:13px}.connections{padding:0 8px}.match-sidebar{display:flex;gap:13px}.score-card{padding:13px 15px 28px;gap:12px;border-radius:16px}.score-card .avatar{width:37px;height:37px;font-size:26px}.score-card span:not(.score-unit){font-size:11px}.score-card strong{font-size:31px}.score-unit{left:64px;bottom:10px;font-size:9px}.move-card{padding:23px}.move-card h2{font-size:24px}.move-card p:not(.eyebrow){font-size:12px;margin:10px 0 18px}.turn-stats{padding-top:16px;margin-top:20px;font-size:11px}.move-card .eyebrow{font-size:9px}.event-card p{font-size:11px}.strategy-note{font-size:11px}.rules-link{font-size:12px}dialog{border-radius:22px;padding:24px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.question-dialog h2{font-size:24px;line-height:1.3;letter-spacing:-.6px}.question-top{gap:12px;margin-bottom:17px}.question-top .eyebrow{font-size:9px;letter-spacing:1.2px}.question-target{font-size:11px}.bonus-wrap{padding:14px;margin-bottom:20px}.bonus-label{font-size:10px}.bonus-wrap p{font-size:9px}.answers{grid-template-columns:1fr;gap:10px}.answer{min-height:55px;padding:12px;font-size:14px;gap:12px}.question-dialog .answer-letter{width:27px;height:27px}.answer-feedback{font-size:12px;padding:15px}.question-foot{margin-top:17px}.dialog-head h2{font-size:25px}.dialog-head .eyebrow{font-size:8px;letter-spacing:1.2px}.rules-list{gap:20px}.rules-list li{gap:12px}.rules-list li>span{width:32px;height:34px;font-size:12px;border-radius:10px}.rules-list h3{font-size:14px}.rules-list p,.help-callout p{font-size:12px}.help-callout{padding:16px}.result-dialog{overflow-y:auto;padding:27px}.result-dialog h2{font-size:34px}.result-crown>.icon{width:54px;height:54px}.shop-items{grid-template-columns:1fr}.shop-item{display:grid;grid-template-columns:75px 1fr;column-gap:15px;padding:15px}.shop-preview{grid-column:1;grid-row:1/4;height:85px;margin-bottom:0}.shop-preview .icon{width:37px;height:37px}.shop-item h3{margin-bottom:5px}.shop-item p{margin-bottom:13px;font-size:11px}.shop-item .button{grid-column:2;font-size:11px}.shop-item h3{font-size:14px}.shop-intro{font-size:12px}.shop-balance{padding:14px 0 18px}.shop-dialog .dialog-head{margin-bottom:13px}.shop-note{font-size:10px;margin-top:19px}.handover-dialog h2{font-size:27px}.handover-dialog p:not(.eyebrow){font-size:13px}.handover-symbol{width:75px;height:75px;font-size:36px}.floating-reward{font-size:29px}.button{font-size:13px}.toast{font-size:12px}.top-actions .nav-button{min-width:37px}}
:root{--player:#08746f;--rival:#b24e43}
.answer.correct,.answer.wrong{transition:none}
.district-art{top:-14%;left:15%;width:70%}
@media(max-width:520px){.district-art{top:-14%;left:15%;width:70%}.match-sidebar{align-items:stretch}.top-actions .nav-button,.top-actions .icon-button{min-width:44px;min-height:44px}.district-caption strong{font-size:10px}.district-caption small{font-size:9px}.scoreboard{width:100%}}
@media(max-width:360px){.topbar{padding:10px 12px}.top-actions{gap:0}.brand{font-size:20px}.brand-mark{width:31px;height:34px}.brand-arena{font-size:7px}.wallet{padding:6px}.board{grid-auto-rows:94px}.arena-stage{min-height:410px}.district-caption strong{font-size:9px}.district-caption small{font-size:8px}.hero-copy h1{font-size:44px}.quiet-pill{display:none!important}.city-copy small{font-size:7px}.city-copy strong{font-size:12px}.hero-copy{padding:27px 21px}}

/* City Rivals: a tactical board, with motion that explains the play. */
.hero-copy h1{font-size:63px;max-width:650px}.hero-copy{padding-top:43px}.hero-challenge{position:absolute;right:45px;top:43px;transform:rotate(5deg);padding:21px 25px;border-radius:5px 22px 22px 22px;background:#3b2150;color:#fdf4e3;box-shadow:0 12px 35px #16332a36;border:3px solid #563f63}.hero-challenge>span{font-size:9px;font-weight:850;letter-spacing:2px}.hero-challenge strong{font-size:26px;line-height:1.13;display:block;margin:11px 0}.hero-challenge small{font-size:9px;letter-spacing:1px;font-weight:800}.sky-trail{position:absolute;top:50%;left:50%;width:250px;border-top:2px dashed #563f636b;transform:rotate(-15deg);animation:sky-pass 16s linear infinite;pointer-events:none}.sky-trail span{position:absolute;right:-18px;top:-17px;color:#fff2be;font-size:32px;filter:drop-shadow(0 3px 5px #203a44)}@keyframes sky-pass{from{translate:-400px 120px;opacity:0}10%,85%{opacity:.8}to{translate:750px -180px;opacity:0}}.game-promise{display:flex;align-items:center;justify-content:center;gap:42px;padding:20px 18px;border-bottom:1px solid var(--line);color:#ffd166}.game-promise>span{display:flex;gap:9px;align-items:center;font-size:17px}.game-promise strong{font-size:12px;font-weight:750}.departure-grid{margin-top:25px}
.match-pulse{display:flex;gap:24px;align-items:center;justify-content:space-between;margin:0 0 18px;padding:14px 19px;border:1px solid #563f63;border-radius:18px;background:#3b2150}.city-event{display:flex;align-items:center;gap:13px;min-width:0}.event-orbit{width:39px;height:39px;display:grid;place-items:center;background:#342040;color:#f3d182;font-size:25px;border-radius:50%;flex-shrink:0}.city-event strong{display:block;font-size:14px}.city-event p{font-size:12px;line-height:1.55;color:#cdb9da;margin-top:3px}.round-track{display:flex;gap:7px;flex-shrink:0}.round-track span{width:28px;height:28px;display:grid;place-items:center;border:1px solid #563f63;border-radius:50%;font-size:11px;color:#ffd166}.round-track .current{background:#342040;color:#fff1d6;border-color:#342040;box-shadow:0 0 0 3px #12081a}.round-track .played{background:#3b2150;color:#7dd3fc}.match-pulse.festival{background:#3b2150;border-color:#563f63}.festival .event-orbit{animation:festival-orbit 4s ease-in-out infinite}@keyframes festival-orbit{50%{transform:rotate(45deg)}}
.play-layout{grid-template-columns:minmax(0,1fr) 325px;gap:24px}.arena-stage{min-height:760px}.stage-glaze{background:linear-gradient(180deg,#102a3652,transparent 25%,#123d4a88)}.tactic-bar{position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:420px;margin:0 auto;padding:0 14px}.tactic-bar button{display:grid;grid-template-columns:23px 1fr;align-items:center;column-gap:6px;text-align:left;min-height:57px;padding:9px 12px;border:1px solid #563f63;border-radius:14px;background:#2c1738;color:#fdf4e3;box-shadow:0 3px 0 #30213166}.tactic-bar button>span{font-size:22px;grid-row:1/3;line-height:1}.tactic-bar strong{font-size:12px}.tactic-bar small{font-size:10px;margin-top:2px;color:#cdb9da}.tactic-bar button[aria-pressed="true"]{background:#35223e;color:#fff3d4;border-color:#563f63;box-shadow:0 0 0 2px #12081a,0 4px 0 #142e34}.tactic-bar button[aria-pressed="true"] small{color:#edd6ad}.tactic-bar button:disabled{opacity:.65}.tactic-bar button:hover:enabled{transform:translateY(-2px)}.tactic-hint{position:relative;z-index:1;text-align:center;color:#fff9eb;background:#183d48e8;border:1px solid #563f6326;border-radius:12px;max-width:440px;width:calc(100% - 28px);padding:8px 14px;margin:13px auto 0;font-size:12px;line-height:1.5}.board-wrap{margin-top:42px}.connections line{stroke-dasharray:7 10;stroke-width:3}.connections line.owned-route,.connections line.rival-route{stroke-dasharray:none;stroke-width:7}.connections line.rival-route{stroke:#ffb599;filter:drop-shadow(0 0 4px #cc7866)}.district.available .tile-platform{animation:available-glow 3.3s ease-in-out infinite}.district.available:nth-child(2n) .tile-platform{animation-delay:.4s}@keyframes available-glow{50%{filter:drop-shadow(0 0 8px #ffe89699)}}.landmark-beacon{position:absolute;z-index:3;top:-20px;left:36%;background:#3b2150;color:#fdf4e3;border:2px solid #563f63;box-shadow:0 3px 0 #a47435;border-radius:20px;padding:3px 10px;font-size:15px;font-weight:850;pointer-events:none}.shield-badge{position:absolute;right:9%;top:13%;z-index:4;color:#7dd3fc;background:#3b2150;border:2px solid #563f63;box-shadow:0 3px 6px #18374642;border-radius:8px 8px 16px 16px;min-width:29px;padding:2px 6px;font-size:23px;line-height:1.15;pointer-events:none}.energy-strip{display:flex;gap:9px;justify-content:space-between;align-items:center;padding:11px 13px;border:1px solid #563f63;border-radius:14px;background:#3b2150;font-size:11px}.energy-strip>span{display:flex;align-items:center;gap:5px}.energy-strip b{font-size:23px;color:#ffd166;line-height:1}.energy-strip strong{font-size:13px;color:#fdf4e3}.energy-strip #streakCount{font-size:10px;color:#cdb9da}.energy-strip #streakCount.on-fire{color:#ff9a5a;font-weight:800}.move-card{padding:21px}.move-card .selected-art{height:78px;margin:0 auto}.move-preview{font-size:11px!important;font-weight:700;color:#ffd166!important;line-height:1.65!important;margin:16px 0 0!important;padding:10px 0 0;border-top:1px solid #563f63}.move-preview:empty{display:none}.mission-panel{background:#3b2150;border:1px solid #563f63;border-radius:20px;padding:17px}.mission-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.mission-heading h2{font-size:14px}.mission-heading>span{font-size:10px;border-radius:14px;background:#3b2150;padding:4px 8px;color:#cdb9da;font-weight:800}.mission{display:flex;align-items:center;gap:9px;padding:11px 0;border-top:1px solid #563f63}.mission>div{flex:1;min-width:0}.mission strong{font-size:11px;display:block;line-height:1.4}.mission small{font-size:10px;line-height:1.5;display:block;color:#cdb9da;margin-top:2px}.mission-symbol{display:grid;place-items:center;width:29px;height:32px;border-radius:9px;background:#2c1738;font-size:20px;color:#ffd166;flex-shrink:0}.mission-reward{font-size:11px;font-weight:850;color:#ffd166}.mission.done .mission-symbol{background:#3b2150;color:#7dd3fc}.mission.done .mission-reward{color:#5eead4}.mission.done small{color:#5eead4}.capture-banner{position:absolute;z-index:8;left:50%;top:45%;transform:translate(-50%,-30%) scale(.9);opacity:0;pointer-events:none;width:max-content;max-width:calc(100% - 35px);padding:20px 28px;background:#30213eef;color:#ffefc6;border:2px solid #563f63;border-radius:22px;box-shadow:0 12px 50px #11283566;text-align:center;backdrop-filter:blur(14px)}.capture-banner>span{display:block;font-size:29px;color:#f5d278;margin-bottom:3px}.capture-banner strong{font-size:24px;letter-spacing:-.5px;display:block;line-height:1.2}.capture-banner small{font-size:11px;display:block;margin-top:8px;line-height:1.5}.capture-banner.show{animation:capture-banner 2.3s both}@keyframes capture-banner{0%{opacity:0;transform:translate(-50%,-30%) scale(.9)}12%,82%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-65%) scale(.97)}}.reduce-motion .capture-banner.show{opacity:1;transform:translate(-50%,-50%)}.floating-reward{top:27%;z-index:7}.scout-button{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px;background:#3b2150;border:1px solid #563f63;border-radius:13px;color:#ffd166;min-height:48px;padding:10px 15px;width:100%;margin-top:19px;font-size:12px;font-weight:800}.scout-button>span{font-size:22px;line-height:1}.scout-button small{flex-basis:100%;font-size:10px;font-weight:500}.scout-button:disabled{opacity:.7}.answer.scouted{opacity:.4;text-decoration:line-through;border-style:dashed;box-shadow:none}.answer.correct{opacity:1}.reward-breakdown{font-size:11px!important;line-height:1.6!important}.mission-unlocked{background:#3b2150;border:1px solid #563f63;color:#ffd166;padding:10px 12px;border-radius:10px;font-size:12px;margin-top:12px;line-height:1.5;font-weight:800}.result-missions{padding:12px 0 16px;font-size:12px;line-height:1.8;color:#cdb9da}.city-story{margin-top:22px;border-top:1px solid var(--line);padding-top:15px}.city-story summary{cursor:pointer;padding:10px 2px;font-weight:800;font-size:14px}.city-story summary>span{font-size:11px;font-weight:500;color:#cdb9da;margin-left:12px}.city-story ol{list-style:none;padding:0;margin:12px 0}.city-story li{display:flex;gap:14px;align-items:center;border-bottom:1px solid var(--line);padding:13px 6px;font-size:12px;line-height:1.5}.city-story li>span{font-weight:800;color:#cdb9da}.city-story li>p{flex:1}.city-story li>strong{font-size:11px;white-space:nowrap;color:#ffd166}.result-score small+small{margin-top:7px}.result-dialog{max-height:calc(100dvh - 32px);overflow-y:auto}
@media(min-width:1400px){.arena-stage{min-height:815px}}
@media(max-width:1100px){.play-layout{grid-template-columns:minmax(0,1fr) 290px;gap:18px}.arena-stage{min-height:700px}.hero-challenge{right:28px;top:36px;padding:19px}.hero-challenge strong{font-size:23px}.hero-copy h1{font-size:55px}.tactic-bar{gap:7px}.tactic-bar button{padding:9px}.landmark-beacon{font-size:12px;padding:3px 8px}}
@media(max-width:820px){.play-layout{grid-template-columns:1fr}.match-sidebar{display:grid;grid-template-columns:1fr 1fr}.energy-strip{grid-column:1}.move-card{grid-column:2;grid-row:1/5}.mission-panel{grid-column:1}.event-card{grid-column:1/-1}.strategy-note{grid-column:1/-1}.rules-link{grid-column:1/-1}.arena-stage{min-height:735px}.hero-challenge{display:none}.hero-copy h1{font-size:55px}.round-track{gap:5px}.round-track span{width:24px;height:24px;font-size:10px}.match-pulse{gap:16px}.game-promise{gap:22px}.game-promise strong{font-size:11px}}
@media(max-width:520px){.hero-copy h1{font-size:45px;letter-spacing:-2px;line-height:1.08}.hero-copy{padding:30px 24px}.hero-location{bottom:17px}.home-hero{height:384px}.game-promise{gap:0;justify-content:space-between;padding:17px 0}.game-promise>span{flex:1;flex-direction:column;gap:4px;font-size:21px;text-align:center}.game-promise strong{font-size:9px;line-height:1.5;max-width:88px}.match-pulse{padding:12px;gap:11px;flex-wrap:wrap;margin-bottom:14px}.city-event{gap:10px;width:100%}.event-orbit{width:32px;height:32px;font-size:23px}.city-event strong{font-size:12px}.city-event p{font-size:10px}.round-track{justify-content:center;width:100%;gap:10px}.round-track span{width:21px;height:21px;font-size:9px}.arena-stage{min-height:565px}.stage-heading{padding:14px 12px}.tactic-bar{gap:7px;padding:0 13px}.tactic-bar button{padding:7px;min-height:52px;column-gap:4px;grid-template-columns:18px 1fr;border-radius:11px}.tactic-bar button>span{font-size:19px}.tactic-bar strong{font-size:11px}.tactic-bar small{font-size:9px}.tactic-hint{font-size:10px;padding:7px 11px;margin-top:12px;min-height:42px;display:flex;align-items:center;justify-content:center}.board-wrap{margin-top:33px}.landmark-beacon{top:-19px;left:31%;font-size:10px;padding:2px 6px}.shield-badge{top:6%;right:4%;font-size:19px;min-width:23px;padding:0 4px}.board-legend{padding-top:17px}.match-sidebar{display:flex;align-items:stretch}.energy-strip{order:0}.scoreboard{order:-1}.mission-panel{padding:19px}.mission-heading h2{font-size:15px}.mission strong{font-size:12px}.mission small{font-size:11px}.mission-reward{font-size:12px}.capture-banner{padding:18px 22px}.capture-banner strong{font-size:21px}.capture-banner small{font-size:10px}.capture-banner>span{font-size:25px}.energy-strip{font-size:12px;padding:12px 15px}.energy-strip #streakCount{font-size:11px}.city-story summary{font-size:13px}.city-story summary>span{display:block;margin:6px 0 0;font-size:11px}.city-story li{gap:9px;font-size:11px;align-items:flex-start}.city-story li>strong{font-size:10px}.scout-button{font-size:12px}.scout-button small{font-size:10px}.result-missions{font-size:11px}}
@media(max-width:360px){.hero-copy h1{font-size:39px}.arena-stage{min-height:540px}.game-promise strong{font-size:8px}.hero-copy{padding:29px 22px}.tactic-bar button{grid-template-columns:16px 1fr;gap:3px;padding:7px 5px}.tactic-bar small{font-size:8px}.tactic-bar strong{font-size:10px}.landmark-beacon{left:28%}}
@media(prefers-reduced-motion:reduce){.capture-banner.show{opacity:1;transform:translate(-50%,-50%)}}
.stage-score,.dock-energy{display:none}
@media(max-width:520px){
 body:has(#match:not([hidden])) main{padding-bottom:165px}
 .match-bar{margin:3px 0 12px;gap:14px}.match-bar h1{font-size:23px}.match-bar .eyebrow{font-size:7px}.round-badge{padding:7px 10px}.round-badge strong{font-size:12px}
 .match-pulse{padding:10px 12px;margin-bottom:12px}.round-track{display:none}.city-event p{font-size:10px}.city-event strong{font-size:11px}.event-orbit{width:28px;height:28px;font-size:20px}
 .stage-score{display:block;color:#fff7e6;background:#253e47ed;border:1px solid #563f634d;padding:7px 8px;border-radius:20px;font-size:11px;font-weight:800;white-space:nowrap}.stage-heading{padding:12px 9px;gap:5px}.stage-location,.turn-pill{font-size:8px;padding:7px}.stage-location{max-width:36%;line-height:1.4}.stage-score{font-size:11px}
 .arena-stage{min-height:530px}.board{grid-auto-rows:96px}.board-wrap{margin-top:30px}.district-caption strong{font-size:9px}.district-caption small{font-size:8px}.tactic-hint{min-height:39px}.board-legend{padding-bottom:14px}
 .scoreboard,.match-sidebar>.energy-strip{display:none}
 .move-card{position:fixed;z-index:9;left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));border-radius:19px;border:1px solid #563f63;box-shadow:0 -6px 30px #29202b25;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;padding:12px 15px;background:#2c1738f5;backdrop-filter:blur(18px)}
 .move-card .eyebrow,.move-card #moveDescription,.move-card .turn-stats,.move-card .move-preview{display:none}.move-card h2{font-size:15px;line-height:1.4;grid-row:1;grid-column:1}.dock-energy{display:block;font-size:11px;font-weight:800;grid-row:1;grid-column:2;color:#ffd166;align-self:center}.move-card .button{grid-column:1/-1;grid-row:2;margin-top:4px;min-height:43px;font-size:12px;padding:11px}
 .event-card{margin-top:0}.match-sidebar{gap:12px}.capture-banner{top:52%}.city-story{margin-bottom:8px}
}
@media(max-width:360px){.arena-stage{min-height:510px}.board{grid-auto-rows:91px}.stage-score{font-size:10px;padding:7px 6px}.stage-location,.turn-pill{font-size:7px}.move-card h2{font-size:14px}.board-wrap{margin-top:28px}}
@media(max-width:520px){.move-card .move-preview:not(:empty){display:block;grid-row:2;grid-column:1/-1;font-size:10px!important;line-height:1.4!important;padding:0!important;border:0;margin:2px 0 0!important}.move-card:has(.move-preview:not(:empty)) .button{grid-row:3}}
/* Modal windows stay inside the viewport even after a long board has scrolled. */
dialog,dialog.result-dialog{position:fixed;inset:0;margin:auto}

/* ===== 0.3.0: your day, online rivals, collection and the daily challenge ===== */
.streak-chip{display:inline-flex;align-items:center;gap:5px;min-height:40px;padding:7px 11px;border-radius:14px;background:#3b2150;border:1px solid #563f63;font-weight:850;font-size:13px;color:#ffd166;filter:grayscale(.8)}.streak-chip.lit{filter:none;background:#3b2150;border-color:#563f63;color:#ffd166}
.today{margin-top:26px;padding:22px;background:#3b2150;border:1px solid #563f63;border-radius:24px}
.today-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.today-head h2{font-size:24px;letter-spacing:-.7px;margin-top:3px;overflow-wrap:anywhere}
.player-chip{display:flex;align-items:center;gap:10px;background:var(--paper);border:1px solid #563f63;border-radius:16px;padding:8px 14px 8px 8px;text-align:left;min-width:0;max-width:300px;flex-shrink:0}
.level-badge{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--plum);color:#ffdda0;font-weight:900;font-size:17px;flex-shrink:0}
.player-chip-copy{display:flex;flex-direction:column;min-width:0;gap:2px}.player-chip-copy strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-chip-copy small{font-size:10px;color:var(--muted)}
.xp-track{display:block;height:5px;border-radius:5px;background:#3b2150;overflow:hidden;margin-top:3px;width:150px;max-width:100%}.xp-track>span,.xp-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#d4a240,#efc66d);border-radius:5px;transition:width .6s}
.xp-track.big{width:100%;height:8px;margin:6px 0 4px}
.today-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.today-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;padding:15px;border-radius:17px;background:var(--paper);border:1px solid #563f63;min-height:112px;min-width:0;transition:transform .15s,box-shadow .15s}
.today-tile:hover{transform:translateY(-3px);box-shadow:0 6px 18px #2f22301a}
.today-tile strong{font-size:14px;line-height:1.3;overflow-wrap:anywhere}.today-tile small{font-size:11px;line-height:1.45;color:var(--muted);overflow-wrap:anywhere}
.tile-icon{font-size:24px;line-height:1;margin-bottom:5px}
.today-tile.ready{border-color:#563f63;background:#2c1738;box-shadow:0 0 0 3px #12081a55}.today-tile.ready::after{content:'';position:absolute;top:12px;right:12px;width:9px;height:9px;border-radius:50%;background:#e2662f;box-shadow:0 0 0 4px #e2662f2b;animation:pulseDot 1.6s infinite}
.today-tile.alert{border-color:#e9a07a;background:#3b2150}
@keyframes pulseDot{50%{box-shadow:0 0 0 8px #e2662f00}}
.today-lower{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:12px;margin-top:12px}
.daily-missions{background:var(--paper);border:1px solid #563f63;border-radius:17px;padding:14px 16px}.daily-missions h3{font-size:14px}
.daily-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid #563f63}.daily-row>div{flex:1;min-width:0}.daily-row strong{font-size:12px;display:block;line-height:1.4}.daily-row small{font-size:10px;color:var(--muted);white-space:nowrap;font-weight:750}
.daily-check{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;border:2px solid #563f63;font-size:12px;font-weight:900;color:#fff;flex-shrink:0}.daily-row.done .daily-check{background:var(--teal);border-color:var(--teal)}.daily-row.done strong{color:var(--muted);text-decoration:line-through}
.mini-track{display:block;height:4px;background:#3b2150;border-radius:4px;margin-top:5px;overflow:hidden}.mini-track>span{display:block;height:100%;background:var(--teal);border-radius:4px}
.collection-tile{display:flex;align-items:center;gap:12px;text-align:left;background:#2f2240;color:#fff3dc;border-radius:17px;padding:14px 16px;min-width:0}.collection-tile strong{display:block;font-size:14px}.collection-tile small{font-size:11px;color:#e3d2b9}.collection-tile>span:nth-child(2){flex:1;min-width:0}
.collection-stack{display:flex;flex-shrink:0}.collection-stack .card-art{width:46px;height:46px;margin-left:-14px;background-color:#2c173814;border-radius:12px;border:2px solid #563f632e}.collection-stack .card-art:first-child{margin-left:0}
.card-art{display:block;background-size:300% 300%;background-repeat:no-repeat}.card-art.locked{filter:brightness(0) opacity(.25)}.card-art.golden{filter:drop-shadow(0 0 6px #f3c74f) saturate(1.2)}
.next-goal{font-size:11px;line-height:1.5;color:#ffd166;background:#3b2150;border-radius:10px;padding:8px 11px;margin-top:12px}.next-goal:empty{display:none}
.online-panel{margin-top:26px}
.join-form{display:flex;align-items:center;gap:12px;margin-bottom:14px;flex-wrap:wrap}.join-form label{font-size:12px;font-weight:750}.join-form>div{display:flex;gap:8px;flex:1;min-width:220px;max-width:360px}
.join-form input,.player-form input,.player-form select{font:inherit;font-size:15px;border:1px solid #563f63;border-radius:12px;background:#2c1738;padding:12px 13px;min-height:48px;width:100%;min-width:0;color:var(--ink)}.join-form input{text-transform:uppercase;letter-spacing:2px;font-weight:800}
.join-form .button{width:auto;min-height:48px;padding:10px 18px}
.match-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.match-row{display:flex;align-items:center;gap:12px;text-align:left;background:var(--paper);border:1px solid #563f63;border-radius:16px;padding:10px;min-width:0}.match-row.your-turn{border-color:#563f63;background:#2c1738;box-shadow:0 0 0 3px #12081a55}
.match-thumb{width:54px;height:54px;border-radius:12px;background-size:cover;background-position:center;flex-shrink:0}
.match-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.match-copy strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.match-copy small{font-size:11px;color:var(--muted);line-height:1.4;overflow-wrap:anywhere}
.match-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}.match-meta small{font-size:10px;color:var(--muted);white-space:nowrap}
.match-badge{font-size:9px;letter-spacing:.6px;text-transform:uppercase;padding:4px 7px;border-radius:9px;background:#3b2150;color:#cdb9da;white-space:nowrap}.your-turn .match-badge{background:#e2662f;color:#fff}
.empty-note{font-size:12px;line-height:1.6;color:var(--muted);padding:14px;border:1px dashed #563f63;border-radius:14px;grid-column:1/-1}
.quiet-pill.hot{background:#e2662f;color:#fff;border-color:#e2662f}
.mode-option.online-option{grid-column:1/-1}.mode-option.unavailable{opacity:.55;cursor:not-allowed}
.h2h-card{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#2f2240;color:#fff3dc;border-radius:14px;padding:11px 14px;font-size:11px}.h2h-card strong{font-size:18px;font-variant-numeric:tabular-nums}.h2h-card small{color:#e3d2b9}
.mystery-badge{position:absolute;left:9%;top:13%;z-index:4;color:#fff;background:#8a5bb0;border:2px solid #563f63;box-shadow:0 3px 8px #3a1b5555;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;font-weight:900;font-size:17px;pointer-events:none;animation:mysteryBob 2.4s ease-in-out infinite}
@keyframes mysteryBob{50%{transform:translateY(-4px)}}
.tactic-hint.boost{background:#7a3e8ee8;border-color:#563f6355}
.emote-bar{position:relative;z-index:6;display:flex;gap:7px;justify-content:center;flex-wrap:wrap;padding:0 12px 16px}.emote-bar button{background:#2c1738d9;border:1px solid #563f63;border-radius:20px;padding:7px 12px;font-size:12px;font-weight:750;min-height:36px}
.emote-bubble{position:absolute;z-index:9;top:70px;right:16px;max-width:70%;background:#2c1738;color:var(--ink);border-radius:16px 16px 4px 16px;padding:9px 13px;font-size:13px;font-weight:750;box-shadow:0 6px 20px #10202e40;opacity:0;transform:translateY(-8px);transition:opacity .2s,transform .2s;pointer-events:none}.emote-bubble.show{opacity:1;transform:none}.emote-bubble.mine{right:auto;left:16px;border-radius:16px 16px 16px 4px;background:#3b2150}
.answer-timer{font-size:12px;font-weight:800;color:#cdb9da;text-align:right;margin:-12px 0 14px}.answer-timer.urgent{color:#ff9a5a}
.near-miss{font-size:13px;line-height:1.5;color:#ff9a5a;background:#3b2150;border-radius:12px;padding:10px 13px;margin-bottom:14px}
.progress-summary{text-align:left;background:#3b2150;border:1px solid #563f63;border-radius:14px;padding:13px 15px;margin-bottom:20px}.progress-summary:empty{display:none}.progress-summary .next-goal{margin-top:10px;margin-bottom:0}
.xp-line{display:flex;justify-content:space-between;gap:10px;font-size:12px;font-weight:800}.xp-line span:first-child{color:#ffd166}
.level-up{font-weight:850;color:#d8b4fe;font-size:13px;margin-top:8px}
.card-drop{display:flex;align-items:center;gap:12px;margin-top:10px;padding:9px;border-radius:12px;background:#2c1738;border:1px solid #563f63}.card-drop .card-art{width:58px;height:58px;flex-shrink:0}.card-drop strong{display:block;font-size:13px}.card-drop small{font-size:11px;color:var(--muted)}.card-drop.golden{background:#2c1738;border-color:#563f63}
.streak-line{font-size:12px;font-weight:750;margin-top:8px;color:#ffd166}
.player-form{display:grid;gap:8px}.player-form label{font-size:12px;font-weight:800;margin-top:6px}.form-error{color:#ff9a5a;font-size:12px!important;min-height:1em}.form-error:empty{display:none}
.invite-code{font-size:34px;font-weight:900;letter-spacing:7px;text-align:center;padding:16px;margin-top:18px;border-radius:16px;background:#3b2150;color:var(--plum);border:2px dashed #563f63;overflow-wrap:anywhere}
a.button{text-decoration:none}
.challenge-intro{font-size:14px;line-height:1.7;color:var(--muted);margin:-8px 0 22px}
.challenge-dots{display:flex;gap:6px;margin-bottom:18px}.challenge-dots span{flex:1;height:6px;border-radius:6px;background:#3b2150}.challenge-dots .now{background:#d4a240}.challenge-dots .right{background:var(--teal)}.challenge-dots .miss{background:#d07a5c}
.challenge-track{margin:-10px 0 20px}#challengeFill{height:100%;width:100%;background:#ae8730;border-radius:8px}
.challenge-grid{display:flex;gap:8px;margin:4px 0 14px}.challenge-grid span{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;font-weight:900;color:#fff;font-size:18px}.challenge-grid .right{background:var(--teal)}.challenge-grid .miss{background:#d07a5c}
.standing{font-size:14px;font-weight:800;margin:6px 0 10px}
.league-you{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;background:#3b2150;border-radius:12px;padding:11px 13px}
.league-h{font-size:14px;margin:18px 0 6px}
.league-list{list-style:none;padding:0;margin:0}.league-list li{display:flex;align-items:center;gap:10px;padding:9px 4px;border-bottom:1px solid #563f63;font-size:13px}.league-list li>span{width:24px;text-align:center;font-weight:850;color:var(--muted)}.league-list li>strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.league-list li>b{font-variant-numeric:tabular-nums}.league-list li.yours{background:#2c1738;border-radius:9px}.league-list li.empty{color:var(--muted);font-size:12px}.league-list.compact li{padding:6px 4px;font-size:12px}
.reveal-dialog{text-align:center}.reveal-art{display:grid;place-items:center;font-size:54px;margin:0 auto 12px;width:120px;height:120px}.reveal-art .card-art{width:120px;height:120px;animation:revealPop .6s ease-out}.reveal-dialog h2{font-size:26px;letter-spacing:-.6px;margin:6px 0 8px}
.coin-burst{display:grid;place-items:center;width:96px;height:96px;border-radius:50%;background:#e9b94f;border:4px solid #563f63;color:#ffd166;font-size:48px;animation:revealPop .6s ease-out}
@keyframes revealPop{0%{transform:scale(.3) rotate(-12deg);opacity:0}70%{transform:scale(1.12) rotate(3deg);opacity:1}100%{transform:none}}
.collection-city{margin-top:16px}.collection-city h3{font-size:15px}
.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.collection-card{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px;border-radius:14px;background:#2c1738;border:1px solid #563f63;text-align:center;min-width:0}.collection-card .card-art{width:100%;aspect-ratio:1;max-width:120px}.collection-card strong{font-size:12px;overflow-wrap:anywhere}.collection-card small{font-size:10px;color:var(--muted)}
.collection-card.locked .card-art{filter:brightness(0) opacity(.18)}.collection-card.golden{background:#3b2150;border-color:#563f63;box-shadow:0 0 0 2px #12081a88}
.mission-unlocked.daily{background:#3b2150;color:#7dd3fc}
/* Embedded inside a partner game:straight to play. */
body.embed .home-hero,body.embed .game-promise,body.embed .home-footer,body.embed .prototype-tag,body.embed .skip-link{display:none}body.embed .today{margin-top:6px}
@media(max-width:1100px){.today-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.today-lower{grid-template-columns:1fr}}
@media(max-width:820px){.match-list{grid-template-columns:1fr}}
@media(max-width:520px){
 .today{padding:14px;border-radius:20px;margin-top:20px}.today-head{flex-direction:column;align-items:stretch;gap:10px}.today-head h2{font-size:20px}.player-chip{max-width:none}.xp-track{width:100%}
 .today-grid{gap:8px}.today-tile{padding:12px;min-height:104px;border-radius:15px}.today-tile strong{font-size:12px}.today-tile small{font-size:10px}.tile-icon{font-size:20px}
 .streak-chip{padding:6px 8px;font-size:12px;min-height:38px;gap:3px}
 .match-thumb{width:44px;height:44px}.match-copy strong{font-size:13px}
 .invite-code{font-size:26px;letter-spacing:5px}
 .answer-timer{margin:-8px 0 10px}
 .challenge-grid span{width:38px;height:38px}
 .emote-bar{gap:5px;padding:0 8px 12px}.emote-bar button{padding:6px 9px;font-size:11px;min-height:34px}
 .collection-grid{gap:7px}.collection-card{padding:6px}.collection-card strong{font-size:10px}
 .mystery-badge{width:22px;height:22px;font-size:13px;left:6%;top:6%}
 .join-form>div{min-width:0;max-width:none;width:100%}
}
@media(max-width:360px){.streak-chip{display:none}.today-tile{min-height:96px;padding:10px}}
.join-form input::placeholder{text-transform:none;letter-spacing:0;font-weight:500}
.hero-actions{display:flex;align-items:center;gap:18px;margin-top:22px;flex-wrap:wrap}.hero-actions .hero-how{margin-top:0}.hero-play{width:auto;padding:13px 22px;background:#3b2150!important;color:#fdf4e3!important;border-color:#563f63!important;box-shadow:0 4px 0 #b88b34!important}
.stack-empty{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;border:2px dashed #563f6355;font-weight:900;color:#e3d2b9}
.turn-alert{display:flex;align-items:center;gap:12px;width:100%;text-align:left;margin-bottom:14px;padding:13px 16px;border-radius:16px;background:#e2662f;color:#fff;box-shadow:0 6px 18px #e2662f44}.turn-alert>span:nth-child(2){flex:1;min-width:0}.turn-alert strong{display:block;font-size:15px}.turn-alert small{font-size:12px;opacity:.92;overflow-wrap:anywhere}
.turn-alert-dot{width:11px;height:11px;border-radius:50%;background:#2c1738;box-shadow:0 0 0 4px #12081a44;animation:pulseDot 1.6s infinite;flex-shrink:0}
@media(max-width:520px){.hero-actions{margin-top:14px;gap:10px}.hero-play{padding:11px 18px;min-height:44px;font-size:13px}}

/* ===== Look and feel:brighter, rounder, more playful ===== */
:root{--fun:'Baloo 2','Avenir Next','Nunito Sans',system-ui,sans-serif;--pop:#ff6b3d;--pop-deep:#d9480f}
h1,h2,.today-tile strong,.button,.brand,.collection-tile strong,.turn-alert strong,.reveal-dialog h2,.invite-code,.result-score strong,.score-card strong,.level-badge,.streak-chip,.match-copy strong{font-family:var(--fun)}
h1,h2{letter-spacing:-.4px!important}
.today-head h2,.section-heading h2,.departure-card h2{font-weight:800}
/* Big, bouncy call to action */
.button.primary.play-start,#heroPlay{background:linear-gradient(135deg,#c2410c,#be185d)!important;border:0!important;color:#fff!important;box-shadow:0 5px 0 #8a1c3c,0 10px 24px #be185d40!important;font-size:17px;font-weight:800}
.button.primary.play-start:hover:not(:disabled),#heroPlay:hover{filter:brightness(1.06);transform:translateY(-2px)}
.button.primary.play-start:active:not(:disabled){transform:translateY(3px);box-shadow:0 2px 0 #8a1c3c!important}
.play-start{animation:ctaGlow 2.8s ease-in-out infinite}
@keyframes ctaGlow{50%{box-shadow:0 5px 0 #8a1c3c,0 12px 34px #ff4f6d70}}
/* Your day:colourful tiles */
.today{background:radial-gradient(circle at 12% 18%,#3b215033 0 60px,transparent 61px),radial-gradient(circle at 92% 8%,#7ad3c433 0 80px,transparent 81px),radial-gradient(circle at 70% 96%,#ff8fa333 0 70px,transparent 71px),#2c1738;border:2px solid #563f63}
.today-tile{border:0;color:#fff;box-shadow:0 5px 0 #0000002a,0 10px 22px #2a1b3a1f;border-radius:20px}
.today-tile small{color:#fffffff0}
.today-tile:hover{transform:translateY(-4px) rotate(-.6deg)}
.today-tile:active{transform:translateY(2px)}
.today-tile.streak-tile{background:linear-gradient(140deg,#c2410c,#be123c)}
.today-tile.chest-tile{background:linear-gradient(140deg,#7e22ce,#a21caf)}
.today-tile.challenge-tile{background:linear-gradient(140deg,#0f766e,#047857)}
.today-tile.league-tile{background:linear-gradient(140deg,#1d4ed8,#4338ca)}
.tile-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#2c17382e;font-size:25px;margin-bottom:8px}
.today-tile.ready{box-shadow:0 5px 0 #0000002a,0 0 0 3px #12081a,0 10px 26px #12081a55;background-blend-mode:normal}
.today-tile.ready .tile-icon{animation:wiggle 2.2s ease-in-out infinite}
.today-tile.ready::after{background:#3b2150;box-shadow:0 0 0 4px #12081a55}
.today-tile.alert{box-shadow:0 5px 0 #0000002a,0 0 0 3px #12081a}
@keyframes wiggle{0%,70%,100%{transform:rotate(0)}75%{transform:rotate(-12deg) scale(1.08)}85%{transform:rotate(10deg) scale(1.08)}92%{transform:rotate(-4deg)}}
.player-chip{border:2px solid #563f63;box-shadow:0 3px 0 #12081a}
.level-badge{background:linear-gradient(140deg,#c2410c,#be185d);color:#fff;box-shadow:0 3px 0 #8a1c3c}
.xp-track>span,.xp-track span{background:linear-gradient(90deg,#ff8a3d,#3b2150)}
.daily-missions{border:2px solid #563f63;border-radius:20px}
.daily-row.done .daily-check{background:#16a34a;border-color:#16a34a;animation:pop .4s ease-out}
.mini-track>span{background:linear-gradient(90deg,#16a34a,#4ade80)}
.collection-tile{background:linear-gradient(140deg,#2f2240,#5b2a7a);border-radius:20px;box-shadow:0 5px 0 #1c1226,0 10px 22px #2a1b3a33}
@keyframes pop{0%{transform:scale(.4)}70%{transform:scale(1.2)}100%{transform:none}}
.streak-chip.lit{background:linear-gradient(140deg,#c2410c,#be185d);color:#fff;border-color:transparent;box-shadow:0 3px 0 #8a1c3c}
.streak-chip.lit span:first-child{animation:flicker 1.8s ease-in-out infinite;display:inline-block}
@keyframes flicker{50%{transform:scale(1.15) rotate(-6deg)}}
/* Mode cards */
.mode-option{border:2px solid #563f63;border-radius:16px;transition:transform .15s,border-color .15s}
.mode-option:hover{transform:translateY(-2px)}
.mode-option:has(input:checked){border-color:#ff6b3d;background:#3b2150;box-shadow:0 3px 0 #12081a}
.mode-option>span[data-icon]{color:#ff9a5a}
.online-option>span[data-icon]{color:#a78bfa}
.departure-card{background:#2c1738;border:2px solid #563f63}
/* Online list */
.match-row{border:2px solid #563f63;border-radius:18px;transition:transform .15s}.match-row:hover{transform:translateY(-2px)}
.match-row.your-turn{border-color:#ff8a3d;background:#3b2150;box-shadow:0 4px 0 #12081a}
.your-turn .match-badge{background:linear-gradient(140deg,#c2410c,#be185d);animation:pop .5s ease-out}
.turn-alert{background:linear-gradient(135deg,#c2410c,#be185d);box-shadow:0 5px 0 #8a1c3c,0 10px 24px #ff4f6d44;border-radius:18px}
.turn-alert strong{font-size:17px}
/* Results and rewards */
.level-up{display:inline-block;background:linear-gradient(140deg,#7e22ce,#a21caf);color:#fff;border-radius:12px;padding:6px 12px;animation:pop .6s ease-out}
.card-drop{animation:pop .6s ease-out .2s both}
.card-drop.golden{background:linear-gradient(120deg,#2c1738,#3b2150,#2c1738);background-size:200% 100%;animation:pop .6s ease-out .2s both,shine 2.4s linear infinite}
@keyframes shine{to{background-position:-200% 0}}
.near-miss{border:2px dashed #563f63}
.invite-code{background:#3b2150;border-color:#ff8a3d;color:#ff9a5a}
.emote-bar button{border:2px solid #563f63;font-family:var(--fun);font-weight:700}.emote-bar button:active{transform:scale(.92)}
.emote-bubble{font-family:var(--fun);font-size:15px;animation:none}.emote-bubble.show{animation:pop .4s ease-out}
.challenge-dots .now{background:#ff8a3d}
.reduce-motion *,.reduce-motion *::after{animation:none!important}
@media(prefers-reduced-motion:reduce){.play-start,.today-tile.ready .tile-icon,.streak-chip.lit span:first-child,.mystery-badge,.card-drop.golden{animation:none}}
/* Keep messages clear of the mobile move dock */
@media(max-width:520px){body:has(#match:not([hidden])) .toast{bottom:150px}.tile-icon{width:38px;height:38px;font-size:21px;margin-bottom:6px}.today-tile{border-radius:18px}.button.primary.play-start{font-size:16px}}

@media(max-width:520px){.hero-location{display:none}}
.today-tile strong{font-size:17px;line-height:1.15;font-weight:700}
@media(max-width:520px){.today-tile strong{font-size:15px}}
.home-footer{color:#cdb9da;font-size:11px}
@media(max-width:820px){.home-footer{font-size:11px}}
.level-up{display:block;text-align:center;font-size:13px;max-width:100%}

/* ===== 0.4.0: groups of up to four, the cast, pickups, Blitz and the online lobby ===== */
/* Seat colours:teal, coral, violet, blue. White text on each passes WCAG AA. */
:root{--seat0:#086e70;--seat1:#a9473d;--seat2:#6d3fb0;--seat3:#1d5fc4}
.theme-royal{--seat0:#60417d}
.score-card.seat-0{background:var(--seat0)}.score-card.seat-1{background:var(--seat1)}.score-card.seat-2{background:var(--seat2)}.score-card.seat-3{background:var(--seat3)}
.score-card.out{opacity:.55}
.scoreboard[data-count="3"],.scoreboard[data-count="4"]{grid-template-columns:1fr 1fr}
.scoreboard[data-count="3"] .score-card:last-child{grid-column:1/-1}
.score-card .avatar .avatar-svg{width:34px;height:34px}
.seat-initial,.seat-symbol{font-family:var(--fun);font-weight:800;font-size:20px}
.district[data-owner="2"] .platform-top{fill:#7c4dbd;stroke:#e2cffb}.district[data-owner="2"] .platform-depth{fill:#4b2a7f}
.district[data-owner="3"] .platform-top{fill:#2f6fd6;stroke:#cfe0ff}.district[data-owner="3"] .platform-depth{fill:#1d4590}
.district[data-owner="2"] .district-caption,.district[data-owner="3"] .district-caption{color:#fffef4;text-shadow:0 1px 3px #19363390}
.connections line.route{stroke-dasharray:none;stroke-width:7}
.connections line.route-0{stroke:#a9ffed;stroke-width:8;filter:drop-shadow(0 0 5px #9ee7da)}
.connections line.route-1{stroke:#ffb599;filter:drop-shadow(0 0 4px #cc7866)}
.connections line.route-2{stroke:#dcc6ff;filter:drop-shadow(0 0 4px #9c7ad6)}
.connections line.route-3{stroke:#b9d3ff;filter:drop-shadow(0 0 4px #6d98e0)}
.theme-royal .connections line.route-0{stroke:#ffe2a3}
.legend-symbol.seat-0{color:#b7f4dd}.legend-symbol.seat-1{color:#ffc1a9}.legend-symbol.seat-2{color:#e0ccff}.legend-symbol.seat-3{color:#c2d8ff}
.result-scores[data-count="3"],.result-scores[data-count="4"]{grid-template-columns:1fr 1fr}
.result-score.seat-0{background:#3b2150;color:#7dd3fc}.result-score.seat-1{background:#3b2150;color:#ff9a5a}.result-score.seat-2{background:#3b2150;color:#d8b4fe}.result-score.seat-3{background:#3b2150;color:#a78bfa}
.result-score.seat-0:nth-child(2){background:#3b2150;color:#7dd3fc}.result-score.seat-1:nth-child(2){background:#3b2150;color:#ff9a5a}.result-score.seat-2:nth-child(2){background:#3b2150;color:#d8b4fe}.result-score.seat-3:nth-child(2){background:#3b2150;color:#a78bfa}
/* Board pickups */
.pickup-badge{position:absolute;z-index:5;right:6%;bottom:30%;font-family:var(--fun);font-weight:800;font-size:13px;line-height:1;padding:5px 8px;border-radius:20px;color:#ffd166;background:linear-gradient(140deg,#3b2150,#f7b733);border:2px solid #563f63;box-shadow:0 3px 8px #4a330c55;pointer-events:none;animation:pickupBob 1.8s ease-in-out infinite}
.pickup-badge.energy{color:#fff;background:linear-gradient(140deg,#0f766e,#0e7490);border-color:#563f63}
@keyframes pickupBob{50%{transform:translateY(-5px) rotate(-4deg)}}
.fly-coin{position:fixed;z-index:200;pointer-events:none;color:#f2b632;font-size:24px;text-shadow:0 2px 0 #9a6b0e;animation:flyCoin 1s cubic-bezier(.5,-.3,.7,1) forwards}
@keyframes flyCoin{0%{transform:translate(0,0) scale(.6);opacity:0}15%{opacity:1;transform:translate(0,-30px) scale(1.2)}100%{transform:translate(var(--tx),var(--ty)) scale(.6);opacity:.3}}
/* Host characters */
.avatar-svg{display:block;width:100%;height:100%;overflow:visible}
.avatar-svg.mini{width:32px;height:32px}
.host-box{display:flex;align-items:center;gap:12px;margin:-6px 0 16px}
.host-avatar{width:78px;height:78px;flex-shrink:0}
.host-box.compact .avatar-svg{width:56px;height:56px;flex-shrink:0}
.host-box.intro .avatar-svg{width:92px;height:92px;flex-shrink:0}
.host-bubble{position:relative;flex:1;min-width:0;background:#2c1738;border:2px solid #563f63;border-radius:18px;padding:10px 14px;box-shadow:0 3px 0 #12081a}
.host-bubble::before{content:'';position:absolute;left:-9px;top:50%;width:14px;height:14px;background:#2c1738;border-left:2px solid #563f63;border-bottom:2px solid #563f63;transform:translateY(-50%) rotate(45deg)}
.host-bubble strong{display:block;font-family:var(--fun);font-size:14px;color:#ff7ab6}
.host-bubble span{display:block;font-size:14px;line-height:1.45;color:var(--ink)}
.host-box.bounce .avatar-svg{animation:hostBounce .55s ease-out}
.host-happy .avatar-body{animation:hostJoy .7s ease-out}
.host-sad .avatar-body{animation:hostWobble .6s ease-out}
.host-think .avatar-body{animation:hostIdle 3s ease-in-out infinite;transform-origin:60px 110px}
@keyframes hostBounce{0%{transform:scale(.7)}60%{transform:scale(1.1)}100%{transform:none}}
@keyframes hostJoy{0%,100%{transform:none}30%{transform:translateY(-12px) rotate(-5deg)}60%{transform:translateY(0) rotate(4deg)}}
@keyframes hostWobble{0%,100%{transform:none}25%{transform:rotate(-7deg)}75%{transform:rotate(6deg)}}
@keyframes hostIdle{50%{transform:rotate(-3deg) translateY(-2px)}}
.golden-flag{display:inline-block;margin:-4px 0 12px;padding:6px 12px;border-radius:20px;font-family:var(--fun);font-weight:800;font-size:13px;color:#ffd166;background:linear-gradient(120deg,#3b2150,#f6b93b,#3b2150);background-size:200% 100%;animation:shine 2.4s linear infinite}
.question-dialog.golden{border:3px solid #563f63;box-shadow:0 0 0 6px #12081a66,0 30px 100px #160c283b}
.answers.two{grid-template-columns:1fr 1fr}.answers.two .answer{min-height:76px;font-size:17px;justify-content:center}
/* Setup: rivals and group size */
.setup-block{margin:4px 0 14px}.setup-label{font-size:12px;font-weight:800;margin-bottom:8px!important;color:#fdf4e3}
.rival-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.rival-chip{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px;border-radius:16px;background:#2c1738;border:2px solid #563f63;min-width:0;transition:transform .15s}
.rival-chip .avatar-svg{width:52px;height:52px}
.rival-chip strong{display:block;font-family:var(--fun);font-size:13px;line-height:1.1;text-align:center}
.rival-chip small{display:block;font-size:10px;color:var(--muted);text-align:center}
.rival-chip.on{border-color:#c2410c;background:#3b2150;box-shadow:0 3px 0 #12081a}.rival-chip:hover{transform:translateY(-2px)}
.size-chips{display:flex;gap:6px;flex-wrap:wrap}
.size-chips button{flex:1;min-height:40px;border-radius:12px;background:#2c1738;border:2px solid #563f63;font-weight:800;font-size:12px;padding:6px 8px;min-width:0}
.size-chips button.on{border-color:#c2410c;background:#3b2150;color:#ff9a5a}
.invite-start{margin-top:10px}
/* Today: Blitz */
.today-side{display:grid;gap:12px;align-content:start}
.blitz-tile{display:flex;align-items:center;gap:12px;text-align:left;border-radius:20px;padding:12px 16px;color:#fff;background:linear-gradient(140deg,#be123c,#7e22ce);box-shadow:0 5px 0 #6b1031,0 10px 22px #7e22ce33;min-width:0}
.blitz-tile strong{display:block;font-family:var(--fun);font-size:18px;line-height:1.1}
.blitz-tile small{color:#ffffffe6}
.blitz-tile>span:nth-child(2){flex:1;min-width:0}
.blitz-host{width:52px;height:52px;flex-shrink:0;background:#2c173826;border-radius:16px;padding:3px}
.blitz-tile:hover{transform:translateY(-3px)}
.blitz-hud{display:flex;align-items:center;gap:14px;margin-bottom:8px}
.blitz-time{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#2f2240;color:#fff;font-family:var(--fun);font-weight:800;font-size:24px}
.blitz-time.urgent{background:#be123c;animation:pulseDot 1s infinite}
.blitz-score small{display:block;font-size:10px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}.blitz-score strong{font-family:var(--fun);font-size:30px;line-height:1}
.blitz-streak{margin-left:auto;font-weight:800;font-size:13px;color:#ff9a5a}
.blitz-track{margin:0 0 16px}#blitzFill{height:100%;width:100%;background:linear-gradient(90deg,#be123c,#f59e0b);border-radius:8px}
.blitz-dialog h2{font-size:22px;margin-bottom:16px}
.blitz-rules{list-style:none;padding:0;margin:0 0 20px;display:grid;gap:8px;font-size:14px}
.blitz-final{font-size:44px!important;text-align:center;margin:6px 0!important}
.blitz-summary{text-align:center;font-size:13px;color:var(--muted);margin-bottom:6px}
/* Search and people */
.search-orbit{width:120px;height:120px;margin:0 auto 10px;border-radius:50%;background:radial-gradient(circle,#3b2150 55%,transparent 56%),conic-gradient(#38bdf8,#a78bfa,#f472b6,#38bdf8);animation:spin 3s linear infinite;display:grid;place-items:center}
.search-orbit>span{width:96px;height:96px;animation:spin 3s linear infinite reverse}
@keyframes spin{to{transform:rotate(360deg)}}
.online-people{margin-top:18px;background:var(--paper);border:2px solid #563f63;border-radius:20px;padding:14px 16px}
.online-people h3{font-size:15px}
.small-link{min-height:32px;padding:4px 6px;font-size:12px;color:#ff9a5a}
.people-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.person{display:flex;align-items:center;gap:10px;text-align:left;padding:9px 10px;border-radius:14px;background:#2c1738;border:2px solid #563f63;min-width:0}
.person:hover{border-color:#c2410c}
.person-initial{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(140deg,#1d4ed8,#6d28d9);color:#fff;font-family:var(--fun);font-weight:800;font-size:18px;flex-shrink:0}
.person-copy{flex:1;min-width:0}.person-copy strong{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person-copy small{display:block;font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.person-go{font-size:11px;font-weight:800;color:#ff9a5a;flex-shrink:0}
.h2h-line{font-weight:800;font-size:13px!important;color:#d8b4fe!important}
.person-tools{display:flex;justify-content:center;gap:18px}.person-tools .text-button{font-size:12px;color:#cdb9da}
.city-chips button{flex:1}
/* Match list rows with actions */
.match-row{padding:0;display:block}
.match-open{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:none;padding:10px;min-width:0;border-radius:16px}
.match-open:disabled{opacity:1;cursor:default}
.row-actions{display:flex;gap:8px;padding:0 10px 10px}.button.mini{min-height:40px;padding:8px 12px;font-size:13px;width:auto;flex:1}
/* Groups on phones */
@media(max-width:520px){
 .host-avatar{width:60px;height:60px}.host-box{gap:10px;margin:-10px 0 12px}.host-bubble{padding:8px 11px}.host-bubble span{font-size:13px}
 .host-box.intro .avatar-svg{width:72px;height:72px}.host-box.compact .avatar-svg{width:48px;height:48px}
 .rival-chip .avatar-svg{width:44px;height:44px}.rival-chip strong{font-size:12px}
 .people-list{grid-template-columns:1fr}
 .pickup-badge{font-size:10px;padding:3px 6px;bottom:34%;right:2%}
 .answers.two .answer{min-height:64px;font-size:15px}
 .blitz-tile strong{font-size:16px}.blitz-host{width:44px;height:44px}
 .blitz-dialog h2{font-size:19px}
}
@media(prefers-reduced-motion:reduce){.pickup-badge,.search-orbit,.search-orbit>span,.host-think .avatar-body{animation:none}}
@media(max-width:520px){.pickup-badge{bottom:auto;top:30%;right:0}}
.bonus-wrap p{color:#cdb9da;font-size:11px}

/* ===== 0.5.0: new logo ===== */
.brand{gap:10px;align-items:center}
.logo-mark{width:46px;height:46px;flex-shrink:0;filter:drop-shadow(0 4px 6px #6d28d933);transition:transform .25s}
.brand:hover .logo-mark{transform:rotate(-8deg) scale(1.06)}
.logo-words{display:flex;flex-direction:column;line-height:1}
.logo-otiya{font-family:var(--fun);font-weight:700;font-size:14px;letter-spacing:.5px;color:#cdb9da;margin-bottom:-2px}
.logo-arena{font-family:var(--fun);font-weight:800;font-size:27px;letter-spacing:1px;background:linear-gradient(100deg,#c2410c,#be185d 55%,#6d28d9);-webkit-background-clip:text;background-clip:text;color:transparent}
@media(max-width:520px){.logo-mark{width:38px;height:38px}.logo-otiya{font-size:12px}.logo-arena{font-size:22px}}
@media(max-width:360px){.logo-mark{width:34px;height:34px}.logo-arena{font-size:19px;letter-spacing:.5px}.logo-otiya{font-size:11px}}

/* ===== 0.5.0: avatars, profile, badges, crews, live ===== */
.player-avatar{display:block;width:100%;height:100%;border-radius:50%;overflow:visible}
.player-avatar.mini{width:34px;height:34px}
.chip-avatar{position:relative;width:46px;height:46px;flex-shrink:0}
.chip-avatar>span:first-child{display:block;width:46px;height:46px}
.chip-avatar .level-badge{position:absolute;right:-6px;bottom:-4px;width:22px;height:22px;font-size:11px;border-radius:8px;border:2px solid #563f63}
.online-count{display:inline-flex;align-items:center;gap:8px;margin-bottom:12px;padding:6px 12px;border-radius:20px;background:#0f2a33cc;color:#e9fff8;font-size:12px;font-weight:800}
.live-dot{width:9px;height:9px;border-radius:50%;background:#34d399;box-shadow:0 0 0 4px #12081a40;animation:pulseDot 1.8s infinite}
.profile-dialog{max-width:560px}
.profile-top{display:flex;align-items:center;gap:14px;min-width:0}
.profile-avatar{width:92px;height:92px;flex-shrink:0;padding:0;border-radius:50%;background:none;box-shadow:0 6px 0 #12081a;transition:transform .2s}
.profile-avatar:hover{transform:rotate(-4deg) scale(1.04)}
.profile-city{font-size:13px!important;margin-top:2px!important}
.profile-xp small{display:block;font-size:11px;color:var(--muted);margin-top:4px}
.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:16px}
.stat-grid>div{background:#2c1738;border:2px solid #563f63;border-radius:14px;padding:10px;text-align:center}
.stat-grid strong{display:block;font-family:var(--fun);font-size:22px;line-height:1.1}
.stat-grid small{font-size:11px;color:var(--muted)}
.badge-count{font-size:12px;color:var(--muted);font-weight:700}
.badge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.badge{display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;padding:10px 6px;border-radius:14px;background:#3b2150;border:2px dashed #563f63;min-width:0}
.badge>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#3b2150;font-size:20px;color:#cdb9da;font-weight:900}
.badge strong{font-size:11px;line-height:1.25}.badge small{font-size:10px;color:var(--muted);line-height:1.3}
.badge.got{background:#2c1738;border:2px solid #563f63}.badge.got>span{background:linear-gradient(140deg,#3b2150,#f59e0b)}
.avatar-dialog{max-width:560px}
.avatar-stage{display:flex;flex-direction:column;align-items:center;gap:4px;margin-bottom:12px}
.avatar-preview{width:140px;height:140px;filter:drop-shadow(0 8px 0 #e9d6b6)}
.avatar-preview .player-avatar{animation:hostJoy .7s ease-out}
.avatar-tabs{display:flex;gap:6px;margin-bottom:12px;overflow-x:auto}
.avatar-tabs button{flex:1;min-height:40px;padding:6px 10px;border-radius:12px;background:#3b2150;font-weight:800;font-size:12px;white-space:nowrap;border:2px solid transparent}
.avatar-tabs button[aria-selected="true"]{background:#3b2150;border-color:#c2410c;color:#ff9a5a}
.avatar-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;max-height:280px;overflow-y:auto;padding:2px}
.avatar-option{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px;border-radius:14px;background:#2c1738;border:2px solid #563f63;min-width:0;min-height:60px}
.avatar-option .player-avatar{width:48px;height:48px}
.avatar-option small{font-size:10px;font-weight:700;color:#cdb9da;text-align:center;line-height:1.2}
.avatar-option.on{border-color:#c2410c;box-shadow:0 3px 0 #12081a;background:#3b2150}
.avatar-option.locked{background:#3b2150}.avatar-option.locked .player-avatar,.avatar-option.locked .swatch{filter:grayscale(1) opacity(.45)}
.swatch{display:block;width:44px;height:44px;border-radius:50%;border:3px solid #563f63;box-shadow:0 0 0 1px #12081a}
.lock{position:absolute;top:4px;right:4px;font-size:10px;font-weight:800;background:#2f2240;color:#fff;border-radius:8px;padding:2px 5px}
.celebrate-dialog{position:fixed;overflow:hidden;text-align:center}
.celebrate-art{display:grid;place-items:center;margin:4px auto 10px}
.celebrate-badge{display:grid;place-items:center;width:110px;height:110px;border-radius:50%;font-size:54px;background:radial-gradient(circle,#2c1738,#3b2150 60%,#f59e0b);box-shadow:0 0 0 8px #12081a66;animation:revealPop .7s ease-out}
.celebrate-avatar{position:relative;display:block;width:120px;height:120px;animation:revealPop .7s ease-out}
.celebrate-avatar b{position:absolute;right:-6px;bottom:-4px;display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(140deg,#c2410c,#be185d);color:#fff;font-family:var(--fun);font-size:20px;border:3px solid #563f63}
.crew-card{margin-bottom:12px;padding:14px;border-radius:18px;background:#2c1738;border:2px solid #563f63}
.crew-card>p{font-size:13px!important;margin-bottom:10px!important}
.crew-card.mine{border-color:var(--crew);box-shadow:0 4px 0 color-mix(in srgb,var(--crew) 35%,transparent)}
.crew-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.crew-head h3{font-family:var(--fun);font-size:22px}.crew-head small{font-size:12px;color:var(--muted)}
.crew-members{display:grid;gap:6px;margin:12px 0 4px}
.crew-members>div{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:12px;background:#2c1738}
.crew-members>div.you{background:#3b2150}
.crew-members strong{flex:1;min-width:0;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.crew-members b{font-variant-numeric:tabular-nums}
.crew-form{margin-bottom:8px}.crew-form>div{max-width:none}
.crew-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px;vertical-align:middle}
.person-face{display:block;width:38px;height:38px;flex-shrink:0}
.person-big{display:inline-block;width:48px;height:48px;vertical-align:middle;margin-right:10px}
#personName{display:flex;align-items:center}
.match-thumb{position:relative}
.thumb-face{position:absolute;right:-6px;bottom:-6px;width:28px;height:28px;border-radius:50%;box-shadow:0 0 0 2px #12081a}
.result-face{display:block;width:40px;height:40px;margin:0 auto 4px}.result-face .avatar-svg,.result-face .player-avatar{width:40px;height:40px}.result-face .seat-symbol{display:grid;place-items:center;height:40px}
.badge-line{color:#ffd166}
.score-card .avatar .player-avatar{width:34px;height:34px}
@media(max-width:520px){
 .chip-avatar,.chip-avatar>span:first-child{width:40px;height:40px}
 .profile-avatar{width:72px;height:72px}
 .badge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .avatar-options{grid-template-columns:repeat(4,minmax(0,1fr))}
 .avatar-preview{width:116px;height:116px}
 .stat-grid strong{font-size:19px}
}
@media(prefers-reduced-motion:reduce){.live-dot,.avatar-preview .player-avatar,.celebrate-badge,.celebrate-avatar{animation:none}}

/* ===== 0.6.0: Big city boards ===== */
.board[data-size="4"]{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:150px;column-gap:4px}
.board[data-size="4"] .district-caption strong{font-size:11px}
.board[data-size="4"] .district-caption small{font-size:9px}
.board[data-size="4"] .landmark-beacon{font-size:12px;padding:2px 7px;top:-14px}
.board-chips button{font-size:11px}
@media(max-width:820px){.board[data-size="4"]{grid-auto-rows:132px}}
@media(max-width:520px){
 .board[data-size="4"]{grid-auto-rows:78px;column-gap:2px}
 .board[data-size="4"] .district-caption strong{font-size:7.5px;letter-spacing:-.1px}
 .board[data-size="4"] .district-caption small{font-size:7px}
 .board[data-size="4"] .district-art{top:-18%;left:14%;width:72%}
 .board[data-size="4"] .landmark-beacon{font-size:8px;padding:1px 4px;top:-10px;left:26%}
 .board[data-size="4"] .shield-badge{font-size:13px;min-width:17px;padding:0 2px}
 .board[data-size="4"] .mystery-badge{width:17px;height:17px;font-size:10px}
 .board[data-size="4"] .pickup-badge{font-size:8px;padding:2px 4px}
}
@media(max-width:360px){.board[data-size="4"]{grid-auto-rows:72px}.board[data-size="4"] .district-caption strong{font-size:7px}}

/* ===== 0.6.0: phone tabs, tour, less clutter ===== */
.tab-bar{display:none}
@media(max-width:820px){
 body[data-tab="play"] #home [data-tab]:not([data-tab="play"]),body[data-tab="today"] #home [data-tab]:not([data-tab="today"]),body[data-tab="online"] #home [data-tab]:not([data-tab="online"]){display:none}
 body[data-tab="today"] #home .today,body[data-tab="online"] #home .online-panel{margin-top:6px}
 body:has(#home:not([hidden])) .tab-bar{display:flex;position:fixed;z-index:30;left:0;right:0;bottom:0;padding:6px 8px max(8px,env(safe-area-inset-bottom));background:#2c1738f2;backdrop-filter:blur(14px);border-top:1px solid #563f63;box-shadow:0 -6px 24px #2a1b3a18;justify-content:space-around}
 body:has(#home:not([hidden])) main{padding-bottom:96px}
 .tab-bar button{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;background:none;padding:6px 4px;border-radius:14px;font-size:11px;font-weight:800;color:#cdb9da;min-height:52px}
 .tab-bar button[aria-current]{color:#ff9a5a;background:#3b2150}
 .tab-ic{font-size:21px;line-height:1;display:grid;place-items:center;width:28px;height:28px}
 .tab-me .player-avatar{width:28px;height:28px}
 .tab-dot{position:absolute;top:6px;right:calc(50% - 20px);width:9px;height:9px;border-radius:50%;background:#e2662f;box-shadow:0 0 0 2px #12081a}
 .tab-count{position:absolute;top:2px;right:calc(50% - 24px);min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#be185d;color:#fff;font-size:11px;font-style:normal;font-weight:800;display:grid;place-items:center;box-shadow:0 0 0 2px #12081a}
 body:has(#home:not([hidden])) .toast{bottom:96px}
 #turnAlert{margin-top:4px}
}
@media(max-width:520px){.strategy-note{display:none}.match-sidebar .event-card{padding:12px}}
.tutorial-dialog{text-align:center}
.tutorial-dialog .host-box{text-align:left}
.tour-art{margin:6px auto 12px;display:grid;place-items:center}
.tour-tiles{display:grid;grid-template-columns:repeat(3,44px);gap:6px}
.tour-tiles i{display:grid;place-items:center;height:40px;border-radius:12px;background:#3b2150;font-style:normal;font-weight:900;color:#cdb9da}
.tour-tiles .t-own{background:var(--seat0);color:#fff}.tour-tiles .t-rival{background:var(--seat1);color:#fff}.tour-tiles .t-land{background:#3b2150;color:#ffd166}
.tour-tiles .t-glow{background:#2c1738;box-shadow:0 0 0 3px #12081a;animation:pulseDot 1.6s infinite}
.tour-moves{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.tour-moves span{display:grid;place-items:center;gap:2px;width:92px;padding:10px 4px;border-radius:14px;background:#2c1738;border:2px solid #563f63;font-size:24px;font-weight:900;color:#ff7ab6}
.tour-moves small{font-size:11px;font-weight:800;color:#cdb9da}
.tutorial-dialog h2{font-family:var(--fun);font-size:26px;margin:4px 0 6px}
.tutorial-dialog p{font-size:15px;line-height:1.55}
.tutorial-dots{display:flex;gap:6px;justify-content:center;margin-top:14px}.tutorial-dots span{width:8px;height:8px;border-radius:50%;background:#3b2150}.tutorial-dots span.on{width:22px;border-radius:6px;background:#c2410c}

/* ---------- 0.6 alerts, install and feedback ---------- */
.alerts-nudge{display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#2c1738,#3b2150);border:1px solid #563f63;border-radius:16px;padding:12px 10px 12px 14px;margin:0 0 14px}
.alerts-nudge>span:nth-child(2){flex:1;min-width:0}.alerts-nudge strong{display:block;font-size:14px}.alerts-nudge small{display:block;font-size:12px;color:var(--muted);line-height:1.45;margin-top:2px}
.nudge-bell{font-size:24px;animation:bellRing 2.4s ease-in-out infinite;transform-origin:50% 10%}
@keyframes bellRing{0%,70%,100%{transform:none}75%{transform:rotate(14deg)}85%{transform:rotate(-12deg)}92%{transform:rotate(6deg)}}
.reduce-motion .nudge-bell{animation:none}
.alerts-nudge .button.mini{flex:0 0 auto}
.mini-close{min-width:36px;min-height:36px;padding:6px;flex-shrink:0}
.install-row{padding:18px 0;border-bottom:1px solid var(--line);display:grid;gap:8px}
.install-row .fine-print{margin:0}
.feedback-card{margin:14px 0 4px;padding:16px;border-radius:18px;background:#3b2150;border:1px solid #563f63;text-align:left}
.feedback-q strong{display:block;font-size:15px}.feedback-q small{display:block;font-size:12px;color:var(--muted);margin-top:3px;line-height:1.45}
.feedback-faces{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:12px}
.feedback-faces button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 2px;border-radius:12px;background:#2c1738;border:2px solid transparent;min-height:64px;transition:transform .15s}
.feedback-faces button span{font-size:26px;line-height:1}
.feedback-faces button small{font-size:10px;font-weight:700;color:#cdb9da;line-height:1.2;text-align:center}
.feedback-faces button:hover{transform:translateY(-2px)}
.feedback-faces button[aria-checked="true"]{border-color:#6d28d9;background:#3b2150}
.feedback-more{display:grid;gap:8px;margin-top:12px}
.feedback-more label{font-size:13px;font-weight:700}.feedback-more label small{font-weight:400;color:var(--muted)}
.feedback-more textarea{font:inherit;font-size:14px;padding:10px 12px;border:1px solid #563f63;border-radius:12px;resize:vertical;min-height:52px;background:#2c1738;color:var(--ink)}
.feedback-more .button.mini{justify-self:end;flex:0 0 auto;min-width:110px}
.feedback-thanks{display:flex;align-items:center;gap:10px;font-size:14px}
.feedback-thanks .mini{width:40px;height:40px;flex-shrink:0}
@media (max-width:520px){.feedback-faces button small{font-size:9px}.feedback-faces button span{font-size:23px}.alerts-nudge{flex-wrap:wrap}.alerts-nudge>span:nth-child(2){flex-basis:calc(100% - 90px)}.alerts-nudge .button.mini{flex:1;margin-left:36px}}

/* ---------- 0.6 short phones (iPhone SE and similar): keep every answer on screen ---------- */
@media (max-width:520px) and (max-height:700px){
  .question-dialog{padding:16px 18px}
  .question-dialog .host-box{margin-bottom:6px;gap:8px}
  .question-dialog .host-box{margin:-6px 0 6px}
  .question-dialog .host-box .avatar-svg{width:40px!important;height:40px!important}
  .question-dialog .host-bubble{padding:6px 10px!important;font-size:12px!important;line-height:1.35}
  .question-dialog .host-bubble strong{font-size:11px!important}
  .question-dialog .host-bubble span{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
  .golden-flag{margin:0 0 6px;padding:4px 10px;font-size:12px}
  .question-top .question-target{font-size:11px}
  .question-top{margin-bottom:8px}
  .bonus-wrap{padding:8px 12px;margin-bottom:10px}
  .bonus-wrap p{display:none}
  .question-dialog h2{font-size:20px;line-height:1.25}
  .answers{gap:7px;margin-top:12px}
  .answer{min-height:46px;padding:8px 12px}
  .question-dialog .answer-letter{width:24px;height:24px}
  .question-foot{display:none}
}
