:root{--bg:#09090b;--panel:#101013;--panel2:#151519;--panel3:#1a1a1f;--line:#2a2a31;--text:#f4f1f2;--muted:#99969f;--red:#ff334f;--red2:#d81835;--green:#38d88f;--purple:#a978ff}
*{box-sizing:border-box}html{scroll-behavior:smooth}html,body{min-height:100%}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);overflow-x:hidden}button,input,select{font:inherit}.ambient{position:fixed;pointer-events:none;z-index:-1;filter:blur(70px);opacity:.18;border-radius:50%}.ambient-left{width:550px;height:420px;left:-260px;top:30px;background:#7c1024}.ambient-right{width:500px;height:420px;right:-220px;top:20px;background:#8d5a1a}
.site-header{height:72px;display:grid;grid-template-columns:300px 1fr 330px;align-items:center;padding:0 28px;border-bottom:1px solid #262329;background:rgba(10,10,12,.94);backdrop-filter:blur(18px);position:sticky;top:0;z-index:50}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.brand-emblem{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:radial-gradient(circle at 30% 20%,#ff4d63,#910f25 70%);border:1px solid #ff526755;box-shadow:0 0 30px #ff334f2a;font-weight:950;font-size:13px}.brand-copy{display:flex;flex-direction:column;line-height:1.02}.brand-copy strong{font-size:17px}.brand-copy small{font-size:9px;letter-spacing:.2em;color:#8f8991;margin-top:5px}.main-nav{justify-self:center;display:flex;gap:6px;padding:6px;border:1px solid #2c292f;border-radius:18px;background:#0f0f12}.main-nav a{color:#aaa5ad;text-decoration:none;font-size:13px;font-weight:650;padding:9px 14px;border-radius:12px}.main-nav a:hover{color:white;background:#19191d}.header-actions{display:flex;justify-content:flex-end;align-items:center;gap:9px}#status{font-size:12px;font-weight:800;color:#aaa;white-space:nowrap}#status i{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#666}#status[data-mode="offline"]{color:#d97784}#status[data-mode="offline"] i{background:#ff334f}#status[data-mode="live"],#status[data-mode="watching"]{color:#75e9ad}#status[data-mode="live"] i,#status[data-mode="watching"] i{background:var(--green);box-shadow:0 0 12px #38d88f88}.go-live,.stop-live,.channel-search button,.ghost-btn,#chatForm button,.control-btn{border:0;color:white;cursor:pointer;font-weight:800}.go-live{padding:11px 17px;border-radius:11px;background:linear-gradient(135deg,#ff3b58,#ec2445);box-shadow:0 0 24px #ff334f25}.go-live:hover{filter:brightness(1.08)}.pulse-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:white;margin-right:7px}.stop-live{padding:11px 14px;border-radius:11px;background:#3a1b22;color:#ff9aaa}.stop-live:disabled,button:disabled{opacity:.42;cursor:not-allowed}
.channel-bar{min-height:62px;padding:10px 28px;display:flex;justify-content:space-between;gap:18px;align-items:center;border-bottom:1px solid #1e1c21;background:#0c0c0f}.channel-search{display:flex;align-items:center;min-width:360px;max-width:660px;flex:1;height:40px;border:1px solid #343139;border-radius:12px;background:#141418;overflow:hidden}.search-icon{color:#77717a;padding-left:13px}.channel-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:white;padding:0 11px}.channel-search button{align-self:stretch;background:#232228;padding:0 17px;border-left:1px solid #343139}.identity-controls{display:flex;gap:8px}.identity-controls input,.identity-controls select{height:40px;border:1px solid #343139;border-radius:11px;background:#151519;color:#dedbe1;padding:0 11px;outline:0}.identity-controls input{width:130px}.identity-controls select{width:155px}.identity-controls input:focus,.identity-controls select:focus,.channel-search:focus-within{border-color:#76404b}
.layout{display:grid;grid-template-columns:215px minmax(0,1fr) 320px;min-height:calc(100vh - 134px)}.left-rail{border-right:1px solid #222027;background:#0e0e11;padding:20px 12px}.rail-title{font-size:10px;letter-spacing:.16em;font-weight:900;color:#bbb6bd;padding:0 8px 12px}.green-dot,.red-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:8px}.green-dot{background:var(--green);box-shadow:0 0 12px #38d88f88}.red-dot{background:var(--red)}.channel-card{display:flex;align-items:center;gap:10px;padding:10px 8px;border-radius:12px;text-decoration:none;color:inherit;background:#17171b;border:1px solid #242329}.channel-card:hover{background:#1b1b20}.avatar,.stream-avatar{display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#ff3a55,#7b0e21);font-weight:950;box-shadow:inset 0 0 0 1px #ffffff10}.avatar{width:38px;height:38px;font-size:11px}.channel-copy{display:flex;flex-direction:column;min-width:0;flex:1}.channel-copy b,.channel-copy small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.channel-copy b{font-size:13px}.channel-copy small{font-size:11px;color:#8f8993;margin-top:3px}.channel-live{font-size:9px;font-weight:900;color:#ff6074}.rail-note{font-size:11px;line-height:1.55;color:#6f6a73;padding:18px 8px}
.main-content{min-width:0;padding:26px 30px 40px;background:radial-gradient(circle at 20% 0%,#3d111a24,transparent 36%),radial-gradient(circle at 95% 0%,#5d431526,transparent 34%)}.eyebrow{font-size:10px;letter-spacing:.15em;font-weight:900;color:#bdb8bf;margin:0 0 16px}.player-card{border:1px solid #302c32;border-radius:20px;overflow:hidden;background:#0d0d0f;box-shadow:0 24px 70px #0008,0 0 60px #4f10191a}.player-wrap{position:relative;background:#020203;aspect-ratio:16/9;max-height:calc(100vh - 285px);min-height:350px;display:grid;place-items:center}.player-wrap video{width:100%;height:100%;object-fit:contain;background:#030304;display:block}.player-shade{position:absolute;inset:auto 0 0;height:130px;background:linear-gradient(transparent,#000b);pointer-events:none}.live-badge{position:absolute;left:18px;top:18px;background:#ff2948;border:1px solid #ff6377;color:white;border-radius:6px;padding:6px 9px;font-size:11px;font-weight:950;letter-spacing:.06em;box-shadow:0 0 18px #ff29484f}.player-hint{position:absolute;left:18px;bottom:56px;max-width:70%;background:#08080bd9;border:1px solid #29272d;color:#d8d4da;padding:8px 11px;border-radius:9px;font-size:12px;pointer-events:none}.player-controls{position:absolute;left:14px;right:14px;bottom:12px;display:flex;align-items:center;gap:8px}.control-spacer{flex:1}.control-btn{height:34px;border-radius:9px;background:#17171bd9;border:1px solid #343139;padding:0 10px}.control-btn:hover{background:#232329}.control-btn.icon-only{font-size:18px;width:38px;padding:0}.control-stat{font-size:9px;font-weight:900;letter-spacing:.1em;color:#78e2aa;background:#07140ed9;border:1px solid #194b35;border-radius:8px;padding:7px 9px}.stream-meta{display:grid;grid-template-columns:auto 1fr auto;gap:15px;padding:18px 20px;background:#0f0f12}.stream-avatar{width:50px;height:50px;font-size:13px}.title-row{display:flex;align-items:center;gap:7px}.stream-title h1{margin:0;font-size:19px}.verified{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#ff334f;font-size:10px}.stream-title p{margin:4px 0 0;color:#b9b4bc;font-size:13px}.tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.tags span{border:1px solid #302e34;background:#19191d;color:#aaa5ae;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:750}.stream-actions{display:flex;align-items:flex-start;gap:9px}.viewers{font-size:12px;color:#dbd6dc;padding:9px 0}.ghost-btn{padding:9px 12px;border-radius:9px;background:#1d1d22;border:1px solid #343139}.ghost-btn:hover{background:#26262c}.feature-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.feature-strip>div{position:relative;min-height:112px;border:1px solid #2a272e;background:#101014;border-radius:16px;padding:16px 16px 14px 52px}.feature-strip span{position:absolute;left:15px;top:15px;color:#ff5167;font-size:11px;font-weight:950}.feature-strip b{display:block;font-size:13px}.feature-strip small{display:block;color:#77727b;line-height:1.45;margin-top:7px;font-size:11px}
.chat-card{height:calc(100vh - 134px);position:sticky;top:134px;border-left:1px solid #222027;background:#0e0e11;display:flex;flex-direction:column}.chat-title{height:51px;padding:0 14px;border-bottom:1px solid #242128;display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:900;letter-spacing:.08em}.chat-title small{font-size:9px;color:#5ed99a}.chat-card #messages{flex:1;overflow:auto;padding:12px}.msg{display:flex;gap:8px;padding:7px 2px;line-height:1.35;font-size:12px}.chat-avatar{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#29272e;font-size:10px;font-weight:900;flex:0 0 auto}.msg b{color:#ff7385}.msg span{color:#ddd9de;overflow-wrap:anywhere}#chatForm{padding:12px;border-top:1px solid #242128;display:grid;grid-template-columns:1fr auto;gap:8px}#chatForm input{min-width:0;border:1px solid #343139;border-radius:10px;background:#151519;color:white;padding:10px;outline:none}#chatForm input:focus{border-color:#70414a}#chatForm button{border-radius:10px;padding:0 12px;background:#ff334f}
@media(max-width:1180px){.site-header{grid-template-columns:220px 1fr 280px}.main-nav a:nth-child(3),.main-nav a:nth-child(4){display:none}.layout{grid-template-columns:70px minmax(0,1fr) 290px}.left-rail{padding-inline:8px}.rail-title,.channel-copy,.channel-live,.rail-note{display:none}.channel-card{justify-content:center}.main-content{padding:22px}.identity-controls input{display:none}}
@media(max-width:860px){.site-header{height:auto;min-height:66px;grid-template-columns:1fr auto;padding:9px 12px}.main-nav{display:none}.header-actions #status{display:none}.channel-bar{padding:8px 12px;flex-wrap:wrap}.channel-search{min-width:0;width:100%;order:2}.identity-controls{margin-left:auto}.identity-controls select{width:140px}.layout{display:block}.left-rail{display:none}.main-content{padding:16px 10px}.player-wrap{min-height:220px}.player-card{border-radius:14px}.stream-meta{grid-template-columns:auto 1fr}.stream-actions{grid-column:1/-1;justify-content:flex-end}.feature-strip{grid-template-columns:1fr}.chat-card{position:static;height:420px;border-left:0;border-top:1px solid #222027}.control-btn span{display:none}}

.login-btn{height:38px;padding:0 14px;border:1px solid #3a343b;border-radius:11px;background:#151519;color:#eee;cursor:pointer;font-weight:800}.login-btn:hover{background:#202026;border-color:#5a4148}.login-btn.logged-in{border-color:#275d45;background:#10251b;color:#78e5ae}.account-pill{display:flex;align-items:center;height:40px;padding:0 12px;border:1px solid #343139;border-radius:11px;background:#151519;color:#aaa5ad;font-size:12px;font-weight:700;white-space:nowrap}.login-dialog{width:min(430px,calc(100% - 28px));border:1px solid #373139;border-radius:20px;padding:0;background:#111115;color:#f5f1f2;box-shadow:0 40px 120px #000c}.login-dialog::backdrop{background:#000b;backdrop-filter:blur(8px)}.login-box{padding:26px}.login-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}.login-head small{color:#ff5b70;font-size:9px;font-weight:900;letter-spacing:.15em}.login-head h2{margin:5px 0 0;font-size:22px}.dialog-close{width:36px;height:36px;border:1px solid #343139;border-radius:10px;background:#18181c;color:#aaa;cursor:pointer;font-size:21px}.login-box label{display:grid;gap:7px;margin-top:13px;color:#aaa5ad;font-size:11px;font-weight:800;letter-spacing:.04em}.login-box label input{height:46px;border:1px solid #343139;border-radius:11px;background:#0b0b0e;color:white;padding:0 12px;outline:none}.login-box label input:focus{border-color:#a23c4d;box-shadow:0 0 0 3px #ff334f12}.login-error{min-height:20px;margin:11px 0 3px;color:#ff7789;font-size:12px}.login-submit{width:100%;height:46px;border:0;border-radius:11px;background:linear-gradient(135deg,#ff3b58,#ec2445);color:white;font-weight:900;cursor:pointer}.login-submit:disabled{opacity:.55}.login-note{margin:12px 0 0;color:#726d75;font-size:10px;line-height:1.45}

.live-streamer-list{display:flex;flex-direction:column;gap:8px}.rail-count{float:right;color:#ff435c;font-size:12px}.no-live-streamers{padding:14px 8px;color:#6f6a73;font-size:11px;line-height:1.45}.channel-card.active{border-color:#4b2630;background:#1b171b;box-shadow:0 0 0 1px #ff36531a}.channel-card .avatar{flex:0 0 auto}.channel-live{padding:4px 6px;border-radius:6px;background:#ff284014}.left-rail{overflow-y:auto}.live-streamer-list .channel-card{margin:0}

/* v10: compact broadcast controls + full player */
.broadcast-bar{position:relative;display:flex;align-items:center;justify-content:center;min-height:58px;padding:8px 26px;background:#0d0d10;border-bottom:1px solid #252229}
.broadcast-center{display:flex;justify-content:center}.broadcast-center .go-live{min-width:168px;justify-content:center;font-size:14px}
.broadcast-right{position:absolute;right:26px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:12px}.broadcast-right select{height:40px;border:1px solid #302d34;border-radius:10px;background:#151519;color:#ddd;padding:0 12px}
.player-wrap{width:100%;aspect-ratio:16/9;max-height:none;min-height:0;overflow:hidden;display:block;background:#000}
.player-wrap video{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;background:#000}
.login-btn{display:flex;align-items:center;gap:8px;padding:5px 10px 5px 5px}.login-avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#ff3a55,#7b0e21);font-size:11px;font-weight:950;background-size:cover;background-position:center}.login-avatar.has-image{font-size:0}.stream-avatar{overflow:hidden}.stream-avatar img{width:100%;height:100%;object-fit:cover;display:block}.stream-avatar img[hidden]{display:none}
@media(max-width:860px){.broadcast-bar{justify-content:flex-start;padding:8px 12px}.broadcast-right{right:12px}.broadcast-center .go-live{min-width:120px}.broadcast-right select{display:none}.player-wrap{aspect-ratio:16/9}}


/* v15: real W3Arena avatars in stream chat */
.chat-avatar {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #17191f;
  border: 1px solid rgba(255,255,255,.10);
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  flex: 0 0 34px;
}
.chat-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}
.chat-avatar-fallback {
  background: linear-gradient(135deg, #2a2c33, #17191f);
}


/* v17 — cover the Warcraft III minimap for stream viewers.
   Positioned as percentages so it scales with the 16:9 video. */
.w3a-minimap-cover {
  position: absolute;
  left: 0.65%;
  bottom: 0.7%;
  width: 18.3%;
  height: 25.2%;
  z-index: 8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(42,46,56,.96), rgba(7,8,11,.99) 68%),
    #08090c;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 0 32px rgba(0,0,0,.9);
}
.w3a-minimap-cover img {
  width: 54%;
  height: 54%;
  object-fit: contain;
  opacity: .96;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.7));
}
.player-wrap:fullscreen .w3a-minimap-cover {
  display: flex;
}

/* Do not cover the broadcaster's local preview; only viewers need the mask.
   JS toggles this class while the current browser is the publisher. */
.player-wrap.is-local-source .w3a-minimap-cover {
  display: none;
}


/* v18 audio guidance */
.audio-help {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255,255,255,.68);
}
.audio-help b { color: rgba(255,255,255,.92); }


/* v20 — real W3Arena avatar display in account + live streamer rail */
.login-avatar {
  position: relative;
  flex: 0 0 30px;
  background-image: none !important;
}
.login-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}
.login-btn.logged-in .login-avatar {
  border: 1px solid rgba(89, 226, 154, .42);
  box-shadow: 0 0 0 2px rgba(65, 197, 126, .08);
}
.login-btn.logged-in::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: -3px;
  border-radius: 50%;
  background: #45df91;
  box-shadow: 0 0 8px rgba(69,223,145,.65);
}
.channel-card .avatar {
  width: 40px;
  height: 40px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.channel-card .avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}


/* v21 — W3Arena Rank Center */
.nav-ranks-btn{border:0;background:transparent;color:#aaa5ad;font:inherit;font-weight:800;cursor:pointer;padding:10px 12px;border-radius:9px}.nav-ranks-btn:hover{color:#fff;background:#1a181d}.ranks-dialog{width:min(980px,calc(100% - 28px));max-height:min(820px,calc(100vh - 34px));padding:0;border:1px solid #3b2830;border-radius:22px;background:#0d0d10;color:#f4f1f3;box-shadow:0 45px 140px #000e;overflow:hidden}.ranks-dialog::backdrop{background:#000c;backdrop-filter:blur(8px)}.ranks-shell{min-height:620px;display:flex;flex-direction:column;background:radial-gradient(circle at 15% 0,#30101655,transparent 34%),linear-gradient(180deg,#111115,#0b0b0e)}.ranks-header{display:flex;align-items:flex-start;justify-content:space-between;padding:22px 24px 18px;border-bottom:1px solid #29232a}.ranks-brand{display:flex;gap:14px;align-items:center}.ranks-brand img{width:52px;height:52px;object-fit:contain;filter:drop-shadow(0 5px 18px #0008)}.ranks-brand small,.rank-kicker{display:block;color:#ff4a63;font-size:9px;letter-spacing:.16em;font-weight:950}.ranks-brand h2{margin:3px 0 2px;font-size:24px}.ranks-brand p{margin:0;color:#817b84;font-size:11px}.ranks-tabs{display:flex;gap:7px;padding:12px 24px;border-bottom:1px solid #262127;background:#0b0b0e}.rank-tab{border:1px solid #302a31;border-radius:10px;background:#151418;color:#aaa4ad;padding:10px 15px;font-weight:900;cursor:pointer}.rank-tab.active{color:#fff;border-color:#8a2f3d;background:linear-gradient(180deg,#45161f,#261116);box-shadow:inset 0 -2px #ff3652}.rank-panel{display:none;padding:22px 24px 26px;overflow:auto}.rank-panel.active{display:block}.rank-toolbar{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:16px}.rank-toolbar h3{margin:4px 0 0;font-size:18px}.rank-search{display:flex;gap:8px;min-width:min(440px,55%)}.rank-search input{flex:1;min-width:0;height:42px;border:1px solid #373039;border-radius:10px;background:#121216;color:#fff;padding:0 12px;outline:none}.rank-search input:focus{border-color:#8e3545;box-shadow:0 0 0 3px #ff334f12}.rank-search button{height:42px;border:0;border-radius:10px;background:linear-gradient(135deg,#ff3c59,#d91f40);color:#fff;padding:0 15px;font-weight:900;cursor:pointer}.local-rank-profile{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:12px 14px;border:1px solid #38272d;border-radius:14px;background:linear-gradient(90deg,#1c1216,#121216)}.rank-profile-avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#2b1720;border:1px solid #70404a;font-weight:950}.rank-profile-avatar img{width:100%;height:100%;object-fit:cover}.rank-profile-name{font-size:16px;font-weight:950}.rank-profile-global{display:flex;gap:10px;align-items:center;margin-top:4px;color:#817b84;font-size:11px}.rank-profile-global b{font-size:12px}.rank-stat-row{display:flex;justify-content:space-between;align-items:center;margin:-4px 0 10px;color:#aaa4ad;font-size:11px}.rank-stat-row b{color:#fff}.rank-stat-row small{color:#625d65}.rank-table-card{border:1px solid #2d2830;border-radius:16px;overflow:hidden;background:#0f0f13}.rank-table-head,.rank-row{display:grid;grid-template-columns:1fr 220px;align-items:center;min-height:48px;padding:0 16px;gap:14px}.rank-table-head{min-height:42px;background:#17151a;color:#77717b;font-size:9px;font-weight:950;letter-spacing:.11em;text-transform:uppercase}.rank-row{border-top:1px solid #252129;color:#dcd8dd;font-size:12px}.rank-row:hover{background:#161419}.rank-global-grid{grid-template-columns:90px 130px minmax(220px,1fr)}.rank-id{display:inline-grid;place-items:center;min-width:32px;height:25px;padding:0 8px;border-radius:7px;background:#25151a;border:1px solid #542833;color:#ff7184;font-size:11px}.rank-level{font-variant-numeric:tabular-nums;color:#f2eef1}.rank-color-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:9px;box-shadow:0 0 9px currentColor}.local-position{display:inline-block;padding:6px 9px;border-radius:8px;background:#14271e;border:1px solid #28573f;color:#73dda7;font-size:10px}.rank-empty{padding:30px 18px;text-align:center;color:#77717a;font-size:12px}.global-rank-table .rank-table-body{max-height:450px;overflow:auto}
@media(max-width:760px){.ranks-dialog{width:calc(100% - 16px)}.ranks-shell{min-height:540px}.ranks-header,.rank-panel{padding-left:14px;padding-right:14px}.ranks-tabs{padding-left:14px;padding-right:14px}.rank-toolbar{align-items:stretch;flex-direction:column}.rank-search{min-width:0;width:100%}.rank-table-head,.rank-row{grid-template-columns:1fr 120px}.rank-global-grid{grid-template-columns:52px 82px minmax(130px,1fr);gap:8px;padding-left:10px;padding-right:10px}.ranks-brand p{display:none}}

/* v22 — W3Arena-inspired navigation, channel browser, stronger audio controls */
.site-header{height:84px;grid-template-columns:330px 1fr 330px;padding:0 22px;background:radial-gradient(circle at 8% 50%,#58121f55,transparent 26%),radial-gradient(circle at 92% 50%,#4a121b45,transparent 25%),linear-gradient(180deg,#0c0c0f,#09090b);border-top:1px solid #ff334f33;border-bottom:1px solid #3b2228;box-shadow:0 12px 40px #0007}
.brand-emblem{width:48px;height:48px;border-radius:14px;font-size:16px;box-shadow:0 0 30px #ff334f44}.brand-copy strong{font-size:21px}.brand-copy strong::first-letter{color:#ff334f}.brand-copy small{font-size:9px;letter-spacing:.22em}
.main-nav{gap:2px;padding:7px;border-radius:22px;background:#0d0e11dd;border-color:#2f2d34;box-shadow:inset 0 1px #ffffff08,0 10px 35px #0005}.main-nav .nav-item{display:flex;align-items:center;gap:8px;min-height:42px;padding:0 16px;border:0;background:transparent;color:#aaa6ad;border-radius:16px;font:700 13px/1 inherit;white-space:nowrap;text-decoration:none;cursor:pointer}.main-nav .nav-item:hover{background:#18181d;color:#fff}.main-nav .nav-item.active{color:#ff4760;background:linear-gradient(180deg,#32141caa,#20111699);box-shadow:inset 0 -2px #ff334f,0 0 22px #ff334f16}.nav-icon{font-size:17px;line-height:1;color:#d9d5db}.nav-item.active .nav-icon{color:#ff4760}.nav-icon.trophy{color:#f5bd3c}.nav-icon.globe{color:#4dc5ff}.header-actions{border-left:1px solid #27252b;padding-left:16px}.login-btn{min-height:46px}
.channel-bar{min-height:58px;background:#0b0b0e;border-bottom-color:#242229}.broadcast-right select{border-radius:11px}#streamCategory{min-width:128px}
.left-rail{padding:16px 10px;background:linear-gradient(180deg,#0d0d10,#0a0a0d);border-right-color:#29242a}.rail-title{padding:0 8px 13px;color:#d6d1d8;font-size:10px}.channel-filters{display:flex;flex-direction:column;gap:5px;padding-bottom:14px;border-bottom:1px solid #262229}.channel-filter{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:7px;width:100%;min-height:42px;padding:6px 9px;border:1px solid transparent;border-radius:11px;background:transparent;color:#aaa6ae;text-align:left;cursor:pointer}.channel-filter:hover{background:#151519;color:#fff}.channel-filter.active{color:#fff;background:linear-gradient(90deg,#501823aa,#201217aa);border-color:#8d2436;box-shadow:inset 3px 0 #ff334f,0 0 22px #ff334f12}.channel-filter>span{display:grid;place-items:center;font-size:15px;color:#ff435d;font-weight:900}.channel-filter b{font-size:12px}.channel-filter em{font-style:normal;font-size:11px;color:#8d8991}.channel-filter.active em{color:#ff5b71}.streamer-list-title{font-size:9px;letter-spacing:.16em;color:#736e77;font-weight:900;padding:15px 8px 8px}.live-streamer-list{gap:6px}.live-streamer-list .channel-card{background:#121216}.rail-note{border-top:1px solid #211f24;margin-top:12px}
.player-controls{gap:7px}.sound-control{display:flex;align-items:center;gap:5px;min-width:82px}.sound-control.has-audio:not([data-muted="1"]){border-color:#265f47}.volume-slider{width:105px;height:4px;accent-color:#ff334f;cursor:pointer}.volume-slider::-webkit-slider-runnable-track{height:4px;border-radius:999px;background:#55515a}.volume-slider::-webkit-slider-thumb{margin-top:-5px}.audio-help{max-width:620px}
@media(max-width:1320px){.site-header{grid-template-columns:260px 1fr 270px}.main-nav .nav-item{padding:0 11px;font-size:12px}.nav-icon{font-size:15px}}
@media(max-width:1080px){.main-nav .nav-item:nth-child(4),.main-nav .nav-item:nth-child(5){display:none}.site-header{grid-template-columns:230px 1fr 250px}}


/* v23 Shop + Donate */
.nav-icon.shop{color:#ff7184}.donate-ghost{border-color:#6d2634!important;color:#ff8b9c!important;background:#281118!important}.donate-ghost:hover{background:#401721!important}
.store-dialog{width:min(1040px,calc(100% - 28px));max-height:calc(100vh - 34px);padding:0;border:1px solid #3a2730;border-radius:22px;background:#0b0b0e;color:#f5f1f4;box-shadow:0 45px 140px #000e;overflow:hidden}.store-dialog::backdrop{background:#000c;backdrop-filter:blur(8px)}.store-shell{max-height:calc(100vh - 36px);overflow:auto;background:radial-gradient(circle at 12% 0,#3a111966,transparent 32%),linear-gradient(180deg,#111115,#09090c)}.store-header{display:flex;align-items:flex-start;justify-content:space-between;padding:22px 24px 18px;border-bottom:1px solid #29232a}.store-brand{display:flex;gap:14px;align-items:center}.store-brand img{width:52px;height:52px;object-fit:contain}.store-brand small,.store-intro>span{display:block;color:#ff4a63;font-size:9px;letter-spacing:.16em;font-weight:950}.store-brand h2{margin:3px 0 2px;font-size:24px}.store-brand p,.store-intro p{margin:0;color:#827c84;font-size:11px}.store-tabs{display:flex;gap:7px;padding:12px 24px;border-bottom:1px solid #262127;background:#0b0b0e}.store-tab{border:1px solid #302a31;border-radius:10px;background:#151418;color:#aaa4ad;padding:10px 17px;font-weight:900;cursor:pointer}.store-tab.active{color:#fff;border-color:#8a2f3d;background:linear-gradient(180deg,#45161f,#261116);box-shadow:inset 0 -2px #ff3652}.store-panel{display:none;padding:22px 24px 8px}.store-panel.active{display:block}.store-intro h3{margin:4px 0 5px;font-size:20px}.shop-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px}.shop-card{display:flex;min-height:205px;flex-direction:column;padding:18px;border:1px solid #312a32;border-radius:16px;background:linear-gradient(180deg,#171419,#0f0f12)}.shop-card:hover{border-color:#6d3240;transform:translateY(-1px)}.shop-card.selected{border-color:#c33a52;box-shadow:0 0 0 2px #ff334f20,0 15px 40px #0007}.shop-card b{font-size:14px}.shop-card span{margin-top:8px;color:#847e87;font-size:11px;line-height:1.5;flex:1}.shop-card strong{font-size:24px;margin:14px 0 10px}.shop-card button{border:0;border-radius:10px;background:#2b151b;color:#ff8a9a;padding:10px;font-weight:900;cursor:pointer}.donation-amounts{display:flex;gap:10px;margin:17px 0}.donation-amounts button{min-width:76px;height:45px;border:1px solid #332d35;border-radius:11px;background:#131317;color:#bbb5bd;font-weight:950;cursor:pointer}.donation-amounts button.active{border-color:#a63849;color:#fff;background:#36131b;box-shadow:inset 0 -2px #ff3652}.custom-donation,.donation-message{display:grid;gap:7px;margin:12px 0;color:#918a94;font-size:10px;font-weight:800}.custom-donation input,.donation-message input{height:43px;border:1px solid #373039;border-radius:10px;background:#121216;color:#fff;padding:0 12px;outline:none}.checkout-card{margin:15px 24px 24px;padding:18px;border:1px solid #332a32;border-radius:18px;background:#101014}.checkout-summary{display:flex;align-items:center;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid #29242a}.checkout-summary span{color:#aaa3ac;font-size:12px}.checkout-summary strong{font-size:23px;color:#fff}.payment-methods{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.payment-method{display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;text-align:left;align-items:center;padding:13px;border:1px solid #322d34;border-radius:13px;background:#151419;color:#fff;cursor:pointer}.payment-method>span{grid-row:1/3;font-size:20px}.payment-method b{font-size:12px}.payment-method small{font-size:9px;color:#77717a}.payment-method.active{border-color:#9b3547;background:#251318;box-shadow:inset 0 0 0 1px #ff365222}.bank-details{margin:12px 0;padding:14px;border:1px solid #314238;border-radius:12px;background:#101a15;color:#c2d8ca;font-size:11px;line-height:1.65}.bank-details b{color:#75e9ad}.store-notice{margin:12px 0;color:#d8b06a;font-size:10px;padding:10px 12px;border:1px solid #594827;border-radius:10px;background:#211b10}.checkout-btn{width:100%;height:48px;border:0;border-radius:12px;background:linear-gradient(135deg,#ff3c59,#d91f40);color:#fff;font-weight:950;cursor:pointer}.checkout-btn:disabled{opacity:.5}.checkout-security{margin:10px 3px 0;color:#68626b;font-size:9px;line-height:1.45;text-align:center}
@media(max-width:980px){.shop-grid{grid-template-columns:1fr 1fr}.store-dialog{width:calc(100% - 16px)}}
@media(max-width:620px){.shop-grid,.payment-methods{grid-template-columns:1fr}.store-header,.store-panel{padding-left:14px;padding-right:14px}.store-tabs{padding-left:14px;padding-right:14px}.checkout-card{margin-left:14px;margin-right:14px}.donation-amounts{display:grid;grid-template-columns:1fr 1fr}.donation-amounts button{width:100%}}

/* v25 payout profile */
.payment-settings-btn{border:1px solid #2c2c34;background:#111217;color:#ddd;border-radius:12px;padding:10px 13px;font-weight:800;cursor:pointer}.payment-settings-btn:hover{border-color:#ff3156;color:#fff}.payout-shell{max-width:760px}.payout-form{display:grid;gap:16px;padding:4px 2px}.payout-toggle{display:flex!important;align-items:center;gap:10px;padding:13px 14px;border:1px solid #2b2c35;border-radius:12px;background:#0e0f13}.payout-toggle input{width:18px;height:18px}.payout-section{border:1px solid #252630;border-radius:14px;background:#0c0d11;padding:16px}.payout-section h3{margin:0 0 4px}.payout-section p{margin:0 0 14px;color:#8e909c;font-size:13px}.payout-section label{display:grid;gap:7px;color:#c8c9d0;font-size:12px;font-weight:800}.payout-section input{width:100%;box-sizing:border-box;background:#101116;border:1px solid #30313a;color:#fff;border-radius:10px;padding:11px 12px;outline:none}.payout-section input:focus{border-color:#ff3156}.payout-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.payout-grid .wide{grid-column:1/-1}.payment-method.unavailable{opacity:.45}.payment-method small{line-height:1.2}@media(max-width:700px){.payout-grid{grid-template-columns:1fr}.payout-grid .wide{grid-column:auto}.payment-settings-btn{padding:9px;font-size:0}.payment-settings-btn::after{content:'⚙';font-size:16px}}

/* v27 saved payment cards */
.saved-cards-list{display:grid;gap:10px;margin:14px 0}.saved-card-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px;border:1px solid #2b3038;border-radius:12px;background:#111319}.saved-card-row b{display:block}.saved-card-row small{display:block;color:#8f98a8;margin-top:4px}.saved-card-actions{display:flex;gap:8px}.saved-card-actions button{background:#191d25;border:1px solid #343a46;color:#e8ebf0;border-radius:8px;padding:7px 10px;cursor:pointer}.saved-card-actions button:disabled{opacity:.55}.empty-card-state,.cards-intro{color:#9ea6b5;padding:12px 0}.saved-card-select{width:100%;margin:12px 0;background:#0f1218;border:1px solid #343a46;color:#fff;padding:12px;border-radius:10px}

/* v29 wallet test */
.wallet-balance-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:18px 24px}.wallet-balance-grid>div{padding:16px;border:1px solid #302a32;border-radius:13px;background:#111217}.wallet-balance-grid small{display:block;color:#8d8790;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.wallet-balance-grid strong{display:block;margin-top:7px;font-size:22px;color:#fff}.wallet-action{margin-top:12px}.wallet-transactions{display:grid;gap:8px}.wallet-tx{display:grid;grid-template-columns:1fr auto;gap:5px;padding:11px;border-bottom:1px solid #29242b}.wallet-tx b{font-size:12px}.wallet-tx small{grid-column:1/3;color:#77717a}.wallet-tx .positive{color:#64df9a}.wallet-tx .negative{color:#ff7184}@media(max-width:700px){.wallet-balance-grid{grid-template-columns:1fr 1fr;padding:14px}}


/* v30 — Face cam + source-side minimap privacy + cleaner chat */
.facecam-toggle{height:40px;padding:0 12px;border:1px solid #343139;border-radius:10px;background:#17171b;color:#ddd;cursor:pointer;font-weight:850;white-space:nowrap}
.facecam-toggle:hover{background:#232329}.facecam-toggle.active{border-color:#ff405b;background:#311018;color:#fff;box-shadow:0 0 18px #ff334f25}
.camera-select{height:40px;max-width:180px;border:1px solid #302d34;border-radius:10px;background:#151519;color:#ddd;padding:0 10px}
/* The minimap is now blocked inside the outgoing canvas itself. */
.w3a-minimap-cover{display:none!important}
/* Keep mouse-wheel/touch scrolling but hide the ugly native scrollbar. */
.chat-card #messages{-ms-overflow-style:none;scrollbar-width:none}
.chat-card #messages::-webkit-scrollbar{width:0;height:0;display:none}
@media(max-width:1100px){.camera-select{display:none}.facecam-toggle{padding:0 9px;font-size:11px}}

/* v35 - multi-page W3Arena-style site shell */
.page{display:none}
html[data-page="home"] #homePage,
html[data-page="stream"] #streamPage,
html[data-page="local-ranks"] #localRanksPage,
html[data-page="global-ranks"] #globalRanksPage,
html[data-page="baninfo"] #banInfoPage,
html[data-page="vouchinfo"] #vouchInfoPage{display:block}
html[data-page="system-access"] #systemAccessPage{display:block}
.ambient{display:none}
.site-header{grid-template-columns:minmax(210px,300px) minmax(410px,1fr) auto;gap:14px}
.brand-logo{width:48px;height:48px;object-fit:contain;filter:drop-shadow(0 5px 18px rgba(0,0,0,.65))}
.header-actions{min-width:0}
.payment-settings-btn{white-space:nowrap}
.nav-icon{min-width:18px;text-align:center;font-size:11px;font-weight:950;letter-spacing:0;color:#d9d5db}
.main-nav .nav-item.active{color:#ff4760;background:linear-gradient(180deg,#32141caa,#20111699);box-shadow:inset 0 -2px #ff334f,0 0 22px #ff334f16}

.home-page{min-height:calc(100vh - 84px);background:#08080a}
.home-hero{position:relative;isolation:isolate;min-height:min(640px,calc(100svh - 150px));display:flex;align-items:center;padding:58px clamp(20px,5vw,76px);overflow:hidden;background:linear-gradient(90deg,rgba(5,5,7,.94),rgba(7,7,9,.78) 45%,rgba(8,8,10,.35)),url("https://www.w3arena.pro/images/homepage/w3arena_screen_launcher.webp") center/cover no-repeat;border-bottom:1px solid #31242a}
.home-hero::after{content:"";position:absolute;inset:auto 0 0;height:42%;z-index:-1;background:linear-gradient(0deg,#08080a,rgba(8,8,10,0))}
.home-copy{position:relative;z-index:1;max-width:760px}
.home-mark{width:74px;height:74px;object-fit:contain;margin-bottom:18px;filter:drop-shadow(0 10px 24px rgba(0,0,0,.7))}
.home-copy .eyebrow{margin-bottom:12px;color:#f0ecef}
.home-copy h1{margin:0;color:#fff;font-size:clamp(52px,8vw,112px);line-height:.86;font-weight:950;letter-spacing:0;text-shadow:0 18px 55px #000}
.hero-lede{max-width:620px;margin:24px 0 0;color:#e5dde2;font-size:18px;line-height:1.65;text-shadow:0 2px 12px #000}
.home-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.primary-action,.secondary-action{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:8px;text-decoration:none;font-weight:950}
.primary-action{background:linear-gradient(135deg,#ff3b58,#d91f40);color:#fff;box-shadow:0 14px 34px rgba(255,51,79,.22)}
.secondary-action{border:1px solid #50454c;background:rgba(12,12,15,.72);color:#f4f1f2}
.home-stats{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));max-width:620px;gap:1px;margin-top:36px;border:1px solid #3b3035;background:#3b3035}
.home-stats div{padding:16px;background:rgba(9,9,12,.82)}
.home-stats strong{display:block;color:#fff;font-size:24px}
.home-stats span{display:block;margin-top:5px;color:#a8a1a8;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.home-media{position:absolute;right:clamp(18px,5vw,72px);bottom:28px;width:min(430px,38vw);z-index:1;display:grid;gap:10px;pointer-events:none}
.hero-shot{width:100%;display:block;border:1px solid rgba(255,255,255,.14);border-radius:8px;box-shadow:0 22px 70px #000b}
.hero-shot-side{width:54%;justify-self:end;margin-top:-18%;filter:saturate(.95)}
.hero-live-panel{justify-self:end;width:min(320px,100%);border:1px solid #40323a;border-radius:8px;background:rgba(10,10,13,.88);box-shadow:0 16px 42px #0009;padding:12px}
.hero-live-panel>span{display:block;margin-bottom:9px;color:#ff6176;font-size:10px;font-weight:950;letter-spacing:.12em;text-transform:uppercase}
.home-live-list{display:grid;gap:7px}
.home-live-row{display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:9px;min-height:40px;color:#ede8ec;text-decoration:none}
.home-live-row img,.home-live-row .home-live-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;background:#25151b;border:1px solid #5f3540;display:grid;place-items:center;font-size:10px;font-weight:950;color:#fff}
.home-live-row b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.home-live-row small{display:block;color:#8f8991;font-size:10px}
.home-live-row em{font-style:normal;color:#72dfaa;font-size:10px;font-weight:950}
.home-empty{color:#8f8991;font-size:12px;line-height:1.45}
.home-band{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid #242128;background:#0c0c0f}
.home-band a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:84px;padding:0 clamp(18px,4vw,54px);color:#f1edf1;text-decoration:none;border-right:1px solid #242128}
.home-band a:last-child{border-right:0}
.home-band b{font-size:16px}
.home-band span{color:#858089;font-size:12px;text-align:right}
.home-band a:hover{background:#131317}
.home-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:34px clamp(18px,5vw,76px) 48px;background:#08080a}
.home-feature-grid article{border:1px solid #29252c;border-radius:8px;background:#101014;padding:22px;min-height:170px}
.home-feature-grid span{color:#ff4d65;font-size:10px;font-weight:950;letter-spacing:.14em}
.home-feature-grid h2{margin:10px 0 8px;font-size:20px;color:#fff}
.home-feature-grid p{margin:0;color:#918b94;line-height:1.55;font-size:13px}

.streamer-entry{position:absolute;left:26px;top:50%;transform:translateY(-50%);display:flex;align-items:center;height:40px;border:1px solid #343139;border-radius:8px;background:#141418;overflow:hidden}
.streamer-entry label{padding:0 10px;color:#a8a2aa;font-size:10px;font-weight:950;letter-spacing:.12em;text-transform:uppercase}
.streamer-entry input{width:230px;min-width:0;height:100%;border:0;border-left:1px solid #2a2830;outline:0;background:transparent;color:#fff;padding:0 12px}
.streamer-entry button{align-self:stretch;border:0;background:#242129;color:#fff;padding:0 15px;font-weight:900;cursor:pointer}
.streamer-entry:focus-within{border-color:#8d3544;box-shadow:0 0 0 3px rgba(255,51,79,.12)}
.streamer-entry button:hover{background:#302832}
.streamer-list-title{font-size:9px;letter-spacing:.16em;color:#736e77;font-weight:900;padding:15px 8px 8px}

.ranks-page{min-height:calc(100vh - 84px);padding:34px clamp(16px,5vw,64px) 52px;background:radial-gradient(circle at 15% 0,#34101844,transparent 30%),#09090b}
.ranks-page-hero{display:flex;align-items:center;justify-content:space-between;gap:26px;max-width:1120px;margin:0 auto 20px;padding:0 0 24px;border-bottom:1px solid #2e252b}
.ranks-page-hero .ranks-brand h1{margin:3px 0 2px;font-size:clamp(34px,5vw,58px);line-height:.98}
.ranks-page-hero .ranks-brand p{font-size:13px;color:#a09aa2}
.page-rank-search{min-width:min(520px,48vw)}
.page-rank-panel{display:block;max-width:1120px;margin:0 auto;padding:0;overflow:visible}
.page-rank-panel .rank-table-card{border-radius:8px}
.page-rank-panel .local-rank-profile{border-radius:8px}
.global-rank-table .rank-table-body{max-height:none}

@media(max-width:1180px){
  .site-header{grid-template-columns:1fr auto;min-height:84px;height:auto;padding:12px 16px}
  .main-nav{display:flex;grid-column:1/-1;justify-self:stretch;overflow:auto}
  .main-nav .nav-item{display:flex}
  .header-actions{border-left:0;padding-left:0}
  .streamer-entry{position:static;transform:none;order:1}
  .broadcast-center{order:2}
  .broadcast-right{position:static;transform:none;order:3}
  .broadcast-bar{justify-content:space-between;flex-wrap:wrap}
}
@media(max-width:860px){
  .home-hero{min-height:590px;align-items:flex-start;padding-top:34px;background-position:center}
  .home-copy h1{font-size:58px}
  .hero-lede{font-size:15px}
  .home-media{position:relative;right:auto;bottom:auto;width:100%;margin-top:30px}
  .hero-shot-side{display:none}
  .hero-live-panel{justify-self:stretch}
  .home-stats,.home-band,.home-feature-grid{grid-template-columns:1fr}
  .home-band a{border-right:0;border-bottom:1px solid #242128}
  .home-feature-grid{padding:20px 12px 34px}
  .stream-page .left-rail{display:block;border-right:0;border-bottom:1px solid #242128}
  .stream-page .live-streamer-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
  .streamer-entry{width:100%}
  .streamer-entry input{width:100%}
  .broadcast-right{width:100%;justify-content:flex-end;gap:8px}
  .ranks-page-hero{align-items:stretch;flex-direction:column}
  .page-rank-search{min-width:0;width:100%}
}
@media(max-width:620px){
  .site-header{grid-template-columns:1fr}
  .header-actions{justify-content:flex-start;flex-wrap:wrap}
  .payment-settings-btn{font-size:12px;padding:8px}
  .home-copy h1{font-size:46px}
  .home-stats{grid-template-columns:1fr 1fr}
  .home-stats div:last-child{grid-column:1/-1}
}

/* v62 — private System Access control center */
html[data-page="system-access"] body{background:#050c14;color:#edf6ff}
html[data-page="system-access"] .site-header{background:rgba(4,12,21,.96);border-bottom-color:#18334b}
.system-access-page{min-height:calc(100vh - 72px);padding:22px;background:radial-gradient(circle at 8% 0,rgba(26,111,183,.13),transparent 28%),#050c14}
.system-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1680px;margin:0 auto 16px;padding:18px 20px;border:1px solid #1d4666;border-radius:14px;background:linear-gradient(120deg,#0d2134,#081522 72%);box-shadow:0 18px 50px rgba(0,0,0,.2)}
.system-kicker{margin:0 0 5px;color:#68baff;font-size:9px;font-weight:950;letter-spacing:.18em}.system-hero h1{margin:0;font-size:24px}.system-hero p:not(.system-kicker){margin:5px 0 0;color:#86a9c6;font-size:12px}
.system-health{display:flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid #286044;border-radius:10px;background:#08271e;color:#66efad;font-size:12px;font-weight:850;white-space:nowrap}.system-health i{width:8px;height:8px;border-radius:50%;background:#20e28b;box-shadow:0 0 14px #20e28b}.system-health.offline{border-color:#713143;background:#2a0c16;color:#ff8097}.system-health.offline i{background:#ff4668;box-shadow:0 0 14px #ff4668}
.system-layout{max-width:1680px;margin:0 auto;display:grid;grid-template-columns:230px minmax(0,1fr);gap:16px}.system-sidebar{align-self:start;position:sticky;top:90px;display:grid;gap:7px;padding:10px;border:1px solid #173955;border-radius:14px;background:#081725}.system-sidebar button{display:flex;align-items:center;gap:11px;width:100%;min-height:46px;padding:0 13px;border:1px solid transparent;border-radius:10px;background:transparent;color:#87a6bf;text-align:left;font-size:12px;font-weight:850;cursor:pointer}.system-sidebar button span{width:22px;color:#58b9ff;font-size:17px;text-align:center}.system-sidebar button:hover,.system-sidebar button.active{border-color:#24669a;background:linear-gradient(135deg,#0f3150,#0a2238);color:#fff;box-shadow:inset 3px 0 #2a9cff}
.system-workspace{min-width:0}.system-panel{display:none}.system-panel.active{display:block}.system-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;padding:16px 18px;border:1px solid #173955;border-radius:13px;background:#0a1b2c}.system-panel-head h2{margin:0;font-size:20px}.system-panel-head p{margin:4px 0 0;color:#7397b5;font-size:11px}.system-panel-head button,.system-actions button,.system-profile-row button,.system-command-head button,.system-form>button,.system-table-wrap button{min-height:36px;padding:0 13px;border:1px solid #27587d;border-radius:8px;background:#0a1d2e;color:#f3f9ff;font-size:11px;font-weight:850;cursor:pointer}.system-panel-head button:hover,.system-actions button:hover,.system-profile-row button:hover,.system-command-head button:hover,.system-form>button:hover,.system-table-wrap button:hover{border-color:#359ce9;background:#0f3150}.system-actions button:first-child,.system-form>button[type="submit"]{border-color:#258cef;background:linear-gradient(135deg,#168cf2,#1264c5)}.system-actions button.danger,.system-table-wrap button.danger{border-color:#74344a;background:#2a101a;color:#ff8da1}
.system-notice{position:sticky;top:82px;z-index:20;margin:0 0 12px;padding:11px 14px;border:1px solid #286747;border-radius:9px;background:#0a2b20;color:#74efb4;font-size:12px;font-weight:800}.system-notice.error{border-color:#783149;background:#2a0b16;color:#ff8fa3}
.system-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.system-stats article{min-height:92px;padding:15px;border:1px solid #1b405d;border-radius:12px;background:linear-gradient(145deg,#0d2235,#0a1928)}.system-stats small{display:block;color:#79a4c5;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.system-stats strong{display:block;margin-top:9px;color:#fff;font-size:20px}
.system-two-column{display:grid;grid-template-columns:minmax(340px,.9fr) minmax(480px,1.25fr);gap:14px;margin-bottom:14px}.system-card{margin-bottom:14px;padding:16px;border:1px solid #1b405d;border-radius:12px;background:#0a1b2c}.system-card h3,.system-table-title{margin:0 0 13px;font-size:13px}.system-table-title{margin-top:20px;color:#d7ecff}
.system-form{display:grid;gap:10px}.system-form-wide{grid-template-columns:repeat(5,minmax(110px,1fr));align-items:end}.system-form-inline{grid-template-columns:1.2fr 1fr 1.4fr auto;align-items:end}.system-form label{display:grid;gap:6px;color:#77a2c3;font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.system-form input,.system-form select,.system-profile-row input,.system-profile-row select,.system-toolbar input{width:100%;height:39px;border:1px solid #24506f;border-radius:8px;background:#06131f;color:#f2f8ff;padding:0 11px;outline:0}.system-form input:focus,.system-form select:focus,.system-profile-row input:focus,.system-profile-row select:focus,.system-toolbar input:focus{border-color:#2d9ef2;box-shadow:0 0 0 3px rgba(36,151,237,.1)}.system-form select:disabled,.system-form input:disabled{opacity:.45}.system-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.system-profile-row{display:grid;grid-template-columns:1fr 1fr auto;gap:8px}.system-command-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 8px;color:#79a4c5;text-transform:uppercase;font-weight:900;letter-spacing:.06em}.system-command-head span{display:flex;gap:7px}.system-command-grid{max-height:210px;overflow:auto;display:flex;flex-wrap:wrap;align-content:flex-start;gap:7px;padding:10px;border:1px solid #173b59;border-radius:9px;background:#06131f}.system-command-grid label{display:flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid #205179;border-radius:7px;background:#0a2135;color:#bfe3ff;font-size:10px;font-weight:800}.system-command-grid input{accent-color:#2196f3}.system-pills{display:flex;gap:7px;flex-wrap:wrap}.system-pills span{padding:7px 10px;border:1px solid #245b84;border-radius:8px;background:#0b2942;color:#79c7ff;font-size:11px;font-weight:850}
.system-toolbar{margin-bottom:12px}.system-toolbar input{max-width:520px}.system-table-wrap{overflow:auto;border:1px solid #1a3d59;border-radius:11px;background:#071725}.system-table-wrap table{width:100%;border-collapse:collapse;min-width:760px}.system-table-wrap th,.system-table-wrap td{padding:12px 13px;border-bottom:1px solid #18364f;text-align:left;vertical-align:top;font-size:11px}.system-table-wrap th{background:#091a29;color:#83b8df;font-size:9px;letter-spacing:.08em;text-transform:uppercase}.system-table-wrap td{color:#e4f1fb}.system-table-wrap tbody tr:hover{background:#0b2134}.system-table-wrap td.commands{max-width:560px;color:#9fc9e8;line-height:1.55;overflow-wrap:anywhere}.system-table-wrap td .row-actions{display:flex;gap:6px;flex-wrap:wrap}.system-empty{margin:0;padding:23px;text-align:center;color:#6286a3;font-size:11px}.system-info{margin-top:11px;padding:10px 12px;border:1px solid #175288;border-radius:8px;background:#08284a;color:#6fc6ff;font-size:11px}
.system-status-on{color:#4af0a3;font-weight:900}.system-status-off{color:#ff5877;font-weight:900}
@media(max-width:1150px){.system-layout{grid-template-columns:1fr}.system-sidebar{position:static;display:flex;overflow:auto}.system-sidebar button{min-width:170px}.system-two-column{grid-template-columns:1fr}.system-form-wide{grid-template-columns:repeat(2,minmax(0,1fr))}.system-form-inline{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.system-access-page{padding:12px}.system-hero{align-items:flex-start;flex-direction:column}.system-health{white-space:normal}.system-sidebar button{min-width:155px}.system-stats{grid-template-columns:1fr}.system-form-wide,.system-form-inline,.system-profile-row{grid-template-columns:1fr}.system-command-head{align-items:flex-start;flex-direction:column}}


/* v44 — W3Arena cinematic discovery homepage */
html[data-page="home"] body{background:#050608;color:#f6f6f7}
html[data-page="home"] .site-header{background:rgba(5,6,8,.86);border-bottom:1px solid rgba(255,255,255,.08);backdrop-filter:blur(20px);box-shadow:0 12px 40px rgba(0,0,0,.28)}
html[data-page="home"] .brand-logo{filter:drop-shadow(0 0 18px rgba(255,51,79,.28))}
html[data-page="home"] .home-page{background:#050608;min-height:calc(100vh - 72px)}
.cinematic-hero{position:relative;min-height:720px;overflow:hidden;border-bottom:1px solid #251a1f;background:
 linear-gradient(90deg,rgba(4,5,7,.96) 0%,rgba(5,6,8,.75) 38%,rgba(5,6,8,.18) 66%,rgba(4,5,7,.74) 100%),
 linear-gradient(0deg,#050608 0%,rgba(5,6,8,.1) 28%,transparent 60%),
 url('/assets/dota-5v5-new.png') center 31%/cover no-repeat;
}
.cinematic-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 18% 48%,rgba(255,30,65,.18),transparent 27%),radial-gradient(circle at 81% 43%,rgba(42,126,255,.16),transparent 27%),repeating-linear-gradient(0deg,rgba(255,255,255,.012) 0 1px,transparent 1px 5px);pointer-events:none}
.hero-vignette{position:absolute;inset:0;box-shadow:inset 0 0 180px 50px #030405;pointer-events:none}
.hero-content-wrap{position:relative;z-index:2;width:min(1500px,calc(100% - 64px));min-height:650px;margin:0 auto;display:grid;grid-template-columns:minmax(420px,.9fr) minmax(520px,1.1fr);align-items:center;gap:44px;padding:42px 0 70px}
.hero-copy-block{max-width:650px;padding-left:8px;text-shadow:0 3px 20px rgba(0,0,0,.9)}
.hero-kicker,.section-kicker{font-size:11px;font-weight:950;letter-spacing:.22em;color:#d8d8dc;text-transform:uppercase}.hero-live-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#ff314f;box-shadow:0 0 0 6px rgba(255,49,79,.1),0 0 22px #ff314f;margin-right:10px}
.hero-copy-block h1{display:grid;gap:4px;margin:24px 0 0;font-size:clamp(46px,5vw,82px);line-height:.91;letter-spacing:-.055em;font-weight:950}.hero-copy-block h1 span{display:block}.hero-red{color:#ff314f;text-shadow:0 0 35px rgba(255,49,79,.25)}
.hero-line{width:92px;height:3px;background:linear-gradient(90deg,#ff314f,transparent);margin:25px 0 18px}.hero-description{max-width:570px;margin:0;color:#c0c0c8;font-size:16px;line-height:1.75}
.hero-cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:29px}.hero-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border-radius:9px;text-decoration:none;font-weight:900;font-size:13px;transition:.18s ease}.hero-btn.primary{color:#fff;background:linear-gradient(135deg,#ff3654,#d8193b);box-shadow:0 13px 35px rgba(255,49,79,.25)}.hero-btn.secondary{color:#eee;border:1px solid #484850;background:rgba(12,13,17,.7)}.hero-btn:hover{transform:translateY(-2px);filter:brightness(1.08)}
.hero-mini-features{display:flex;gap:24px;flex-wrap:wrap;margin-top:28px;color:#8f9099;font-size:11px}.hero-mini-features b{color:#dedee3;font-weight:800;margin-left:5px}
.hero-emblem-stage{position:relative;min-height:500px;display:grid;place-items:center}.hero-emblem-stage:before{content:"";position:absolute;width:500px;height:500px;border-radius:50%;background:radial-gradient(circle,rgba(255,47,77,.11),rgba(18,18,24,.05) 38%,transparent 70%);filter:blur(1px)}
.hero-emblem-ring{position:relative;width:min(330px,32vw);aspect-ratio:1;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle,rgba(5,6,8,.84),rgba(8,8,11,.45) 53%,transparent 55%);filter:drop-shadow(0 20px 60px rgba(0,0,0,.75))}.hero-emblem-ring img{width:88%;height:88%;object-fit:contain;filter:drop-shadow(0 0 25px rgba(255,42,72,.27))}
.versus-title{position:absolute;top:70%;left:50%;transform:translateX(-50%);display:grid;justify-items:center;text-shadow:0 4px 20px #000}.versus-title b{font-size:38px;letter-spacing:.12em}.versus-title small{font-size:13px;color:#ff3654;vertical-align:middle}.versus-title span{font-size:16px;font-weight:950;letter-spacing:.34em;color:#e9e9ec;margin-top:2px}.hero-live-chip{position:absolute;top:14%;left:50%;transform:translateX(-50%);padding:7px 11px;border:1px solid #5b1d29;background:#210b11e8;border-radius:999px;color:#ff788b;font-size:9px;font-weight:950;letter-spacing:.12em}.battle-label{position:absolute;top:50%;font-size:11px;font-weight:950;letter-spacing:.2em;color:#babac2}.battle-label:after{content:"";display:block;width:80px;height:1px;margin-top:7px}.red-team{left:1%;color:#ff778b}.red-team:after{background:linear-gradient(90deg,#ff314f,transparent)}.blue-team{right:1%;color:#72b8ff;text-align:right}.blue-team:after{background:linear-gradient(270deg,#4ea5ff,transparent)}
.hero-tagline{position:absolute;z-index:2;left:0;right:0;bottom:22px;text-align:center;font-size:12px;font-weight:950;letter-spacing:.42em;color:#a0a0a8;text-shadow:0 2px 10px #000}
.discovery-section{padding:42px clamp(22px,5vw,80px) 46px;background:linear-gradient(180deg,#08090c,#050608)}.discovery-head{display:flex;align-items:end;justify-content:space-between;gap:24px;max-width:1500px;margin:0 auto 17px}.discovery-head h2{font-size:34px;margin:4px 0 6px}.discovery-head p{margin:0;color:#7f818c;font-size:13px}.section-kicker{color:#ff4b66;font-size:9px}.home-live-summary{display:grid;grid-template-columns:auto auto auto auto;gap:7px;align-items:baseline;color:#777985;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.home-live-summary strong{font-size:22px;color:#fff;letter-spacing:0}.home-filter-tabs{max-width:1500px;margin:0 auto 17px;display:flex;gap:8px;flex-wrap:wrap}.home-filter-tabs button{border:1px solid #2d3038;background:#101217;color:#898c96;border-radius:8px;padding:8px 12px;font-size:10px;font-weight:850;cursor:pointer}.home-filter-tabs button.active,.home-filter-tabs button:hover{color:#fff;border-color:#713040;background:#241015}
.home-stream-grid{max-width:1500px;margin:0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.home-stream-card{position:relative;display:block;min-width:0;color:inherit;text-decoration:none;border:1px solid #242832;border-radius:13px;background:#0d0f14;overflow:hidden;transition:.2s ease}.home-stream-card:hover{transform:translateY(-3px);border-color:#49313a;box-shadow:0 22px 55px rgba(0,0,0,.42)}.home-stream-thumb{position:relative;aspect-ratio:16/9;background:#12151b center/cover no-repeat}.home-stream-thumb:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,rgba(5,6,8,.88))}.home-stream-thumb .live-pill{position:absolute;z-index:2;left:10px;top:10px;background:#f42c4a;color:#fff;font-size:8px;font-weight:950;padding:5px 7px;border-radius:5px}.home-stream-thumb .viewer-pill{position:absolute;z-index:2;right:10px;top:10px;background:#05070bd9;border:1px solid #313640;color:#cfd1d6;font-size:8px;padding:5px 7px;border-radius:5px}.home-stream-card-body{display:grid;grid-template-columns:38px 1fr;gap:10px;padding:12px}.home-stream-avatar{width:38px;height:38px;border-radius:50%;object-fit:cover;background:#221218;border:1px solid #54303a;display:grid;place-items:center;color:#fff;font-weight:950;font-size:10px}.home-stream-copy{min-width:0}.home-stream-copy b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.home-stream-copy small{display:block;margin-top:3px;color:#777b86;font-size:10px}.home-stream-tags{display:flex;gap:5px;margin-top:7px}.home-stream-tags span{border:1px solid #2c3039;border-radius:999px;padding:3px 6px;color:#8b8e98;font-size:8px}.home-empty{grid-column:1/-1;min-height:170px;display:grid;place-items:center;border:1px dashed #2b2e36;border-radius:13px;color:#777b86;background:#0a0c10}
.home-feature-bar{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #24262d;border-bottom:1px solid #24262d;background:#090a0d;padding:0 clamp(20px,5vw,76px)}.home-feature-bar>div{display:grid;grid-template-columns:38px 1fr;column-gap:10px;align-content:center;min-height:112px;padding:18px;border-right:1px solid #24262d}.home-feature-bar>div:last-child{border-right:0}.home-feature-bar i{grid-row:1/3;font-style:normal;color:#ff4c66;font-size:20px}.home-feature-bar b{font-size:12px}.home-feature-bar span{margin-top:4px;color:#6f727d;font-size:10px;line-height:1.4}
@media(max-width:1180px){.hero-content-wrap{grid-template-columns:1fr;min-height:760px}.hero-copy-block{padding-top:40px}.hero-emblem-stage{position:absolute;right:-40px;bottom:40px;width:52%;opacity:.72}.home-stream-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-feature-bar{grid-template-columns:repeat(2,1fr)}.home-feature-bar>div:nth-child(2){border-right:0}}
@media(max-width:760px){.cinematic-hero{min-height:700px;background-position:60% 35%}.hero-content-wrap{width:calc(100% - 30px);display:block;padding-top:50px}.hero-copy-block h1{font-size:46px}.hero-description{font-size:14px}.hero-emblem-stage{right:-90px;bottom:45px;width:75%;opacity:.4}.battle-label,.hero-live-chip,.versus-title{display:none}.hero-tagline{font-size:8px;letter-spacing:.22em}.discovery-section{padding-inline:14px}.discovery-head{align-items:flex-start;flex-direction:column}.home-live-summary{display:none}.home-stream-grid{grid-template-columns:1fr}.home-feature-bar{grid-template-columns:1fr;padding:0 14px}.home-feature-bar>div{border-right:0;border-bottom:1px solid #24262d}.home-feature-bar>div:last-child{border-bottom:0}.hero-mini-features{gap:12px}.hero-cta-row .hero-btn{flex:1}}

/* v45 — exact cinematic homepage direction */
html[data-page="home"] .site-header{
  height:64px;grid-template-columns:320px 1fr minmax(420px,620px);padding:0 46px;
  background:rgba(3,5,8,.96);border-bottom:1px solid #242a32;box-shadow:0 12px 35px #0007;
}
html[data-page="home"] .brand{gap:13px}
html[data-page="home"] .brand-logo{width:52px;height:52px;border-radius:9px;object-fit:cover;border:1px solid #7b1d2e;box-shadow:0 0 25px #ff214133}
html[data-page="home"] .brand-copy strong{font-size:18px;letter-spacing:.015em;color:#f5f7fb}html[data-page="home"] .brand-copy strong span{color:#ff2948;margin-right:2px}
html[data-page="home"] .brand-copy small{font-size:9px;letter-spacing:.17em;color:#8490a0;margin-top:4px}
html[data-page="home"] .main-nav{height:46px;gap:0;padding:0;border:0;border-radius:0;background:transparent;align-items:stretch}
html[data-page="home"] .main-nav .nav-item{display:flex;align-items:center;gap:8px;height:46px;padding:0 17px;border:0;border-radius:0;background:transparent;color:#d0d5de;font-size:12px;font-weight:800;white-space:nowrap;position:relative}
html[data-page="home"] .main-nav .nav-item:hover{background:#11151b;color:#fff}
html[data-page="home"] .main-nav .nav-item.active{color:#fff;background:linear-gradient(180deg,#2a0c15,#14090d);box-shadow:inset 0 -2px #ff2b4d,0 0 30px #ff29451d}
html[data-page="home"] .main-nav .nav-icon{font-size:13px;color:#ff405b}
html[data-page="home"] .header-actions{gap:10px}
html[data-page="home"] .header-search{width:min(245px,18vw);height:40px;display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid #27303c;border-radius:9px;background:#0b1118;color:#a8b4c4}
html[data-page="home"] .header-search input{width:100%;border:0;outline:0;background:transparent;color:#e9edf3;font-size:12px}
html[data-page="home"] .header-search input::placeholder{color:#7d8794}
html[data-page="home"] .theme-orb{width:40px;height:40px;border:1px solid #27303c;border-radius:9px;background:#0b1118;color:#eef2f7;cursor:pointer}
html[data-page="home"] .login-btn{height:40px;border-color:#2c3542;background:#0c1118;border-radius:9px;padding:0 14px}
html[data-page="home"] .header-go-live{height:40px;display:inline-flex;align-items:center;gap:7px;padding:0 17px;border-radius:9px;background:linear-gradient(135deg,#ff3152,#ef1239);box-shadow:0 0 26px #ff244044;color:#fff;text-decoration:none;text-transform:uppercase;font-size:11px;font-weight:950;letter-spacing:.02em}
html[data-page="home"] .header-go-live:hover{filter:brightness(1.08)}

html[data-page="home"] .home-page{background:#05080d}
html[data-page="home"] .cinematic-hero{min-height:566px;border-bottom:1px solid #202732;background:
 linear-gradient(90deg,rgba(3,5,8,.88) 0%,rgba(3,5,8,.38) 30%,rgba(3,5,8,.06) 57%,rgba(3,5,8,.18) 76%,rgba(3,5,8,.60) 100%),
 linear-gradient(0deg,rgba(4,7,11,.88) 0%,rgba(4,7,11,.03) 25%,rgba(4,7,11,.06) 100%),
 url('/assets/dota-5v5-new.png') center 43%/cover no-repeat;
}
html[data-page="home"] .cinematic-hero:before{background:radial-gradient(circle at 32% 42%,rgba(255,35,59,.22),transparent 31%),radial-gradient(circle at 79% 42%,rgba(54,63,255,.22),transparent 31%),linear-gradient(90deg,rgba(0,0,0,.15),transparent 35%,transparent 72%,rgba(0,0,0,.18));}
html[data-page="home"] .hero-vignette{box-shadow:inset 0 -90px 130px #05080d,inset 0 0 110px 10px rgba(0,0,0,.45)}
html[data-page="home"] .hero-content-wrap{width:min(1620px,calc(100% - 90px));min-height:520px;grid-template-columns:minmax(410px,.78fr) minmax(560px,1.22fr);gap:35px;padding:18px 0 48px}
html[data-page="home"] .hero-copy-block{max-width:500px;padding:25px 0 0;text-shadow:0 3px 17px #000}
html[data-page="home"] .hero-kicker{margin:0 0 14px;font-size:10px;letter-spacing:.15em;color:#dfe4ec}
html[data-page="home"] .hero-copy-block h1{gap:0;margin:0;font-family:Impact,"Arial Black",Inter,sans-serif;font-size:clamp(45px,4.25vw,72px);font-style:italic;line-height:.92;letter-spacing:-.025em;text-transform:uppercase;text-shadow:0 4px 22px #000}
html[data-page="home"] .hero-copy-block h1 .hero-red{color:#ff1d42;text-shadow:0 0 25px #ff143f3b,0 4px 20px #000}
html[data-page="home"] .hero-description{max-width:440px;margin-top:16px;color:#d0d7e0;font-size:14px;line-height:1.55}
html[data-page="home"] .hero-cta-row{margin-top:20px;gap:12px}
html[data-page="home"] .hero-btn{min-height:49px;border-radius:7px;padding:0 20px;font-size:13px}
html[data-page="home"] .hero-btn.primary{min-width:192px;background:linear-gradient(135deg,#ff2a4b,#ff113a);box-shadow:0 12px 32px #ff17393d}
html[data-page="home"] .hero-btn.secondary{min-width:170px;background:rgba(6,11,17,.82);border-color:#3a4757}

html[data-page="home"] .hero-emblem-stage{min-height:470px;align-self:stretch;display:flex;flex-direction:column;justify-content:center;align-items:center;padding-top:22px}
html[data-page="home"] .hero-emblem-glow{position:absolute;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(255,19,52,.32),rgba(255,19,52,.08) 42%,transparent 72%);filter:blur(4px)}
html[data-page="home"] .hero-main-emblem{position:relative;z-index:2;width:min(305px,26vw);aspect-ratio:1;object-fit:cover;border-radius:50%;filter:drop-shadow(0 22px 42px #000) drop-shadow(0 0 28px #ff263b44)}
html[data-page="home"] .hero-wordmark{position:relative;z-index:3;margin-top:-22px;text-align:center;text-shadow:0 3px 12px #000}
html[data-page="home"] .hero-wordmark strong{display:block;font-family:Impact,"Arial Black",Inter,sans-serif;font-style:italic;font-size:clamp(48px,5vw,78px);line-height:.9;letter-spacing:-.03em;color:#f3f6fb}
html[data-page="home"] .hero-wordmark strong span{color:#f31830}
html[data-page="home"] .hero-wordmark small{display:block;margin-top:10px;font-size:11px;font-weight:900;letter-spacing:.34em;color:#eff2f6}
html[data-page="home"] .hero-center-tagline{position:relative;z-index:3;margin-top:15px;font-size:10px;font-weight:850;letter-spacing:.35em;color:#d6dbe1}
html[data-page="home"] .hero-center-tagline b{color:#ff2948}
html[data-page="home"] .hero-stats{position:absolute;z-index:4;left:50%;bottom:0;transform:translateX(-15%);display:grid;grid-template-columns:repeat(4,minmax(135px,1fr));width:min(735px,52vw);min-height:58px;background:rgba(5,9,14,.82);border-top:1px solid #303a46;backdrop-filter:blur(9px)}
html[data-page="home"] .hero-stats>div{display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;align-content:center;padding:8px 17px;border-right:1px solid #27303a}
html[data-page="home"] .hero-stats>div:last-child{border-right:0}
html[data-page="home"] .hero-stats i{grid-row:1/3;align-self:center;font-style:normal;font-size:19px;color:#ff3151}
html[data-page="home"] .hero-stats strong{font-size:15px;color:#f6f8fb}
html[data-page="home"] .hero-stats span{font-size:9px;color:#8090a1}

html[data-page="home"] .discovery-section{padding:22px 46px 20px;background:linear-gradient(180deg,#060a0f,#05080d 82%)}
html[data-page="home"] .discovery-topline{max-width:1640px;margin:0 auto 10px;display:flex;align-items:center;justify-content:space-between}
html[data-page="home"] .discovery-title{display:flex;align-items:center;gap:9px}html[data-page="home"] .discovery-title h2{margin:0;font-size:23px}
html[data-page="home"] .live-section-dot{width:12px;height:12px;border-radius:50%;background:#ff1f45;box-shadow:0 0 18px #ff1f45}
html[data-page="home"] .view-all-streams{color:#ff3152;text-decoration:none;font-weight:800;font-size:12px}
html[data-page="home"] .home-filter-tabs{max-width:1640px;margin:0 auto 12px;gap:8px}
html[data-page="home"] .home-filter-tabs button{min-width:80px;padding:9px 13px;border-radius:7px;border-color:#26313e;background:#0a1017;color:#d0d6df;font-size:10px}
html[data-page="home"] .home-filter-tabs button.active,html[data-page="home"] .home-filter-tabs button:hover{border-color:#b7243f;background:#2a0b13;box-shadow:inset 0 0 0 1px #ff28452a;color:#fff}
html[data-page="home"] .home-stream-grid{max-width:1640px;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
html[data-page="home"] .home-stream-card{border-radius:7px;border-color:#222e3a;background:#080e15}
html[data-page="home"] .home-stream-card:hover{transform:translateY(-2px);border-color:#4a3440}
html[data-page="home"] .home-stream-thumb{aspect-ratio:1.72/1}
html[data-page="home"] .home-stream-thumb .live-pill{left:7px;top:7px;border-radius:4px;padding:5px 8px;font-size:9px}
html[data-page="home"] .home-stream-thumb .viewer-pill{right:7px;top:7px;border-radius:4px;padding:5px 7px;font-size:9px;color:#fff}
html[data-page="home"] .home-stream-card-body{grid-template-columns:30px 1fr;gap:8px;padding:9px 9px 10px}
html[data-page="home"] .home-stream-avatar{width:30px;height:30px}
html[data-page="home"] .home-stream-copy b{font-size:12px;color:#f4f6f9}
html[data-page="home"] .home-stream-copy small{font-size:9px;color:#929cab}
html[data-page="home"] .home-stream-tags{margin-top:5px}.home-stream-tags span{font-size:8px;padding:2px 6px}
html[data-page="home"] .home-empty{min-height:115px}

html[data-page="home"] .home-feature-bar{grid-template-columns:repeat(4,minmax(150px,1fr)) minmax(360px,1.7fr);min-height:112px;padding:0 46px;border-color:#202a35;background:linear-gradient(180deg,#060a0f,#04070b),url('/assets/dota-5v5-old.png') center 70%/cover no-repeat;background-blend-mode:multiply}
html[data-page="home"] .home-feature-bar>div{min-height:112px;grid-template-columns:42px 1fr;padding:18px 12px;border-right-color:#202a35}
html[data-page="home"] .home-feature-bar i{font-size:27px;color:#f2c23b}
html[data-page="home"] .home-feature-bar b{font-size:11px;line-height:1.3;letter-spacing:.04em;color:#e8edf3}
html[data-page="home"] .footer-brand{display:flex!important;flex-direction:column;align-items:flex-end;justify-content:center;border-right:0!important;text-align:right}
html[data-page="home"] .footer-brand strong{font-size:16px;letter-spacing:.03em}.footer-brand strong span{color:#ff2849}.footer-brand small{margin-top:7px;color:#a6afba;font-size:9px;letter-spacing:.2em}.footer-brand small b{color:#ff2849;font-size:inherit}

@media(max-width:1450px){html[data-page="home"] .site-header{grid-template-columns:280px 1fr 420px;padding-inline:26px}html[data-page="home"] .header-search{display:none}html[data-page="home"] .main-nav .nav-item{padding-inline:12px}.hero-content-wrap{width:calc(100% - 52px)}html[data-page="home"] .home-stream-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1050px){html[data-page="home"] .site-header{grid-template-columns:1fr auto}.main-nav{display:none!important}html[data-page="home"] .cinematic-hero{min-height:700px}.hero-content-wrap{grid-template-columns:1fr;min-height:640px}.hero-copy-block{z-index:5;max-width:520px}.hero-emblem-stage{position:absolute;right:-20px;bottom:75px;width:58%;opacity:.7}.hero-stats{left:20px;right:20px;transform:none;width:auto;grid-template-columns:repeat(4,1fr)}html[data-page="home"] .home-stream-grid{grid-template-columns:repeat(3,minmax(0,1fr))}html[data-page="home"] .home-feature-bar{grid-template-columns:repeat(2,1fr)}html[data-page="home"] .footer-brand{grid-column:1/-1;align-items:center;text-align:center}}
@media(max-width:700px){html[data-page="home"] .site-header{padding-inline:12px}.header-go-live span,.theme-orb{display:none}.brand-copy strong{font-size:15px!important}.brand-logo{width:43px!important;height:43px!important}.cinematic-hero{min-height:690px!important;background-position:58% center!important}.hero-content-wrap{width:calc(100% - 28px)!important;padding-top:25px!important}.hero-copy-block h1{font-size:44px!important}.hero-description{font-size:13px!important;max-width:330px!important}.hero-emblem-stage{right:-100px!important;width:82%!important;opacity:.35!important}.hero-main-emblem{width:250px!important}.hero-wordmark strong{font-size:44px!important}.hero-stats{grid-template-columns:repeat(2,1fr)!important;bottom:0!important}.hero-stats>div:nth-child(n+3){display:none}.discovery-section{padding-inline:12px!important}.home-stream-grid{grid-template-columns:1fr!important}.home-feature-bar{grid-template-columns:1fr!important;padding-inline:12px!important}.footer-brand{min-height:95px!important}}

/* v47 — requested main + stream cleanup */
/* Header: no Shop, no streamer search, no payment/card/wallet shortcuts, no duplicate header Go Live. */
#shopNavBtn,.header-search,.payment-settings-btn,.header-go-live{display:none!important}
.site-header{grid-template-columns:300px minmax(0,1fr) auto}
.header-actions{min-width:max-content}

/* Homepage: expose the cinematic battlefield instead of covering it with a center logo/stats panel. */
html[data-page="home"] .site-header{grid-template-columns:300px minmax(0,1fr) auto}
html[data-page="home"] .hero-content-wrap{display:block;width:min(1640px,calc(100% - 90px));min-height:520px;padding:45px 0 54px}
html[data-page="home"] .hero-copy-block{max-width:515px;padding-top:20px}
html[data-page="home"] .hero-emblem-stage,
html[data-page="home"] .hero-stats{display:none!important}
html[data-page="home"] .cinematic-hero{min-height:540px;background-position:center 42%}

/* Live Streams: only All Games / DOTA / ARCADE / LOD, with W3Arena emblem before DOTA. */
html[data-page="home"] .discovery-topline{display:flex;align-items:center;gap:22px;margin-bottom:14px}
html[data-page="home"] .discovery-title{flex:0 0 auto;padding-right:20px;border-right:1px solid #25303b}
html[data-page="home"] .home-filter-tabs{display:flex;align-items:center;gap:10px;flex:1;margin:0;max-width:none;flex-wrap:wrap}
html[data-page="home"] .home-filter-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:142px;min-height:44px;padding:7px 18px;border-radius:9px;border:1px solid #233342;background:#08111a;color:#f1f3f7;font-size:12px;font-weight:850;letter-spacing:.01em}
html[data-page="home"] .home-filter-tabs button img{width:27px;height:27px;border-radius:5px;object-fit:cover;filter:drop-shadow(0 0 8px rgba(255,42,72,.35))}
html[data-page="home"] .home-filter-tabs button.active{border-color:#ef284a;background:linear-gradient(135deg,#3c0b15,#1f0810);box-shadow:0 0 22px rgba(255,37,72,.14),inset 0 0 0 1px rgba(255,64,90,.12)}
html[data-page="home"] .home-filter-icon{font-size:21px;line-height:1}
html[data-page="home"] .home-filter-icon.dota{color:#ee473c;font-size:27px;transform:rotate(45deg)}
html[data-page="home"] .home-filter-icon.arcade{color:#8f69ff}
html[data-page="home"] .home-filter-icon.lod{color:#f1b83d}
html[data-page="home"] .view-all-streams{margin-left:auto;white-space:nowrap}

/* Stream page: left rail shows current live streams only. */
html[data-page="stream"] .site-header{grid-template-columns:300px minmax(0,1fr) auto}
html[data-page="stream"] .current-live-rail{padding:17px 10px}
html[data-page="stream"] .current-live-rail .rail-title{padding-bottom:15px;border-bottom:1px solid #24242a;margin-bottom:10px}
html[data-page="stream"] .current-live-rail .live-streamer-list{gap:7px}
html[data-page="stream"] .current-live-rail .no-live-streamers{padding:14px 7px;color:#777d89}

@media(max-width:1180px){
  .site-header,html[data-page="home"] .site-header,html[data-page="stream"] .site-header{grid-template-columns:220px minmax(0,1fr) auto}
  html[data-page="home"] .hero-content-wrap{width:calc(100% - 52px)}
  html[data-page="home"] .home-filter-tabs button{min-width:120px}
}
@media(max-width:860px){
  html[data-page="home"] .discovery-topline{align-items:flex-start;flex-wrap:wrap}
  html[data-page="home"] .discovery-title{border-right:0;padding-right:0;width:100%}
  html[data-page="home"] .home-filter-tabs{order:3;width:100%;flex:1 0 100%}
  html[data-page="home"] .home-filter-tabs button{flex:1 1 135px}
  html[data-page="home"] .hero-content-wrap{width:calc(100% - 28px);padding-top:34px}
}


/* v49 Vouchinfo */
.vouchinfo-tools{max-width:1120px;margin:0 auto 14px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#8f939d;font-size:11px}.vouchinfo-tools a{color:#ff5870;text-decoration:none;border:1px solid #3a2930;background:#120d10;padding:7px 10px;border-radius:8px;font-weight:800}.vouchinfo-tools a:hover{border-color:#ff3855;color:#fff}.vouchinfo-grid{display:grid!important;grid-template-columns:minmax(180px,1.25fr) minmax(120px,.75fr) minmax(140px,.75fr);align-items:center;gap:12px}.vouch-by{color:#ff7185;font-weight:800}.vouchinfo-table .rank-row{min-height:58px}@media(max-width:720px){.vouchinfo-grid{grid-template-columns:1fr .75fr .8fr;font-size:11px}.vouchinfo-tools{align-items:flex-start}}



/* v54 — Warcraft capture reliability */


/* v57 — Real Local Ranks + Baninfo pages. */
.rank-local-grid{grid-template-columns:90px 130px minmax(220px,1fr)}
.local-rank-table .rank-table-body{max-height:none}
.baninfo-user{max-width:1120px;margin:0 auto 14px;padding:15px 17px;border:1px solid #442831;border-radius:9px;background:linear-gradient(90deg,#211117,#121216);color:#fff;font-size:16px;font-weight:950}
.baninfo-message{max-width:1120px;margin:0 auto;border:1px dashed #352d34;border-radius:9px;background:#0e0e12}
.baninfo-results{display:grid;gap:16px}
.baninfo-card{border:1px solid #2d2830;border-radius:9px;overflow:hidden;background:#0f0f13}
.baninfo-card-head{display:flex;justify-content:space-between;align-items:center;min-height:48px;padding:0 16px;border-bottom:1px solid #29242b;background:#17151a}
.baninfo-card-head h3{margin:0;font-size:14px}
.baninfo-card-head span{display:grid;place-items:center;min-width:28px;height:24px;padding:0 7px;border:1px solid #57303a;border-radius:7px;background:#25151a;color:#ff7184;font-size:11px;font-weight:950}
.baninfo-list{padding:12px}
.baninfo-none{padding:22px;text-align:center;color:#77717a;border:1px dashed #302b31;border-radius:8px}
.baninfo-record{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px 16px;padding:14px;border:1px solid #29252c;border-radius:8px;background:#111116;margin-top:9px}
.baninfo-record:first-child{margin-top:0}
.baninfo-field{min-width:0}
.baninfo-field small{display:block;margin-bottom:4px;color:#77717a;font-size:9px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.baninfo-field span{display:block;color:#e7e2e7;font-size:12px;word-break:break-word}
@media(max-width:760px){.rank-local-grid{grid-template-columns:52px 82px minmax(130px,1fr);gap:8px;padding-left:10px;padding-right:10px}.baninfo-record{grid-template-columns:1fr}}


/* v63 — private Bot Dashboard + Users */
.private-admin-page { padding: 28px clamp(16px, 3vw, 42px) 56px; }
.private-hero { margin: 0 auto 18px; max-width: 1500px; }
.private-dashboard-shell,.private-users-shell { max-width: 1500px; margin: 0 auto; display: grid; gap: 18px; }
.private-dashboard-toolbar { display: grid; gap: 14px; background: rgba(8,20,33,.9); border: 1px solid #20384e; border-radius: 16px; padding: 16px; }
.private-command-stats { margin: 0; }
.private-search-row { display: flex; gap: 10px; }
.private-search-row input { flex: 1; min-height: 44px; background: #07111d; color: #edf7ff; border: 1px solid #29455f; border-radius: 10px; padding: 0 13px; }
.private-search-row button,.private-access-form button,.private-users-table button { border: 1px solid #2d5576; background: #112a3e; color: #edf7ff; border-radius: 9px; padding: 9px 13px; cursor: pointer; }
.bot-command-groups { display: grid; gap: 15px; }
.bot-command-group { background: rgba(8,20,33,.9); border: 1px solid #20384e; border-radius: 16px; padding: 16px; }
.bot-command-group-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.bot-command-group-head > div { display: flex; gap: 10px; align-items: center; }
.bot-command-group-head h2 { margin: 0; font-size: 18px; }
.bot-command-group-head > b { min-width: 32px; text-align: center; border: 1px solid #2f5879; color: #84c9ff; border-radius: 999px; padding: 4px 9px; }
.bot-command-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 9px; }
.bot-command-card { background: #071421; border: 1px solid #1b3448; border-radius: 11px; padding: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bot-command-card code { color: #f4f9ff; font-size: 14px; font-weight: 800; }
.bot-command-card span { color: #7190a8; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.private-grant-card { display: grid; gap: 14px; }
.private-grant-card h2 { margin: 0 0 4px; }
.private-grant-card p { margin: 0; color: #8fa8bb; }
.private-access-form { display: grid; grid-template-columns: minmax(220px,1.5fr) 1fr 1fr auto; gap: 12px; align-items: end; }
.private-access-form > label:first-child { display: grid; gap: 6px; color: #9cb3c6; font-size: 12px; }
.private-access-form input[type="text"],.private-access-form input:not([type]) { min-height: 42px; background: #07111d; color: #edf7ff; border: 1px solid #29455f; border-radius: 9px; padding: 0 11px; }
.private-check { min-height: 58px; display: flex; gap: 9px; align-items: center; padding: 9px 11px; border: 1px solid #244057; border-radius: 10px; background: #091826; }
.private-check input { width: 18px; height: 18px; accent-color: #2d98e8; }
.private-check span { display: grid; gap: 2px; }
.private-check small { color: #7e9aaf; font-size: 10px; line-height: 1.2; }
.private-access-yes { color: #63e6a5; font-weight: 700; }
.private-access-no { color: #6f8496; }
.private-role { display: inline-flex; border: 1px solid #33526b; border-radius: 999px; padding: 4px 8px; text-transform: capitalize; font-size: 11px; }
.private-role.owner { color: #ffd36e; border-color: #856c2a; }
.private-role.developer { color: #c69cff; border-color: #6b45a1; }
.private-role.admin { color: #81c7ff; border-color: #2a5f86; }
.private-users-table td:last-child { min-width: 150px; }
.private-users-table td:last-child button + button { margin-left: 6px; }
.private-users-table button.danger { border-color: #7f3540; background: #3d1720; color: #ffabb5; }
.system-notice.error { border-color: #6d2b35; background: #33141a; color: #ffb7c0; }
@media (max-width: 980px) { .private-access-form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .private-access-form { grid-template-columns: 1fr; } .private-search-row { flex-direction: column; } .private-admin-page { padding-inline: 12px; } }

/* v63.2: HTML hidden must always win over nav/page display rules. */
[hidden]{display:none!important}

/* v64 Access Level Studio */
.system-eyebrow{margin:0 0 6px;color:#55b7ff;font-size:9px;font-weight:950;letter-spacing:.16em}
.system-access-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.system-access-overview article{position:relative;overflow:hidden;min-height:100px;padding:15px 16px;border:1px solid #1a4160;border-radius:13px;background:linear-gradient(145deg,#0b2032,#081623)}
.system-access-overview article:after{content:"";position:absolute;right:-24px;top:-30px;width:90px;height:90px;border-radius:50%;background:rgba(45,158,242,.08)}
.system-access-overview span{display:block;color:#86adca;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.system-access-overview strong{display:block;margin-top:7px;color:#f7fbff;font-size:24px;line-height:1}
.system-access-overview small{display:block;margin-top:8px;color:#5f829e;font-size:10px}
.system-access-studio{display:grid;grid-template-columns:minmax(300px,.72fr) minmax(620px,1.55fr);gap:14px;align-items:start}
.system-grant-card,.system-role-studio{margin-bottom:14px}
.system-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.system-card-heading>div{display:flex;align-items:center;gap:11px}.system-card-heading h3{margin:0 0 3px}.system-card-heading p{margin:0;color:#7197b5;font-size:10px;line-height:1.5}
.system-card-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 auto;border:1px solid #275c83;border-radius:9px;background:#0b2942;color:#65c3ff;font-size:16px;font-weight:900}
.system-grant-form{gap:12px}.system-form-split{display:grid;grid-template-columns:1fr 1fr;gap:10px}.system-mini-note{margin-top:11px;padding:10px 11px;border:1px solid #173d5b;border-radius:8px;background:#071827;color:#6f96b4;font-size:10px;line-height:1.5}.system-level-availability{display:grid;gap:8px;padding:10px 11px;border:1px solid #173d5b;border-radius:9px;background:#061723}.system-level-availability>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.system-level-availability>div:first-child>span{color:#8ac9f7;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.system-level-availability small{color:#587d99;font-size:9px}.system-level-pills{display:flex;gap:6px;flex-wrap:wrap}.system-level-pill{padding:5px 8px;border:1px solid #255272;border-radius:999px;background:#092137;color:#cae9ff;font-size:9px;font-weight:800}.system-level-pill.global{border-color:#2b74a5}.system-level-pill.local{border-color:#665aa8}.system-level-pill.both{border-color:#2b785d}.system-level-pill.empty{color:#6e8ca2;border-style:dashed;background:transparent}
.system-role-studio{padding:18px}.system-role-heading{margin-bottom:14px}.system-profile-badge{padding:6px 9px;border:1px solid #31566e;border-radius:999px;background:#0a1823;color:#89a7bc;font-size:9px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.system-profile-badge.builtin{border-color:#3f5871;color:#a9c1d3}.system-profile-badge.custom{border-color:#246e9e;background:#09233a;color:#71c7ff}.system-profile-badge.new{border-color:#2c7d58;background:#09271d;color:#67ecaa}
.system-role-picker{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:10px;align-items:end;margin-bottom:11px}.system-role-picker label,.system-role-identity label{display:grid;gap:6px}.system-role-picker label>span,.system-role-identity label>span{color:#79a5c5;font-size:9px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.system-role-picker select,.system-role-identity input,.system-role-identity select,.system-command-toolbar input{width:100%;height:40px;border:1px solid #25506e;border-radius:8px;background:#06131f;color:#f2f8ff;padding:0 11px;outline:0}.system-role-picker select:focus,.system-role-identity input:focus,.system-role-identity select:focus,.system-command-toolbar input:focus{border-color:#319eea;box-shadow:0 0 0 3px rgba(49,158,234,.1)}
.system-role-picker button,.system-role-name-actions button,.system-command-toolbar button{min-height:40px;padding:0 13px;border:1px solid #285a7d;border-radius:8px;background:#0a2134;color:#eef8ff;font-size:10px;font-weight:850;cursor:pointer}.system-role-picker button:hover,.system-role-name-actions button:hover,.system-command-toolbar button:hover{border-color:#3aa2ed;background:#0d3150}.system-role-picker button.secondary,.system-role-name-actions button.secondary{background:#081a29}
.system-role-identity{display:grid;grid-template-columns:minmax(260px,1fr) minmax(160px,220px) auto;gap:10px;align-items:end;padding:12px;border:1px solid #173b59;border-radius:10px;background:#071827}.system-role-name-actions{display:flex;gap:8px}.system-role-name-actions button:first-child{border-color:#258cef;background:linear-gradient(135deg,#168cf2,#1264c5)}
.system-command-toolbar{display:grid;grid-template-columns:auto minmax(180px,320px) auto;gap:10px;align-items:center;margin:15px 0 9px}.system-command-toolbar>div:first-child{display:grid;gap:3px}.system-command-toolbar>div:first-child>span{color:#a5cbe7;font-size:10px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.system-command-toolbar small{color:#638aa7;font-size:9px}.system-command-toolbar small b{color:#d7efff}.system-command-toolbar>div:last-child{display:flex;gap:7px;justify-content:flex-end}
.system-command-grid-studio{max-height:300px;display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:7px;padding:11px}.system-command-grid-studio label{min-height:34px;cursor:pointer;transition:border-color .15s ease,background .15s ease}.system-command-grid-studio label:hover{border-color:#358bc4;background:#0c2941}.system-command-grid-studio label:has(input:checked){border-color:#258fe0;background:#0c3150;color:#e7f7ff}.system-command-grid-studio label[hidden]{display:none!important}
.system-role-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:12px}.system-role-hint{max-width:62%;color:#6f95b2;font-size:10px;line-height:1.5}.system-role-footer .system-actions{justify-content:flex-end}.system-role-footer button:disabled,.system-role-name-actions button:disabled{opacity:.38;cursor:not-allowed;filter:saturate(.4)}
.system-protected-card{margin-top:0}.system-pills span.developer{border-color:#5e447e;background:#1b1230;color:#cba7ff}
.system-access-list-head{display:flex;align-items:end;justify-content:space-between;margin:19px 0 9px;padding:0 2px}.system-access-list-head h3{margin:0 0 4px;font-size:13px}.system-access-list-head p{margin:0;color:#6389a6;font-size:10px}
.system-table-wrap .row-actions button:first-child:not(.danger){border-color:#23699a;background:#0a2940;color:#9dd9ff}
@media(max-width:1250px){.system-access-studio{grid-template-columns:1fr}.system-access-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.system-access-overview{grid-template-columns:1fr 1fr}.system-role-picker,.system-role-identity,.system-command-toolbar{grid-template-columns:1fr}.system-form-split{grid-template-columns:1fr}.system-role-name-actions,.system-command-toolbar>div:last-child{justify-content:flex-start;flex-wrap:wrap}.system-role-footer{align-items:flex-start;flex-direction:column}.system-role-hint{max-width:none}.system-command-grid-studio{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.system-access-overview,.system-command-grid-studio{grid-template-columns:1fr}}

/* v65 Live Users & Website Access */
.users-live-hero{align-items:center}.users-hero-status{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.users-status-offline{border-color:#6f3138!important;background:#2d1117!important;color:#ffabb4!important}.users-status-offline i{background:#ff5f73!important;box-shadow:0 0 0 4px rgba(255,95,115,.09)!important}
.users-live-shell{gap:14px}.users-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.users-stat-card{position:relative;overflow:hidden;min-height:102px;padding:16px 17px;border:1px solid #193d59;border-radius:13px;background:linear-gradient(145deg,#0b2031,#071621)}.users-stat-card:after{content:"";position:absolute;right:-24px;top:-35px;width:100px;height:100px;border-radius:50%;background:rgba(48,166,247,.07)}.users-stat-card span{display:block;color:#78a7c7;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.users-stat-card strong{display:block;margin-top:8px;color:#f4fbff;font-size:27px;line-height:1}.users-stat-card small{display:block;margin-top:9px;color:#5f8199;font-size:10px}
.users-active-card,.users-directory-card,.users-access-editor{padding:17px}.users-panel-head{align-items:center}.users-panel-head h2{display:flex;align-items:center;gap:8px}.users-online-dot{width:8px;height:8px;border-radius:50%;background:#35df8a;box-shadow:0 0 0 4px rgba(53,223,138,.09)}.users-toolbar{display:flex;align-items:center;gap:9px}.users-search{display:flex;align-items:center;gap:7px;min-width:300px;height:38px;padding:0 10px;border:1px solid #224b68;border-radius:9px;background:#06131f;color:#5e94b8}.users-search:focus-within{border-color:#2d96dc;box-shadow:0 0 0 3px rgba(45,150,220,.09)}.users-search input{width:100%;border:0;outline:0;background:transparent;color:#eaf7ff;font-size:11px}.users-search input::placeholder{color:#54738a}.users-toolbar button,.users-secondary-btn{height:38px;padding:0 13px;border:1px solid #2a5878;border-radius:8px;background:#0a2031;color:#e8f6ff;font-size:10px;font-weight:850;cursor:pointer}.users-toolbar button:hover,.users-secondary-btn:hover{border-color:#3b9ede;background:#0d2f49}
.users-live-table-wrap{max-height:520px;overflow:auto}.users-active-table{min-width:1080px}.users-active-table td{vertical-align:middle}.users-online-state{display:inline-flex;align-items:center;gap:7px;color:#67e3a7;font-size:10px;font-weight:850}.users-online-state i{width:7px;height:7px;border-radius:50%;background:#38e792;box-shadow:0 0 0 4px rgba(56,231,146,.08)}.users-name-cell b{display:block;color:#f1f8ff}.users-name-cell small{display:block;margin-top:3px;color:#5d819b;font-size:9px}.users-rank-badge{display:inline-grid;place-items:center;min-width:34px;height:27px;padding:0 8px;border:1px solid #9b7930;border-radius:8px;background:#2b210c;color:#ffd773;font-weight:900}.users-rank-none{color:#5c7487}.users-access-chips{display:flex;gap:6px;flex-wrap:wrap;min-width:230px}.users-access-chip{display:inline-flex;align-items:center;gap:5px;min-height:25px;padding:0 8px;border:1px solid #28516b;border-radius:999px;background:#0b2232;color:#a8d6f4;font-size:9px;font-weight:850;white-space:nowrap}.users-access-chip.system_access{border-color:#795f27;background:#2a210c;color:#ffd36e}.users-access-chip.bot_dashboard{border-color:#246f9f;background:#082842;color:#76ccff}.users-access-chip.users{border-color:#62438d;background:#1d1230;color:#d3adff}.users-access-chip.locked em{font-style:normal;font-size:7px;padding:2px 4px;border-radius:999px;background:rgba(255,255,255,.08);opacity:.8}.users-no-access{color:#607f96;font-size:10px}.users-channels{display:flex;align-items:center;gap:6px;max-width:250px}.users-channel-count{display:grid;place-items:center;min-width:22px;height:22px;border:1px solid #2c5975;border-radius:7px;background:#092032;color:#8bd1ff;font-size:9px;font-weight:900}.users-channel-list{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#82a6be;font-size:9px}.users-edit-btn{border-color:#23699a!important;background:#0a2940!important;color:#9dd9ff!important}
.users-editor-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.users-editor-title h2{margin:2px 0 5px}.users-editor-title p:not(.system-kicker){margin:0;color:#769ab4;font-size:10px}.users-access-form{grid-template-columns:minmax(220px,1.35fr) repeat(3,minmax(190px,1fr)) auto;align-items:stretch}.users-username-field{display:grid!important;align-content:start}.users-permission-option{min-height:72px!important;padding:11px!important;border:1px solid #1f4660!important;border-radius:10px!important;background:#071827!important}.users-permission-option:has(input:checked){border-color:#2487c5!important;background:#09253b!important}.users-permission-option.locked{opacity:.72;border-style:dashed!important}.users-permission-option small{display:block;margin-top:4px;color:#63839a!important;font-size:8px!important;line-height:1.35}.users-permission-option b{font-size:10px}.users-lock-note{grid-column:1/-2;align-self:center;padding:8px 10px;border:1px solid #5c4b22;border-radius:8px;background:#241d0d;color:#d8bd70;font-size:9px}.users-save-access{align-self:stretch;min-width:150px;border:1px solid #278ce1!important;background:linear-gradient(135deg,#168cf2,#1265c8)!important;color:#fff!important;font-weight:900!important}.users-directory-table{min-width:1080px}.private-access-yes small{margin-left:3px;color:#7eb69b;font-size:7px;text-transform:uppercase}.private-role.member,.private-role.user,.private-role.none{color:#8eabbf;border-color:#315069}
@media(max-width:1250px){.users-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.users-access-form{grid-template-columns:1fr 1fr}.users-save-access{min-height:46px}.users-lock-note{grid-column:1/-1}.users-search{min-width:240px}}
@media(max-width:760px){.users-live-hero{align-items:flex-start}.users-hero-status{justify-content:flex-start}.users-stat-grid{grid-template-columns:1fr 1fr}.users-panel-head,.users-editor-title{align-items:flex-start;flex-direction:column}.users-toolbar{width:100%;align-items:stretch}.users-search{min-width:0;flex:1}.users-access-form{grid-template-columns:1fr}.users-lock-note{grid-column:auto}.users-save-access{min-height:46px}.users-active-card,.users-directory-card,.users-access-editor{padding:13px}}
@media(max-width:480px){.users-stat-grid{grid-template-columns:1fr}.users-toolbar{flex-direction:column}.users-toolbar button{width:100%}}

@media(max-width:760px){.system-level-availability>div:first-child{align-items:flex-start;flex-direction:column}}

/* legacy regional editor styles retained for compatibility */
.system-role-identity{grid-template-columns:minmax(240px,1fr) minmax(150px,190px) minmax(120px,150px) auto}
.system-grant-level-editor{display:grid;gap:9px;margin:12px 0;padding:12px;border:1px solid #173b59;border-radius:10px;background:#071827}
.system-grant-level-editor>div:first-child{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.system-grant-level-editor>div:first-child>span{color:#79a5c5;font-size:9px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.system-grant-level-editor small{color:#587d99;font-size:9px;line-height:1.4}
.system-grant-level-options{display:flex;flex-wrap:wrap;gap:7px}
.system-grant-level-options label{display:flex;align-items:center;gap:7px;min-height:32px;padding:7px 10px;border:1px solid #255272;border-radius:8px;background:#092137;color:#cae9ff;font-size:9px;font-weight:800;cursor:pointer}
.system-grant-level-options label:has(input:checked){border-color:#258fe0;background:#0c3150;color:#e7f7ff}
.system-grant-level-options input{accent-color:#238de7}
.system-grant-level-empty{color:#6e8ca2;font-size:9px}
@media(max-width:900px){.system-role-identity{grid-template-columns:1fr 1fr}.system-role-name-actions{grid-column:1/-1}}
@media(max-width:760px){.system-grant-level-editor>div:first-child{align-items:flex-start;flex-direction:column}.system-role-identity{grid-template-columns:1fr}.system-role-name-actions{grid-column:auto}}

/* v68 — Global Access Tables / linked Local Access Levels */
.permission-head{margin-bottom:14px}
.permission-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}
.permission-stats article{display:flex;align-items:center;justify-content:space-between;min-height:74px;padding:14px 16px;border:1px solid #173f5e;border-radius:12px;background:linear-gradient(145deg,#0a1f30,#071522)}
.permission-stats span{color:#77a6c8;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.permission-stats strong{color:#f3f9ff;font-size:25px}
.permission-card{margin-bottom:14px;padding:14px;border:1px solid #164a70;background:linear-gradient(145deg,rgba(9,31,48,.98),rgba(5,19,31,.98));box-shadow:0 14px 35px rgba(0,0,0,.12)}
.permission-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.permission-card-head.compact{margin-bottom:14px}.permission-card-head>div:first-child{display:flex;align-items:center;gap:11px;min-width:0}.permission-card-head h3{margin:0;color:#f5f9ff;font-size:16px}.permission-card-head p{margin:3px 0 0;color:#72a0bf;font-size:10px}.permission-card-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border:1px solid #1677bf;border-radius:10px;background:linear-gradient(145deg,#0876da,#07569b);color:#dff4ff;font-size:20px;font-weight:900}
.permission-card-actions{display:flex;align-items:center;gap:10px}.permission-info{max-width:390px;padding:9px 12px;border:1px solid #17608f;border-radius:8px;background:#071c2c;color:#7fc8f7;font-size:9px;font-weight:750}.permission-card-head button,.permission-modal-actions button,.permission-assign-form>button{min-height:39px;padding:0 15px;border:1px solid #177ee0;border-radius:8px;background:linear-gradient(135deg,#1593ff,#0c63dc);color:#fff;font-size:10px;font-weight:900;cursor:pointer}.permission-card-head button:hover,.permission-modal-actions button:hover,.permission-assign-form>button:hover{filter:brightness(1.08)}
.permission-main-grid{display:grid;grid-template-columns:minmax(620px,1.55fr) minmax(320px,.72fr);gap:14px;align-items:start}.local-level-card,.assign-access-card{min-height:100%}
.permission-table-wrap{border:1px solid #113a58;border-radius:9px;overflow:auto;background:#061421}.permission-table{min-width:760px}.permission-table th{background:#0d2a40;color:#91b6d1;font-size:9px;letter-spacing:.06em;text-transform:uppercase}.permission-table td{vertical-align:middle}.permission-description{white-space:pre-line;color:#9bc3df!important;line-height:1.35}
.permission-role-name{display:inline-flex;align-items:center;min-width:170px;padding:7px 10px;border:1px solid #3e5368;border-radius:7px;background:#132435;color:#d9edfb;font-size:10px;font-weight:900;letter-spacing:.02em}.permission-role-name.local{min-width:135px}.permission-role-name.region-sa,.permission-region-badge.region-sa,.permission-role-pill.region-sa{border-color:#c93450;background:linear-gradient(135deg,rgba(137,22,43,.82),rgba(70,17,30,.76));color:#ff7187}.permission-role-name.region-asia,.permission-region-badge.region-asia,.permission-role-pill.region-asia{border-color:#1688df;background:linear-gradient(135deg,rgba(11,74,128,.9),rgba(7,39,70,.85));color:#51b8ff}.permission-role-name.region-eu,.permission-region-badge.region-eu,.permission-role-pill.region-eu{border-color:#19a466;background:linear-gradient(135deg,rgba(10,92,55,.86),rgba(7,47,31,.82));color:#48e699}.permission-role-name.region-all,.permission-region-badge.region-all,.permission-role-pill.region-all{border-color:#7a57c7;background:linear-gradient(135deg,rgba(69,42,128,.86),rgba(35,23,67,.82));color:#c6a8ff}.permission-region-badge{display:inline-flex;justify-content:center;min-width:48px;padding:6px 9px;border:1px solid;border-radius:7px;font-size:9px;font-weight:950}
.permission-table .row-actions{flex-wrap:nowrap}.permission-table .row-actions button{min-width:auto;padding:7px 10px}.permission-table .row-actions button.danger{border-color:#7e2435;background:#2b111a;color:#ff6d83}
.permission-assign-form{display:grid;gap:11px}.permission-assign-form label{display:grid;gap:6px}.permission-assign-form label>span{color:#75a8cb;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.permission-assign-form input,.permission-assign-form select{width:100%;height:42px;border:1px solid #1e557b;border-radius:8px;background:#051522;color:#eef8ff;padding:0 11px;outline:0}.permission-assign-form input:focus,.permission-assign-form select:focus{border-color:#2198ee;box-shadow:0 0 0 3px rgba(33,152,238,.1)}.permission-assign-form small{color:#678da8;font-size:9px;line-height:1.4}.permission-region-line{display:flex;align-items:center;justify-content:space-between;padding:9px 11px;border:1px solid #153c59;border-radius:8px;background:#071a29}.permission-region-line span{color:#6f98b5;font-size:9px;font-weight:900;text-transform:uppercase}.permission-region-line strong{color:#d9efff;font-size:11px}
.permission-rule{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:11px 14px;border:1px solid #17608c;border-radius:10px;background:linear-gradient(90deg,#07223a,#071724);color:#7fb4d7}.permission-rule>span{font-size:22px;color:#33aaff}.permission-rule strong{display:block;color:#6dccff;font-size:10px}.permission-rule p{margin:2px 0 0;font-size:9px}.permission-rule-preview{display:flex;align-items:center;gap:7px;margin-left:auto;flex-wrap:wrap;justify-content:flex-end}.permission-rule-preview b{color:#d9eefe}.permission-role-pill{padding:6px 9px;border:1px solid;border-radius:7px;font-size:8px;font-weight:900;white-space:nowrap}
.assignments-card{margin-top:0}.assignment-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.assignment-columns h4{margin:0 0 8px;color:#8ab4d0;font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.permission-modal[hidden]{display:none!important}.permission-modal{position:fixed;z-index:1500;inset:0;display:grid;place-items:center;padding:24px}.permission-modal-backdrop{position:absolute;inset:0;background:rgba(1,7,12,.82);backdrop-filter:blur(5px)}.permission-modal-dialog{position:relative;z-index:1;width:min(980px,96vw);max-height:92vh;overflow:auto;border:1px solid #17689d;border-radius:14px;background:linear-gradient(145deg,#0a2134,#06131f);box-shadow:0 35px 100px rgba(0,0,0,.58)}.permission-modal-head{display:flex;align-items:flex-start;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #173c58}.permission-modal-head p{margin:0 0 4px;color:#52baff;font-size:9px;font-weight:950;letter-spacing:.12em}.permission-modal-head h3{margin:0;font-size:18px}.permission-modal-head>button{width:36px;height:36px;border:1px solid #31556d;border-radius:8px;background:#091925;color:#d4e8f6;font-size:20px;cursor:pointer}.permission-level-form{display:grid;grid-template-columns:1fr 180px 1fr;gap:12px;padding:16px 18px}.permission-level-form>label{display:grid;gap:6px}.permission-level-form>label>span{color:#78a8c8;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.permission-level-form input,.permission-level-form select,.permission-command-head input{height:41px;border:1px solid #245678;border-radius:8px;background:#051521;color:#f2f8fd;padding:0 11px}.permission-command-head{grid-column:1/-1;display:grid;grid-template-columns:1fr minmax(220px,.75fr) auto;gap:10px;align-items:end;padding-top:4px}.permission-command-head>div:first-child{display:grid;gap:4px}.permission-command-head>div:first-child>span{color:#80b0d0;font-size:9px;font-weight:900;text-transform:uppercase}.permission-command-head small{color:#678ba5;font-size:9px}.permission-command-head>div:last-child{display:flex;gap:8px}.permission-command-head button{height:41px;border:1px solid #265d83;border-radius:8px;background:#09263b;color:#e9f6ff;font-size:9px;font-weight:900;cursor:pointer}.permission-level-form .system-command-grid-studio{grid-column:1/-1;max-height:340px;overflow:auto}.permission-modal-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:9px;padding-top:4px}.permission-modal-actions .secondary{border-color:#31546d;background:#091b29;color:#c7dce9}.permission-modal-actions .danger{margin-right:auto;border-color:#7b2a3d;background:#2c121c;color:#ff748a}.permission-modal-open{overflow:hidden}
@media(max-width:1180px){.permission-main-grid{grid-template-columns:1fr}.assignment-columns{grid-template-columns:1fr}.permission-card-actions{align-items:flex-end;flex-direction:column}.permission-info{max-width:none}}
@media(max-width:760px){.permission-stats{grid-template-columns:1fr}.permission-card-head{align-items:flex-start;flex-direction:column}.permission-card-actions{width:100%;align-items:stretch}.permission-main-grid{grid-template-columns:1fr}.permission-rule{align-items:flex-start;flex-wrap:wrap}.permission-rule-preview{width:100%;margin-left:0;justify-content:flex-start}.permission-level-form,.permission-command-head{grid-template-columns:1fr}.permission-command-head,.permission-level-form .system-command-grid-studio,.permission-modal-actions{grid-column:auto}.permission-modal{padding:10px}}
.permission-room-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;max-height:360px;overflow:auto;padding:4px 1px}
.permission-room-grid label{display:flex;align-items:center;gap:10px;min-height:42px;padding:0 12px;border:1px solid #245678;border-radius:8px;background:#061b2b;color:#e8f6ff;font-size:10px;font-weight:800}
.permission-room-grid label.is-disabled{opacity:.45}
.permission-room-grid input{width:16px;height:16px}
.permission-rooms-dialog{width:min(860px,96vw)}
.permission-modal-foot{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px;padding-top:6px}
.permission-modal-foot button{min-height:41px;padding:0 15px;border:1px solid #265d83;border-radius:8px;background:#09263b;color:#e9f6ff;font-size:10px;font-weight:900;cursor:pointer}
.permission-modal-foot button[type="submit"]{border-color:#177ee0;background:linear-gradient(135deg,#1593ff,#0c63dc);color:#fff}
.users-access-card{padding:18px;margin-bottom:16px}
.users-access-form{display:grid;grid-template-columns:minmax(240px,440px) auto;gap:12px;align-items:end}
.users-access-form label{display:grid;gap:6px}
.users-access-form label>span{color:#78a8c8;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.users-access-form input{height:41px;border:1px solid #245678;border-radius:8px;background:#051521;color:#f2f8fd;padding:0 11px}
.users-access-form button{min-height:41px;padding:0 16px;border:1px solid #177ee0;border-radius:8px;background:linear-gradient(135deg,#1593ff,#0c63dc);color:#fff;font-size:10px;font-weight:900;cursor:pointer}
.users-access-note{margin:10px 0 0;color:#7ba2bf;font-size:11px;line-height:1.5}
.users-access-table-wrap{margin-top:10px}
@media(max-width:760px){.users-access-form{grid-template-columns:1fr}}

/* v71 home tournament previews */
.home-tournaments{padding:26px max(24px,5%);background:linear-gradient(160deg,#0c1622,#10131b);border-top:1px solid #283345}
.home-tournaments-heading{display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:18px}
.home-tournaments-heading small{color:#8ac6f5;letter-spacing:.14em;font-size:10px;font-weight:900}
.home-tournaments-heading h2{margin:7px 0;font-size:26px}.home-tournaments-heading p{font-size:12px;color:#9caab8;margin:0}
.home-tournaments-heading>a{color:#b5d9f2;font-weight:800;text-decoration:none;font-size:12px}
.home-tournament-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.home-tournament-card{display:flex;flex-direction:column;gap:10px;min-width:0;padding:21px;text-decoration:none;color:#edf8ff;background:#0d2437;border:1px solid #2d526c;border-radius:13px;transition:border-color .2s,transform .2s}
.home-tournament-card:hover{border-color:#4aafea;transform:translateY(-2px)}
.home-tournament-card strong{font-size:19px}.home-tournament-region{color:#8ac6f5;font-size:10px;font-weight:900;letter-spacing:.12em}
.home-tournament-status{color:#a5c1d4;font-size:12px}.home-tournament-champion{color:#ffd88b;font-size:12px;font-weight:700;overflow-wrap:anywhere}
.home-tournament-empty{color:#88a2b5;font-size:12px}.home-tournament-link{color:#69c7ff;font-size:11px;font-weight:850;margin-top:8px}
@media(max-width:800px){.home-tournament-grid{grid-template-columns:1fr}.home-tournaments-heading h2{font-size:22px}}

/* v72 — Website login activity & Tournament access */
.users-site-card,.users-tournament-card{border-color:#245578;background:linear-gradient(130deg,#091d2e,#061421)}
.users-site-table{min-width:860px}
.users-website-summary{display:flex;gap:18px;flex-wrap:wrap;padding:12px 3px;color:#9ac5df;font-size:11px}
.users-website-summary>span{display:inline-flex;align-items:center;gap:7px}
.users-website-summary b{color:#fff;font-size:15px}
.users-website-summary i{display:inline-block;width:8px;height:8px;border-radius:50%}
.users-offline-state{display:inline-flex;align-items:center;gap:7px;color:#93a3af;font-size:10px;font-weight:850}
.users-offline-state i{width:7px;height:7px;border-radius:50%;background:#70818d}
.users-tournament-allowed{display:inline-flex;padding:6px 9px;border:1px solid #176e59;border-radius:8px;background:#082d29;color:#62e6ba;font-size:10px;font-weight:800}
.users-tournament-denied{color:#829bad;font-size:10px}
.users-site-table td{vertical-align:middle}
.users-site-table td:last-child{min-width:170px}
.users-site-table button:disabled{opacity:.55;cursor:not-allowed}
.users-quick-grant{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:8px 0 16px;padding:14px;border:1px solid #21465f;border-radius:10px;background:#061728}
.users-quick-grant[hidden]{display:none}
.users-quick-grant label{font-size:11px;font-weight:800;color:#9bc5df}
.users-quick-grant input{flex:1;min-width:195px;height:38px;padding:0 12px;background:#071b2a;border:1px solid #2c5976;border-radius:8px;color:#fff}
.users-quick-grant button{min-height:38px;padding:0 13px;border:1px solid #168de5;border-radius:8px;background:#0e6fbf;color:#fff;font-weight:800;cursor:pointer}
.users-access-chip.create_brackets{border-color:#1b7968;background:#08362f;color:#78f1c5}
@media(max-width:760px){.users-website-summary{gap:10px}.users-quick-grant{align-items:stretch;flex-direction:column}.users-quick-grant input,.users-quick-grant button{width:100%}}

/* v73: Standalone private route visibility regression fix.
   .page is used exclusively by the home SPA router; the Users and Bot Dashboard
   pages have their own HTML documents and must never be hidden by it. */
html[data-page="users"] main.private-admin-page,
html[data-page="bot-dashboard"] main.private-admin-page { display: block; }

/* v74 — scoped bracket grant control */
.users-tournament-regions{grid-column:1/-1;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;border:1px solid #287396;border-radius:10px;background:#081e2d;color:#bde1f5}
.users-tournament-regions[hidden]{display:none!important}
.users-tournament-regions legend{font-size:11px;font-weight:900;color:#72ceff;padding:0 5px}
.users-tournament-regions label{display:flex!important;align-items:center;gap:6px;font-size:12px;cursor:pointer}
.users-tournament-regions input{width:16px!important;height:16px!important;accent-color:#23b0fa}
.users-tournament-regions small{width:100%;font-size:10px;color:#82a6bd}
.users-quick-grant select{height:38px;min-width:145px;padding:0 12px;background:#071b2a;border:1px solid #2c5976;border-radius:8px;color:#fff}
.users-tournament-card .private-users-table td:last-child button{margin:3px}
