:root { color-scheme: light; --ink:#202522; --muted:#737871; --line:#d9d8d0; --paper:#f0efe9; --white:#fbfaf6; --orange:#ed643d; --orange-dark:#bd4128; --teal:#137d78; --cyan:#70d6d0; --lime:#cfdf83; --arena:#e8d8b2; font-family:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); min-width:320px; }
button,a { color:inherit; font:inherit; }
button { cursor:pointer; }
button:focus-visible,a:focus-visible { outline:3px solid #138b89; outline-offset:3px; }
.app-shell { max-width:1440px; margin:auto; padding:0 38px; }
.topbar { min-height:72px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); gap:24px; }
.brand { display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand-mark { width:34px; height:34px; display:grid; place-items:center; background:var(--orange); color:white; font-weight:900; font-size:20px; clip-path:polygon(0 0,100% 12%,83% 100%,8% 85%); }
.brand b,.brand small { display:block; line-height:1.05; }
.brand b { font-size:15px; letter-spacing:.08em; }
.brand small { margin-top:4px; color:var(--muted); font-size:9px; font-weight:700; letter-spacing:.14em; }
.main-nav { display:flex; align-items:stretch; height:72px; gap:28px; }
.nav-link { position:relative; border:0; padding:0 4px; background:none; color:#777b75; font-size:13px; font-weight:750; }
.nav-link.active { color:var(--ink); }
.nav-link.active:after { position:absolute; content:""; bottom:-1px; left:0; right:0; height:3px; background:var(--orange); }
.nav-link i { margin-left:5px; color:var(--teal); font-size:10px; font-style:normal; }
.profile { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:9px; font-weight:800; letter-spacing:.08em; }
.online { width:7px; height:7px; border-radius:50%; background:#4e9c65; }
.profile b { display:grid; place-items:center; width:21px; height:21px; margin-left:4px; background:#dddcd3; color:#454a44; border-radius:50%; font-size:10px; }
main { padding-top:28px; }
.view { display:none; }
.view.active-view { display:block; animation:enter .18s ease-out; }
@keyframes enter { from { opacity:.6; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }
.section-heading { display:flex; justify-content:space-between; align-items:end; margin-bottom:19px; gap:20px; }
.eyebrow { font-size:9px; font-weight:850; letter-spacing:.14em; color:var(--teal); }
.eyebrow span { color:#979991; }
h1 { margin:8px 0 0; font-size:31px; line-height:1; letter-spacing:0; }
h1 em { color:var(--orange); font-style:normal; }
.heading-meta { display:flex; align-items:center; gap:9px; padding-bottom:3px; color:var(--muted); font-size:9px; font-weight:800; letter-spacing:.1em; }
.heading-meta i { width:5px; height:5px; border-radius:50%; background:var(--orange); }
.duel-layout { display:grid; grid-template-columns:minmax(0,1fr) 294px; gap:21px; align-items:start; }
.arena-column { min-width:0; }
.fighter-hud { display:grid; grid-template-columns:minmax(0,1fr) 80px minmax(0,1fr); align-items:center; gap:16px; padding:11px 0 13px; }
.hud-fighter { min-width:0; display:flex; align-items:center; gap:10px; }
.enemy-hud { justify-content:flex-end; text-align:right; }
.monogram { display:grid; flex:0 0 36px; width:36px; height:36px; place-items:center; background:#deeee8; color:#146d67; font-size:11px; font-weight:900; clip-path:polygon(0 0,100% 10%,90% 100%,10% 90%); }
.enemy-monogram { background:#f1d6cb; color:#b54b33; }
.nameplate { min-width:72px; display:flex; flex:1; flex-direction:column; gap:3px; }
.nameplate small { color:#777b75; font-size:8px; font-weight:850; letter-spacing:.07em; white-space:nowrap; }
.nameplate small i { color:var(--teal); font-style:normal; }
.nameplate strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:14px; }
.nameplate>span { overflow:hidden; color:var(--muted); text-overflow:ellipsis; white-space:nowrap; font-size:10px; }
.meter-stack { width:95px; display:grid; gap:6px; }
.meter-label { display:flex; align-items:center; gap:5px; color:#7a7d76; font-size:7px; font-weight:900; }
.health,.energy { height:6px; flex:1; overflow:hidden; background:#d5d4cc; }
.health i,.energy i { display:block; width:100%; height:100%; background:#dc5d43; transition:width .2s ease; }
.energy i { background:#33a9a2; }
.enemy-hud .meter-stack { order:0; }
.enemy-hud .nameplate { order:1; }
.enemy-hud .monogram { order:2; }
.round-stamp { text-align:center; color:#7f827a; font-size:8px; font-weight:850; letter-spacing:.1em; }
.round-stamp strong { display:block; color:var(--ink); font-size:22px; line-height:1.05; }
.round-stamp small { display:block; margin-top:2px; font-size:7px; letter-spacing:.04em; }
.arena-frame { position:relative; overflow:hidden; border:1px solid #cbc9bf; background:var(--arena); }
.arena-topline,.arena-bottomline { position:absolute; z-index:2; left:0; right:0; display:flex; justify-content:space-between; align-items:center; padding:0 14px; color:#393d38; font-size:8px; font-weight:850; letter-spacing:.1em; pointer-events:none; }
.arena-topline { top:0; height:29px; background:#f2ebda; border-bottom:1px solid #d3c9b1; }
.arena-topline span:nth-child(2) { color:var(--orange-dark); }
.tiny-dot { display:inline-block; width:6px; height:6px; margin-right:4px; border-radius:50%; background:#3c9a88; }
canvas { display:block; width:100%; aspect-ratio:1200/560; touch-action:none; }
.arena-bottomline { bottom:0; height:30px; background:#f2ebda; border-top:1px solid #d3c9b1; text-transform:uppercase; }
#arena-time { color:var(--orange-dark); font-size:12px; font-variant-numeric:tabular-nums; }
.announcer { position:absolute; z-index:3; top:48%; left:50%; width:max-content; max-width:80%; transform:translate(-50%,-50%); display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; text-shadow:0 1px #f3e5c8; pointer-events:none; transition:opacity .25s; }
.announcer.hidden { opacity:0; }
.announcer small { color:var(--teal); font-size:8px; font-weight:900; letter-spacing:.14em; }
.announcer strong { color:#242b27; font-size:clamp(18px,3vw,31px); line-height:1; letter-spacing:.04em; }
.announcer span { color:#494e47; font-size:11px; }
.flash { position:absolute; inset:0; z-index:2; background:white; opacity:0; pointer-events:none; }
.flash.play { animation:flash .2s ease-out; }
@keyframes flash { 20% { opacity:.5; } to { opacity:0; } }
.battle-controls { display:flex; align-items:center; gap:14px; min-height:53px; }
.primary-button { min-height:37px; display:flex; align-items:center; justify-content:center; gap:9px; border:0; padding:0 13px; background:var(--orange); color:white; font-size:10px; font-weight:900; letter-spacing:.07em; transition:background .15s,transform .15s; }
.primary-button:hover { background:var(--orange-dark); transform:translateY(-1px); }
.primary-button kbd { margin-left:7px; padding:3px 5px; background:#cf5234; color:#ffe3d4; font-size:8px; }
.control-hint { display:flex; align-items:center; gap:4px; color:#70746d; font-size:7px; font-weight:800; letter-spacing:.04em; }
kbd { padding:3px 4px; border:1px solid #d0cfc7; background:#f8f7f2; color:#444842; font:inherit; font-weight:850; }
.control-hint i { width:3px; height:3px; margin:0 4px; border-radius:50%; background:#a4a69f; }
.rematch { width:32px; height:32px; margin-left:auto; border:1px solid var(--line); background:transparent; color:#666a63; font-size:19px; }
.mobile-controls { display:none; }
.side-column { display:grid; gap:12px; }
.panel { padding:15px; border:1px solid var(--line); background:rgba(251,250,246,.74); }
.panel-heading { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.panel-heading h2 { margin:4px 0 0; font-size:16px; }
.text-button { border:0; background:transparent; color:var(--teal); font-size:8px; font-weight:900; letter-spacing:.07em; white-space:nowrap; }
.quick-roster { display:grid; grid-template-columns:repeat(6,1fr); gap:5px; margin-top:14px; }
.fighter-chip { position:relative; aspect-ratio:1; display:grid; place-items:center; border:1px solid #dddcd5; background:#f4f2ec; color:var(--chip,#387e78); font-size:10px; font-weight:900; }
.fighter-chip:hover { border-color:var(--chip,#387e78); }
.fighter-chip.selected { border-color:var(--chip,#387e78); box-shadow:inset 0 -3px var(--chip,#387e78); background:#fff; }
.fighter-chip.locked { color:#9c9e97; }
.selected-summary { display:flex; align-items:center; gap:9px; margin-top:12px; padding-top:11px; border-top:1px solid var(--line); }
.selected-summary>b { display:grid; width:28px; height:28px; flex:0 0 28px; place-items:center; background:var(--summary-color,#d8e9df); color:var(--summary-ink,#19766f); font-size:15px; }
.selected-summary>div:nth-child(2) { min-width:0; flex:1; }
.selected-summary strong,.selected-summary span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.selected-summary strong { font-size:11px; }
.selected-summary span { margin-top:3px; color:var(--muted); font-size:7px; font-weight:800; letter-spacing:.07em; }
.stat-pips { display:flex; gap:3px; }
.stat-pips i { width:4px; height:13px; background:#dbd9cf; }
.stat-pips i.on { background:var(--teal); }
.saga-panel p,.tip-panel p { margin:9px 0 0; color:#6f736c; font-size:10px; line-height:1.55; }
.chapter-progress { display:flex; align-items:center; justify-content:space-between; margin-top:13px; padding-top:10px; border-top:1px solid var(--line); color:#72766f; font-size:9px; font-weight:800; }
#chapter-dots { display:flex; gap:5px; }
#chapter-dots i { width:7px; height:7px; border:1px solid #bbbdb5; border-radius:50%; }
#chapter-dots i.done { border-color:var(--teal); background:var(--teal); }
.tip-panel { display:flex; gap:10px; align-items:flex-start; }
.tip-mark { display:grid; width:23px; height:23px; flex:0 0 23px; place-items:center; background:#e7ede0; color:#66813c; }
.tip-panel strong { font-size:10px; }
.tip-panel p { margin-top:3px; }
.footer { display:flex; justify-content:space-between; padding:22px 0 24px; border-top:1px solid var(--line); color:#81847d; font-size:8px; font-weight:850; letter-spacing:.1em; }
.footer i { margin:0 5px; color:var(--orange); font-style:normal; }
.saga-layout { display:grid; grid-template-columns:minmax(280px,.85fr) minmax(0,1.4fr); gap:20px; }
.saga-list { display:grid; gap:8px; align-content:start; }
.saga-row { display:grid; grid-template-columns:37px 1fr auto; align-items:center; gap:12px; min-height:68px; padding:10px; border:1px solid var(--line); background:var(--white); text-align:left; }
.saga-row.active { border-color:var(--teal); box-shadow:inset 3px 0 var(--teal); }
.saga-icon { display:grid; width:35px; height:35px; place-items:center; background:var(--sage); color:var(--teal); font-size:15px; }
.saga-row strong,.saga-row small { display:block; }
.saga-row strong { font-size:12px; }
.saga-row small { margin-top:4px; color:var(--muted); font-size:9px; }
.saga-row .saga-number { color:#8d9087; font-size:9px; font-weight:850; }
.saga-detail { min-height:280px; position:relative; overflow:hidden; padding:26px; border:1px solid #c9c6ba; background:linear-gradient(110deg,rgba(248,240,221,.98),rgba(232,215,181,.85)); }
.saga-detail:after { content:""; position:absolute; width:160px; height:160px; right:7%; bottom:-40px; border:1px solid rgba(183,100,66,.35); border-radius:50%; box-shadow:0 0 0 18px rgba(183,100,66,.06),0 0 0 38px rgba(183,100,66,.04); }
.saga-detail>* { position:relative; z-index:1; }
.saga-detail .eyebrow { color:var(--orange-dark); }
.saga-detail h2 { max-width:550px; margin:8px 0 12px; font-size:27px; }
.saga-detail p { max-width:460px; color:#555950; font-size:13px; line-height:1.6; }
.saga-mission { display:flex; align-items:center; gap:9px; margin-top:22px; color:#62675f; font-size:9px; font-weight:850; letter-spacing:.06em; }
.saga-mission i { width:8px; height:8px; background:var(--orange); transform:rotate(45deg); }
.roster-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.roster-card { position:relative; min-height:160px; display:grid; grid-template-columns:72px 1fr; align-items:center; gap:12px; overflow:hidden; padding:14px; border:1px solid var(--line); background:var(--white); text-align:left; }
.roster-card.selected { border-color:var(--teal); box-shadow:inset 0 -3px var(--teal); }
.portrait { position:relative; width:68px; height:106px; display:grid; place-items:center; overflow:hidden; background:var(--tint); color:var(--fighter); font-size:26px; font-weight:950; clip-path:polygon(12% 0,88% 0,100% 100%,0 100%); }
.portrait:before { content:""; position:absolute; top:18px; width:37px; height:37px; border-radius:50%; background:var(--fighter); box-shadow:0 0 0 8px color-mix(in srgb,var(--fighter) 14%,transparent); }
.portrait:after { content:""; position:absolute; bottom:-9px; width:56px; height:59px; background:var(--fighter); clip-path:polygon(22% 0,78% 0,100% 100%,0 100%); }
.portrait span { position:relative; z-index:1; margin-top:-30px; color:white; font-size:13px; }
.roster-copy { align-self:center; min-width:0; }
.roster-copy small { color:var(--teal); font-size:8px; font-weight:900; letter-spacing:.1em; }
.roster-copy strong { display:block; margin:5px 0; font-size:14px; }
.roster-copy p { margin:0 0 8px; color:var(--muted); font-size:9px; line-height:1.4; }
.fighter-rating { display:flex; gap:3px; }
.fighter-rating i { width:13px; height:3px; background:#dddcd4; }
.fighter-rating i.on { background:var(--fighter); }
.roster-card.locked:after { content:"ОТКРОЕТСЯ В КАМПАНИИ"; position:absolute; right:5px; top:7px; color:#888c84; font-size:6px; font-weight:900; letter-spacing:.04em; }
@media (min-width:1100px) { .arena-frame { margin-bottom:2px; } }
@media (max-width:1060px) { .app-shell { padding:0 24px; } .duel-layout { grid-template-columns:minmax(0,1fr) 260px; gap:15px; } .control-hint { gap:3px; font-size:6px; } .roster-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; transition-duration:.01ms!important; } }
@media (max-width:1060px) { .app-shell { padding:0 24px; } .duel-layout { grid-template-columns:minmax(0,1fr) 260px; gap:15px; } .control-hint { gap:3px; font-size:6px; } .roster-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:760px) { .app-shell { padding:0 15px; } .topbar { min-height:60px; gap:8px; } .brand-mark { width:30px; height:30px; } .brand b { font-size:12px; } .brand small { font-size:7px; } .main-nav { height:60px; gap:11px; } .nav-link { font-size:11px; } .profile { font-size:0; gap:5px; } .profile b { font-size:9px; } main { padding-top:21px; } .section-heading { margin-bottom:11px; } h1 { font-size:26px; } .heading-meta { max-width:145px; justify-content:flex-end; text-align:right; font-size:7px; } .duel-layout { grid-template-columns:1fr; gap:12px; } .side-column { grid-template-columns:1fr 1fr; gap:9px; } .fighter-panel { grid-row:span 2; } .panel { padding:12px; } .panel-heading h2 { font-size:14px; } .saga-panel p { font-size:9px; } .fighter-hud { gap:7px; grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr); } .hud-fighter { gap:6px; } .monogram { width:29px; height:29px; flex-basis:29px; font-size:9px; } .nameplate small { font-size:6px; } .nameplate strong { font-size:11px; } .nameplate>span { font-size:8px; } .meter-stack { width:61px; gap:4px; } .meter-label { gap:3px; font-size:6px; } .health,.energy { height:5px; } .round-stamp strong { font-size:19px; } .round-stamp small { font-size:6px; } .arena-topline,.arena-bottomline { padding:0 8px; font-size:6px; } .arena-topline { height:23px; } .arena-bottomline { height:24px; } canvas { aspect-ratio:1200/560; } .announcer { gap:4px; } .announcer small { font-size:6px; } .announcer strong { font-size:18px; } .announcer span { font-size:9px; } .battle-controls { min-height:41px; } .primary-button { min-height:34px; padding:0 9px; font-size:8px; } .primary-button kbd { display:none; } .control-hint { display:none; } .rematch { width:30px; height:30px; } .mobile-controls { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:3px 0 8px; touch-action:none; } .touch-cluster { display:flex; gap:5px; } .mobile-controls button { min-width:37px; height:37px; border:1px solid #d1d0c7; border-bottom-width:3px; background:#faf9f5; color:#313632; font-weight:900; touch-action:none; user-select:none; -webkit-user-select:none; } .touch-cluster.attacks button { min-width:39px; background:#f8e3da; border-color:#e8c8bc; color:#a83e2a; font-size:10px; } .touch-cluster.attacks button[data-action="blast"] { background:#d9eeeb; border-color:#badbd6; color:#167872; } .touch-cluster.attacks button[data-action="transform"] { min-width:48px; background:#e7eadb; border-color:#cdd2b8; color:#617438; font-size:8px; } .mobile-controls button:active,.mobile-controls button.pressed { transform:translateY(2px); border-bottom-width:1px; background:#e1dfd6; } .side-column .tip-panel { grid-column:1/-1; } .footer { padding:16px 0 20px; font-size:7px; } .saga-layout { grid-template-columns:1fr; gap:12px; } .saga-list { grid-template-columns:1fr 1fr; } .saga-row { grid-template-columns:30px 1fr; min-height:59px; gap:8px; padding:7px; } .saga-icon { width:29px; height:29px; } .saga-row .saga-number { display:none; } .saga-row strong { font-size:10px; } .saga-row small { font-size:8px; } .saga-detail { min-height:225px; padding:20px; } .saga-detail h2 { font-size:23px; } .roster-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; } .roster-card { min-height:130px; grid-template-columns:52px 1fr; gap:8px; padding:9px; } .portrait { width:50px; height:86px; } .portrait:before { top:14px; width:29px; height:29px; } .portrait:after { width:45px; height:48px; } .roster-copy strong { font-size:12px; } .roster-copy p { font-size:8px; } }
@media (max-width:380px) { .app-shell { padding:0 10px; } .main-nav { gap:7px; } .brand { gap:6px; } .side-column { grid-template-columns:1fr; } .fighter-panel { grid-row:auto; } .side-column .tip-panel { grid-column:auto; } .mobile-controls button { min-width:33px; height:35px; } .touch-cluster.attacks button { min-width:35px; } .touch-cluster.attacks button[data-action="transform"] { min-width:44px; } .roster-card { grid-template-columns:44px 1fr; gap:6px; } .portrait { width:42px; height:78px; } .fighter-hud { gap:4px; } .meter-stack { width:54px; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; transition-duration:.01ms!important; } }
:root { --ink:#e8ebed; --muted:#9ca8af; --line:#3d454a; --paper:#191e22; --white:#242a2f; --orange:#ff9d45; --orange-dark:#df7131; --teal:#59c9d7; --arena:#d5af72; }
body { min-height:100vh; background:radial-gradient(ellipse at 45% 0,#26343a 0,#191e22 53%); }
.topbar { border-color:#3d454a; }
.nav-link { color:#a6b0b4; }
.nav-link.active { color:#f4f2e9; }
.profile b { background:#3b454b; color:#f4ecda; }
.heading-meta { color:#aab4b6; }
.eyebrow { color:#66d2d9; }
.eyebrow span { color:#a0aeb0; }
h1 { color:#f1f0e9; }
.fighter-hud { color:#e8ebed; }
.nameplate small { color:#afb7b6; }
.nameplate>span { color:#9ca9aa; }
.meter-label { color:#bbc1bf; }
.health,.energy { background:#434b4e; }
.round-stamp strong { color:#f4f2e9; }
.arena-frame { border-color:#59605f; box-shadow:0 8px 22px #0b111480; }
.arena-topline,.arena-bottomline { background:#232b2f; border-color:#424b4c; color:#e2e2d9; }
.arena-topline span:nth-child(2) { color:#ffad51; }
.round-stamp { color:#aeb8ba; }
.round-stamp span { display:block; }
.round-stamp small { color:#a8b3b2; }
.battle-controls { color:#aab5b5; }
.control-hint { color:#a8b3b2; }
.control-hint kbd,.battle-controls kbd { background:#30383d; border-color:#50585c; color:#e7e7df; }
.primary-button { color:#191e22; box-shadow:0 2px 0 #874820; }
.primary-button:hover { color:white; }
.rematch { border-color:#4b5559; color:#d1d7d6; }
.announcer { text-shadow:0 1px #0a1012,0 0 5px #0b1011; }
.announcer strong { color:#fff4d5; }
.announcer span { color:#e4e0d3; }
.announcer small { color:#75d9df; }
.fighter-chip { overflow:hidden; }
.fighter-chip img { width:100%; height:100%; object-fit:contain; padding:2px; image-rendering:pixelated; }
.fighter-chip.locked { opacity:.42; }
.portrait { clip-path:none; border:1px solid color-mix(in srgb,var(--fighter) 42%,transparent); }
.portrait:before,.portrait:after { content:none; }
.portrait img { display:block; width:100%; height:100%; padding:3px; object-fit:contain; image-rendering:pixelated; }
.fighter-rating i { background:#444c4e; }
.fighter-rating i.on { background:var(--fighter); }
.roster-card { background:#22292d; border-color:#414a4d; }
.roster-card.selected { background:#273437; }
.roster-copy strong { color:#f0f0e9; }
.roster-copy small { color:var(--fighter); }
.roster-copy p { color:#b2bcba; }
.saga-row { background:#22292d; border-color:#444d50; color:#f0f0e9; }
.saga-row small { color:#b3bcba; }
.saga-detail { background:linear-gradient(105deg,#283238,#263035 55%,#333338); border-color:#515b5b; }
.saga-detail p,.saga-detail h2 { color:#f0f0e9; }
.saga-detail .eyebrow { color:#ffaf58; }
.saga-detail:after { border-color:#fdac5640; box-shadow:0 0 0 18px #fdac560d,0 0 0 38px #fdac5608; }
.selected-summary span { color:#b5c0bd; }
.meter-label span { width:14px; text-align:left; }
canvas { height:auto; }
.arena-frame { overflow:hidden; }
@media (max-width:760px) {
  .fighter-chip img { padding:0; }
  .mobile-controls button { border-color:#50585b; background:#2a3237; color:#f1f2eb; }
  .touch-cluster.attacks button { background:#61382e; border-color:#a46042; color:#ffe4cc; }
  .touch-cluster.attacks button[data-action="blast"] { background:#254a53; border-color:#397684; color:#a4edf1; }
  .touch-cluster.attacks button[data-action="transform"] { background:#4c4145; border-color:#9e6268; color:#ffd5bc; }
}
@media (max-width:380px) {
  .topbar { gap:5px; }
  .nav-link { font-size:10px; }
  .touch-cluster { gap:3px; }
}
.fighter-layer { position:absolute; inset:0; z-index:1; overflow:hidden; pointer-events:none; }
.fighter-sprite { position:absolute; object-fit:contain; image-rendering:pixelated; transform-origin:center bottom; transition:left .07s linear,bottom .07s linear,filter .15s; }
.fighter-sprite-name { position:absolute; transform:translateX(-50%); z-index:2; color:#fff3dc; font-size:10px; font-weight:900; line-height:1; text-shadow:0 1px 2px #101315,0 0 4px #111517; white-space:nowrap; }
.duel-layout { grid-template-columns:minmax(0,1fr) 294px; }
.arena-column,.side-column,.panel { min-width:0; }
.quick-roster { grid-template-columns:repeat(6,minmax(0,1fr)); }
.fighter-chip { min-width:0; overflow:hidden; }
.fighter-chip img { max-width:100%; }
.roster-total { color:var(--teal); }
@media (max-width:760px) {
 .duel-layout { grid-template-columns:minmax(0,1fr); }
 .quick-roster { grid-template-columns:repeat(9,minmax(0,1fr)); }
 .fighter-hud { grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr); }
 .fighter-sprite-name { font-size:8px; }
}
@media (max-width:390px) {
 .fighter-hud { grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr); }
 .monogram { width:25px; height:25px; flex-basis:25px; }
 .meter-stack { width:48px; }
 .quick-roster { grid-template-columns:repeat(9,minmax(0,1fr)); }
}
.fighter-hud { position:absolute; z-index:3; top:29px; left:0; right:0; grid-template-columns:minmax(0,1fr) 66px minmax(0,1fr); padding:7px 14px 4px; pointer-events:none; }
.fighter-hud .hud-fighter { pointer-events:none; }
.fighter-hud .round-stamp { color:#aeb8ba; }
.fighter-hud .round-stamp span { display:block; }
.fighter-hud .round-stamp small { color:#a8b3b2; }
.fighter-hud .monogram { min-width:34px; }
.nameplate { max-width:205px; }
.back-to-select { min-height:34px; border:1px solid #515b5e; padding:0 10px; color:#e9e7dc; background:#293237; font-size:8px; font-weight:900; letter-spacing:.06em; }
.loadout-bar { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(215px,.8fr) auto; align-items:center; gap:18px; margin:0 0 15px; padding:13px 15px; border:1px solid #59605f; background:#22292d; }
.loadout-character { display:flex; align-items:center; gap:14px; min-width:0; }
.loadout-character img { width:110px; height:110px; object-fit:contain; image-rendering:pixelated; background:#192024; border:1px solid #505b5d; }
.loadout-character small { color:#73d4df; font-size:8px; font-weight:900; letter-spacing:.11em; }
.loadout-character h2 { margin:4px 0; font-size:21px; color:#f6f0dc; }
.loadout-character p { max-width:445px; margin:0; color:#b8c0bb; font-size:10px; line-height:1.5; }
.loadout-stats { display:flex; gap:12px; margin-top:8px; }
.loadout-stats>div { width:90px; display:grid; gap:4px; }
.loadout-stats span { color:#aebbb8; font-size:7px; font-weight:900; }
.loadout-stats i { height:5px; overflow:hidden; background:#3c4548; }
.loadout-stats b { height:100%; display:block; background:#57cbd6; }
.loadout-options { min-width:0; display:grid; gap:5px; }
.loadout-options label { color:#81d3dc; font-size:8px; font-weight:900; letter-spacing:.1em; }
#lobby-saga { min-width:0; height:33px; border:1px solid #536063; padding:0 7px; color:#f1f1e9; background:#192024; font:inherit; font-size:10px; }
.form-select { display:flex; gap:4px; min-width:0; }
.form-option { flex:1; min-width:0; height:52px; display:grid; grid-template-rows:34px 12px; justify-items:center; align-items:center; border:1px solid #465153; padding:2px; color:#d1d6d1; background:#272f33; }
.form-option img { width:100%; height:34px; object-fit:contain; image-rendering:pixelated; }
.form-option span { overflow:hidden; max-width:100%; color:#b6c0bd; font-size:6px; text-overflow:ellipsis; white-space:nowrap; }
.form-option.selected { border-color:#ff9d45; background:#453326; box-shadow:inset 0 -2px #ff9d45; }
.form-option.selected span { color:#ffe3ae; }
#lobby-start { min-height:42px; white-space:nowrap; }
.install-app { display:flex; align-items:center; gap:5px; border:1px solid #556064; padding:6px 9px; color:#e7ece7; background:#252d31; font-size:8px; font-weight:900; letter-spacing:.07em; }
.install-app[hidden] { display:none; }
.header-actions { display:flex; align-items:center; gap:9px; }
@media (max-width:900px) { .loadout-bar { grid-template-columns:minmax(0,1fr) minmax(185px,.8fr); gap:10px; } .loadout-character { grid-row:span 2; } .loadout-character img { width:82px;height:96px; } #lobby-start { justify-self:start; min-height:34px; } }
@media (max-width:760px) {
 .fighter-hud { top:23px; gap:4px; grid-template-columns:minmax(0,1fr) 37px minmax(0,1fr); padding:4px 6px; }
 .fighter-hud .nameplate { max-width:100px; }
 .fighter-hud .monogram { min-width:25px; }
 .back-to-select { display:none; }
 .loadout-bar { grid-template-columns:minmax(0,1fr) minmax(135px,.76fr); gap:8px; margin-bottom:9px; padding:9px; }
 .loadout-character { grid-row:1 / span 2; gap:8px; }
 .loadout-character img { width:62px;height:86px; }
 .loadout-character h2 { font-size:15px; }
 .loadout-character p { font-size:8px; }
 .loadout-stats { gap:5px; }
 .loadout-stats>div { width:52px; }
 .loadout-options { gap:3px; }
 #lobby-saga { height:29px; font-size:8px; }
 .form-option { height:46px; grid-template-rows:29px 11px; }
 .form-option img { height:29px; }
 .form-option span { font-size:5px; }
 #lobby-start { grid-column:2; min-height:31px; padding:0 8px; font-size:7px; }
 .install-app { padding:5px; font-size:0; }
 .install-app span { display:none; }
}
@media (max-width:390px) { .loadout-bar { grid-template-columns:1fr; } .loadout-character { grid-row:auto; } .loadout-options { grid-template-columns:1fr; } #lobby-start { grid-column:auto; } }
