/* Balloon Buddies Flight Club — artwork and touch-first multiplayer menus. */
:root{--ink:#143950;--navy:#0b4261;--paper:#fffdf3;--yellow:#ffe148;--pink:#ff658c;--cyan:#27d8ed}
body{color:var(--ink);font-family:'Malgun Gothic',system-ui,sans-serif}button{border-color:var(--ink);box-shadow:0 4px 0 var(--ink),inset 0 2px 0 #fff9;transition:transform .16s,box-shadow .16s,filter .16s}button:focus-visible,a:focus-visible{outline:3px solid #fff;outline-offset:4px;box-shadow:0 0 0 7px #086da9}button:hover{filter:brightness(1.04)}button:disabled{filter:grayscale(.4);opacity:.55}button.primary{background:linear-gradient(#ffeb63,#ffd62a)!important;border-color:#614810;box-shadow:0 5px 0 #90621a,inset 0 2px #fff8;font-size:17px}.scene-art{object-fit:contain;pointer-events:none;user-select:none;display:block}#multi{background:linear-gradient(#0976ba18,#00587918),url('assets/multiplayer/harbor.webp') center/cover fixed}#screen{max-width:1500px;padding:24px 42px 30px}header{margin:0 0 20px;gap:18px}header h1{color:#fff;font-size:clamp(25px,3vw,42px);font-weight:950;letter-spacing:-1.5px;text-shadow:0 3px 0 #116491,0 5px 14px #06518166}header .eyebrow{color:#e7fcff;letter-spacing:3px;font-size:10px;text-shadow:0 1px 3px #07518f}.back{background:#fffdf0;box-shadow:0 4px 0 #13557770;border:2px solid #fff8;padding:12px 20px}.account{padding:6px 7px 6px 15px;background:#075980b8;border:1px solid #ffffff65;border-radius:20px;color:white;font-size:13px;box-shadow:0 4px 12px #07598022}.account small{font-size:10px;color:#bceeff}.account button{min-height:42px;padding:7px 12px;font-size:12px;border-color:#0c4c67;box-shadow:0 3px 0 #093d55}.account button[data-action=sound]{width:44px;font-size:23px;padding:3px}nav{align-items:center;gap:10px;margin-bottom:22px;padding:7px;background:#064d78cc;border:1px solid #aeeeff70;border-radius:19px;box-shadow:0 6px 18px #02558435;width:100%}nav button{min-width:125px;min-height:44px;border:0;color:#d2f6ff;background:transparent;box-shadow:none;border-radius:12px;font-size:16px}nav button:hover{background:#ffffff18}nav button[aria-current=page]{background:var(--yellow);color:#244050;box-shadow:0 3px 0 #b1801e,inset 0 2px 0 #fff9}.nav-count{display:inline-grid;place-items:center;min-width:22px;border-radius:8px;font-size:12px;background:#123a5018;padding:2px}.club-status{margin-left:auto;font-size:10px;color:#d5faff;letter-spacing:1.4px;padding-right:14px}.club-status i,.live-dot{display:inline-block;width:7px;height:7px;background:#82ed71;border-radius:50%;box-shadow:0 0 0 4px #a5f88520;margin-right:7px}
.lounge{grid-template-columns:245px minmax(0,1fr);gap:22px}.my-buddy,.panel,.open-rooms{border:2px solid white;box-shadow:0 7px 0 #0e577b5c,0 12px 28px #05456826;background:var(--paper);border-radius:25px}.my-buddy{position:relative;padding:0 18px 18px;gap:7px;overflow:hidden;align-self:start}.pilot-label{width:calc(100% + 36px);padding:14px 18px;background:var(--navy);color:#fff1a3;letter-spacing:2px;font-size:10px;text-align:left;font-weight:900}.pilot-label i{float:right;font-size:15px;color:#ffe145}.pilot-portrait{position:relative;display:grid;place-items:center;width:170px;height:180px;margin:8px auto 0;background:radial-gradient(ellipse,#72e4f8 0,#bff7fe 49%,transparent 50%)}.pilot-portrait .buddy{width:155px;height:155px;filter:drop-shadow(0 9px 0 #07577519);animation:float 3.5s ease-in-out infinite}.pilot-orbit{position:absolute;right:1px;top:17px;color:#ffb700;font-size:35px;transform:rotate(18deg)}.my-buddy h2{font-size:27px;max-width:100%;overflow-wrap:anywhere}.my-buddy .eyebrow{font-size:10px;letter-spacing:2px;margin:0}.my-buddy p{font-size:12px;color:#52707c}.stats{width:100%;gap:0;padding:14px 0;border-block:1px dashed #acbec6;margin:14px 0 10px}.stats b{flex:1;font-size:25px}.stats b+b{border-left:1px solid #dbe4e3}.stats small{color:#5c7684;font-weight:700}.my-buddy>button{width:100%;background:#ffdf42;border-color:#81611e;box-shadow:0 4px 0 #99752e}.pass-code{font-size:9px;color:#768b8e;letter-spacing:1px;margin-top:8px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:0 2px 13px;color:white}.section-heading .eyebrow{margin:0 0 4px;color:#cef6ff;font-size:9px;letter-spacing:2px}.section-heading h2{font-size:23px;text-shadow:0 2px 0 #0d6890}.section-heading>span{font-size:11px;padding-bottom:2px;color:#eaffff}.mode-grid{gap:17px}.mode-card{height:185px;min-height:0;border:3px solid #fff;border-radius:23px;padding:19px 21px;box-shadow:0 6px 0 #0b507f7a,0 9px 19px #02427229;isolation:isolate;background:linear-gradient(125deg,#fffdf2,#ffec8c);overflow:hidden}.mode-card.mode-team{background:linear-gradient(125deg,#eaf9ff,#68cef9)}.mode-card.mode-friend-duel{background:linear-gradient(125deg,#efffe4,#97eaae)}.mode-card.mode-friend-team{background:linear-gradient(125deg,#fff0fb,#d4a7fd)}.mode-card:after{content:'';position:absolute;width:220px;height:220px;border-radius:50%;right:-70px;top:-70px;background:#ffffff45;z-index:-1}.mode-card .mode-tag{float:none;display:inline-block;font-size:9px;letter-spacing:1.6px;background:#fff9;border:1px solid #fff;padding:5px 8px;border-radius:7px;margin:0;color:#436075}.mode-card .mode-number{position:absolute;right:13px;top:6px;font-size:46px;font-weight:950;font-style:italic;opacity:.1;float:none;margin:0}.mode-card .scene-art{position:absolute;right:8px;top:10px;width:50%;height:145px;z-index:-1;transition:transform .25s;filter:drop-shadow(0 7px 2px #17475c15)}.mode-card:hover .scene-art{transform:translateY(-6px) rotate(3deg)}.mode-card .mode-copy{position:absolute;left:21px;bottom:24px;right:34px}.mode-card strong{font-size:clamp(18px,1.65vw,26px);margin:0 0 6px;letter-spacing:-1px;text-shadow:0 1px 0 #fff}.mode-card small{font-size:11px;color:#355367;max-width:80%}.mode-card i{background:#fff;border:2px solid #fff;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;right:13px;bottom:18px;font-style:normal;font-size:21px;box-shadow:0 3px 0 #17314820}.open-rooms{margin-top:20px;padding:17px 21px;border-radius:20px;background:#fffdf3f2}.room-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.room-heading h2{font-size:15px;margin:0}.room-count{font-size:10px;font-weight:900;background:#e2f1f1;border-radius:8px;padding:5px 8px;color:#37757c}.open-rooms p{font-size:12px;padding:11px 0 0;color:#587585}.room-row{font-size:12px}.room-row button{min-height:40px;padding:6px 15px}.room-row:last-child{border:0;padding-bottom:0}
.panel{padding:26px}.panel>.eyebrow{margin-top:0}.panel h2{font-size:25px;letter-spacing:-.6px}.career-layout{grid-template-columns:minmax(280px,.85fr) minmax(0,1.4fr)}.career-records{align-self:start}.career-row{padding:10px 6px;border-radius:13px}.career-row.selected{background:#fff2ae;box-shadow:inset 0 0 0 2px #ffcf43}.career-row b{overflow-wrap:anywhere}.career-row button{font-size:12px;padding:7px 10px;min-height:40px}.career-row [data-action=delete-career]{background:transparent;border:0;box-shadow:none;color:#8d6a66}.roster-preview{display:flex;align-items:center;gap:20px;border-bottom:1px dashed #b4ccd0;margin-bottom:16px;padding-bottom:12px}.roster-preview>.buddy{width:110px;height:110px;background-color:#b7eff5;border-radius:24px}.roster-preview h2{font-size:30px;margin:5px 0}.roster-preview p{font-size:13px}.roster-preview .eyebrow{font-size:9px;letter-spacing:1.5px}.character-grid{grid-template-columns:repeat(8,1fr);max-height:270px;gap:8px;padding:4px 5px 12px}.character-grid button{background:#eaf5f4;border:2px solid #c0dfe1;box-shadow:0 3px 0 #a4c5ce;transition:transform .13s}.character-grid button[aria-pressed=true]{border-color:#dc9b0d;box-shadow:0 0 0 3px #ffe35066,0 3px 0 #bb8e27;transform:translateY(-2px)}.character-grid .buddy{height:63px}.character-grid small{display:block;padding-bottom:3px;color:#356076}#career-form label{font-size:12px}.inline button{white-space:nowrap}.inline{gap:10px}.inline input{width:0}input,select{border-color:#c3d9dd;background:#fff;border-radius:13px;box-shadow:inset 0 2px 4px #14395008}input:focus,select:focus{outline:3px solid #ffcf42;border-color:#c59b35}.friend-layout{gap:22px;grid-template-columns:1.1fr 1fr}.friend-heading{display:flex;gap:18px;align-items:center;margin:-6px 0 14px}.friend-heading .scene-art{width:140px;height:105px}.friend-heading h2{margin:6px 0;font-size:25px}.friend-heading p{font-size:12px;color:#5b7887}.friend-heading .eyebrow{font-size:9px;letter-spacing:2px;margin:0}.qr-actions button{flex:1;font-size:14px;background:#dff6fa;border-color:#5ba4b4;box-shadow:0 4px 0 #48899e}.qr-actions button:first-child{background:#ffe787;border-color:#a48334;box-shadow:0 4px 0 #a48334}.friend-search-panel>small{display:inline-block;background:#edf4f2;padding:7px 12px;border-radius:8px;color:#437184}.friend-search-panel>h2{border-top:1px dashed #c4d9dc;padding-top:18px;margin-top:18px;font-size:17px}.friend-search-panel .note{font-size:11px;color:#67818d}.friends-list h2 em{font-style:normal;border-radius:10px;background:#ffdf48;padding:3px 9px;font-size:16px;margin-left:6px}.person{padding:12px 5px;gap:10px}.person>.buddy{background-color:#dff4f0;border:1px solid #c1e2de;border-radius:14px;width:58px;height:58px;flex-basis:58px}.person b{font-size:15px}.person small{font-size:10px;color:#78909a}.person>span:not(.buddy){font-size:11px;color:#457d64}.person button{font-size:12px;padding:8px 12px;min-height:40px}.friends-list>p{padding:25px 6px;font-size:13px;color:#708c97}
.setup{max-width:1000px;padding:25px 32px}.setup-heading{text-align:center}.setup-heading .eyebrow{font-size:9px;margin:0 0 7px}.setup-heading h2{font-size:28px;margin:0}.choice-row{gap:20px;margin:22px 0 17px}.choice-row button{position:relative;overflow:hidden;padding:0;height:210px;border:2px solid #b8d6df;border-radius:21px;background:#ebfaff;box-shadow:0 5px 0 #accad4;text-align:left;isolation:isolate}.choice-row button:last-child{background:#eaffec}.choice-row button[aria-pressed=true]{border:3px solid #edb628;background:linear-gradient(120deg,#fff4be,#ffe069)!important;box-shadow:0 5px 0 #cc9123,0 0 0 4px #ffe77855}.choice-row .scene-art{position:absolute;right:9px;top:1px;width:70%;height:160px;z-index:-1}.choice-copy{position:absolute;left:21px;bottom:20px;display:flex;flex-direction:column;gap:4px}.choice-copy small{font-size:9px;letter-spacing:1.5px;color:#4d777e}.choice-copy strong{font-size:29px;letter-spacing:-1px}.choice-copy>span{font-size:12px}.choice-check{position:absolute;left:18px;top:15px;background:#fff;border:2px solid #b3cacf;width:29px;height:29px;border-radius:50%;display:grid;place-items:center;font-size:19px}.choice-row [aria-pressed=true] .choice-check{background:#165369;border-color:#165369;color:#fff}.mode-tip{background:#eaf4f3;border-radius:13px;padding:13px 18px;font-size:12px;color:#537281}.mode-tip b{display:block;margin-bottom:3px;color:#254e64;font-size:13px}.setup .actions{margin-top:22px}.setup .actions .primary{min-width:235px}.stage-select{display:flex;align-items:center;gap:16px;font-size:13px}.stage-select select{width:auto;flex:1;margin:0}.friend-selection{margin-top:18px;border-top:1px dashed #b5d1d2}.friend-selection h3{font-size:16px;margin-top:16px}.friend-selection h3 small{float:right;font-size:11px;color:#45747f}.friend-selection p{font-size:12px;color:#607d87}.friend-picks{margin:10px 0}.friend-picks button{display:flex;align-items:center;gap:10px;text-align:left;padding:8px 14px;font-size:13px;border-color:#bad6dc;box-shadow:0 3px 0 #98bcc7}.friend-picks .buddy{width:42px;height:42px}.friend-picks small{font-size:10px;margin-top:4px}.team-intro{display:flex;align-items:center;justify-content:center;gap:25px;margin:20px 0}.team-intro .scene-art{width:48%;max-height:235px}.team-intro h3{margin:16px 0 8px}.team-intro p{font-size:13px}.team-chip{display:inline-block;padding:6px 10px;border-radius:8px;font-size:10px;letter-spacing:1px;font-weight:900;background:#d3efff}.team-chip.red{background:#ffdae3;margin-left:8px}
.waiting{max-width:1140px;margin:auto;color:white}.waiting>.pill{background:#094367c9;border:1px solid #ffffff70;font-size:12px;letter-spacing:1px}.waiting h2{text-shadow:0 3px 0 #11709a;font-size:35px;margin:16px 0 8px}.waiting>p{font-size:13px;text-shadow:0 1px 2px #075780}.team-slots{gap:20px;margin:24px 0}.player-slot{position:relative;background:linear-gradient(#d9f8ff,#fffdf3 80%);color:#244a64;border:3px solid #fff;box-shadow:0 7px 0 #0a558f88,0 10px 24px #07507725;border-radius:23px;overflow:hidden;padding:0 17px 17px;width:235px;min-height:270px;gap:10px}.player-slot.team-1{border-color:#fff;background:linear-gradient(#ffd9e7,#fffdf3 80%)}.slot-label{padding:11px;width:calc(100% + 34px);background:#147bbf;color:#fff;font-weight:900;font-size:10px;letter-spacing:2px}.team-1 .slot-label{background:#e75c82}.player-slot .buddy{width:118px;height:118px;margin-top:6px;filter:drop-shadow(0 7px 0 #0a496416)}.player-slot h3{font-size:19px;overflow-wrap:anywhere}.player-slot>b{font-size:11px}.ready-label{background:#e7efec;color:#708c8c;font-size:11px;margin-top:auto;padding:7px 16px;min-width:110px}.is-ready .ready-label{color:#126244;background:#c1f49e}.is-ready{box-shadow:0 7px 0 #0a558f88,0 0 0 4px #dbff8277}.player-slot.empty{background:#085b858c;border:2px dashed #c0f4ff9c;color:#e3fcff;box-shadow:none}.empty .slot-label{background:#07446455}.waiting-balloon{background:#b8f2ff22;border:2px dashed #d4f6ff80;color:white;margin-top:14px;width:76px;height:93px;font-size:44px}.empty h3{font-size:15px}.empty small{font-size:10px;color:#b6e4ef}.waiting .actions{margin-top:20px}.waiting .actions button{min-width:180px}.waiting .actions .primary{min-width:240px}.results{position:relative;max-width:950px;border:3px solid white;background:radial-gradient(ellipse at 50% 0,#ffe9a3,transparent 70%),#fffdf3;padding:26px 32px;box-shadow:0 8px 0 #0a527d66,0 16px 30px #064d6828}.result-medal{margin:auto;width:68px;height:68px;display:grid;place-items:center;color:#fff5b2;font-size:44px;text-shadow:0 2px 0 #bf7e16;border:5px solid #ffe589;border-radius:50%;background:linear-gradient(#ffca37,#ee9d13);box-shadow:0 3px 0 #b7802d;transform:rotate(-8deg)}.results .confetti{position:absolute;top:30px;left:0;right:0;pointer-events:none;font-size:35px;letter-spacing:50px;opacity:.5}.results .eyebrow{font-size:9px;margin:15px 0 5px}.results h2{font-size:36px;color:#17435a}.podium{margin:10px;gap:40px}.podium>div{position:relative;padding:5px 20px 12px;background:linear-gradient(transparent 75%,#ffdc57 75%);border-radius:20px}.podium b{display:block;font-size:15px}.podium .buddy{width:130px;height:130px}.final-score{margin:18px auto 12px;gap:25px;border-radius:17px;padding:12px;background:#eaf3f1;max-width:570px;font-size:27px}.individual-scores{font-size:12px;gap:18px}.individual-scores b{color:#a87818;margin-left:8px}.results>p{font-size:12px;color:#617e89}.results .actions .primary{min-width:220px}.login-card{position:relative;margin:5vh auto;max-width:870px;padding:40px 42px;background:linear-gradient(110deg,#fffdf4 40%,#e3faff);border:3px solid white;box-shadow:0 9px 0 #10587566;isolation:isolate;overflow:hidden}.login-art{position:absolute;right:5px;top:55px;width:46%;height:320px;z-index:-1}.login-card h1{font-size:48px;color:#0b4e71;letter-spacing:-2px;margin:24px 0 15px}.login-card>.eyebrow{font-size:9px;margin-top:25px}.login-card>p{max-width:52%;font-size:14px}.login-card #dev-login{max-width:460px;background:#ffffffcf;border:1px dashed #a0c7d3;padding:12px;border-radius:15px;margin-top:20px}.login-card #dev-login label{margin-top:0;font-size:12px}.login-card #dev-login small{font-size:10px}dialog{border:3px solid white;background:var(--paper);box-shadow:0 8px 0 #092f4366,0 25px 90px #042d5877;border-radius:26px}dialog::backdrop{background:#073449bb;backdrop-filter:blur(6px)}.invite-art{width:215px;height:140px;margin:-5px auto 5px}.friend-invite-modal{background:radial-gradient(ellipse at 50% 0,#b9f5ff,transparent 70%),var(--paper);padding:22px 28px}.friend-invite-modal h2{font-size:24px}.friend-invite-modal .eyebrow{font-size:10px}.friend-invite-modal p{font-size:13px;margin-bottom:18px}.friend-invite-modal .join-invite{font-size:23px}.friend-qr-modal{background:linear-gradient(#d7f9ff,transparent 130px),var(--paper)}.qr-picture{border:2px solid #dae8e8;box-shadow:0 5px 0 #acccd440}.qr-code{letter-spacing:3px}.qr-close{background:#ffe152}.qr-start{background:#ffdf48}.qr-status{color:#3d6a7b}.invite{border-color:white;box-shadow:0 4px 0 #06507766}.invite>b{font-size:13px}.score,.timer{border:2px solid #fff;box-shadow:0 3px 0 #155a7570}.score.blue{background:#e4f6ff}.score.red{background:#ffe8eb}.timer{background:#ffea75}.timer.urgent{background:#ff3d5f}.respawn{border:1px solid #ffffff66;box-shadow:0 5px 20px #10354955}
@media(min-width:1250px) and (min-height:780px){#screen{padding-top:35px}.mode-card{height:210px}.mode-card .scene-art{height:170px}.pilot-portrait{height:210px;width:200px}.pilot-portrait .buddy{width:185px;height:185px}.my-buddy{padding-bottom:22px}}
@media(max-width:1100px){#screen{padding:16px 24px}.lounge{grid-template-columns:195px 1fr;gap:17px}.my-buddy{padding:0 13px 14px}.pilot-label{width:calc(100% + 26px);padding:12px 13px;font-size:8px}.pilot-portrait{width:140px;height:150px}.pilot-portrait .buddy{width:130px;height:130px}.my-buddy h2{font-size:23px}.stats b{font-size:21px}.mode-card{height:170px;padding:14px 16px}.mode-card .mode-copy{left:16px;bottom:20px}.mode-card strong{font-size:21px}.mode-card .scene-art{width:54%;height:130px;right:2px;top:7px}.mode-card .mode-tag{font-size:8px;letter-spacing:1px}.section-heading h2{font-size:21px}.account{font-size:11px}.account small{display:none}.club-status{font-size:8px}.character-grid{grid-template-columns:repeat(6,1fr)}.panel{padding:20px}.friend-heading{gap:9px}.friend-heading .scene-art{width:100px;height:90px}.friend-heading h2{font-size:21px}.qr-actions button{font-size:12px;padding:9px 10px}.career-layout{grid-template-columns:1fr 1.4fr}.career-row .buddy{width:48px;height:48px}.career-row{gap:7px}.career-row button{padding:6px}.choice-row .scene-art{width:64%;height:145px}.choice-copy strong{font-size:26px}.team-slots{gap:14px}.player-slot{width:23%}}
@media(max-width:650px) and (orientation:portrait){#screen{padding:16px}header{flex-wrap:wrap;gap:13px}header h1{font-size:28px}.account{width:100%;justify-content:flex-end}.account small{display:inline}.club-status{display:none}nav{gap:5px}nav button{min-width:0;flex:1;font-size:14px}.lounge,.career-layout,.friend-layout{grid-template-columns:1fr}.my-buddy{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:10px;padding:14px}.pilot-label,.my-buddy .eyebrow,.my-buddy p,.stats,.pass-code,.pilot-orbit{display:none}.pilot-portrait{width:55px;height:55px;margin:0}.pilot-portrait .buddy{width:55px;height:55px}.my-buddy h2{font-size:20px;flex:1}.my-buddy>button{width:auto;font-size:12px}.section-heading>span{display:none}.mode-grid{gap:12px}.mode-card{height:195px;padding:10px}.mode-card .scene-art{width:90%;right:5%;height:112px;top:20px}.mode-card .mode-copy{left:11px;bottom:20px}.mode-card strong{font-size:17px}.mode-card small{font-size:9px}.mode-card i{display:none}.mode-card .mode-tag{font-size:7px;padding:3px 5px}.section-heading{margin-top:6px}.open-rooms p{line-height:1.7}.setup{padding:20px 15px}.setup-heading h2{font-size:21px}.choice-row{gap:12px}.choice-row button{height:200px}.choice-row .scene-art{width:100%;height:120px;right:0;top:18px}.choice-copy{left:12px;bottom:15px}.choice-copy strong{font-size:23px}.choice-copy small{font-size:7px}.choice-copy>span{font-size:10px}.choice-check{width:23px;height:23px;left:8px;top:8px;font-size:15px}.stage-select{display:block}.stage-select select{width:100%;margin-top:8px}.actions button,.setup .actions .primary{min-width:0;flex:1;padding:12px}.team-intro{gap:12px}.team-intro h3{font-size:17px}.team-intro p{font-size:11px}.team-chip{font-size:8px;padding:5px}.team-intro .scene-art{width:45%}.team-slots{flex-wrap:wrap}.player-slot{width:46%;min-height:240px}.waiting h2{font-size:26px}.waiting .actions .primary,.waiting .actions button{min-width:0}.results{padding:18px 12px}.results h2{font-size:27px}.results .confetti{letter-spacing:20px;font-size:24px}.final-score{font-size:18px;gap:12px}.results .actions .primary{min-width:0}.login-card{padding:24px;margin:12px auto}.login-art{position:relative;right:auto;top:auto;width:200px;height:140px;margin:0 auto}.login-card h1{font-size:35px}.login-card>p{max-width:100%}.login-card>.eyebrow{margin-top:20px}}
@media(max-height:520px) and (orientation:landscape){#screen{padding:10px max(16px,env(safe-area-inset-left)) 18px}header{margin-bottom:9px;gap:12px;height:44px}header h1{font-size:24px;letter-spacing:-.8px}header .eyebrow{display:none}.back{padding:10px 15px;font-size:12px}.account{padding:3px 5px 3px 11px;border-radius:15px;gap:7px;font-size:10px}.account button{min-height:36px;font-size:10px;padding:5px 10px}.account button[data-action=sound]{width:36px;font-size:21px}nav{padding:4px;margin-bottom:12px;border-radius:14px;gap:6px}nav button{min-height:40px;min-width:100px;font-size:13px;padding:6px 14px;border-radius:9px}.club-status{font-size:8px;padding-right:7px}.lounge{grid-template-columns:155px minmax(0,1fr);gap:13px}.my-buddy{gap:3px;padding:0 11px 12px;border-radius:19px}.pilot-label{padding:8px 11px;width:calc(100% + 22px);font-size:7px}.pilot-label i{font-size:10px}.pilot-portrait{width:89px;height:83px;margin-top:6px}.pilot-portrait .buddy{width:80px;height:80px}.pilot-orbit{font-size:21px;right:-3px;top:3px}.my-buddy>.eyebrow{display:none}.my-buddy h2{font-size:18px}.my-buddy p{font-size:9px}.stats{padding:8px 0;margin:6px 0}.stats b{font-size:17px}.stats small{font-size:8px}.my-buddy>button{font-size:11px;min-height:38px;padding:5px 9px}.pass-code{display:none}.section-heading{margin:0 1px 8px}.section-heading .eyebrow{display:none}.section-heading h2{font-size:17px}.section-heading>span{font-size:9px}.mode-grid{gap:10px}.mode-card{height:102px;padding:10px;border-width:2px;border-radius:16px;box-shadow:0 4px 0 #0b507f7a}.mode-card .mode-tag{font-size:6px;padding:3px 5px;letter-spacing:1px}.mode-card .mode-number{font-size:30px}.mode-card .scene-art{width:46%;height:90px;top:0;right:0}.mode-card .mode-copy{left:11px;bottom:13px;right:12px}.mode-card strong{font-size:16px;margin-bottom:3px;letter-spacing:-.6px}.mode-card small{font-size:8px;max-width:90%}.mode-card i{width:21px;height:21px;font-size:15px;right:8px;bottom:10px}.open-rooms{padding:11px 14px;margin-top:12px;border-radius:15px}.room-heading h2{font-size:12px}.room-count{font-size:8px;padding:3px 6px}.open-rooms p{font-size:10px;padding:7px 0 0}.panel{padding:15px 19px;border-radius:19px}.setup{max-width:850px;padding:16px 24px}.setup-heading .eyebrow{display:none}.setup-heading h2{font-size:21px}.choice-row{gap:15px;margin:12px 0 10px}.choice-row button{height:119px;border-radius:15px}.choice-row .scene-art{height:112px;width:48%;right:9px;top:0}.choice-copy{left:16px;bottom:15px;gap:3px}.choice-copy strong{font-size:24px}.choice-copy small{font-size:7px;letter-spacing:1px}.choice-copy>span{font-size:10px}.choice-check{left:auto;right:9px;top:9px;width:23px;height:23px;font-size:15px}.mode-tip{font-size:10px;padding:9px 13px;line-height:1.5}.mode-tip b{display:none}.setup .actions{margin-top:12px;gap:12px}.setup .actions button{min-height:44px;padding:8px 20px;font-size:14px}.stage-select{font-size:11px;margin:10px 0}.stage-select select{min-height:42px;padding:7px 12px;font-size:12px}.team-intro{margin:12px 0;gap:20px}.team-intro .scene-art{max-height:140px;width:40%}.team-intro h3{margin:10px 0 5px;font-size:20px}.team-intro p{font-size:11px}.friend-selection{margin-top:12px}.friend-selection h3{margin-top:12px;font-size:14px}.friend-selection p{font-size:10px}.friend-picks button{padding:5px 10px}.friend-picks .buddy{width:33px;height:33px}.career-layout{gap:14px;grid-template-columns:.9fr 1.3fr}.career-records>.eyebrow{font-size:8px}.career-records h2{font-size:17px}.career-row .buddy{width:42px;height:42px}.career-row b{font-size:13px}.career-row small{font-size:9px}.career-row button{font-size:10px;min-height:36px}.roster-preview{gap:12px;margin-bottom:9px;padding-bottom:8px}.roster-preview>.buddy{width:54px;height:54px;border-radius:14px}.roster-preview h2{font-size:22px;margin:2px 0}.roster-preview p{font-size:10px}.roster-preview .eyebrow{font-size:7px;margin:0}.character-grid{max-height:125px;grid-template-columns:repeat(8,1fr);gap:6px}.character-grid .buddy{height:39px}.character-grid small{font-size:8px}#career-form label{margin:8px 0 3px;font-size:10px}#career-form .inline{margin:5px 0}#career-form input{min-height:40px;font-size:12px;padding:6px 10px}#career-form button{min-height:40px;font-size:11px;padding:6px 12px}.friend-layout{gap:14px}.friend-heading{margin:0 0 8px}.friend-heading .scene-art{width:76px;height:58px}.friend-heading .eyebrow{font-size:7px}.friend-heading h2{font-size:18px;margin:3px 0}.friend-heading p{font-size:9px}.qr-actions{margin:8px 0;gap:8px}.qr-actions button{font-size:10px;min-height:40px;padding:6px}.friend-search-panel input{min-height:42px;font-size:12px}.friend-search-panel .inline{margin:8px 0}.friend-search-panel .inline button{min-height:42px;font-size:12px;padding:6px 13px}.friend-search-panel>small{font-size:9px;padding:5px 8px}.friend-search-panel>.note{font-size:9px;margin:7px 0}.friend-search-panel>h2{font-size:14px;margin-top:12px;padding-top:12px}.friends-list>.eyebrow{font-size:8px}.friends-list h2{font-size:19px}.person{padding:8px 2px}.person>.buddy{width:42px;height:42px;flex-basis:42px}.person b{font-size:12px}.person small{font-size:8px}.person>span:not(.buddy){font-size:9px}.person button{min-height:36px;font-size:10px;padding:5px 8px}.waiting .pill{font-size:10px;padding:5px 12px}.waiting h2{font-size:23px;margin:8px 0 4px}.waiting>p{font-size:10px}.team-slots{gap:14px;margin:12px 0}.player-slot{width:180px;min-height:160px;padding:0 10px 10px;gap:4px;border-radius:17px}.slot-label{width:calc(100% + 20px);padding:6px;font-size:8px;letter-spacing:1px}.player-slot .buddy{width:64px;height:64px;margin:3px 0}.player-slot h3{font-size:13px}.player-slot>b{font-size:9px}.ready-label{font-size:9px;padding:4px 10px;min-width:85px}.waiting-balloon{width:48px;height:58px;font-size:30px;margin:10px 0 5px}.empty h3{font-size:11px}.empty small{font-size:9px}.waiting .actions{margin-top:10px}.waiting .actions button{min-height:44px;padding:8px 22px;font-size:14px}.results{padding:12px 24px;max-width:850px}.result-medal{position:absolute;left:35px;top:22px;width:58px;height:58px;font-size:35px}.results .confetti{left:auto;right:15px;top:16px;letter-spacing:5px;font-size:21px}.results .eyebrow{margin:0 0 4px;font-size:8px}.results h2{font-size:26px}.podium{margin:4px;gap:22px}.podium>div{padding:2px 15px 7px}.podium .buddy{width:68px;height:68px}.podium b{font-size:11px}.final-score{margin:8px auto;font-size:19px;padding:7px;max-width:450px}.individual-scores{font-size:10px;margin:6px}.results>p{font-size:10px}.results .actions{margin-top:10px}.results .actions button{min-height:44px;padding:8px 20px;font-size:13px}.login-card{max-width:730px;margin:6px auto;padding:20px 28px}.login-art{height:240px;top:50px;width:43%}.login-card h1{font-size:34px;margin:14px 0 10px}.login-card h1 br{display:block}.login-card>.eyebrow{margin-top:15px}.login-card>p{font-size:11px;margin:9px 0}.login-card #dev-login{margin-top:12px;padding:8px;max-width:390px}.login-card #dev-login small{font-size:8px}.login-card #dev-login input{min-height:38px;font-size:11px}.login-card #dev-login button{min-height:38px;font-size:11px;padding:6px 10px}.invite-art{width:115px;height:70px;margin:0 auto}.friend-invite-modal{padding:16px 24px;width:440px}.friend-invite-modal h2{font-size:20px;margin:7px 0}.friend-invite-modal p{font-size:11px;margin:7px 0 12px}.friend-invite-modal .eyebrow{margin:4px 0;font-size:8px}.friend-invite-modal .join-invite{min-height:46px;font-size:19px}.friend-invite-modal .actions{margin-top:10px}.friend-invite-modal .actions button{min-height:38px;font-size:12px;padding:7px}.friend-qr-modal{max-height:94dvh}.qr-picture{max-width:160px}.qr-content small{margin:6px 0}.qr-close{min-height:40px;padding:7px 20px}}
@media(max-height:520px) and (orientation:landscape){.setup{padding:12px 24px}.setup .choice-row{margin:10px 0 8px}.setup .choice-row button{height:104px}.setup .choice-row .scene-art{height:100px}.setup .choice-copy{bottom:12px}.setup .actions{position:sticky;bottom:7px;padding:5px 0;margin-top:8px;background:#fffdf3f5;border-radius:12px;z-index:2}.setup .mode-tip{padding:7px 11px}.setup .stage-select{margin:8px 0}.friend-layout .panel{align-self:start}.friend-search-panel .note{margin:5px 0}}
@media(max-height:520px) and (orientation:landscape){.roster-panel .character-grid{max-height:92px}.roster-preview>.buddy{width:44px;height:44px}.roster-preview{padding-bottom:6px;margin-bottom:6px}.roster-preview h2{font-size:20px}.roster-preview p{font-size:9px}.roster-panel #career-form label{margin:5px 0 3px}}
@media(max-height:520px) and (orientation:landscape){.waiting .team-slots{margin:8px 0}.waiting .player-slot{min-height:145px;gap:3px;padding-bottom:8px}.waiting .player-slot .buddy{width:52px;height:52px}.waiting .slot-label{padding:5px}.waiting h2{margin:6px 0 3px;font-size:21px}.waiting>.pill{padding:4px 11px}.waiting .actions{margin-top:8px}.waiting-balloon{height:49px;width:42px;margin:7px 0 3px}.waiting .ready-label{padding:3px 9px}.waiting>p{font-size:9px}}
.mode-card .mode-tag{position:absolute;top:18px;left:21px}.mode-card.mode-duel{background:linear-gradient(125deg,#fff8d5,#ffda48)}.mode-card.mode-team{background:linear-gradient(125deg,#dbf7ff,#59c7f2)}.mode-card.mode-friend-duel{background:linear-gradient(125deg,#e6ffce,#7cdda0)}.mode-card.mode-friend-team{background:linear-gradient(125deg,#ffe4fa,#c998f9)}
@media(max-width:1100px){.mode-card .mode-tag{top:13px;left:16px}}
@media(max-height:520px) and (orientation:landscape){.mode-card .mode-tag{top:9px;left:11px}.my-buddy .pilot-label{padding:5px 11px;line-height:12px}.pilot-portrait{height:64px;width:76px;margin-top:5px}.pilot-portrait .buddy{height:64px;width:64px}.my-buddy p{display:none}.my-buddy .stats{padding:6px 0;margin:5px 0}.my-buddy{gap:2px}.my-buddy>button{min-height:44px}.my-buddy h2{font-size:17px;line-height:22px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
