:root{
  --bg:#0d0c11;--panel:#211d29;--panel2:#17141d;--edge:#050407;
  --text:#fff9f2;--muted:#a9a1b5;--gold:#ffc83d;--orange:#ff7a25;
  --blue:#41c9ff;--green:#63e59a;--red:#ff665f;--purple:#9568ff;
  --topbar-height:70px;--bottom-nav-height:72px;
  font-family:"Arial Black","Segoe UI",system-ui,sans-serif;color:var(--text);
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
[hidden]{display:none!important}
html,body{margin:0;min-height:100%;background:#09080c}
body{display:flex;justify-content:center;overflow:hidden}
button{font:inherit;color:inherit}
.phone-shell{width:100%;max-width:430px;height:100vh;height:100dvh;min-height:0;position:relative;overflow:hidden;container-type:inline-size;container-name:miniapp;
  background:radial-gradient(90% 38% at 50% -8%,rgba(255,168,45,.12),transparent 72%),var(--bg)}
.app-loader{position:absolute;z-index:1000;inset:0;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 38%,rgba(255,174,38,.2),transparent 32%),radial-gradient(circle at 50% 76%,rgba(132,92,255,.12),transparent 35%),#08090e;opacity:1;transition:opacity .28s ease,visibility .28s ease}.app-loader.leaving{opacity:0;visibility:hidden;pointer-events:none}.app-loader-content{width:min(270px,82vw);display:flex;flex-direction:column;align-items:center;text-align:center}.app-loader-emblem{width:96px;height:96px;display:grid;place-items:center;margin-bottom:16px;border:3px solid #090509;border-radius:28px;background:radial-gradient(circle at 35% 25%,#ffe27b,transparent 28%),linear-gradient(145deg,#ffbd36,#ec6d1e);box-shadow:0 6px #431603,inset 0 3px rgba(255,255,255,.45),0 0 38px rgba(255,159,31,.22);transform:rotate(-2deg);animation:appLoaderFloat 1.8s ease-in-out infinite}.app-loader-emblem .brawl-icon{width:76px;height:76px;filter:drop-shadow(0 4px 1px rgba(67,19,1,.56))}.app-loader-content>strong{margin-top:0;font-size:24px;letter-spacing:1.2px;text-shadow:0 3px #000}.app-loader-content>p{margin:8px 0 14px;color:#a9a3b0;font:800 9px/1.4 system-ui}.app-loader-progress{width:100%;height:10px;overflow:hidden;border:2px solid #050407;border-radius:999px;background:#17141d;box-shadow:0 2px #050407,inset 0 1px rgba(255,255,255,.08)}.app-loader-progress i{display:block;width:42%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ef6d1e,#ffd24b,#fff0a0,#ffd24b,#ef6d1e);background-size:220% 100%;animation:appLoaderProgress 1.05s ease-in-out infinite}@keyframes appLoaderFloat{50%{transform:translateY(-7px) rotate(2deg)}}@keyframes appLoaderProgress{0%{transform:translateX(-105%);background-position:100% 0}100%{transform:translateX(240%);background-position:0 0}}@media (prefers-reduced-motion:reduce){.app-loader-emblem,.app-loader-progress i{animation:none}.app-loader-progress i{width:68%}}
.topbar{height:var(--topbar-height);padding:11px 14px 8px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid rgba(255,255,255,.05)}
.topbar>div:first-child{height:100%;min-width:0;display:flex;align-items:center}.brand{margin:0;font-size:21px;line-height:1;letter-spacing:.7px;white-space:nowrap;text-shadow:0 2px 0 #000}
.top-actions{display:flex;align-items:center;gap:7px}
.admin-button{width:39px;height:39px;padding:6px;display:grid;place-items:center;border:1.5px solid #413a4a;border-radius:11px;background:#111118;box-shadow:0 2px #050407,inset 0 1px rgba(255,255,255,.05);cursor:pointer}
.admin-button .brawl-icon{width:27px;height:27px;filter:drop-shadow(0 2px rgba(0,0,0,.65))}
.admin-button:active{transform:translateY(1px);box-shadow:0 1px #050407}
.refresh-button{color:#b9b4c1}.refresh-button .brawl-icon{width:23px;height:23px}.refresh-button.refreshing .brawl-icon{animation:refreshSpin .65s linear infinite}@keyframes refreshSpin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.refresh-button.refreshing .brawl-icon{animation:none}}
.wallet{display:flex;align-items:center;gap:7px;padding:8px 11px;border:2px solid #000;border-radius:11px;background:linear-gradient(#302a39,#1b1721);box-shadow:0 3px 0 #050407,inset 0 1px rgba(255,255,255,.13)}
.wallet b{font-size:14px;font-variant-numeric:tabular-nums}.wallet span{font-size:17px}
.screens{height:calc(100dvh - var(--topbar-height) - var(--bottom-nav-height) - env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;padding:8px 12px 26px}.screens::-webkit-scrollbar{display:none}
.screen{display:none;animation:screenIn .22s ease}.screen.active{display:block}
@keyframes screenIn{from{opacity:.2;transform:translateY(6px)}to{opacity:1;transform:none}}
.game-card{border:2.5px solid var(--edge);border-radius:16px;background:linear-gradient(155deg,#2a2532,#18151d);box-shadow:0 4px 0 #050407,inset 0 1px rgba(255,255,255,.09)}
.eyebrow{font:900 9px/1.2 system-ui;letter-spacing:1.15px;color:var(--muted)}
.profile-hero{display:grid;grid-template-columns:62px 1fr auto;align-items:center;gap:11px;padding:12px;overflow:hidden;position:relative}
.profile-hero:after{content:"";position:absolute;width:150px;height:150px;border-radius:50%;right:-80px;top:-85px;background:rgba(255,154,40,.13)}
.profile-avatar{width:61px;height:61px;display:grid;place-items:center;position:relative;border-radius:16px;background:linear-gradient(145deg,#36d1ff,#146fd7);border:3px solid #050407;box-shadow:inset 0 2px rgba(255,255,255,.35),0 3px 0 #060509;font-size:28px;text-shadow:0 2px 0 #000}
.profile-avatar>img{width:100%;height:100%;display:block;border-radius:13px;object-fit:cover}
.online-dot{position:absolute;width:14px;height:14px;right:-3px;bottom:-2px;border:3px solid #08070a;border-radius:50%;background:var(--green)}
.profile-copy{min-width:0}.profile-copy h1,.page-heading h1,.selected-club h1{font-size:22px;line-height:1;margin:4px 0;text-shadow:0 2px #000}.profile-copy p,.selected-club p{font:800 10px/1.3 system-ui;color:#c8c0d0;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.place-pill{position:relative;z-index:1;text-align:center}.place-pill b{display:block;color:var(--gold);font-size:18px}.place-pill span{font:800 8px system-ui;color:var(--muted)}
.guest-onboarding,.registration-flow{margin-top:11px;padding:14px;border-color:#423b48;background:#111118}.guest-onboarding-head h2,.registration-flow-head h2{margin:5px 0 6px;font-size:20px;text-shadow:0 2px #000}.guest-onboarding-head p,.registration-flow-head p{margin:0;color:#aaa2af;font:750 9px/1.45 system-ui}.guest-featured-tournament{width:100%;min-height:102px;margin-top:13px;padding:11px;display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:9px;position:relative;overflow:hidden;border:1.5px solid #725417;border-radius:16px;background:radial-gradient(circle at 0 50%,rgba(255,190,48,.18),transparent 38%),#121118;color:#fff;text-align:left;cursor:pointer}.guest-featured-icon{width:48px;height:48px;display:grid;place-items:center;color:var(--gold)}.guest-featured-icon .brawl-icon{width:45px;height:45px;filter:drop-shadow(0 3px #050407)}.guest-featured-copy{min-width:0;display:flex;flex-direction:column}.guest-featured-copy small{color:var(--gold);font:900 7px system-ui;letter-spacing:.45px}.guest-featured-copy b{margin:3px 0;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.guest-featured-copy i{color:#a79fac;font:750 8px system-ui;font-style:normal}.guest-featured-side{padding-right:13px;text-align:right}.guest-featured-side b{display:block;font-size:15px}.guest-featured-side small{color:#8f8795;font:750 7px system-ui}.guest-featured-arrow{position:absolute;right:7px;top:7px;color:#7e7784;font-size:18px}.guest-featured-tournament.is-empty{border-color:#34303a;background:#101016}.guest-featured-tournament.is-empty .guest-featured-icon{color:#726b78}.guest-home-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}.guest-home-panel{min-width:0;min-height:92px;padding:10px;display:flex;flex-direction:column;border:1.5px solid #37323d;border-radius:14px;background:#111118;color:#fff;text-align:left}.guest-clubs-panel{cursor:pointer}.guest-panel-head{display:flex;align-items:center;justify-content:space-between;gap:5px}.guest-panel-head b{font-size:11px}.guest-panel-head i{color:#8e8794;font:800 7px system-ui;font-style:normal}.guest-club-preview{flex:1;display:flex;align-items:center;gap:7px;margin-top:8px}.guest-club-preview>span{min-width:0;display:flex;align-items:center;gap:5px}.guest-club-preview img{width:34px;height:34px;object-fit:contain;filter:drop-shadow(0 2px #050407)}.guest-club-preview b{max-width:62px;overflow:hidden;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.guest-club-preview small,.guest-news-preview small{color:#8f8795;font:750 7px/1.3 system-ui}.guest-news-panel{border-color:#33404a;background:radial-gradient(circle at 100% 100%,rgba(65,201,255,.08),transparent 46%),#111118}.guest-news-preview{flex:1;display:flex;flex-direction:column;justify-content:flex-end;margin-top:8px}.guest-news-preview b{font-size:9px;line-height:1.25}.guest-news-preview time{margin-top:4px;color:#7d7683;font:750 7px system-ui}.guest-last-result{width:100%;min-height:60px;margin-top:9px;padding:9px 11px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1.5px solid #393440;border-radius:13px;background:#101016;color:#fff;text-align:left;cursor:pointer}.guest-last-result>span{min-width:0;display:flex;flex-direction:column}.guest-last-result small{color:#8f8795;font:850 7px system-ui}.guest-last-result b{margin-top:3px;overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.guest-last-result strong{flex:0 0 auto;color:var(--gold);font-size:9px}.guest-last-result.is-empty{cursor:default}.guest-registration-start{min-height:47px;margin-top:11px}.registration-flow{border-color:#42365c;background:radial-gradient(circle at 100% 0,rgba(139,93,238,.13),transparent 43%),#111015}.registration-flow-head .eyebrow{color:#b99bff}.registration-context{margin:11px 0 0;color:#87808d;font:750 8px/1.4 system-ui}.registration-community{min-height:59px;margin-top:12px;padding:8px 9px;display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:8px;border:1.5px solid #334b5b;border-radius:12px;background:#0e1419}.registration-community>span{width:34px;height:34px;display:grid;place-items:center;color:#57c8f1}.registration-community>span .brawl-icon{width:30px;height:30px}.registration-community>div{display:flex;flex-direction:column}.registration-community b{font-size:9px}.registration-community small{margin-top:2px;color:#8a9298;font:750 7px system-ui}.registration-community button{min-height:31px;padding:6px 9px;border:1px solid #35637a;border-radius:8px;background:#132631;color:#7ed8fa;font:900 7px system-ui;cursor:pointer}.registration-community button:disabled{opacity:.45}.registration-tag-form{display:flex;flex-direction:column;gap:7px;margin-top:14px}.registration-tag-form label{color:#aaa3b0;font:900 8px system-ui}.registration-tag-form input{width:100%;min-height:47px;padding:10px 12px;border:1.5px solid #4a4250;border-radius:11px;outline:none;background:#0c0b10;color:#fff;font:900 14px system-ui;text-transform:uppercase}.registration-tag-form input:focus{border-color:#9a72e4;box-shadow:0 0 0 3px rgba(154,114,228,.1)}.registration-tag-form .primary-action{margin-top:3px}.registration-challenge{margin-top:13px}.registration-account{min-height:59px;padding:8px 9px;display:grid;grid-template-columns:40px 1fr;align-items:center;gap:9px;border:1.5px solid #4b3f61;border-radius:12px;background:#111017}.registration-account>span{width:39px;height:39px;display:grid;place-items:center;border:1.5px solid #7356aa;border-radius:10px;background:linear-gradient(145deg,#7654ad,#37264f);font-size:17px}.registration-account>div{display:flex;flex-direction:column}.registration-account b{font-size:11px}.registration-account small{margin-top:2px;color:#b69ce6;font:850 8px system-ui}.registration-instruction{display:grid;grid-template-columns:25px 1fr;align-items:center;gap:8px;margin-top:9px;padding:9px;border:1px solid #3d3744;border-radius:10px;background:rgba(9,8,12,.45)}.registration-instruction>span{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#ffb12f;color:#221208;font:950 10px system-ui}.registration-instruction p{margin:0;color:#aaa3af;font:750 8px/1.4 system-ui}.registration-instruction p b{color:#ffcf57}.registration-challenge .primary-action{margin-top:12px}.registration-challenge .secondary-action{margin-top:8px}.registration-close{width:100%;margin-top:11px;padding:7px;border:0;background:transparent;color:#8f8795;font:850 8px system-ui;cursor:pointer}.guest-club-join{display:none}.is-unregistered #walletButton{display:none}.is-unregistered #screen-profile>.section-title,.is-unregistered #screen-profile>.rank-pair,.is-unregistered #screen-profile>.graph-card,.is-unregistered #screen-profile>.metric-grid{display:none}.is-unregistered #profilePlacePill{display:none}.is-unregistered #profileEyebrow{color:#b99bff}.is-unregistered #screen-profile.active{min-height:100%;display:flex;flex-direction:column}.is-unregistered #screen-profile>.profile-hero{display:none}.is-unregistered #guestOnboarding:not([hidden]),.is-unregistered #registrationFlow:not([hidden]){flex:1;min-height:100%;margin:0;padding:8px 0 4px;display:flex;flex-direction:column;border:0;border-radius:0;background:transparent;box-shadow:none}.is-unregistered .guest-onboarding-head{padding:0 2px}.is-unregistered .guest-onboarding-head .eyebrow{color:#928a98}.is-unregistered .guest-onboarding-head h2{margin:6px 0 7px;font-size:24px;line-height:1.04}.is-unregistered .guest-onboarding-head p{max-width:360px;color:#8f8795;font:720 9px/1.45 system-ui}.is-unregistered .guest-registration-start{margin-top:auto}.is-unregistered #registrationFlow:not([hidden]){justify-content:center;padding-left:2px;padding-right:2px}.is-unregistered #registrationFlow .registration-flow-head h2{font-size:24px}.is-unregistered .club-card{grid-template-columns:61px minmax(0,1fr);grid-template-rows:auto;min-height:82px}.is-unregistered .club-card .club-score,.is-unregistered .club-card .club-progress,.is-unregistered #screen-clubs .add-club,.is-unregistered #screen-clubs .network-card{display:none}.is-unregistered .selected-club{grid-template-columns:62px minmax(0,1fr)}.is-unregistered .selected-club .star-button,.is-unregistered .selected-club .selected-total,.is-unregistered .selected-club .selected-delta{display:none}.is-unregistered .guest-club-join{display:flex;margin:10px 0 2px}.is-unregistered .member-row{grid-template-columns:27px 43px minmax(0,1fr);cursor:pointer}.is-unregistered .member-score,.is-unregistered .member-arrow{display:none}
.guest-club-preview{flex-direction:column;justify-content:center;align-items:stretch;gap:4px;margin-top:6px}.guest-club-preview>span{gap:6px}.guest-club-preview>span>span{min-width:0;display:flex;flex-direction:column}.guest-club-preview img{width:27px;height:27px}.guest-club-preview b{max-width:92px}.section-title{display:flex;justify-content:space-between;align-items:end;margin:18px 3px 8px}.section-title span{font-size:13px;letter-spacing:.65px}.section-title small{font:800 9px system-ui;color:var(--muted)}
.is-unregistered #screen-clubs .page-heading{margin:10px 2px 13px}.is-unregistered #screen-clubs .club-stack{gap:12px}.is-unregistered #screen-clubs .club-card{padding:13px 14px;column-gap:12px}
.is-unregistered #screen-clubs .network-card{display:flex}
.registration-bot-message{margin:13px 1px 0;color:#aaa3af;font:750 9px/1.65 system-ui}.registration-bot-message>b{display:block;color:#fff;font-size:10px;line-height:1.45}.registration-bot-message p{margin:7px 0 0}.registration-bot-message strong{color:#ffcf57;font-weight:950}
.registration-complete{margin-top:14px}.registration-complete .registration-community{margin-top:0}.registration-complete .primary-action{margin-top:12px}.registration-complete #registrationGroupJoin{opacity:1}.registration-complete #registrationGroupJoin:disabled{opacity:.45}.registration-complete #registrationGroupJoin:not(:disabled){background:#173141;color:#8ce0ff}.registration-complete #registrationGroupJoin:not(:disabled):active{transform:translateY(1px)}
body.registration-complete #screen-profile>.profile-hero,body.registration-complete #screen-profile>.section-title,body.registration-complete #screen-profile>.rank-pair,body.registration-complete #screen-profile>.graph-card,body.registration-complete #screen-profile>.metric-grid{display:none}body.registration-complete #screen-profile.active{min-height:100%;display:flex;flex-direction:column}body.registration-complete #registrationFlow:not([hidden]){flex:1;min-height:100%;margin:0;padding:8px 2px 4px;display:flex;flex-direction:column;justify-content:center;border:0;border-radius:0;background:transparent;box-shadow:none}body.registration-complete #registrationFlow .registration-flow-head h2{font-size:24px}
.rank-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.rank-card{min-height:92px;display:flex;align-items:center;gap:5px;overflow:hidden;padding:9px 8px;border:2.5px solid #060507;border-radius:14px;box-shadow:0 3px 0 #050407,inset 0 1px rgba(255,255,255,.13)}
.rank-card.current{background:radial-gradient(circle at 12% 10%,rgba(255,193,62,.24),transparent 45%),linear-gradient(155deg,#38251f,#21151a)}
.rank-card.best{background:radial-gradient(circle at 12% 10%,rgba(255,255,255,.23),transparent 43%),linear-gradient(155deg,#3a2731,#20161d)}
.rank-card.trophies{background:radial-gradient(circle at 12% 10%,rgba(255,200,61,.24),transparent 45%),linear-gradient(155deg,#342819,#1f1813)}
.rank-card>div:last-child{min-width:0;display:flex;flex-direction:column}.rank-card span{font:900 8px system-ui;text-transform:uppercase;color:#b8aebc}.rank-card b{font-size:19px;color:#fff;line-height:1.15;font-variant-numeric:tabular-nums}.rank-card small{font:900 9px system-ui;color:var(--gold);white-space:nowrap}
.rank-emblem-image{width:68px;height:68px;flex:0 0 68px;object-fit:contain;filter:drop-shadow(0 4px 0 rgba(0,0,0,.72));user-select:none;-webkit-user-drag:none}
.trophy-emblem{width:68px;height:68px;flex:0 0 68px;display:grid;place-items:center;font-size:43px;filter:drop-shadow(0 4px 0 rgba(0,0,0,.72))}
.graph-card{padding:12px 11px 8px;margin-top:9px}.graph-head{display:flex;justify-content:space-between;align-items:center}.graph-head>div:first-child{display:flex;flex-direction:column}.graph-head b{font-size:21px;color:var(--green);line-height:1.1}.graph-period{color:var(--muted);font:850 8px system-ui}
.segmented{display:flex;background:#0d0b10;border:2px solid #050407;border-radius:9px;padding:2px}.segmented button{border:0;background:transparent;padding:7px 8px;border-radius:6px;font:900 8px system-ui;color:#91899c;cursor:pointer}.segmented button.active{color:#211400;background:linear-gradient(#ffd45c,#ff9c28);box-shadow:inset 0 1px #fff0a5}
.graph-head{position:relative}.graph-head-controls{display:contents}.graph-head-controls .graph-period{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);white-space:nowrap}.chart-switch{position:absolute;right:0;top:50%;display:grid;grid-template-columns:1fr 1fr;width:136px;gap:2px;margin:0;padding:2px;transform:translateY(-50%);border:1px solid #332e39;border-radius:8px;background:#0b0b10}.chart-switch button{min-height:21px;padding:0 7px;border:0;border-radius:6px;background:transparent;color:#81798b;font:900 7.5px/1 system-ui;text-transform:uppercase;letter-spacing:.15px}.chart-switch button.active{color:#17100a;background:linear-gradient(#ffd05a,#f3922c);box-shadow:0 1px #71350e,inset 0 1px rgba(255,255,255,.65)}.graph-card[data-chart-kind="elo"]{border-color:#50406f;background:radial-gradient(circle at 100% 0,rgba(150,103,255,.13),transparent 38%),#14131a}.graph-card[data-chart-kind="elo"] .chart-switch button.active{color:#fff;background:linear-gradient(#a77dff,#7049db);box-shadow:0 1px #33205f,inset 0 1px rgba(255,255,255,.45)}.chart-wrap{margin-top:4px;position:relative}.chart-wrap[hidden]{display:none}.chart-wrap svg{display:block;width:100%;height:auto}.chart-grid path{stroke:rgba(255,255,255,.1);stroke-width:1}.area{stroke:none}.line{fill:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.line.trophy{stroke:var(--gold)}.line.elo{stroke:#9f7cff}.point{stroke:#fff;stroke-width:2}.point.trophy{fill:var(--orange)}.point.elo{fill:#7954ec}.single-point .point{filter:drop-shadow(0 0 7px currentColor)}.chart-axis{display:flex;justify-content:space-between;color:#776f80;font:800 8px system-ui;margin:-5px 5px 0}.single-point .chart-axis{justify-content:center}.single-point .chart-axis [data-chart-to]{display:none}.chart-empty{height:150px;display:grid;place-items:center;color:var(--muted);font:800 9px/1.35 system-ui;text-align:center}.chart-empty[hidden]{display:none}.player-detail-graph{margin-top:10px}
.metric-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.metric-grid article{min-height:72px;padding:8px 7px 8px 10px;border:2px solid #050407;border-radius:12px;background:linear-gradient(150deg,#25202c,#17141b);box-shadow:0 2px 0 #050407;display:grid;grid-template-columns:minmax(0,1fr) 45px;align-items:center;gap:5px;position:relative;overflow:hidden}.metric-copy{min-width:0;display:flex;flex-direction:column;position:relative;z-index:1}.metric-copy>span{font:800 9px system-ui;color:var(--muted)}.metric-copy>b{font-size:16px;margin-top:3px;font-variant-numeric:tabular-nums}.metric-copy>small{font:900 8px system-ui;color:var(--gold);margin-top:1px}.metric-grid .positive .metric-copy>b{color:var(--green)}.metric-icon{width:45px;height:45px;display:grid;place-items:center;justify-self:end;position:relative;z-index:1;filter:drop-shadow(0 3px 1px rgba(0,0,0,.7));transform-origin:center}.metric-icon img{display:block;width:100%;height:100%;object-fit:contain}.metric-icon .brawl-icon{width:43px;height:43px}.metric-icon-league{width:47px;height:47px}.metric-icon-solo{width:42px;height:42px}
.page-heading{display:flex;justify-content:space-between;align-items:center;margin:7px 2px 0}.page-heading h1{margin-top:5px}.count-pill,.streak,.live-pill{font:900 9px system-ui;padding:7px 9px;border:2px solid #060507;border-radius:9px;background:#292330;color:var(--gold);box-shadow:0 2px #050407}.live-pill{color:#ff7771}.page-lead{font:700 11px/1.45 system-ui;color:#aaa2b5;margin:5px 2px 13px}
.club-stack{display:flex;flex-direction:column;gap:10px}.club-card{all:unset;cursor:pointer;display:grid;grid-template-columns:54px 1fr auto;grid-template-rows:auto 7px;gap:9px;padding:12px 11px 9px;border:2.5px solid #050407;border-radius:16px;position:relative;box-shadow:0 4px #050407,inset 0 1px rgba(255,255,255,.12)}.club-card.sun{background:radial-gradient(circle at 0 0,rgba(255,189,51,.2),transparent 38%),linear-gradient(150deg,#332a22,#1b171a)}.club-card.moon{background:radial-gradient(circle at 0 0,rgba(131,101,255,.23),transparent 38%),linear-gradient(150deg,#28233a,#181620)}
.club-mark{grid-row:1;width:54px;height:54px;border:2px solid #070609;border-radius:13px;display:grid;place-items:center;font-size:26px;background:linear-gradient(#3a3343,#201c26);box-shadow:inset 0 2px rgba(255,255,255,.15)}.club-info{display:flex;flex-direction:column;min-width:0}.club-info small{font:900 7px system-ui;color:var(--muted);letter-spacing:.5px}.club-info b{font-size:17px;margin:2px 0}.club-info i{font:800 9px system-ui;color:#bab1c1;font-style:normal}.club-score{text-align:right;align-self:center;margin-right:7px}.club-score b{display:block;font-size:13px}.club-score small{font:800 8px system-ui;color:var(--gold)}.club-progress{grid-column:1/-1;height:7px;background:#09080b;border:1.5px solid #030204;border-radius:9px;overflow:hidden}.club-progress i{display:block;height:100%;background:linear-gradient(90deg,#ff832b,#ffd34e);border-radius:8px}.club-card.moon .club-progress i{background:linear-gradient(90deg,#7857e8,#b088ff)}.club-arrow{position:absolute;right:8px;top:7px;font-size:19px;color:#776e82}
.add-club{width:100%;display:flex;align-items:center;gap:11px;margin-top:15px;padding:12px;border:2px dashed #4d4458;border-radius:14px;background:rgba(255,255,255,.025);text-align:left;cursor:pointer}.add-club>span{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:#2c2634;color:var(--blue);font-size:25px}.add-club div{display:flex;flex-direction:column}.add-club b{font-size:14px}.add-club small{font:700 9px system-ui;color:var(--muted)}
.network-card{display:flex;align-items:center;gap:14px;margin-top:17px;padding:13px}.network-orbit{width:75px;height:60px;position:relative;display:flex;align-items:center;justify-content:space-between}.network-orbit:after{content:"";position:absolute;left:15px;right:15px;top:28px;border-top:2px dashed #796d86}.network-orbit span,.network-orbit b{position:relative;z-index:1;width:34px;height:34px;display:grid;place-items:center;border:2px solid #050407;border-radius:10px;background:#302a38}.network-card>div:last-child{display:flex;flex-direction:column}.network-card strong{font-size:22px;color:var(--gold)}.network-card small{font:800 9px system-ui;color:var(--muted)}
.back-link{all:unset;cursor:pointer;color:var(--blue);font:900 11px system-ui;padding:7px 3px 11px}.selected-club{display:grid;grid-template-columns:62px 1fr auto;gap:10px;padding:13px;align-items:center}.selected-icon{width:62px;height:62px;display:grid;place-items:center;font-size:29px;border:2px solid #050407;border-radius:15px;background:linear-gradient(#403647,#211c27)}.star-button{all:unset;cursor:pointer;color:var(--gold);font-size:20px;padding:8px;align-self:start}.selected-total,.selected-delta{grid-column:span 2;display:flex;flex-direction:column;padding-top:8px;border-top:1px solid rgba(255,255,255,.08)}.selected-delta{grid-column:3;text-align:right}.selected-total span,.selected-delta span{font:800 8px system-ui;color:var(--muted)}.selected-total b{font-size:20px;color:var(--gold)}.selected-delta b{font-size:16px;color:var(--green)}
.club-chips{display:flex;gap:6px;overflow-x:auto;margin:11px 0;padding-bottom:2px}.club-chips span{white-space:nowrap;font:900 9px system-ui;padding:8px 9px;border:2px solid #050407;border-radius:9px;background:#26212d;color:#cfc7d6}.member-list{display:flex;flex-direction:column;gap:7px}.member-row{width:100%;display:grid;grid-template-columns:27px 43px minmax(0,1fr) auto 13px;gap:8px;align-items:center;padding:8px;border:2px solid #050407;border-radius:12px;background:linear-gradient(150deg,#27222f,#18151d);box-shadow:0 2px #050407;color:#fff;text-align:left;font:inherit;cursor:pointer}.member-row.you{background:linear-gradient(150deg,#168bc2,#09577d);border-color:#051e2a}.member-row:active{transform:translateY(2px);box-shadow:none}.member-row:disabled{cursor:default}.member-rank{text-align:center;font-size:14px}.member-avatar{width:42px;height:42px;overflow:hidden;position:relative;border-radius:11px;border:2px solid #050407;background:linear-gradient(145deg,#794ee9,#3b2380);display:grid;place-items:center}.member-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.member-copy{min-width:0;display:flex;flex-direction:column}.member-copy b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-copy small{font:800 8px system-ui;color:#aca3b6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-score{text-align:right}.member-score b{display:block;font-size:12px}.member-score small{font:900 8px system-ui;color:var(--green)}.member-arrow{color:#8f8896;font-size:22px;line-height:1}.member-row.you .member-arrow{color:#d7f4ff}
.player-detail-status{min-height:92px;padding:14px;display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:11px}.player-detail-status>.brawl-icon{width:42px;height:42px}.player-detail-status>div{display:flex;flex-direction:column}.player-detail-status b{font-size:12px}.player-detail-status small{margin-top:3px;color:var(--muted);font:750 8px/1.35 system-ui;overflow-wrap:anywhere}.player-detail-status.error{border-color:#71382f;background:radial-gradient(circle at 0 50%,rgba(255,91,67,.14),transparent 45%),#171115}.player-detail-hero{margin-bottom:2px}.player-detail-hero .profile-copy p{color:#bcb4c3;font:850 9px system-ui}.player-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.player-stat-grid article{min-height:76px;padding:9px 7px 9px 10px;border:1.5px solid #38323e;border-radius:13px;background:#121118;box-shadow:0 2px #050407;display:grid;grid-template-columns:minmax(0,1fr) 45px;align-items:center;gap:5px;position:relative;overflow:hidden}.player-stat-grid article:before{content:"";position:absolute;width:68px;height:68px;right:-24px;top:-20px;border-radius:50%;background:rgba(255,255,255,.035);pointer-events:none}.player-stat-grid .player-stat-elo{border-color:#66501c;background:radial-gradient(circle at 100% 38%,rgba(255,196,48,.15),transparent 46%),#131219}.player-stat-grid .player-stat-solo{border-color:#3f4931;background:radial-gradient(circle at 100% 38%,rgba(180,224,53,.12),transparent 46%),#131219}.player-stat-grid .player-stat-team{border-color:#493d68;background:radial-gradient(circle at 100% 38%,rgba(145,100,255,.14),transparent 46%),#131219}.player-stat-grid .player-stat-duo{border-color:#31546a;background:radial-gradient(circle at 100% 38%,rgba(64,183,224,.14),transparent 46%),#131219}.player-stat-copy{min-width:0;display:flex;flex-direction:column;position:relative;z-index:1}.player-stat-copy>span{color:var(--muted);font:850 8px system-ui}.player-stat-copy>b{margin-top:3px;font-size:17px}.player-stat-copy>small{margin-top:1px;color:var(--gold);font:850 7px system-ui;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-stat-icon{width:45px;height:45px;display:grid;place-items:center;justify-self:end;position:relative;z-index:1;filter:drop-shadow(0 3px 1px rgba(0,0,0,.72))}.player-stat-icon img{display:block;width:100%;height:100%;object-fit:contain}.player-stat-icon .brawl-icon{width:43px;height:43px}.player-stat-icon-rank{width:47px;height:47px}.player-stat-icon-solo{width:42px;height:42px}.screen.active .player-stat-icon{animation:metricIconIn .42s cubic-bezier(.2,.82,.2,1.15) both}.screen.active .player-stat-grid article:nth-child(2) .player-stat-icon{animation-delay:.04s}.screen.active .player-stat-grid article:nth-child(3) .player-stat-icon{animation-delay:.08s}.screen.active .player-stat-grid article:nth-child(4) .player-stat-icon{animation-delay:.12s}.player-brawler-list{display:flex;flex-direction:column;gap:7px}.player-brawler-list article{min-height:55px;padding:8px;display:grid;grid-template-columns:29px minmax(0,1fr) auto;align-items:center;gap:8px;border:1.5px solid #37313d;border-radius:12px;background:#121118;box-shadow:0 2px #050407}.player-brawler-list article>span{width:28px;height:28px;display:grid;place-items:center;border:1px solid #4c414f;border-radius:9px;background:#1a171f;color:var(--gold);font-size:10px}.player-brawler-list article>div{min-width:0;display:flex;flex-direction:column}.player-brawler-list article b{font-size:10px}.player-brawler-list article small{margin-top:2px;color:var(--muted);font:750 7px system-ui}.player-brawler-list article>strong{display:flex;align-items:center;gap:3px;font-size:11px}.player-brawler-list .player-brawler-empty{display:block;min-height:auto;color:var(--muted);text-align:center}
.wheel-stage{height:356px;position:relative;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 50% 48%,rgba(255,190,45,.17),transparent 48%),linear-gradient(160deg,#292331,#17131b)}.wheel-stage:before{content:"";position:absolute;width:265px;height:265px;border-radius:50%;border:17px solid #2e2834;box-shadow:0 0 0 5px #050407,0 0 38px rgba(255,188,42,.17),inset 0 0 0 4px #09070b}.wheel{width:230px;height:230px;border-radius:50%;position:relative;background:conic-gradient(#ffad2e 0 60deg,#6650d9 60deg 120deg,#38313f 120deg 180deg,#ef5b37 180deg 240deg,#40a7d7 240deg 300deg,#39323f 300deg);border:5px solid #09070c;transition:transform 1.7s cubic-bezier(.13,.77,.12,1);box-shadow:inset 0 0 0 2px rgba(255,255,255,.2)}.wheel:after{content:"";position:absolute;inset:0;border-radius:50%;background:repeating-conic-gradient(from 0deg,rgba(255,255,255,.2) 0 1deg,transparent 1deg 60deg)}.wheel-pointer{position:absolute;z-index:4;top:39px;color:#fff;font-size:32px;filter:drop-shadow(0 4px #000)}.wheel-hub{position:absolute;z-index:3;width:68px;height:68px;border-radius:50%;display:grid;place-items:center;font-size:28px;background:linear-gradient(#ffd95b,#ed7a20);border:6px solid #21141a;box-shadow:0 0 0 3px #050407,inset 0 2px #fff3a4}.reward{position:absolute;z-index:2;left:50%;top:50%;width:42px;margin-left:-21px;margin-top:-22px;text-align:center;display:flex;flex-direction:column;font-size:19px;text-shadow:0 2px #000}.reward b{font-size:11px}.r1{transform:rotate(30deg) translateY(-83px) rotate(-30deg)}.r2{transform:rotate(90deg) translateY(-83px) rotate(-90deg)}.r3{transform:rotate(150deg) translateY(-83px) rotate(-150deg)}.r4{transform:rotate(210deg) translateY(-83px) rotate(-210deg)}.r5{transform:rotate(270deg) translateY(-83px) rotate(-270deg)}.r6{transform:rotate(330deg) translateY(-83px) rotate(-330deg)}.wheel-light{position:absolute;z-index:2;width:8px;height:8px;border-radius:50%;background:#fff5a7;box-shadow:0 0 10px #ffc43c}.l1{top:67px;left:69px}.l2{top:67px;right:69px}.l3{bottom:62px;left:69px}.l4{bottom:62px;right:69px}
.reward-result{text-align:center;display:flex;flex-direction:column;margin:13px 0 9px}.reward-result span{font:800 9px system-ui;color:var(--muted)}.reward-result b{font-size:19px;color:var(--gold)}.primary-action,.join-button{width:100%;border:2.5px solid #672b09;border-radius:13px;padding:13px;background:linear-gradient(#ffb13c,#ed681d);box-shadow:0 4px #4b1c05,inset 0 2px #ffe38f;color:#fff;font-size:16px;text-shadow:0 2px #8f320c;cursor:pointer}.primary-action:disabled{filter:grayscale(.8);opacity:.65}.daily-note{display:flex;gap:10px;align-items:center;margin-top:13px;padding:11px;border-radius:12px;background:#18151d;border:1px solid #302a39}.daily-note>span{font-size:20px}.daily-note div{display:flex;flex-direction:column}.daily-note b{font-size:11px}.daily-note small{font:700 9px system-ui;color:var(--muted)}
.tournament-hero{padding:15px;text-align:center;position:relative;overflow:hidden;background:radial-gradient(circle at 50% -10%,rgba(255,195,58,.24),transparent 52%),linear-gradient(155deg,#312523,#19151d)}.trophy-glow{font-size:51px;filter:drop-shadow(0 0 16px rgba(255,197,51,.55));margin:0 auto 5px}.tournament-hero h2{font-size:25px;line-height:1;margin:5px 0}.tournament-hero p{font:800 10px system-ui;color:var(--muted)}.hero-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:13px 0}.hero-meta span{padding:8px 4px;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:rgba(0,0,0,.18)}.hero-meta b,.hero-meta small{display:block}.hero-meta b{font-size:12px}.hero-meta small{font:700 8px system-ui;color:var(--muted);margin-top:2px}.join-button{padding:11px;font-size:13px}.join-button.joined{background:linear-gradient(#5fe6a0,#239660);border-color:#145838;box-shadow:0 4px #0d3f27;text-shadow:0 2px #146840}
.tournament-path{display:grid;grid-template-columns:1fr auto 1.35fr auto 1fr auto 1fr;align-items:center;gap:4px;padding:9px}.tournament-path>span{min-width:0;min-height:51px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:6px 3px;border-radius:9px;background:rgba(0,0,0,.2)}.tournament-path b{font-size:13px;color:var(--gold);white-space:nowrap}.tournament-path small{font:800 7px/1.15 system-ui;color:var(--muted);margin-top:2px}.tournament-path i{font-style:normal;color:#706777;font-size:18px}.tournament-path .path-final{background:linear-gradient(145deg,rgba(255,182,40,.23),rgba(255,107,30,.12));box-shadow:inset 0 0 0 1px rgba(255,204,73,.2)}
.lobby-stack{display:flex;flex-direction:column;gap:8px}.lobby-card{padding:11px}.lobby-head{display:flex;justify-content:space-between;align-items:center}.lobby-head>div{display:flex;flex-direction:column}.lobby-head b{font-size:15px;margin-top:2px}.lobby-head strong{font:900 8px system-ui;color:var(--green);padding:6px 7px;border-radius:7px;background:rgba(64,210,131,.1);border:1px solid rgba(99,229,154,.24)}.lobby-players{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:9px}.lobby-players span{padding:6px 5px;border-radius:7px;background:#121016;border:1px solid #383140;font:800 8px system-ui;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}.lobby-players span:last-child{color:var(--muted);border-style:dashed}
.final-lobby{display:grid;grid-template-columns:45px 1fr auto;gap:9px;align-items:center;padding:11px}.final-lobby-icon{width:44px;height:44px;display:grid;place-items:center;border:2px solid #050407;border-radius:11px;background:linear-gradient(#59431f,#271a13);font-size:22px}.final-lobby>div:nth-child(2){display:flex;flex-direction:column}.final-lobby b{font-size:11px}.final-lobby small{font:700 8px/1.3 system-ui;color:var(--muted);margin-top:3px}.final-lobby>span{font-size:12px;color:var(--gold)}.tournament-rule-note{display:flex;flex-direction:column;gap:3px;margin-top:9px;padding:10px 11px;border:1px dashed #4a4153;border-radius:11px;background:rgba(255,255,255,.025)}.tournament-rule-note b{font-size:10px;color:var(--blue)}.tournament-rule-note span{font:700 8px/1.4 system-ui;color:var(--muted)}
.tournament-card-stack{display:flex;flex-direction:column;gap:13px;margin-top:13px}.tournament-list-card{all:unset;box-sizing:border-box;cursor:pointer;width:100%;min-height:143px;display:grid;grid-template-columns:84px minmax(0,1fr) auto;grid-template-rows:auto auto 8px;column-gap:11px;row-gap:9px;padding:14px 12px 11px;border:2.5px solid #050407;border-radius:19px;position:relative;overflow:hidden;isolation:isolate;box-shadow:0 5px #050407,inset 0 1px rgba(255,255,255,.14),inset 0 -20px 35px rgba(0,0,0,.15);transition:transform .12s ease,filter .12s ease}.tournament-list-card:before{content:"";position:absolute;z-index:-1;width:190px;height:190px;left:-55px;top:-63px;border-radius:50%;opacity:.85;background:radial-gradient(circle at 43% 45%,rgba(198,238,56,.32) 0 15%,transparent 16%),radial-gradient(circle at 65% 30%,rgba(164,213,45,.21) 0 20%,transparent 21%),radial-gradient(circle at 30% 68%,rgba(112,158,38,.22) 0 18%,transparent 19%)}.tournament-list-card:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(105deg,transparent 0 57%,rgba(255,255,255,.035) 57.5% 58.2%,transparent 59%)}.tournament-list-card:active{transform:translateY(3px);filter:brightness(.94)}.tournament-list-card.featured{background:radial-gradient(circle at 92% 0,rgba(255,190,55,.22),transparent 38%),linear-gradient(145deg,#42301e,#241b19 56%,#171417)}.tournament-list-card.academy{background:radial-gradient(circle at 92% 0,rgba(142,99,255,.24),transparent 38%),linear-gradient(145deg,#302947,#211c31 56%,#16141b)}.tournament-list-card.major{background:radial-gradient(circle at 92% 0,rgba(255,87,52,.25),transparent 40%),linear-gradient(145deg,#442526,#2a191d 56%,#191316)}.tournament-mode-art{grid-row:1/3;width:82px;height:88px;align-self:center;position:relative;display:grid;place-items:center;border:2.5px solid #050407;border-radius:19px;background:radial-gradient(circle at 50% 42%,#8fc63f 0 29%,#567a28 30% 48%,#28301d 49% 67%,#17141a 68%);box-shadow:0 4px #070608,inset 0 2px rgba(255,255,255,.25),0 0 22px rgba(172,221,51,.12)}.tournament-mode-art:before,.tournament-mode-art:after{content:"";position:absolute;border-radius:50%;background:rgba(189,226,56,.22);filter:blur(.2px)}.tournament-mode-art:before{width:22px;height:22px;left:-7px;top:8px;box-shadow:8px 56px rgba(145,190,45,.17),73px 19px rgba(199,235,60,.18)}.tournament-mode-art:after{width:10px;height:10px;right:5px;bottom:9px;box-shadow:-64px -3px rgba(199,235,60,.2)}.tournament-mode-art img{position:relative;z-index:2;width:73px;height:73px;object-fit:contain;filter:drop-shadow(0 5px 0 rgba(0,0,0,.58));user-select:none;-webkit-user-drag:none}.tournament-mode-label{position:absolute;z-index:4;left:8px;bottom:-6px;padding:4px 8px 3px;border:2px solid #050407;border-radius:7px;background:linear-gradient(#d8f348,#81b527);box-shadow:0 2px #050407;color:#172006;font:1000 7px system-ui;letter-spacing:.8px}.tournament-event-mark{position:absolute;z-index:4;right:-6px;top:-7px;width:25px;height:25px;display:grid;place-items:center;border:2px solid #050407;border-radius:8px;background:linear-gradient(#ffd966,#f28a26);box-shadow:0 2px #050407;color:#402000;font:1000 15px system-ui}.academy .tournament-event-mark{background:linear-gradient(#b9a0ff,#6d4bd4);color:#180b35}.major .tournament-event-mark{background:linear-gradient(#ff8a55,#d83831);color:#400807}.tournament-card-copy{min-width:0;display:flex;flex-direction:column;justify-content:center}.tournament-card-copy small{font:900 7px system-ui;color:var(--muted);letter-spacing:.65px}.tournament-card-copy b{font-size:16px;line-height:1.05;margin:4px 0}.tournament-card-copy i{font:800 8px system-ui;color:#c8bfcd;font-style:normal}.tournament-card-side{grid-row:1/3;align-self:center;text-align:right;margin-right:8px;position:relative;z-index:2}.tournament-card-side em{display:block;font:900 7px system-ui;color:var(--green);font-style:normal}.tournament-list-card.major .tournament-card-side em{color:var(--gold)}.tournament-card-side b{display:block;font-size:15px;margin-top:4px}.tournament-card-side small{display:block;font:800 7px system-ui;color:var(--muted)}.tournament-mode-tags{grid-column:2/3;display:flex;gap:4px;min-width:0}.tournament-mode-tags i{padding:4px 5px;border:1px solid rgba(202,235,75,.22);border-radius:6px;background:rgba(132,174,45,.09);color:#c7d88b;font:900 6px system-ui;font-style:normal;white-space:nowrap}.academy .tournament-mode-tags i{border-color:rgba(179,148,255,.22);background:rgba(126,84,220,.09);color:#c4b1ed}.major .tournament-mode-tags i{border-color:rgba(255,129,82,.22);background:rgba(204,67,48,.09);color:#e9aa91}.tournament-card-progress{grid-column:1/-1;height:8px;border:1.5px solid #030204;border-radius:8px;background:#09080b;overflow:hidden}.tournament-card-progress i{display:block;height:100%;border-radius:7px;background:linear-gradient(90deg,#90c72f,#d9ef47 35%,#ffba38 100%);box-shadow:0 0 8px rgba(205,238,69,.25)}.tournament-list-card.academy .tournament-card-progress i{background:linear-gradient(90deg,#7452e3,#ae88ff)}.tournament-list-card.major .tournament-card-progress i{background:linear-gradient(90deg,#d84333,#ff9b37)}.tournament-card-arrow{position:absolute;right:7px;top:5px;color:#94899d;font-size:20px}
.tournament-count{display:flex;align-items:center;gap:6px;padding:8px 10px;border:1.5px solid #403949;background:#111017;box-shadow:none}.tournament-count svg{width:15px;height:15px;fill:none;stroke:var(--gold);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.tournament-card-stack{gap:11px;margin-top:14px}.tournament-list-card{min-height:116px;grid-template-columns:88px minmax(0,1fr) 77px;grid-template-rows:1fr;column-gap:10px;row-gap:0;padding:11px 10px;border-width:1.5px;border-radius:18px;box-shadow:0 3px #050407,inset 0 1px rgba(255,255,255,.035);overflow:hidden}.tournament-list-card:before{width:150px;height:150px;left:-38px;top:-23px;opacity:.9;background:radial-gradient(circle at 27% 31%,rgba(255,232,52,.34) 0 1px,transparent 1.6px),radial-gradient(circle at 38% 38%,rgba(255,232,52,.24) 0 1px,transparent 1.5px),radial-gradient(circle at 28% 54%,rgba(255,232,52,.2) 0 1.2px,transparent 1.7px),radial-gradient(circle at 52% 58%,rgba(144,184,35,.24) 0 18%,transparent 19%),radial-gradient(circle at 34% 43%,rgba(118,145,26,.16) 0 30%,transparent 31%)}.tournament-list-card:after{inset:0;background:linear-gradient(90deg,rgba(0,0,0,.02),rgba(5,7,11,.54) 36%,rgba(5,7,11,.96) 78%)}.tournament-list-card.featured{border-color:#9a7900;background:#0d0e12}.tournament-list-card.academy{border-color:#66518a;background:#0d0e13}.tournament-list-card.major{border-color:#84331f;background:#0f0e11}.tournament-list-card.academy:before{background:radial-gradient(circle at 27% 31%,rgba(169,119,255,.45) 0 1px,transparent 1.6px),radial-gradient(circle at 38% 38%,rgba(169,119,255,.25) 0 1px,transparent 1.5px),radial-gradient(circle at 28% 54%,rgba(169,119,255,.2) 0 1.2px,transparent 1.7px),radial-gradient(circle at 52% 58%,rgba(111,68,188,.25) 0 18%,transparent 19%),radial-gradient(circle at 34% 43%,rgba(74,42,132,.18) 0 30%,transparent 31%)}.tournament-list-card.major:before{background:radial-gradient(circle at 27% 31%,rgba(255,81,55,.46) 0 1px,transparent 1.6px),radial-gradient(circle at 38% 38%,rgba(255,81,55,.27) 0 1px,transparent 1.5px),radial-gradient(circle at 28% 54%,rgba(255,81,55,.22) 0 1.2px,transparent 1.7px),radial-gradient(circle at 52% 58%,rgba(188,55,39,.25) 0 18%,transparent 19%),radial-gradient(circle at 34% 43%,rgba(128,38,28,.18) 0 30%,transparent 31%)}.tournament-list-card:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.tournament-mode-art{grid-column:1/2;grid-row:1;width:84px;height:92px;align-self:center;border:0;border-radius:0;background:none;box-shadow:none}.tournament-mode-art:before{width:21px;height:21px;left:7px;top:10px;background:rgba(132,172,35,.15);box-shadow:9px 54px rgba(146,190,39,.14),69px 27px rgba(195,229,55,.12)}.tournament-mode-art:after{width:9px;height:9px;right:8px;bottom:10px;background:rgba(192,228,53,.18);box-shadow:-62px -1px rgba(199,235,60,.14)}.tournament-mode-art img{width:82px;height:82px;filter:drop-shadow(0 5px 1px rgba(0,0,0,.72))}.tournament-mode-label{display:none}.tournament-event-mark{right:-1px;top:1px;width:29px;height:29px;border:2px solid #08070a;border-radius:8px;background:linear-gradient(#ffd959,#efa922);box-shadow:0 2px #050407,inset 0 1px rgba(255,255,255,.45);color:#161108;font:1000 15px/1 Arial,sans-serif}.academy .tournament-event-mark{background:linear-gradient(#b992ff,#7651d4);color:#110826}.major .tournament-event-mark{background:linear-gradient(#ff6652,#e23e32);color:#180606;font-size:14px}.tournament-card-copy{grid-column:2/3;grid-row:1;position:relative;z-index:2;justify-content:center}.tournament-card-copy small{font:900 8px system-ui;color:var(--gold);letter-spacing:.45px}.academy .tournament-card-copy small{color:#a884ed}.major .tournament-card-copy small{color:#ef5a42}.tournament-card-copy b{font-size:18px;line-height:1.05;margin:6px 0 7px;white-space:nowrap}.tournament-card-copy i{display:flex;align-items:center;gap:6px;color:#8e8992;font:800 8.5px system-ui;white-space:nowrap}.tournament-card-copy i svg{width:14px;height:14px;flex:0 0 14px;fill:none;stroke:#928e97;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.tournament-card-side{grid-column:3/4;grid-row:1;align-self:stretch;display:flex;flex-direction:column;justify-content:center;margin:0;padding:9px 4px 0 11px;border-left:1px solid #34323a;text-align:center}.tournament-card-side em{font-size:7px}.tournament-card-side b{font-size:18px;margin-top:6px}.tournament-card-side small{font-size:7px;margin-top:3px}.tournament-mode-tags,.tournament-card-progress{display:none}.tournament-card-arrow{z-index:3;right:8px;top:5px;color:#aaa6af;font-size:27px;line-height:1}.tournament-time-note{display:flex;align-items:center;gap:7px;margin:10px 3px 0;color:#65616b;font:700 8px system-ui}.tournament-time-note span{width:15px;height:15px;display:grid;place-items:center;flex:0 0 15px;border-radius:50%;background:#6d6973;color:#101014;font:1000 10px Georgia,serif}
.tournament-detail-hero{display:grid;grid-template-columns:60px 1fr auto;gap:10px;align-items:center;padding:12px;background:radial-gradient(circle at 0 0,rgba(255,188,42,.2),transparent 43%),linear-gradient(150deg,#30251e,#19161a)}.detail-tournament-icon{width:59px;height:59px;display:grid;place-items:center;border:2px solid #050407;border-radius:14px;background:linear-gradient(#493b2b,#251d1c);font-size:30px}.detail-tournament-copy{min-width:0}.detail-tournament-copy h1{font-size:19px;line-height:1;margin:4px 0;text-shadow:0 2px #000}.detail-tournament-copy p{font:800 9px system-ui;color:#c6bdca;margin:0}.detail-state{align-self:start;padding:6px 7px;border:1px solid rgba(99,229,154,.35);border-radius:7px;background:rgba(99,229,154,.1);font:900 7px system-ui;color:var(--green)}.detail-state.soon{border-color:rgba(255,200,61,.35);background:rgba(255,200,61,.1);color:var(--gold)}.detail-meta{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,1fr);gap:5px}.detail-meta span{padding:7px 4px;border-radius:8px;background:rgba(0,0,0,.2);text-align:center}.detail-meta b,.detail-meta small{display:block}.detail-meta b{font-size:10px}.detail-meta small{font:700 7px system-ui;color:var(--muted);margin-top:2px}.detail-progress{grid-column:1/-1;height:7px;border:1.5px solid #030204;border-radius:8px;background:#09080b;overflow:hidden}.detail-progress i{display:block;height:100%;border-radius:7px;background:linear-gradient(90deg,#ff7a25,#ffd34e)}
.next-action-card{padding:12px}.next-action-head{display:flex;align-items:center;gap:10px}.next-action-head>span{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border:2px solid #6a2908;border-radius:10px;background:linear-gradient(#ffc04a,#ed6c1e);box-shadow:inset 0 1px #ffe79b,0 2px #351104;font-size:15px}.next-action-head>div{display:flex;flex-direction:column}.next-action-head b{font-size:13px}.next-action-head small{font:700 8px/1.35 system-ui;color:var(--muted);margin-top:2px}.entry-checks{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:10px 0}.entry-checks>span{padding:7px;border-radius:8px;background:rgba(99,229,154,.07);border:1px solid rgba(99,229,154,.18);font:800 8px system-ui;color:#bceecf}.entry-checks>small{grid-column:1/-1;font:700 7px system-ui;color:var(--muted)}.entry-checks b{color:inherit}.cancel-participation{width:100%;margin-top:8px;border:0;background:transparent;color:#958c9f;font:900 8px system-ui;cursor:pointer}.next-action-card.registered .next-action-head>span{border-color:#145838;background:linear-gradient(#5fe6a0,#239660);box-shadow:inset 0 1px #c6ffe0,0 2px #0d3f27}.next-action-card.registered .entry-checks{display:none}
.tournament-steps{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column}.tournament-steps li{display:grid;grid-template-columns:28px 1fr;gap:9px;position:relative;padding:0 0 13px}.tournament-steps li:before{content:"";position:absolute;left:13px;top:27px;bottom:0;border-left:2px solid #302a38}.tournament-steps li:last-child:before{display:none}.tournament-steps li>b{width:28px;height:28px;display:grid;place-items:center;border:2px solid #39323f;border-radius:9px;background:#1a171e;color:#766e7e;font-size:10px}.tournament-steps li>div{display:flex;flex-direction:column;padding-top:1px}.tournament-steps strong{font-size:10px;color:#ada5b4}.tournament-steps span{font:700 8px/1.35 system-ui;color:#746d7b;margin-top:2px}.tournament-steps li.active>b{color:#221500;border-color:#865315;background:linear-gradient(#ffd45c,#ff9c28)}.tournament-steps li.active strong{color:#fff}.tournament-steps li.active span{color:#aba3b2}.tournament-steps li.complete>b{color:#092718;border-color:#1e8955;background:var(--green)}.tournament-steps li.complete:before{border-color:#309963}.tournament-steps li.complete strong{color:#bceecf}
.lobby-preview-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.lobby-preview-card{min-height:70px;display:flex;flex-direction:column;justify-content:center;padding:9px;border:2px dashed #413948;border-radius:11px;background:rgba(255,255,255,.025)}.lobby-preview-card b{font-size:11px}.lobby-preview-card span{font:800 8px system-ui;color:var(--green);margin-top:3px}.lobby-preview-card small{font:700 7px/1.3 system-ui;color:var(--muted);margin-top:3px}.lobby-preview-card.final{border-style:solid;border-color:#62471c;background:rgba(255,189,44,.06)}.lobby-preview-card.final b{color:var(--gold)}
.tournament-rules{margin-top:13px;overflow:hidden}.tournament-rules summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;padding:11px 12px;font-size:11px}.tournament-rules summary::-webkit-details-marker{display:none}.tournament-rules summary span{color:var(--gold)}.rules-body{padding:0 11px 11px;border-top:1px solid rgba(255,255,255,.07)}.rules-body p{font:800 8px/1.4 system-ui;color:#bcb4c3;margin:9px 0}.score-row{display:grid;grid-template-columns:42px repeat(10,1fr);align-items:center;gap:1px}.score-row span{font:800 7px system-ui;color:var(--muted)}.score-row b{padding:4px 0;border-radius:4px;background:#151219;text-align:center;font:900 7px system-ui}.score-row.points b{color:var(--gold);background:#211b13}.rules-body>small{display:block;font:700 7px/1.4 system-ui;color:var(--muted);margin-top:8px}
.bracket{display:grid;grid-template-columns:1.15fr .85fr;gap:13px;padding:12px}.round{display:flex;flex-direction:column;gap:7px}.round>small{font:900 8px system-ui;color:var(--muted);letter-spacing:.5px}.match{position:relative;display:grid;grid-template-columns:1fr auto;gap:2px;padding:6px 7px;border:1px solid #443c4c;border-radius:8px;background:#141117;font:800 8px system-ui}.match span:nth-of-type(2){grid-column:1}.match b{grid-column:2;grid-row:1/3;align-self:center;color:var(--gold)}.match.ghost{color:#777080;border-style:dashed}.final-round{justify-content:space-between;padding:0 0 5px}.final-crown{text-align:center;color:var(--gold);font-size:25px}.upcoming-list{display:flex;flex-direction:column;gap:8px}.upcoming-list article{display:grid;grid-template-columns:45px 1fr auto;gap:9px;align-items:center;padding:10px;border:2px solid #050407;border-radius:12px;background:linear-gradient(150deg,#26212d,#17141b)}.mini-trophy{width:43px;height:43px;display:grid;place-items:center;border:2px solid #050407;border-radius:11px}.mini-trophy.purple{background:linear-gradient(#a979ff,#4b2b93)}.mini-trophy.blue{background:linear-gradient(#56cfff,#176d9f)}.upcoming-list article>div:nth-child(2){display:flex;flex-direction:column}.upcoming-list b{font-size:12px}.upcoming-list small{font:700 8px system-ui;color:var(--muted)}.upcoming-list article>span{font-size:10px;color:var(--gold)}
.bottom-nav{position:absolute;z-index:20;left:0;right:0;bottom:0;height:72px;padding:6px 8px calc(6px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);gap:5px;background:linear-gradient(rgba(20,17,24,.96),#0e0c11);border-top:2px solid #050407;box-shadow:0 -5px 18px rgba(0,0,0,.28)}.bottom-nav button{all:unset;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:2px solid transparent;border-radius:11px;color:#756d80}.bottom-nav span{font-size:19px;filter:grayscale(1);opacity:.7}.bottom-nav b{font:900 8px system-ui}.bottom-nav button.active{color:#fff;background:linear-gradient(#ffad37,#ed671e);border-color:#6a2908;box-shadow:inset 0 1px #ffe28b,0 2px #351104;text-shadow:0 1px #7e2c0c}.bottom-nav button.active span{filter:none;opacity:1}.toast{position:absolute;z-index:50;left:50%;bottom:82px;transform:translate(-50%,15px);min-width:220px;max-width:90%;padding:10px 13px;border:2px solid #050407;border-radius:11px;background:#2a2430;text-align:center;font:800 10px system-ui;opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}

/* Shared Brawl-inspired visual language */
.brawl-symbols{position:absolute;width:0;height:0;overflow:hidden}.brawl-icon{width:1em;height:1em;display:block;flex:0 0 auto;overflow:visible}.inline-icon{display:inline-block;width:1.25em;height:1.25em;margin-right:4px;vertical-align:-.28em}.mini-icon{display:inline-block;width:13px;height:13px}.chip-icon{width:15px;height:15px}.action-icon{width:20px;height:20px}.phone-shell{background:radial-gradient(100% 42% at 50% -12%,rgba(255,170,45,.1),transparent 74%),#0a0b10}.topbar{background:rgba(9,10,15,.76);border-bottom-color:#202027}.wallet{gap:8px;padding:8px 12px;border:1.5px solid #413a4a;border-radius:13px;background:#111118;box-shadow:0 2px #050407,inset 0 1px rgba(255,255,255,.05)}.wallet-icon{width:22px;height:22px}.game-card{border:1.5px solid #393440;border-radius:18px;background:linear-gradient(150deg,#17151d,#0f1015 72%);box-shadow:0 3px #050407,inset 0 1px rgba(255,255,255,.035)}.profile-hero{min-height:88px;border-color:#443744;background:radial-gradient(circle at 2% 25%,rgba(48,188,242,.16),transparent 34%),radial-gradient(circle at 100% 0,rgba(255,169,43,.15),transparent 38%),#111118}.profile-avatar{border-width:2.5px;box-shadow:0 3px #050407,inset 0 2px rgba(255,255,255,.35)}.profile-copy p{display:flex;align-items:center}.place-pill{padding-left:10px;border-left:1px solid #37313b}.rank-card{border-width:1.5px;border-radius:17px;box-shadow:0 3px #050407,inset 0 1px rgba(255,255,255,.05)}.rank-card.trophies{border-color:#6d5117;background:radial-gradient(circle at 0 40%,rgba(255,193,46,.22),transparent 40%),#121116}.rank-card.current{border-color:#66302f;background:radial-gradient(circle at 0 40%,rgba(239,77,55,.2),transparent 40%),#131015}.trophy-emblem{width:67px;height:67px;font-size:inherit}.trophy-emblem .brawl-icon{width:62px;height:62px}.graph-card{border-color:#3f3847;background:radial-gradient(circle at 100% 0,rgba(255,191,54,.06),transparent 36%),#14131a}.segmented{border-width:1.5px;border-color:#08070a;background:#0b0b10}.metric-grid article{border-width:1.5px;border-color:#34303a;border-radius:13px;background:#131219;box-shadow:0 2px #050407}.metric-grid article:nth-child(odd){background:radial-gradient(circle at 0 0,rgba(148,102,255,.07),transparent 45%),#131219}.metric-grid .league-record{border-color:#57451d}.count-pill,.streak,.live-pill{display:flex;align-items:center;gap:6px;border-width:1.5px;border-color:#3d3745;border-radius:10px;background:#111118;box-shadow:none}.club-card{box-sizing:border-box;min-height:92px;grid-template-columns:61px 1fr auto;border-width:1.5px;border-radius:18px;box-shadow:0 3px #050407,inset 0 1px rgba(255,255,255,.035);overflow:hidden}.club-card.sun{border-color:#765617;background:radial-gradient(circle at 0 40%,rgba(255,188,45,.24),transparent 35%),#101116}.club-card.moon{border-color:#604b83;background:radial-gradient(circle at 0 40%,rgba(143,103,255,.23),transparent 35%),#101116}.club-mark{width:59px;height:59px;border-width:1.5px;border-radius:15px;background:#101116;box-shadow:0 2px #050407}.club-mark .brawl-icon{width:49px;height:49px}.club-score small,.member-score b{display:flex;align-items:center;justify-content:flex-end;gap:3px}.club-progress{height:6px;border-width:1px}.add-club{border-width:1.5px;border-color:#4b4552;border-radius:17px;background:#101116}.add-club>span{background:#171922;border:1px solid #313744}.add-club>span .brawl-icon{width:24px;height:24px}.network-card{border-color:#3f3847;background:radial-gradient(circle at 0 50%,rgba(255,193,46,.09),transparent 42%),#121119}.network-orbit span,.network-orbit b{border-width:1.5px;background:#101116}.network-orbit .brawl-icon{width:28px;height:28px}.selected-club{border-color:#43394a;background:radial-gradient(circle at 0 0,rgba(255,188,45,.12),transparent 38%),#121118}.selected-icon{border-width:1.5px;background:#101116}.selected-icon .brawl-icon{width:52px;height:52px}.star-button .brawl-icon{width:22px;height:22px}.club-chips span{display:flex;align-items:center;gap:5px;border-width:1.5px;border-color:#39333f;background:#121118}.member-row{border-width:1.5px;border-color:#35303b;border-radius:14px;background:#121118;box-shadow:0 2px #050407}.member-row.you{border-color:#1e8fc2;background:linear-gradient(145deg,#1699cb,#086889)}.member-avatar{border-width:1.5px;box-shadow:0 2px #050407}.streak .brawl-icon{width:15px;height:15px}.wheel-stage{border-color:#433b49;background:radial-gradient(circle at 50% 48%,rgba(147,105,255,.1),transparent 48%),#15131a}.reward .brawl-icon{width:21px;height:21px;filter:drop-shadow(0 2px rgba(0,0,0,.65))}.wheel-hub{border-width:4px;background:linear-gradient(#ffd857,#ec7920)}.wheel-hub .brawl-icon{width:48px;height:48px}.primary-action,.join-button{display:flex;align-items:center;justify-content:center;gap:7px;border-width:1.5px;border-radius:14px;box-shadow:0 4px #4b1c05,inset 0 2px #ffe38f}.daily-note{border-width:1.5px;border-color:#36313c;background:#111118}.daily-note>span{width:31px;height:31px;display:grid;place-items:center}.daily-note .brawl-icon{width:27px;height:27px}.tournament-event-mark .brawl-icon{width:20px;height:20px}.major .tournament-event-mark .brawl-icon{color:#170606;width:18px;height:18px}.tournament-card-copy i .brawl-icon{width:14px;height:14px;color:#928e97}.tournament-time-note>.brawl-icon{width:15px;height:15px;color:#6d6973}.detail-tournament-icon{border-width:1.5px;background:radial-gradient(circle at 55% 60%,rgba(190,229,53,.22),transparent 48%),#101116}.detail-tournament-icon img{width:54px;height:54px;object-fit:contain;filter:drop-shadow(0 3px rgba(0,0,0,.7))}.coin-value{display:flex!important;align-items:center;justify-content:center;gap:4px}.coin-value i{font-style:normal}.next-action-card{border-color:#413848;background:#121118}.next-action-head>span .brawl-icon{width:26px;height:26px}.entry-checks>span{display:flex;align-items:center;gap:4px}.lobby-preview-card{border-width:1.5px;background:#111118}.lobby-preview-card.final b{display:flex;align-items:center;gap:4px}.tournament-rules{border-color:#3d3744;background:#111118}.bottom-nav{background:linear-gradient(rgba(15,15,21,.97),#090a0f);border-top:1px solid #29252f;box-shadow:0 -8px 24px rgba(0,0,0,.38)}.bottom-nav button{border-width:1.5px;border-radius:13px}.bottom-nav span{filter:grayscale(1);opacity:.58}.bottom-nav span .brawl-icon{width:24px;height:24px}.bottom-nav button.active{background:linear-gradient(#ffb13b,#ed6b20);border-color:#713008;box-shadow:inset 0 1px #ffe38d,0 2px #351104}.toast{border-width:1.5px;border-color:#48404f;background:#17151d}
.wallet{position:relative;cursor:pointer}.wallet.active{border-color:#b98719;background:radial-gradient(circle at 20% 50%,rgba(255,195,46,.18),transparent 45%),#111118;box-shadow:0 0 0 1px rgba(255,200,61,.12),0 2px #050407}.wallet-reward-dot{position:absolute;right:-4px;top:-4px;width:11px;height:11px;border:2px solid #090a0f;border-radius:50%;background:#66e69c;box-shadow:0 0 8px rgba(102,230,156,.7)}.bottom-nav{grid-template-columns:repeat(3,1fr)}
.trophy-emblem .brawl-icon{width:54px;height:54px}
.club-badge-image{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 1px rgba(0,0,0,.68))}
.club-mark .club-badge-image{width:53px;height:56px}.network-orbit .club-badge-image{width:28px;height:31px}.selected-icon .club-badge-image{width:56px;height:60px}
.club-mark,.selected-icon{border-color:transparent;background:transparent;box-shadow:none}
.network-orbit span,.network-orbit b{border-color:transparent;background:transparent;box-shadow:none}
.club-arrow{display:none}
.bottom-nav span{width:28px;height:28px;display:grid;place-items:center}
.bottom-nav b{display:none}
.bottom-nav button[data-screen="profile"] span .brawl-icon{width:24px;height:24px}
.bottom-nav button[data-screen="clubs"] span .brawl-icon{width:24px;height:24px}
.bottom-nav button[data-screen="tournaments"] span .brawl-icon{width:28px;height:28px}
.bottom-nav{height:calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));padding:6px 8px calc(6px + env(safe-area-inset-bottom));grid-template-columns:repeat(3,1fr);gap:5px;background:linear-gradient(rgba(16,17,23,.98),#08090d);border-top:1.5px solid #35343e;box-shadow:0 -8px 24px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.025)}
.bottom-nav button{min-width:0;height:100%;flex-direction:row;gap:0;position:relative;isolation:isolate;overflow:hidden;border:1.5px solid transparent;border-radius:12px;color:#aaa7b0;transition:color .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease,transform .16s ease}
.bottom-nav span{width:38px;height:38px;opacity:.72;filter:drop-shadow(0 3px 1px rgba(0,0,0,.82));transition:opacity .2s ease,filter .2s ease,transform .2s cubic-bezier(.2,.8,.2,1.2)}
.bottom-nav button:hover{color:#d7d4dc}.bottom-nav button:active{transform:translateY(2px)}.bottom-nav button:active span{transform:scale(.94)}.bottom-nav button:focus-visible{outline:2px solid #ffd65b;outline-offset:-4px}
.bottom-nav button.active{color:#fff;background:radial-gradient(circle at 50% 42%,rgba(255,235,175,.38),transparent 42%),linear-gradient(180deg,#ffb23c 0%,#f47a22 56%,#df5415 100%);border-color:#7d3007;box-shadow:0 0 14px rgba(255,118,28,.34),inset 0 1px #fff0bd,0 3px #3b1204;text-shadow:none}
.bottom-nav button.active span{opacity:1;filter:drop-shadow(0 0 7px rgba(255,246,214,.6)) drop-shadow(0 3px 1px rgba(67,19,2,.7));transform:translateY(-1px) scale(1.06)}
.bottom-nav button[data-screen="clubs"] span .brawl-icon{width:34px;height:34px}.bottom-nav button[data-screen="profile"] span .brawl-icon{width:32px;height:32px}.bottom-nav button[data-screen="tournaments"] span .brawl-icon{width:36px;height:36px}
.toast{bottom:calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 10px)}
#screen-daily.active{min-height:100%;display:flex;flex-direction:column;justify-content:space-evenly}#screen-daily .page-heading{margin:0 2px}#screen-daily .wheel-stage{background:transparent;border-color:transparent;box-shadow:none}#screen-daily .daily-actions{display:flex;flex-direction:column}#screen-daily #spinButton{margin:0}.reward-result:not([hidden]){margin:0 0 9px}.reward-result:not([hidden])+#spinButton{margin-top:0}#spinButton.countdown:disabled{filter:none;opacity:1;cursor:default;border-color:#4a4352;background:radial-gradient(circle at 18% 50%,rgba(151,105,255,.13),transparent 38%),linear-gradient(#24202a,#15131a);box-shadow:0 3px #08070b,inset 0 1px rgba(255,255,255,.08);color:#ffd45a;text-shadow:0 2px #08070b}.daily-countdown{min-width:82px;text-align:center;font-variant-numeric:tabular-nums;letter-spacing:1.7px}.countdown .action-icon{width:22px;height:22px;filter:drop-shadow(0 0 6px rgba(155,112,255,.4))}

/* Daily reward hero polish, synthesized from polished mobile game patterns */
#screen-daily{isolation:isolate;position:relative}#screen-daily:before{content:"";position:absolute;z-index:0;inset:7% 0 5%;pointer-events:none;background:radial-gradient(circle at 50% 48%,rgba(255,173,42,.13),transparent 31%),radial-gradient(circle at 39% 46%,rgba(135,91,255,.09),transparent 44%);filter:blur(3px)}#screen-daily>*{position:relative;z-index:1}
#screen-daily .page-heading{justify-content:center;text-align:center}#screen-daily .page-heading>div{display:flex;flex-direction:column;align-items:center;gap:7px}#screen-daily .page-heading .eyebrow{padding:5px 9px 4px;border:1px solid rgba(255,200,61,.34);border-radius:999px;background:rgba(255,190,48,.08);color:#ffd45b;letter-spacing:1.35px;box-shadow:inset 0 1px rgba(255,255,255,.06)}#screen-daily .page-heading h1{margin:0;font-size:26px;letter-spacing:.25px;text-shadow:0 3px #050407}
#screen-daily .wheel-stage:after{content:"";position:absolute;z-index:0;width:326px;height:326px;border-radius:50%;pointer-events:none;background:repeating-conic-gradient(from -4deg,rgba(255,203,73,.14) 0 1.5deg,transparent 1.5deg 18deg);-webkit-mask:radial-gradient(circle,transparent 0 54%,#000 66%,transparent 76%);mask:radial-gradient(circle,transparent 0 54%,#000 66%,transparent 76%);opacity:.62;filter:blur(.25px)}#screen-daily .wheel-stage:before{z-index:1;border-color:#332d3b;box-shadow:0 0 0 5px #050407,0 0 0 7px rgba(255,202,72,.09),0 0 46px rgba(255,180,45,.2),inset 0 0 0 4px #09070b,inset 0 3px 2px rgba(255,255,255,.08)}#screen-daily .wheel{z-index:2;box-shadow:inset 0 0 0 2px rgba(255,255,255,.2),0 6px 16px rgba(0,0,0,.42)}#screen-daily .wheel:before{content:"";position:absolute;z-index:0;inset:0;border-radius:50%;pointer-events:none;background:radial-gradient(circle at 31% 20%,rgba(255,255,255,.24),transparent 24%),radial-gradient(circle at 50% 115%,rgba(0,0,0,.26),transparent 54%)}#screen-daily .wheel:after{z-index:1}#screen-daily .reward{z-index:2}#screen-daily .wheel-light{z-index:3;width:9px;height:9px;background:#fff2a2;box-shadow:0 0 5px #fff3ad,0 0 15px #ffc43c}#screen-daily .wheel-hub{z-index:4;box-shadow:0 0 0 3px #050407,0 0 18px rgba(255,168,37,.28),inset 0 2px #fff3a4}#screen-daily .wheel-pointer{z-index:5;color:#fff9e9;text-shadow:none;filter:drop-shadow(0 3px 0 #050407) drop-shadow(0 0 7px rgba(255,231,167,.25))}

/* Полноэкранный Банк: квесты, встроенное колесо и скрываемая история. */
#screen-daily.active{min-height:0;display:block;padding-bottom:8px}#screen-daily .bank-heading{display:flex;align-items:center;justify-content:space-between;margin:7px 2px 10px}.bank-heading h1{margin:4px 0 0;font-size:23px}.bank-use-label{padding:6px 8px;border:1px solid #5e491b;border-radius:8px;background:#1c170e;color:var(--gold);font:900 7px system-ui;letter-spacing:.5px}.bank-balance-card{min-height:92px;padding:12px;display:grid;grid-template-columns:66px 1fr;align-items:center;gap:12px;border-color:#755315;background:radial-gradient(circle at 0 50%,rgba(255,188,43,.24),transparent 40%),radial-gradient(circle at 100% 0,rgba(255,125,36,.09),transparent 43%),#121116}.bank-vault-icon{width:64px;height:64px;display:grid;place-items:center;border:2px solid #090609;border-radius:18px;background:linear-gradient(#ffbc3e,#e96e1d);box-shadow:0 3px #4c1f08,inset 0 2px rgba(255,255,255,.42)}.bank-vault-icon .brawl-icon{width:47px;height:47px;filter:drop-shadow(0 3px rgba(77,27,5,.55))}.bank-balance-card>div:last-child{display:flex;flex-direction:column;min-width:0}.bank-balance-card span{color:#d2a541;font:900 8px system-ui;letter-spacing:.7px}.bank-balance-card b{margin:3px 0 2px;font-size:21px}.bank-balance-card b i{color:#ffd249;font-style:normal;font-variant-numeric:tabular-nums}.bank-balance-card small{max-width:245px;color:var(--muted);font:750 8px/1.35 system-ui}.bank-section-head{display:flex;align-items:center;justify-content:space-between;margin:15px 3px 7px}.bank-section-head span{font-size:12px}.bank-section-head small{color:var(--gold);font:850 8px system-ui}.bank-quest-list{display:flex;flex-direction:column;gap:7px}.bank-quest{min-height:79px;padding:9px;display:grid;grid-template-columns:43px minmax(0,1fr) auto;align-items:center;gap:9px;border:1.5px solid #3d3743;border-radius:14px;background:#121118;box-shadow:0 2px #050407}.bank-quest.completed{border-color:#6e5319;background:radial-gradient(circle at 0 50%,rgba(255,192,48,.12),transparent 38%),#121118}.bank-quest.claimed{border-color:#285a3d;background:radial-gradient(circle at 0 50%,rgba(91,226,151,.09),transparent 38%),#111817}.bank-quest-icon{width:41px;height:41px;display:grid;place-items:center;border:1.5px solid #403946;border-radius:12px;background:#1b1820}.bank-quest-icon .brawl-icon{width:31px;height:31px}.bank-quest-copy{min-width:0;display:flex;flex-direction:column}.bank-quest-copy>b{font-size:11px}.bank-quest-copy>small{margin-top:2px;color:var(--muted);font:750 8px system-ui}.bank-quest-progress{height:5px;margin-top:6px;overflow:hidden;border:1px solid #08070b;border-radius:7px;background:#09080c}.bank-quest-progress i{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#fd8b2c,#ffd34c)}.bank-quest-progress-label{display:flex;justify-content:space-between;margin-top:3px;color:#817a86;font:800 7px system-ui}.bank-quest-reward{display:flex;flex-direction:column;align-items:flex-end;gap:5px}.bank-quest-reward>span{display:flex;align-items:center;gap:3px;color:#ffd34b;font-size:11px}.bank-quest-reward .brawl-icon{width:16px;height:16px}.bank-claim{min-width:70px;min-height:31px;padding:6px 8px;border:1px solid #6b310d;border-radius:9px;background:linear-gradient(#ffb13a,#eb6a1e);color:#fff;font:900 8px system-ui;box-shadow:0 2px #4c1d06;cursor:pointer}.bank-claim:disabled{border-color:#403a44;background:#211e25;box-shadow:none;color:#77717c;cursor:default}.bank-claim.ready{animation:claimGlow 1.5s ease-in-out infinite}@keyframes claimGlow{50%{filter:brightness(1.18);box-shadow:0 2px #4c1d06,0 0 11px rgba(255,183,49,.35)}}.bank-wheel-card{margin-top:12px;padding:12px;border-color:#4f405e;background:radial-gradient(circle at 50% 54%,rgba(142,98,245,.1),transparent 46%),#111017}.bank-wheel-copy{text-align:center}.bank-wheel-copy h2{margin:3px 0 2px;font-size:17px}.bank-wheel-copy p{margin:0;color:var(--muted);font:750 8px system-ui}.bank-wheel-card .wheel-stage{height:246px;margin:2px 0 0;overflow:visible}.bank-wheel-card .wheel-stage:before{width:202px;height:202px;border-width:12px}.bank-wheel-card .wheel-stage:after{width:250px;height:250px}.bank-wheel-card .wheel{width:178px;height:178px;border-width:4px}.bank-wheel-card .wheel-pointer{top:15px;font-size:25px}.bank-wheel-card .wheel-hub{width:52px;height:52px;border-width:3px}.bank-wheel-card .wheel-hub .brawl-icon{width:38px;height:38px}.bank-wheel-card .reward{width:36px;margin-left:-18px;margin-top:-19px}.bank-wheel-card .reward .brawl-icon{width:18px;height:18px}.bank-wheel-card .reward b{font-size:10px}.bank-wheel-card .r1{transform:rotate(30deg) translateY(-62px) rotate(-30deg)}.bank-wheel-card .r2{transform:rotate(90deg) translateY(-62px) rotate(-90deg)}.bank-wheel-card .r3{transform:rotate(150deg) translateY(-62px) rotate(-150deg)}.bank-wheel-card .r4{transform:rotate(210deg) translateY(-62px) rotate(-210deg)}.bank-wheel-card .r5{transform:rotate(270deg) translateY(-62px) rotate(-270deg)}.bank-wheel-card .r6{transform:rotate(330deg) translateY(-62px) rotate(-330deg)}.bank-wheel-card .l1{top:42px;left:79px}.bank-wheel-card .l2{top:42px;right:79px}.bank-wheel-card .l3{bottom:39px;left:79px}.bank-wheel-card .l4{bottom:39px;right:79px}.bank-wheel-card .daily-actions{width:100%;margin:0}.bank-wheel-card #spinButton{min-height:45px;padding:10px;font-size:13px}.bank-history{margin-top:12px;padding:0;overflow:hidden;background:#111017}.bank-history summary{min-height:59px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none}.bank-history summary::-webkit-details-marker{display:none}.bank-history summary>span{display:flex;align-items:center;gap:8px}.bank-history summary .brawl-icon{width:24px;height:24px;color:#a878ff}.bank-history summary b{font-size:11px}.bank-history summary small{color:var(--muted);font:800 8px system-ui}.bank-history summary:after{content:"⌄";margin-left:7px;color:#918a96;font-size:16px;transition:.18s}.bank-history[open] summary:after{transform:rotate(180deg)}.bank-history-list{padding:0 10px 10px}.bank-history-row{min-height:50px;padding:8px 4px;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:8px;border-top:1px solid rgba(255,255,255,.07)}.bank-history-row>span{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:#1d1922}.bank-history-row .brawl-icon{width:22px;height:22px}.bank-history-row>div{display:flex;flex-direction:column}.bank-history-row b{font-size:9px}.bank-history-row small{margin-top:2px;color:var(--muted);font:750 7px system-ui}.bank-history-row>strong{color:#65e398;font-size:11px}.bank-history-empty{padding:14px 4px;border-top:1px solid rgba(255,255,255,.07);color:var(--muted);text-align:center;font:750 8px system-ui}
#screen-daily .daily-actions{width:min(76%,300px);align-self:center}#screen-daily #spinButton{min-height:55px;border-radius:17px}#screen-daily #spinButton.countdown:disabled{border-color:#554a67;background:linear-gradient(180deg,rgba(44,39,54,.98),rgba(20,18,26,.98));box-shadow:0 7px 18px rgba(0,0,0,.3),0 0 0 1px rgba(159,116,255,.06),inset 0 1px rgba(255,255,255,.12);text-shadow:0 2px #08070b}#screen-daily .countdown .action-icon{width:29px;height:29px;padding:5px;border:1px solid rgba(179,146,255,.24);border-radius:50%;background:rgba(144,96,255,.12);filter:drop-shadow(0 0 7px rgba(155,112,255,.34))}#screen-daily .daily-countdown{font-size:17px;letter-spacing:1.55px;color:#ffd65a}
.metric-grid article:before{content:"";position:absolute;width:68px;height:68px;right:-24px;top:-20px;border-radius:50%;background:rgba(255,255,255,.035);pointer-events:none}.metric-grid .metric-league{border-color:#66501c;background:radial-gradient(circle at 100% 38%,rgba(255,196,48,.15),transparent 46%),#131219}.metric-grid .metric-solo{border-color:#3f4931;background:radial-gradient(circle at 100% 38%,rgba(180,224,53,.12),transparent 46%),#131219}.metric-grid .metric-team{border-color:#493d68;background:radial-gradient(circle at 100% 38%,rgba(145,100,255,.14),transparent 46%),#131219}.metric-grid .growth-bronze{border-color:#593b25;background:radial-gradient(circle at 100% 38%,rgba(223,113,39,.16),transparent 48%),#131219}.metric-grid .growth-silver{border-color:#344c5b;background:radial-gradient(circle at 100% 38%,rgba(91,197,233,.14),transparent 48%),#131219}.metric-grid .growth-gold{border-color:#67511c;background:radial-gradient(circle at 100% 38%,rgba(255,196,48,.19),transparent 48%),#131219}.growth-gold .metric-icon{width:47px;height:47px}.growth-gold .metric-icon .brawl-icon{width:46px;height:46px}.metric-icon-league img{filter:drop-shadow(0 3px 1px rgba(0,0,0,.72))}.metric-icon-solo img{filter:drop-shadow(0 3px 1px rgba(0,0,0,.72))}.screen.active .metric-grid .metric-icon{animation:metricIconIn .42s cubic-bezier(.2,.82,.2,1.15) both}.screen.active .metric-grid article:nth-child(2) .metric-icon{animation-delay:.04s}.screen.active .metric-grid article:nth-child(3) .metric-icon{animation-delay:.08s}.screen.active .metric-grid article:nth-child(4) .metric-icon{animation-delay:.12s}.screen.active .metric-grid article:nth-child(5) .metric-icon{animation-delay:.16s}.screen.active .metric-grid article:nth-child(6) .metric-icon{animation-delay:.2s}@keyframes metricIconIn{from{opacity:0;transform:translateY(5px) scale(.78)}to{opacity:1;transform:none}}
@media (max-width:365px){.metric-grid article{grid-template-columns:minmax(0,1fr) 39px;padding-right:5px}.metric-icon{width:39px;height:39px}.metric-icon .brawl-icon{width:38px;height:38px}.metric-icon-league{width:41px;height:41px}.metric-icon-solo{width:37px;height:37px}.growth-gold .metric-icon,.growth-gold .metric-icon .brawl-icon{width:41px;height:41px}}
.admin-button.active{border-color:#827d8a;background:#24212a;box-shadow:0 0 0 1px rgba(255,255,255,.08),0 2px #050407}
.admin-hero{display:grid;grid-template-columns:56px 1fr auto;gap:11px;align-items:center;padding:13px;background:radial-gradient(circle at 0 20%,rgba(166,160,174,.18),transparent 36%),radial-gradient(circle at 100% 0,rgba(255,191,54,.12),transparent 40%),#121118}
.admin-hero-icon{width:54px;height:54px;display:grid;place-items:center;border:1.5px solid #46414c;border-radius:15px;background:linear-gradient(#2c2931,#17151b);box-shadow:0 3px #050407,inset 0 1px rgba(255,255,255,.08)}
.admin-hero-icon .brawl-icon{width:37px;height:37px;filter:drop-shadow(0 2px rgba(0,0,0,.68))}
.admin-hero-copy{min-width:0}.admin-hero-copy h1{font-size:21px;line-height:1;margin:4px 0;text-shadow:0 2px #000}.admin-hero-copy p{margin:0;color:var(--muted);font:750 9px/1.35 system-ui}
.admin-role{padding:6px 7px;border:1px solid #5c5663;border-radius:8px;background:#24212a;color:#d7d2dc;font:900 7px system-ui;letter-spacing:.7px}
.admin-attention{width:100%;margin-top:11px;padding:10px;display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:9px;border-width:1.5px;border-color:#68511b;background:radial-gradient(circle at 0 50%,rgba(255,191,49,.18),transparent 42%),#121118;text-align:left;cursor:pointer}
.admin-attention-icon{width:34px;height:34px;display:grid;place-items:center;border:2px solid #6a2b0b;border-radius:10px;background:linear-gradient(#ffbc37,#ee711f);box-shadow:0 2px #321104;color:#fff;font-size:15px;text-shadow:0 2px #8a320f}
.admin-attention>span:nth-child(2){display:flex;flex-direction:column}.admin-attention b{font-size:11px}.admin-attention small{margin-top:2px;color:var(--muted);font:750 8px system-ui}.admin-attention i{color:#918a98;font-size:21px;font-style:normal}
.admin-section-title{margin-top:15px}
.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.admin-card{min-height:126px;padding:10px;position:relative;overflow:hidden;display:grid;grid-template-columns:43px 1fr;grid-template-rows:45px 1fr;gap:7px;border:1.5px solid #3a3540;border-radius:16px;background:#121118;box-shadow:0 3px #050407,inset 0 1px rgba(255,255,255,.04);color:#fff;text-align:left;cursor:pointer}
.admin-card:after{content:"";position:absolute;width:95px;height:95px;right:-54px;bottom:-58px;border-radius:50%;background:currentColor;opacity:.08}
.admin-card.tournaments{color:#ffc33c;border-color:#66501a;background:radial-gradient(circle at 0 0,rgba(255,190,45,.16),transparent 50%),#121118}.admin-card.activity{color:#ff8c32;border-color:#67401e;background:radial-gradient(circle at 0 0,rgba(255,126,36,.14),transparent 50%),#121118}.admin-card.clubs{color:#9a79ff;border-color:#514270;background:radial-gradient(circle at 0 0,rgba(145,105,255,.16),transparent 50%),#121118}.admin-card.messages{color:#45c8f5;border-color:#28586c;background:radial-gradient(circle at 0 0,rgba(50,183,231,.14),transparent 50%),#121118}
.admin-card-icon{width:42px;height:42px;display:grid;place-items:center;border:1.5px solid #09080c;border-radius:12px;background:#1b1820;box-shadow:0 2px #050407}.admin-card-icon .brawl-icon{width:30px;height:30px}.admin-card.tournaments .admin-card-icon .brawl-icon{width:34px;height:34px}.admin-card-copy{grid-column:1/-1;display:flex;flex-direction:column;align-self:end}.admin-card-copy small{color:currentColor;font:900 7px system-ui;letter-spacing:.7px}.admin-card-copy b{margin:2px 0;font-size:14px;color:#fff}.admin-card-copy i{color:#9d96a5;font:750 8px system-ui;font-style:normal}.admin-card>strong{position:relative;z-index:1;justify-self:end;align-self:start;padding:5px 6px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#0e0d12;color:#fff;font-size:10px}.admin-card>strong.warning{color:#ff8b68}
.admin-log{padding:2px 11px;border-width:1.5px;background:#121118}.admin-log>div{min-height:52px;display:flex;align-items:center;gap:9px;border-bottom:1px solid rgba(255,255,255,.07)}.admin-log>div:last-child{border-bottom:0}.admin-log-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#1d1923}.admin-log-icon .brawl-icon{width:23px;height:23px}.admin-log-icon.purple{background:#281d42}.admin-log-icon.green{background:#173829}.admin-log-icon.blue{background:#142e3c}.admin-log p{margin:0;display:flex;flex-direction:column}.admin-log b{font-size:10px}.admin-log small{margin-top:2px;color:var(--muted);font:750 8px system-ui}
.admin-system{width:100%;margin-top:10px;padding:10px 11px;display:grid;grid-template-columns:31px 1fr auto;align-items:center;gap:9px;border-width:1.5px;background:#111118;text-align:left;cursor:pointer}.admin-system>.brawl-icon{width:24px;height:24px;color:#8b8691}.admin-system>span{display:flex;flex-direction:column}.admin-system b{font-size:10px}.admin-system small{margin-top:2px;color:var(--muted);font:750 8px system-ui}.admin-system i{color:#77717e;font-size:20px;font-style:normal}
.admin-card.checks{color:#ff765f;border-color:#70352f;background:radial-gradient(circle at 0 0,rgba(255,102,86,.16),transparent 50%),#121118}
.admin-card.journal{color:#69a7ff;border-color:#344c72;background:radial-gradient(circle at 0 0,rgba(82,143,239,.15),transparent 50%),#121118}
.admin-stats-tabs{margin:8px 0 10px;padding:3px;display:grid;grid-template-columns:1fr 1fr;gap:3px;border:1.5px solid #3b3542;border-radius:12px;background:#0e0d12}.admin-stats-tabs[hidden]{display:none}.admin-stats-tabs button{min-height:36px;border:0;border-radius:9px;background:transparent;color:#8f8797;font:900 8px system-ui;cursor:pointer}.admin-stats-tabs button.active{background:linear-gradient(145deg,#29446c,#1d2c47);color:#fff;box-shadow:inset 0 0 0 1px #44689b,0 2px #07080b}.admin-stats-tabs button[data-admin-stats-section="tournaments"].active{background:linear-gradient(145deg,#674817,#352711);box-shadow:inset 0 0 0 1px #8a641f,0 2px #07080b;color:#ffd15b}
.admin-card.settings{color:#aaa5b0;border-color:#4a4650;background:radial-gradient(circle at 0 0,rgba(180,176,187,.1),transparent 50%),#121118}
.admin-section-title{margin:3px 3px 9px}
.admin-grid{grid-template-columns:1fr;gap:8px}
.admin-card{min-height:78px;padding:9px 10px;grid-template-columns:48px minmax(0,1fr) auto;grid-template-rows:1fr;align-items:center;gap:10px}
.admin-card:after{width:82px;height:82px;right:-48px;bottom:-50px}
.admin-card-icon{width:47px;height:47px;border-radius:13px}
.admin-card-icon .brawl-icon{width:31px;height:31px}.admin-card.tournaments .admin-card-icon .brawl-icon{width:35px;height:35px}
.admin-card-copy{grid-column:auto;align-self:center;min-width:0}
.admin-card-copy small{font-size:7px}.admin-card-copy b{margin:2px 0;font-size:15px}.admin-card-copy i{font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-card>strong{justify-self:end;align-self:center;min-width:31px;text-align:center;padding:6px 7px}
.admin-tournaments-heading{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:9px;margin:0 2px 12px}.admin-tournaments-heading .count-pill{align-self:center;color:#aaa4af}.admin-heading-back{position:relative;width:40px;height:40px;min-width:40px;min-height:40px;align-self:center;display:grid;place-items:center;padding:0;border:1.5px solid #37323d;border-radius:11px;background:linear-gradient(180deg,#19171e,#111015);box-shadow:0 2px #050407,inset 0 1px rgba(255,255,255,.05);color:#aaa3b0;font:1000 25px/1 Arial,sans-serif;cursor:pointer;transition:border-color .15s ease,color .15s ease,background .15s ease}.admin-heading-back:hover{border-color:#62596b;background:#201d25;color:#fff}.admin-heading-back:active{transform:translateY(1px);box-shadow:0 1px #050407}.admin-heading-back:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.admin-empty-tournaments{margin-top:12px;padding:24px 18px 19px;display:flex;flex-direction:column;align-items:center;text-align:center;border-color:#55431b;background:radial-gradient(circle at 50% 0,rgba(255,190,47,.18),transparent 52%),#121118}
.admin-empty-icon{width:76px;height:76px;display:grid;place-items:center;border:1.5px solid #654b17;border-radius:20px;background:radial-gradient(circle at 50% 40%,rgba(255,194,48,.18),transparent 58%),#18151a;box-shadow:0 4px #050407}.admin-empty-icon .brawl-icon{width:61px;height:61px;filter:drop-shadow(0 4px rgba(0,0,0,.68))}
.admin-empty-tournaments h2{margin:15px 0 5px;font-size:20px;text-shadow:0 2px #000}.admin-empty-tournaments p{max-width:315px;margin:0;color:var(--muted);font:750 10px/1.45 system-ui}.admin-empty-tournaments .primary-action{margin-top:17px}
.admin-create-row{width:100%;margin:11px 0;padding:9px 10px;display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:9px;border-width:1.5px;border-color:#5b481b;background:radial-gradient(circle at 0 50%,rgba(255,191,49,.16),transparent 40%),#121118;text-align:left;cursor:pointer}.admin-create-row>span{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(#ffb73c,#ee711f);color:#fff;box-shadow:0 2px #4a1b08}.admin-create-row .brawl-icon{width:22px;height:22px}.admin-create-row>div{display:flex;flex-direction:column}.admin-create-row b{font-size:11px}.admin-create-row small{margin-top:2px;color:var(--muted);font:750 8px system-ui}.admin-create-row i{color:#87818d;font-size:20px;font-style:normal}
.admin-tournament-list{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}.admin-tournament-item{width:100%;min-height:80px;padding:9px;display:grid;grid-template-columns:51px 1fr auto;align-items:center;gap:9px;border:1.5px solid #4b424f;border-radius:15px;background:#121118;box-shadow:0 3px #050407;text-align:left;cursor:pointer}.admin-tournament-item>img{width:49px;height:49px;object-fit:contain;filter:drop-shadow(0 3px rgba(0,0,0,.7))}.admin-tournament-item>span{display:flex;flex-direction:column;min-width:0}.admin-tournament-item small{color:var(--gold);font:900 7px system-ui;letter-spacing:.5px}.admin-tournament-item b{margin:2px 0;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-tournament-item i{color:var(--muted);font:750 8px system-ui;font-style:normal}.admin-tournament-item>strong{padding:6px;border:1px solid #49424f;border-radius:8px;background:#0d0c11;color:#bbb4c0;font-size:8px}.admin-tournament-item>strong.open{color:#65e397;border-color:#245838}.admin-tournament-item>strong.closed{color:#ff8c72;border-color:#663529}
.admin-form{margin-top:12px;padding:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border-width:1.5px;background:#121118}.admin-form label{display:flex;flex-direction:column;gap:5px}.admin-form .wide{grid-column:1/-1}.admin-form label>span{color:#aaa3b0;font:900 8px system-ui}.admin-form input,.admin-form select,.admin-form textarea,.admin-tool-input,.admin-tool-select,.admin-tool-textarea{width:100%;min-height:41px;padding:9px 10px;border:1.5px solid #403a45;border-radius:10px;outline:none;background:#0d0c11;color:#fff;font:800 11px system-ui}.admin-form textarea{resize:vertical;line-height:1.45}.admin-form input:focus,.admin-form select:focus,.admin-form textarea:focus,.admin-tool-input:focus,.admin-tool-select:focus,.admin-tool-textarea:focus{border-color:#a47727;box-shadow:0 0 0 2px rgba(255,191,54,.08)}.admin-form-actions{display:flex;flex-direction:column;gap:8px;margin-top:3px}.secondary-action{width:100%;padding:11px;border:1.5px solid #47414b;border-radius:12px;background:#1a171e;color:#bcb5c1;cursor:pointer}.admin-form-error{grid-column:1/-1;color:#ff8173;font:800 9px system-ui}
.admin-cap-field{display:flex;flex-direction:column;gap:5px}.admin-cap-field>span{color:#aaa3b0;font:900 8px system-ui}.admin-form .admin-cap-unlimited{min-height:19px;display:flex;flex-direction:row;align-items:center;gap:6px;color:#aaa3b0;font:850 8px system-ui;cursor:pointer}.admin-form .admin-cap-unlimited input{width:15px;height:15px;min-height:15px;margin:0;padding:0;accent-color:#ffb52e}.admin-cap-field.is-unlimited>input[type="number"]{opacity:.45}
.admin-brawler-pool{min-width:0;margin:2px 0 0;padding:10px;border:1.5px solid #403a45;border-radius:12px}.admin-brawler-pool legend{padding:0 5px;color:#aaa3b0;font:900 8px system-ui}.admin-brawler-pool-head{margin-bottom:8px;display:flex;align-items:center;justify-content:space-between;gap:8px}.admin-brawler-pool-head small{color:#7f7887;font:750 7px/1.35 system-ui}.admin-brawler-pool-head b{flex:0 0 auto;color:var(--gold);font:900 8px system-ui}.admin-brawler-picker{max-height:310px;padding:5px;overflow-y:auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;border-radius:10px;background:#0b0a0e}.admin-brawler-option{min-width:0;padding:3px 2px 5px;border:1.5px solid transparent;border-radius:9px;background:#17141b;color:#8f8795;cursor:pointer;filter:grayscale(.85);opacity:.55;transition:.14s}.admin-brawler-option img{width:100%;aspect-ratio:1;display:block;object-fit:contain}.admin-brawler-option span{display:block;overflow:hidden;color:inherit;font:800 6px/1 system-ui;text-overflow:ellipsis;white-space:nowrap}.admin-brawler-option.selected{border-color:#ffb52f;background:#2b2110;color:#ffd05a;filter:none;opacity:1;box-shadow:0 0 0 2px rgba(255,181,47,.08)}.admin-brawler-option:active{transform:scale(.94)}
.admin-manage-hero{display:grid;grid-template-columns:59px 1fr auto;align-items:center;gap:10px;padding:12px;border-width:1.5px;background:radial-gradient(circle at 0 40%,rgba(255,192,49,.13),transparent 40%),#121118}.admin-manage-hero h1{margin:3px 0;font-size:19px}.admin-manage-hero p{margin:0;color:var(--muted);font:750 9px system-ui}.admin-manage-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}.admin-manage-stats article{min-height:62px;padding:9px;border:1.5px solid #3d3743;border-radius:12px;background:#121118;display:flex;flex-direction:column;justify-content:center}.admin-manage-stats span{color:var(--muted);font:800 7px system-ui}.admin-manage-stats b{margin-top:3px;font-size:15px}.admin-manage-actions{display:flex;flex-direction:column;gap:7px}.admin-manage-actions button{width:100%;min-height:58px;padding:8px 10px;display:grid;grid-template-columns:35px 1fr;align-items:center;gap:9px;border:1.5px solid #3e3844;border-radius:13px;background:#121118;color:#fff;text-align:left;cursor:pointer}.admin-manage-actions button>.brawl-icon{width:29px;height:29px}.admin-manage-actions button>span{display:flex;flex-direction:column}.admin-manage-actions button b{font-size:10px}.admin-manage-actions button small{margin-top:2px;color:var(--muted);font:750 8px system-ui}.admin-manage-actions button.danger{border-color:#65322d;background:#1b1113;color:#ff806f}.admin-manage-actions button:disabled{opacity:.45;cursor:not-allowed}.admin-generated-lobbies{display:flex;flex-direction:column;gap:7px}.generated-lobby{padding:10px;border:1.5px solid #403a46;border-radius:12px;background:#121118}.generated-lobby b{display:block;font-size:11px}.generated-lobby small{display:block;margin-top:3px;color:var(--muted);font:750 8px system-ui}.generated-lobby.final{border-color:#6b531b;background:radial-gradient(circle at 0 50%,rgba(255,191,49,.12),transparent 45%),#121118}
.admin-tool-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:11px 0}.admin-tool-summary article{min-height:62px;padding:8px;border:1.5px solid #3b3541;border-radius:12px;background:#121118;display:flex;flex-direction:column;justify-content:center}.admin-tool-summary span{color:var(--muted);font:800 7px system-ui}.admin-tool-summary b{margin-top:3px;font-size:15px}.admin-tool-list{display:flex;flex-direction:column;gap:7px}.admin-tool-row{min-height:64px;padding:9px 10px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:9px;border:1.5px solid #3d3743;border-radius:13px;background:#121118}.admin-tool-row>div{display:flex;flex-direction:column}.admin-tool-row b{font-size:10px}.admin-tool-row small{margin-top:3px;color:var(--muted);font:750 8px/1.3 system-ui}.admin-tool-row button,.admin-tool-button{padding:7px 9px;border:1px solid #554927;border-radius:9px;background:#211c14;color:var(--gold);font:900 8px system-ui;cursor:pointer}.admin-tool-row button.done{border-color:#27563b;background:#14231b;color:#67df99}.admin-tool-card{margin-top:11px;padding:12px;border-width:1.5px;background:#121118}.admin-tool-card h2{margin:0 0 9px;font-size:14px}.admin-tool-card label{display:flex;flex-direction:column;gap:5px;margin-top:9px;color:#aaa3b0;font:900 8px system-ui}.admin-tool-textarea{min-height:112px;resize:vertical}.admin-tool-card .primary-action{margin-top:12px}.admin-preview-message{margin-top:10px;padding:11px;border:1px dashed #4c4552;border-radius:11px;background:#0d0c11;color:#d2cbd7;font:750 9px/1.45 system-ui;white-space:pre-wrap}.admin-message-target{min-height:58px;padding:9px 10px;display:grid;grid-template-columns:36px 1fr;align-items:center;gap:9px;border:1.5px solid #28516a;border-radius:12px;background:radial-gradient(circle at 0 50%,rgba(50,174,225,.12),transparent 43%),#0d0c11}.admin-message-target>.brawl-icon{width:30px;height:30px}.admin-message-target>span{display:flex;flex-direction:column}.admin-message-target b{font-size:10px}.admin-message-target small{margin-top:2px;color:var(--muted);font:750 8px system-ui}.admin-tool-card label.admin-message-option{min-height:56px;padding:9px 10px;display:grid;grid-template-columns:22px 1fr;align-items:center;gap:8px;border:1px solid #403a45;border-radius:11px;background:#0d0c11;cursor:pointer}.admin-message-option input{width:18px;height:18px;margin:0;accent-color:#ffad2f}.admin-message-option span{display:flex;flex-direction:column}.admin-message-option b{color:#e5dfe8;font-size:9px}.admin-message-option small{margin-top:2px;color:var(--muted);font:750 7px/1.3 system-ui}.admin-message-note{margin-top:9px;padding:9px 10px;border:1px solid #5b481b;border-radius:10px;background:#1b1710;color:#d3b878;font:750 8px/1.4 system-ui}.admin-toggle-row{min-height:58px;padding:9px 10px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.07)}.admin-toggle-row:last-child{border-bottom:0}.admin-toggle-row>span{display:flex;flex-direction:column}.admin-toggle-row b{font-size:10px}.admin-toggle-row small{margin-top:2px;color:var(--muted);font:750 8px system-ui}.admin-switch{width:43px;height:24px;padding:2px;border:1px solid #49434e;border-radius:20px;background:#24202a;cursor:pointer}.admin-switch i{display:block;width:18px;height:18px;border-radius:50%;background:#827b88;transition:.18s}.admin-switch.on{background:#1d593b;border-color:#327b55}.admin-switch.on i{transform:translateX(18px);background:#64e29a}.admin-api-state{display:flex;align-items:center;gap:7px;color:#64df98;font:900 9px system-ui}.admin-api-state:before{content:"";width:9px;height:9px;border-radius:50%;background:#64df98;box-shadow:0 0 8px rgba(100,223,152,.6)}
.admin-visit-toolbar{margin:9px 0 0;display:flex;align-items:center;justify-content:space-between;gap:8px}.admin-visit-toolbar span{color:#827a89;font:750 7px/1.3 system-ui}.admin-visit-toolbar button{min-height:32px;padding:6px 9px;border:1px solid #554927;border-radius:8px;background:#211c14;color:var(--gold);font:900 7px system-ui;cursor:pointer}.admin-visit-demo{margin-top:9px;padding:8px 9px;border:1px solid #554927;border-radius:10px;background:#1b1710;color:#cfb777;font:750 7px/1.35 system-ui}.admin-tool-summary.admin-visit-summary{grid-template-columns:repeat(4,1fr)}.admin-visit-section{margin:14px 2px 7px;color:#99919f;font:900 7px/1 system-ui;letter-spacing:.75px}.admin-visit-feed{padding:3px 10px;border:1.5px solid #39333e;border-radius:12px;background:#111118}.admin-visit-feed>div{min-height:43px;display:grid;grid-template-columns:8px 1fr;align-items:center;gap:8px;border-bottom:1px solid rgba(255,255,255,.06)}.admin-visit-feed>div:last-child{border-bottom:0}.admin-visit-feed>div>i{width:7px;height:7px;border-radius:50%;background:#64df98;box-shadow:0 0 7px rgba(100,223,152,.45)}.admin-visit-feed span{display:flex;justify-content:space-between;align-items:center;gap:8px}.admin-visit-feed b{font-size:8px}.admin-visit-feed small{color:var(--muted);font:750 7px system-ui}.admin-visitor-list,.admin-visit-events{display:flex;flex-direction:column;gap:7px}.admin-visitor-row{width:100%;min-height:62px;padding:8px 9px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:8px;border:1.5px solid #3d3743;border-radius:13px;background:#121118;color:#fff;text-align:left;cursor:pointer}.admin-visitor-row>span,.admin-visitor-detail header>span{width:36px;height:36px;display:grid;place-items:center;border:1.5px solid #52445d;border-radius:10px;background:linear-gradient(145deg,#6e538c,#34243f);font-size:15px}.admin-visitor-row>div{min-width:0;display:flex;flex-direction:column}.admin-visitor-row b{font-size:9px}.admin-visitor-row div small{margin-top:3px;color:var(--muted);font:750 7px/1.25 system-ui;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-visitor-row>strong{display:flex;flex-direction:column;align-items:flex-end;color:#ffca43;font-size:12px}.admin-visitor-row>strong small{margin-top:2px;color:#8f8795;font:750 6px system-ui}.admin-visit-event{padding:9px 10px;border:1.5px solid #3d3743;border-radius:12px;background:#121118}.admin-visit-event>div{display:flex;justify-content:space-between;gap:8px}.admin-visit-event>div b{font-size:8px}.admin-visit-event>div strong{color:#a987ff;font-size:10px}.admin-visit-event>i{display:block;height:4px;margin-top:7px;overflow:hidden;border-radius:999px;background:#24202a}.admin-visit-event>i span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7049db,#a987ff)}.admin-visit-event>small{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px}.admin-visit-event>small span{padding:4px 5px;border-radius:6px;background:#211b29;color:#aea4b4;font:750 6px system-ui}.admin-visit-event>small b{color:#d5c1ff}.admin-visit-loading{display:flex;flex-direction:column;gap:7px;margin-top:11px}.admin-visit-loading i{height:58px;border-radius:12px;background:linear-gradient(90deg,#121118,#211c25,#121118);background-size:220% 100%;animation:visitLoading 1.1s linear infinite}@keyframes visitLoading{to{background-position:-220% 0}}.admin-visit-error p,.admin-visit-error-inline{color:#d29087;font:750 8px/1.4 system-ui}.admin-visit-back{margin-bottom:8px}.admin-visitor-detail{padding:11px;border-width:1.5px;background:#121118}.admin-visitor-detail header{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:8px}.admin-visitor-detail header>div{display:flex;flex-direction:column}.admin-visitor-detail header b{font-size:10px}.admin-visitor-detail header div small{margin-top:2px;color:var(--muted);font:750 7px system-ui}.admin-visitor-detail header>strong{display:flex;flex-direction:column;align-items:flex-end;color:#ffcb49;font-size:14px}.admin-visitor-detail header>strong small{color:#8f8795;font:750 6px system-ui}.admin-visitor-detail>p{margin:9px 0 0;color:#a89fab;font:750 7px system-ui}
.tournament-empty-public{position:relative;min-height:clamp(330px,56dvh,470px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.tournament-empty-public:before{content:"";position:absolute;width:230px;height:180px;background:radial-gradient(ellipse,rgba(126,104,159,.025),rgba(161,128,101,.012) 44%,transparent 70%);filter:blur(18px)}.tournament-empty-trophy{position:relative;width:104px;height:104px;margin-top:-34px;overflow:visible;filter:drop-shadow(0 0 7px rgba(126,104,159,.045))}.tournament-empty-trophy path{fill:none;stroke:url(#tournament-empty-neon-public);stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round;opacity:.56}.tournament-empty-public h2{position:relative;margin:12px 0 0;color:rgba(199,193,211,.38);font:950 21px/.88 system-ui;letter-spacing:-.4px;text-shadow:none}
.star-button{transition:filter .16s,opacity .16s,transform .16s}.star-button:not(.active){filter:grayscale(1);opacity:.42}.star-button:active{transform:scale(.9)}button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #ffd24b;outline-offset:2px}
.join-button:disabled{filter:grayscale(.75);opacity:.65;cursor:not-allowed}.admin-api-state.offline{color:#ff8875}.admin-api-state.offline:before{background:#ff6f5c;box-shadow:0 0 8px rgba(255,111,92,.5)}

/* Tournament rounds, review and lobby editor. */
.admin-form input[type="number"]{font-variant-numeric:tabular-nums}.admin-form input[type="number"]::-webkit-inner-spin-button{opacity:.55}
.admin-form label>small{color:#7f7887;font:750 7px/1.35 system-ui}
.admin-tournament-review{display:flex;flex-direction:column;gap:8px}.review-empty{min-height:68px;padding:10px 11px;display:grid;grid-template-columns:37px 1fr;align-items:center;gap:10px;border-color:#3d4f46;background:radial-gradient(circle at 0 50%,rgba(80,222,145,.09),transparent 46%),#111118}.review-empty>.brawl-icon{width:31px;height:31px}.review-empty>div{display:flex;flex-direction:column}.review-empty b{font-size:10px}.review-empty small{margin-top:3px;color:var(--muted);font:750 8px/1.35 system-ui}
.review-card,.review-duel,.duel-card{padding:10px;border:1.5px solid #534522;border-radius:14px;background:radial-gradient(circle at 0 0,rgba(255,191,54,.11),transparent 44%),#111118;box-shadow:0 2px #050407}.review-card-head,.review-duel-head,.duel-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.review-card-head b,.review-duel-head b,.duel-card>header b{font-size:10px}.review-status,.duel-status{padding:5px 7px;border:1px solid #5d4a1d;border-radius:7px;background:#211b11;color:var(--gold);font:900 7px system-ui;letter-spacing:.5px}.review-players,.duel-players{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:7px}.review-player,.duel-player{min-width:0;padding:8px;border:1px solid #3e3843;border-radius:10px;background:#0d0c11;display:flex;flex-direction:column}.review-player b,.duel-player b{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.review-player small,.duel-player small{margin-top:2px;color:var(--muted);font:750 7px system-ui}.review-versus,.duel-versus{color:#ff7b59;font:1000 9px system-ui;text-shadow:0 1px #000}.review-actions,.duel-actions{display:flex;gap:6px;margin-top:8px}.review-actions button,.duel-actions button{flex:1;min-height:34px;padding:7px;border:1px solid #4a424e;border-radius:9px;background:#1b1820;color:#d6cfd9;font:900 8px system-ui;cursor:pointer}.review-actions button.primary,.duel-actions button.primary{border-color:#6b5118;background:#2a2111;color:var(--gold)}
.outcast,.is-outcast,[data-state="outcast"]{border-color:#823c32!important;background:radial-gradient(circle at 0 50%,rgba(255,91,67,.16),transparent 48%),#1a1114!important}.outcast-badge,.outcast .review-status,.is-outcast .review-status,[data-state="outcast"] .review-status{display:inline-flex;align-items:center;justify-content:center;padding:5px 7px;border:1px solid #8a4035;border-radius:7px;background:#2a1416;color:#ff806c;font:1000 7px system-ui;letter-spacing:.75px;text-transform:uppercase}.outcast-badge:empty:before{content:"ИЗГОЙ"}

.admin-lobby-heading{margin-top:0}.admin-lobby-heading .count-pill{color:#ffcf49}.admin-lobby-room{padding:12px;border-color:#5a4820;background:radial-gradient(circle at 100% 0,rgba(255,191,49,.11),transparent 48%),#111118}.admin-lobby-room-copy{display:flex;flex-direction:column}.admin-lobby-room-copy>b{margin-top:4px;font-size:12px}.admin-lobby-room-copy small{margin-top:3px;color:var(--muted);font:750 8px/1.35 system-ui}.admin-lobby-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;margin-top:11px}.admin-lobby-code-row input{min-width:0;height:43px;padding:9px 11px;border:1.5px solid #584923;border-radius:10px;outline:none;background:#0b0a0e;color:#ffd052;font:1000 16px/1 system-ui;letter-spacing:2px;text-transform:uppercase}.admin-lobby-code-row input:focus{border-color:#d19024;box-shadow:0 0 0 2px rgba(255,191,54,.1)}.admin-lobby-code-row button{padding:0 12px;border:1.5px solid #704310;border-radius:10px;background:linear-gradient(#ffb63e,#e86c1f);box-shadow:0 3px #4a1a05;color:#fff;font:1000 9px system-ui;text-shadow:0 1px #843108;cursor:pointer}
.admin-lobby-code-row input{font-size:12px;letter-spacing:.35px;text-transform:none}.admin-lobby-code-row input:disabled,.admin-lobby-code-row button:disabled,.dq-player-button:disabled{opacity:.45;filter:grayscale(.75);cursor:not-allowed}
.admin-lobby-editor{padding:7px;border-color:#403a46;background:#101116}.admin-lobby-editor-empty{min-height:76px;padding:8px;display:grid;grid-template-columns:42px 1fr;align-items:center;gap:9px}.admin-lobby-editor-empty>.brawl-icon{width:36px;height:36px;opacity:.62}.admin-lobby-editor-empty>div{display:flex;flex-direction:column}.admin-lobby-editor-empty b{font-size:10px}.admin-lobby-editor-empty small{margin-top:3px;color:var(--muted);font:750 8px/1.35 system-ui}.admin-lobby-player-row,.admin-lobby-result-row,.lobby-result-row{min-height:57px;padding:7px;display:grid;grid-template-columns:27px minmax(0,1fr) 58px 58px;align-items:center;gap:6px;border-bottom:1px solid rgba(255,255,255,.07)}.admin-lobby-player-row:last-child,.admin-lobby-result-row:last-child,.lobby-result-row:last-child{border-bottom:0}.admin-lobby-player-row>strong,.admin-lobby-result-row>strong,.lobby-result-row>strong{width:25px;height:25px;display:grid;place-items:center;border:1px solid #443d48;border-radius:8px;background:#19161d;color:#aaa3af;font-size:9px}.admin-lobby-player,.lobby-result-player{min-width:0;display:flex;flex-direction:column}.admin-lobby-player b,.lobby-result-player b{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-lobby-player small,.lobby-result-player small{margin-top:2px;color:var(--muted);font:750 7px system-ui}.admin-lobby-player-row label,.admin-lobby-result-row label,.lobby-result-row label{display:flex;flex-direction:column;gap:3px;color:#85808a;font:900 6px system-ui;text-transform:uppercase}.admin-lobby-player-row input,.admin-lobby-result-row input,.lobby-result-row input{width:100%;height:32px;padding:5px;border:1px solid #403a44;border-radius:8px;background:#0b0a0e;color:#fff;text-align:center;font:900 10px system-ui}.admin-lobby-player-row input:focus,.admin-lobby-result-row input:focus,.lobby-result-row input:focus{border-color:#b47c23;outline:none}.admin-lobby-result-row.confirmed,.lobby-result-row.confirmed{background:rgba(74,216,136,.055)}
.admin-lobby-actions{display:flex;flex-direction:column;gap:7px;margin-top:10px}.lobby-action{width:100%;min-height:58px;padding:8px 10px;display:grid;grid-template-columns:35px 1fr;align-items:center;gap:9px;border:1.5px solid #403a46;border-radius:13px;background:#121118;color:#fff;text-align:left;cursor:pointer}.lobby-action>.brawl-icon{width:29px;height:29px}.lobby-action>span{display:flex;flex-direction:column}.lobby-action b{font-size:10px}.lobby-action small{margin-top:2px;color:var(--muted);font:750 8px system-ui}.lobby-action.start{border-color:#60491a;background:radial-gradient(circle at 0 50%,rgba(255,190,45,.12),transparent 42%),#121118}.lobby-action.results{border-color:#31536a;background:radial-gradient(circle at 0 50%,rgba(66,191,239,.1),transparent 42%),#121118}.lobby-action.confirm{border-color:#28583d;background:radial-gradient(circle at 0 50%,rgba(91,225,151,.11),transparent 42%),#121118}.lobby-action.replay{border-color:#63332d;color:#ff8c79;background:#1a1114}.lobby-action:disabled{opacity:.42;filter:grayscale(.65);cursor:not-allowed}
button.generated-lobby,.generated-lobby[data-open-lobby],.admin-lobby-button{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;color:#fff;text-align:left;cursor:pointer}.generated-lobby[data-open-lobby]:after,.admin-lobby-button:after{content:"›";grid-column:2;grid-row:1/3;color:#8b8490;font-size:20px}.generated-lobby[data-open-lobby]:active,.admin-lobby-button:active{transform:translateY(2px);filter:brightness(.92)}

.tournament-leaderboard{padding:6px 8px;border-color:#4a4029;background:radial-gradient(circle at 0 0,rgba(255,191,49,.08),transparent 40%),#111118}.leaderboard-empty{min-height:72px;display:grid;grid-template-columns:39px 1fr;align-items:center;gap:10px;padding:8px}.leaderboard-empty>.brawl-icon{width:34px;height:34px;opacity:.66}.leaderboard-empty>div{display:flex;flex-direction:column}.leaderboard-empty b{font-size:10px}.leaderboard-empty small{margin-top:3px;color:var(--muted);font:750 8px/1.35 system-ui}.leaderboard-row{min-height:53px;padding:6px 4px;display:grid;grid-template-columns:31px minmax(0,1fr) auto;align-items:center;gap:7px;border-bottom:1px solid rgba(255,255,255,.07)}.leaderboard-row:last-child{border-bottom:0}.leaderboard-rank{width:28px;height:28px;display:grid;place-items:center;border:1px solid #403a44;border-radius:8px;background:#18151c;color:#a49daa;font-size:10px}.leaderboard-row.is-prize:nth-child(1) .leaderboard-rank{border-color:#87651a;background:linear-gradient(#ffd45a,#e89122);color:#241400}.leaderboard-row.is-prize:nth-child(2) .leaderboard-rank{border-color:#63606a;background:linear-gradient(#d9d6dc,#89848e);color:#1c1920}.leaderboard-row.is-prize:nth-child(3) .leaderboard-rank{border-color:#71421f;background:linear-gradient(#da8a50,#8e4a26);color:#21100a}.leaderboard-player{min-width:0;display:flex;flex-direction:column}.leaderboard-player b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leaderboard-player small{margin-top:2px;color:var(--muted);font:750 7px system-ui}.leaderboard-points{text-align:right;display:flex;flex-direction:column}.leaderboard-points b{color:var(--gold);font-size:12px}.leaderboard-points small{color:var(--muted);font:800 7px system-ui}.leaderboard-row.is-current{margin:0 -3px;padding-left:7px;padding-right:7px;border:1px solid #176f9c;border-radius:10px;background:linear-gradient(145deg,#127eb2,#075374)}.leaderboard-row.is-current .leaderboard-player small,.leaderboard-row.is-current .leaderboard-points small{color:#c2e9f8}.score-kill-bonus{margin-top:6px;padding:7px 8px;display:flex;align-items:center;gap:7px;border:1px solid #51382d;border-radius:8px;background:#1d1313}.score-kill-bonus>.brawl-icon{width:22px;height:22px;color:#ff735d}.score-kill-bonus>span{display:flex;align-items:baseline;gap:5px}.score-kill-bonus b{color:#ff8a71;font-size:9px}.score-kill-bonus small{color:var(--muted);font:750 7px system-ui}

@media (max-width:365px){.club-card{grid-template-columns:49px 1fr}.club-score{grid-column:2;text-align:left}.screens{padding-left:9px;padding-right:9px}.bottom-nav b{font-size:7px}}
@media (max-width:365px){.tournament-list-card{min-height:108px;grid-template-columns:74px minmax(0,1fr) 61px;column-gap:7px;padding:9px 7px}.tournament-mode-art{width:72px;height:84px}.tournament-mode-art img{width:70px;height:70px}.tournament-event-mark{width:25px;height:25px;font-size:13px}.tournament-card-copy small{font-size:6.5px}.tournament-card-copy b{font-size:15px;margin:5px 0 6px}.tournament-card-copy i{font-size:7px;gap:4px}.tournament-card-copy i svg{width:12px;height:12px;flex-basis:12px}.tournament-card-side{padding-left:7px}.tournament-card-side em{font-size:6px}.tournament-card-side b{font-size:15px}.tournament-card-side small{font-size:6px}.tournament-card-arrow{right:5px;font-size:23px}}
.generated-round{display:flex;flex-direction:column;gap:6px}.generated-round h3{display:flex;align-items:center;justify-content:space-between;margin:7px 2px 1px;font-size:11px}.generated-round h3 small{color:var(--muted);font:800 7px system-ui}.generated-round button.generated-lobby{display:block;color:#fff;text-align:left;cursor:pointer}.generated-round button.generated-lobby.waiting{border-color:#4a434f}.generated-round button.generated-lobby.started{border-color:#765719;background:radial-gradient(circle at 0 50%,rgba(255,191,49,.1),transparent 44%),#121118}.generated-round button.generated-lobby.verified{border-color:#285b3e;background:radial-gradient(circle at 0 50%,rgba(95,226,154,.1),transparent 44%),#111918}
.admin-result-row{padding:8px 6px;display:grid;grid-template-columns:minmax(0,1fr) 77px 51px 59px;align-items:end;gap:6px;border-bottom:1px solid rgba(255,255,255,.07)}.admin-result-row:last-child{border-bottom:0}.result-player{min-width:0;align-self:center;display:flex;flex-direction:column}.result-player b{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.result-player small{margin-top:2px;color:var(--muted);font:750 7px system-ui}.admin-result-row label{display:flex;flex-direction:column;gap:3px}.admin-result-row label>span{color:#85808a;font:900 6px system-ui;text-transform:uppercase}.admin-result-row input,.admin-result-row select{width:100%;height:32px;padding:4px;border:1px solid #403a44;border-radius:8px;background:#0b0a0e;color:#fff;text-align:center;font:850 8px system-ui}.admin-result-row input:disabled{opacity:.35}.dq-player-button{grid-column:1/-1;min-height:29px;border:1px solid #63352f;border-radius:8px;background:#1d1114;color:#ff8978;font:900 7px system-ui;cursor:pointer}.admin-result-row.is-absent{opacity:.7}.outcast-chip{display:inline-flex;padding:2px 4px;border:1px solid #8a4035;border-radius:5px;background:#2a1416;color:#ff806c;font:1000 6px system-ui;font-style:normal;letter-spacing:.5px;vertical-align:1px}.leaderboard-row.is-prize{background:linear-gradient(90deg,rgba(255,193,48,.075),transparent)}.leaderboard-row.is-outcast{opacity:.78}.leaderboard-row.is-outcast .leaderboard-rank{border-color:#783b34;color:#ff7e6b}
.admin-live-leaderboard{margin-top:8px;padding:5px 7px;border:1.5px solid #403945;border-radius:13px;background:#101116}.review-card h3{margin:0 0 5px;font-size:12px}.review-card p{margin:0;color:var(--muted);font:750 8px/1.4 system-ui}.review-card.complete{border-color:#285b3e;background:radial-gradient(circle at 0 0,rgba(95,226,154,.1),transparent 44%),#111918}.duel-panel{border-color:#7a5818}.duel-group{margin:9px 0;padding:9px;border:1px solid #544522;border-radius:10px;background:#0d0c11}.duel-group>b,.duel-group>small{display:block}.duel-group>b{font-size:10px;color:var(--gold)}.duel-group>small{margin:2px 0 7px;color:var(--muted);font:750 7px system-ui}.duel-group label{display:grid;grid-template-columns:1fr 135px;align-items:center;gap:6px;margin-top:5px;color:#ddd6e1;font:850 8px system-ui}.duel-group select{height:31px;padding:4px 6px;border:1px solid #4d434f;border-radius:8px;background:#15121a;color:#fff;font:800 8px system-ui}
@media (max-width:365px){.admin-result-row{grid-template-columns:minmax(0,1fr) 69px 45px 52px;gap:4px}.admin-result-row input,.admin-result-row select{font-size:7px;padding:3px}.duel-group label{grid-template-columns:1fr 118px}}
/* Responsive hardening for compact phones and short Telegram webviews */
.tournament-card-copy b{min-width:0;overflow:hidden;text-overflow:ellipsis}
.lobby-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.lobby-preview-card,.next-action-head>div,.generated-lobby,.admin-lobby-room-copy{min-width:0}
.lobby-preview-card span,.next-action-head small,.generated-lobby small,.admin-lobby-room-copy small,.admin-preview-message{overflow-wrap:anywhere}
.admin-button{width:44px;height:44px}
.wallet{min-height:44px}
.back-link{min-height:44px;display:inline-flex;align-items:center;padding-top:3px;padding-bottom:3px}
.star-button{width:44px;height:44px;display:grid;place-items:center;padding:0}
.admin-form input,.admin-form select,.admin-tool-input,.admin-tool-select{min-height:44px}
.admin-tool-row button,.admin-tool-button{min-height:36px}
.admin-switch{position:relative}.admin-switch:before{content:"";position:absolute;inset:-10px -4px}

@container miniapp (max-width:365px){
  .topbar{padding-left:10px;padding-right:10px}.brand{font-size:19px}.top-actions{gap:5px}.wallet{padding-left:9px;padding-right:9px}.wallet b{font-size:13px}
  .screens{padding-left:9px;padding-right:9px}.page-heading{gap:8px}.page-heading>div{min-width:0}.page-heading h1{font-size:20px}.page-lead{font-size:10px}
  .profile-hero{grid-template-columns:54px minmax(0,1fr) auto;gap:8px;padding:10px}.profile-avatar{width:54px;height:54px}.profile-copy h1{font-size:19px}.place-pill{padding-left:7px}.place-pill b{font-size:16px}

  .metric-grid article{grid-template-columns:minmax(0,1fr) 39px;padding-right:5px}.metric-icon{width:39px;height:39px}.metric-icon .brawl-icon{width:38px;height:38px}.metric-icon-league{width:41px;height:41px}.metric-icon-solo{width:37px;height:37px}.growth-gold .metric-icon,.growth-gold .metric-icon .brawl-icon{width:41px;height:41px}
  .player-stat-grid article{grid-template-columns:minmax(0,1fr) 39px;padding-right:5px}.player-stat-icon{width:39px;height:39px}.player-stat-icon .brawl-icon{width:38px;height:38px}.player-stat-icon-rank{width:41px;height:41px}.player-stat-icon-solo{width:37px;height:37px}
  .club-card{grid-template-columns:56px minmax(0,1fr);gap:8px}.club-mark{width:54px;height:54px}.club-mark .club-badge-image{width:49px;height:52px}.club-score{grid-column:2;text-align:left;margin-right:0}.club-score small{justify-content:flex-start}
  .network-card{gap:10px}.network-orbit{flex:0 0 70px}.network-card strong{font-size:20px}
  .selected-club{grid-template-columns:54px minmax(0,1fr) auto;gap:8px;padding:10px}.selected-icon{width:54px;height:54px}.selected-icon .club-badge-image{width:50px;height:54px}.selected-club h1{font-size:19px}
  .member-row{grid-template-columns:25px 39px minmax(0,1fr) auto 11px;gap:6px;padding:7px}.member-avatar{width:38px;height:38px}.member-copy b{font-size:12px}
  .tournament-list-card{min-height:108px;grid-template-columns:74px minmax(0,1fr) 61px;column-gap:7px;padding:9px 7px}.tournament-mode-art{width:72px;height:84px}.tournament-mode-art img{width:70px;height:70px}.tournament-event-mark{width:25px;height:25px;font-size:13px}.tournament-card-copy small{font-size:6.5px}.tournament-card-copy b{font-size:15px;margin:5px 0 6px}.tournament-card-copy i{font-size:7px;gap:4px}.tournament-card-copy i svg{width:12px;height:12px;flex-basis:12px}.tournament-card-side{padding-left:7px}.tournament-card-side em{font-size:6px}.tournament-card-side b{font-size:15px}.tournament-card-side small{font-size:6px}.tournament-card-arrow{right:5px;font-size:23px}
  .tournament-detail-hero{grid-template-columns:54px minmax(0,1fr);gap:8px;padding:10px}.detail-tournament-icon{grid-row:1/3;width:53px;height:53px}.detail-tournament-icon img{width:49px;height:49px}.detail-state{grid-column:2;justify-self:start;align-self:auto}.detail-meta,.detail-progress{grid-column:1/-1}
  .admin-hero{grid-template-columns:50px minmax(0,1fr) auto;gap:8px;padding:10px}.admin-hero-icon{width:49px;height:49px}.admin-hero-copy h1{font-size:19px}.admin-role{padding-left:7px;padding-right:7px}
  .admin-tournament-item{grid-template-columns:45px minmax(0,1fr) auto;gap:7px}.admin-tournament-item>img{width:43px;height:43px}
  .admin-manage-hero{grid-template-columns:52px minmax(0,1fr);gap:8px}.admin-manage-hero .detail-tournament-icon{grid-row:1/3;width:52px;height:52px}#adminManageTournamentState{grid-column:2;justify-self:start}
  .admin-result-row{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:6px}.admin-result-row .result-player{grid-column:1/-1}.admin-result-row input,.admin-result-row select{height:40px;padding:4px;font-size:9px}.admin-result-row label>span{font-size:7px}.dq-player-button{min-height:36px;font-size:8px}
  .review-actions,.duel-actions{flex-wrap:wrap}.review-actions button,.duel-actions button{min-height:40px;min-width:96px}
  .duel-group label{grid-template-columns:minmax(0,1fr) 118px}
}

@container miniapp (max-width:340px){
  .screens{padding-left:8px;padding-right:8px}.topbar{padding-left:8px;padding-right:8px}.brand{font-size:18px}.wallet{gap:5px;padding-left:7px;padding-right:7px}.wallet-icon{width:20px;height:20px}
  .wheel-stage{height:330px}.wheel-stage:before{width:252px;height:252px;border-width:15px}.wheel{width:218px;height:218px}.wheel-pointer{top:32px;font-size:30px}.wheel-hub{width:64px;height:64px}.wheel-hub .brawl-icon{width:44px;height:44px}.r1{transform:rotate(30deg) translateY(-78px) rotate(-30deg)}.r2{transform:rotate(90deg) translateY(-78px) rotate(-90deg)}.r3{transform:rotate(150deg) translateY(-78px) rotate(-150deg)}.r4{transform:rotate(210deg) translateY(-78px) rotate(-210deg)}.r5{transform:rotate(270deg) translateY(-78px) rotate(-270deg)}.r6{transform:rotate(330deg) translateY(-78px) rotate(-330deg)}.l1{top:58px;left:59px}.l2{top:58px;right:59px}.l3{bottom:57px;left:59px}.l4{bottom:57px;right:59px}
  .entry-checks,.lobby-preview-grid{grid-template-columns:1fr}.entry-checks>small{grid-column:1}.detail-meta{gap:4px}.detail-meta b{font-size:9px}
  .admin-form{grid-template-columns:1fr}.admin-form .wide,.admin-form-error{grid-column:auto}.admin-lobby-code-row{grid-template-columns:1fr}.admin-lobby-code-row button{min-height:44px}.admin-tool-summary,.admin-manage-stats{gap:5px}.admin-tool-summary.admin-visit-summary{grid-template-columns:repeat(2,1fr)}.admin-tool-summary article,.admin-manage-stats article{padding:7px}.admin-tool-summary b,.admin-manage-stats b{font-size:13px}
  .duel-group label{grid-template-columns:1fr;gap:4px}.duel-group select{min-height:40px}.tournament-path{gap:2px;padding-left:6px;padding-right:6px}.tournament-path i{font-size:14px}
}

@media (max-width:365px){
  .tournament-card-copy b{min-width:0;overflow:hidden;text-overflow:ellipsis}.lobby-preview-card,.next-action-head>div{min-width:0}.lobby-preview-card span,.next-action-head small{overflow-wrap:anywhere}
  .tournament-detail-hero{grid-template-columns:54px minmax(0,1fr);gap:8px;padding:10px}.detail-tournament-icon{grid-row:1/3;width:53px;height:53px}.detail-tournament-icon img{width:49px;height:49px}.detail-state{grid-column:2;justify-self:start;align-self:auto}.detail-meta,.detail-progress{grid-column:1/-1}
  .admin-manage-hero{grid-template-columns:52px minmax(0,1fr);gap:8px}.admin-manage-hero .detail-tournament-icon{grid-row:1/3;width:52px;height:52px}#adminManageTournamentState{grid-column:2;justify-self:start}
  .admin-result-row{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:6px}.admin-result-row .result-player{grid-column:1/-1}.admin-result-row input,.admin-result-row select{height:40px;padding:4px;font-size:9px}.admin-result-row label>span{font-size:7px}.dq-player-button{min-height:36px;font-size:8px}
}

@media (max-width:340px){
  .entry-checks,.lobby-preview-grid{grid-template-columns:1fr}.entry-checks>small{grid-column:1}.admin-form{grid-template-columns:1fr}.admin-form .wide,.admin-form-error{grid-column:auto}.admin-lobby-code-row{grid-template-columns:1fr}.admin-lobby-code-row button{min-height:44px}
}

@media (max-height:680px){
  :root{--topbar-height:64px;--bottom-nav-height:64px}.topbar{padding-top:7px;padding-bottom:6px}.bottom-nav{padding-top:5px}.bottom-nav span{width:34px;height:34px}.bottom-nav button[data-screen="clubs"] span .brawl-icon{width:31px;height:31px}.bottom-nav button[data-screen="profile"] span .brawl-icon{width:29px;height:29px}.bottom-nav button[data-screen="tournaments"] span .brawl-icon{width:33px;height:33px}.wheel-stage{height:326px}.section-title{margin-top:14px}
}

/* Bank hub: the illustrated hall is a menu; board and wheel open separate screens. */
.screens.bank-scene-active{padding:0;overflow:hidden}.bank-hub-screen.active{display:block;width:100%;height:100%;padding:0;overflow:hidden}.bank-scene{position:relative;width:100%;height:100%;min-height:0;overflow:hidden;background:#160f21}.bank-scene-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 47%;user-select:none;-webkit-user-drag:none}.bank-scene-shade{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(6,4,10,.62) 0,transparent 17%,transparent 74%,rgba(7,5,10,.72) 100%)}.bank-hub-toolbar{position:absolute;z-index:4;top:10px;left:11px;right:11px;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;pointer-events:none}.bank-hub-toolbar h1{margin:3px 0 0;font-size:20px;text-shadow:0 2px 2px #000}.bank-hub-toolbar .eyebrow{color:#d8b474;text-shadow:0 1px #000}.bank-hub-balance,.bank-mini-balance{display:flex;align-items:center;gap:5px;padding:7px 9px;border:1.5px solid #8c681d;border-radius:11px;background:rgba(17,12,20,.9);box-shadow:0 2px #070509,inset 0 1px rgba(255,255,255,.12);color:#ffd34d;font-size:12px;font-variant-numeric:tabular-nums}.bank-hub-balance .brawl-icon,.bank-mini-balance .brawl-icon{width:20px;height:20px}.bank-scene-door{position:absolute;z-index:3;margin:0;padding:0;border:0;background:transparent;color:#fff;cursor:pointer;text-align:center;filter:drop-shadow(0 2px 2px #000);transition:transform .16s ease,filter .16s ease}.bank-scene-door:active{transform:scale(.97)}.bank-scene-door:focus-visible{outline:3px solid #ffd44d;outline-offset:-5px;border-radius:18px}.bank-quest-door{left:2%;top:13%;width:48%;height:39%;display:flex;flex-direction:column;align-items:center;justify-content:center}.bank-wheel-door{right:1%;top:14%;width:45%;height:38%;display:flex;flex-direction:column;align-items:center;justify-content:center}.bank-scene-door-title{padding:5px 9px 4px;border:1px solid rgba(255,198,69,.48);border-radius:8px;background:rgba(24,12,14,.78);color:#ffc64a;font-size:13px;letter-spacing:.7px}.bank-scene-door-icon{width:42px;height:42px;margin:10px 0 7px;display:grid;place-items:center;border:1.5px solid #160b0b;border-radius:12px;background:linear-gradient(#ffb43c,#e86f21);box-shadow:0 3px #5a2108,inset 0 1px #ffe294}.bank-scene-door-icon .brawl-icon{width:32px;height:32px}.bank-scene-door b{max-width:92%;padding:4px 7px;border-radius:7px;background:rgba(22,12,18,.72);font-size:9px}.bank-scene-door small{margin-top:4px;color:#ddd0df;font:800 7px system-ui;text-shadow:0 1px #000}.bank-wheel-door .bank-scene-door-icon{border-radius:50%}.bank-hub-history{position:absolute;z-index:5;left:11px;right:11px;bottom:10px;margin:0;border-color:#5d465c;background:rgba(15,11,18,.94);backdrop-filter:blur(10px)}.bank-hub-history summary{min-height:48px;padding:8px 10px}.bank-hub-history[open]{max-height:52%;overflow:auto}.bank-hub-history .bank-history-list{max-height:210px;overflow:auto}.bank-subscreen.active{display:block;padding-bottom:9px}.bank-back{margin:0 0 2px}.bank-subscreen .bank-heading{display:flex;align-items:center;justify-content:space-between;margin:3px 2px 9px}.bank-subscreen .bank-heading h1{font-size:23px}.bank-subtitle{margin:0 3px 13px;color:var(--muted);font:750 9px/1.4 system-ui}.bank-subscreen .bank-section-head{margin-top:9px}#screen-bank-quests .bank-quest{min-height:92px;padding:12px 10px}#screen-daily.bank-subscreen.active{min-height:0;display:block;padding-bottom:9px}#screen-daily.bank-subscreen:before{inset:14% 0 3%}#screen-daily.bank-subscreen .bank-wheel-card{margin-top:5px}#screen-daily.bank-subscreen .bank-wheel-copy{margin-bottom:2px}

@container miniapp (max-width:365px){.bank-hub-toolbar{top:8px;left:9px;right:9px}.bank-hub-toolbar h1{font-size:18px}.bank-scene-door-title{font-size:11px}.bank-scene-door-icon{width:38px;height:38px;margin:7px 0 5px}.bank-scene-door-icon .brawl-icon{width:29px;height:29px}.bank-hub-history{left:9px;right:9px;bottom:8px}.bank-quest-door{top:13%;height:40%}.bank-wheel-door{top:14%;height:39%}}
@media (max-height:680px){.bank-scene-art{object-position:50% 44%}.bank-quest-door{top:12%;height:38%}.bank-wheel-door{top:13%;height:37%}.bank-scene-door-icon{width:34px;height:34px;margin:5px 0 4px}.bank-scene-door-icon .brawl-icon{width:25px;height:25px}.bank-hub-history summary{min-height:43px}.bank-hub-toolbar h1{font-size:17px}}

/* The illustrated objects themselves are the controls; no fake buttons on top. */
.bank-scene-door{filter:none}.bank-scene-door:active{transform:scale(.975);filter:brightness(1.12)}.bank-quest-door{justify-content:flex-start;padding-top:14%}.bank-wheel-door{justify-content:flex-end;padding-bottom:13%}.bank-scene-door-title{padding:0;border:0;border-radius:0;background:transparent;color:#ffc64a;font-size:14px;text-shadow:0 2px 2px #1b0804,0 0 8px rgba(255,176,48,.35)}.bank-scene-door b{max-width:88%;margin-top:9px;padding:4px 7px;border:1px solid rgba(255,204,94,.22);border-radius:7px;background:rgba(22,12,18,.7);font-size:8px;box-shadow:0 2px 4px rgba(0,0,0,.35)}
@container miniapp (max-width:365px){.bank-scene-door-title{font-size:12px}}

/* The daily room keeps the original centered wheel presentation. */
#screen-daily.bank-subscreen.active{min-height:100%;display:flex;flex-direction:column;justify-content:flex-start;padding-bottom:8px}#screen-daily .daily-heading{margin:2px 2px 0;justify-content:center;text-align:center}#screen-daily .daily-heading>div{display:flex;flex-direction:column;align-items:center;gap:7px}#screen-daily .daily-wheel-window{min-height:0;flex:1;display:flex;flex-direction:column;justify-content:space-evenly}#screen-daily .daily-wheel-window .wheel-stage{height:356px;margin:0;background:transparent;border:0;box-shadow:none;overflow:hidden}#screen-daily .daily-wheel-window .daily-actions{width:min(76%,300px);margin:0;align-self:center;display:flex;flex-direction:column}#screen-daily .daily-wheel-window #spinButton{min-height:55px;margin:0;border-radius:17px;font-size:13px}

/* Diegetic Bank details: live quests are pinned to the board, rewards sit on the wheel. */
.bank-quest-door{display:block;padding:0}.bank-board-plaque{position:absolute;top:6%;left:18%;right:18%;height:27px;display:grid;place-items:center;border:2px solid #3e1808;border-radius:6px;background:linear-gradient(#8f4b20,#54280f);box-shadow:0 3px #210d05,inset 0 1px #d88942;color:#ffd270;font-size:11px;letter-spacing:.8px;text-shadow:0 2px #301003}.bank-board-plaque:before,.bank-board-plaque:after{content:"";position:absolute;top:8px;width:6px;height:6px;border-radius:50%;background:#d4953e;box-shadow:inset 0 1px #ffe09a,0 1px #381707}.bank-board-plaque:before{left:7px}.bank-board-plaque:after{right:7px}.bank-board-quest-preview{position:absolute;top:25%;left:7%;right:7%;display:flex;flex-direction:column;gap:7px}.bank-board-note{position:relative;min-height:49px;padding:7px 7px 6px;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:6px;border:1.5px solid #4e260f;border-radius:7px;background:linear-gradient(150deg,#ddb070,#b87339);box-shadow:0 3px 4px rgba(30,10,2,.47),inset 0 1px rgba(255,239,189,.48);color:#321507;text-align:left;transform:rotate(-1.1deg)}.bank-board-note:nth-child(2){transform:rotate(1.2deg);background:linear-gradient(150deg,#c99255,#9d582c)}.bank-board-pin{position:absolute;top:-4px;left:50%;width:9px;height:9px;border:2px solid #57210b;border-radius:50%;background:#f09b2b;box-shadow:0 2px #4b1b08,inset 0 1px #ffe69a}.bank-board-note-icon{width:29px;height:29px;display:grid;place-items:center;border:1px solid #5b2b12;border-radius:7px;background:rgba(70,27,10,.7)}.bank-board-note-icon .brawl-icon{width:23px;height:23px}.bank-board-note-copy{min-width:0;display:flex;flex-direction:column}.bank-board-note-copy>b{font-size:7.5px;line-height:1.12;text-shadow:none}.bank-board-note-progress{height:5px;margin-top:6px;overflow:hidden;border:1px solid #51260f;border-radius:5px;background:rgba(65,28,13,.48)}.bank-board-note-progress>i{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#ff8b1f,#ffd341)}.bank-board-note>strong{min-width:30px;color:#3a1708;font:900 7px system-ui;text-align:right}.bank-board-note>strong .brawl-icon{width:19px;height:19px;padding:3px;border:1px solid #286335;border-radius:50%;background:#46a95b;color:#fff}.bank-board-sticker{position:absolute;right:7%;bottom:4%;width:24px;height:24px;display:grid;place-items:center;transform:rotate(12deg);color:#ffd44f;filter:drop-shadow(0 2px #5b250d)}.bank-board-sticker .brawl-icon{width:23px;height:23px}.bank-wheel-door{display:block;padding:0}.bank-wheel-coins{position:absolute;inset:0}.bank-wheel-coins>i{position:absolute;width:25px;height:25px;display:grid;place-items:center;border:2px solid #5b2508;border-radius:50%;background:radial-gradient(circle at 34% 28%,#ffe68c 0 10%,#ffc13d 12% 48%,#e77a19 52%);box-shadow:0 2px #2d0e04,inset 0 0 0 2px rgba(255,231,133,.36);color:#401606;font:1000 9px system-ui;text-shadow:0 1px #ffd778}.bank-wheel-coins>i:nth-child(1){top:17%;left:44%}.bank-wheel-coins>i:nth-child(2){top:34%;right:7%}.bank-wheel-coins>i:nth-child(3){right:20%;bottom:14%}.bank-wheel-coins>i:nth-child(4){left:27%;bottom:12%}.bank-wheel-coins>i:nth-child(5){top:47%;left:5%}.bank-wheel-coins>i:nth-child(6){top:21%;left:18%}.bank-wheel-hanging-sign{position:absolute;left:50%;bottom:-2%;min-width:119px;padding:6px 10px 5px;display:flex;flex-direction:column;transform:translateX(-50%) rotate(-1deg);border:2px solid #421908;border-radius:6px;background:linear-gradient(#86471f,#50250f);box-shadow:0 3px #210c04,inset 0 1px #ce7a38;color:#ffd26b}.bank-wheel-hanging-sign:before,.bank-wheel-hanging-sign:after{content:"";position:absolute;bottom:100%;width:2px;height:16px;background:#b67c43}.bank-wheel-hanging-sign:before{left:17px;transform:rotate(13deg)}.bank-wheel-hanging-sign:after{right:17px;transform:rotate(-13deg)}.bank-wheel-hanging-sign small{font:950 7px system-ui;letter-spacing:.65px}.bank-wheel-hanging-sign b{margin:2px 0 0;padding:0;border:0;background:none;box-shadow:none;font-size:7px;color:#fff3d4}
@container miniapp (max-width:365px){.bank-board-quest-preview{left:5%;right:5%;gap:6px}.bank-board-note{min-height:44px;padding:6px;grid-template-columns:26px minmax(0,1fr) auto}.bank-board-note-icon{width:25px;height:25px}.bank-board-note-icon .brawl-icon{width:20px;height:20px}.bank-board-note-copy>b{font-size:7px}.bank-wheel-coins>i{width:22px;height:22px;font-size:8px}.bank-wheel-hanging-sign{min-width:108px;padding-left:7px;padding-right:7px}}
.bank-scene-door .bank-board-note-copy>b{max-width:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#321507;text-shadow:none}

/* V3 artwork already contains the physical notes, sockets, coins and hanging sign. */
.bank-board-plaque{top:5%;left:15%;right:15%;height:31px;border:0;background:transparent;box-shadow:none;color:#ffd37a;font-size:11px;text-shadow:0 2px #3c1808}.bank-board-plaque:before,.bank-board-plaque:after{display:none}.bank-board-quest-preview{top:25%;left:7%;right:7%;gap:7px}.bank-board-note,.bank-board-note:nth-child(2){min-height:49px;padding:6px 10% 6px 28%;grid-template-columns:minmax(0,1fr) auto;gap:5px;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none;color:#4a2413}.bank-board-note-copy>b,.bank-scene-door .bank-board-note-copy>b{color:#4a2413;font-size:7.5px;line-height:1.08}.bank-board-note-progress{height:4px;margin-top:8px;border:0;background:transparent;overflow:hidden}.bank-board-note-progress>i{height:3px;background:linear-gradient(90deg,#e37917,#ffc536);box-shadow:0 1px rgba(255,224,128,.35)}.bank-board-note>strong{min-width:31px;color:#4b2514;font-size:7px}.bank-board-note>strong .brawl-icon{width:17px;height:17px;padding:3px}.bank-wheel-hanging-sign{bottom:-3%;min-width:115px;padding:7px 8px 5px;border:0;background:transparent;box-shadow:none;transform:translateX(-50%);color:#ffd477}.bank-wheel-hanging-sign:before,.bank-wheel-hanging-sign:after{display:none}.bank-wheel-hanging-sign small{font-size:7px}.bank-wheel-hanging-sign b{font-size:7px;color:#fff0cd}
@container miniapp (max-width:365px){.bank-board-note,.bank-board-note:nth-child(2){min-height:44px;padding-left:27%;padding-right:9%}.bank-board-note-copy>b,.bank-scene-door .bank-board-note-copy>b{font-size:7px}.bank-board-note-progress{margin-top:7px}.bank-wheel-hanging-sign{min-width:106px;padding-left:6px;padding-right:6px}}
.bank-board-quest-preview{height:164px;display:block}.bank-board-note,.bank-board-note:nth-child(2){position:absolute;left:0;right:0;height:80px;min-height:80px;padding:0;transform:none}.bank-board-note:first-child{top:0}.bank-board-note:nth-child(2){top:84px}.bank-board-note-copy{position:absolute;inset:0;display:block}.bank-board-note-copy>b,.bank-scene-door .bank-board-note-copy>b,.bank-board-note:nth-child(2) .bank-board-note-copy>b{position:absolute;left:28%;right:17%;top:16px;height:18px;display:flex;align-items:center;margin:0;transform:none;color:#281107;font-size:8px;font-weight:1000;line-height:1.08;text-align:left;white-space:nowrap}.bank-board-note-progress{position:absolute;left:28%;right:27%;bottom:12px;height:4px;margin:0}.bank-board-note>strong{position:absolute;right:10%;bottom:16px;display:grid;place-items:center;min-width:31px;margin:0;text-align:center}.bank-wheel-hanging-sign{bottom:-12%}

@container miniapp (max-width:340px){#screen-daily .page-heading h1{font-size:24px}#screen-daily .wheel-stage:after{width:286px;height:286px}#screen-daily .daily-actions{width:min(86%,280px)}}
@media (max-width:340px){#screen-daily .page-heading h1{font-size:24px}#screen-daily .wheel-stage:after{width:286px;height:286px}#screen-daily .daily-actions{width:min(86%,280px)}}

/* The illustrated props stay part of the background, but clearly invite a tap. */
.bank-scene-door{overflow:visible;border-radius:18px}.bank-quest-door{height:37%}.bank-scene-door:before{content:"";position:absolute;pointer-events:none;border:2px solid rgba(255,198,62,.72);box-shadow:0 0 0 1px rgba(71,26,6,.65),0 0 13px rgba(255,153,24,.38),inset 0 0 10px rgba(255,190,62,.12);opacity:.7;animation:bank-prop-pulse 2.4s ease-in-out infinite}.bank-quest-door:before{inset:3px 2px 7px;border-radius:20px}.bank-wheel-door:before{top:1px;left:3px;right:3px;height:78%;border-radius:50%}.bank-scene-door:after{content:"›";position:absolute;z-index:2;width:25px;height:25px;display:grid;place-items:center;border:2px solid #542006;border-radius:50%;background:linear-gradient(#ffd451,#ed841d);box-shadow:0 3px #5a2108,0 0 10px rgba(255,178,31,.55),inset 0 1px #fff0a3;color:#592006;font:1000 24px/1 Arial,sans-serif;text-indent:1px;pointer-events:none}.bank-scene-door:active:after{transform:translateY(2px);box-shadow:0 1px #5a2108,0 0 13px rgba(255,196,58,.75)}.bank-quest-door:after{top:42%;right:4px}.bank-wheel-door:after{right:1px;bottom:49px}.bank-scene-door:hover:before,.bank-scene-door:focus-visible:before{opacity:1;box-shadow:0 0 0 1px rgba(71,26,6,.75),0 0 19px rgba(255,173,32,.62),inset 0 0 15px rgba(255,210,95,.18)}.bank-scene-door:active{background:rgba(255,181,37,.08)}
@keyframes bank-prop-pulse{0%,100%{opacity:.55;filter:brightness(.94)}50%{opacity:.94;filter:brightness(1.16)}}
.bank-quest-door,.bank-wheel-door{top:9%;height:43%}.bank-scene-door{border-radius:24px}.bank-scene-door:before{border:0;box-shadow:none;opacity:0;mix-blend-mode:screen;pointer-events:none}.bank-quest-door:before{inset:7% 2% 4%;border-radius:24px;background:linear-gradient(108deg,transparent 0 40%,rgba(255,244,187,.3) 48%,transparent 56% 100%);background-size:250% 100%;animation:bank-board-sheen 4.8s ease-in-out infinite}.bank-wheel-door:before{top:0;left:0;right:0;height:80%;border-radius:50%;background:conic-gradient(from 210deg,transparent 0 70%,rgba(255,240,159,.38) 74%,transparent 78% 100%);-webkit-mask:radial-gradient(ellipse at center,transparent 0 67%,#000 69% 76%,transparent 78%);mask:radial-gradient(ellipse at center,transparent 0 67%,#000 69% 76%,transparent 78%);animation:bank-wheel-sheen 5.6s ease-in-out infinite}.bank-scene-door:after{content:"";display:block;width:15px;height:15px;border:0;border-radius:0;background:conic-gradient(from 45deg,transparent 0 10%,#fff3ae 11% 14%,transparent 15% 35%,#ffc548 36% 39%,transparent 40% 60%,#fff3ae 61% 64%,transparent 65% 85%,#ffc548 86% 89%,transparent 90%);box-shadow:none;filter:drop-shadow(0 0 5px rgba(255,196,57,.85));opacity:0;pointer-events:none;animation:bank-prop-sparkle 4.8s ease-in-out infinite}.bank-quest-door:after{top:26%;right:7px}.bank-wheel-door:after{top:1%;right:39%;bottom:auto;animation-delay:1.6s}.bank-scene-door:hover{backdrop-filter:brightness(1.045)}.bank-scene-door:active{transform:none;background:rgba(255,190,72,.045);backdrop-filter:brightness(1.13)}.bank-scene-door:hover:before,.bank-scene-door:focus-visible:before{box-shadow:none}.bank-scene-door:active:after{transform:none;box-shadow:none}
@keyframes bank-board-sheen{0%,42%,100%{opacity:0;background-position:120% 0}52%{opacity:.65}68%{opacity:0;background-position:-120% 0}}
@keyframes bank-wheel-sheen{0%,50%,100%{opacity:0;transform:rotate(-15deg)}60%{opacity:.75}78%{opacity:0;transform:rotate(42deg)}}
@keyframes bank-prop-sparkle{0%,48%,64%,100%{opacity:0;transform:scale(.35) rotate(0)}54%{opacity:1;transform:scale(1) rotate(18deg)}59%{opacity:.55;transform:scale(.72) rotate(35deg)}}
.bank-scene-door{-webkit-tap-highlight-color:transparent}.bank-scene-door:hover,.bank-scene-door:active{transform:none;background:transparent;backdrop-filter:none}
.bank-hub-toolbar{display:none}
.bank-hub-history{display:none}
.bank-edgar-hotspot{position:absolute;z-index:4;left:30%;top:43%;width:45%;height:27%;margin:0;padding:0;border:0;border-radius:45% 45% 28% 28%;outline:0;background:transparent;cursor:pointer}.bank-edgar-hotspot:active{background:transparent}.bank-edgar-speech{position:absolute;z-index:7;top:33%;left:50%;width:190px;max-width:48%;padding:10px 12px 9px;transform:translate(-50%,8px) scale(.86);transform-origin:50% 100%;border:3px solid #35150c;border-radius:17px;background:linear-gradient(#fff7dc,#f3dba5);box-shadow:0 4px #130704,0 0 13px rgba(255,183,47,.35);color:#28130b;font:1000 10px/1.25 system-ui;text-align:center;text-shadow:none;opacity:0;pointer-events:none;transition:opacity .16s ease,transform .18s cubic-bezier(.2,.9,.25,1.25)}.bank-edgar-speech:after{content:"";position:absolute;left:50%;top:100%;width:17px;height:17px;transform:translate(-50%,-7px) rotate(45deg);border-right:3px solid #35150c;border-bottom:3px solid #35150c;background:#f3dba5}.bank-edgar-speech.is-visible{opacity:1;transform:translate(-50%,0) scale(1)}
.chart-empty{height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:14px;color:var(--muted);font:800 9px/1.35 system-ui;text-align:center}.chart-empty-icon{width:42px;height:42px;display:grid;place-items:center;margin-bottom:3px;border:1px solid rgba(166,122,255,.32);border-radius:14px;background:radial-gradient(circle at 35% 25%,rgba(186,151,255,.25),rgba(89,57,143,.12));box-shadow:0 0 18px rgba(131,86,222,.16)}.chart-empty-icon .brawl-icon{width:27px;height:27px;color:#b48cff;filter:drop-shadow(0 2px #25173c)}.chart-empty b{color:#f3effa;font-size:11px}.chart-empty small{max-width:235px;color:#8d8497;font:750 8px/1.35 system-ui}
.back-link{all:unset;position:relative;box-sizing:border-box;width:40px;height:40px;min-width:40px;min-height:40px;display:grid;place-items:center;margin:0 0 11px;border:1.5px solid #37323d;border-radius:11px;background:linear-gradient(180deg,#19171e,#111015);box-shadow:0 2px #050407,inset 0 1px rgba(255,255,255,.05);color:#aaa3b0;font:1000 25px/1 Arial,sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:border-color .15s ease,color .15s ease,background .15s ease,transform .08s ease,box-shadow .08s ease}.back-link:before{content:none}.back-link:hover{border-color:#62596b;background:#201d25;color:#fff}.back-link:active{transform:translateY(1px);box-shadow:0 1px #050407}.back-link:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.heading-with-back{display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;align-items:center!important;gap:9px!important;margin-top:0!important}.heading-with-back>.back-link{margin:0;align-self:center}.heading-with-back>div{min-width:0}.admin-section-title.heading-with-back{margin-bottom:11px}.admin-section-title.heading-with-back>span{font-size:16px}.bank-heading.heading-with-back{margin-bottom:7px}#screen-daily .page-heading.heading-with-back{justify-content:normal;text-align:left}#screen-daily .page-heading.heading-with-back>div{align-items:flex-start}
.rank-emblem-image{width:58px;height:58px;flex:0 0 60px}.trophy-emblem{width:60px;height:60px;flex:0 0 60px}.trophy-emblem .brawl-icon{width:49px;height:49px}.rank-card{justify-content:center;gap:7px}.rank-card>div:last-child{justify-content:center;flex:0 1 94px}

/* Simplified tournament detail: one decision, three facts, details on demand. */
.next-action-card{margin-top:12px;padding:13px;border-color:#413848;background:#121118}.next-action-head{display:block}.next-action-head>div{display:flex;flex-direction:column}.next-action-head .eyebrow{margin-bottom:5px;color:var(--gold)}.next-action-head b{font-size:17px;line-height:1.1}.next-action-head small{margin-top:4px;color:var(--muted);font:750 9px/1.35 system-ui}.entry-checks{display:block;margin:11px 0 10px}.entry-checks>span{min-height:48px;padding:9px 10px;display:grid!important;grid-template-columns:18px auto 1fr;align-items:center;column-gap:4px;border:1px solid #514524;border-radius:10px;background:#1b1811;color:#f0d796;font:850 9px system-ui}.entry-checks>span>.brawl-icon{grid-row:1/3;width:16px;height:16px}.entry-checks>span>small{grid-column:2/4;margin-top:2px;color:#8e8793;font:750 7px system-ui}.entry-checks b{color:inherit}.next-action-card.registered{border-color:#28583e}.next-action-card.registered .entry-checks{display:none}.tournament-brief{margin-top:11px;padding:12px}.tournament-brief>b{font-size:12px}.tournament-brief-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:10px}.tournament-brief-facts span{min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #36313b;border-radius:10px;background:#0e0e13}.tournament-brief-facts strong{color:var(--gold);font-size:15px}.tournament-brief-facts small{margin-top:2px;color:#8f8796;font:800 7px system-ui}.tournament-brief p{margin:10px 1px 0;color:#a8a0ad;font:750 8px/1.4 system-ui}.tournament-rules{margin-top:10px}.tournament-rules summary{padding:10px 12px}.tournament-rules:not([open]) summary span{transform:rotate(-90deg)}

@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Tournament cards keep the name and mode on predictable separate rows. */
.tournament-card-copy b{display:block;min-width:0;margin:0 0 4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:15px;line-height:1.08}.tournament-card-mode{max-width:100%;align-self:flex-start;margin-bottom:6px;padding:3px 6px;border:1px solid rgba(174,137,255,.3);border-radius:6px;background:rgba(129,83,221,.1);color:#c4afea;font:900 8px/1 system-ui;letter-spacing:.2px;white-space:nowrap}@media (max-width:365px){.tournament-card-copy b{font-size:13px}.tournament-card-mode{font-size:7px;padding:2px 5px}}

.bank-history-row>strong.spent{color:#ff8a71}

.next-action-head small:empty{display:none}

/* Compact tournament registration card without duplicated labels. */
.next-action-card{padding:14px 13px 13px}.next-action-head .eyebrow{margin-bottom:4px}.next-action-head b{font-size:16px}.entry-checks{margin:11px 0 12px}.entry-checks>span{min-height:38px;padding:8px 10px;display:flex!important;align-items:center;gap:7px;border-color:#4a4022;border-radius:9px;background:linear-gradient(90deg,#1c180f,#17150f);box-shadow:inset 0 1px rgba(255,214,94,.04)}.entry-checks>span>.brawl-icon{grid-row:auto;width:17px;height:17px}.entry-checks>span>b{font-size:10px}.join-button{min-height:44px}

/* Registration follows a simple title / price / action hierarchy. */
.next-action-card.is-registration{padding:16px 14px 14px}.next-action-card.is-registration .next-action-head .eyebrow{display:none}.next-action-card.is-registration .next-action-head b{font-size:18px;line-height:1.05}.entry-cost{min-height:44px;margin:18px 1px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px}.entry-cost[hidden]{display:none}.entry-cost-label{color:#c8c1cc;font:800 10px/1.2 system-ui}.entry-cost-value{display:flex;align-items:center;justify-content:flex-end;gap:6px;color:#f5f1f7;font:900 10px/1 system-ui;white-space:nowrap}.entry-cost-value .brawl-icon{width:17px;height:17px;color:var(--gold)}.entry-cost-value b{font-size:11px}.next-action-card.is-registration .join-button{min-height:46px;margin-top:0}

/* Tournament detail has two explicit destinations instead of one long page. */
.tournament-detail-tabs{position:sticky;z-index:5;top:0;margin:11px 0 12px;padding:4px;display:grid;grid-template-columns:1fr 1fr;gap:4px;border:1.5px solid #302c36;border-radius:13px;background:rgba(10,10,15,.94);box-shadow:0 3px #050407;backdrop-filter:blur(9px)}.tournament-detail-tabs button{min-height:38px;border:1px solid transparent;border-radius:9px;background:transparent;color:#85808d;font:950 10px/1 system-ui;cursor:pointer;transition:color .15s ease,background .15s ease,box-shadow .15s ease}.tournament-detail-tabs button.active{border-color:#423a49;background:linear-gradient(180deg,#292530,#19171e);box-shadow:inset 0 -2px var(--gold),0 1px #050407;color:#fff}.tournament-detail-tabs button:focus-visible{outline:2px solid #ffbd3e;outline-offset:1px}[data-tournament-detail-panel][hidden]{display:none!important}#tournamentLeaderboardPanel{margin-top:0;scroll-margin-top:62px}

/* The tournament leaderboard is always visible; before game one it doubles as the registered roster. */
.tournament-leaderboard-block{margin-top:13px}.tournament-leaderboard-block .section-title{margin-top:0}.tournament-leaderboard{overflow:hidden}.leaderboard-row.is-waiting .leaderboard-rank{color:#6f6876}.leaderboard-row.is-waiting .leaderboard-points b{color:#a8a0ad}.leaderboard-you{display:inline-flex;margin-left:3px;padding:2px 4px;border:1px solid rgba(255,255,255,.35);border-radius:5px;background:rgba(255,255,255,.15);color:#fff;font:1000 6px/1 system-ui;font-style:normal;letter-spacing:.45px;vertical-align:1px}.leaderboard-empty{grid-template-columns:39px minmax(0,1fr)}
#screen-tournament-detail.active.is-empty-leaderboard{min-height:100%;display:flex;flex-direction:column}#screen-tournament-detail.is-empty-leaderboard #tournamentLeaderboardPanel{flex:1;min-height:0;display:flex;flex-direction:column}#screen-tournament-detail.is-empty-leaderboard .tournament-leaderboard.is-empty{flex:1;display:flex}.tournament-leaderboard.is-empty{padding:0;border-color:transparent;background:transparent;box-shadow:none}.leaderboard-empty-public{position:relative;width:100%;min-height:260px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.leaderboard-empty-public:before{content:"";position:absolute;width:230px;height:180px;background:radial-gradient(ellipse,rgba(126,104,159,.025),rgba(161,128,101,.012) 44%,transparent 70%);filter:blur(18px)}.leaderboard-empty-trophy{position:relative;width:104px;height:104px;overflow:visible;filter:drop-shadow(0 0 7px rgba(126,104,159,.045))}.leaderboard-empty-trophy path{fill:none;stroke:url(#leaderboard-empty-neon-public);stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round;opacity:.56}.leaderboard-empty-public h2{position:relative;margin:12px 0 0;color:rgba(199,193,211,.38);font:950 21px/.88 system-ui;letter-spacing:-.4px;text-shadow:none}

#screen-tournament-detail.is-empty-leaderboard .tournament-leaderboard-block>.section-title{display:none}

/* Competitive structure with the application's own warm palette. */
/* Tournament detail keeps the current state in the hero and presents rules as plain text. */
.tournament-hero-action{grid-column:1/-1;margin:3px -1px -1px;padding:11px 1px 1px;border-top:1px solid rgba(255,206,91,.2)}.tournament-hero-action .next-action-head{display:block}.tournament-hero-action .next-action-head>div{display:flex;flex-direction:column}.next-action-title-line{display:flex;align-items:center;justify-content:space-between;gap:9px;min-width:0}.tournament-hero-action .eyebrow{flex:0 0 auto;margin:0;padding:4px 7px;border:1px solid #4a4022;border-radius:8px;background:rgba(255,191,49,.08);color:var(--gold);font-size:7px;line-height:1;white-space:nowrap}.tournament-hero-action .next-action-head b{min-width:0;font-size:15px;line-height:1.1}.tournament-hero-action .next-action-head small{margin-top:3px;color:#aaa2af;font:750 8px/1.35 system-ui}.tournament-hero-action .entry-cost{min-height:36px;margin:9px 0;display:flex;align-items:center;justify-content:space-between;padding:0 9px;border:1px solid #4a4022;border-radius:9px;background:rgba(12,11,13,.42)}.tournament-hero-action .entry-cost[hidden]{display:none}.tournament-hero-action .entry-cost-label{font-size:8px}.tournament-hero-action .entry-cost-value{font-size:9px}.tournament-hero-action .entry-cost-value .brawl-icon{width:15px;height:15px}.tournament-hero-action .join-button{min-height:40px;margin-top:9px;padding:9px;border-radius:10px;font-size:12px}.tournament-hero-action.is-registration .join-button{margin-top:0}.tournament-hero-action.registered{border-top-color:rgba(99,229,154,.24)}
.tournament-rules-copy{margin:-2px 3px 12px;padding:0 2px 11px;border-bottom:1px solid #2d2932}.tournament-rules-copy h2{margin:0 0 6px;color:#fff;font-size:12px;line-height:1.1}.tournament-rules-copy p{margin:0;color:#a9a2af;font:750 8px/1.45 system-ui}.tournament-rules-copy p+p{margin-top:4px}.tournament-rules-copy strong{color:#e8bb5a;font-weight:900}.tournament-scoring{margin-top:0;padding:11px;border-color:#3d3744;border-radius:13px;background:#111118}.tournament-scoring .section-title{margin:0 0 8px}.tournament-scoring .section-title>span{font-size:12px}.tournament-scoring .section-title>small{color:#8e8794;font-size:7px;text-transform:none}.score-table{padding:6px;border:1px solid #2f2a34;border-radius:9px;background:#0d0d12}.tournament-scoring .score-kill-bonus{margin-top:7px;border-color:#4a352b;background:#191313}.tournament-scoring .score-kill-bonus small{font-size:7px}.tournament-leaderboard-block{margin-top:2px}
.tournament-detail-tabs{padding:4px;border-color:#403949;border-radius:12px;background:linear-gradient(180deg,#15131a,#0d0c11);box-shadow:0 3px #050407,inset 0 1px rgba(255,200,61,.07)}.tournament-detail-tabs button{min-height:40px;border-radius:9px;clip-path:none;color:#8f8798;font-size:10px;font-style:normal;letter-spacing:.3px;text-transform:uppercase}.tournament-detail-tabs button.active{border-color:#ffbd4a;background:linear-gradient(120deg,#ffb13c,#f18424 62%,#ed681d);box-shadow:0 2px #7f2d0a,inset 0 1px rgba(255,255,255,.4);color:#fff;text-shadow:0 2px #8f320c}.tournament-detail-tabs button:focus-visible{outline:2px solid var(--gold);outline-offset:1px}
.tournament-leaderboard-block .section-title{margin-bottom:8px;padding:0 2px}.tournament-leaderboard-block .section-title>span{font-size:17px;font-style:normal;letter-spacing:.35px}.tournament-leaderboard-block .section-title>small{color:var(--gold);letter-spacing:.3px;text-transform:uppercase}.leaderboard-stage-strip{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:9px}.leaderboard-stage-strip>span{min-height:48px;padding:8px 10px;display:flex;flex-direction:column;justify-content:center;overflow:hidden;border:1px solid #5f4720;border-radius:10px;clip-path:none;background:linear-gradient(120deg,#241d18,#18151d);box-shadow:inset 3px 0 var(--orange),0 2px #050407,inset 0 1px rgba(255,255,255,.04)}.leaderboard-stage-strip small{color:#e5a936;font:900 6px/1 system-ui;letter-spacing:.65px;text-transform:uppercase}.leaderboard-stage-strip b{margin-top:5px;color:#fff;font-size:11px;font-style:normal;letter-spacing:.15px}.tournament-leaderboard{padding:0;border-color:#4a4029;border-radius:12px;background:#111118;box-shadow:0 3px #050407,inset 0 1px rgba(255,200,61,.05)}.leaderboard-table-head,.tournament-leaderboard .public-leaderboard-row{display:grid;grid-template-columns:34px minmax(0,1fr) 54px 38px 38px;align-items:center;gap:6px}.leaderboard-table-head{min-height:34px;padding:6px 10px;border-bottom:1px solid #4a3b28;background:linear-gradient(90deg,#2b2119,#1d181f);color:#c99636;font:950 7px/1 system-ui;letter-spacing:.55px}.leaderboard-table-head span:nth-child(n+3){text-align:center}.tournament-leaderboard .public-leaderboard-row{min-height:60px;padding:7px 10px;border-bottom:1px solid #2d272e;background:#141219}.tournament-leaderboard .public-leaderboard-row:nth-child(odd){background:#18151d}.tournament-leaderboard .public-leaderboard-row:last-child{border-bottom:0}.tournament-leaderboard .public-leaderboard-row .leaderboard-rank{width:32px;height:34px;border:1px solid #403a44;border-radius:8px;clip-path:none;background:#1b171f;color:#a49daa;font-size:12px}.tournament-leaderboard .public-leaderboard-row.rank-1 .leaderboard-rank{border-color:#ffcc4c;background:linear-gradient(150deg,#ffe46d,#e88b18);color:#221300}.tournament-leaderboard .public-leaderboard-row.rank-2 .leaderboard-rank{border-color:#c4d5ec;background:linear-gradient(150deg,#edf6ff,#8799b0);color:#141d29}.tournament-leaderboard .public-leaderboard-row.rank-3 .leaderboard-rank{border-color:#de8346;background:linear-gradient(150deg,#f2a068,#8c4a2b);color:#21100a}.tournament-leaderboard .public-leaderboard-row .leaderboard-player b{font-size:12px;line-height:1.1;letter-spacing:.12px}.tournament-leaderboard .public-leaderboard-row .leaderboard-points{display:block;text-align:center}.tournament-leaderboard .public-leaderboard-row .leaderboard-points b{color:var(--gold);font-size:15px;font-style:normal}.leaderboard-stat{display:grid;place-items:center;color:#aaa1b2;font:900 11px/1 system-ui}.tournament-leaderboard .public-leaderboard-row.is-prize{background:linear-gradient(90deg,rgba(255,174,38,.13),#16131a 58%)}.tournament-leaderboard .public-leaderboard-row.is-current{margin:0;padding:7px 10px;border:0;border-left:3px solid var(--gold);border-bottom:1px solid #6d4b20;border-radius:0;background:linear-gradient(90deg,#71340f,#3d2218 62%,#211921);box-shadow:inset 0 0 18px rgba(255,157,31,.13)}

/* Compact tournament detail inspired by competitive event screens. */
#screen-tournament-detail .tournament-detail-hero{position:relative;grid-template-columns:64px minmax(0,1fr);gap:12px;margin-bottom:13px;padding:15px 14px 14px;border-color:#34394a;border-radius:19px;background:radial-gradient(circle at 8% 0,rgba(48,188,242,.12),transparent 34%),radial-gradient(circle at 94% 100%,rgba(255,138,30,.15),transparent 32%),linear-gradient(145deg,#171722,#0d1018 74%);box-shadow:0 4px #050407,inset 0 1px rgba(255,255,255,.05),inset 0 0 0 1px rgba(255,255,255,.025)}
#screen-tournament-detail .detail-tournament-icon{width:62px;height:62px;border:1.5px solid transparent;border-radius:16px;background:transparent;box-shadow:none}
#screen-tournament-detail .detail-tournament-icon img{width:56px;height:56px}
#screen-tournament-detail .detail-tournament-copy h1{margin:2px 0 6px;font-size:22px;line-height:1;text-shadow:0 2px #000}
#screen-tournament-detail .detail-tournament-copy p{color:#d6cfdd;font:900 11px/1.1 system-ui}
#screen-tournament-detail .detail-meta{gap:8px}
#screen-tournament-detail .detail-meta span{min-height:52px;display:flex;flex-direction:column;justify-content:center;padding:9px 10px;border:1px solid #27313f;border-radius:12px;background:rgba(7,10,16,.56);box-shadow:inset 0 1px rgba(255,255,255,.035)}
#screen-tournament-detail .detail-meta b{font-size:14px}
#tournamentDetailCount,.tournament-card-side>b{display:inline-flex;align-items:baseline;justify-content:center;white-space:nowrap}
#screen-tournament-detail .detail-meta small{color:#a9a1ae;font:850 8px/1 system-ui;text-transform:uppercase}
#screen-tournament-detail .detail-progress{height:9px;border-color:#070608;border-radius:10px;background:#09080b;box-shadow:inset 0 1px rgba(255,255,255,.06)}
#screen-tournament-detail .detail-progress i{border-radius:10px;background:linear-gradient(90deg,#ff7626,#ffb52c 54%,#ffd94f);box-shadow:0 0 12px rgba(255,180,32,.42)}
#screen-tournament-detail .tournament-hero-action{margin:5px 0 0;padding:13px 0 0;border-top-color:rgba(255,188,48,.22)}
#screen-tournament-detail .next-action-title-line{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}
#screen-tournament-detail .next-action-side{display:flex;align-items:center;gap:7px;min-width:0}
#screen-tournament-detail .tournament-action-score{min-height:35px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 12px;border:1px solid #403848;border-radius:11px;background:linear-gradient(180deg,#171520,#101016);box-shadow:0 2px #050407;color:#bdb4c8;font:950 9px/1 system-ui;white-space:nowrap}
#screen-tournament-detail .tournament-action-score[hidden]{display:none}
#screen-tournament-detail .tournament-action-score-inner{display:inline-flex;align-items:baseline;gap:6px;line-height:1}
#screen-tournament-detail .tournament-action-score-inner>span{display:block;line-height:1}
#screen-tournament-detail .tournament-action-score b{display:block;color:#fff;font-size:16px;line-height:1}
#screen-tournament-detail .tournament-hero-action .eyebrow{min-height:35px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border-color:#714412;border-radius:11px;background:linear-gradient(180deg,#1d1712,#121015);box-shadow:0 2px #050407,inset 0 1px rgba(255,190,72,.08);font-size:10px}
#screen-tournament-detail .tournament-hero-action .next-action-title-line>b{font-size:21px;line-height:1.05}
#screen-tournament-detail .tournament-hero-action.is-registration .next-action-title-line>b{font-size:18px}
#screen-tournament-detail .tournament-hero-action .next-action-head small{font-size:10px}
#screen-tournament-detail .tournament-hero-action .join-button{min-height:43px;margin-top:10px;border-radius:11px;font-size:12px}
#screen-tournament-detail .tournament-hero-action .join-button[hidden]{display:none!important}
#screen-tournament-detail .tournament-hero-action.is-registration{margin-top:0;padding-top:0;border-top-color:transparent}
#screen-tournament-detail .tournament-hero-action.is-registration .next-action-head{display:none}
#screen-tournament-detail .tournament-hero-action.is-registration .entry-cost{margin-top:0}
#screen-tournament-detail .tournament-detail-nav{position:sticky;z-index:5;top:0;display:grid;grid-template-columns:40px minmax(0,1fr);gap:4px;margin:0 0 13px;padding:4px;border:1.5px solid #403949;border-radius:12px;background:linear-gradient(180deg,#15131a,#0d0c11);box-shadow:0 3px #050407,inset 0 1px rgba(255,200,61,.07);backdrop-filter:blur(9px)}
#screen-tournament-detail .tournament-detail-tabs{position:static;z-index:auto;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none}
#screen-tournament-detail .tournament-detail-back{min-height:40px;display:grid;place-items:center;padding:0;border:1px solid #34303b;border-radius:9px;background:#121117;box-shadow:inset 0 1px rgba(255,255,255,.05);color:#a8a1af;font:1000 25px/1 Arial,sans-serif;text-shadow:none;cursor:pointer;transition:border-color .15s ease,color .15s ease,background .15s ease}
#screen-tournament-detail .tournament-detail-back:hover{border-color:#62596b;background:#1a181f;color:#fff}
#screen-tournament-detail .tournament-detail-back:active{transform:translateY(1px)}
#screen-tournament-detail .tournament-detail-back:focus-visible{outline:2px solid var(--gold);outline-offset:1px}
#screen-tournament-detail .tournament-rules-copy{margin:0 0 13px;padding:13px 13px 12px;border:1.5px solid #263746;border-radius:16px;background:radial-gradient(circle at 100% 100%,rgba(48,188,242,.08),transparent 38%),linear-gradient(145deg,#111620,#0d0d13);box-shadow:0 3px #050407,inset 0 1px rgba(255,255,255,.04)}
#screen-tournament-detail .tournament-rules-copy h2{margin-bottom:9px;font-size:15px;text-align:center}
#screen-tournament-detail .tournament-rules-copy p{color:#c8c1cd;font:800 11px/1.55 system-ui;white-space:pre-wrap}
#screen-tournament-detail .tournament-rules-copy p+p{margin-top:7px}
#screen-tournament-detail .tournament-rules-copy strong{font-weight:950}
.tournament-brawler-pool{margin:0 0 13px;padding:11px 12px;border-color:#4e3e22;border-radius:16px;background:radial-gradient(circle at 100% 0,rgba(255,187,46,.09),transparent 42%),#111118}.tournament-brawler-pool .section-title{margin:0 0 9px;align-items:center;justify-content:center;text-align:center}.tournament-brawler-pool .section-title>span{font-size:13px}.tournament-brawler-icons{display:grid;grid-template-columns:repeat(auto-fit,52px);justify-content:center;gap:7px}.tournament-brawler-icon{width:52px;aspect-ratio:1;display:grid;place-items:center;border:1px solid #39333e;border-radius:10px;background:#0c0b10;overflow:hidden}.tournament-brawler-icon img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.7))}
#screen-tournament-detail .tournament-scoring>.section-title{justify-content:center;text-align:center}
#screen-tournament-detail .tournament-scoring{padding:13px;border-color:#4a3724;border-radius:16px;background:radial-gradient(circle at 0 0,rgba(255,191,49,.08),transparent 38%),#111118}
#screen-tournament-detail .tournament-scoring .section-title{margin-bottom:10px}
#screen-tournament-detail .tournament-scoring .section-title>span{font-size:16px}
#screen-tournament-detail .tournament-scoring .section-title>small{font:900 9px/1 system-ui}
#screen-tournament-detail .score-table{padding:9px;border-color:#2f2a34;border-radius:12px;background:#0d0d12}
#screen-tournament-detail .score-row{grid-template-columns:46px repeat(10,minmax(22px,1fr));gap:4px}
#screen-tournament-detail .score-row+.score-row{margin-top:7px}
#screen-tournament-detail .score-row span{color:#c8c1cc;font:900 10px/1 system-ui}
#screen-tournament-detail .score-row b{min-height:30px;display:grid;place-items:center;padding:0;border-radius:8px;background:#16141b;color:#fff;font:950 12px/1 system-ui}
#screen-tournament-detail .score-row.points b{background:#211b13;color:var(--gold);font-size:14px}
#screen-tournament-detail .score-kill-bonus{margin-top:11px;padding:10px;border-color:#633123;border-radius:12px;background:linear-gradient(90deg,#201111,#130f12)}
#screen-tournament-detail .score-kill-bonus>.brawl-icon{width:26px;height:26px}
#screen-tournament-detail .score-kill-bonus b{font-size:12px}
#screen-tournament-detail .score-kill-bonus small{font-size:9px}
.admin-tournament-registrations{display:flex;flex-direction:column;gap:7px}.admin-tournament-registration{min-height:64px;padding:8px 9px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:8px;border:1.5px solid #4e4025;border-radius:13px;background:radial-gradient(circle at 0 50%,rgba(255,191,49,.09),transparent 40%),#121118}.admin-tournament-registration>span{width:36px;height:36px;display:grid;place-items:center;border:1.5px solid #71531b;border-radius:10px;background:linear-gradient(145deg,#7a541b,#362716);color:#ffd254;font-size:15px}.admin-tournament-registration>div{min-width:0;display:flex;flex-direction:column}.admin-tournament-registration div b{font-size:9px}.admin-tournament-registration div small{margin-top:3px;color:var(--muted);font:750 7px/1.25 system-ui;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-tournament-registration time{display:flex;flex-direction:column;align-items:flex-end;white-space:nowrap}.admin-tournament-registration time b{color:#ffca43;font-size:8px}.admin-tournament-registration time small{margin-top:3px;color:#8f8795;font:750 6px system-ui}.admin-tournament-registration-empty{margin:0;padding:18px 10px;border:1.5px solid #39333e;border-radius:12px;background:#111118;color:var(--muted);font:750 8px/1.4 system-ui;text-align:center}
@container miniapp (max-width:365px){#screen-tournament-detail .tournament-detail-hero{grid-template-columns:56px minmax(0,1fr);padding:13px 12px}#screen-tournament-detail .next-action-title-line{grid-template-columns:1fr}#screen-tournament-detail .next-action-side{justify-content:space-between}#screen-tournament-detail .tournament-hero-action .next-action-title-line>b{font-size:18px}#screen-tournament-detail .score-row{grid-template-columns:40px repeat(10,minmax(20px,1fr));gap:3px}#screen-tournament-detail .score-row b{font-size:10px}#screen-tournament-detail .score-row.points b{font-size:12px}}
.back-link,.admin-heading-back,.tournament-detail-back{font-size:0!important}.back-link:before,.admin-heading-back:before{content:"";position:absolute;left:50%;top:50%;display:block;box-sizing:border-box;width:10px;height:10px;border:0;border-left:3px solid currentColor;border-bottom:3px solid currentColor;border-radius:1px;transform:translate(-42%,-50%) rotate(45deg)}.tournament-detail-back:before{content:"";display:block;box-sizing:border-box;width:10px;height:10px;border:0;border-left:3px solid currentColor;border-bottom:3px solid currentColor;border-radius:1px;transform:translateX(2px) rotate(45deg)}
#screen-tournament-detail .tournament-detail-back:before{content:none}.tournament-detail-back .back-chevron{width:18px;height:18px;display:block;overflow:visible;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.metric-grid .metric-league .metric-icon{width:39px;height:39px}.metric-grid .metric-solo .metric-icon{width:35px;height:35px}.metric-grid .metric-team .metric-icon{width:37px;height:37px}@media (max-width:365px){.metric-grid .metric-league .metric-icon{width:34px;height:34px}.metric-grid .metric-solo .metric-icon{width:31px;height:31px}.metric-grid .metric-team .metric-icon{width:33px;height:33px}}
.metric-grid .growth-arrow-card{--growth-accent:#85818b;--growth-glow:rgba(133,129,139,.18);border-color:#3a3740;background:radial-gradient(circle at 92% 50%,var(--growth-glow),transparent 42%),#131219;transition:border-color .2s ease,background .2s ease}.metric-grid .growth-arrow-card .metric-copy>b{color:var(--growth-accent)}.metric-grid .growth-arrow-card .metric-icon{width:47px;height:47px;filter:none}.metric-grid .growth-arrow-card .metric-icon .brawl-icon{width:45px;height:45px;overflow:visible;color:var(--growth-accent);filter:drop-shadow(0 0 3px var(--growth-glow));transition:color .2s ease,filter .2s ease,transform .2s ease}.metric-grid .growth-arrow-card[data-growth-level="1"]{--growth-accent:#8dff5c;--growth-glow:rgba(121,255,79,.28);border-color:#34562d;background:radial-gradient(circle at 92% 50%,rgba(112,255,76,.13),transparent 44%),#111718}.metric-grid .growth-arrow-card[data-growth-level="2"]{--growth-accent:#4de8ff;--growth-glow:rgba(55,221,255,.36);border-color:#285b68;background:radial-gradient(circle at 92% 50%,rgba(54,219,255,.16),transparent 46%),#10171b}.metric-grid .growth-arrow-card[data-growth-level="2"] .brawl-icon{width:47px;height:47px;filter:drop-shadow(0 0 3px #30dfff) drop-shadow(0 0 8px rgba(48,223,255,.34))}.metric-grid .growth-arrow-card[data-growth-level="2"] .metric-icon:after{content:"";position:absolute;right:4px;top:5px;width:3px;height:3px;border-radius:50%;background:#c9faff;box-shadow:-7px 8px 0 #4de8ff;opacity:.82}.metric-grid .growth-arrow-card[data-growth-level="3"]{--growth-accent:#ffe04b;--growth-glow:rgba(255,210,48,.42);border-color:#735916;background:radial-gradient(circle at 92% 50%,rgba(255,211,49,.2),transparent 48%),linear-gradient(145deg,#171710,#151218)}.metric-grid .growth-arrow-card[data-growth-level="3"] .metric-copy>b{color:#ffe04b;text-shadow:0 0 8px rgba(255,210,48,.22)}.metric-grid .growth-arrow-card[data-growth-level="3"] .brawl-icon{width:48px;height:48px;filter:drop-shadow(0 0 3px #eaff63) drop-shadow(0 0 10px rgba(255,203,42,.48));animation:growthPeakPulse 1.9s ease-in-out infinite}.metric-grid .growth-arrow-card[data-growth-level="3"] .metric-icon:after{content:"";position:absolute;right:2px;top:3px;width:4px;height:4px;border-radius:50%;background:#fff4a1;box-shadow:-9px 5px 0 #dfff57,-3px 13px 0 #ffb632;animation:growthSpark 1.9s ease-in-out infinite}@keyframes growthPeakPulse{50%{transform:translateY(-1px) scale(1.055);filter:drop-shadow(0 0 4px #efff76) drop-shadow(0 0 13px rgba(255,203,42,.58))}}@keyframes growthSpark{50%{opacity:.42;transform:scale(.78)}}@media (max-width:365px){.metric-grid .growth-arrow-card .metric-icon,.metric-grid .growth-arrow-card .metric-icon .brawl-icon{width:40px;height:40px}.metric-grid .growth-arrow-card[data-growth-level="2"] .brawl-icon{width:42px;height:42px}.metric-grid .growth-arrow-card[data-growth-level="3"] .brawl-icon{width:43px;height:43px}}@media (prefers-reduced-motion:reduce){.metric-grid .growth-arrow-card[data-growth-level="3"] .brawl-icon,.metric-grid .growth-arrow-card[data-growth-level="3"] .metric-icon:after{animation:none}}

/* Cinematic first-run flow. The artwork stays separate from the editable UI. */
body.registration-experience{overflow:hidden;background:#02040a}
body.registration-experience .phone-shell{max-width:460px;background:#02040a}
body.registration-experience .topbar,body.registration-experience .bottom-nav{display:none}
body.registration-experience .screens{height:100dvh;padding:5px;overflow:hidden}
body.registration-experience #screen-profile.active{height:100%;min-height:0;display:flex;padding:0}
body.registration-experience #screen-profile>.profile-hero,body.registration-experience #screen-profile>.guest-onboarding,body.registration-experience #screen-profile>.section-title,body.registration-experience #screen-profile>.rank-pair,body.registration-experience #screen-profile>.graph-card,body.registration-experience #screen-profile>.metric-grid{display:none!important}
body.registration-experience #registrationFlow:not([hidden]){isolation:isolate;width:100%;height:100%;min-height:0;margin:0;padding:0 20px 18px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-start;border:1px solid rgba(255,255,255,.045);border-radius:34px;background:#030710;box-shadow:inset 0 0 80px rgba(0,0,0,.55);font-family:"Segoe UI",system-ui,sans-serif}
body.registration-experience #registrationFlow:before{content:"";position:absolute;z-index:-2;inset:0;background:url("assets/registration-ruffs-bg-v1.png") center 45%/cover no-repeat;opacity:.44;filter:grayscale(1) brightness(.34) contrast(.82)}
body.registration-experience #registrationFlow:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,rgba(2,5,12,.96) 0%,rgba(2,5,12,.32) 24%,rgba(2,5,12,.12) 53%,rgba(2,5,12,.82) 78%,#03060c 100%),radial-gradient(circle at 50% 50%,transparent 20%,rgba(1,3,8,.5) 86%);pointer-events:none}
body.registration-experience .registration-flow-head{padding:72px 8px 0;text-align:center}
body.registration-experience .registration-flow-head .eyebrow{display:block;margin-bottom:12px;color:rgba(255,255,255,.5);font:800 9px/1.2 "Segoe UI",system-ui,sans-serif;letter-spacing:1.45px}
body.registration-experience .registration-flow-head h2{margin:0;color:#fff;font:800 clamp(25px,7cqi,32px)/1.08 "Segoe UI",system-ui,sans-serif;letter-spacing:-.55px;text-shadow:0 2px 14px #000}
body.registration-experience .registration-flow-head p{max-width:300px;margin:10px auto 0;color:rgba(255,255,255,.66);font:600 11px/1.45 "Segoe UI",system-ui,sans-serif;text-shadow:0 1px 8px #000}
body.registration-experience .registration-context{display:none}
body.registration-experience .registration-tag-form,body.registration-experience .registration-challenge,body.registration-experience .registration-complete{width:100%;margin:auto 0 0;position:relative}
body.registration-experience .registration-tag-form{gap:9px;padding:15px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(8,11,17,.84);box-shadow:0 14px 38px rgba(0,0,0,.45);backdrop-filter:blur(12px)}
body.registration-experience .registration-tag-form label{color:#fff;font:700 12px/1.2 "Segoe UI",system-ui,sans-serif}
body.registration-experience .registration-tag-form input{min-height:54px;padding:13px 15px;border:1px solid rgba(255,255,255,.18);border-radius:13px;background:rgba(3,5,10,.76);color:#fff;font:700 18px/1 "Segoe UI",system-ui,sans-serif;box-shadow:none}
body.registration-experience .registration-tag-form input:focus{border-color:#ff932f;box-shadow:0 0 0 3px rgba(255,123,28,.12)}
body.registration-experience .primary-action{min-height:58px;padding:15px;border:1px solid #ff9a1f;border-radius:15px;background:linear-gradient(180deg,#ff840d 0%,#f1540e 55%,#bc210b 100%);box-shadow:inset 0 1px rgba(255,229,172,.62),0 9px 25px rgba(159,39,5,.34);font:800 18px/1.1 "Segoe UI",system-ui,sans-serif;text-shadow:0 1px 4px rgba(95,18,0,.6)}
body.registration-experience .registration-bot-message{margin:0;padding:16px 17px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(8,11,17,.84);color:rgba(255,255,255,.68);font:600 11px/1.55 "Segoe UI",system-ui,sans-serif;box-shadow:0 14px 38px rgba(0,0,0,.45);backdrop-filter:blur(12px)}
body.registration-experience .registration-bot-message>b{color:#fff;font:750 13px/1.4 "Segoe UI",system-ui,sans-serif}
body.registration-experience .registration-bot-message p{margin:10px 0 0}
body.registration-experience .registration-bot-message strong{color:#ffb344}
body.registration-experience .registration-challenge .primary-action{margin-top:10px}
body.registration-experience .secondary-action{padding:12px;border-color:rgba(255,255,255,.12);border-radius:13px;background:rgba(8,11,17,.72);color:rgba(255,255,255,.72);font:700 13px/1 "Segoe UI",system-ui,sans-serif;backdrop-filter:blur(10px)}
body.registration-experience .registration-close{margin:10px 0 0;padding:10px;color:rgba(255,255,255,.5);font:700 11px/1 "Segoe UI",system-ui,sans-serif}
body.registration-experience #registrationFlow[data-registration-state="complete"] .registration-flow-head{padding-top:94px}
body.registration-experience #registrationFlow[data-registration-state="complete"] .registration-flow-head h2:after{content:"";width:10px;height:18px;margin-left:14px;display:inline-block;border-right:3px solid #fff;border-bottom:3px solid #fff;vertical-align:2px;transform:rotate(45deg)}
body.registration-experience .registration-complete{padding-bottom:4px}
body.registration-experience .registration-complete .registration-community{min-height:84px;margin:0;padding:13px 14px;grid-template-columns:46px minmax(0,1fr);gap:12px;border:1px solid rgba(255,255,255,.11);border-radius:14px;background:rgba(5,8,14,.9);box-shadow:0 10px 28px rgba(0,0,0,.34);backdrop-filter:blur(12px)}
body.registration-experience .registration-complete .registration-community>span{width:46px;height:46px;border:0;border-radius:50%;background:#229ed9;color:#fff;box-shadow:none}
body.registration-experience .registration-complete .registration-community>span .registration-telegram-icon{width:23px;height:23px;display:block;fill:currentColor;shape-rendering:geometricPrecision;transform:translate(-1px,1px)}
body.registration-experience .registration-complete .registration-community b{font:700 15px/1.2 "Segoe UI",system-ui,sans-serif}
body.registration-experience .registration-complete .registration-community small{margin-top:4px;color:rgba(255,255,255,.58);font:600 12px/1.35 "Segoe UI",system-ui,sans-serif}
body.registration-experience .registration-complete #registrationGroupJoin{display:none}
body.registration-experience .registration-complete .primary-action{min-height:56px;margin-top:12px;border:1px solid #ff9a1f;border-radius:14px;background:linear-gradient(180deg,#ff840d 0%,#f1540e 55%,#bc210b 100%);box-shadow:inset 0 1px rgba(255,229,172,.62),0 9px 25px rgba(159,39,5,.34);text-shadow:0 1px 4px rgba(95,18,0,.6)}
body.registration-experience .registration-complete .primary-action:active{transform:translateY(1px)}
body.registration-experience .toast{bottom:24px}
@media (max-height:690px){body.registration-experience .registration-flow-head{padding-top:42px}body.registration-experience #registrationFlow[data-registration-state="complete"] .registration-flow-head{padding-top:55px}body.registration-experience #registrationFlow:before{background-position:center 42%}body.registration-experience .registration-complete .registration-community{min-height:78px}}
@media (max-width:365px){body.registration-experience #registrationFlow:not([hidden]){padding-left:14px;padding-right:14px;border-radius:28px}body.registration-experience .registration-flow-head{padding-top:54px}body.registration-experience .registration-flow-head h2{font-size:24px}body.registration-experience .registration-complete .registration-community{grid-template-columns:42px minmax(0,1fr)}body.registration-experience .registration-complete .registration-community>span{width:42px;height:42px}}

/* Guest preview uses the same restrained cinematic language without hiding navigation. */
body.registration-preview-experience .phone-shell{background:#03060c}
body.registration-preview-experience .topbar{position:relative;z-index:5;background:rgba(3,6,12,.84);border-bottom-color:rgba(255,255,255,.055);backdrop-filter:blur(12px)}
body.registration-preview-experience #guestOnboarding:not([hidden]){isolation:isolate;position:relative;overflow:hidden;padding:0 2px 4px;background:transparent;font-family:"Segoe UI",system-ui,sans-serif}
body.registration-preview-experience #guestOnboarding:before{content:"";position:absolute;z-index:-2;left:-12px;right:-12px;top:-8px;height:410px;background:url("assets/registration-ruffs-bg-v1.png") center top/100% auto no-repeat;opacity:.34;filter:saturate(.72) brightness(.56)}
body.registration-preview-experience #guestOnboarding:after{content:"";position:absolute;z-index:-1;left:-12px;right:-12px;top:-8px;height:445px;background:linear-gradient(180deg,rgba(2,5,11,.8) 0%,rgba(2,5,11,.2) 38%,rgba(3,6,12,.56) 72%,#03060c 100%),radial-gradient(circle at 50% 35%,transparent 14%,rgba(2,5,11,.42) 90%);pointer-events:none}
body.registration-preview-experience .guest-onboarding-head{min-height:225px;padding:35px 18px 12px;display:flex;flex-direction:column;align-items:center;text-align:center}
body.registration-preview-experience .guest-onboarding-head .eyebrow{color:rgba(255,255,255,.48);font:800 8px/1.2 "Segoe UI",system-ui,sans-serif;letter-spacing:1.5px}
body.registration-preview-experience .guest-onboarding-head h2{max-width:340px;margin:11px 0 8px;color:#fff;font:800 clamp(24px,6.8cqi,30px)/1.08 "Segoe UI",system-ui,sans-serif;letter-spacing:-.45px;text-shadow:0 2px 16px #000}
body.registration-preview-experience .guest-onboarding-head p{max-width:295px;margin:0;color:rgba(255,255,255,.64);font:600 10px/1.45 "Segoe UI",system-ui,sans-serif;text-shadow:0 1px 9px #000}
body.registration-preview-experience .guest-featured-tournament,body.registration-preview-experience .guest-home-panel,body.registration-preview-experience .guest-last-result{border:1px solid rgba(255,255,255,.11);background:rgba(7,10,16,.76);box-shadow:0 9px 25px rgba(0,0,0,.26);backdrop-filter:blur(11px)}
body.registration-preview-experience .guest-featured-tournament{min-height:86px;margin-top:0;padding:10px 12px;grid-template-columns:43px minmax(0,1fr) auto;border-radius:16px}
body.registration-preview-experience .guest-featured-icon{width:41px;height:41px;color:#ffbd3d}
body.registration-preview-experience .guest-featured-icon .brawl-icon{width:39px;height:39px}
body.registration-preview-experience .guest-featured-copy small{color:rgba(255,190,61,.9);font:800 7px/1.1 "Segoe UI",system-ui,sans-serif}
body.registration-preview-experience .guest-featured-copy b{font:800 14px/1.15 "Segoe UI",system-ui,sans-serif}
body.registration-preview-experience .guest-featured-copy i{color:rgba(255,255,255,.55);font:600 8px/1.2 "Segoe UI",system-ui,sans-serif}
body.registration-preview-experience .guest-featured-side b{font:800 15px/1 "Segoe UI",system-ui,sans-serif}
body.registration-preview-experience .guest-featured-side small{color:rgba(255,255,255,.45);font:600 7px/1 "Segoe UI",system-ui,sans-serif}
body.registration-preview-experience .guest-featured-arrow,body.registration-preview-experience .guest-panel-head i{display:none}
body.registration-preview-experience .guest-home-grid{gap:8px;margin-top:8px}
body.registration-preview-experience .guest-home-panel{min-height:78px;padding:10px;border-radius:14px}
body.registration-preview-experience .guest-panel-head b{font:750 11px/1.1 "Segoe UI",system-ui,sans-serif}
body.registration-preview-experience .guest-club-preview b,body.registration-preview-experience .guest-news-preview b{font-family:"Segoe UI",system-ui,sans-serif}
body.registration-preview-experience .guest-last-result{min-height:54px;margin-top:8px;padding:9px 11px;border-radius:14px}
body.registration-preview-experience .guest-last-result small{color:rgba(255,255,255,.45);font:700 7px/1 "Segoe UI",system-ui,sans-serif}
body.registration-preview-experience .guest-last-result b{font:750 10px/1.1 "Segoe UI",system-ui,sans-serif}
body.registration-preview-experience .guest-last-result strong{color:#ffc956;font:750 9px/1.1 "Segoe UI",system-ui,sans-serif}
body.registration-preview-experience .guest-registration-start{min-height:56px;margin-top:auto;border:1px solid #ff9a1f;border-radius:15px;background:linear-gradient(180deg,#ff840d 0%,#f1540e 55%,#bc210b 100%);box-shadow:inset 0 1px rgba(255,229,172,.62),0 8px 22px rgba(159,39,5,.28);font:800 18px/1.1 "Segoe UI",system-ui,sans-serif;text-shadow:0 1px 4px rgba(95,18,0,.6)}
@media (max-height:760px){body.registration-preview-experience .guest-onboarding-head{min-height:185px;padding-top:24px}body.registration-preview-experience #guestOnboarding:before{height:350px}body.registration-preview-experience #guestOnboarding:after{height:380px}}
@media (max-width:365px){body.registration-preview-experience .guest-onboarding-head{min-height:205px;padding-left:10px;padding-right:10px}body.registration-preview-experience .guest-onboarding-head h2{font-size:23px}body.registration-preview-experience .guest-featured-tournament{grid-template-columns:39px minmax(0,1fr) auto}body.registration-preview-experience .guest-featured-icon,body.registration-preview-experience .guest-featured-icon .brawl-icon{width:37px;height:37px}}

/* Guest home v2: native app cards and readable type, no decorative microcopy. */
body.registration-preview-experience .phone-shell{background:radial-gradient(90% 35% at 50% -5%,rgba(255,162,37,.13),transparent 72%),#090a0f}
body.registration-preview-experience .topbar{background:#0b0c11;border-bottom:1px solid #24232b;backdrop-filter:none}
body.registration-preview-experience #guestOnboarding:not([hidden]){padding:14px 2px 5px;overflow:visible;font-family:"Arial Black","Segoe UI",system-ui,sans-serif}
body.registration-preview-experience #guestOnboarding:before,body.registration-preview-experience #guestOnboarding:after{display:none}
body.registration-preview-experience .guest-onboarding-head{min-height:0;padding:3px 3px 18px;display:block;text-align:left}
body.registration-preview-experience .guest-onboarding-head h2{max-width:380px;margin:0;color:#fff;font:900 28px/1.06 "Arial Black","Segoe UI",system-ui,sans-serif;letter-spacing:-.6px;text-shadow:0 2px #000}
body.registration-preview-experience .guest-onboarding-head p{max-width:360px;margin:10px 0 0;color:#bbb5c1;font:700 13px/1.4 "Segoe UI",system-ui,sans-serif;text-shadow:none}
body.registration-preview-experience .guest-featured-tournament{min-height:108px;padding:14px;grid-template-columns:58px minmax(0,1fr) auto;gap:12px;border:1.5px solid #765617;border-radius:18px;background:radial-gradient(circle at 0 45%,rgba(255,188,45,.23),transparent 39%),#111118;box-shadow:0 3px #050407,inset 0 1px rgba(255,255,255,.04);backdrop-filter:none}
body.registration-preview-experience .guest-featured-icon{width:56px;height:56px}
body.registration-preview-experience .guest-featured-icon .brawl-icon{width:53px;height:53px}
body.registration-preview-experience .guest-featured-copy small{font:900 12px/1.1 "Segoe UI",system-ui,sans-serif;letter-spacing:.2px}
body.registration-preview-experience .guest-featured-copy b{margin:6px 0 5px;font:900 18px/1.05 "Arial Black","Segoe UI",system-ui,sans-serif}
body.registration-preview-experience .guest-featured-copy i{color:#b6afbb;font:700 12px/1.2 "Segoe UI",system-ui,sans-serif}
body.registration-preview-experience .guest-featured-side{min-width:58px;padding:0;text-align:center}
body.registration-preview-experience .guest-featured-side b{font:900 21px/1 "Arial Black","Segoe UI",system-ui,sans-serif}
body.registration-preview-experience .guest-featured-side small{display:block;margin-top:7px;color:#a9a2ae;font:700 12px/1.1 "Segoe UI",system-ui,sans-serif}
body.registration-preview-experience .guest-home-grid{gap:9px;margin-top:10px}
body.registration-preview-experience .guest-home-panel{min-height:102px;padding:14px;display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:11px;border:1.5px solid #3c3742;border-radius:17px;background:#111118;box-shadow:0 3px #050407,inset 0 1px rgba(255,255,255,.035);backdrop-filter:none}
body.registration-preview-experience .guest-clubs-panel{border-color:#4c3b67;background:radial-gradient(circle at 0 50%,rgba(145,100,255,.17),transparent 47%),#111118}
body.registration-preview-experience .guest-news-panel{border-color:#315267;background:radial-gradient(circle at 0 50%,rgba(65,201,255,.13),transparent 47%),#111118}
body.registration-preview-experience .guest-panel-icon{width:46px;height:46px;display:grid;place-items:center;color:#9f79ff}
body.registration-preview-experience .guest-news-panel .guest-panel-icon{color:#51cbfa}
body.registration-preview-experience .guest-panel-icon .brawl-icon{width:42px;height:42px;filter:drop-shadow(0 3px 1px rgba(0,0,0,.7))}
body.registration-preview-experience .guest-panel-copy{min-width:0;display:flex;flex-direction:column}
body.registration-preview-experience .guest-panel-copy>b{font:900 15px/1.1 "Arial Black","Segoe UI",system-ui,sans-serif}
body.registration-preview-experience .guest-club-preview,body.registration-preview-experience .guest-news-preview{min-width:0;margin:7px 0 0;display:flex;flex-direction:column;gap:3px;align-items:flex-start;color:#fff}
body.registration-preview-experience .guest-club-preview strong,body.registration-preview-experience .guest-news-preview strong{max-width:100%;overflow:hidden;color:#fff;font:800 14px/1.15 "Segoe UI",system-ui,sans-serif;text-overflow:ellipsis;white-space:nowrap}
body.registration-preview-experience .guest-club-preview small,body.registration-preview-experience .guest-news-preview small{color:#aca5b1;font:700 12px/1.2 "Segoe UI",system-ui,sans-serif}
body.registration-preview-experience .guest-last-result{min-height:78px;margin-top:10px;padding:12px 14px;display:grid;grid-template-columns:43px minmax(0,1fr) auto;justify-content:initial;gap:11px;border:1.5px solid #4a3c28;border-radius:17px;background:radial-gradient(circle at 0 50%,rgba(255,188,45,.12),transparent 42%),#111118;box-shadow:0 3px #050407;backdrop-filter:none}
body.registration-preview-experience .guest-last-result>.brawl-icon{width:39px;height:39px;color:#ffc743;filter:drop-shadow(0 3px 1px rgba(0,0,0,.7))}
body.registration-preview-experience .guest-last-result>span{justify-content:center}
body.registration-preview-experience .guest-last-result small{color:#aaa3af;font:800 12px/1.1 "Segoe UI",system-ui,sans-serif}
body.registration-preview-experience .guest-last-result b{margin-top:6px;font:900 15px/1.1 "Arial Black","Segoe UI",system-ui,sans-serif}
body.registration-preview-experience .guest-last-result strong{max-width:135px;color:#ffc94d;font:800 13px/1.25 "Segoe UI",system-ui,sans-serif;text-align:right}
body.registration-preview-experience .guest-registration-start{min-height:58px;margin-top:auto;font:900 19px/1.1 "Arial Black","Segoe UI",system-ui,sans-serif}
@media (max-height:760px){body.registration-preview-experience .guest-onboarding-head{padding-bottom:12px}body.registration-preview-experience .guest-onboarding-head h2{font-size:25px}body.registration-preview-experience .guest-featured-tournament{min-height:96px;padding:11px}body.registration-preview-experience .guest-home-panel{min-height:88px;padding:11px}body.registration-preview-experience .guest-last-result{min-height:68px;padding-top:9px;padding-bottom:9px}}
@media (max-width:365px){body.registration-preview-experience .guest-onboarding-head{min-height:0;padding-left:2px;padding-right:2px}body.registration-preview-experience .guest-onboarding-head h2{font-size:24px}body.registration-preview-experience .guest-onboarding-head p{font-size:12px}body.registration-preview-experience .guest-featured-tournament{grid-template-columns:48px minmax(0,1fr) auto}body.registration-preview-experience .guest-featured-icon,body.registration-preview-experience .guest-featured-icon .brawl-icon{width:46px;height:46px}body.registration-preview-experience .guest-featured-copy b{font-size:16px}body.registration-preview-experience .guest-featured-side{min-width:47px}body.registration-preview-experience .guest-home-panel{grid-template-columns:39px minmax(0,1fr);padding-left:10px;padding-right:10px}body.registration-preview-experience .guest-panel-icon,body.registration-preview-experience .guest-panel-icon .brawl-icon{width:37px;height:37px}body.registration-preview-experience .guest-panel-copy>b{font-size:14px}body.registration-preview-experience .guest-last-result{grid-template-columns:36px minmax(0,1fr)}body.registration-preview-experience .guest-last-result>.brawl-icon{width:34px;height:34px}body.registration-preview-experience .guest-last-result strong{grid-column:2;max-width:none;text-align:left}}

/* Guest home v3: the commander becomes the central visual, cards stay readable. */
body.registration-preview-experience .phone-shell{background:#03060c}
body.registration-preview-experience #guestOnboarding:not([hidden]){isolation:isolate;overflow:hidden;position:relative;padding-top:0}
body.registration-preview-experience #guestOnboarding:before{content:"";display:block;position:absolute;z-index:-2;inset:0 -12px;background:url("assets/registration-ruffs-bg-v1.png") center -76px/100% auto no-repeat;opacity:.6;filter:saturate(.72) brightness(.56)}
body.registration-preview-experience #guestOnboarding:after{content:"";display:block;position:absolute;z-index:-1;inset:0 -12px;height:auto;background:linear-gradient(180deg,#03060c 0%,rgba(3,6,12,.86) 13%,rgba(3,6,12,.24) 35%,rgba(3,6,12,.34) 58%,rgba(3,6,12,.92) 80%,#03060c 100%),radial-gradient(circle at 50% 45%,transparent 8%,rgba(2,4,10,.43) 92%)}
body.registration-preview-experience .guest-onboarding-head{min-height:190px;padding:27px 3px 18px;position:relative}
body.registration-preview-experience .guest-onboarding-head h2{max-width:360px;text-shadow:0 3px 16px #000,0 2px #000}
body.registration-preview-experience .guest-onboarding-head p{max-width:330px;color:#d0cbd4;text-shadow:0 2px 10px #000}
body.registration-preview-experience .guest-featured-tournament{background:radial-gradient(circle at 0 45%,rgba(255,188,45,.2),transparent 39%),rgba(10,10,16,.84);box-shadow:0 3px #050407,0 12px 28px rgba(0,0,0,.28);backdrop-filter:blur(12px)}
body.registration-preview-experience .guest-home-panel{background:rgba(10,10,16,.84);box-shadow:0 3px #050407,0 12px 26px rgba(0,0,0,.24);backdrop-filter:blur(12px)}
body.registration-preview-experience .guest-clubs-panel{background:radial-gradient(circle at 0 50%,rgba(145,100,255,.15),transparent 47%),rgba(10,10,16,.84)}
body.registration-preview-experience .guest-news-panel{background:radial-gradient(circle at 0 50%,rgba(65,201,255,.12),transparent 47%),rgba(10,10,16,.84)}
body.registration-preview-experience .guest-last-result{background:radial-gradient(circle at 0 50%,rgba(255,188,45,.1),transparent 42%),rgba(10,10,16,.84);box-shadow:0 3px #050407,0 12px 26px rgba(0,0,0,.24);backdrop-filter:blur(12px)}
body.registration-preview-experience .guest-registration-start{box-shadow:inset 0 1px rgba(255,229,172,.62),0 8px 25px rgba(159,39,5,.38)}
@media (max-height:760px){body.registration-preview-experience .guest-onboarding-head{min-height:145px;padding-top:18px}body.registration-preview-experience #guestOnboarding:before{background-position:center -90px}body.registration-preview-experience .guest-featured-tournament{min-height:91px}body.registration-preview-experience .guest-home-panel{min-height:84px}body.registration-preview-experience .guest-last-result{min-height:64px}}
@media (max-width:365px){body.registration-preview-experience .guest-onboarding-head{min-height:165px;padding-top:20px}body.registration-preview-experience #guestOnboarding:before{background-size:112% auto;background-position:center -60px}}

/* Guest home v4: a dedicated character stage keeps Ruffs fully visible. */
body.registration-preview-experience #guestOnboarding:before,body.registration-preview-experience #guestOnboarding:after{display:none}
body.registration-preview-experience .guest-onboarding-head{min-height:0;padding:24px 3px 4px;position:relative;z-index:2}
body.registration-preview-experience .guest-character-stage{height:235px;margin:-12px -2px 0;position:relative;background:url("assets/registration-ruffs-bg-v1.png") center -52px/230px auto no-repeat;opacity:.82;filter:saturate(.78) brightness(.66);pointer-events:none;-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 10%,#000 82%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0%,#000 10%,#000 82%,transparent 100%)}
body.registration-preview-experience .guest-featured-tournament{z-index:2;margin-top:-52px}
@media (max-height:760px){body.registration-preview-experience .guest-onboarding-head{min-height:0;padding-top:15px}body.registration-preview-experience .guest-character-stage{height:180px;margin-top:-10px;background-size:190px auto;background-position:center -43px}body.registration-preview-experience .guest-featured-tournament{margin-top:-45px}body.registration-preview-experience .guest-registration-start{min-height:54px}}
@media (max-width:365px){body.registration-preview-experience .guest-onboarding-head{min-height:0;padding-top:18px}body.registration-preview-experience .guest-character-stage{height:215px;margin-left:-10px;margin-right:-10px;background-size:215px auto;background-position:center -48px}body.registration-preview-experience .guest-featured-tournament{margin-top:-48px}}

/* Guest preview: only the essential orientation and action remain. */
body.registration-preview-experience .guest-character-stage{flex:1;min-height:300px;height:auto;margin:-8px -2px 0;background-size:min(76vw,300px) auto;background-position:center top}
body.registration-preview-experience .guest-registration-start{flex:0 0 auto;margin-top:0}
@media (max-height:760px){body.registration-preview-experience .guest-character-stage{min-height:230px;height:auto;margin-top:-8px;background-size:min(68vw,245px) auto;background-position:center top}}
@media (max-width:365px){body.registration-preview-experience .guest-character-stage{min-height:270px;height:auto;margin-left:-10px;margin-right:-10px;background-size:min(78vw,270px) auto;background-position:center top}}

/* Registration preview shares the exact cinematic background with every next step. */
body.registration-preview-experience #guestOnboarding:before{content:"";display:block;position:absolute;z-index:-2;inset:0;background:url("assets/registration-ruffs-bg-v1.png") center 45%/cover no-repeat;opacity:.48;filter:saturate(.76) brightness(.58)}
body.registration-preview-experience #guestOnboarding:after{content:"";display:block;position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,rgba(2,5,12,.96) 0%,rgba(2,5,12,.32) 24%,rgba(2,5,12,.12) 53%,rgba(2,5,12,.82) 78%,#03060c 100%),radial-gradient(circle at 50% 50%,transparent 20%,rgba(1,3,8,.5) 86%);pointer-events:none}
body.registration-preview-experience .guest-onboarding-head{padding:30px 18px 0;display:flex;flex-direction:column;align-items:center;text-align:center}
body.registration-preview-experience .guest-onboarding-head .eyebrow{display:block;color:rgba(255,255,255,.5);font:800 9px/1.2 "Segoe UI",system-ui,sans-serif;letter-spacing:1.45px}
body.registration-preview-experience .guest-onboarding-head h2{max-width:350px;margin:0;font:800 clamp(26px,7cqi,32px)/1.08 "Segoe UI",system-ui,sans-serif;letter-spacing:-.55px;text-shadow:0 2px 14px #000}
body.registration-preview-experience .guest-character-stage{flex:1;min-height:250px;margin:0;background:none;opacity:1;filter:none;-webkit-mask-image:none;mask-image:none}
body.registration-preview-experience .guest-onboarding-action{position:relative;z-index:2;padding:0 2px 0}
body.registration-preview-experience .guest-onboarding-action>p{max-width:340px;margin:0 auto 16px;color:rgba(255,255,255,.72);font:600 14px/1.45 "Segoe UI",system-ui,sans-serif;text-align:center;text-shadow:0 1px 8px #000}
body.registration-preview-experience .guest-registration-start{width:100%;margin:0}
@media (max-height:760px){body.registration-preview-experience .guest-onboarding-head{padding-top:22px}body.registration-preview-experience .guest-character-stage{min-height:190px}body.registration-preview-experience .guest-onboarding-action>p{margin-bottom:12px;font-size:13px}}
@media (max-width:365px){body.registration-preview-experience .guest-onboarding-head{padding:24px 12px 0}body.registration-preview-experience .guest-onboarding-head h2{font-size:25px}body.registration-preview-experience .guest-character-stage{min-height:220px;margin:0;background:none}body.registration-preview-experience .guest-onboarding-action>p{font-size:13px}}

/* One viewport-anchored backdrop prevents the artwork from jumping between steps. */
body.registration-preview-experience,body.registration-experience{--registration-art-veil:.56}
body.registration-preview-visible .phone-shell,body.registration-experience .phone-shell{max-width:430px;background:linear-gradient(180deg,rgba(2,5,12,.96) 0%,rgba(2,5,12,.32) 24%,rgba(2,5,12,.12) 53%,rgba(2,5,12,.82) 78%,#03060c 100%),radial-gradient(circle at 50% 50%,transparent 20%,rgba(1,3,8,.5) 86%),linear-gradient(rgba(3,7,16,var(--registration-art-veil)),rgba(3,7,16,var(--registration-art-veil))),linear-gradient(#0a1427,#0a1427),url("assets/registration-ruffs-bg-v1.png") center 45%/cover no-repeat,#03060c;background-blend-mode:normal,normal,normal,color,normal,normal}
body[data-registration-background="soft"]{--registration-art-veil:.18}
body[data-registration-background="subtle"]{--registration-art-veil:.36}
body[data-registration-background="ghost"]{--registration-art-veil:.56}
body.registration-preview-experience #guestOnboarding:before,body.registration-preview-experience #guestOnboarding:after,body.registration-experience #registrationFlow:before,body.registration-experience #registrationFlow:after{display:none}
body.registration-experience #registrationFlow:not([hidden]){background:transparent}

/* QA registration pages use one identical frame for unbiased visual comparison. */
body.registration-qa-preview .topbar,body.registration-qa-preview .bottom-nav{display:none}
body.registration-qa-preview .screens{height:100dvh;padding:5px;overflow:hidden}
body.registration-qa-preview #screen-profile.active{height:100%;min-height:0;display:flex;padding:0}
body.registration-qa-preview #guestOnboarding:not([hidden]){width:100%;height:100%;min-height:0;margin:0;padding:0 20px 18px;border:1px solid rgba(255,255,255,.045);border-radius:34px;background:transparent;box-shadow:inset 0 0 80px rgba(0,0,0,.55)}
@media (max-width:365px){body.registration-qa-preview #guestOnboarding:not([hidden]){padding-left:14px;padding-right:14px;border-radius:28px}}

/* Registration start: only orientation, tag input and the primary action. */
body.registration-experience .registration-flow-head p:empty{display:none}
body.registration-experience #registrationFlow[data-registration-state="start"] .registration-tag-form{padding:17px;gap:10px}
body.registration-experience #registrationFlow[data-registration-state="start"] .registration-tag-form>label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.registration-experience .registration-start-copy{margin:0 0 3px;display:flex;flex-direction:column;gap:2px;color:#fff;font:700 14px/1.35 "Segoe UI",system-ui,sans-serif}
body.registration-experience .registration-start-copy span:last-child{color:rgba(255,255,255,.68)}
body.registration-experience .registration-start-copy strong{color:#ffb344;font-weight:800}
body.registration-experience .registration-tag-guide{width:100%;aspect-ratio:848/391;display:block;object-fit:cover;object-position:center;border:1px solid rgba(255,255,255,.1);border-radius:13px;background:#06101e;box-shadow:inset 0 1px rgba(255,255,255,.025),0 8px 22px rgba(0,0,0,.28)}
body.registration-experience .registration-tag-input{min-height:56px;display:flex;align-items:center;overflow:hidden;border:1px solid rgba(255,255,255,.2);border-radius:13px;background:rgba(3,5,10,.8);transition:border-color .16s ease,box-shadow .16s ease}
body.registration-experience .registration-tag-input:focus-within{border-color:#ff932f;box-shadow:0 0 0 3px rgba(255,123,28,.12)}
body.registration-experience .registration-tag-input>span{padding-left:15px;color:#ffb13d;font:800 19px/1 "Segoe UI",system-ui,sans-serif}
body.registration-experience .registration-tag-input input{min-width:0;min-height:54px;padding:13px 15px 13px 5px;border:0;border-radius:0;background:transparent;box-shadow:none!important;outline:0}
body.registration-experience #registrationFlow[data-registration-state="start"] .registration-tag-form .primary-action{margin-top:1px}
body.registration-experience .registration-verification-visual{width:100%;min-height:154px;margin:0 0 10px;padding:20px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:linear-gradient(145deg,rgba(15,21,31,.88),rgba(5,8,14,.92));box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 10px 26px rgba(0,0,0,.3)}
body.registration-experience .registration-verification-icon{width:104px;height:104px;flex:0 0 104px;border:0;border-radius:8px;background-color:#020205;background-image:url("assets/registration-avatar-transition-source.png");background-size:378.7% auto;background-repeat:no-repeat;box-shadow:0 7px 18px rgba(0,0,0,.34);filter:none}
body.registration-experience .registration-verification-skull{order:1;background-position:12% 55.3%}
body.registration-experience .registration-verification-edgar{order:3;background-position:86.6% 55.3%}
body.registration-experience .registration-verification-arrow{position:relative;width:48px;height:24px;order:2;display:block;flex:0 0 48px;overflow:hidden;color:transparent;font-size:0}
body.registration-experience .registration-verification-arrow::before{content:"";position:absolute;top:50%;left:5px;width:34px;height:1px;background:linear-gradient(90deg,rgba(255,178,65,.28),#ffb241);transform:translateY(-50%)}
body.registration-experience .registration-verification-arrow::after{content:"";position:absolute;top:50%;right:6px;width:8px;height:8px;border-top:2px solid #ffb241;border-right:2px solid #ffb241;transform:translateY(-50%) rotate(45deg)}
body.registration-experience .registration-verification-visual.is-to-skull .registration-verification-skull{order:3}
body.registration-experience .registration-verification-visual.is-to-skull .registration-verification-edgar{order:1}
body.registration-experience .registration-account-chip{margin:12px 0;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid rgba(255,255,255,.09);border-radius:11px;background:rgba(255,255,255,.045)}
body.registration-experience .registration-account-chip small{color:rgba(255,255,255,.48);font:700 10px/1.2 "Segoe UI",system-ui,sans-serif;text-transform:uppercase;letter-spacing:.7px}
body.registration-experience .registration-account-chip strong{min-width:0;overflow:hidden;color:#fff;font:700 13px/1.2 "Segoe UI",system-ui,sans-serif;text-overflow:ellipsis;white-space:nowrap}
body.registration-experience .registration-verification-status{margin-top:10px!important;padding:9px 10px;border:1px solid rgba(255,104,86,.32);border-radius:10px;background:rgba(112,25,20,.25);color:#ff9a89!important;font:600 12px/1.4 "Segoe UI",system-ui,sans-serif!important}
body.registration-experience .registration-tag-form:not([hidden]),body.registration-experience .registration-challenge:not([hidden]),body.registration-experience .registration-complete:not([hidden]){animation:registration-content-in .2s ease-out both}
@keyframes registration-content-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media (prefers-reduced-motion:reduce){body.registration-experience .registration-tag-form:not([hidden]),body.registration-experience .registration-challenge:not([hidden]),body.registration-experience .registration-complete:not([hidden]){animation:none}}
@media (max-height:690px){body.registration-experience .registration-tag-guide{height:140px;aspect-ratio:auto}body.registration-experience .registration-verification-visual{min-height:121px;padding-top:10px;padding-bottom:10px}body.registration-experience .registration-verification-icon{width:88px;height:88px;flex-basis:88px}body.registration-experience .registration-verification-arrow{width:42px;flex-basis:42px}}

/* One typography system across the complete registration journey. */
body.registration-preview-experience,body.registration-experience{--registration-title-font:800 28px/1.1 "Segoe UI",system-ui,sans-serif;--registration-copy-font:600 13px/1.45 "Segoe UI",system-ui,sans-serif;--registration-action-font:800 18px/1.1 "Segoe UI",system-ui,sans-serif}
body.registration-preview-experience #guestOnboarding .guest-onboarding-head h2,body.registration-experience #registrationFlow .registration-flow-head h2{font:var(--registration-title-font);letter-spacing:-.45px;text-shadow:0 2px 14px #000}
body.registration-preview-experience .guest-onboarding-action>p,body.registration-experience .registration-flow-head p{font:var(--registration-copy-font);color:rgba(255,255,255,.7)}
body.registration-experience .registration-bot-message,body.registration-experience .registration-complete .registration-community small{font:var(--registration-copy-font)}
body.registration-experience .registration-bot-message>b,body.registration-experience .registration-complete .registration-community b{font:700 14px/1.4 "Segoe UI",system-ui,sans-serif}
body.registration-preview-experience .guest-registration-start,body.registration-experience .primary-action{font:var(--registration-action-font)}
body.registration-experience .secondary-action{font:700 13px/1.2 "Segoe UI",system-ui,sans-serif}
@media (max-width:365px){body.registration-preview-experience,body.registration-experience{--registration-title-font:800 25px/1.1 "Segoe UI",system-ui,sans-serif;--registration-copy-font:600 13px/1.45 "Segoe UI",system-ui,sans-serif}}

.tournament-guide{padding:12px;border:1px solid #685022;border-radius:12px;background:#211b16;color:#eedfbd;font:500 13px/1.5 system-ui}.tournament-manage-button{width:100%;margin:0 0 14px;font-size:13px;min-height:46px}.tournament-leaderboard .leaderboard-player small{display:block;margin-top:5px;font:600 9px/1.4 system-ui;color:var(--muted)}
