/* Game defaults exclude SDK-owned Privy portals; :where preserves selector specificity. */
@font-face{font-family:Barlow;src:url('/fonts/barlow-condensed-bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--metal:#191d24;--metal-raised:#252b34;--steel:#525b68;--soft:#b8bec9;--cream:#fffcef;--accent:#ff7136;--ink:#fffcef;--paper:#191d24;--muted:#b8bec9;--line:#424a56;color-scheme:dark}
body.arena-shell{margin:0;background:#11151c;color:var(--cream);font-family:'DM Sans',sans-serif}body [hidden]{display:none!important}button:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)),a:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)),input:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)),select:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)){touch-action:manipulation}button:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)),a:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)){ -webkit-tap-highlight-color:transparent}button:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)){cursor:pointer}button:disabled:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)){cursor:not-allowed;opacity:.6}button:focus-visible:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)),a:focus-visible:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)),input:focus-visible:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)),select:focus-visible:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)){outline:3px solid #ffc292;outline-offset:4px}:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *))::selection{background:#61418a;color:#fffcef}*:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)){scrollbar-color:#626a77 #191d24}input:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)),textarea:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)){caret-color:#ffad77}a:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)){color:inherit}p:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)){line-height:1.6}svg:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)){width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link{position:fixed;top:-100px;z-index:100;padding:14px;background:#fffcef;color:#11151c}.skip-link:focus{top:8px}
.arena-shell .app-header{height:76px;padding:0 32px;background:linear-gradient(#252a33,#191d25);border-bottom:1px solid #515563;display:flex;gap:28px;z-index:30}.arena-shell .wordmark{display:flex;align-items:center;gap:10px;text-decoration:none}.arena-shell .wordmark>img{width:40px;height:46px;padding:0;background:transparent;border-radius:0}.arena-shell .brand-name{font:700 18px/1.15 'DM Sans',sans-serif;letter-spacing:-.03em}.arena-shell .brand-arena{display:block;font-size:11px;text-transform:uppercase;color:#b8bec9;letter-spacing:.2em;margin-top:5px}.mode-switch{position:absolute;left:50%;transform:translateX(-50%);display:flex;background:#11151c;border:1px solid #444b58;border-radius:8px;padding:4px;gap:4px}.mode-switch a{font-size:13px;min-width:90px;padding:10px 18px;text-align:center;text-decoration:none;border-radius:5px;color:#b8bec9}.mode-switch a[aria-current=page]{background:#3c344d;color:#fffcef;box-shadow:inset 0 1px #79628f}.header-actions{margin-left:auto;display:flex;gap:10px}.app-header button,.arena-shell button:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)),.arena-shell .station-nav .pit-picker{font-family:'DM Sans',sans-serif;font-size:13px;font-weight:500;border:1px solid #515967;border-radius:7px;background:linear-gradient(#303640,#252a33);color:#fffcef;padding:10px 16px;min-height:42px}.arena-shell button:hover:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)){background:#3c4350;border-color:#7b8697}.arena-shell .primary,.arena-shell .app-header .primary{background:#ff7136;border-color:#ff7136;color:#1e1720;font-weight:700;margin:0;border-radius:7px}.arena-shell .primary:hover{background:#ff996c;color:#17121b}.arena-shell .text-link{color:#e0cce9;text-underline-offset:5px;font-size:14px}body:not([data-page=arena]){overflow:auto}body:not([data-page=arena]) #match-browser,body:not([data-page=arena]) #creature-library{display:none!important}
.welcome-page{max-width:1250px;margin:0 auto;padding:120px 40px 35px}.welcome-intro{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:34px;gap:28px}.welcome-intro h1{font:700 clamp(44px,5.2vw,76px)/.94 Barlow,sans-serif;letter-spacing:-.025em;margin:0}.welcome-intro p{color:#b8bec9;font-size:16px;margin:0 0 4px;max-width:34ch}.entry-options{display:grid;grid-template-columns:1fr 1fr;gap:28px}.entry-panel{display:block;text-decoration:none;overflow:hidden;border:1px solid #69707d;border-radius:14px;background:linear-gradient(140deg,#323741,#1a1e27);transition:transform .35s cubic-bezier(.16,1,.3,1),border-color .35s;position:relative}.entry-panel:hover{transform:translateY(-5px);border-color:#c39cd6}.watch-entry:hover{border-color:#ffaa7d}.entry-art{height:clamp(200px,24vw,330px);overflow:hidden;background:#151822;position:relative}.entry-art:after{content:'';position:absolute;inset:auto 0 0;height:50px;background:linear-gradient(transparent,#222731);pointer-events:none}.entry-muse{width:100%;height:100%;object-fit:cover;object-position:center 45%}.battle-entry-art{background:linear-gradient(0deg,#11151c33,#11151c11),url('/entry/arena.png') center/cover}.entry-mon{position:absolute;bottom:15px;width:55%;height:87%;object-fit:contain;filter:drop-shadow(0 12px 9px #0008)}.entry-mon.first{left:0;transform:rotate(-7deg)}.entry-mon.second{right:0;transform:scaleX(-1) rotate(-7deg)}.entry-copy{padding:22px 28px 26px}.entry-copy h2{font:700 clamp(27px,2.6vw,38px)/1.1 Barlow,sans-serif;margin:0 0 8px;letter-spacing:0}.entry-copy p{font-size:14px;color:#b8bec9;margin:0 0 24px}.entry-action{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:700;color:#ffd2ba}.muse-entry .entry-action{color:#dbc3f0}.welcome-foot{text-align:center;color:#a9b0bd;font-size:12px;margin:26px 0 0}.account-actions{display:flex;gap:10px;flex-wrap:wrap}
/* Broadcast shell: the field stays visible, health never depends on the camera. */
.arena-shell #arena-page{padding:0;max-width:none}.arena-shell .world{top:76px;height:calc(100dvh - 76px);background:#141820}.arena-shell .station-nav{top:91px;left:24px;right:24px;max-width:none;gap:8px;z-index:12}.arena-shell .station-nav button,.arena-shell .station-nav .pit-picker{padding:9px 13px;min-height:40px;border-radius:7px;background:linear-gradient(#303640,#232833);border-color:#555e6d;font-size:12px}.arena-shell .station-nav #creature-preview,.arena-shell .station-nav #previous-match,.arena-shell .station-nav #next-match,.arena-shell .station-nav #fullscreen{display:none}.arena-shell .station-nav #toggle-inspector{margin-left:auto}.arena-shell .pit-picker select{background:transparent;color:#fffcef;max-width:180px}.arena-shell #inspector{display:none!important}.arena-shell .arena-bottom{height:48px;min-height:48px;bottom:0;background:#171c24;border-top:1px solid #454d5b;padding:8px 24px;z-index:13;align-items:center;flex-wrap:nowrap}.arena-bottom>div:first-child{display:flex;align-items:center;gap:14px}.arena-bottom #arena-caption{font-size:13px;color:#ffcfb4}.arena-bottom #arena-summary{font-size:11px;color:#bdc5d1}.arena-bottom .connection{font-size:11px;display:flex;gap:5px;max-width:none}.arena-bottom .bottom-controls{display:flex;gap:8px}.arena-shell .bottom-controls button,.arena-shell .bottom-controls label{font-size:11px;min-height:30px;padding:5px 10px;background:#252c36;border-radius:5px}.arena-shell #toggle-community{display:none}.arena-shell .view-label{bottom:62px;left:auto;right:24px;background:#1a202ae6;color:#bcc4d0;font-size:11px;z-index:3}.hud-health{display:flex;align-items:center;gap:10px}.hud-health progress{appearance:none;border:0;width:100%;height:13px;border-radius:3px;overflow:hidden;background:#070c13}.hud-health progress::-webkit-progress-bar{background:#070c13}.hud-health progress::-webkit-progress-value{background:#96d5ad;transition:width .45s}.hud-health progress::-moz-progress-bar{background:#96d5ad}.hud-health progress.low::-webkit-progress-value{background:#ff917b}.hud-health progress.low::-moz-progress-bar{background:#ff917b}.hud-health span{font-size:13px;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}.chat-dock{position:fixed;bottom:65px;left:24px;width:330px;border:1px solid #586170;border-radius:10px;background:#171d27f5;z-index:15;overflow:hidden}.chat-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #424c5d;padding:5px 6px}.chat-heading [role=tablist]{display:flex;gap:3px}.chat-heading button{background:none;border:0;min-height:36px;padding:8px 12px;font-size:12px}.chat-heading button[aria-selected=true]{background:#3c354b;color:#f0dcff}.chat-heading #collapse-chat{font-size:22px;padding:3px 12px}.chat-context{font-size:11px;color:#afb8c7;padding:10px 12px 0}.chat-dock #chat-log{height:130px;overflow:auto;padding:8px 12px;font-size:12px;scrollbar-width:thin}.chat-line{margin:0 0 9px;overflow-wrap:anywhere;line-height:1.55}.chat-line b{color:#e7cbfb;font-size:11px;margin-right:7px}.chat-line small{font-size:11px;color:#a3acbc;margin-right:6px}.chat-empty{color:#aeb6c3;font-size:12px}.chat-dock form{display:flex;padding:8px;gap:6px;border-top:1px solid #353e4c}.chat-dock input{min-width:0;flex:1;background:#10161f;border:1px solid #4a5564;border-radius:5px;padding:9px;color:#fffcef;font:12px 'DM Sans'}.chat-dock input::placeholder{color:#abb3c3}.chat-dock form button{padding:8px;min-height:38px}.chat-dock #chat-feedback{font-size:11px;color:#ffc29d;padding:0 12px;margin:0 0 8px}.chat-dock #chat-feedback:empty{display:none}.chat-dock.collapsed #chat-body{display:none}.broadcast-drawer{position:fixed!important;top:146px!important;right:24px!important;bottom:65px!important;width:350px!important;background:#191f29fa!important;border:1px solid #5b6473!important;color:#fffcef!important;z-index:20!important;border-radius:10px!important;padding:20px!important;overflow:auto!important;box-shadow:none!important}.drawer-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:10px}.drawer-heading h2{font:700 28px Barlow;margin:0}.drawer-heading button{min-height:34px;font-size:11px;padding:6px 10px}.drawer-summary{font-size:12px;color:#c2c9d4}.turn-group{border-top:1px solid #414b59;padding-top:15px;margin-top:18px}.turn-group h3{font-size:12px;color:#d9c6e8;margin:0 0 9px}.turn-group p{font-size:12px;margin:6px 0;color:#d4dae3}.leaderboard-table{width:100%;font-size:12px;border-collapse:collapse}.leaderboard-table td,.leaderboard-table th{padding:12px 3px;border-bottom:1px solid #454f5d;text-align:left}.leaderboard-note{font-size:12px;color:#b8bec9;line-height:1.6}.arena-shell .match-browser,.arena-shell .creature-library{z-index:24;background:#1d242e;color:#fffcef;border:1px solid #606a7a;border-radius:12px;top:145px;bottom:66px}.arena-shell .match-browser h2,.arena-shell .creature-library h2{font-family:Barlow}.match-browser p,.match-copy span,.match-status,.creature-library p{color:#bcc5d2}.match-browser .match-row{background:transparent;border-color:#495465}.match-row[aria-pressed=true]{background:#42394e}.arena-shell .creature-tile{background:#252d38;color:#fffcef;border-color:#495568}.arena-shell .creature-tile small{color:#bdc7d6}.arena-shell .creature-detail,.arena-shell .character-model-stage{background:#171e28;border-color:#536070;color:#fffcef}.arena-shell .creature-detail h3{font-family:Barlow}.arena-shell .creature-library label{color:#c6cdd8}.arena-shell .creature-library input,.arena-shell .creature-library select{background:#131b25;color:#fffcef;border-color:#627084}.arena-shell .creature-stats,.arena-shell .creature-moves li{background:#232d3a;color:#fffcef}.arena-shell .creature-moves small,.arena-shell .move-metrics{color:#bac5d4}.arena-shell dialog:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)){z-index:50;background:#222934;color:#fffcef;border:1px solid #78808e;border-radius:14px;box-shadow:0 24px 70px #0009;padding:28px;width:min(510px,calc(100vw - 28px))}.arena-shell dialog:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *))::backdrop{background:#080d17bd;backdrop-filter:blur(5px)}.arena-shell dialog h2:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)){font:700 34px/1.05 Barlow;margin:0 0 14px}.arena-shell dialog h3:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)){font-size:14px;margin:0 0 7px}.arena-shell dialog p:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)){color:#bcc6d4;font-size:13px}.dialog-heading{display:flex;align-items:flex-start;gap:16px;justify-content:space-between}.dialog-heading>button{padding:7px 11px;font-size:11px}.setting-row{display:flex;align-items:center;justify-content:space-between;padding-top:24px;margin-top:10px;border-top:1px solid #556170;gap:14px}.setting-row p{margin:0;font-size:12px!important}.setting-row button{white-space:nowrap}.display-settings{display:grid;gap:12px;padding-top:20px;border-top:1px solid #52606e;margin-top:24px}.display-settings label{margin:0;display:flex;justify-content:space-between;align-items:center}.display-settings select{padding:9px;border:1px solid #586575;border-radius:6px}.arena-shell dialog input:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)){background:#141b25;border-color:#647084;color:#fffcef;font-size:15px}.dialog-actions{display:flex;justify-content:space-between;gap:12px;margin-top:25px}.arena-shell #pair-code{display:block;font-size:28px;letter-spacing:.1em;background:#131b25;padding:16px;border-radius:7px;text-align:center}.shell-status{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);background:#222b38;color:#fffcef;padding:10px 18px;border-radius:6px;z-index:80;font-size:13px;max-width:90vw}.shell-status:empty{display:none}.arena-shell .character-status{top:45%;background:#18212ce8;color:#fffcef}.arena-shell .display-status{z-index:40}
@media(min-width:1200px){}
@media(max-width:1000px){.arena-shell .app-header{padding:0 20px}.arena-shell .brand-name{font-size:15px}.mode-switch a{min-width:72px;padding:9px 12px}.header-actions #settings-toggle{padding:9px}.welcome-page{padding:112px 28px 30px}.welcome-intro h1{font-size:58px}.welcome-intro p{font-size:14px}.entry-copy{padding:20px}.broadcast-drawer{top:340px!important;bottom:66px!important}}
@media(max-width:760px){.arena-shell .app-header{height:112px;align-items:flex-start;padding:12px 14px;gap:10px}.arena-shell .wordmark>img{width:28px;height:34px}.arena-shell .brand-name{font-size:14px}.arena-shell .brand-arena{font-size:11px;margin-top:2px}.header-actions{gap:6px}.arena-shell .header-actions button{font-size:11px;min-height:34px;padding:7px 10px}.mode-switch{top:62px;width:calc(100% - 28px);justify-content:center;padding:3px}.mode-switch a{flex:1;font-size:12px;padding:8px}.welcome-page{padding:143px 20px 28px}.welcome-intro{display:block;margin-bottom:27px}.welcome-intro h1{font-size:52px}.welcome-intro p{font-size:14px;margin-top:20px}.entry-options{grid-template-columns:1fr;gap:22px}.entry-art{height:225px}.entry-copy{padding:20px}.entry-copy h2{font-size:32px}.entry-copy p{font-size:13px;margin-bottom:18px}.welcome-foot{font-size:11px}.arena-shell .world{top:112px;height:calc(100dvh - 112px)}.arena-shell .station-nav{top:120px;left:12px;right:12px;gap:5px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.arena-shell .station-nav button{font-size:11px;white-space:nowrap;min-height:36px;padding:7px 10px}.arena-shell .station-nav .pit-picker{display:none}.arena-shell .station-nav #open-creatures{display:none}.arena-shell .station-nav #toggle-inspector{margin-left:0}.hud-health{gap:5px}.hud-health progress{height:11px}.hud-health span{font-size:11px}.arena-shell .arena-bottom{height:42px;min-height:42px;padding:7px 12px}.arena-bottom>div:first-child{gap:7px}.arena-bottom #arena-summary{display:none}.arena-bottom .connection{font-size:11px}.arena-bottom #arena-caption{font-size:11px}.arena-bottom .bottom-controls button{font-size:11px;min-height:27px;padding:4px 7px}.arena-shell .view-label{display:none}.chat-dock{bottom:54px;left:12px;width:calc(100vw - 24px)}.chat-dock #chat-log{height:105px}.chat-dock.collapsed{width:240px}.broadcast-drawer{top:350px!important;left:12px!important;right:12px!important;bottom:54px!important;width:auto!important;padding:17px!important}.arena-shell .match-browser,.arena-shell .creature-library{top:350px;left:12px;right:12px;bottom:54px;width:auto;padding:16px}.arena-shell .match-copy b{font-size:13px}.arena-shell .match-copy span{font-size:11px}.arena-shell .match-status{font-size:11px}.arena-shell .match-creatures{display:none}.arena-shell .creature-library{top:122px;z-index:28}.arena-shell .creature-library .library-content{grid-template-columns:1fr}.arena-shell .creature-library:not(.detail-open) .creature-detail{display:none}.arena-shell .creature-library.detail-open .creature-grid{display:none}.arena-shell .detail-back{display:block}.arena-shell dialog:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)){padding:22px}.arena-shell dialog h2:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)){font-size:30px}.setting-row{align-items:flex-start}.setting-row button{font-size:11px;padding:8px 10px}.shell-status{bottom:60px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.entry-panel,.hud-health progress::-webkit-progress-value{transition:none}.entry-panel:hover{transform:none}}

.arena-bottom>div:first-child{flex-direction:row}.arena-bottom .connection{margin:0}

.arena-shell dialog select:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)){background:#141b25;color:#fffcef;border:1px solid #647084;border-radius:6px;padding:10px}
.arena-shell .brand-arena{font-family:'DM Sans',sans-serif;letter-spacing:.1em;color:#c8b3a3}
.chat-line small{margin-left:4px}.chat-line b{margin-right:4px}
.arena-shell .library-note,.arena-shell .mapped-species,.arena-shell .creature-types{color:#bdc5d1}
.arena-shell dialog:not(:where(#privy-dialog, #privy-dialog *, #privy-modal-content, #privy-modal-content *)){box-shadow:none}
@media(max-width:760px){.arena-shell .brand-name{font-size:13px}.arena-bottom .connection span{font-size:11px}.arena-shell .brand-arena{font-size:11px}.welcome-foot{font-size:12px}.chat-context{font-size:11px}}

.entry-panel{box-shadow:0 14px 35px #0004,inset 0 1px #c4bdca4d}.entry-panel:hover{box-shadow:0 16px 40px #0006,0 0 18px #ac7acb26}.watch-entry:hover{box-shadow:0 16px 40px #0006,0 0 18px #ff9b6629}

.arena-shell .world-panel>.conversation{display:none}.arena-shell .station-nav button[aria-expanded=true]{background:#42394f;color:#fffcef;border-color:#8d76a1}

/* Forged entry chassis: a suspended slab with an energized outer seam. */
.entry-options{gap:38px;perspective:1400px;padding:10px 0 24px}
.entry-panel{--rim:#ff9761;--tilt-x:0deg;--tilt-y:0deg;isolation:isolate;overflow:visible;border:0;border-radius:14px;background:transparent;box-shadow:none;transform:rotateX(var(--tilt-y)) rotateY(var(--tilt-x));transition:transform .45s cubic-bezier(.16,1,.3,1);outline-offset:9px}
.entry-panel.muse-entry{--rim:#bf92ee}
.entry-panel::before{content:'';position:absolute;inset:42px 22px -24px;z-index:-2;border-radius:16px;background:#030508;filter:blur(20px);opacity:.85;transform:translateY(14px) scale(.94);transition:opacity .35s,transform .35s}
.entry-panel::after{content:'';position:absolute;inset:5px -1px -9px;z-index:-1;border-radius:15px;background:linear-gradient(100deg,#0a0d12,#505862 12%,#1a2029 28%,#0c0f15 76%,#434b56 94%,#0b0e13);box-shadow:0 3px 2px #0009,0 24px 38px -12px #0009}
.entry-chassis{position:relative;border-radius:14px;padding:9px;background:linear-gradient(135deg,#86909a 0%,#363e49 3%,#171d26 18%,#303946 48%,#65707c 49%,#242c37 51%,#0f141c 82%,#4c5663 100%);box-shadow:inset 0 1px #d7e0e980,inset 0 -1px #02050a,0 0 0 1px #06090d;overflow:hidden}
.entry-chassis::after{content:'';position:absolute;inset:8px;border:1px solid #7a87984d;border-radius:8px;pointer-events:none;box-shadow:inset 0 1px 5px #0009}
.entry-art{border-radius:6px 6px 0 0;height:clamp(200px,24vw,330px)}
.entry-copy{position:relative;background:linear-gradient(115deg,#262e39,#171d26 72%);border-radius:0 0 6px 6px;padding:24px 26px 25px}
.entry-copy::before{content:'';position:absolute;top:0;left:26px;right:26px;height:1px;background:linear-gradient(90deg,var(--rim),#74809155 48%,transparent);opacity:.65}
.entry-copy h2{margin-bottom:10px}.entry-copy p{margin-bottom:26px}
.entry-action{gap:16px}.entry-action svg{box-sizing:content-box;padding:8px;border:1px solid #73809366;border-radius:5px;background:linear-gradient(145deg,#3c4653,#161d27);box-shadow:inset 0 1px #a5b0c333,0 3px 5px #0005;transition:color .25s,border-color .25s}
.entry-hardware{position:absolute;inset:0;z-index:3;pointer-events:none}
.entry-hardware i{position:absolute;width:34px;height:6px;border:1px solid #8693a26b;background:linear-gradient(#84909c,#384450 45%,#171e28 70%,#62707e);box-shadow:0 2px 3px #0008;border-radius:2px}
.entry-hardware i:nth-child(1){left:19px;top:0}.entry-hardware i:nth-child(2){right:19px;top:0}.entry-hardware i:nth-child(3){left:19px;bottom:0}.entry-hardware i:nth-child(4){right:19px;bottom:0}
.entry-electric{position:absolute;inset:-12px;width:calc(100% + 24px);height:calc(100% + 24px);z-index:4;pointer-events:none;opacity:.8;transition:opacity .3s}
.entry-panel:hover,.watch-entry:hover{transform:translateY(-7px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));box-shadow:none}
.entry-panel:hover::before{transform:translateY(23px) scale(.92);opacity:.65}
.entry-panel:hover .entry-electric,.entry-panel:focus-visible .entry-electric{opacity:1}
.entry-panel:hover .entry-action svg,.entry-panel:focus-visible .entry-action svg{color:var(--rim);border-color:var(--rim)}
.entry-motion .entry-panel.entry-in-view{animation:entry-suspension 7s ease-in-out infinite}
.entry-motion .muse-entry.entry-in-view{animation-delay:-3.5s}
@keyframes entry-suspension{0%,100%{translate:0 0}50%{translate:0 -7px}}
.welcome-foot{margin-top:18px}
@media(max-width:760px){.entry-options{gap:40px;padding-top:5px;padding-bottom:15px}.entry-copy{padding:22px 19px}.entry-copy::before{left:19px;right:19px}.entry-copy p{margin-bottom:18px}.entry-art{height:225px}.entry-chassis{padding:7px}.entry-chassis::after{inset:6px}.entry-panel::before{inset:42px 18px -18px;filter:blur(15px)}.entry-motion .entry-panel.entry-in-view{animation-duration:8s}}
@media(prefers-reduced-motion:reduce){.entry-panel,.entry-panel:hover,.watch-entry:hover{transform:none;animation:none;translate:none}.entry-panel::before,.entry-action svg,.entry-electric{transition:none}}

#intro-motion{min-height:44px;font-size:12px}

.decision-state{color:#fffcef!important;font-size:12px!important}.match-result{position:fixed;top:350px;left:50%;transform:translateX(-50%);width:min(460px,calc(100vw - 32px));padding:20px;background:#191d24;color:#fffcef;border:1px solid #525b68;border-radius:14px;z-index:12}.match-result h2{font:700 30px Barlow;margin:0 0 8px}.match-result p{font-size:14px;line-height:1.5;margin:7px 0}.match-result small{color:#b8bec9;font-size:12px}.follow-countdown{position:fixed;bottom:66px;right:16px;z-index:35;background:#252b34;color:#fffcef;padding:10px 14px}@media(max-width:760px){.match-result{top:402px;padding:14px;max-height:calc(100dvh - 470px);overflow:auto}.match-result h2{font-size:24px}.follow-countdown{bottom:58px}.broadcast-drawer{top:402px!important}}

/* Keep the invitation discoverable beside account access at every width. */
.header-actions{align-items:center;flex-shrink:0}
.header-actions button{white-space:nowrap}
.header-actions #account-button{max-width:140px;overflow:hidden;text-overflow:ellipsis}
@media(min-width:761px) and (max-width:1120px){.arena-shell .app-header{gap:16px}.mode-switch{position:static;transform:none;margin-left:auto}.header-actions{margin-left:0}.arena-shell .brand-name{font-size:14px}.header-actions button{padding-inline:10px}}
@media(max-width:600px){.arena-shell .wordmark .brand-name{display:none}.header-actions #account-button{max-width:90px}.arena-shell .app-header{padding-inline:10px}.arena-shell .header-actions button{padding-inline:8px}}

#music-volume{min-width:0;flex:1;accent-color:var(--club-orange,#ff7136)}
#music-volume-value{min-width:4ch;text-align:right;font-variant-numeric:tabular-nums}
.setting-row:has(#music-volume){align-items:center;gap:16px}

#login-dialog{width:min(460px,calc(100vw - 32px))}
#password-login-form{display:grid;gap:8px;margin-top:24px}
#password-login-form label{font-weight:700;margin-top:8px}
#password-login-form input{width:100%;min-height:44px;background:#11151c;color:#fffcef;border:1px solid #657080;border-radius:7px;padding:10px 12px;font:inherit}
#password-login-form input:focus-visible{outline:2px solid #b48bd5;outline-offset:2px}
#login-dialog .login-hint{font-size:12px;color:#b8bec9;margin:0 0 8px}
#login-error{color:#ffb89a;margin:0}
#login-error:empty{display:none}
#password-login-submit{margin-top:8px;min-height:44px}
#login-dialog .login-mode-toggle{width:100%;margin-top:12px;background:transparent;border-color:transparent;text-decoration:underline;text-underline-offset:4px}
.login-alternative{border-top:1px solid #515967;margin-top:20px;padding-top:16px;text-align:center}
.login-alternative p{margin:0 0 10px}
.login-alternative button{width:100%;margin-bottom:8px}

#pair-dialog select{width:100%;margin:10px 0 16px;padding:12px;background:var(--panel,#20232b);color:inherit;border:1px solid #666;border-radius:8px}.arena-shell #pair-code{overflow-wrap:anywhere;display:block;margin:12px 0;font-size:14px;letter-spacing:0;padding:10px}.arena-shell #pair-code[hidden]{display:none}#pair-instructions{width:100%;min-height:160px;padding:12px;margin:12px 0;box-sizing:border-box;background:#12151b;color:#eee;border:1px solid #666;border-radius:8px}#pair-dialog,#revoke-dialog{max-height:85dvh;overflow-y:auto}#pair-dialog button,#revoke-dialog button{margin:4px 0}

/* Broadcast composition — one score strip, an open field, controls at its edge. */
.arena-shell .app-header{height:64px;background:#191d24;padding-inline:24px;border-color:#424a56}
.mode-switch{background:none;border:0;padding:0;gap:8px}
.mode-switch a{min-height:44px;border-radius:0;display:grid;place-items:center}
.mode-switch a[aria-current=page]{background:none;box-shadow:inset 0 -2px #ff7136}
body[data-page=arena] .app-header #invite-muse{background:transparent;color:var(--soft);border-color:transparent}
.arena-shell .world{top:64px;height:calc(100dvh - 120px)}
.arena-shell .station-nav{top:auto;bottom:72px;left:auto;right:24px;gap:4px;max-width:calc(100% - 48px);flex-wrap:nowrap}
.arena-shell .station-nav button{min-height:44px;background:#191d24;border:0;border-radius:3px;font-size:13px;padding:10px 14px}
.arena-shell .station-nav #toggle-inspector{margin-left:0}
.arena-shell .station-nav #friend-help{order:4}
.arena-shell .station-nav button:hover{background:#35303f}
.broadcast-hud{position:fixed;top:80px;left:50%;transform:translateX(-50%);width:min(860px,calc(100% - 48px));display:grid;grid-template-columns:minmax(0,1fr) 112px minmax(0,1fr);background:#191d24;border-bottom:2px solid #525b68;z-index:10;pointer-events:none}
.hud-side{display:grid;grid-template-columns:54px minmax(0,1fr);column-gap:12px;align-items:center;min-width:0;padding:12px 18px}
.hud-side>img{height:60px;width:54px;object-fit:contain;grid-row:span 2}
.hud-copy{min-width:0}
.hud-copy small{display:block;font-size:12px;color:#b8bec9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hud-copy strong{display:block;font:700 24px/1.1 Barlow,sans-serif;margin:2px 0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hud-copy .decision-state{font-size:12px!important;margin-top:4px}
.hud-health progress{height:7px;border-radius:0}
.hud-health span{font-size:12px}
.hud-team{grid-column:2;display:flex;align-items:center;gap:6px;height:24px;font-size:12px;color:#b8bec9}
.hud-team img{width:22px;height:22px;object-fit:contain;pointer-events:auto}
.hud-team img.fainted{filter:grayscale(1);opacity:.35}
.hud-team .status-tag{font-size:12px;color:#ffe0b4;margin-left:auto}
.hud-center{display:flex;flex-direction:column;justify-content:center;text-align:center;border-inline:1px solid #424a56;padding:8px}
.hud-center b{font:700 28px/1.1 Barlow,sans-serif}
.hud-center small{font-size:12px;line-height:1.4;color:#b8bec9;margin-top:6px}
.fight-caption{position:fixed;bottom:132px;left:50%;transform:translateX(-50%);width:max-content;max-width:min(680px,calc(100% - 48px));background:#191d24;color:#fffcef;padding:10px 18px;font-size:14px;text-align:center;line-height:1.5;z-index:10;pointer-events:none}
.fight-caption:empty{display:none}
.arena-shell .arena-bottom{height:56px;min-height:56px;padding:6px 24px;background:#11151c;border:0}
.arena-bottom>div:first-child{flex-direction:row;gap:14px}
.arena-shell .bottom-controls button,.arena-shell .bottom-controls label{min-height:44px;font-size:12px;border:0;background:transparent;padding:8px 12px}
.arena-shell .view-label{display:none}
.chat-dock{bottom:72px;border:0;border-radius:3px;background:#191d24}
.chat-dock.collapsed{width:250px}
.chat-heading button{min-height:44px!important}
.chat-heading{border:0}
.broadcast-drawer{top:216px!important;bottom:132px!important;border-radius:3px!important}
.arena-shell .match-browser,.arena-shell .creature-library{top:80px;bottom:132px;border-radius:3px}
.match-result{top:auto;bottom:196px;border-radius:3px;max-height:45dvh;overflow:auto}
/* Roster: character artwork and real activity replace empty metric panels. */
.console-page{max-width:1120px;margin:auto;padding:120px 40px 60px}
.console-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:36px}
.console-heading h1{font:700 64px/1 Barlow,sans-serif;margin:0 0 12px}
.console-heading p{color:var(--soft);margin:0;font-size:15px}
.console-layout{display:block}
.console-sidebar{position:static!important;display:flex;gap:24px;width:auto!important;background:none!important;box-shadow:none!important;padding:0!important;border-radius:0!important;border-bottom:1px solid #424a56;margin-bottom:28px}
.console-sidebar>button{border:0;border-radius:0;background:none;padding:12px 0;min-height:44px;color:var(--soft)}
.console-sidebar>button.selected{box-shadow:inset 0 -2px #ff7136;color:var(--cream)}
.console-section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;color:var(--soft);font-size:13px}
.console-section-title h2{font:700 24px Barlow;margin:0;color:var(--cream)}
.console-signin{display:grid;grid-template-columns:1fr 46%;gap:50px;align-items:center;padding-block:12px}
.console-signin h2{font:700 48px/1.05 Barlow;margin:0 0 18px}
.console-signin p{font-size:16px;color:var(--soft);max-width:38ch;margin:0 0 24px}
.console-signin>img{width:100%;height:370px;object-fit:cover;object-position:center 40%;border-radius:0}
.console-signin .login-methods{font-size:12px;margin:14px 0 0}
.console-empty{padding:44px 0}
.console-empty h3{font:700 36px Barlow;margin:0 0 12px}
.console-empty p{color:var(--soft);max-width:55ch}
.owned-muse{padding:28px 0;border-bottom:1px solid #424a56}
.muse-row-title{display:flex;align-items:center;justify-content:space-between;gap:16px}
.muse-row-title h3{font:700 36px Barlow;margin:0}
.muse-row-title>span{font-size:13px;color:var(--soft)}
.muse-team{display:flex;gap:24px;align-items:center;margin:16px 0}
.muse-team img{width:112px;height:120px;object-fit:contain}
.muse-team p{color:var(--soft)}
.muse-manage{margin-top:12px}
.muse-manage summary,.invitation-history summary,#invitation-preview summary{cursor:pointer;min-height:44px;padding-block:12px;font-size:13px;color:var(--soft)}
.invitation-history{margin-top:32px;border-top:1px solid #424a56}
.invitation-history .owned-muse{padding:12px 0;font-size:13px}
.invitation-history button{margin-right:8px}
@media(max-width:760px){
 .arena-shell .app-header{height:108px;padding:8px 12px;align-items:flex-start}
 .arena-shell .header-actions button{min-height:44px;font-size:12px}
 .arena-shell .wordmark>img{height:44px;width:30px}
 .mode-switch{top:60px;width:calc(100% - 24px);gap:0}
 .mode-switch a{padding:8px;min-height:44px}
 .arena-shell .world{top:108px;height:calc(100dvh - 164px)}
 .broadcast-hud{top:108px;left:0;transform:none;width:100%;grid-template-columns:1fr 1fr;border-bottom:1px solid #525b68}
 .hud-side{padding:10px 12px 6px;grid-template-columns:minmax(0,1fr);gap:0}
 .hud-side>img{display:none}
 .hud-side:last-child{border-left:1px solid #424a56}
 .hud-copy strong{font-size:22px;margin-bottom:5px}
 .hud-copy small{font-size:12px}
 .hud-team{grid-column:1;gap:5px;margin-top:3px}
 .hud-team img{width:22px;height:22px}
 .hud-team .status-tag{font-size:11px}
 .hud-center{grid-column:1/-1;grid-row:2;flex-direction:row;gap:10px;align-items:center;border:0;border-top:1px solid #424a56;padding:5px 12px}
 .hud-center b{font-size:20px}
 .hud-center small{font-size:12px;margin:0;max-width:none}
 .fight-caption{bottom:172px;max-width:calc(100% - 24px);padding:8px 12px;font-size:12px;line-height:1.5}
 .arena-shell .station-nav{left:12px;right:12px;bottom:66px;max-width:none;gap:4px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}
 .arena-shell .station-nav #open-creatures{display:block}
 .arena-shell .station-nav #friend-help{display:block}
 .arena-shell .station-nav button{font-size:12px;padding:8px 10px;min-height:44px;white-space:nowrap}
 .chat-dock,.chat-dock.collapsed{left:12px;bottom:118px;width:230px}
 .chat-dock:not(.collapsed){width:calc(100% - 24px)}
 .chat-dock:not(.collapsed) #chat-log{height:120px}
 .arena-shell .arena-bottom{height:56px;min-height:56px;padding:6px 12px;align-items:center;flex-wrap:nowrap}
 .arena-bottom #arena-summary,.arena-bottom .connection span{display:none}
 .arena-bottom>div:first-child{gap:8px}
 .arena-shell .bottom-controls{flex-wrap:nowrap;gap:0}
 .arena-shell .bottom-controls .auto-follow{display:flex}
 .arena-shell .bottom-controls button,.arena-shell .bottom-controls label{font-size:12px;padding:6px 8px}
 .broadcast-drawer{top:284px!important;bottom:118px!important;left:12px!important;right:12px!important;width:auto!important;padding:16px!important}
 .arena-shell .match-browser,.arena-shell .creature-library{top:116px;bottom:118px;left:12px;right:12px;width:auto}
 .match-result{top:auto;bottom:240px;max-height:calc(100dvh - 530px);padding:14px}
 .follow-countdown{bottom:118px}
 .console-page{padding:140px 20px 40px}
 .console-heading{display:block;margin-bottom:24px}
 .console-heading h1{font-size:48px}
 .console-heading p{font-size:14px}
 .console-heading>a{display:inline-block;margin-top:12px;min-height:44px;padding-top:10px}
 .console-sidebar{margin-bottom:18px}
 .console-section-title{margin-bottom:20px}
 .console-signin{grid-template-columns:1fr;gap:28px;padding:0}
 .console-signin h2{font-size:36px;margin-bottom:12px}
 .console-signin p{font-size:14px;margin-bottom:20px}
 .console-signin>img{height:260px}
 .console-signin .login-methods{font-size:12px;margin-top:14px}
 .muse-row-title{align-items:flex-start;flex-direction:column;gap:6px}
 .muse-team{gap:8px}
 .muse-team img{width:calc((100vw - 56px)/3);max-width:112px;height:110px}
}

.console-page.signed-out .console-sidebar,.console-page.signed-out .console-section-title{display:none}
.console-page.signed-out .console-heading{margin-bottom:40px}
@media(max-width:760px){.console-page.signed-out .console-heading{margin-bottom:24px}.arena-shell .station-nav button{padding-inline:5px}.arena-bottom #arena-caption{font-size:12px}.hud-team .status-tag{font-size:12px}}

.friend-instructions summary{cursor:pointer;min-height:44px;padding-block:12px;font-size:13px;color:var(--soft)}
