/* arena.css */
:root{color-scheme:dark;--bg:#101216;--panel:#191c22;--panel-deep:#14171c;--line:#30343d;--text:#f6f5f0;--muted:#a0a6b0;--gold:#f3c65b;--green:#7bcba4;--radius:12px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--bg);color:var(--text);font-family:"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.5}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;transition:background .18s,border-color .18s,color .18s,transform .18s}button:disabled{opacity:.5;cursor:default}button:not(:disabled):active{transform:translateY(1px)}button,input,select{min-height:44px;border-radius:7px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:2px solid var(--gold);outline-offset:4px}[hidden]{display:none!important}a{color:inherit}button.primary{background:var(--gold);color:#191a1d;font-weight:750;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;box-shadow:0 4px 20px #f3c65b0c}button.primary:hover:not(:disabled){background:#ffdc88}button.primary>span{font-size:22px;line-height:1}.secondary{border:1px solid #454951;background:#24272d;color:var(--text);padding:11px 17px;font-weight:600}.secondary:hover:not(:disabled){background:#30343b;border-color:#737780}.quiet{background:transparent;color:#b9bec6;padding:9px 12px;border:1px solid var(--line)}.quiet:hover:not(:disabled){background:#ffffff08;color:#fff}input{width:100%;border:1px solid #373c46;background:#111419;color:#fff;padding:13px 15px}input:focus{border-color:var(--gold)}input::placeholder{color:#767e8b;font-size:12px}input:disabled{color:#d7d9dc;background:#202329}label{display:block;font-size:12px;font-weight:600;color:#c4c8cf;margin:0 0 9px}select{background:#15181e;color:#e1e3e7;border:1px solid #41454f;padding:10px 34px 10px 12px;font-size:12px;display:block;margin-top:7px}h1,h2,h3,h4,p{overflow-wrap:break-word}h1,h2,h3,h4{line-height:1.2}button{line-height:1.35}
.top{max-width:1480px;min-height:90px;margin:auto;padding:0 48px;display:flex;align-items:center;justify-content:space-between;gap:26px;border-bottom:1px solid #ffffff0a}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;flex-shrink:0;font-size:13px;font-weight:850;letter-spacing:.3px;line-height:1.3}.brand b{color:var(--gold)}.brand small{display:block;font-size:9px;letter-spacing:3.2px;margin-top:5px;color:var(--gold);font-weight:650}.brand-mark{width:35px;height:39px;color:var(--gold)}.brand-mark svg{width:100%;height:100%}.quicknav{display:flex;align-self:stretch;align-items:stretch;gap:14px}.quicknav button{background:none;color:#a3a8b2;border-radius:0;padding:5px 7px;font-size:12px;white-space:nowrap;position:relative}.quicknav button:hover{color:#fff}.quicknav .nav-play{color:var(--gold)}.nav-play:after{content:'';position:absolute;bottom:0;left:5px;right:5px;height:2px;background:var(--gold)}.account-bar{display:flex;gap:16px;align-items:center}.account-bar button{font-size:11px;white-space:nowrap}.account-bar>.secondary{border-color:#57503b;background:#f3c65b08;color:#f7d98d}.account-bar>#account-summary{font-size:11px;color:#c9c9c7;max-width:136px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.account-bar>#account-summary:not([data-member]){display:none}.online-pill{font-size:11px;display:flex;gap:6px;align-items:center;white-space:nowrap;color:#b8bec5}.online-pill strong{color:#e1ece4;font-variant-numeric:tabular-nums}.online-pill i,.status-dot{width:6px;height:6px;border-radius:50%;background:var(--green);display:inline-block;box-shadow:0 0 12px #7bcba440}.online-pill i{margin-right:3px}.skip-link{position:fixed;top:-60px;left:20px;background:var(--gold);color:#000;padding:12px;z-index:99}.skip-link:focus{top:10px}
main{max-width:1480px;margin:auto;padding:24px 48px 70px;min-height:calc(100vh - 245px)}.welcome{display:block}.hero{position:relative;min-height:500px;border:1px solid #353b43;border-radius:14px;overflow:hidden;background:#0c1521;isolation:isolate;display:flex;align-items:center}.hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;z-index:-3;animation:reveal-art 1.4s ease-out both}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#10171ff2 0%,#111820d9 26%,#10161c33 58%,#11161a00 80%),linear-gradient(0deg,#101216a8,transparent 30%);z-index:-2}.intro{padding:54px;position:relative;max-width:690px;animation:reveal-copy .8s ease-out both}.hero-kicker{display:flex;align-items:center;gap:9px;font-size:9px;letter-spacing:1.7px;color:#f4d180;font-weight:750}.hero-kicker>span{width:17px;height:2px;background:var(--gold)}.intro h1{font-size:clamp(38px,4.2vw,62px);line-height:1.07;letter-spacing:-2.6px;font-weight:850;margin:26px 0 23px}.intro em{color:var(--gold);font-style:normal}.intro p{font-size:14px;color:#c2c9d1;line-height:1.8;margin:0 0 29px}.hero-actions{display:flex;align-items:center;gap:21px}.hero-actions .primary{width:179px;min-height:49px;font-size:13px}.hero-watch{background:transparent;color:#e7e6e1;font-size:12px;display:flex;gap:8px;align-items:center;padding:10px 0}.hero-watch>span{font-size:20px;color:#f1d692}.hero-watch:hover{color:var(--gold)}.hero-note{display:flex;align-items:center;gap:8px;margin-top:20px;font-size:10px;color:#979fa9}.hero-note>span{color:var(--gold)}.hero-note i{width:2px;height:2px;background:#77808d;margin:0 4px}.hero-caption{position:absolute;right:28px;bottom:23px;text-align:right;display:flex;flex-direction:column;color:#fffc;font-size:8px;letter-spacing:2.2px}.hero-caption b{font-size:10px;margin-top:5px;letter-spacing:1px}.arena-stats{display:grid;grid-template-columns:repeat(4,1fr);margin-top:14px;border:1px solid var(--line);border-radius:10px;background:#171a20;min-height:88px}.arena-stats>div{display:flex;align-items:center;gap:16px;padding:20px 32px;position:relative}.arena-stats>div+div:before{content:'';position:absolute;left:0;top:24px;bottom:24px;width:1px;background:#343740}.arena-stats p{display:flex;align-items:baseline;gap:11px;margin:0}.arena-stats strong{font-size:24px;line-height:1;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.arena-stats p>span{font-size:11px;color:#949ba6;white-space:nowrap}.stat-symbol{font-size:23px;color:#d7b66b;line-height:1}.arena-stats .status-dot{margin-left:auto;flex-shrink:0}.eyebrow{font-size:10px;letter-spacing:2.1px;color:#d6bc80;font-weight:700}.gold{color:var(--gold)}
.play-section{display:grid;grid-template-columns:1.05fr 1fr;gap:100px;align-items:center;max-width:1100px;margin:70px auto 0;scroll-margin-top:30px}.play-story h2{font-size:35px;font-weight:720;line-height:1.18;letter-spacing:-1.3px;margin:19px 0}.play-story h2 em{font-style:normal;color:#a4a8b0}.play-story>p{font-size:13px;color:var(--muted);line-height:1.85}.play-steps{list-style:none;padding:0;margin:28px 0}.play-steps li{display:flex;align-items:center;gap:18px;padding:13px 0}.play-steps li>b{font-size:12px;color:#d9bd7b;font-variant-numeric:tabular-nums;width:35px;height:35px;border:1px solid #3f3d33;border-radius:8px;display:grid;place-items:center;background:#e2bf6110;font-weight:500}.play-steps strong{display:block;font-size:13px;font-weight:600}.play-steps span{display:block;font-size:11px;color:#999fa9;margin-top:4px}.platform-note{font-size:10px;color:#8d949f;border-top:1px solid #2d3139;padding-top:20px;display:flex;align-items:center;gap:10px}.mini-controller{font-size:18px;color:#bfc5ce}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:25px}.entry{padding:29px;box-shadow:0 18px 50px #0002;position:relative;overflow:hidden}.entry:before{content:'';position:absolute;top:0;left:30px;right:30px;height:1px;background:linear-gradient(90deg,transparent,#e6c97588,transparent)}.entry-top{display:flex;align-items:center;justify-content:space-between}.entry-badge{font-size:9px;color:#a4adb9;letter-spacing:.8px;border:1px solid #3b404a;border-radius:4px;padding:4px 7px}.entry h2{font-size:26px;letter-spacing:-.7px;margin:18px 0 9px}.entry-intro{font-size:12px;color:#999fa9;margin:0 0 24px}.entry input{margin-bottom:12px}.entry .primary,.entry .secondary{width:100%;font-size:12px;min-height:47px}.entry .secondary{display:flex;align-items:center;justify-content:space-between}.entry #watch{width:100%;margin-top:10px;font-size:10px;border-color:transparent;min-height:32px;color:#a4aab5}.divider{display:flex;align-items:center;gap:13px;color:#929aa6;font-size:10px;margin:22px 0}.divider:before,.divider:after{content:'';height:1px;flex:1;background:#343840}.entry-note{font-size:10px;color:#888f99;text-align:center;margin:12px 0 0}
.community{margin-top:68px;padding-top:39px;border-top:1px solid var(--line);scroll-margin-top:20px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.section-heading h2{font-size:29px;letter-spacing:-1px;margin:12px 0 0}.section-heading h3{margin:0}.section-heading label{margin:0}.live-label{color:var(--green);font-size:10px;font-weight:600;letter-spacing:.5px}.tabs{display:flex;gap:26px;margin:30px 0 20px;flex-wrap:wrap;border-bottom:1px solid var(--line)}.tabs button{background:transparent;color:#999fab;padding:0 0 16px;border-radius:0;font-size:12px;min-height:40px;position:relative}.tabs button.active{color:var(--gold);font-weight:600}.tabs button.active:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--gold)}.tabs span{display:inline-block;margin-left:6px;border-radius:4px;background:#f3c65b16;color:#d8bb75;padding:1px 6px;font-size:9px}.subtext{font-size:11px;color:#9ea5b0;line-height:1.7;margin:13px 0 0}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:17px;margin:20px 0 27px}.match-card{max-width:640px;background:linear-gradient(145deg,#1d2129,#171a20)}.match-versus{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;margin:25px 0 13px}.match-versus strong{font-size:16px;overflow-wrap:anywhere}.match-versus strong:last-child{text-align:right}.match-versus b{font-size:27px;color:#f1d389;font-variant-numeric:tabular-nums;white-space:nowrap}.button-row{display:flex;gap:9px;flex-wrap:wrap;margin-top:17px}.button-row button{font-size:11px}.empty{padding:38px 28px;text-align:center;color:#939ca8;font-size:13px;line-height:1.8;border:1px dashed #3a3f49;border-radius:10px;background:repeating-linear-gradient(135deg,#1b1e2400 0 18px,#ffffff01 18px 19px)}.empty-title{display:block;font-size:16px;color:#e5e5e4;margin:0 0 7px;font-weight:600}.empty-ball{display:block;color:#c9ab66;font-size:27px;line-height:1;margin-bottom:17px}.empty .quiet{margin-top:18px;font-size:11px;border-color:#57503b;color:#e6cf96}.community h3{font-size:16px;letter-spacing:-.3px;margin:29px 0 16px}.recent{display:grid;gap:8px}.recent-row{display:grid;grid-template-columns:1fr 80px 1fr 60px;align-items:center;gap:15px;background:#191c22;border:1px solid #2d323b;border-radius:8px;padding:15px 20px;font-size:12px;overflow-wrap:anywhere}.recent-row b{text-align:center;color:#f0d596;font-variant-numeric:tabular-nums}.recent-row>span:nth-of-type(2){text-align:right}.recent-row small{text-align:right;margin:0}.penalty-detail{display:block;font-size:10px;color:var(--green);white-space:nowrap;margin-top:5px}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:10px;margin-top:22px}table{width:100%;border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums}th,td{padding:18px;border-bottom:1px solid #30343c}th{background:#1e2229;font-size:10px;font-weight:600;color:#a9afba;letter-spacing:.4px}td{font-size:13px;background:#171a20}td:first-child{color:#a3aab5}td:nth-child(2){font-weight:600;overflow-wrap:anywhere}tbody>tr:first-child>td:first-child{color:var(--gold);font-weight:750}tr.my-rank>td{background:#302b1e}tr:last-child td{border-bottom:0}.tournament-create{display:flex;gap:18px;align-items:end;flex-wrap:wrap;margin-bottom:22px}.tournament-create>div{flex:1;min-width:200px}.tournament-create h3,.tournament-card h3{margin:0}.tournament-create label{min-width:125px;margin:0}.tournament-create input,.tournament-create select{margin-top:8px}.tournament-list{display:grid;gap:18px}.tournament-card{overflow:hidden}.participants{font-size:12px;color:#aeb5c1;line-height:1.8;overflow-wrap:anywhere}.bracket{display:flex;gap:18px;margin-top:24px;overflow:auto;padding-bottom:7px}.bracket-round{min-width:220px;flex:1}.bracket-round h4{font-size:10px;color:#cab579;text-transform:uppercase;letter-spacing:1.4px}.fixture{background:#12151b;border:1px solid #353a44;border-radius:8px;padding:14px;margin-bottom:12px}.fixture>div{display:flex;justify-content:space-between;gap:8px;padding:7px 0;font-size:12px}.fixture span{overflow-wrap:anywhere}.fixture-winner{color:var(--gold);font-weight:700}.fixture button{width:100%;font-size:11px;margin-top:10px}.champion{color:#f2d58f;padding:15px;background:#312a1d;border:1px solid #73613b;border-radius:9px}.score-stage,.shootout-score{color:var(--gold);font-size:11px;font-weight:650}.score-stage{flex-basis:100%;text-align:center}
.room-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:12px 0 28px}.room-top :is(h1,h2){font-size:28px;letter-spacing:-.8px;margin:9px 0 0}.arena{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px}.game-column{min-width:0}.screen-top{display:flex;align-items:center;gap:12px;background:#1c2028;border:1px solid #363d49;border-bottom:0;border-radius:12px 12px 0 0;padding:12px 16px;font-size:11px}.role{background:var(--gold);color:#151a1c;padding:4px 9px;border-radius:4px;font-size:12px;font-weight:800}.latency{margin-left:auto;color:#8793a3;font-size:10px;font-variant-numeric:tabular-nums}.screen{position:relative;aspect-ratio:256/240;width:100%;max-height:690px;background:#000;display:grid;place-items:center;overflow:hidden;border-inline:1px solid #363d49}.screen canvas,.screen img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;image-rendering:pixelated;display:block}.screen img{opacity:.32}.screen:fullscreen{height:100vh;max-height:none;width:100vw;border:0;aspect-ratio:auto}.waiting{position:absolute;left:12%;right:12%;bottom:12%;padding:22px;background:#171c25f2;border:1px solid #626b78;border-radius:10px;text-align:center;pointer-events:none;backdrop-filter:blur(4px)}.waiting span{display:block;font-weight:700;font-size:20px}.waiting small{display:block;color:#acb5c3;line-height:1.6;margin-top:9px}.screen-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;background:#191e26;border:1px solid #363d49;border-radius:0 0 12px 12px}.screen-bottom .quiet{font-size:11px;white-space:nowrap}.screen-bottom>span{font-size:10px;color:#9ca6b6;text-align:center}.sidebar{display:flex;flex-direction:column;gap:17px}.sidebar .panel{padding:20px}.seat{display:flex;align-items:center;gap:12px;padding:18px 0;border-bottom:1px solid #343840}.seat:last-of-type{border-bottom:0;margin-bottom:9px}.seat-number{font-size:12px;font-weight:700;background:#2b303a;padding:9px;border-radius:6px;color:#b3becf}.seat.me .seat-number{background:#423924;color:var(--gold)}.seat strong{font-size:13px;display:block;overflow-wrap:anywhere}.seat small{display:block;font-size:10px;color:#929cac;margin-top:5px}.seat .dot{width:6px;height:6px;min-width:6px;border-radius:50%;margin-left:auto;background:#636c7b}.seat.connected .dot{background:var(--green)}.copy-row{display:flex;gap:7px}.copy-row input{font-size:10px;padding:10px;min-width:0}.copy-row button{font-size:10px;padding:8px}.invite small{display:block;font-size:10px;line-height:1.6;color:#929ca9;margin-top:10px}.controls dl{margin:15px 0}.controls dl>div{display:flex;align-items:center;justify-content:space-between;padding:9px 0;border-bottom:1px solid #303641;font-size:11px}.controls dt{color:#a8b0bc}.controls dd{margin:0;font-weight:650}.controls dd span{color:#8794a5;font-size:10px;margin-left:4px;font-weight:400}.controls p{font-size:10px;line-height:1.7;color:#949daa;margin-bottom:0}.touch{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;user-select:none;margin-top:15px}.touch button{touch-action:none;background:#262d38;border:1px solid #424c5c;color:#bac7dc;font-size:10px;padding:12px}.touch .action{background:#453d2c;color:#f5d588;font-size:18px;font-weight:750;min-width:48px}.dpad{display:flex;gap:5px}.dpad button{font-size:15px}.live-score{display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap;background:linear-gradient(100deg,#1d232c,#202129);border:1px solid #3a424d;padding:18px 24px;border-radius:10px;margin-bottom:22px}.live-score>div{text-align:center;min-width:130px}.live-score strong{display:block;font-size:13px;overflow-wrap:anywhere}.live-score small{display:block;color:#9faab8;font-size:10px;margin-top:5px}.live-score>b{font-size:28px;font-weight:750;color:var(--gold);font-variant-numeric:tabular-nums;white-space:nowrap}.score-tag{font-size:9px;color:#acb0b5;letter-spacing:1.5px}.match-result{padding:18px;border:1px solid #576447;background:#232e23;color:#c0dfb0;border-radius:10px;font-size:13px;line-height:1.8}.chat-log{height:210px;overflow:auto;overflow-wrap:anywhere;scrollbar-width:thin;margin-top:15px}.chat-message{border-bottom:1px solid #303843;padding:10px 0}.chat-message strong{font-size:10px;color:#d4bd84}.chat-message p{font-size:12px;line-height:1.5;margin:6px 0 0;white-space:pre-wrap}.chat-form{display:flex;gap:6px;margin-top:12px}.chat-form input{min-width:0;font-size:11px;padding:10px}.chat-form button{font-size:10px;padding:8px}.chat-panel .section-heading{gap:8px}.chat-panel .subtext{margin:0}
dialog{color:var(--text);width:min(440px,calc(100% - 28px));box-shadow:0 35px 100px #0008;padding:28px!important}dialog::backdrop{background:#04070de0;backdrop-filter:blur(7px)}dialog .section-heading h2{font-size:25px;max-width:280px;margin:0}dialog label{margin-top:20px}dialog .subtext{margin:15px 0}dialog #auth-error{color:#f5ba94;font-size:12px}#auth-switch{width:100%;margin-top:12px;font-size:11px}#auth-close{font-size:20px;min-width:44px}.notice{padding:16px;border:1px solid #78613c;background:#30291e;color:#f5dba8;border-radius:8px;font-size:13px;margin-top:20px}.notice:empty{display:none}footer{max-width:1480px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:29px 48px 36px;border-top:1px solid #2a2f37;font-size:10px;color:#858d99}.footer-brand{font-size:12px;letter-spacing:.8px;font-weight:700;color:#cbd0d7}.footer-brand>span{font-size:9px;margin-left:12px;color:#d7bc7e;letter-spacing:1px}.footer-brand small{display:block;letter-spacing:0;font-size:10px;font-weight:400;color:#7d8795;margin-top:9px}footer>span{text-align:right;line-height:1.8}footer>span small{font-size:9px;color:#687583}
@keyframes reveal-art{from{opacity:0;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}@keyframes reveal-copy{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.hero{min-height:530px}.intro{padding:65px}.hero-art{object-position:center top}}
@media(max-width:1200px){.top{padding:0 30px;gap:20px}.quicknav{gap:7px}.account-bar>#account-summary{display:none}main{padding:20px 30px 55px}.intro{padding:40px}.hero{min-height:465px}.intro h1{font-size:48px}.arena-stats>div{padding:20px;gap:12px}.arena-stats p{gap:9px}.play-section{gap:55px;max-width:990px}.arena{grid-template-columns:minmax(0,1fr) 285px}.hero-caption{right:20px}.brand{font-size:12px}.online-pill{font-size:10px}.account-bar{gap:12px}.account-bar button{padding:10px}.play-story h2{font-size:32px}}
@media(max-width:980px){.top{flex-wrap:wrap;padding-top:19px;gap:16px}.quicknav{order:3;width:100%;height:43px;gap:25px}.account-bar{margin-left:auto}.hero{min-height:440px}.intro h1{font-size:43px;letter-spacing:-1.7px}.intro{padding:30px;max-width:560px}.hero-kicker{font-size:8px;letter-spacing:1.2px}.hero-shade{background:linear-gradient(90deg,#111820ee,#111820b3 35%,#1118200d 85%)}.arena-stats p{display:block}.arena-stats p>span{display:block;margin-top:8px;font-size:10px}.arena-stats .stat-symbol{font-size:21px}.arena-stats strong{font-size:23px}.play-section{gap:35px;margin-top:48px}.play-story h2{font-size:30px}.play-story>p br{display:none}.entry{padding:24px}.arena{grid-template-columns:minmax(0,1fr) 250px;gap:16px}.sidebar .panel{padding:16px}.hero-caption{display:none}.live-score{gap:16px}.tournament-create{gap:15px}}
@media(max-width:720px){.top{padding:16px 20px 0;gap:14px}.brand{font-size:11px}.brand-mark{width:28px;height:32px}.brand small{font-size:8px;letter-spacing:2.4px}.account-bar{gap:8px}.account-bar{display:grid;gap:6px;justify-items:end}.account-bar button{grid-row:1}.account-bar .online-pill{position:static;grid-row:2;font-size:9px;justify-content:flex-end}.online-pill>span{display:inline}.account-bar button{font-size:10px;padding:8px 10px;min-height:38px}.quicknav{height:40px;gap:22px;justify-content:flex-start}.quicknav button{font-size:11px;padding:4px 0}.top .nav-play:after{left:0;right:0}main{padding:16px 16px 45px}.hero{min-height:585px;align-items:flex-end;border-radius:10px}.hero-art{height:370px;object-fit:cover;object-position:73% center;opacity:1}.hero-shade{background:linear-gradient(180deg,transparent 150px,#11172088 245px,#111720 340px)}.intro{padding:270px 23px 30px;max-width:100%;animation:none;width:100%}.hero-kicker{font-size:7px;letter-spacing:.9px;gap:7px}.hero-kicker>span{width:10px}.intro h1{font-size:39px;line-height:1.1;letter-spacing:-1.9px;margin:18px 0 15px}.intro p{font-size:12px;line-height:1.8;margin:0 0 22px}.hero-actions{gap:17px}.hero-actions .primary{width:147px;min-height:45px;font-size:12px;padding:13px 16px}.hero-watch{font-size:10px;gap:5px}.hero-note{margin-top:17px;font-size:9px;gap:6px}.arena-stats{grid-template-columns:1fr 1fr;border-radius:8px;margin-top:11px}.arena-stats>div{padding:20px 22px;gap:14px;min-height:86px}.arena-stats>div+div:before{top:20px;bottom:20px}.arena-stats>div:nth-child(3):before{display:none}.arena-stats>div:nth-child(n+3){border-top:1px solid #30343c}.arena-stats strong{font-size:22px}.arena-stats p>span{margin-top:6px}.arena-stats .status-dot{margin-left:0}.play-section{grid-template-columns:1fr;gap:28px;margin-top:43px}.play-story{padding:0 7px}.play-story h2{font-size:30px;letter-spacing:-1.2px;margin:17px 0}.play-story>p{font-size:12px}.play-steps{margin:20px 0}.play-steps li{padding:11px 0}.play-steps strong{font-size:12px}.play-steps span{font-size:10px}.platform-note{font-size:9px;padding-top:15px}.entry{padding:23px}.entry h2{font-size:25px}.community{margin-top:42px;padding-top:30px}.section-heading{gap:15px}.section-heading h2{font-size:26px;letter-spacing:-.8px}.eyebrow{font-size:8px;letter-spacing:1.7px}.section-heading>.live-label{font-size:9px}.tabs{gap:22px;margin:24px 0 18px}.tabs button{font-size:11px}.cards{gap:14px}.empty{padding:28px 20px;font-size:12px}.empty-title{font-size:15px}.room-top :is(h1,h2){font-size:23px}.room-top .quiet{font-size:10px}.arena{grid-template-columns:1fr;gap:22px}.screen{max-height:none}.screen-bottom>span{display:none}.screen-bottom .quiet{font-size:10px}.waiting{left:7%;right:7%;padding:16px}.waiting span{font-size:17px}.waiting small{font-size:11px}.sidebar .panel{padding:20px}.live-score{padding:16px 12px;gap:13px}.live-score>div{min-width:80px;flex:1}.live-score .score-tag{width:100%;text-align:center}.live-score strong{font-size:12px}.match-result{font-size:12px}.recent-row{gap:8px;padding:13px;font-size:11px;grid-template-columns:1fr 66px 1fr}.recent-row small{display:none}.table-wrap{margin-top:18px}th,td{padding:13px 10px;font-size:11px}.tournament-create>*{width:100%}.tournament-create>div{min-width:0}.bracket-round{min-width:205px}.touch{gap:6px}.touch button{padding:10px}.touch .action{min-width:45px}footer{padding:25px 23px;align-items:flex-start;flex-direction:column;gap:17px}.footer-brand{font-size:10px}.footer-brand>span{font-size:8px;display:block;margin:5px 0 0}footer>span{text-align:left;font-size:9px}}
@media(max-width:380px){.top{padding-inline:16px}.brand{font-size:10px;gap:7px}.brand small{letter-spacing:2px}.account-bar button{font-size:9px;padding:7px}.quicknav{gap:20px}.intro{padding-inline:18px}.intro h1{font-size:34px}.hero-kicker{font-size:6.5px}.hero-actions{gap:12px}.hero-watch{font-size:9px}.hero-actions .primary{width:139px}.arena-stats>div{padding:18px 16px}.tabs{gap:17px}.tabs button{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
#account-summary[data-member]{display:flex;align-items:center;gap:10px;max-width:240px;text-align:left;padding:10px 12px;border:1px solid #f3c65b35;background:linear-gradient(120deg,#f3c65b12,#18212b);border-radius:10px}
.member-level{display:grid;place-items:center;flex:0 0 38px;width:38px;height:42px;border:1px solid #f3c65b88;border-radius:12px 12px 18px 18px;color:var(--gold);font-size:19px;background:#f3c65b13}
.member-progress{display:grid;gap:2px;min-width:0}.member-progress strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:12px}.member-progress small{font-size:10px;color:#c6ced8}.member-progress .level-next{color:#a5afbd;font-size:9px}.member-progress progress{width:100%;min-width:120px;height:5px;border:0;border-radius:5px;overflow:hidden;accent-color:var(--gold);background:#303b49}.member-progress progress::-webkit-progress-bar{background:#303b49}.member-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#d48b2b,#ffe497)}
@media(max-width:1100px){.top{flex-wrap:wrap;padding-block:14px}.account-bar{flex-wrap:wrap;justify-content:flex-end}#account-summary[data-member]{max-width:220px}}
@media(max-width:620px){.account-bar{width:100%;justify-content:space-between;gap:8px}#account-summary[data-member]{display:flex;flex:1;max-width:none}.member-progress{flex:1}.quicknav{order:3;width:100%}.top{gap:12px}.online-pill{white-space:nowrap}.account-bar #logout{font-size:10px}}
@media(max-width:620px){.account-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;justify-items:stretch}.account-bar>#account-summary[data-member]{grid-column:1;grid-row:1 / span 2;white-space:normal}.account-bar button{grid-column:2;grid-row:1}.account-bar .online-pill{grid-column:2;grid-row:2}.member-progress progress{min-width:80px}}
#tab-ranking table{min-width:660px}

.room-policy{display:flex;align-items:center;gap:14px;padding:16px 20px;margin:-8px 0 22px;border:1px solid #7bcba43d;border-radius:10px;background:linear-gradient(110deg,#182823,#191e24)}
.room-policy-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:1px solid #7bcba45c;border-radius:50%;color:var(--green);background:#7bcba411;font-size:20px;font-weight:700}
.room-policy strong{display:block;color:#d6eddf;font-size:13px;line-height:1.5}.room-policy p{margin:4px 0 0;color:#adbcb7;font-size:12px;line-height:1.6}
.room-policy[data-mode="ranked"],.room-policy[data-mode="cup"]{border-color:#f3c65b4a;background:linear-gradient(110deg,#2b261b,#1d2026)}
.room-policy[data-mode="ranked"] strong,.room-policy[data-mode="cup"] strong{color:#f5d78c}.room-policy[data-mode="ranked"] .room-policy-icon,.room-policy[data-mode="cup"] .room-policy-icon{color:var(--gold);border-color:#f3c65b60;background:#f3c65b12}.room-policy[data-mode="ranked"] p,.room-policy[data-mode="cup"] p{color:#c0b8a5}
@media(max-width:720px){.room-policy{padding:14px;align-items:flex-start;gap:11px;margin-bottom:18px}.room-policy strong{font-size:12px}.room-policy p{font-size:11px}.room-policy-icon{flex-basis:30px;width:30px;height:30px;font-size:17px}}

/* Small live ping labels update independently of the game canvas. */
.seat-name-line,.score-name-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.member-ping{display:inline-flex;align-items:center;flex-shrink:0;font-size:10px;line-height:1.4;font-variant-numeric:tabular-nums;font-weight:600;padding:2px 6px;border-radius:5px;border:1px solid #ffffff15;background:#ffffff06;color:#9baabd}.member-ping[data-quality=good]{color:#8bd7b5}.member-ping[data-quality=fair]{color:#f1ca78}.member-ping[data-quality=poor]{color:#f39a91}.member-ping[hidden]{display:none}.score-name-line{justify-content:center}


/* game-controls.css */
/* Four direction keys; independent contacts and corner hit areas allow diagonals. */
.game-stage { min-width: 0; }
.touch {
  --pad-unit: clamp(40px, 11.5vw, 48px);
  --action-size: clamp(44px, 13.5vw, 58px);
  display: grid; grid-template-columns: auto minmax(44px, 1fr) auto;
  align-items: center; gap: 8px;
  width: min(100%, 560px); margin: 12px auto 0; padding: 10px 8px;
  border: 1px solid #343a45; border-radius: 14px;
  background: linear-gradient(145deg, #1c2028, #14171d);
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.touch, .touch * { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-user-drag: none; }
.touch button { touch-action: none; }
.touch .dpad { position: relative; display: block; width: calc(var(--pad-unit) * 3); height: calc(var(--pad-unit) * 3); }
.touch .dpad-key {
  --turn: 0deg;
  position: absolute; top: 0; left: var(--pad-unit);
  width: var(--pad-unit); height: calc(var(--pad-unit) * 4 / 3);
  min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent;
  clip-path: polygon(0 0, 100% 0, 100% 63%, 50% 100%, 0 63%);
  transform-origin: 50% calc(var(--pad-unit) * 1.5);
  transform: rotate(var(--turn)); transition: none;
}
.touch .dpad-key:active { transform: rotate(var(--turn)); }
.touch .dpad-key[data-key="7"] { --turn: 90deg; }
.touch .dpad-key[data-key="5"] { --turn: 180deg; }
.touch .dpad-key[data-key="6"] { --turn: 270deg; }
.dpad-key svg { display: block; width: 100%; height: 100%; pointer-events: none; }
.dpad-key .arm { fill: #242830; stroke: #8b929d; stroke-width: 1.5; }
.dpad-key .arrow { fill: none; stroke: #d5d9df; stroke-width: 1.7; stroke-linejoin: round; }
.dpad-key.pressed .arm { fill: #625130; stroke: #f3c65b; }
.dpad-key.pressed .arrow { fill: #f3c65b; stroke: #ffe4a8; }
.touch .dpad-key:focus-visible .arm { stroke: #ffe4a8; stroke-width: 3; }
.touch-system { display: flex; flex-direction: column; gap: 9px; align-items: center; }
.touch .touch-system button { width: 52px; max-width: 100%; min-height: 44px; padding: 8px 2px; border-radius: 8px; font-size: 9px; letter-spacing: .3px; color: #c5cbd4; }
.touch-actions { display: flex; gap: 7px; align-items: center; padding-block: 12px; }
.touch .touch-actions .action { width: var(--action-size); min-width: 0; height: var(--action-size); padding: 0; border-radius: 50%; border: 2px solid #ab8b47; background: #3f3523; color: #ffe3a0; font-size: 21px; box-shadow: 0 4px 0 #080b10; }
.touch-actions [data-key="1"] { margin-top: 24px; }
.touch-actions [data-key="0"] { margin-bottom: 24px; }
.touch-system button.pressed, .touch .touch-actions .action.pressed { background: #785e2b; color: #fff2d2; border-color: #ffdd8a; box-shadow: none; }
body.game-fullscreen { overflow: hidden; }
.game-stage:fullscreen, .game-stage.is-fullscreen {
  position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column;
  width: 100%; height: 100vh; height: 100dvh; margin: 0;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  overflow: hidden; background: #080b10;
}
.is-fullscreen .screen-top { display: none; }
.is-fullscreen .screen { order: 1; flex: 1 1 0; min-height: 0; max-height: none; width: 100%; aspect-ratio: auto; border: 0; }
.is-fullscreen .screen canvas, .is-fullscreen .screen img { width: 100%; height: 100%; object-fit: contain; }
.is-fullscreen .touch { order: 2; flex: 0 0 auto; margin: 0 auto; border-radius: 12px; }
.is-fullscreen .screen-bottom { order: 3; flex: 0 0 auto; width: min(100%, 560px); align-self: center; padding: 3px 8px; border: 0; border-radius: 0; background: transparent; }
.is-fullscreen .screen-bottom button { min-height: 44px; padding: 6px 10px; }
.is-fullscreen .screen-bottom>span { display: none; }
@media (orientation: landscape) and (max-height: 600px) {
  .is-fullscreen .touch { --pad-unit: 36px; --action-size: 48px; padding-block: 3px; max-width: 620px; }
  .is-fullscreen .touch-system { flex-direction: row; justify-content: center; }
  .is-fullscreen .touch-actions { padding-block: 0; gap: 16px; }
  .is-fullscreen .touch-actions [data-key] { margin: 0; }
  .is-fullscreen .waiting { padding: 9px; bottom: 8%; }
  .is-fullscreen .waiting span { font-size: 14px; }
  .is-fullscreen .waiting small { font-size: 10px; margin-top: 3px; }
}

/* Use the same touch targets in native fullscreen and in the in-page fallback. */
.game-stage.is-fullscreen.mobile-room-ui {
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto auto;
  padding: 0;
  background: #000;
}
.game-stage.is-fullscreen.mobile-room-ui > .screen {
  grid-area: 1 / 1 / -1 / -1;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: #000;
}
/* Fit the entire 256 x 240 picture to the usable viewport with a single scale.
   The title, game and HD filter have the same aspect ratio. */
.is-fullscreen.mobile-room-ui .screen canvas,
.is-fullscreen.mobile-room-ui .screen img {
  inset: env(safe-area-inset-top, 0px) auto auto env(safe-area-inset-left, 0px);
  width: calc(100% - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
  height: calc(100% - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  object-fit: contain;
  object-position: center;
}
.is-fullscreen.mobile-room-ui .screen .waiting { z-index: 2; }
.is-fullscreen.mobile-room-ui .touch:not([hidden]) {
  grid-area: 2 / 1;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "pad actions" "pad system";
  justify-items: center;
  gap: 28px 0;
  padding-inline: max(8px, env(safe-area-inset-left)) max(8px, env(safe-area-inset-right));
  border: 0;
  background: none;
  z-index: 1;
  pointer-events: none;
}
.is-fullscreen.mobile-room-ui > .touch > * { pointer-events: auto; }
.is-fullscreen.mobile-room-ui > .screen-bottom {
  grid-area: 3 / 1; justify-self: center; z-index: 1;
  padding-bottom: max(3px, env(safe-area-inset-bottom));
}
.is-fullscreen.mobile-room-ui .touch .dpad-key .arm { fill: transparent; stroke: rgb(245 248 253 / 62%); }
.is-fullscreen.mobile-room-ui .touch .dpad-key .arrow { stroke: rgb(255 255 255 / 83%); }
.is-fullscreen.mobile-room-ui .touch .dpad-key svg { filter: drop-shadow(0 1px 1px #000b); }
.is-fullscreen.mobile-room-ui .touch .touch-actions .action,
.is-fullscreen.mobile-room-ui .touch .touch-system button {
  background: transparent;
  border: 1px solid rgb(255 226 164 / 62%);
  color: rgb(255 244 216 / 85%);
  text-shadow: 0 1px 2px #000;
  box-shadow: 0 0 2px #0009;
  transition: none;
}
.is-fullscreen.mobile-room-ui .touch .dpad-key.pressed .arm { fill: rgb(110 76 18 / 35%); stroke: #ffdf89; }
.is-fullscreen.mobile-room-ui .touch .touch-actions .action.pressed,
.is-fullscreen.mobile-room-ui .touch .touch-system button.pressed { background: rgb(117 83 29 / 35%); color: white; border-color: #ffde83; }
.is-fullscreen.mobile-room-ui .touch .dpad { grid-area: pad; }
.is-fullscreen.mobile-room-ui .touch-actions {
  grid-area: actions;
  align-self: end;
  padding-block: 0;
}
.is-fullscreen.mobile-room-ui .touch-system {
  grid-area: system;
  align-self: start;
  flex-direction: row;
  gap: 5px;
}
.is-fullscreen.mobile-room-ui .touch-actions [data-key] { margin: 0; }
@media (orientation: landscape) {
  .game-stage.is-fullscreen.mobile-room-ui {
    --side-space: max(clamp(118px, 16vw, 164px), calc((100% - 106.67dvh) / 2));
    --utility-space: 74px;
    display: grid;
    grid-template-columns: var(--side-space) minmax(0, 1fr) var(--side-space);
    grid-template-rows: minmax(0, 1fr);
  }
  .is-fullscreen.mobile-room-ui > .touch:not([hidden]) {
    --pad-unit: clamp(34px, 5vw, 48px);
    --action-size: clamp(44px, 6.4vw, 60px);
    grid-area: 1 / 1 / 2 / -1;
    grid-template-columns: var(--side-space) minmax(0, 1fr) var(--side-space);
    grid-template-rows: minmax(0, .84fr) auto minmax(0, 1.16fr);
    grid-template-areas: "pad . ." "pad . actions" "pad . system";
    align-self: stretch;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    border: 0;
    background: none;
    gap: 0;
    pointer-events: none;
  }
  .is-fullscreen.mobile-room-ui .touch-actions { gap: 6px; }
  .is-fullscreen.mobile-room-ui .touch-system { align-self: end; margin-bottom: var(--utility-space); }
  .game-stage.is-fullscreen.mobile-room-ui > .screen-bottom {
    grid-area: 1 / 1 / 2 / -1;
    align-self: end;
    display: grid;
    grid-template-columns: var(--side-space) minmax(0, 1fr) var(--side-space);
    justify-items: center;
    width: 100%;
    padding: 0 env(safe-area-inset-right) calc(3px + env(safe-area-inset-bottom)) env(safe-area-inset-left);
    gap: 2px 0;
    pointer-events: none;
  }
  .is-fullscreen.mobile-room-ui .screen-bottom > button {
    max-width: 100%;
    min-height: 32px;
    padding: 4px 6px;
    font-size: 10px;
    pointer-events: auto;
    background: rgb(14 19 25 / 22%);
    text-shadow: 0 1px 2px black;
  }
  .is-fullscreen.mobile-room-ui #sound { grid-area: 1 / 1; }
  .is-fullscreen.mobile-room-ui #room-report-game { grid-area: 2 / 1; min-height: 32px; }
  .is-fullscreen.mobile-room-ui .fullscreen-chat-toggle { grid-area: 1 / 3; }
  .is-fullscreen.mobile-room-ui #fullscreen { grid-area: 2 / 3; }
}
@media (orientation: landscape) and (max-height: 300px) {
  .game-stage.is-fullscreen.mobile-room-ui { --utility-space: 8px; }
  .game-stage.is-fullscreen.mobile-room-ui > .screen-bottom {
    width: max-content;
    max-width: 100%;
    display: flex;
    justify-content: center;
    gap: 4px;
  }
}



/* announcements.css */
.release-dialog,.feedback-dialog{box-sizing:border-box;color:#f3f5fa;background:#111a27;border:1px solid #354456;border-radius:22px;padding:0;box-shadow:0 28px 120px #000b;max-width:calc(100vw - 28px)}
.release-dialog{width:940px;max-height:90dvh;overflow:hidden}.release-dialog[open]{display:flex;flex-direction:column}.release-dialog::backdrop,.feedback-dialog::backdrop{background:#040910c9;backdrop-filter:blur(7px)}
.release-hero{position:relative;flex-shrink:0;min-height:215px;background:linear-gradient(90deg,#111e31 15%,#111e31d9 49%,#111e3140),url('/assets/stadium-1200.webp') right 25%/cover;border-bottom:1px solid #334151;padding:28px 34px 24px}.release-hero-copy{max-width:620px;position:relative}.release-kicker{font-size:9px;font-weight:800;letter-spacing:2.5px;color:#d4b56b}.release-meta{display:flex;gap:12px;align-items:center;margin:15px 0 9px}.release-meta>span{font-size:8px;letter-spacing:1.4px;font-weight:800;color:#0e1723;background:#f4cf70;border-radius:4px;padding:4px 7px}.release-meta time{font-size:10px;color:#c4cddd}.release-hero h2{margin:0;font-size:27px;line-height:1.18;letter-spacing:-.6px}.release-hero h2 span{display:block}.release-hero h2 .release-version{font-size:16px;letter-spacing:.1px;color:#f4cf70;margin-bottom:5px}.release-intro{font-size:12px;line-height:1.65;color:#d1d9e5;margin:12px 0 0;max-width:505px}
.dialog-x{position:absolute;right:15px;top:15px;border:1px solid #ffffff30;background:#0b1424b3;border-radius:50%;color:#fff;width:34px;height:34px;padding:0;font-size:25px;line-height:1;z-index:2}.dialog-x:hover{background:#344358}.dialog-x:focus-visible{outline:2px solid #f4cf70;outline-offset:3px}.release-content{overflow:auto;overscroll-behavior:contain;padding:0 34px 26px;scrollbar-color:#44526b #111a27;min-height:0}.release-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:22px 0;border-bottom:1px solid #2d3949}.release-summary>div{display:flex;flex-direction:column;gap:3px}.release-summary>div+div{border-left:1px solid #354052;padding-left:20px}.release-summary strong{font-size:23px;color:#f4cf70;letter-spacing:-.5px}.release-summary span{font-size:10px;color:#aab8ca}.release-section-heading{display:flex;align-items:center;gap:14px;padding:25px 0 16px}.release-section-heading>span{font-size:8px;letter-spacing:1.2px;color:#e8c16c;background:#f4cf7010;border:1px solid #f4cf7028;border-radius:4px;padding:5px 7px;white-space:nowrap}.release-section-heading h3{font-size:16px;margin:0}.release-list{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;list-style:none;margin:0;padding:0}.release-list li{display:flex;gap:10px;align-items:flex-start;padding:12px;background:#ffffff03;border-radius:9px;border:1px solid #ffffff08}.release-tick{display:grid;place-items:center;flex:0 0 18px;height:18px;background:#94bdad13;border:1px solid #94bdad33;color:#a2d5b8;border-radius:50%;font-size:11px;margin-top:2px}.release-list h4{font-size:12px;line-height:1.5;margin:0 0 4px;font-weight:750;color:#e9edf5}.release-list p{font-size:11px;line-height:1.75;margin:0;color:#aebacc}.release-footnote{font-size:10px;line-height:1.7;color:#8fa0b8;border-top:1px solid #2d3949;padding-top:20px;margin:24px 0 0}
.release-actions{display:flex;flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;padding:17px 34px;border-top:1px solid #334052;background:#152132;margin:0}.release-actions .primary{padding:13px 20px;font-size:12px;white-space:nowrap}.release-feedback{color:#aebacc;font-size:10px;background:none;border:0;padding:3px 0;text-align:left}.release-feedback b{display:block;color:#f4cf70;font-size:12px;margin-top:4px}.release-banner{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 28px;margin:18px 0 0;background:linear-gradient(100deg,#e4b9580d,#17202a);border:1px solid #efd07929;border-radius:12px}.release-banner>div{display:flex;align-items:center;gap:16px}.release-banner-badge{display:grid;place-items:center;flex:0 0 53px;height:43px;border-radius:7px;font-size:17px;font-weight:800;color:#f4cf70;background:#f4cf7015;border:1px solid #f4cf7030}.release-banner p{margin:0;display:grid;gap:4px}.release-banner strong{font-size:13px}.release-banner p span{font-size:11px;color:#9cabbf}.release-banner button{font-size:11px;white-space:nowrap}.footer-updates{display:flex;gap:18px}.footer-updates button{font-size:11px;padding:6px 0;background:none;border:0;color:#d4b56b}
.feedback-dialog{width:560px;max-height:90dvh;overflow:auto;padding:36px}.feedback-dialog h2{font-size:30px;letter-spacing:-.7px;margin:13px 0 8px}.feedback-lead{color:#aebacc;font-size:13px;line-height:1.65;margin:0 0 23px}.feedback-dialog label{display:block;font-size:11px;font-weight:600;margin:0 0 16px}.feedback-dialog label>span{font-size:9px;font-weight:400;color:#90a0b5;margin-left:6px}.feedback-dialog input,.feedback-dialog select,.feedback-dialog textarea{box-sizing:border-box;display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #38465b;border-radius:7px;background:#0c1421;color:#e6edf7;font-family:inherit;font-size:12px;line-height:1.5}.feedback-dialog textarea{resize:vertical;min-height:120px;max-height:240px;font-family:inherit;font-size:12px}.feedback-dialog :is(input,textarea,select):focus{outline:2px solid #f4cf70;outline-offset:1px}.feedback-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.feedback-count{display:flex;justify-content:space-between;color:#899bb4;font-size:9px;margin-top:-8px}.feedback-privacy{font-size:10px;line-height:1.6;color:#95a6be;margin:20px 0 6px}.feedback-status{font-size:12px;line-height:1.6;color:#f5c789;min-height:18px;margin:8px 0}.feedback-dialog .primary{width:100%;text-align:center;font-size:12px;padding:14px}.feedback-dialog button:disabled{opacity:.55;cursor:wait}.feedback-trap{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}#feedback-success{text-align:center;padding:28px 0}#feedback-success[hidden]{display:none}.feedback-check{display:grid;place-items:center;width:65px;height:65px;margin:0 auto 22px;border:1px solid #95d5b754;border-radius:50%;color:#a5e7be;background:#64c59115;font-size:31px}#feedback-success .release-kicker{display:block}#feedback-success p{color:#b3c2d5;font-size:13px;line-height:1.8;margin:12px 0 25px}#feedback-success a{display:block;text-decoration:none;box-sizing:border-box}.feedback-toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:50;padding:15px 22px;border:1px solid #72be9680;border-radius:10px;background:#182c29;color:#c3f4d6;font-size:12px;box-shadow:0 12px 40px #0008;max-width:calc(100vw - 36px);width:max-content}.feedback-toast[hidden]{display:none}
#release-dialog{padding:0}#release-title:focus{outline:none}.release-actions .primary{width:auto;flex:0 0 auto}.release-feedback{min-width:130px}.release-hero-copy{padding-right:16px}
body:has(#room:not([hidden])) .footer-updates{display:none}
.release-history{margin-top:28px;padding-top:24px;border-top:1px solid #354052}.release-history>h3{margin:0 0 7px;font-size:17px}.release-history>p,.release-history-intro{font-size:11px;line-height:1.75;color:#aebacc}.release-history>p{margin:0 0 16px}.release-history-entry{margin:10px 0;border:1px solid #354052;border-radius:10px;background:#ffffff02;overflow:hidden}.release-history-entry>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 17px;cursor:pointer;list-style:none}.release-history-entry>summary::-webkit-details-marker{display:none}.release-history-entry>summary:hover{background:#ffffff04}.release-history-entry>summary:focus-visible{outline:2px solid #f4cf70;outline-offset:-3px}.release-history-label{display:grid;gap:5px;min-width:0}.release-history-label strong{font-size:13px;color:#f4cf70}.release-history-label>span{font-size:10px;color:#aebacc;line-height:1.5}.release-history-toggle{font-size:21px;color:#f4cf70;line-height:1;transition:transform .15s}.release-history-entry[open] .release-history-toggle{transform:rotate(45deg)}.release-history-body{padding:0 16px 18px;border-top:1px solid #354052}.release-history-intro{margin:15px 0 0}.release-history-body .release-list{grid-template-columns:1fr}.release-history-body .release-section-heading{padding:19px 0 12px;flex-wrap:wrap}.release-history-body .release-section-heading h3{font-size:14px}
@media(max-width:650px){.release-dialog{max-height:94dvh;border-radius:16px;width:calc(100vw - 18px);max-width:calc(100vw - 18px)}.release-hero{padding:25px 21px 20px;min-height:0;background-position:75% 25%}.release-kicker{font-size:7px;letter-spacing:1.7px}.release-hero h2{font-size:23px;max-width:280px}.release-meta{margin-top:16px}.release-meta time{font-size:9px}.release-intro{font-size:11px;max-width:290px}.release-content{padding:0 19px 20px}.release-list{grid-template-columns:1fr;gap:8px}.release-list li{padding:12px}.release-summary strong{font-size:20px}.release-summary span{font-size:9px}.release-summary>div+div{padding-left:10px}.release-section-heading{gap:10px;flex-wrap:wrap}.release-section-heading h3{font-size:15px}.release-actions{padding:14px 19px;gap:9px;flex-direction:row;align-items:center}.release-actions .primary{font-size:10px;padding:13px 12px}.release-feedback{font-size:9px}.release-feedback b{font-size:10px}.release-banner{flex-direction:column;align-items:stretch;padding:17px;margin:15px 15px 0}.release-banner>div{gap:12px}.release-banner-buttons{justify-content:space-between}.release-banner button{font-size:10px;padding:10px}.feedback-dialog{padding:33px 22px 25px;border-radius:16px}.feedback-dialog h2{font-size:27px}.feedback-fields{grid-template-columns:1fr;gap:0}.feedback-toast{font-size:11px;bottom:16px}}

/* Scheduled update notice */
.maintenance-notice{position:sticky;top:0;z-index:30;color:#f6f5f0;background:linear-gradient(110deg,#302817,#1d2026 72%);border-bottom:1px solid #f3c65b75;box-shadow:0 5px 24px #0003}
.maintenance-notice-inner{max-width:1480px;margin:auto;padding:16px 48px;display:flex;align-items:center;gap:18px}
.maintenance-notice-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;color:#f3c65b;border:1px solid #f3c65b66;border-radius:10px;background:#f3c65b12}
.maintenance-notice-icon svg{width:23px;height:23px}
.maintenance-notice-copy{flex:1;min-width:0}
.maintenance-notice-kicker{display:block;margin-bottom:3px;font-size:10px;font-weight:800;letter-spacing:1.6px;color:#f3c65b}
.maintenance-notice-copy strong{display:block;font-size:15px;line-height:1.5;font-weight:750}
.maintenance-notice-copy p{margin:3px 0 0;color:#d5d0c4;font-size:13px;line-height:1.5}
.maintenance-notice-time{flex:0 0 auto;min-width:165px;text-align:center;padding:8px 16px;border:1px solid #f3c65b66;border-radius:9px;background:#f3c65b0a}
.maintenance-notice-time b{display:block;color:#f3c65b;font-size:25px;line-height:1.15;letter-spacing:1px;font-variant-numeric:tabular-nums}
.maintenance-notice-time small{display:block;color:#ded1b2;font-size:10px;margin-top:5px}
@media(max-width:980px){.maintenance-notice-inner{padding:14px 24px;gap:13px}.maintenance-notice-copy strong{font-size:14px}.maintenance-notice-copy p{font-size:12px}}
@media(max-width:620px){.maintenance-notice-inner{padding:12px 16px;gap:10px;flex-wrap:wrap}.maintenance-notice-icon{display:none}.maintenance-notice-copy{flex-basis:100%}.maintenance-notice-kicker{font-size:9px;letter-spacing:1.3px}.maintenance-notice-copy strong{font-size:13px}.maintenance-notice-copy p{font-size:12px}.maintenance-notice-time{display:flex;align-items:center;gap:10px;min-width:0;padding:5px 10px;text-align:left}.maintenance-notice-time b{font-size:18px}.maintenance-notice-time small{margin:0;font-size:10px}}

@media(max-width:640px){.release-hero{background-image:linear-gradient(90deg,#111e31 15%,#111e31d9 49%,#111e3140),url('/assets/stadium-704.webp')}}


/* social.css */
/* Give matchmaking a clear primary action without moving the button or text. */
#hero-play{position:relative;width:220px;min-height:60px;padding:16px 23px;font-size:22px;font-weight:850;letter-spacing:.2px;line-height:1.15;white-space:nowrap;flex-shrink:0;box-shadow:0 6px 24px #f3c65b24}
#hero-play>span{font-size:27px;font-weight:700}
#hero-play::after{content:'';position:absolute;inset:-4px;border:1px solid #f3c65b77;border-radius:11px;box-shadow:0 0 20px #f3c65b35;pointer-events:none;opacity:.15;animation:match-cta-glow 3.8s ease-in-out infinite}
@keyframes match-cta-glow{0%,100%{opacity:.12}50%{opacity:.7}}
@media(max-width:720px){.hero-actions{flex-wrap:wrap;row-gap:12px}#hero-play{width:190px;min-height:56px;padding:15px 20px;font-size:20px}#hero-play>span{font-size:25px}}
@media(prefers-reduced-motion:reduce){#hero-play::after{animation:none;opacity:.2}}
.social-dialog{background:#191c23;color:#f3f4f7;border:1px solid #454439;border-radius:20px;width:min(440px,calc(100% - 28px));padding:32px;box-shadow:0 30px 120px #000b;max-height:calc(100dvh - 32px);overflow:auto}
.social-dialog::backdrop{background:#07090ddd;backdrop-filter:blur(7px)}.social-dialog h2{font-size:27px;letter-spacing:-.8px;margin:20px 0 12px}.social-eyebrow{color:var(--gold,#f3c65b);font-size:10px;font-weight:800;letter-spacing:2px}.social-detail{color:#aeb4c0;font-size:14px;line-height:1.7;margin:0 0 24px}.social-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.social-close{border:1px solid #353a43;background:#23262e;color:#c7ccd6;border-radius:8px;width:32px;height:32px;padding:0;font-size:23px;flex-shrink:0}.social-close:hover{color:#fff;border-color:#f3c65b}.social-actions{display:grid;gap:10px;margin-top:24px}.social-dialog .primary{justify-content:center;min-height:46px}.social-dialog .quiet{min-height:43px}.full-width{width:100%;margin-top:12px}
#match-dialog{text-align:center}.match-symbol{margin:28px auto 22px;border:1px solid #f3c65b55;background:radial-gradient(circle,#f3c65b18,transparent 70%);width:98px;height:98px;border-radius:50%;display:grid;place-items:center;position:relative}.match-symbol span{font-size:36px;color:#f3c65b}.match-symbol.searching:after{content:'';position:absolute;inset:-5px;border-radius:50%;border:2px solid transparent;border-top-color:#f3c65b;border-right-color:#f3c65b55;animation:match-orbit 1.4s linear infinite}.match-symbol.searching:before{content:'';position:absolute;inset:-14px;border:1px solid #f3c65b18;border-radius:50%}@keyframes match-orbit{to{transform:rotate(360deg)}}
.match-opponent{display:flex;align-items:center;gap:14px;padding:17px;background:#22262f;border:1px solid #414239;border-radius:12px;text-align:left;margin-top:22px}.match-opponent small{display:block;font-size:9px;letter-spacing:1.5px;color:#a2a8b4;margin-bottom:6px}.match-opponent strong{display:block;font-size:20px;overflow-wrap:anywhere}.social-avatar{width:40px;height:40px;flex-shrink:0;display:grid;place-items:center;border:1px solid #f3c65b33;background:#f3c65b12;color:#f7d986;border-radius:11px;font-size:17px;font-weight:800}.social-status{font-size:12px;line-height:1.6;color:#b8bec8;min-height:19px;margin:18px 0 0}.social-error{color:#ffb3a4;font-size:13px;line-height:1.5}.social-error:empty{margin:12px 0}.social-hint{font-size:11px;color:#a5adba;line-height:1.6}.social-info{font-size:12px;line-height:1.7;color:#bcc9c2;border:1px solid #70c29c26;background:#70c29c08;border-radius:10px;padding:13px 15px;margin:20px 0}.room-options{padding:0;border:0;display:grid;gap:10px;margin:22px 0}.room-options legend{font-size:12px;color:#bec4ce;margin-bottom:10px}.room-options label{display:flex;align-items:center;gap:13px;border:1px solid #3a404a;border-radius:12px;padding:15px;margin:0;cursor:pointer}.room-options label:has(input:checked){border-color:#cba64f;background:#f3c65b08}.room-options input{width:17px;height:17px;accent-color:#f3c65b;flex-shrink:0}.room-options b,.room-options small{display:block}.room-options b{font-size:14px;color:#e7e9ed;margin-bottom:5px}.room-options small{font-size:11px;color:#9da6b5;font-weight:400}
.online-widget{position:fixed;right:22px;bottom:20px;z-index:45;width:330px;max-width:calc(100vw - 28px);filter:drop-shadow(0 8px 22px #0006)}.online-toggle{display:flex;align-items:center;gap:10px;border:1px solid #5c5137;background:#20232b;color:#ebe9e0;border-radius:12px;padding:15px 17px;width:100%;font-size:13px;font-weight:650;text-align:left;min-height:52px}.online-toggle b{font-size:11px;color:#f3c65b;background:#f3c65b15;border-radius:6px;min-width:25px;text-align:center;padding:4px 6px;margin-left:auto}.online-chevron{color:#9fa7b4;font-size:17px}.online-toggle[aria-expanded=true] .online-chevron{transform:rotate(180deg)}#online-panel{background:#191d25;border:1px solid #454a54;border-radius:15px;overflow:hidden;margin-bottom:10px}.online-heading{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:22px 18px 0}.online-heading h2{font-size:16px;line-height:1.4;margin:8px 0 0;color:#eee}#online-help{font-size:11px;color:#929baa;line-height:1.7;padding:0 18px;margin:12px 0 16px}.online-list{max-height:min(330px,46dvh);overflow:auto;padding:0 10px 12px;scrollbar-width:thin}.online-person{position:relative;display:flex;align-items:center;gap:11px;padding:12px 8px;border-top:1px solid #ffffff0a}.online-person-name{flex:1;min-width:0}.online-person-name strong{display:block;font-size:12px;overflow-wrap:anywhere}.online-person-name small{display:block;color:#939caa;font-size:10px;margin-top:5px}.online-person-name .available{color:#91cfb2}.online-more{border:1px solid #353b48;background:#232831;color:#ced4df;width:31px;height:31px;font-size:20px;padding:0}.online-menu{position:relative;flex-basis:100%;background:#11151c;border:1px solid #464332;border-radius:8px;padding:8px}.online-person:has(.online-menu){flex-wrap:wrap}.online-menu button{background:#f3c65b;color:#191c22;font-size:12px;width:100%;padding:10px}.online-menu small{display:block;font-size:10px;color:#b6bec9;margin-top:7px}.online-empty{font-size:12px;line-height:1.7;color:#acb4c1;padding:0 8px}.online-list>.secondary{margin:8px}.online-widget .social-status{margin:0;padding:0 18px 13px;font-size:11px;min-height:0}.online-widget .social-status:empty{display:none}
@media(max-width:600px){.social-dialog{padding:24px}.social-dialog h2{font-size:24px}.online-widget{right:14px;bottom:12px;width:310px}.online-toggle{padding:12px 14px}.online-widget:has(#online-panel[hidden]){width:auto;min-width:240px}.online-heading{padding-top:17px}.match-symbol{width:82px;height:82px}body:has(#room:not([hidden])) .online-widget:has(#online-panel[hidden]){opacity:.9}footer{padding-bottom:85px!important}}
@media(prefers-reduced-motion:reduce){.match-symbol.searching:after{animation:none;border-color:#f3c65b66}}

/* Presence and chat occupy opposite corners. On narrow screens, only one panel opens. */
.online-widget{left:22px;right:auto;z-index:110}.online-profile{color:#e4ebf5;text-decoration:none;font-size:12px;font-weight:750}.online-profile:hover{text-decoration:underline;color:#f3cf7a}.online-more{cursor:pointer;border-radius:7px}.online-menu button:disabled{opacity:.45;cursor:default}.member-profile-link{color:inherit;text-decoration:none;font-weight:750}.member-profile-link:hover{color:#f2ca6c;text-decoration:underline}.game-fullscreen .online-widget{display:none}
@media(max-width:760px){.online-widget,.online-widget:has(#online-panel[hidden]){left:12px;right:auto;bottom:max(12px,env(safe-area-inset-bottom));width:calc(50vw - 18px);min-width:0}.online-toggle{padding:12px 10px;gap:5px;min-height:60px;font-size:11px}.online-toggle b{padding:3px;min-width:19px}.online-chevron{display:none}.online-toggle .status-dot{display:none}.general-chat-widget{width:calc(50vw - 18px)!important;right:12px}.general-chat-widget #general-chat-toggle{padding:12px 10px;min-height:60px;font-size:11px;gap:6px}.general-chat-widget #general-chat-toggle small{display:none}.general-chat-widget .chat-bubble-icon{font-size:18px}#online-panel{position:absolute;bottom:62px;left:0;width:calc(100vw - 24px);box-sizing:border-box}#general-chat-panel{position:absolute;bottom:62px;right:0;width:calc(100vw - 24px);box-sizing:border-box}.online-list{max-height:45dvh}}


/* members.css */
:root{--member-surface:#181e27;--member-muted:#a1afc2;--member-border:#343e4d;--member-gold:#f5ca60;--member-green:#78cfaf}button,a,input,select,textarea{touch-action:manipulation}.member-tools{display:flex;align-items:center;gap:8px}.member-tools>a{text-decoration:none;white-space:nowrap}.notification-toggle{position:relative;border:1px solid var(--member-border);background:#1a202a;color:var(--member-gold);width:42px;height:42px;border-radius:12px;cursor:pointer}.notification-toggle svg{width:21px;height:21px}.notification-toggle b{position:absolute;right:-5px;top:-5px;background:var(--member-gold);color:#131820;border-radius:20px;padding:2px 5px;font-size:10px}.notification-panel{position:fixed;right:24px;top:92px;width:390px;max-height:min(680px,80dvh);overflow:auto;background:var(--member-surface);border:1px solid var(--member-border);box-shadow:0 20px 60px #0009;border-radius:18px;z-index:140;padding:20px}.member-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.member-heading h2,.member-heading h3{margin:7px 0}.member-heading .quiet{flex-shrink:0}.text-button{background:none;border:0;padding:10px 0;color:var(--member-gold);cursor:pointer;text-align:left}.notification-row{width:100%;border:0;border-top:1px solid #ffffff12;border-radius:10px;background:transparent;color:#e9eef6;text-align:left;display:flex;gap:12px;padding:16px 10px;cursor:pointer}.notification-row:hover,.notification-row.unread{background:#f5ca600a}.notification-icon{display:grid;place-items:center;align-self:start;width:32px;height:32px;flex-shrink:0;border:1px solid #f5ca6030;border-radius:10px;color:var(--member-gold)}.notification-row>span:last-child{display:grid;gap:7px}.notification-row small,.notification-row span span{color:var(--member-muted);line-height:1.5}.notification-row.unread strong:after{content:'';display:inline-block;width:6px;height:6px;background:var(--member-gold);border-radius:50%;margin-left:8px}.notification-empty{color:var(--member-muted);padding:20px 0}.member-dialog{border:1px solid #3a485b;background:#151c26;color:#edf1f6;border-radius:22px;padding:26px;width:min(640px,calc(100vw - 24px));max-height:90dvh;overflow:auto;box-shadow:0 30px 100px #0009}.member-dialog::backdrop{background:#060b12c9;backdrop-filter:blur(5px)}.member-dialog.compact{max-width:470px}.member-dialog-body{margin-top:22px}.member-form{display:grid;gap:14px;border-top:1px solid #ffffff15;padding:24px 0 8px;margin-top:20px}.member-form label{display:grid;gap:8px;font-size:13px;color:#cad2df}.member-form input,.member-form select,.member-form textarea{width:100%;padding:13px;border:1px solid #394657;border-radius:10px;background:#0e141d;color:#f1f5fa;font:inherit;box-sizing:border-box;resize:vertical}.member-form h3{margin:0}.form-status{min-height:20px;color:var(--member-green);font-size:13px;line-height:1.55;margin:0}.form-status.error,[role=status].error{color:#ffacaa}.member-chip{font-size:11px;border:1px solid #a58a4b;border-radius:20px;padding:6px 9px;color:#f5ca60}.member-chip.success{color:#82d5b5;border-color:#39755f}.profile-identity{display:flex;gap:16px;align-items:center}.profile-identity h3{font-size:24px;margin:0 0 7px}.profile-avatar{display:grid;place-items:center;width:64px;height:64px;border-radius:18px;background:linear-gradient(140deg,#f5ca60,#bf923a);color:#171a20;font-size:23px;font-weight:900}.profile-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:23px 0}.profile-stats>div{background:#202937;border:1px solid #ffffff0b;border-radius:12px;padding:14px 10px;display:grid;gap:8px}.profile-stats strong{font-size:22px;color:var(--member-gold)}.profile-stats small{color:var(--member-muted);font-size:11px}.general-chat-widget{position:fixed;right:24px;bottom:20px;z-index:110;width:350px;max-width:calc(100vw - 24px)}#general-chat-toggle{display:flex;align-items:center;gap:13px;width:100%;padding:15px 19px;border:1px solid #665636;border-radius:15px;background:linear-gradient(100deg,#242a34,#171d26);color:#f2f4f7;box-shadow:0 10px 35px #0005;text-align:left;cursor:pointer}#general-chat-toggle>span:nth-child(2){flex:1;font-weight:750}#general-chat-toggle small{display:block;margin-top:4px;color:#9ba9bc;font-size:10px;font-weight:400}.chat-bubble-icon{font-size:23px;color:var(--member-gold)}#general-unread{border-radius:20px;padding:4px 7px;background:var(--member-gold);color:#181e27;font-size:11px}#general-chat-panel{background:#161d27;border:1px solid #3b4758;border-radius:18px;box-shadow:0 20px 50px #0008;margin-bottom:10px;padding:18px}#general-chat-panel h2{font-size:20px}.chat-intro{font-size:12px;color:#9aabc1;margin:7px 0 14px}#general-chat-log{height:min(340px,42dvh);overflow:auto;overscroll-behavior:contain;padding-right:4px}.general-chat-message{border-top:1px solid #ffffff0c;padding:13px 0}.general-chat-message.mine strong{color:#f5ca60}.general-message-heading{display:flex;align-items:center;gap:7px}.general-message-heading strong{font-size:12px;overflow-wrap:anywhere}.general-message-heading time{margin-left:auto;font-size:9px;color:#8491a3;white-space:nowrap}.general-chat-message p{font-size:13px;line-height:1.6;margin:7px 0 0;overflow-wrap:anywhere;white-space:pre-wrap}.chat-report{background:none;border:0;color:#9aabc1;cursor:pointer}.chat-empty{font-size:13px;color:#9aabc1}#general-chat-form{display:flex;gap:8px;border-top:1px solid #ffffff16;padding-top:14px;margin-top:8px}#general-chat-form input{min-width:0;width:100%;background:#0d141e;color:white;border:1px solid #3a485e;border-radius:9px;padding:11px;font:inherit;font-size:13px}#general-chat-form button{min-width:42px;width:42px;padding:8px}#general-chat-status{font-size:11px;color:#a7b5c7;margin:7px 0 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.game-fullscreen .general-chat-widget{display:none}.fullscreen-chat{display:none}.game-stage.is-fullscreen .fullscreen-chat{display:flex;flex-direction:column;position:absolute;right:16px;top:70px;width:min(280px,26vw);max-height:65dvh;z-index:30;background:#101620d9;backdrop-filter:blur(7px);border:1px solid #465166;border-radius:12px;padding:13px;color:#e7edf6;pointer-events:auto}.fullscreen-chat.collapsed .fullscreen-chat-log,.fullscreen-chat.collapsed form{display:none}.fullscreen-chat-heading{display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:.08em;color:#f5ca60}.fullscreen-chat-heading button{background:none;border:0;color:#d8e0ec;font-size:18px;cursor:pointer}.fullscreen-chat-log{overflow:auto;max-height:40dvh;font-size:12px;overscroll-behavior:contain}.fullscreen-chat .chat-message{padding:9px 0}.fullscreen-chat .chat-message p{margin:5px 0;overflow-wrap:anywhere}.fullscreen-chat .chat-message strong{font-size:10px;color:#f5ca60}.fullscreen-chat form{display:flex;gap:5px;margin-top:9px}.fullscreen-chat input{min-width:0;width:100%;padding:8px;background:#080d15;color:#fff;border:1px solid #45526a;border-radius:6px;font-size:12px}.fullscreen-chat form button{padding:6px 9px;border:0;border-radius:6px;background:#f5ca60;color:#161a20}.game-stage.is-fullscreen .fullscreen-chat-toggle{display:block}@media(max-width:760px){.member-tools{gap:5px;flex-wrap:wrap}.member-tools .quiet{font-size:11px;padding:8px}.notification-panel{right:12px;top:140px;width:calc(100vw - 24px);box-sizing:border-box;max-height:70dvh}.general-chat-widget{right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:320px}.member-dialog{padding:20px}.profile-stats{grid-template-columns:repeat(2,1fr)}.game-stage.is-fullscreen .fullscreen-chat{right:6px;top:46px;width:180px;padding:9px;max-height:45dvh}.fullscreen-chat-log{max-height:24dvh}.game-stage.is-fullscreen .fullscreen-chat input{font-size:12px}.account-bar{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.account-security{margin:10vh auto}.account-bar{gap:14px}.member-tools [hidden]{display:none}

.preview-ribbon{padding:9px 18px;background:#2e291a;color:#ead291;font-size:11px;text-align:center;border-bottom:1px solid #615139}.preview-ribbon a{color:#fff0bb;margin-left:12px;white-space:nowrap}

.profile-level-progress{margin:22px 0;padding:20px;border:1px solid #bda25b45;border-radius:12px;background:#c6a54c09}.profile-level-progress h3{margin:0 0 10px;font-size:14px}.profile-level-progress>p{font-size:12px;color:#d8c28e;line-height:1.7}.profile-level-progress progress{display:block;width:100%;height:9px;accent-color:#edc66a;margin:13px 0 18px}.profile-level-progress summary{font-size:12px;color:#e7d4a0;cursor:pointer}.level-cost-table{max-height:260px;overflow:auto;margin-top:14px}.level-cost-table table{width:100%;border-collapse:collapse;font-size:12px}.level-cost-table th,.level-cost-table td{text-align:left;padding:9px;border-bottom:1px solid #ffffff12}.level-cost-table th{position:sticky;top:0;background:#202735}
/* Chat changes are local to the scrollable log, not the game canvas layout. */
.chat-log,.fullscreen-chat-log,#general-chat-log{contain:layout paint}

.chat-message .chat-translation-toggle,.general-chat-message .chat-translation-toggle{
  display:inline-block;background:transparent;border:0;color:#a6c9da;border-radius:3px;
  font:inherit;font-size:.72rem;line-height:1.45;padding:2px 3px;margin:0;cursor:pointer;
}
.chat-translation-toggle:hover,.chat-translation-toggle:focus-visible{text-decoration:underline}
.chat-translation-toggle:focus-visible{outline:2px solid #e9c267;outline-offset:2px}


/* seasons.css */
.season-champion{display:flex;align-items:center;gap:22px;padding:23px 30px;margin:0 0 22px;border:1px solid #c5a15466;border-radius:16px;background:radial-gradient(ellipse at 10% 20%,#d1ad4f1f,transparent 55%),linear-gradient(115deg,#20232b,#151a22);box-shadow:0 10px 40px #0002;position:relative;overflow:hidden}.season-champion[hidden]{display:none}.champion-emblem{width:64px;height:76px;flex:none;display:grid;place-items:center;color:#f3cc71;background:linear-gradient(#dcc07816,#b18b3b0a);border:1px solid #bd984348;border-radius:30px 30px 16px 16px}.champion-emblem svg{width:51px}.champion-copy{flex:1;min-width:0}.champion-copy .eyebrow{font-size:10px;letter-spacing:2.3px}.champion-identity{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:8px 0}.champion-identity>strong{font-size:27px;line-height:1.1;letter-spacing:-.6px;color:#fff;overflow-wrap:anywhere}.champion-level{font-size:11px;padding:6px 10px;border-radius:7px;color:#ffe5a3;background:#d6b45a15;border:1px solid #d6b45a35;white-space:nowrap}.champion-copy p{font-size:12px;margin:0;color:#a7afbd}.champion-record{text-align:right;margin-right:12px}.champion-record strong{color:#f5d383;font-size:18px;display:block}.champion-record span{font-size:11px;color:#919bab;display:block;margin-top:7px}.season-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#1a202a;border:1px solid #3a424f;border-radius:14px;padding:24px;margin:20px 0 14px}.season-heading h3{font-size:24px;margin:8px 0}.season-heading p{font-size:12px;color:#aeb9c9;margin:0;line-height:1.7}.season-filters{display:flex;gap:12px}.season-filters label{font-size:11px;min-width:140px}.season-filters select{margin-top:7px}.season-admin-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;border-top:1px solid #ffffff12;padding-top:20px}.season-admin-actions button{font-size:12px}.season-admin-hero .eyebrow{display:block;margin-bottom:12px}.season-admin-body{line-height:1.85;color:#acb8c9;font-size:13px}.season-rule{border-bottom:1px solid #ffffff0b;padding:13px 0}.season-rule strong{font-size:12px;color:#e7ce92}.season-rule p{font-size:12px;color:#a3b1c4;line-height:1.7;margin:6px 0 0}.season-rewards{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:0 0 22px}.season-reward{font-size:32px;color:#f2c767;display:block}.season-focus{outline:2px solid #e6c16c;outline-offset:4px}.fixture-focus{background:#d4b35a18;outline:1px solid #d4b35a!important}.season-heading select{max-width:100%}
@media(max-width:700px){.season-champion{padding:18px;gap:15px;flex-wrap:wrap}.champion-emblem{width:50px;height:62px}.champion-emblem svg{width:42px}.champion-identity>strong{font-size:22px}.champion-record{margin-left:65px;text-align:left;flex:1}.season-champion>.quiet{font-size:11px}.season-heading{align-items:stretch;flex-direction:column;padding:20px}.season-filters{flex-wrap:wrap}.season-filters label{flex:1;min-width:120px}.season-rewards{grid-template-columns:1fr}.season-admin-actions{flex-direction:column}}

.season-podium{display:flex;align-items:center;flex-wrap:wrap;gap:26px;padding:20px 24px;border:1px solid #d1ad4f28;border-radius:12px;background:linear-gradient(110deg,#b9943d12,#19212c);margin:18px 0}.season-podium>div{border-right:1px solid #ffffff12;padding-right:26px;min-width:78px}.season-podium span{font-size:9px;letter-spacing:1.6px;color:#a7b2c2;display:block}.season-podium strong{font-size:22px;color:#f1d08b;display:block;margin-top:5px}.season-podium p{font-size:11px;color:#9ba9bd;line-height:1.8;margin:0}.season-admin-hero+ .admin-grid~.admin-card{margin-bottom:22px}
@media(max-width:700px){.season-champion{display:grid;grid-template-columns:50px minmax(0,1fr);gap:16px}.champion-copy{grid-column:2}.champion-record{grid-column:2;margin:0}.season-champion>.quiet{grid-column:2;justify-self:start}.champion-identity{gap:9px}.champion-copy .eyebrow{font-size:8px;letter-spacing:1.5px}.champion-record strong{font-size:16px}}


/* match-history.css */
.match-history-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin:28px 0 15px}.match-history-heading h2,.match-history-heading h3{margin:0}.match-history-heading p{font-size:12px;color:#9caabc;margin:0}.match-history-list{display:grid;gap:10px}.match-history-card{display:grid;grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr);gap:16px 25px;align-items:center;background:linear-gradient(115deg,#1c2632,#151c26);border:1px solid #33404f;border-radius:12px;padding:19px 22px;font-size:13px}.match-history-player{display:grid;gap:7px;min-width:0}.match-history-player.away{text-align:right}.match-history-name{font-weight:750;font-size:14px;line-height:1.4;color:#edf2f8;text-decoration:none;overflow-wrap:anywhere}.match-history-name[href]:hover{color:#f0cd78;text-decoration:underline;text-underline-offset:4px}.match-history-name[href]:focus-visible{outline:2px solid #e9c470;outline-offset:4px;border-radius:3px}.match-history-team{font-size:12px;color:#a5b5c9;line-height:1.5}.match-history-player.is-member .match-history-name{color:#f0cd78}.match-history-score{text-align:center;display:grid;gap:7px;font-variant-numeric:tabular-nums;white-space:nowrap}.match-history-score strong{font-size:24px;letter-spacing:1px;color:#f1d18a}.match-history-score small{font-size:10px;color:#afbdd0}.match-history-meta{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:9px 16px;border-top:1px solid #ffffff0c;padding-top:11px;color:#a7b4c5;font-size:10px;line-height:1.5}.match-history-kind{color:#e0c17b;font-weight:650}.match-history-decision{color:#c4ad99}.match-history-meta time{margin-left:auto;color:#8e9fb5;font-variant-numeric:tabular-nums}.match-history-outcome{padding:3px 8px;border-radius:5px;font-size:10px;font-weight:650}.match-history-outcome.win{background:#214c3e70;color:#a0e0bf}.match-history-outcome.loss{background:#572b3570;color:#edb1bc}.match-history-outcome.draw{background:#39445a70;color:#c0cee5}.match-history-empty{padding:25px;border:1px dashed #394658;border-radius:12px;color:#9aabbd;font-size:13px;line-height:1.6}.profile-history{margin:0 0 44px}.profile-history .match-history-heading{margin-top:0}.profile-history-note{font-size:12px;color:#93a4ba;line-height:1.6;margin:14px 0 0}
@media(max-width:600px){.match-history-card{grid-template-columns:minmax(0,1fr) 62px minmax(0,1fr);gap:13px 10px;padding:15px 12px}.match-history-name{font-size:12px}.match-history-team{font-size:11px}.match-history-score strong{font-size:20px}.match-history-meta{gap:8px 12px}.match-history-heading{align-items:start;flex-direction:column;gap:7px}.match-history-meta time{font-size:10px}}
.match-history-meta .match-detail-link{color:var(--gold,#f3c65b);font-size:12px;font-weight:650;line-height:1.4;padding:5px 0;text-underline-offset:3px}.match-history-meta .match-detail-link:focus-visible{outline-offset:2px}


/* season-countdown.css */
.test-season-countdown{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 28px;margin:0 0 32px;border:1px solid #75613c;border-radius:15px;background:radial-gradient(ellipse at 0 0,#8f68242b,transparent 60%),linear-gradient(115deg,#23262d,#171f2a);box-shadow:0 9px 30px #00000016}.test-season-countdown[hidden]{display:none}.test-season-copy{min-width:0}.test-season-copy .eyebrow{color:#f0cc7d;font-size:10px;letter-spacing:.18em}.test-season-copy h2{font-size:23px;line-height:1.3;margin:8px 0 9px;letter-spacing:-.6px}.test-season-copy time{font-size:11px;line-height:1.6;color:#b6bdc8;display:block}.test-season-digits{display:flex;gap:9px;flex-shrink:0;font-variant-numeric:tabular-nums}.test-season-digits>div{width:69px;text-align:center;border:1px solid #4e4b41;border-radius:9px;padding:12px 8px;background:#111923a8}.test-season-digits strong{display:block;font-size:29px;font-weight:750;line-height:1.1;color:#f5d184}.test-season-digits span{display:block;margin-top:7px;font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:#b2bdce}.test-season-link{font-size:11px;font-weight:600;display:inline-block;margin-top:12px;color:#e8c476;text-decoration:none}.test-season-link:hover{text-decoration:underline}.test-season-link:focus-visible{outline:2px solid #e8c476;outline-offset:4px}
@media(max-width:850px){.test-season-countdown{padding:22px;flex-wrap:wrap;gap:20px}.test-season-copy{flex:1;min-width:230px}.test-season-copy h2{font-size:21px}.test-season-digits>div{width:60px;padding:12px 7px}.test-season-digits strong{font-size:27px}}@media(max-width:480px){.test-season-countdown{padding:19px 17px;margin-bottom:24px}.test-season-copy{min-width:0;width:100%;flex:auto}.test-season-digits{width:100%;gap:7px}.test-season-digits>div{width:auto;flex:1;min-width:0;padding:12px 5px}.test-season-digits strong{font-size:25px}}


/* mobile-layout.css */
/* Keep community panels available below the room instead of covering the pad. */
body:not(.game-fullscreen):has(#room:not([hidden]) .mobile-room-ui) .online-widget,
body:not(.game-fullscreen):has(#room:not([hidden]) .mobile-room-ui) .general-chat-widget {
  position: relative; inset: auto; width: min(560px, calc(100% - 24px)) !important;
  min-width: 0; margin: 12px auto; max-width: calc(100% - 24px);
}
body:not(.game-fullscreen):has(#room:not([hidden]) .mobile-room-ui) #online-panel,
body:not(.game-fullscreen):has(#room:not([hidden]) .mobile-room-ui) #general-chat-panel {
  position: static; width: 100%; max-width: 100%; margin-bottom: 8px;
}
.screen-bottom .fullscreen-chat-toggle,
.game-stage.is-fullscreen .screen-bottom .fullscreen-chat-toggle { display: none; }
.game-stage.is-fullscreen.mobile-room-ui .fullscreen-chat-toggle { display: block; }
.game-stage.is-fullscreen.mobile-room-ui .fullscreen-chat.collapsed { display: none; }
.game-stage.is-fullscreen.mobile-room-ui .fullscreen-chat { width: min(320px, calc(100% - 24px)); right: max(12px, env(safe-area-inset-right)); top: max(12px, env(safe-area-inset-top)); max-height: 50dvh; }
/* iOS zooms small form text on focus, moving the game and touch controls. */
@media (pointer: coarse) {
  input, select, textarea,
  .game-stage.is-fullscreen .fullscreen-chat input,
  .chat-form input, #general-chat-form input,
  .member-form input, .member-form select, .member-form textarea { font-size: 16px; }
}



/* room-community.css */
.country-flag{display:inline-block;flex:none;width:24px;height:18px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px #ffffff22;vertical-align:middle}.country-credit{text-align:center;font-size:11px;color:#a0a6b0;padding:14px}.country-credit a{color:inherit}.room-top{flex-wrap:wrap;gap:10px}#room-report-open{margin-left:auto;color:#f3c65b;min-height:40px}.seat-name-line{flex-wrap:wrap;gap:7px}.seat-name-line strong{overflow-wrap:anywhere}
.room-report-dialog{width:min(520px,calc(100vw - 32px));max-height:88dvh;padding:24px;border:1px solid #454035;border-radius:16px;background:#191c22;color:#f6f5f0;overflow:auto}.room-report-dialog::backdrop{background:#000a}.room-report-form{display:grid;gap:16px}.room-report-form header{display:flex;align-items:center;justify-content:space-between;gap:12px}.room-report-form h2{margin:5px 0}.room-report-form header small{color:#f3c65b;font-weight:700;letter-spacing:2px}.room-report-form p{margin:0;color:#b8bec8;font-size:14px;line-height:1.5}.room-report-form label{display:grid;gap:7px;font-size:14px}.room-report-form select,.room-report-form textarea{width:100%;box-sizing:border-box;font:inherit;color:#f6f5f0;background:#101216;border:1px solid #444953;border-radius:8px;padding:11px}.room-report-form textarea{resize:vertical}.report-close{font-size:24px}.report-status{min-height:20px}.report-submit{min-height:44px}.report-admin-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.room-report-list{display:grid;gap:10px;margin:20px 0}.room-report-item{text-align:left;background:#191c22;border:1px solid #343a44;color:#f6f5f0;padding:15px;border-radius:10px}.room-report-item small{display:block;color:#a0a6b0;margin-top:6px}.report-detail-text,.report-chat-line{overflow-wrap:anywhere;white-space:pre-wrap}.room-report-detail h3{margin-top:24px}@media(max-width:600px){.room-report-dialog{padding:18px}#room-report-open{margin-left:0}.report-admin-actions>*{width:100%}}

.screen-bottom{flex-wrap:wrap;gap:8px}#room-report-game{color:#f3c65b;min-height:36px}.chat-message .country-flag{margin-left:7px}


/* brand-r190.css */
/* R190 brand assets; no game or room logic changes. */
.brand--crest { display:inline-flex; flex-shrink:0; width:244px; gap:0; line-height:0; }
.brand--crest img { display:block; width:100%; height:auto; max-width:100%; }
.brand--crest:focus-visible { outline:2px solid #f3c65b; outline-offset:6px; border-radius:3px; }
.footer-brand-image { display:block; width:300px; max-width:100%; height:auto; margin-bottom:8px; }
.admin-brand-image { display:block; width:205px; height:auto; }
.profile-nav .brand--crest { width:230px; }
@media(max-width:1100px) and (min-width:721px) { .top .brand--crest { width:220px; } }
@media(max-width:720px) { .top .brand--crest { width:205px; } .profile-nav .brand--crest { width:185px; } .footer-brand-image { width:270px; } }
@media(max-width:380px) { .top .brand--crest { width:174px; } .profile-nav .brand--crest { width:160px; } }


/* avatars.css */
.member-avatar{--avatar-size:48px;position:relative;display:inline-grid;place-items:center;flex:none;width:var(--avatar-size);height:var(--avatar-size);box-sizing:border-box;overflow:hidden;border:1px solid #ae9255;border-radius:12px;background:linear-gradient(145deg,#303846,#121a24);box-shadow:0 0 0 3px #d9b56309,inset 0 0 0 3px #111923;color:#f2d38f;vertical-align:middle;isolation:isolate}
.member-avatar .avatar-initials{font-size:calc(var(--avatar-size)*.32);font-weight:800;letter-spacing:.035em;line-height:1}
.ranking-member{display:flex;align-items:center;gap:10px;min-width:0}
.ranking-avatar-slot{display:flex;align-items:flex-end;justify-content:center;flex:0 0 44px;height:56px;padding-bottom:5px;box-sizing:border-box}
#ranking-list .ranking-avatar{--avatar-size:32px;margin:0;border-radius:8px}
#ranking-list .ranking-avatar img{border-radius:5px}
#ranking-list td{padding-top:6px;padding-bottom:6px;vertical-align:middle}
.ranking-member>.rank-member{gap:8px}
@media(max-width:600px){.ranking-member{gap:7px}.ranking-avatar-slot{flex-basis:38px;height:52px}#ranking-list .ranking-avatar{--avatar-size:28px}}
.room-card-member{display:flex;align-items:center;gap:9px;min-width:0;flex:1}.room-card-member:last-child{justify-content:flex-end;text-align:right}.room-card-member strong{overflow-wrap:anywhere;min-width:0}.room-card-avatar{--avatar-size:36px;border-radius:10px}.room-card-avatar img{border-radius:6px}
.member-avatar img{position:absolute;inset:3px;width:calc(100% - 6px);height:calc(100% - 6px);object-fit:cover;object-position:center;border-radius:8px;image-rendering:auto}
.profile-avatar.member-avatar{--avatar-size:88px;border-radius:18px}.profile-avatar.member-avatar img{border-radius:14px}
.avatar-editor{margin-top:18px;padding:17px 18px;border:1px solid #354153;background:#111923;border-radius:14px}.avatar-editor-heading{display:flex;flex-wrap:wrap;gap:7px 12px;align-items:baseline}.avatar-editor-heading strong{font-size:13px;color:#f1d18a}.avatar-editor-heading span{font-size:11px;color:#a1afc0}.avatar-help{font-size:12px;color:#9dacbf;line-height:1.7;margin:8px 0 14px}.avatar-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.avatar-actions button,.avatar-choose{font:inherit;font-size:12px;cursor:pointer;margin:0}.avatar-choose{display:inline-flex;align-items:center;min-height:40px;padding:10px 14px;box-sizing:border-box;border:1px solid #625539;border-radius:9px;background:#272a2d;color:#f1d18a}.avatar-choose:focus-within{outline:2px solid #f5ca60;outline-offset:3px}.avatar-editor[aria-busy=true] .avatar-choose{opacity:.5;pointer-events:none}.avatar-editor .form-status{margin-top:10px;min-height:0}.avatar-actions [hidden]{display:none!important}
.seat-portrait{position:relative;flex:none;padding-bottom:8px}.seat-portrait .seat-number{position:absolute;bottom:0;left:50%;transform:translateX(-50%);padding:1px 6px;border-radius:4px;font-size:9px;background:#202a37;border:1px solid #71603b;color:#e6ca8e;line-height:1.5;white-space:nowrap}.seat-copy{min-width:0;flex:1}.seat-name-line strong{overflow-wrap:anywhere}.score-avatar{--avatar-size:36px;border-radius:10px}.score-avatar img{border-radius:6px}.score-name-line .score-avatar{margin-right:2px}.match-history-player .result-avatar{--avatar-size:60px;margin-bottom:4px;justify-self:start;border-radius:14px}.match-history-player.away .result-avatar{justify-self:end}.result-avatar img{border-radius:10px}.captain-photo{--avatar-size:112px;border-radius:22px}.captain-photo img{border-radius:18px}
@media(max-width:600px){.member-avatar.room-avatar{--avatar-size:44px}.match-history-player .result-avatar{--avatar-size:50px}.profile-avatar.member-avatar{--avatar-size:72px}.profile-identity{gap:12px}.profile-identity>div{min-width:0}.profile-identity h3{font-size:20px;overflow-wrap:anywhere}.avatar-editor{padding:14px}.avatar-actions{gap:8px}.captain-photo{--avatar-size:90px}}


/* language.css */
.site-language{display:inline-flex;align-items:center;gap:.35rem;flex:0 0 auto;color:#ffcc55;margin:0;white-space:nowrap}.site-language svg{width:1.05rem;height:1.05rem;fill:none;stroke:currentColor;stroke-width:1.6}.site-language select{width:auto;min-width:4.8rem;min-height:36px;margin:0;padding:.35rem .28rem;border:1px solid #415365;border-radius:7px;background:#17232e;color:#f4f6f8;font:inherit;font-size:.86rem;cursor:pointer;color-scheme:dark}.site-language select:focus-visible{outline:2px solid #ffcb49;outline-offset:2px}.site-language-notice:not([hidden]){position:fixed;left:50%;bottom:1rem;transform:translateX(-50%);width:max-content;max-width:90vw;z-index:1000;background:#182734;border:1px solid #ffd05a;border-radius:.6rem;padding:.7rem 1rem;color:white}.account-security>.site-language{display:flex;justify-content:flex-end}.profile-nav,.admin-top-actions{flex-wrap:wrap}.account-bar>.site-language{order:0}@media(max-width:760px){.top .account-bar{flex-wrap:wrap}.profile-nav{gap:.5rem}}

/* Flag picker: native select remains available until enhancement succeeds. */
.site-language.language-enhanced>svg,.language-enhanced>.language-native{display:none}
.language-button{display:inline-flex;align-items:center;gap:9px;min-height:40px;margin:0;padding:7px 11px;border:1px solid #625234;border-radius:10px;background:linear-gradient(130deg,#202b35,#141e27);color:#f8f4e8;font:inherit;font-size:13px;cursor:pointer;white-space:nowrap}
.language-button:hover,.language-button[aria-expanded=true]{border-color:#f1c462;background:#26323d}
.language-button:focus-visible,.language-option:focus-visible{outline:2px solid #ffcc55;outline-offset:3px}
.language-flag,.language-option img{object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px #ffffff24;flex:none}
.language-chevron{color:#f3cb74;margin-inline-start:3px}
.language-menu{position:fixed;z-index:12000;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;padding:6px;background:#15212c;border:1px solid #98783b;border-radius:13px;box-shadow:0 12px 40px #0009;color-scheme:dark;scrollbar-width:thin}
.language-menu[hidden]{display:none}
.language-option{box-sizing:border-box;display:flex;align-items:center;gap:13px;width:100%;min-height:41px;border:0;border-radius:8px;padding:9px 12px;margin:0;background:transparent;color:#f5f6f8;font:inherit;font-size:14px;text-align:start;cursor:pointer}
.language-option:hover,.language-option:focus-visible{background:#263746}
.language-option[aria-selected=true]{background:#ffcc5519;color:#ffda83}
.language-check{margin-inline-start:auto;opacity:0}.language-option[aria-selected=true] .language-check{opacity:1}
html[lang=ja],html[lang=ko],html[lang=zh]{font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
html[dir=rtl] body{direction:rtl}html[dir=rtl] :is(input[type=email],input[type=url],input[type=password],input[inputmode=numeric],.game-canvas,.screen-wrap,canvas,.controls,.game-controls,.score,.match-score){direction:ltr}
html[dir=rtl] :is(.quicknav,.footer-links,.account-bar){text-align:start}
html[dir=rtl] :is(.chat-message p,.chat-messages p){text-align:start;unicode-bidi:plaintext}
html[dir=rtl] :is(progress,meter){direction:rtl}
@media(max-width:540px){.language-button{min-height:42px;padding:7px 9px;gap:7px}.language-menu{border-radius:11px}.language-option{min-height:44px}}
/* Shared header: explicit rows keep longer translations aligned. */
header.top {
 display:grid;grid-template-columns:200px minmax(0,1fr) auto;
 grid-template-areas:"brand nav account";align-items:center;
 min-height:90px;height:auto;gap:8px 14px;padding:8px 32px;
}
header.top>.brand--crest{grid-area:brand;width:min(100%,200px);min-width:0}
header.top>.quicknav{grid-area:nav;min-width:0;width:auto;height:auto;min-height:44px;margin:0;gap:8px;justify-content:center;align-self:stretch}
header.top>.quicknav>:is(a,button){display:flex;align-items:center;justify-content:center;min-width:0;padding:6px;font-size:12px;line-height:1.35;text-align:center;white-space:normal;overflow-wrap:anywhere;text-decoration:none}
header.top>.account-bar{grid-area:account;display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:8px;min-width:0;max-width:100%;width:auto;margin:0}
header.top .member-tools{flex:0 0 auto;flex-wrap:nowrap;gap:6px;min-width:0}
header.top .member-tools>a{padding:9px 10px;font-size:12px;line-height:1.3}
header.top .account-bar>#account-summary[data-member]{display:flex;flex:0 1 220px;min-width:160px;max-width:220px;white-space:normal;text-align:start;padding:8px 10px;gap:8px}
header.top .member-progress{min-width:0;flex:1}
header.top .member-progress small{overflow-wrap:anywhere;line-height:1.35}
header.top .member-progress progress{min-width:0}
header.top .account-bar>:is(#account-open,#logout){min-height:40px;line-height:1.3}
@media(min-width:901px) and (max-width:1439px){
 header.top{grid-template-columns:200px minmax(0,1fr);grid-template-areas:"brand nav" "account account";padding-inline:24px}
 header.top>.quicknav{justify-content:flex-end;gap:18px}
 header.top>.account-bar{width:100%;justify-content:flex-end;flex-wrap:wrap}
}
@media(max-width:900px){
 header.top{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand language" "online signin" "nav nav";gap:7px 10px;padding:8px max(12px,env(safe-area-inset-right)) 0 max(12px,env(safe-area-inset-left))}
 header.top:is([data-member-layout],:has(#account-summary[data-member])){grid-template-areas:"brand language" "summary summary" "tools logout" "nav nav";grid-template-rows:minmax(55px,auto) minmax(68px,auto) minmax(44px,auto) minmax(44px,auto)}
 header.top>.brand--crest{width:min(100%,172px)}
 header.top>.account-bar{display:contents}
 header.top .account-bar>.site-language{grid-area:language;justify-self:end;min-width:0;max-width:100%;margin:0}
 header.top .site-language select{min-height:40px;font-size:16px;max-width:100%}
 header.top .account-bar>#account-open{grid-area:signin;justify-self:end;max-width:100%;white-space:normal}
 header.top .account-bar>#logout{grid-area:logout;justify-self:end;max-width:100%;white-space:normal}
 header.top .account-bar>.online-pill{grid-area:online;justify-self:start;font-size:11px;color:#bfcbc5}
 header.top .account-bar>#account-summary[data-member]{grid-area:summary;width:100%;max-width:none;min-width:0;margin:0;padding:7px 10px;gap:9px}
 header.top .member-level{flex:0 0 31px;width:31px;height:35px;font-size:16px}
 header.top .member-progress{gap:2px}
 header.top .member-progress strong{padding-inline-end:96px;font-size:13px;line-height:17px}
 header.top .member-progress progress{height:4px}
 header.top:is([data-member-layout],:has(#account-summary[data-member])) .online-pill{grid-area:summary;align-self:start;justify-self:end;margin:8px 11px 0;line-height:17px;font-size:10px;gap:4px}
 header.top .account-bar>.member-tools{display:none}
 header.top:is([data-member-layout],:has(#account-summary[data-member])) .member-tools{display:flex;grid-area:tools;justify-self:start;align-items:center;flex-wrap:wrap;min-width:0;max-width:100%;gap:6px}
 header.top .member-tools>:is(a,button):not([hidden]),header.top .account-bar>:is(#account-open,#logout):not([hidden]){display:inline-flex;align-items:center;justify-content:center;min-height:40px;min-width:0;max-width:100%;padding:5px 9px;border-radius:8px;font-size:12px;line-height:1.3;white-space:normal;overflow-wrap:anywhere;text-align:center}
 header.top .member-tools>#notifications-toggle:not([hidden]){flex:none;width:40px;height:40px;padding:0}
 header.top>.quicknav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;margin:0;gap:4px;min-height:44px;justify-content:normal}
 header.top>.quicknav>:is(a,button){min-height:44px;padding:5px 2px;font-size:12px}
 header.top[data-member-layout]:not(:has(#account-summary[data-member])) :is(#account-open,.online-pill){display:none}
}
@media(max-width:540px){header.top{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Long translated matchmaking labels must not cover the CPU button. */
.hero-actions{flex-wrap:wrap;row-gap:14px}
#hero-play{white-space:normal;overflow-wrap:anywhere;gap:10px;max-width:100%}
#hero-play>span{flex:0 0 auto}

.arena-stats>div,.arena-stats p{min-width:0}
.arena-stats p{flex-wrap:wrap}
.arena-stats p>span{white-space:normal;overflow-wrap:anywhere}

/* Stable native/enhanced picker and numeric slots before scripts/account data. */
.site-language{width:142px;max-width:100%;height:42px;position:relative}
.site-language>svg{display:none}
.site-language select,.site-language .language-button{box-sizing:border-box;width:100%;min-width:0;height:42px;min-height:42px;font-size:13px;line-height:20px}
.site-language .language-button{justify-content:flex-start}
.site-language .language-chevron{margin-inline-start:auto}
header.top:not([data-member-layout]) .member-tools:not(:has(>:not([hidden]))){display:none}
#online-count{display:inline-block;min-width:3ch;text-align:center;font-variant-numeric:tabular-nums}
header.top:not([data-member-layout]) #account-summary{max-width:190px;white-space:normal}


/* analytics.css */
#analytics-choice[hidden], #analytics-preferences[hidden] { display: none; }
#analytics-choice {
  position: fixed; inset: auto 1rem max(1rem, env(safe-area-inset-bottom)) auto; z-index: 20;
  width: min(26rem, calc(100% - 2rem)); box-sizing: border-box; padding: 1rem;
  color: #f4f6f8; background: #121d29; border: 1px solid #445563; border-radius: .8rem;
  box-shadow: 0 .35rem 1.5rem #0006; font: 1rem/1.4 system-ui, sans-serif;
}
#analytics-choice p { margin: 0 0 .65rem; }
#analytics-choice div { display: flex; flex-wrap: wrap; gap: .5rem; }
#analytics-choice button, #analytics-preferences {
  color: #f5cf68; background: #192633; border: 1px solid #556571; border-radius: .4rem;
  font: inherit; cursor: pointer; padding: .55rem .8rem;
}
#analytics-choice button:focus-visible, #analytics-preferences:focus-visible { outline: 2px solid #ffd060; outline-offset: 2px; }
#analytics-preferences { display: block; margin: 1rem auto; font: .86rem/1.35 system-ui, sans-serif; }
/* Keep the community controls and the consent card in separate rows. */
body:has(#room[hidden]) {
  --consent-bottom: max(1rem, env(safe-area-inset-bottom));
  --community-bottom: calc(var(--consent-bottom) + var(--consent-height, 0px) + 8px);
}
body:has(#room[hidden]):has(#analytics-choice:not([hidden])) :is(.general-chat-widget, .online-widget) {
  bottom: var(--community-bottom);
}
body:has(#room[hidden]):has(#analytics-choice:not([hidden])) :is(#general-chat-panel, #online-panel) {
  max-height: calc(100dvh - var(--community-bottom) - 78px - env(safe-area-inset-top));
  overflow-y: auto;
  overscroll-behavior: contain;
}
@media (max-width: 760px), (pointer: coarse) and (max-height: 520px) {
  #analytics-choice {
    --consent-bottom: max(12px, env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: var(--consent-bottom);
    margin-inline: auto;
    width: auto;
    max-width: 32rem;
    max-height: 46dvh;
    overflow-y: auto;
    padding: .75rem;
  }
  #analytics-choice div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #analytics-choice button { min-height: 44px; }
  body:has(#room[hidden]) {
    --consent-bottom: max(12px, env(safe-area-inset-bottom));
  }
  body:has(#room[hidden]) #analytics-preferences {
    margin-bottom: calc(var(--community-bottom) + 64px + .5rem);
  }
}
@media (max-width: 600px) {
  /* The bottom clearance is after the last control, below the footer links. */
  body:has(#room[hidden]) footer { padding-bottom: 1.25rem !important; }
}



/* tournaments.css */
/* Tournament lobby: static decoration, no continuous animation or polling. */
#tab-tournaments{--cup-line:#35404d;--cup-muted:#a7b6c7;min-width:0}
.cup-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px 32px;padding:32px;border:1px solid #695733;border-radius:16px;background:radial-gradient(ellipse at 0 0,#b9933e17,transparent 65%),linear-gradient(120deg,#1e2630,#141c25)}
#tab-tournaments .cup-intro h3{font-size:30px;letter-spacing:-.8px;margin:10px 0;color:#f9f7f1}
.cup-intro-copy>p{font-size:13px;color:#c0c9d4;margin:0;line-height:1.7}
.cup-rewards{display:flex;align-items:center;gap:28px}
.cup-rewards>div{padding-left:24px;border-left:1px solid #665635}
.cup-rewards span{display:block;font-size:10px;letter-spacing:1.4px;color:#c9ba93}
.cup-rewards strong{display:block;color:#f5d276;font-size:28px;line-height:1.6;font-variant-numeric:tabular-nums}
.cup-rewards small{font-size:12px;font-weight:500}
.cup-intro-note{grid-column:1/-1;border-top:1px solid #ffffff13;margin:0;padding-top:16px;font-size:11px;color:var(--cup-muted);line-height:1.7}
.cup-create{margin:16px 0 32px;border:1px solid var(--cup-line);border-radius:12px;background:#171e27;overflow:hidden}
.cup-create>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;cursor:pointer;list-style:none}
.cup-create>summary::-webkit-details-marker,.cup-results>summary::-webkit-details-marker{display:none}
.cup-create strong{font-size:15px;color:#f0f2f5}.cup-create small{display:block;color:var(--cup-muted);font-size:11px;margin-top:5px}
.cup-create-plus{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:8px;border:1px solid #6e5d39;background:#f5ca6010;font-size:23px;line-height:1;color:#f5ca60}
.cup-create[open] .cup-create-plus{transform:rotate(45deg)}
#tab-tournaments .tournament-create{display:grid;grid-template-columns:minmax(0,1fr) 180px auto;gap:16px;margin:0;padding:0 24px 24px}
#tab-tournaments .tournament-create label{min-width:0;font-size:12px;color:#bfcbd7}
#tab-tournaments .tournament-create input,#tab-tournaments .tournament-create select{width:100%;min-width:0;box-sizing:border-box;min-height:44px}
#tab-tournaments .tournament-create button{font-size:13px;min-height:44px}
#tab-tournaments .tournament-list{display:block}
.cup-section+.cup-section{margin-top:40px;padding-top:30px;border-top:1px solid var(--cup-line)}
.cup-section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px}
#tab-tournaments .cup-section-heading h3{margin:0;font-size:21px;letter-spacing:-.4px;display:flex;gap:12px;align-items:center}
.cup-section-heading p{font-size:12px;color:var(--cup-muted);margin:6px 0 0}
.cup-count{padding:3px 8px;background:#f5ca6012;border:1px solid #f5ca602a;border-radius:6px;color:#efd080;font-size:11px;font-variant-numeric:tabular-nums}
.cup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.cup-card{padding:24px;border:1px solid var(--cup-line);border-radius:14px;background:linear-gradient(135deg,#1c2632,#141c25);min-width:0;overflow-wrap:anywhere}
.cup-card-playing{grid-column:1/-1;border-color:#3a615d}
.cup-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.cup-title{min-width:0;flex:1}
.cup-title h4{margin:12px 0 0;font-size:21px;color:#f2f3f5;line-height:1.3;letter-spacing:-.4px}
.cup-state{display:inline-flex;align-items:center;gap:7px;font-size:10px;text-transform:uppercase;letter-spacing:.7px;font-weight:650}
.cup-state:before{content:'';width:6px;height:6px;background:currentColor;border-radius:50%;flex-shrink:0}
.cup-state-open{color:#f5ce75}.cup-state-playing{color:#80d5b4}.cup-state-finished{color:#a7b6c7}
.cup-medal{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;border:1px solid #d4b5684a;border-radius:13px;background:linear-gradient(130deg,#e9bd5420,#e9bd5404);color:#e8c571}
.cup-medal svg,.cup-empty svg{width:33px;height:33px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}
.cup-card-stats{display:flex;justify-content:space-between;gap:20px;padding:24px 0 16px}
.cup-card-stats>div:last-child{text-align:right}
.cup-card-stats strong{display:block;font-size:23px;font-variant-numeric:tabular-nums;font-weight:650}
.cup-card-stats>div:last-child strong{color:#f0d18a}
.cup-card-stats small{display:block;margin-top:4px;font-size:11px;color:var(--cup-muted)}
.cup-progress{height:4px;border-radius:3px;background:#2d3844;overflow:hidden}
.cup-progress>span{display:block;height:100%;background:#d9b764;border-radius:inherit}
.cup-card-playing .cup-progress>span{background:#79c5ab}
.cup-progress-copy{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:10px;font-size:11px;color:var(--cup-muted)}
.cup-progress-copy .cup-entry{color:#f4d691}
.cup-participants{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 0}
.cup-participant{display:inline-flex;align-items:center;gap:7px;padding:5px 9px 5px 5px;border:1px solid #394452;border-radius:7px;max-width:100%;min-width:0;font-size:11px}
.cup-participant .cup-mini-avatar{--avatar-size:24px;font-size:9px;flex-shrink:0;border-radius:5px;margin:0}
.cup-participant .member-profile-link{min-width:0;overflow-wrap:anywhere}
.cup-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:22px}
.cup-actions>button{min-height:40px;font-size:12px;padding:10px 16px}
.cup-actions .cup-cancel{color:#a9b3c0;border-color:transparent;background:transparent;font-size:11px;margin-left:auto}
.cup-actions .cup-cancel:hover{border-color:#8f6255;color:#f4b2a5;background:#e5705410}
.cup-waiting{font-size:11px;color:var(--cup-muted);margin:20px 0 0}
.cup-results{margin-top:22px;border-top:1px solid #ffffff16;padding-top:4px}
.cup-results>summary{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 0 8px;cursor:pointer;list-style:none;color:#d8c08b;font-size:12px}
.cup-results>summary:after{content:'+';font-size:20px;line-height:1}
.cup-results[open]>summary:after{content:'−'}
.cup-bracket{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px;margin-top:14px;min-width:0}
.cup-round{min-width:0}
.cup-round h4{font-size:10px;text-transform:uppercase;letter-spacing:1.4px;color:#a8b5c5;margin:4px 0 12px}
.cup-fixture{background:#0f1721;border:1px solid #303e4c;border-radius:9px;padding:12px;margin-bottom:10px;min-width:0}
.cup-fixture:last-child{margin-bottom:0}
.cup-fixture-line{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;font-size:12px;min-width:0}
.cup-fixture-line+.cup-fixture-line{border-top:1px solid #ffffff0c}
.cup-fixture-line>:first-child{min-width:0;overflow-wrap:anywhere}
.cup-fixture-line b{flex:0 0 22px;text-align:center;color:#afbac9;font-size:15px}
.cup-fixture-line.cup-winner,.cup-fixture-line.cup-winner b{color:#f5d483;font-weight:650}
.cup-fixture>button{width:100%;font-size:11px;margin-top:10px;min-height:38px}
.cup-fixture-note,.cup-penalties{display:block;font-size:10px;line-height:1.6;margin-top:8px;color:var(--cup-muted)}
.cup-penalties{color:#e2c984}
.cup-archive-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.cup-card-finished{background:#161e27}
.cup-card-finished .cup-title h4{font-size:17px;margin-top:8px}
.cup-card-finished .cup-medal{width:38px;height:38px;border-radius:10px}
.cup-card-finished .cup-medal svg{width:27px;height:27px}
.cup-victor{display:flex;align-items:center;gap:12px;margin:24px 0 14px}
.cup-victor .cup-avatar{--avatar-size:42px;border-radius:12px;flex-shrink:0;margin:0}
.cup-victor-name{min-width:0;flex:1}.cup-victor-name small,.cup-final-score small{display:block;color:var(--cup-muted);font-size:10px;margin:0 0 5px}
.cup-victor-name>a,.cup-victor-name>button,.cup-victor-name>span{font-size:16px;color:#f2d48b;font-weight:650}
.cup-final-score{text-align:right;flex-shrink:0}
.cup-final-score strong{display:block;font-size:22px;font-variant-numeric:tabular-nums;color:#f3f4f5}
.cup-final-score small:last-child{margin-top:5px}
.cup-archive-meta{font-size:11px;color:var(--cup-muted);margin:0}
.cup-empty{grid-column:1/-1;text-align:center;border:1px dashed #3a4959;border-radius:14px;padding:36px 22px;background:#151e2880;color:#baa46f}
.cup-empty svg{display:block;margin:0 auto 15px}
.cup-empty strong{display:block;color:#dfe6ed;font-size:16px}
.cup-empty p{font-size:12px;line-height:1.8;color:var(--cup-muted);margin:10px auto;max-width:480px}
.cup-empty button{margin-top:10px}
#tab-tournaments :is(summary,button,a,input,select):focus-visible{outline:2px solid #f5ce75;outline-offset:4px}
@media(max-width:900px){.cup-intro{padding:26px;gap:22px}.cup-rewards{gap:20px}.cup-rewards>div{padding-left:18px}.cup-intro-copy>p{max-width:380px}#tab-tournaments .cup-intro h3{font-size:26px}}
@media(max-width:650px){
 .cup-intro{grid-template-columns:1fr;padding:22px;gap:20px}.cup-rewards{gap:36px}.cup-rewards>div{padding-left:0;border-left:0}.cup-rewards strong{font-size:25px}
 #tab-tournaments .cup-intro h3{font-size:25px}.cup-intro-copy>p{font-size:12px}.cup-intro-note{font-size:10px}
 .cup-create{margin-bottom:26px}.cup-create>summary{padding:18px}.cup-create strong{font-size:14px}.cup-create small{font-size:10px}
 #tab-tournaments .tournament-create{grid-template-columns:1fr;padding:0 18px 20px}
 .cup-grid,.cup-archive-list{grid-template-columns:1fr;gap:14px}
 .cup-card{padding:20px}.cup-title h4{font-size:20px}.cup-medal{width:42px;height:42px}
 #tab-tournaments .cup-section-heading h3{font-size:19px}.cup-section-heading p{font-size:11px}
 .cup-section+.cup-section{margin-top:32px;padding-top:24px}
 .cup-card-stats{padding-top:20px}.cup-victor{gap:10px}.cup-victor-name>a,.cup-victor-name>button,.cup-victor-name>span{font-size:14px}
 .cup-bracket{grid-template-columns:1fr;gap:18px}.cup-results{margin-top:18px}
}
@media(prefers-reduced-motion:reduce){#tab-tournaments *{scroll-behavior:auto}}


/* footer.css */
/* Shared TR/EN home footer. Static artwork; no timers or remote assets. */
body > footer.site-footer, body:has(#room[hidden]) > footer.site-footer {
  --footer-gold: #f4ca63;
  position: relative;
  display: block;
  max-width: 1384px;
  margin: 54px auto 0;
  padding: 0 0 calc(100px + env(safe-area-inset-bottom)) !important;
  border: 0;
  color: #aab7c5;
  font-size: 13px;
  line-height: 1.65;
  text-align: left;
}
.site-footer *, .site-footer *::before, .site-footer *::after { box-sizing: border-box; }
.site-footer .footer-rule { display: flex; align-items: center; gap: 18px; margin-bottom: 36px; color: var(--footer-gold); }
.site-footer .footer-rule::before, .site-footer .footer-rule::after { content: ''; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, #b892414f); }
.site-footer .footer-rule::after { transform: rotate(180deg); }
.site-footer .footer-rule svg { width: 26px; height: 26px; opacity: .8; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.35fr .65fr .9fr 1fr; gap: 38px; align-items: start; }
.site-footer .footer-brand { min-width: 0; font-size: inherit; font-weight: 400; letter-spacing: 0; }
.site-footer .footer-brand-home { display: inline-block; max-width: 100%; border-radius: 8px; }
.site-footer .footer-brand-image { width: 310px; max-width: 100%; height: auto; margin: 0; }
.site-footer .footer-tagline { margin: 17px 0 7px; font-size: 15px; font-weight: 650; color: #edf1f6; letter-spacing: -.2px; }
.site-footer .footer-description { max-width: 285px; margin: 0; color: #91a0b0; font-size: 12px; line-height: 1.85; }
.site-footer .footer-heading { margin: 7px 0 16px; font-size: 11px; font-weight: 750; letter-spacing: 1.8px; text-transform: uppercase; color: var(--footer-gold); }
.site-footer .footer-links, .site-footer .footer-updates { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.site-footer .footer-links a, .site-footer .footer-links button { display: inline-flex; align-items: center; min-height: 36px; max-width: 100%; padding: 5px 0; border: 0; border-radius: 3px; background: none; color: #bec9d4; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.site-footer .footer-links a:hover, .site-footer .footer-links button:hover { color: var(--footer-gold); }
.site-footer .footer-socials { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.site-footer .footer-socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 7px 12px; border: 1px solid #34404d; border-radius: 7px; color: #d6dee7; font-size: 11px; font-weight: 650; text-decoration: none; background: #18212c66; transition: border-color .18s, color .18s; }
.site-footer .footer-socials a:hover { color: var(--footer-gold); border-color: #90723e; }
.site-footer .footer-socials svg { width: 16px; height: 16px; flex-shrink: 0; }
.site-footer .footer-support { position: relative; min-width: 0; padding: 22px; border: 1px solid #a384423f; border-radius: 14px; background: radial-gradient(ellipse at top right, #b38c2320, transparent 75%), #151e28; }
.site-footer .footer-support-icon { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; margin-bottom: 12px; border: 1px solid #e9c16a42; border-radius: 10px; color: var(--footer-gold); background: #d2a94a0a; }
.site-footer .footer-support-icon svg { width: 19px; height: 19px; }
.site-footer .footer-support h2 { margin: 0 0 8px; font-size: 16px; line-height: 1.4; color: #f6ecd6; letter-spacing: -.3px; }
.site-footer .footer-support p { margin: 0 0 17px; color: #aeb7bf; font-size: 12px; line-height: 1.75; }
.site-footer .footer-support-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; border: 1px solid #c5a45755; border-radius: 7px; padding: 8px 13px; background: #dec06a12; color: #f5d782; font-size: 12px; font-weight: 700; text-decoration: none; transition: background .18s, border-color .18s; }
.site-footer .footer-support-link:hover { border-color: #e8c165; background: #dec06a22; }
.site-footer .footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 24px; margin-top: 32px; padding-top: 21px; border-top: 1px solid #ffffff0d; }
.site-footer .footer-identity { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.site-footer .footer-identity p { margin: 0; color: #99a4b1; font-size: 11px; }
.site-footer .footer-version { display: inline-flex; gap: 6px; align-items: center; padding: 3px 8px; border: 1px solid #313a45; border-radius: 5px; color: #8491a1; font-size: 10px; font-variant-numeric: tabular-nums; }
.site-footer .footer-preferences { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; }
.site-footer .footer-languages { display: flex; align-items: center; gap: 12px; font-size: 11px; }
.site-footer .footer-languages svg { width: 15px; height: 15px; color: #8392a4; }
.site-footer .footer-languages a { display: inline-flex; align-items: center; min-height: 36px; color: #9ba8b7; text-decoration: none; border-bottom: 1px solid transparent; }
.site-footer .footer-languages a[aria-current='page'] { color: var(--footer-gold); border-bottom-color: #f4ca6366; }
.site-footer .footer-languages a:hover { color: #fff; }
body > footer.site-footer #analytics-preferences, body:has(#room[hidden]) > footer.site-footer #analytics-preferences { min-height: 36px; margin: 0; padding: 4px 0; border: 0; background: transparent; color: #9ba8b7; font: inherit; font-size: 11px; text-decoration: underline; text-decoration-color: #6b7d8f66; text-underline-offset: 4px; }
body > footer.site-footer #analytics-preferences:hover { color: var(--footer-gold); }
.site-footer .footer-credit { margin: 15px 0 0; color: #7e8c9c; font-size: 10px; }
.site-footer .footer-credit a { color: #95a2b2; text-underline-offset: 3px; }
.site-footer :is(a,button):focus-visible { outline: 2px solid var(--footer-gold); outline-offset: 5px; }
body:has(#room:not([hidden])) > footer.site-footer { display: none; }
@media (max-width: 1480px) { body > footer.site-footer, body:has(#room[hidden]) > footer.site-footer { margin-left: 48px; margin-right: 48px; } }
@media (max-width: 1050px) {
  .site-footer .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
  .site-footer .footer-support { grid-column: 1 / -1; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 6px 16px; padding: 20px; }
  .site-footer .footer-support-icon { grid-column: 1; grid-row: 1 / 3; margin: 0; }
  .site-footer .footer-support h2 { grid-column: 2; margin: 0; }
  .site-footer .footer-support p { grid-column: 2; margin: 0; }
  .site-footer .footer-support-link { grid-column: 3; grid-row: 1 / 3; gap: 24px; }
}
@media (max-width: 600px) {
  body > footer.site-footer, body:has(#room[hidden]) > footer.site-footer { margin: 34px 23px 0; padding-bottom: calc(106px + env(safe-area-inset-bottom)) !important; }
  .site-footer .footer-rule { margin-bottom: 27px; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 27px 22px; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
  .site-footer .footer-brand-image { width: 272px; }
  .site-footer .footer-description { max-width: 350px; }
  .site-footer .footer-socials { margin-top: 16px; }
  .site-footer .footer-heading { margin: 2px 0 10px; font-size: 10px; }
  .site-footer .footer-links a, .site-footer .footer-links button { min-height: 44px; font-size: 12px; }
  .site-footer .footer-support { display: block; padding: 20px; }
  .site-footer .footer-support-icon { margin-bottom: 11px; }
  .site-footer .footer-support h2 { margin-bottom: 7px; }
  .site-footer .footer-support p { margin-bottom: 16px; }
  .site-footer .footer-support-link { min-height: 44px; }
  .site-footer .footer-meta { align-items: flex-start; gap: 16px; margin-top: 27px; }
  .site-footer .footer-identity { flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-footer .footer-preferences { width: 100%; justify-content: space-between; gap: 8px 12px; }
  .site-footer .footer-languages a, body:has(#room[hidden]) > footer.site-footer #analytics-preferences { min-height: 44px; }
  .site-footer .footer-credit { line-height: 1.8; }
}
@media (prefers-reduced-motion: reduce) { .site-footer a { transition: none !important; } }

/* All supported language links are available in the initial document. */
.site-footer .footer-languages{flex-wrap:wrap;row-gap:2px;max-width:100%}
.site-footer .footer-preferences{min-width:0;flex-wrap:wrap}


/* room-design.css */
/* Room presentation only. Game pixels, input, timing and transport are unchanged.
   Stage rules explicitly exclude both fullscreen implementations. */
#room { --room-line:#34404e; --room-muted:#a9bfd2; --room-gold:#f5cc70; }
#room .room-top { margin:8px 0 22px; gap:20px; align-items:center; }
#room .room-top > div:first-child { flex:1; min-width:0; }
#room .room-top .eyebrow { color:var(--room-gold); font-size:10px; letter-spacing:.18em; display:flex; align-items:center; gap:10px; }
#room .room-top .eyebrow::before { content:''; width:22px; height:2px; background:var(--room-gold); flex:none; }
#room .room-top :is(h1,h2) { font-size:clamp(24px,2.5vw,34px); letter-spacing:-.035em; margin:9px 0 0; }
#room .room-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
#room .room-actions button { min-height:42px; border-radius:10px; padding:10px 15px; font-size:12px; }
#room #room-report-open { margin-left:0; color:#b8c9da; border-color:var(--room-line); }
#room #leave { border-color:#694247; color:#efb4ae; background:#6e2b3514; }
#room #leave:hover { background:#76313b30; border-color:#ba7474; }
#room .live-score { position:relative; display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:10px 28px; padding:26px 32px 19px; border:1px solid #5f5134; border-radius:18px; background:radial-gradient(ellipse at 50% 0,#b68b3523,transparent 65%),linear-gradient(120deg,#1c2733,#121c28); box-shadow:inset 0 1px #ffdf991a; margin:0 0 14px; }
#room .live-score:empty { display:none; }
#room .live-score::before { content:''; position:absolute; height:2px; top:-1px; left:22%; right:22%; background:linear-gradient(90deg,transparent,#f6cf73,transparent); }
#room .live-score div { min-width:0; }
#room .live-score > div { grid-row:1; display:grid; gap:6px; text-align:left; justify-self:start; }
#room .live-score > div:nth-of-type(2) { grid-column:3; justify-self:end; text-align:right; }
#room .live-score > b { grid-column:2; grid-row:1; align-self:center; font-size:clamp(27px,3vw,42px); line-height:1; letter-spacing:.03em; font-variant-numeric:tabular-nums; color:#ffe3a1; padding:0 14px; }
#room .live-score > div > small { font-size:12px; color:var(--room-muted); margin:0 0 0 56px; }
#room .live-score > div:nth-of-type(2) > small { margin:0 56px 0 0; }
#room .score-name-line { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
#room .score-name-line strong { font-size:16px; line-height:1.35; min-width:0; overflow-wrap:anywhere; }
#room .score-name-line .member-name { font:inherit; }
#room .score-avatar { --avatar-size:44px; margin:0 4px 0 0; }
#room .live-score > div:nth-of-type(2) .score-name-line { justify-content:flex-end; }
#room .live-score > div:nth-of-type(2) .score-avatar { order:3; margin:0 0 0 4px; }
#room .live-score > div:nth-of-type(2) .member-ping { order:-1; }
#room .live-score .score-tag { grid-column:1/-1; justify-self:center; padding:4px 12px; border:1px solid #b6934a33; border-radius:20px; font-size:9px; letter-spacing:.14em; color:#e1c98c; background:#eac46407; }
#room .live-score .score-stage { grid-column:1/-1; text-align:center; font-size:12px; color:#c3d5e4; }
#room .room-policy { padding:13px 16px; margin:0 0 20px; border-color:#354350; background:#15202b; border-radius:12px; align-items:flex-start; gap:12px; }
#room .room-policy[data-mode=ranked],#room .room-policy[data-mode=cup] { border-color:#655538; background:linear-gradient(100deg,#b58a2910,#15202b); }
#room .room-policy-icon { display:grid; place-items:center; flex:0 0 28px; width:28px; height:28px; border-radius:8px; background:#cda44813; border:1px solid #d2ae5c25; color:var(--room-gold); font-size:15px; }
#room .room-policy strong { font-size:12px; color:#e9ddbd; }
#room .room-policy p { font-size:11px; line-height:1.7; color:var(--room-muted); margin:4px 0 0; }
#room .match-result { padding:16px 20px; border:1px solid #6c8f79; border-radius:12px; background:#152a23; color:#bfe5d2; }
#room .arena { grid-template-columns:minmax(0,1fr) 332px; gap:22px; align-items:start; }
#room .game-stage:not(.is-fullscreen):not(:fullscreen) { min-width:0; border-radius:17px; box-shadow:0 14px 40px #0003; }
#room .game-stage:not(.is-fullscreen):not(:fullscreen) > .screen-top { min-height:54px; border-color:#3c4958; border-radius:17px 17px 0 0; background:linear-gradient(100deg,#1c2b3b,#17222f); padding:12px 16px; gap:10px; }
#room .game-stage:not(.is-fullscreen):not(:fullscreen) .role { border-radius:6px; padding:5px 8px; font-weight:800; font-size:11px; letter-spacing:.03em; background:#f0c769; color:#171d25; flex:none; }
#room .game-stage:not(.is-fullscreen):not(:fullscreen) #game-status { color:#d3dfec; font-size:12px; line-height:1.4; }
#room .game-stage:not(.is-fullscreen):not(:fullscreen) .latency { padding:4px 8px; background:#101921; border:1px solid #435347; border-radius:20px; color:#a4d8bf; font-size:10px; white-space:nowrap; }
#room .game-stage:not(.is-fullscreen):not(:fullscreen) > .screen { border-color:#3c4958; }
#room .game-stage:not(.is-fullscreen):not(:fullscreen) .waiting { border-radius:14px; background:#15202bf5; border-color:#6c603f; box-shadow:0 12px 32px #0005; backdrop-filter:none; padding:22px; }
#room .game-stage:not(.is-fullscreen):not(:fullscreen) .waiting > span { font-size:17px; color:#fff0ce; }
#room .game-stage:not(.is-fullscreen):not(:fullscreen) .waiting small { font-size:12px; line-height:1.65; color:#b7c9dc; }
#room .game-stage:not(.is-fullscreen):not(:fullscreen) > .screen-bottom { border-color:#3c4958; border-radius:0 0 17px 17px; background:#17222f; padding:11px 12px; gap:8px; }
#room .game-stage:not(.is-fullscreen):not(:fullscreen) > .screen-bottom button { min-height:38px; font-size:11px; border-radius:8px; border-color:#394b5e; background:#1e3040; color:#d6e4ee; padding:8px 10px; }
#room .game-stage:not(.is-fullscreen):not(:fullscreen) > .screen-bottom #fullscreen { border-color:#806b3d; color:#ffdc8b; background:#c9a24a12; margin-left:auto; }
#room .game-stage:not(.is-fullscreen):not(:fullscreen) #game-hint { font-size:10px; color:#adc1d4; }
#room .sidebar { gap:16px; min-width:0; }
#room .sidebar > .panel { min-width:0; padding:20px; border:1px solid var(--room-line); border-radius:16px; background:linear-gradient(135deg,#1b2836,#131f2b); box-shadow:inset 0 1px #ffffff04; }
#room .sidebar .eyebrow { font-size:10px; letter-spacing:.16em; color:var(--room-gold); }
#room .room-players { order:0; }
#room .seat { padding:20px 0 15px; gap:12px; border-bottom:1px solid #adbac412; align-items:center; }
#room .seat + .seat { margin-top:4px; }
#room .room-avatar { --avatar-size:52px; }
#room .seat-number { font-size:9px; font-weight:700; }
#room .seat.me .seat-number { color:#1a2330; background:var(--room-gold); border-color:var(--room-gold); }
#room .seat-name-line { gap:6px; }
#room .seat-name-line strong { font-size:13px; font-weight:700; }
#room .seat .seat-copy > small { display:block; color:#a7bdd0; font-size:11px; margin-top:6px; }
#room .seat .dot { flex:none; width:6px; height:6px; margin-left:0; }
#room .member-ping { font-size:9px; padding:3px 6px; line-height:1.3; border-radius:5px; }
#room .seat .country-flag { width:21px; height:16px; }
#room #ready { margin-top:18px; min-height:46px; border:1px solid #ffe3a178; border-radius:10px; background:linear-gradient(110deg,#f9d776,#edbb4f); box-shadow:0 4px 15px #e9b33d0c; justify-content:center; font-size:13px; color:#24211b; }
#room #ready:hover:not(:disabled) { background:linear-gradient(110deg,#ffe59b,#f4ca64); }
#room #room-status { color:#a8bfd2; font-size:11px; line-height:1.65; margin:10px 0 0; text-align:center; }
#room .chat-panel { order:1; }
#room .chat-panel .section-heading { gap:10px; align-items:center; margin:0; flex-wrap:wrap; }
#room .chat-panel .section-heading > .subtext { font-size:10px; color:#9dcdb7; padding:4px 7px; border-radius:6px; background:#7bcba40b; margin:0; }
#room .chat-log { margin:14px 0; height:208px; overscroll-behavior:contain; scrollbar-color:#485b6e transparent; padding-right:4px; }
#room .chat-log:empty { min-height:100px; height:100px; border:1px dashed #435467; border-radius:9px; background:#0b162026; }
#room .chat-log:empty::before { content:'İlk mesajı sen gönder. İyi maçlar!'; display:block; padding:32px 18px; color:#9db3c9; text-align:center; font-size:12px; }
html[lang=en] #room .chat-log:empty::before { content:'Start the conversation. Have a great match!'; }
html[lang=ja] #room .chat-log:empty::before{content:'最初のメッセージをどうぞ。よい試合を！'}
html[lang=fr] #room .chat-log:empty::before{content:'Lancez la discussion. Bon match !'}
html[lang=de] #room .chat-log:empty::before{content:'Beginne das Gespräch. Viel Spaß beim Spiel!'}
html[lang=es] #room .chat-log:empty::before{content:'Inicia la conversación. ¡Buen partido!'}
html[lang=it] #room .chat-log:empty::before{content:'Inizia la conversazione. Buona partita!'}
html[lang=ar] #room .chat-log:empty::before{content:'ابدأ المحادثة. نتمنى لك مباراة ممتعة!'}
html[lang=ko] #room .chat-log:empty::before{content:'첫 메시지를 보내 보세요. 즐거운 경기 되세요!'}
html[lang=zh] #room .chat-log:empty::before{content:'发送第一条消息吧。祝比赛愉快！'}
#room .chat-log .chat-message { border:0; background:#0b14203b; border-radius:9px; padding:10px 11px; margin:0 0 7px; }
#room .chat-log .chat-message strong { font-size:10px; color:#e5cc97; }
#room .chat-log .chat-message p { font-size:12px; line-height:1.6; color:#d2deea; margin:4px 0 0; overflow-wrap:anywhere; }
#room .chat-form { gap:6px; }
#room .chat-form input { min-width:0; min-height:42px; padding:10px; font-size:13px; border-radius:9px; border-color:#3a4b5b; background:#101b26; }
#room .chat-form button { min-height:42px; padding:8px 12px; font-size:11px; border-radius:9px; color:#f1d28c; border-color:#756039; background:#ad893019; }
#room .invite { order:2; }
#room .invite label { font-size:12px; color:#e5d5ae; margin-bottom:12px; }
#room .copy-row { gap:6px; }
#room .copy-row input { min-width:0; padding:10px; font-size:10px; border-radius:8px; min-height:40px; background:#101b26; border-color:#3b4d5e; }
#room .copy-row button { padding:8px 12px; font-size:11px; min-height:40px; border-radius:8px; border-color:#3b4d5e; background:#223548; }
#room .invite > small { display:block; font-size:11px; line-height:1.6; color:#9fb5c9; margin-top:10px; }
#room .controls { order:3; }
#room .controls > summary { list-style:none; display:flex; align-items:center; justify-content:space-between; gap:10px; cursor:pointer; min-height:28px; }
#room .controls > summary::-webkit-details-marker { display:none; }
#room .controls > summary:focus-visible { outline:2px solid var(--room-gold); outline-offset:5px; border-radius:4px; }
#room .room-controls-chevron { color:#b5c6d7; font-size:19px; line-height:1; }
#room .controls[open] .room-controls-chevron { transform:rotate(180deg); }
#room .controls dl { margin:15px 0; }
#room .controls dl > div { gap:8px; border-color:#ffffff0b; padding:9px 0; }
#room .controls dt { color:#b6c9da; font-size:11px; }
#room .controls dd { font-size:11px; color:#edf3f8; }
#room .controls dd span { display:inline-block; padding:2px 6px; border:1px solid #796843; border-radius:5px; color:#e9cd8c; background:#f4ca6510; }
#room .controls p { font-size:11px; line-height:1.65; color:#a5b9ce; }
@media(min-width:721px) and (max-width:1100px) {
 #room .arena { grid-template-columns:minmax(0,1fr) 280px; gap:16px; }
 #room .sidebar > .panel { padding:16px; }
 #room .live-score { padding-inline:24px; }
 #room .game-stage:not(.is-fullscreen):not(:fullscreen) #game-hint { flex-basis:100%; text-align:center; order:5; }
 #room .room-avatar { --avatar-size:46px; }
}
@media(max-width:720px) {
 #room .room-top { gap:14px; margin:0 0 18px; }
 #room .room-top > div:first-child { flex-basis:100%; }
 #room .room-actions { width:100%; }
 #room .room-actions button { min-height:40px; }
 #room #leave { margin-left:auto; }
 #room .arena { grid-template-columns:minmax(0,1fr); gap:20px; }
 #room .live-score { padding:23px 14px 14px; gap:12px 8px; border-radius:14px; }
 #room .live-score > div,#room .live-score > div:nth-of-type(2) { text-align:center; justify-self:stretch; }
 #room .score-name-line,#room .live-score > div:nth-of-type(2) .score-name-line { justify-content:center; flex-direction:column; gap:7px; }
 #room .live-score .score-avatar,#room .live-score > div:nth-of-type(2) .score-avatar { order:-2; margin:0 0 4px; --avatar-size:42px; }
 #room .live-score > div:nth-of-type(2) .member-ping { order:0; }
 #room .score-name-line strong { font-size:12px; }
 #room .live-score > div > small,#room .live-score > div:nth-of-type(2) > small { margin:0; font-size:10px; }
 #room .live-score > b { font-size:29px; padding:0 4px; align-self:start; margin-top:20px; }
 #room .room-policy { padding:12px; gap:9px; }
 #room .sidebar { gap:14px; }
 #room .sidebar > .panel { padding:18px; }
 #room .game-stage:not(.is-fullscreen):not(:fullscreen) > .screen-top { padding:10px 11px; gap:8px; }
 #room .game-stage:not(.is-fullscreen):not(:fullscreen) #game-status { font-size:11px; }
 #room .game-stage:not(.is-fullscreen):not(:fullscreen) > .screen-bottom { padding:9px; gap:6px; }
 #room .game-stage:not(.is-fullscreen):not(:fullscreen) > .screen-bottom button { padding:8px; font-size:10px; }
 #room .game-stage:not(.is-fullscreen):not(:fullscreen) .waiting { left:12px; right:12px; padding:15px 12px; }
 #room .game-stage:not(.is-fullscreen):not(:fullscreen) .waiting > span { font-size:14px; }
 #room .game-stage:not(.is-fullscreen):not(:fullscreen) .waiting small { font-size:11px; }
}
@media(pointer:coarse) { #room .chat-form input { font-size:16px; } }


/* champion-card.css */
/* Approved champion rail, using existing lobby data and avatar rewards. */
#welcome{position:relative}
#season-champion{overflow:visible;display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:12px 22px;padding:24px;border-radius:18px;background:radial-gradient(ellipse at 25% 20%,#bd913223,transparent 70%),linear-gradient(150deg,#202935,#111b26);border-color:#b7954d80}
#season-champion[hidden]{display:none}
#season-champion .champion-emblem{display:none}
#season-champion .champion-photo{grid-row:1/3;align-self:center;justify-self:center}
#season-champion .champion-avatar{width:88px;height:88px;border-radius:23px;box-shadow:0 0 0 4px #b68b3615,0 9px 20px #0004;font-size:28px}
#season-champion .champion-copy{min-width:0}
#season-champion .champion-copy .eyebrow{line-height:1.5}
#season-champion .champion-identity{gap:8px}
#season-champion .champion-identity a{text-decoration:none;overflow-wrap:anywhere}
#season-champion .champion-record{grid-column:3;grid-row:1;margin:0;align-self:center}
#season-champion #champion-ranking{grid-column:3;grid-row:2;min-height:42px;align-self:end;border-color:#b7954d80;color:#f4d188;background:#bd91320e}
#season-champion .champion-record strong{font-variant-numeric:tabular-nums}
#season-champion .champion-photo a{display:block;border-radius:23px}
#season-champion .champion-photo a:focus-visible{outline:2px solid #ffe3a0;outline-offset:7px}
@media(min-width:1121px){
 #welcome:has(#season-champion:not([hidden])){padding-left:240px}
 #season-champion{position:absolute;left:0;top:0;width:218px;padding:20px 18px 16px;display:flex;flex-direction:column;gap:14px;text-align:center;margin:0}
 #season-champion[hidden]{display:none}
 #season-champion .champion-emblem{display:grid;width:36px;height:36px;border:0;background:none;margin:0 auto}
 #season-champion .champion-emblem svg{width:32px}
 #season-champion .champion-avatar{width:104px;height:104px;margin:5px 0 8px}
 #season-champion .champion-copy .eyebrow{font-size:9px;letter-spacing:1.6px}
 #season-champion .champion-identity{justify-content:center;flex-direction:column;margin:10px 0}
 #season-champion .champion-identity>strong{font-size:25px;max-width:100%}
 #season-champion .champion-copy p{font-size:10px;line-height:1.6}
 #season-champion .champion-record{text-align:center;border-top:1px solid #c1a05b25;padding-top:14px;width:100%}
 #season-champion .champion-record strong{font-size:19px}
 #season-champion .champion-record span{font-size:10px;line-height:1.5}
 #season-champion #champion-ranking{width:100%;font-size:12px}
}
@media(min-width:1840px){#welcome:has(#season-champion:not([hidden])){padding-left:0}#season-champion{left:-234px;width:218px}}
@media(max-width:640px){
 #season-champion{grid-template-columns:76px minmax(0,1fr);gap:14px;padding:20px 16px}
 #season-champion .champion-photo{grid-row:1}
 #season-champion .champion-avatar{width:72px;height:72px;border-radius:18px;font-size:24px}
 #season-champion .champion-copy .eyebrow{font-size:8px;letter-spacing:1px}
 #season-champion .champion-identity>strong{font-size:22px}
 #season-champion .champion-level{font-size:10px;padding:3px 7px}
 #season-champion .champion-copy p{font-size:10px;line-height:1.5}
 #season-champion .champion-record{grid-column:1/3;grid-row:2;text-align:left;border-top:1px solid #c1a05b25;padding-top:12px}
 #season-champion .champion-record strong{font-size:18px}
 #season-champion #champion-ranking{grid-column:1/3;grid-row:3;width:100%;font-size:12px}
}

/* Reserve portrait and star space before member artwork arrives. */
#season-champion .champion-photo{display:grid;place-items:center;min-height:124px}
@media(min-width:1121px){#season-champion .champion-photo{min-height:150px}}
@media(max-width:640px){#season-champion .champion-photo{min-height:108px}}


/* game-guide-summary.css */
.game-guide-summary{margin-top:28px;padding:clamp(22px,4vw,48px);border:1px solid #303a47;border-radius:18px;background:linear-gradient(120deg,#19232d,#111820);color:#f4f5f7}
.game-guide-summary>header{max-width:850px}.game-guide-summary h2{font-size:clamp(25px,3vw,36px);line-height:1.2;margin:12px 0 18px}.game-guide-summary p{color:#bec9d5;line-height:1.75;margin:10px 0}.game-guide-summary a{color:#ffd271;text-underline-offset:4px}.game-guide-summary a:hover{color:#fff0c8}.game-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px}.game-guide-grid article{border-top:1px solid #76643c;padding-top:12px}.game-guide-summary h3{font-size:18px;line-height:1.5}.game-guide-faq{margin-top:24px;max-width:940px}.game-guide-faq details{border-top:1px solid #303a47;padding:15px 0}.game-guide-faq summary{cursor:pointer;font-weight:650;line-height:1.5}.game-guide-faq details p{padding-left:18px}.hero .intro h1{font-size:clamp(30px,3.6vw,57px);overflow-wrap:normal}
@media(max-width:760px){.game-guide-grid{grid-template-columns:1fr;gap:10px}.game-guide-summary{margin-top:18px}.game-guide-faq details p{padding-left:0}.hero .intro h1{font-size:clamp(28px,6.6vw,46px)}}
