@font-face{font-family:DM Sans;font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/dm-sans.woff2) format("woff2")}@font-face{font-family:"DM Serif Display";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/dm-serif-display.woff2) format("woff2")}:root{font-family:DM Sans,Arial,sans-serif;font-synthesis:none;font-weight:500;color-scheme:dark;color:#edf4ff;background:#080d18;--ink:#edf4ff;--muted:#a0adc2;--orange:#ffb85c;--line:#273248;--paper:#101827;--lime:#64e6d0;--cyan:#64e6d0;--sidebar:240px;--header:56px;--sidebar-width:var(--sidebar);--header-height:var(--header)}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}body{min-width:320px}#app{height:100dvh;display:flex;flex-direction:column}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0}button:disabled{cursor:default}button:focus-visible,a:focus-visible,canvas:focus-visible,input:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}button:disabled:focus-visible{outline:none}[hidden]{display:none!important}svg{display:block}button svg{width:20px;height:20px;flex-shrink:0}a{color:inherit;text-decoration:none}::selection{background:#64e6d04d;color:#fff}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background:#39485f;border-radius:6px}::-webkit-scrollbar-track{background:transparent}.site-header{height:var(--header);min-height:var(--header);display:flex;align-items:center;gap:25px;padding:0 20px;border-bottom:1px solid #263148;background:#0a101df5;position:relative;z-index:20}.brand{display:flex;align-items:center;gap:8px;flex-shrink:0}.brand-bird{width:32px;height:32px}.brand>span{font-size:21px;font-weight:800;letter-spacing:-1px;white-space:nowrap}.brand-ai{color:var(--cyan);margin-left:5px}.brand-dot{font-size:9px;position:relative;top:-9px;left:3px;color:var(--orange);letter-spacing:0}.header-tagline{color:#97a6bf;font-size:8px;font-weight:750;letter-spacing:1.65px;white-space:nowrap}.site-header nav{display:flex;align-items:center;gap:18px;margin-left:auto}.text-button,.outline-button{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;font-weight:750;background:transparent;white-space:nowrap}.text-button{padding:9px 0;color:#c0ccdf}.text-button:hover{color:var(--cyan)}.help-circle{border:1px solid #8190aa;border-radius:50%;width:15px;height:15px;display:grid;place-items:center;font-size:10px;font-weight:750}.outline-button{padding:9px 12px;border:1px solid #354158;border-radius:7px;background:#141e30;color:#d8e3f5}.outline-button:hover{border-color:#64778f;background:#1c293e}.outline-button:disabled{color:#77869c;border-color:#273146;background:#101827}.outline-button svg{width:15px;height:15px;stroke:currentColor;stroke-width:1.7}.level-count{border-left:1px solid #39475d;padding-left:12px;margin-left:3px;color:#a8b7ce;font-size:9px;letter-spacing:1px}.intro-heading,footer{display:none}main{display:grid;grid-template-columns:minmax(0,1fr) var(--sidebar);grid-template-rows:minmax(0,1fr);height:calc(100dvh - var(--header));min-height:0;flex:1;width:100%;margin:0;overflow:hidden;position:relative}.game-shell{grid-column:1;grid-row:1;position:relative;width:100%;height:100%;min-height:0;min-width:0;overflow:hidden;background:#10192c;isolation:isolate}.game-shell:has(.modal-layer:not([hidden])){z-index:50}.game-shell canvas{display:block;width:100%;height:100%;touch-action:none;outline-offset:-4px}.stage-hud{position:absolute;top:18px;left:18px;right:18px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;pointer-events:none}.chapter,.hud-right{border:1px solid #8697b12b;border-radius:10px;background:#091321dd;box-shadow:0 5px 22px #0002;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.chapter{display:flex;align-items:center;gap:10px;padding:11px 15px 11px 11px;max-width:46%}.chapter-number{display:grid;place-items:center;width:35px;height:35px;flex-shrink:0;border:1px solid #5eaaa477;border-radius:9px;background:#64e6d011;color:var(--cyan);font-size:17px;font-weight:750;font-variant-numeric:tabular-nums}.eyebrow{font-size:9px;line-height:1.4;font-weight:750;letter-spacing:1.5px}.stage-eyebrow{font-size:7px;color:#a6b5cb;letter-spacing:1.4px}.chapter h2{font-size:14px;margin:3px 0 0;font-weight:750;letter-spacing:-.2px;line-height:1.2}.hud-right{display:flex;align-items:center;gap:8px;pointer-events:auto;padding:10px 11px}.score-stat{display:flex;flex-direction:column;align-items:flex-end;gap:3px;margin-right:10px}.score-stat>.eyebrow{color:#b0bfd4;font-size:7px;letter-spacing:1.7px}.stat-value{font-size:20px;font-variant-numeric:tabular-nums;letter-spacing:1px;font-weight:800;line-height:1}.bots-stat{display:flex;align-items:center;gap:6px;font-size:13px;color:#d4e1f5;white-space:nowrap}.bots-stat svg{width:20px;height:20px;color:var(--cyan)}.bots-total{font-size:10px;color:#a7b5c9}.hud-divider{width:1px;height:26px;background:#53617966;margin:0 3px}.icon-button{display:grid;place-items:center;width:32px;height:32px;padding:7px;border-radius:7px;background:transparent;color:#c9d7ec}.icon-button:hover{background:#c1d8ff15;color:#fff}.icon-button:disabled{color:#5e6f85}.icon-button svg{width:18px;height:18px}.stage-caption{position:absolute;left:20px;bottom:18px;display:flex;align-items:center;gap:8px;font-size:9px;line-height:1.5;font-weight:750;letter-spacing:1px;pointer-events:none;padding:8px 11px;border-radius:6px;border:1px solid #7891b12b;background:#071120bb;color:#d2e0f3;max-width:calc(100% - 40px)}.live-dot{display:inline-block;width:5px;height:5px;flex-shrink:0;border-radius:50%;background:var(--cyan);box-shadow:0 0 9px #64e6d055}.stage-signature{display:none}.power-button{position:absolute;right:22px;bottom:58px;display:flex;align-items:center;gap:9px;min-height:43px;padding:12px 16px;border-radius:8px;background:var(--cyan);color:#062b2b;border:1px solid #a4f6e5;font-size:12px;font-weight:800;box-shadow:0 5px 30px #47ddc633,0 2px #163d40;animation:power-in .2s ease-out}.power-button:hover{background:#91efdf}.power-button svg{width:16px;height:16px}.power-button kbd{background:#093c3415;color:#0b4942;border-color:#19615455;font-size:8px;margin-left:5px}.power-toast{position:absolute;top:96px;left:50%;display:flex;align-items:center;gap:8px;white-space:nowrap;transform:translate(-50%,-8px);padding:10px 16px;border-radius:8px;border:1px solid #93e9d8;background:#173b3e;color:#c0fff0;font-size:12px;font-weight:800;box-shadow:0 7px 24px #0004;opacity:0;transition:opacity .18s,transform .18s;pointer-events:none}.power-toast.visible{opacity:1;transform:translate(-50%)}.power-toast svg{width:16px;height:16px}.roster-section{grid-column:2;grid-row:1;min-width:0;min-height:0;display:flex;flex-direction:column;padding:20px 13px 16px;border-left:1px solid #2b374c;background:linear-gradient(160deg,#121d30,#0c1424 65%);position:relative;z-index:5;overflow:hidden}.roster-heading{flex-shrink:0;margin-bottom:16px}.roster-heading h2{display:flex;flex-direction:column;align-items:flex-start;gap:9px;margin:0;font-size:10px;letter-spacing:1.45px;font-weight:800;color:#dbe7fb}.roster-heading h2>span{font-size:9px;letter-spacing:0;color:#a3b7ce;font-weight:600;border-bottom:1px solid #34445b;padding:2px 0 5px}.roster-heading p{display:none}.character-deck{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(6,minmax(0,1fr));gap:9px;min-height:0;flex:1}.character-card{position:relative;display:flex;align-items:center;gap:9px;min-height:0;min-width:0;padding:8px 9px 18px 5px;border:1px solid #33425980;border-radius:9px;text-align:left;background:linear-gradient(135deg,#1b293b,#142034);transition:background .15s,border-color .15s,box-shadow .15s;overflow:hidden}.character-card:hover:not(:disabled){background:linear-gradient(135deg,#253953,#1c3044);border-color:#7593ac}.character-card.selected{border-color:#65dfcf;background:linear-gradient(120deg,#224a4e,#172d42);box-shadow:inset 3px 0 0 var(--cyan),0 0 20px #64e6d008}.character-card.unavailable{border-color:#273246;background:#111b2b}.character-card.unavailable .character-avatar{filter:grayscale(.7);opacity:.43}.character-card.unavailable .character-info{color:#98a6bc}.character-card.unavailable .character-company,.character-card.unavailable .character-power{color:#8c9bb2}.character-card.spent .character-avatar{filter:grayscale(1);opacity:.3}.character-avatar{width:72px;height:72px;max-height:100%;flex-shrink:0;position:relative;display:grid;place-items:center}.character-avatar:before{content:"";position:absolute;inset:8px;border-radius:50%;background:var(--character-color);opacity:.14;filter:blur(8px)}.character-avatar img{position:relative;display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 3px #0005);transform:scale(1.12)}.character-info{display:flex;flex-direction:column;gap:5px;min-width:0;position:relative;z-index:1}.character-info>strong{font-size:14px;line-height:1.1;letter-spacing:-.2px;font-weight:800;white-space:nowrap}.character-company{font-size:9px;color:#a7bad1;white-space:nowrap}.character-power{display:flex;align-items:center;gap:3px;margin-top:3px;color:#c4d9ed;font-size:9px;font-weight:600;white-space:nowrap;letter-spacing:-.2px}.character-power svg{width:9px;height:9px;color:#7dded1}.card-key{position:absolute;right:7px;top:6px;font-size:8px;font-weight:750;color:#a6bad3}.character-card.selected .card-key{color:var(--cyan)}.card-status{position:absolute;left:9px;right:9px;bottom:6px;text-align:right;font-size:6px;font-weight:750;letter-spacing:1px;color:#a4bad1;line-height:1.2}.character-card.selected .card-status{color:#85e8d8}.character-card.unavailable .card-status{color:#96a7bf}.deck-help{flex-shrink:0;display:flex;flex-direction:column;gap:10px;border-top:1px solid #2a3850;padding-top:13px;margin-top:16px;color:#a8bad0;font-size:10px;line-height:1.6}.deck-help>#selected-description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.help-shortcut{display:flex;align-items:flex-start;gap:5px;font-size:9px;color:#bed3e8}.help-shortcut svg{width:12px;height:12px;flex-shrink:0;margin-top:1px;color:var(--cyan)}.keyboard-tip,.keyboard-aim-tip{display:inline-flex;align-items:center;gap:4px}kbd{display:inline-flex;align-items:center;justify-content:center;min-width:18px;min-height:18px;padding:0 4px;border:1px solid #526078;border-bottom-width:2px;border-radius:4px;background:#1a293d;color:#dfebfc;font-family:inherit;font-size:9px;font-weight:600;letter-spacing:0;white-space:nowrap}.loading-screen{position:absolute;inset:0;z-index:8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;background:radial-gradient(ellipse at center,#1b3448,#0b1426 65%);text-align:center;padding:25px}.loading-screen strong{font-family:"DM Serif Display",Georgia,serif;font-weight:400;font-size:29px;letter-spacing:-.5px;color:#e6f4fb}.loading-screen>span{font-size:12px;color:#9db6ce}.loading-bird{font-size:45px;line-height:1;color:var(--cyan);margin-bottom:5px;animation:loading-spin 5s linear infinite}.modal-layer{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;background:#020710a6;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.dialog{position:relative;width:440px;max-width:100%;max-height:calc(100dvh - 48px);overflow-y:auto;overscroll-behavior:contain;border:1px solid #41516b;border-radius:15px;padding:32px;background:linear-gradient(145deg,#19273c,#111b2b);box-shadow:0 24px 100px #0008;animation:dialog-in .2s ease-out;color:#edf4ff;scrollbar-color:#425774 transparent}.dialog-eyebrow{display:flex;align-items:center;gap:7px;padding-right:20px;color:#7ce2d2;font-size:8px;font-weight:800;line-height:1.5;letter-spacing:1.6px}.dialog h2{font-family:"DM Serif Display",Georgia,serif;font-size:38px;font-weight:400;line-height:1.09;letter-spacing:-1px;margin:15px 0 16px;color:#f3f7ff}.dialog h2>span{color:var(--orange)}.dialog>p{font-size:12px;line-height:1.75;color:#b4c5dc;margin:0 0 22px}.dialog-close{position:absolute;top:13px;right:13px;width:29px;height:29px;padding:6px;color:#b6c7de}.primary-button{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;min-height:46px;padding:13px 17px;border:1px solid #8ee6d9;border-radius:8px;background:#68dfcf;color:#08272d;font-size:12px;font-weight:800;box-shadow:0 3px #244f53;transition:background .15s,transform .15s}.primary-button:hover:not(:disabled){background:#8ceada;transform:translateY(-1px)}.primary-button:disabled{background:#253d4a;border-color:#3e5d66;color:#a8c3cf;box-shadow:none}.primary-button svg{width:18px;height:18px;color:inherit}.secondary-button{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;padding:17px 4px 0;background:transparent;color:#bdcee3;font-size:11px;line-height:1.45}.secondary-button:hover{color:#8ee8d8}.secondary-button svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.7}.intro-fineprint{display:block;text-align:center;margin-top:19px;color:#a1b2ca;font-size:6px;font-weight:600;letter-spacing:1px;white-space:nowrap}.intro-fineprint>span{margin:0 5px}.modal-intro{background:#04102066}.modal-intro .dialog{width:370px}.modal-intro h2{font-size:41px}.intro-steps{display:flex;flex-direction:column;gap:10px;padding:0 0 24px;color:#c4d3e7;font-size:12px}.intro-steps>span{display:flex;align-items:center;gap:12px}.intro-steps b{color:#78dccc;font-size:9px;letter-spacing:1px}.modal-help .dialog{width:490px}.modal-help h2{font-size:34px}.help-steps{display:flex;flex-direction:column;gap:17px;margin:23px 0 20px}.help-steps>div{display:flex;align-items:flex-start;gap:14px}.help-steps>div>span{flex-shrink:0;font-size:12px;font-weight:750;line-height:1.6;color:#79d8ca}.help-steps p{font-size:11px;line-height:1.75;color:#b5c6dd;margin:0}.help-steps strong{display:block;color:#edf4ff;font-size:12px;font-weight:750;margin-bottom:3px}.help-goal{display:flex;align-items:center;gap:12px;border-top:1px solid #35465e;padding:17px 0 23px}.help-goal>svg{width:25px;height:25px;flex-shrink:0;color:var(--cyan)}.help-goal p{font-size:11px;line-height:1.7;color:#b9cbe1;margin:0}.help-goal b{color:#ffd077;letter-spacing:1px}.modal-levels .dialog{width:490px}.modal-levels h2{font-size:32px}.level-list{display:flex;flex-direction:column;gap:8px}.level-option{display:flex;align-items:center;gap:14px;width:100%;padding:13px 14px;border:1px solid #344760;border-radius:8px;background:#1b2b41;text-align:left}.level-option.current{background:#224344;border-color:#5bb6ad}.level-option:hover:not(:disabled){background:#2a4358;border-color:#7eabc0}.level-option:disabled{background:#151f30;border-color:#2b384c;color:#9eabc0}.level-option-number{font-size:21px;font-weight:750;color:#9dc2cd;font-variant-numeric:tabular-nums}.level-option strong{display:block;font-size:12px;font-weight:750}.level-option small{display:block;font-size:7px;color:#afc2d9;letter-spacing:.4px;margin-top:5px;text-transform:uppercase}.level-option small>span{margin:0 4px}.level-option-end{margin-left:auto;flex-shrink:0}.level-option-end>svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.5;color:#a9c7d6}.mini-stars{color:#ffce75;font-size:15px;letter-spacing:2px;white-space:nowrap}.modal-result .dialog,.modal-pause .dialog{text-align:center}.modal-result .dialog-eyebrow,.modal-pause .dialog-eyebrow{justify-content:center;padding:0}.modal-result h2{font-size:38px}.modal-pause h2{font-size:40px}.result-stars{display:flex;align-items:center;justify-content:center;gap:10px;margin:14px 0 3px}.result-stars>span{font-size:41px;line-height:1.15;color:#46536b;transform:rotate(-12deg)}.result-stars>span:nth-child(2){font-size:52px;transform:rotate(4deg)}.result-stars>span:nth-child(3){transform:rotate(13deg)}.result-stars>span.earned{color:#ffd16c;text-shadow:0 3px 0 #856b36;filter:drop-shadow(0 0 12px #ffbc332b);animation:power-in .35s ease-out}.result-score{display:flex;align-items:center;justify-content:space-between;padding:17px 0;border-top:1px solid #35435a;border-bottom:1px solid #35435a;margin:0 0 22px}.result-score>span{font-size:8px;font-weight:750;letter-spacing:1.5px;color:#b1c4db}.result-score>strong{font-size:27px;font-variant-numeric:tabular-nums;color:#f0f7ff;letter-spacing:-.5px}.modal-error .dialog{border-color:#916b48}.modal-error .dialog-eyebrow{color:#ffca85}#error-message{overflow-wrap:anywhere}.rotate-prompt{display:none}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes loading-spin{to{transform:rotate(360deg)}}@keyframes dialog-in{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes power-in{0%{opacity:0;transform:scale(.88)}to{opacity:1;transform:scale(1)}}@media(min-height:1000px){.roster-section{padding:24px 14px 20px}.roster-heading{margin-bottom:20px}.character-deck{gap:11px}.character-avatar{width:79px;height:79px}.character-card{padding-left:5px}.character-info>strong{font-size:15px}.character-power{font-size:10px}.deck-help{font-size:11px;padding-top:16px;margin-top:20px}}@media(max-width:1100px){:root{--sidebar:200px}.site-header{padding:0 15px;gap:18px}.header-tagline{display:none}.site-header nav{gap:15px}.roster-section{padding:16px 10px 12px}.roster-heading h2{font-size:9px;letter-spacing:1px}.character-card{gap:5px;padding-left:4px}.character-avatar{width:59px;height:59px}.character-info>strong{font-size:13px}.character-power,.character-company{font-size:8px}.card-status{font-size:5px;letter-spacing:.8px}.deck-help{font-size:9px}.help-shortcut{font-size:8px}.stage-hud{top:14px;left:14px;right:14px;gap:8px}.chapter{padding:9px;gap:8px}.chapter h2{font-size:12px}.chapter-number{width:32px;height:32px;font-size:16px}.stage-eyebrow{font-size:6px;letter-spacing:1px}.hud-right{padding:9px 7px;gap:5px}.score-stat{margin-right:5px}.stat-value{font-size:18px}.bots-stat{font-size:12px}.icon-button{width:30px;height:30px;padding:6px}.stage-caption{font-size:8px;bottom:16px;left:16px}.power-button{right:16px;bottom:57px}}@media(max-height:760px)and (min-height:561px){.roster-section{padding-top:14px;padding-bottom:12px}.roster-heading{margin-bottom:12px}.roster-heading h2{gap:6px}.character-deck{gap:7px}.character-card{padding-top:5px;padding-bottom:15px}.character-avatar{width:59px;height:59px}.character-info{gap:3px}.character-info>strong{font-size:13px}.character-company{font-size:8px}.character-power{font-size:8px;margin-top:2px}.card-status{font-size:5px;bottom:4px}.deck-help{margin-top:11px;padding-top:9px;font-size:9px;gap:7px}.help-shortcut{font-size:8px}}@media(max-height:560px)and (orientation:landscape){:root{--header:44px;--sidebar:144px}.site-header{padding:0 12px;gap:15px}.brand-bird{width:27px;height:27px}.brand>span{font-size:19px}.brand-dot{top:-8px;font-size:7px}.header-tagline{display:none}.site-header nav{gap:13px}.text-button,.outline-button{font-size:10px;gap:6px}.text-button{padding:7px 0}.outline-button{padding:7px 9px}.outline-button svg{width:13px;height:13px}.level-count{font-size:8px;padding-left:9px}.roster-section{padding:10px 7px}.roster-heading{margin-bottom:9px}.roster-heading h2{font-size:7px;letter-spacing:.9px;gap:5px}.roster-heading h2>span{font-size:8px;padding:3px 0}.character-deck{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:6px}.character-card{flex-direction:column;justify-content:center;gap:2px;padding:6px 3px 13px;text-align:center;border-radius:7px}.character-card.selected{box-shadow:inset 0 -2px 0 var(--cyan)}.character-avatar{width:57px;height:57px;max-width:100%;max-height:55%}.character-info{align-items:center;gap:3px;max-width:100%}.character-info>strong{font-size:10px;letter-spacing:0}.character-company{display:none}.character-power{font-size:6px;letter-spacing:-.15px;gap:1px;margin-top:0;max-width:100%}.character-power svg{width:7px;height:7px}.card-key{font-size:6px;right:4px;top:4px}.card-status{left:2px;right:2px;bottom:4px;font-size:4px;letter-spacing:.1px;text-align:center}.deck-help{display:none}.stage-hud{top:11px;left:11px;right:11px;gap:6px}.chapter{padding:7px 8px;gap:7px;border-radius:7px}.chapter-number{width:27px;height:27px;font-size:14px;border-radius:6px}.chapter h2{font-size:11px;letter-spacing:-.2px}.stage-eyebrow{font-size:5px;letter-spacing:1px}.hud-right{padding:6px;gap:3px;border-radius:7px}.score-stat{gap:3px;margin-right:4px}.score-stat>.eyebrow{font-size:5px;letter-spacing:1px}.stat-value{font-size:16px;letter-spacing:.4px}.bots-stat{font-size:10px;gap:3px}.bots-stat svg{width:17px;height:17px}.bots-total{font-size:8px}.hud-divider{height:20px;margin:0 3px}.icon-button{width:28px;height:28px;padding:6px}.icon-button svg{width:16px;height:16px}.stage-caption{bottom:12px;left:12px;padding:6px 8px;font-size:7px;letter-spacing:.7px}.power-button{bottom:46px;right:12px;min-height:35px;padding:8px 11px;font-size:10px;gap:6px}.power-button kbd{font-size:6px;min-height:15px;min-width:17px}.power-toast{top:72px;font-size:10px;padding:8px 12px}.modal-layer{padding:12px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.dialog{padding:20px 23px;max-height:calc(100dvh - 24px);width:400px;border-radius:12px}.dialog h2{font-size:29px;margin:10px 0 12px}.dialog-eyebrow{font-size:6px;letter-spacing:1.2px}.dialog>p{font-size:10px;line-height:1.65;margin-bottom:14px}.dialog-close{width:25px;height:25px;top:8px;right:8px}.primary-button{font-size:11px;min-height:37px;padding:9px 13px}.secondary-button{font-size:10px;padding-top:12px}.intro-fineprint{font-size:5px;margin-top:13px;letter-spacing:.8px}.modal-intro .dialog{width:330px;padding:20px}.modal-intro h2{font-size:32px}.intro-steps{font-size:10px;gap:6px;padding-bottom:15px}.intro-steps b{font-size:8px}.modal-help .dialog{width:490px}.modal-help h2{font-size:27px}.help-steps{gap:10px;margin:14px 0 12px}.help-steps>div{gap:10px}.help-steps>div>span{font-size:10px}.help-steps p{font-size:9px;line-height:1.6}.help-steps strong{font-size:10px;margin-bottom:2px}.help-goal{padding:11px 0 15px}.help-goal p{font-size:9px}.help-goal>svg{width:21px;height:21px}.modal-levels .dialog{width:460px}.modal-levels h2{font-size:27px}.level-list{gap:6px}.level-option{padding:9px 12px;gap:11px}.level-option-number{font-size:18px}.level-option strong{font-size:11px}.level-option small{font-size:6px;margin-top:3px}.level-option-end>svg{width:16px;height:16px}.result-stars{margin:9px 0 0;gap:8px}.result-stars>span{font-size:30px}.result-stars>span:nth-child(2){font-size:39px}.modal-result h2,.modal-pause h2{font-size:29px}.result-score{padding:12px 0;margin-bottom:16px}.result-score>span{font-size:7px}.result-score>strong{font-size:23px}.loading-screen strong{font-size:24px}.loading-screen>span{font-size:10px}.loading-bird{font-size:34px}}@media(max-width:700px)and (orientation:landscape){:root{--sidebar:132px}.site-header{padding:0 10px}.site-header nav{gap:11px}.brand{gap:6px}.brand>span{font-size:18px}.brand-bird{width:26px;height:26px}.level-count{display:none}.roster-section{padding:8px 5px}.roster-heading{margin-bottom:7px}.roster-heading h2{font-size:6px;letter-spacing:.7px}.roster-heading h2>span{font-size:7px}.character-deck{gap:5px}.character-avatar{width:47px;height:47px}.character-info>strong{font-size:9px}.character-power{font-size:5.5px}.character-power svg{width:6px;height:6px}.stage-hud{top:8px;left:8px;right:8px}.chapter{gap:5px;padding:6px;max-width:40%}.chapter-number{width:23px;height:23px;font-size:12px}.chapter h2{font-size:9px;line-height:1.15;max-width:100px}.stage-eyebrow{font-size:4px;letter-spacing:.6px}.hud-right{gap:2px;padding:5px}.score-stat{margin-right:3px}.stat-value{font-size:13px}.score-stat>.eyebrow{font-size:4px}.bots-stat{font-size:9px;gap:2px}.bots-stat svg{width:14px;height:14px}.bots-total{font-size:7px}.hud-divider{margin:0 2px;height:18px}.hud-right .icon-button{width:24px;height:25px;padding:5px}.icon-button svg{width:14px;height:14px}.stage-caption{font-size:6px;letter-spacing:.4px;bottom:10px;left:10px;max-width:calc(100% - 20px)}.power-button{bottom:42px;right:10px;font-size:9px;padding:8px 10px;min-height:32px}.power-button kbd{display:none}.power-toast{font-size:9px;top:58px}.character-card{padding-top:4px;padding-bottom:11px;gap:1px}.character-info{gap:2px}.card-status{font-size:3.5px;letter-spacing:0;bottom:3px}}@media(max-height:360px)and (orientation:landscape){.roster-heading h2{gap:4px}.roster-heading h2>span{padding:2px 0}.roster-heading{margin-bottom:6px}.character-deck{gap:4px}.character-avatar{width:39px;height:39px;max-height:51%}.character-card{padding-top:3px;padding-bottom:9px}.character-info>strong{font-size:8px}.character-power{font-size:5px}.card-status{bottom:2px;font-size:3px}.dialog{padding:16px 20px}.dialog h2{font-size:25px;margin:8px 0 10px}.dialog>p{font-size:9px;margin-bottom:12px}.dialog-eyebrow{font-size:5px}.modal-intro .dialog{padding:16px;width:310px}.modal-intro h2{font-size:28px}.intro-steps{font-size:9px;gap:5px;padding-bottom:12px}.intro-fineprint{margin-top:10px;font-size:4.5px}.modal-help .dialog{width:510px}.modal-help h2{font-size:24px}.help-steps{gap:7px;margin:10px 0}.help-steps p{font-size:8px;line-height:1.5}.help-steps strong{font-size:9px;margin-bottom:1px}.help-goal{padding:8px 0 11px}.help-goal p{font-size:8px}.primary-button{min-height:33px;font-size:10px;padding:8px 12px}.secondary-button{font-size:9px;padding-top:10px}.level-option{padding:7px 10px}.level-option strong{font-size:10px}.level-option small{font-size:5px}.level-option-number{font-size:16px}.level-list{gap:4px}.modal-levels h2{font-size:24px}.modal-result h2,.modal-pause h2{font-size:26px}.result-stars>span{font-size:24px}.result-stars>span:nth-child(2){font-size:31px}.result-score{padding:9px 0;margin-bottom:12px}}@media(orientation:portrait)and (max-width:900px){:root{--header:44px;--sidebar:72px}.site-header{padding:0 9px;gap:8px}.brand{gap:5px}.brand-bird{width:25px;height:25px}.brand>span{font-size:17px;letter-spacing:-.8px}.brand-ai{margin-left:3px}.brand-dot,.header-tagline,.level-count{display:none}.site-header nav{gap:8px}.text-button,.outline-button{font-size:9px;gap:5px}.text-button{padding:8px 0}.outline-button{padding:7px 8px}.outline-button svg{width:12px;height:12px}.help-circle{width:13px;height:13px;font-size:8px}.roster-section{padding:10px 5px;border-left-color:#31415a}.roster-heading{margin-bottom:8px}.roster-heading h2{font-size:0;gap:0}.roster-heading h2>span{font-size:7px;letter-spacing:0;border:0;padding:0;white-space:nowrap;text-align:center;width:100%}.character-deck{display:flex;flex-direction:column;justify-content:center;gap:6px}.character-card{flex:1;max-height:104px;min-height:54px;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:5px 2px;border-radius:8px;text-align:center}.character-card.selected{box-shadow:inset 0 -2px 0 var(--cyan)}.character-avatar{width:53px;height:53px;max-height:72%;max-width:100%}.character-info{align-items:center;gap:0}.character-info>strong{font-size:9px;letter-spacing:0}.character-company,.character-power,.card-key,.card-status,.deck-help{display:none}.stage-hud{top:10px;left:9px;right:9px;flex-wrap:wrap;gap:8px}.chapter{max-width:100%;padding:8px;gap:7px}.chapter-number{width:28px;height:28px;font-size:14px}.stage-eyebrow{font-size:5px;letter-spacing:.8px}.chapter h2{font-size:11px}.hud-right{padding:6px;gap:4px;max-width:100%;margin-left:auto}.score-stat{margin-right:5px}.score-stat>.eyebrow{font-size:5px}.stat-value{font-size:15px;letter-spacing:.5px}.bots-stat{font-size:10px;gap:3px}.bots-stat svg{width:16px;height:16px}.bots-total{font-size:8px}.hud-divider{height:23px;margin:0 3px}.hud-right .icon-button{width:30px;height:30px;padding:6px}.icon-button svg{width:16px;height:16px}.stage-caption{bottom:12px;left:10px;padding:7px 8px;font-size:6px;letter-spacing:.4px;max-width:calc(100% - 20px);line-height:1.6}.power-button{bottom:55px;right:10px;font-size:10px;min-height:39px;padding:10px 12px;gap:6px}.power-button kbd{display:none}.power-toast{top:128px;max-width:calc(100% - 20px);padding:9px 12px;font-size:10px}.modal-layer{padding:15px}.dialog{padding:27px 23px;width:420px;max-height:calc(100dvh - 30px);border-radius:13px}.dialog h2{font-size:32px}.dialog-eyebrow{font-size:7px;letter-spacing:1px}.dialog>p{font-size:11px}.intro-fineprint{font-size:5px;white-space:normal;line-height:1.6}.modal-help h2,.modal-levels h2{font-size:29px}.help-steps p,.help-goal p{font-size:10px}.level-option{padding:12px 10px;gap:10px}.level-option strong{font-size:11px}.level-option small{font-size:6px;line-height:1.6}.level-option-number{font-size:19px}.mini-stars{font-size:12px;letter-spacing:1px}.loading-screen strong{font-size:24px}.loading-screen>span{font-size:10px;line-height:1.6}}@media(orientation:portrait)and (max-width:380px){.site-header{padding:0 6px}.brand-bird{width:23px;height:23px}.brand>span{font-size:15px}.site-header nav{gap:6px}.outline-button{padding:6px}.text-button,.outline-button{font-size:8px}.help-circle{width:12px;height:12px}.hud-right{gap:2px;padding:5px}.hud-right .icon-button{width:27px;height:29px}.score-stat{margin-right:2px}.bots-stat{font-size:9px}.stat-value{font-size:14px}.hud-divider{margin:0 2px}}#camera-button{display:flex;position:absolute;right:12px;bottom:76px;align-items:center;justify-content:center;gap:6px;padding:10px 12px;min-height:44px;width:auto;background:#20364a;border:1px solid #466077;border-radius:7px;color:#def5fc;font-size:10px;font-weight:750;white-space:nowrap}#camera-button:hover{background:#31516a}#camera-button svg{width:15px;height:15px}#camera-button:disabled{background:#142333;border-color:#31455b;color:#8097ac;box-shadow:none}#help-button,#levels-button{min-height:40px}.dialog .dialog-close{min-width:40px;min-height:40px}#fullscreen-button{width:32px;height:32px;padding:7px;background:#152135;border:1px solid #354158;border-radius:7px;color:#c4d8ed}#fullscreen-button svg{width:16px;height:16px}@media(orientation:portrait)and (max-width:900px){#camera-button{display:flex;position:absolute;right:10px;bottom:57px}.power-button{bottom:111px}#fullscreen-button{display:none}}@media(max-height:560px)and (orientation:landscape){#fullscreen-button{width:28px;height:28px;padding:6px}}@media(max-height:560px)and (orientation:landscape){.hud-right .icon-button{width:40px;height:40px;min-width:40px;min-height:40px;padding:10px}.hud-right .icon-button svg{width:18px;height:18px}.hud-right{gap:2px;padding:4px}.score-stat{margin-right:3px}.hud-divider{margin:0 2px}.character-card{padding-top:5px;padding-bottom:5px;gap:4px}.card-status,.card-key{display:none}.character-avatar{max-height:65%}.character-info>strong{font-size:10px}}@media(max-width:700px)and (orientation:landscape){.stage-eyebrow,.bots-total,.character-power{display:none}.chapter h2{margin-top:0}.chapter{align-self:flex-start;margin-top:4px}.character-avatar{width:46px;height:46px}.character-info{gap:0}.character-info>strong{font-size:10px}}@media(orientation:portrait)and (max-width:900px){.hud-right .icon-button{width:44px;height:44px;min-width:44px;min-height:44px;padding:12px}.hud-right .icon-button svg{width:18px;height:18px}.hud-right{gap:2px;padding:4px}.score-stat{margin-right:3px}.hud-divider{margin:0 2px}.character-info>strong{font-size:10px}}@media(orientation:portrait)and (max-width:380px){.hud-right{gap:1px;padding:3px}.score-stat{margin-right:2px}.bots-total{display:none}.hud-divider{margin:0 1px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}.stage-guide{display:flex;flex-direction:column;gap:3px}#mobile-power-hint{display:none;color:#a9e8dd;font-weight:600}@media(max-height:560px),(max-width:900px){.stage-caption{font-size:10px;letter-spacing:0;padding:8px 10px;line-height:1.4;max-width:min(290px,calc(100% - 20px))}.stage-caption .live-dot{align-self:flex-start;margin-top:5px}#mobile-power-hint{display:block}.power-button{bottom:66px;min-height:40px}}.game-shell.camera-focused #camera-button{bottom:76px}.game-shell.camera-focused .power-button{bottom:128px;min-height:44px}.cancel-shot-button{position:absolute;right:22px;bottom:58px;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 15px;border:1px solid #ad7182;border-radius:8px;background:#3b2435;color:#ffe1e7;font-size:12px;font-weight:750;touch-action:none}.cancel-shot-button:hover,.cancel-shot-button.drag-over{background:#73364c;border-color:#ffb7c7;color:#fff;box-shadow:0 0 0 3px #ffafc22b}.cancel-shot-button svg{width:18px;height:18px}.cancel-shot-button kbd{background:#ffffff0d;border-color:#b5819166;color:#ffe1e7;font-size:9px}@media(max-height:560px),(max-width:900px){.cancel-shot-button{right:12px;bottom:66px;font-size:11px}.cancel-shot-button kbd{display:none}}.game-shell.camera-focused .cancel-shot-button{right:12px;bottom:76px}.chapter,.hud-right{background:#091321f2;-webkit-backdrop-filter:none;backdrop-filter:none}#company-event{max-width:42rem;font-size:12px;line-height:1.4;color:#e9c864;margin:6px 0}#company-event:empty{display:none}.rotate-prompt{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 24px max(24px,env(safe-area-inset-bottom));text-align:center;overflow:auto;background:radial-gradient(ellipse at 50% 38%,#183844,#0c192a 42%,#080e19 80%);outline:none}.rotate-brand{position:absolute;top:max(28px,env(safe-area-inset-top));font-size:18px;font-weight:800;letter-spacing:-.7px}.rotate-brand span{color:var(--cyan)}.rotate-brand b{color:#ffb85c;margin-left:4px;font-size:12px}.rotate-art{width:240px;height:210px;position:relative;margin-top:30px}.rotate-orbit{position:absolute;width:188px;height:188px;border:1px solid #83d6cb26;border-radius:50%;left:26px;top:10px;box-shadow:0 0 0 25px #83d6cb05}.rotate-device{position:absolute;left:68px;top:22px;width:104px;height:166px;border:4px solid #ccece8;border-radius:20px;background:linear-gradient(160deg,#244656,#0f2335);box-shadow:0 14px 35px #0005;overflow:hidden;transform:rotate(90deg);animation:phone-turn 4.4s ease-in-out infinite}.rotate-device img{position:absolute;inset:30px 4px auto;width:88px;height:98px;object-fit:contain;z-index:2;transform:rotate(-90deg)}.rotate-camera{position:absolute;left:37px;top:7px;width:22px;height:4px;border-radius:3px;background:#ccece8}.rotate-screen-ground{position:absolute;bottom:0;left:0;right:0;height:32px;background:#376263;border-top:2px solid #7db6a3}.rotate-arrow{position:absolute;inset:0;width:240px;height:210px;color:var(--cyan)}.rotate-eyebrow{margin:14px 0 10px;color:#83b6bf;font-size:9px;font-weight:750;letter-spacing:1.7px}.rotate-prompt h1{font-size:clamp(38px,11vw,52px);line-height:1.03;letter-spacing:-2px;margin:0;font-weight:800}.rotate-prompt h1 span{color:var(--cyan)}.rotate-prompt #rotate-description{font-size:14px;line-height:1.65;color:#bdcddc;margin:18px 0 12px}.rotate-cast{display:flex;align-items:center;justify-content:center;margin-top:10px}.rotate-cast img{width:58px;height:58px;object-fit:contain;margin:0 -4px;filter:drop-shadow(0 4px 6px #0005)}.rotate-note{font-size:11px;color:#7f96ac;margin:14px 0 0}@keyframes phone-turn{0%,15%{transform:rotate(0)}45%,85%{transform:rotate(90deg)}to{transform:rotate(0)}}@media(max-height:670px){.rotate-art{height:172px;margin-top:36px;transform:scale(.8);margin-bottom:-18px}.rotate-eyebrow{margin-top:6px}.rotate-cast{margin-top:0}.rotate-prompt #rotate-description{margin-top:14px}.rotate-note{margin-top:8px}}@media(prefers-reduced-motion:reduce){.rotate-device{animation:none;transform:rotate(90deg)}}.phone-landscape{--sidebar:112px;--sidebar-width:112px;--header:0px;--header-height:0px;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.phone-landscape main{height:100%;min-height:0}.phone-landscape .site-header{position:absolute;top:calc(env(safe-area-inset-top) + 8px);left:calc(env(safe-area-inset-left) + 8px);height:44px;min-height:44px;padding:0;border:0;background:none;gap:0}.phone-landscape .brand,.phone-landscape .header-tagline{display:none}.phone-landscape .site-header nav{gap:4px;margin:0}.phone-landscape .site-header nav button{width:44px;height:44px;min-height:44px;display:flex;align-items:center;justify-content:center;padding:10px;border:1px solid #637a903d;border-radius:10px;background:#0b192be8;color:#c7dbe8}.phone-landscape .site-header nav button svg{width:18px;height:18px}.phone-landscape #help-button>span:last-child,.phone-landscape #levels-button>span,.phone-landscape .friends-button>span:last-child{display:none}.phone-landscape .help-circle{width:19px;height:19px;font-size:12px}.phone-landscape .friends-button>span:first-child{font-size:24px}.phone-landscape .stage-hud{top:8px;left:8px;right:8px;gap:0;flex-wrap:nowrap;min-height:44px}.phone-landscape .hud-right{margin-left:auto;padding:0 3px 0 9px;gap:3px;border-radius:10px;box-shadow:none}.phone-landscape .hud-right .icon-button{width:44px;height:44px;min-width:44px;min-height:44px;padding:12px}.phone-landscape .hud-right .icon-button svg{width:19px;height:19px}.phone-landscape #restart-button{display:none}.phone-landscape .score-stat{margin-right:4px;gap:2px}.phone-landscape .score-stat>.eyebrow{font-size:6px}.phone-landscape .stat-value{font-size:15px;letter-spacing:.5px}.phone-landscape .bots-stat{font-size:12px;gap:4px}.phone-landscape .bots-stat svg{width:17px;height:17px}.phone-landscape .bots-total{display:none}.phone-landscape .hud-divider{height:20px;margin:0 2px}.phone-landscape .chapter{position:absolute;top:52px;left:2px;max-width:300px;gap:7px;padding:0;background:none;border:0;border-radius:0;box-shadow:none}.phone-landscape .chapter-number{width:25px;height:25px;font-size:12px}.phone-landscape .stage-eyebrow,.phone-landscape #company-event{display:none}.phone-landscape .chapter h2{font-size:11px;max-width:240px;margin:0}.phone-landscape main:has(.friend-room-bar:not([hidden])) .chapter{display:none}.phone-landscape .roster-section{padding:9px 6px 7px;background:#0b1422e8;border-left:1px solid #47617445}.phone-landscape .roster-heading{margin:0 0 7px}.phone-landscape .roster-heading h2{font-size:0;gap:0}.phone-landscape .roster-heading h2>span{padding:0;border:0;font-size:10px;line-height:14px;color:#b4c8d8}.phone-landscape .character-deck{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:6px}.phone-landscape .character-card{min-height:44px;max-height:none;padding:6px 2px;gap:4px;border-radius:10px;flex-direction:column;align-items:center;justify-content:center;text-align:center}.phone-landscape .character-avatar{width:clamp(44px,14dvh,60px);height:clamp(44px,14dvh,60px);max-width:100%;max-height:70%}.phone-landscape .character-info{gap:0;align-items:center}.phone-landscape .character-info>strong{font-size:10px;line-height:1.2}.phone-landscape .character-company,.phone-landscape .character-power,.phone-landscape .card-status,.phone-landscape .card-key,.phone-landscape .deck-help{display:none}.phone-landscape .game-shell .power-button,.phone-landscape .game-shell .cancel-shot-button,.phone-landscape .game-shell #camera-button{right:12px;bottom:14px;min-height:46px;min-width:124px;font-size:12px;padding:11px 13px;border-radius:12px;box-shadow:0 5px 20px #0003}.phone-landscape .power-button kbd{display:none}.phone-landscape .stage-caption{left:10px;bottom:14px;max-width:min(250px,calc(100% - 160px));padding:7px 9px;font-size:10px;letter-spacing:0;background:#0b192bd9;border-radius:9px}.phone-landscape #mobile-power-hint{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px}.phone-landscape .stage-guide{min-width:0}.phone-landscape #stage-instruction{font-size:10px}.phone-landscape .power-toast{top:66px;font-size:11px}.phone-landscape .friend-room-bar{left:8px;right:calc(var(--sidebar) + 8px);min-height:40px;padding:4px 8px}.phone-landscape .friend-bar-actions .outline-button{min-height:40px;min-width:44px}.phone-landscape .friend-spectator-label{padding:5px 9px;font-size:9px}@media(min-height:375px){.phone-landscape{--sidebar:124px;--sidebar-width:124px}}.phone-landscape .dialog button{min-height:44px}.phone-landscape .dialog .dialog-close{min-width:44px}.phone-landscape .dialog>p,.phone-landscape .help-steps p,.phone-landscape .help-goal p{font-size:12px;line-height:1.5}.phone-landscape .dialog h2{font-size:28px}.phone-landscape .dialog .dialog-eyebrow{font-size:9px}.phone-landscape .dialog .primary-button{font-size:13px}.phone-landscape .dialog .secondary-button,.phone-landscape .level-option strong{font-size:12px}.phone-landscape .level-option small{font-size:9px}.phone-landscape .dialog .intro-fineprint{font-size:9px;line-height:1.5}.friends-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 14px;border:1px solid #324457;border-radius:9px;background:#172636;color:#e5f8ff;font-size:12px;font-weight:700;white-space:nowrap}.friends-button:hover{background:#22394a;border-color:#5dcfc9}.friends-button>span:first-child{font-size:19px;line-height:1}.friend-room-bar{position:absolute;z-index:4;top:88px;left:22px;right:calc(var(--sidebar-width,240px) + 22px);display:flex;align-items:center;gap:18px;min-height:58px;padding:10px 14px;border:1px solid #304253;border-radius:12px;background:#101c2bed;box-shadow:0 6px 22px #0003;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.friend-match-title{display:flex;align-items:center;gap:9px;flex-shrink:0}.friend-match-title>span:last-child{display:flex;flex-direction:column;gap:4px}.friend-match-title strong{font-size:10px;letter-spacing:.5px}.friend-match-title small{font-size:11px;color:#b3c5d3}.friend-online-dot{width:7px;height:7px;background:#66dfbd;border-radius:50%;box-shadow:0 0 0 4px #66dfbd16}.friend-online-dot.not-connected{background:#ffbb70}.friend-live-scores{display:flex;gap:18px;margin-left:auto;align-items:center;min-width:0}.friend-live-score{display:flex;flex-direction:column;gap:3px;min-width:50px;border-bottom:2px solid transparent;padding-bottom:3px}.friend-live-score span{font-size:10px;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#c6d3df}.friend-live-score strong{font-size:17px;font-variant-numeric:tabular-nums}.friend-live-score.active-turn{border-color:#6ddfd3}.friend-live-score.active-turn span{color:#8ff3e7}.friend-bar-actions{display:flex;align-items:center;gap:12px}.friend-bar-actions .outline-button{min-height:36px;padding:7px 11px;font-size:11px}.friend-turn-clock{font-size:15px;font-weight:750;font-variant-numeric:tabular-nums}.friend-turn-clock.urgent{color:#ff9a84}.friend-spectator-label{position:absolute;top:158px;left:50%;transform:translate(-50%);font-size:10px;font-weight:750;letter-spacing:.6px;border-radius:20px;padding:9px 15px;background:#101c2bed;color:#bff9ed;border:1px solid #3b6a69;pointer-events:none;white-space:nowrap}.modal-layer.modal-friends{position:fixed;inset:0;z-index:50;padding:24px}.game-shell:has(.modal-friends:not([hidden])){z-index:50}.modal-friends .dialog{width:480px;padding:28px 32px;max-height:calc(100dvh - 48px)}.modal-friends h2{font-size:32px;line-height:1.1;margin:14px 0}.modal-friends .dialog>p{font-size:13px;line-height:1.6;margin-bottom:18px;color:#b4c4d2}.modal-friends .dialog h2>span{color:var(--orange)}.friend-form{display:flex;flex-direction:column;gap:8px}.friend-form label{font-size:11px;font-weight:750;letter-spacing:.6px}.friend-form label:not(:first-child){margin-top:9px}.friend-form label>span{font-size:11px;font-weight:500;letter-spacing:0;color:#a5b8c9;display:block;margin-top:5px}.friend-form input,.friend-copy-fallback{width:100%;min-height:46px;border:1px solid #42566c;border-radius:9px;background:#0b1422;color:#f0f5fc;padding:12px 13px;font:inherit;font-size:16px;outline-offset:3px}.friend-form input:focus-visible{outline:2px solid #79e3d6}.friend-form input::placeholder{color:#94a9be}.friend-form-error{min-height:16px!important;font-size:12px!important;line-height:1.5!important;color:#ffa490!important;margin:4px 0 6px!important}.friend-form-actions{display:flex;flex-direction:column}.friend-form .secondary-button{padding-top:14px}.friend-invite{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#102e35;border:1px solid #366668;border-radius:11px;padding:12px 14px;margin:10px 0 16px}.friend-invite>span{display:flex;flex-direction:column;gap:4px}.friend-invite small{font-size:10px;letter-spacing:.8px;font-weight:750;color:#abdfda}.friend-invite strong{font-size:25px;letter-spacing:3px;font-weight:750;color:#eefffa}.friend-invite .outline-button{font-size:11px;padding:8px 10px;min-height:40px}.friend-player-list{display:flex;flex-direction:column;margin:10px 0}.friend-player{display:flex;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #2b3b4d}.friend-player:last-child{border-bottom:0}.friend-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--player-color);color:#132333;font-size:16px;font-weight:750;flex-shrink:0}.friend-player>span:nth-child(2){display:flex;flex-direction:column;gap:4px;min-width:0}.friend-player strong{font-size:14px;overflow-wrap:anywhere}.friend-player strong>small{font-size:11px;font-weight:500}.friend-player>span:nth-child(2)>small{font-size:9px;letter-spacing:.4px;color:#b1c2d1}.friend-player-score{margin-left:auto;text-align:right;font-size:18px;font-weight:750;font-variant-numeric:tabular-nums}.friend-player-score small{display:block;font-size:10px;font-weight:500;color:#aebfd0;margin-top:4px}.friend-player.current-player{background:#1b2c40;border-radius:8px;padding-left:8px;padding-right:8px}.friend-leave{display:block;width:100%;margin-top:14px;background:transparent;text-decoration:underline;text-underline-offset:4px;color:#c5b9b5;font-size:12px;padding:12px;min-height:44px}.friend-connecting,.friend-connection-note{padding:12px;border-radius:9px;background:#172f3b;color:#bce5e4;font-size:12px;line-height:1.5;margin:10px 0}@media(max-width:1100px){.friend-room-bar,.friend-live-scores{gap:12px}.friend-live-score span{max-width:80px}.friend-match-title small{font-size:10px}.friends-button{font-size:11px;padding:8px 10px}}@media(max-height:560px)and (orientation:landscape){.friends-button{min-height:36px;font-size:11px;padding:6px 10px}.friend-room-bar{top:59px;left:12px;right:calc(var(--sidebar-width,144px) + 12px);min-height:46px;padding:5px 9px;gap:10px}.friend-match-title strong{font-size:8px}.friend-match-title small{font-size:9px}.friend-match-title>span:last-child{gap:2px}.friend-live-scores{gap:12px}.friend-live-score{min-width:36px;gap:1px;padding-bottom:0}.friend-live-score span{font-size:9px;max-width:65px}.friend-live-score strong{font-size:13px}.friend-bar-actions{gap:8px}.friend-turn-clock{font-size:13px}.friend-bar-actions .outline-button{font-size:10px;padding:6px 8px;min-height:34px}.friend-spectator-label{top:114px;font-size:9px;padding:6px 11px}.modal-layer.modal-friends{padding:10px}.modal-friends .dialog{padding:18px 22px;width:500px;max-height:calc(100dvh - 20px)}.modal-friends h2{font-size:25px;margin:8px 0}.modal-friends .dialog>p{font-size:11px;margin-bottom:10px;line-height:1.4}.friend-form{gap:5px}.friend-form label{font-size:10px}.friend-form label>span{font-size:10px;margin-top:2px}.friend-form input{padding:8px 10px;min-height:40px}.friend-form label:not(:first-child){margin-top:2px}.friend-form-error{font-size:10px!important;min-height:14px!important;margin:2px 0!important}.friend-invite{padding:8px 10px;margin:5px 0 8px}.friend-invite strong{font-size:20px}.friend-invite small{font-size:9px}.friend-player-list{margin:5px 0;display:grid;grid-template-columns:1fr 1fr;gap:4px 13px}.friend-player{padding:6px 0;gap:6px}.friend-avatar{width:29px;height:29px;font-size:13px}.friend-player strong{font-size:12px}.friend-player>span:nth-child(2)>small{font-size:8px}.friend-player-score{font-size:14px}.friend-player-score small{font-size:9px}.friend-leave{font-size:11px;margin-top:7px;padding:7px;min-height:36px}.friend-form .secondary-button{padding-top:9px}.modal-friends .intro-fineprint{margin-top:9px;font-size:9px}.friend-connecting,.friend-connection-note{font-size:11px;padding:8px;margin:6px 0}}@media(max-width:650px){.friends-button{width:38px;min-height:38px;padding:6px}.friends-button>span:last-child{display:none}.friends-button>span:first-child{font-size:21px}.friend-room-bar{gap:8px}.friend-online-dot{display:none}.friend-live-scores{gap:8px}.friend-live-score span{max-width:47px}.friend-match-title small{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media(max-width:700px)and (orientation:portrait){.friend-room-bar{top:134px;left:9px;right:calc(var(--sidebar-width,72px) + 9px);min-height:90px;padding:9px;display:grid;grid-template-columns:1fr auto;gap:7px 6px;border-radius:9px}.friend-match-title strong{font-size:9px}.friend-match-title small{font-size:10px;max-width:155px}.friend-bar-actions{grid-column:2;grid-row:1;gap:7px}.friend-bar-actions .outline-button{font-size:10px;min-height:36px;padding:6px 8px}.friend-turn-clock{font-size:12px}.friend-live-scores{grid-column:1/-1;grid-row:2;justify-content:space-between;margin:0;gap:6px}.friend-live-score{min-width:0;flex:1;flex-direction:row;align-items:center;gap:5px;padding-bottom:3px}.friend-live-score span{font-size:10px;max-width:72px}.friend-live-score strong{font-size:13px}.friend-spectator-label{top:236px;max-width:calc(100% - 18px);overflow:hidden;text-overflow:ellipsis;font-size:9px;padding:8px 12px}.modal-layer.modal-friends{padding:12px}.modal-friends .dialog{width:100%;max-height:calc(100dvh - 24px);padding:25px 20px}.modal-friends h2{font-size:29px}.friend-player-list{gap:0}.friend-player{padding:11px 0}}@media(max-height:400px)and (orientation:landscape){.friend-form{display:grid;grid-template-columns:1fr 1fr;column-gap:12px;align-items:end}.friend-form label[for=friend-name]{grid-column:1;grid-row:1}.friend-form label[for=friend-code]{grid-column:2;grid-row:1;margin-top:0}.friend-form #friend-name{grid-column:1;grid-row:2;min-width:0}.friend-form #friend-code{grid-column:2;grid-row:2;min-width:0}.friend-form-error,.friend-form-actions{grid-column:1/-1}.friend-form-actions{flex-direction:row;gap:12px;align-items:center}.friend-form-actions>button{flex:1;min-height:40px}.friend-form .secondary-button{padding:6px 0}}.friend-form-error:empty{display:none;min-height:0!important;margin:0!important}@media(max-height:400px)and (orientation:landscape){.modal-friends .dialog{padding:14px 22px}.modal-friends h2{margin:6px 0}.modal-friends .dialog>p{margin-bottom:8px}.friend-invite{margin:5px 0 6px}.friend-leave{margin-top:5px;min-height:40px}}.friend-room-bar{background:#101c2bf5;-webkit-backdrop-filter:none;backdrop-filter:none}#friend-target{display:block;width:100%;min-height:44px;margin:6px 0 12px;padding:10px 12px;border:1px solid #42566c;border-radius:9px;background:#0b1422;color:#f0f5fc;font:inherit;font-size:16px;color-scheme:dark}#friend-target:focus-visible{outline:2px solid #79e3d6;outline-offset:3px}.friend-player-score small{max-width:160px;overflow-wrap:anywhere}
