:root {
    --bg: #080a0d;
    --bg-soft: #0e1116;
    --panel: rgba(15, 18, 23, .88);
    --panel-solid: #10141a;
    --line: rgba(255, 255, 255, .09);
    --muted: #8f98a6;
    --text: #f3f5f7;
    --ember: #ef641d;
    --ember-bright: #ff8a3d;
    --ember-dark: #9e2f0f;
    --green: #5ee779;
    --font-display: "Barlow Condensed", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 12%, rgba(25, 74, 72, .13), transparent 32rem),
        radial-gradient(circle at 87% 70%, rgba(122, 39, 13, .12), transparent 35rem),
        var(--bg);
    font-family: Inter, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
#embers { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; opacity: .6; }
main, .site-nav, .site-footer { position: relative; z-index: 3; }

.site-nav {
    min-height: 72px;
    background: rgba(6, 8, 11, .86);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}
.navbar-brand strong { display: block; font: 800 1.28rem/1 var(--font-display); letter-spacing: .08em; }
.navbar-brand small { display: block; margin-top: .28rem; color: #8c94a0; font-size: .58rem; letter-spacing: .22em; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; color: var(--ember-bright); border: 1px solid rgba(239, 100, 29, .35); border-radius: 50%; background: rgba(239, 100, 29, .08); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.navbar-nav .nav-link { color: #aeb5bf; padding: .7rem .85rem !important; font-size: .82rem; font-weight: 600; letter-spacing: .04em; }
.navbar-nav .nav-link:hover { color: #fff; }
.server-pill { display: flex; align-items: center; gap: .55rem; padding: .52rem .82rem; color: #d9ffe1; border: 1px solid rgba(94, 231, 121, .23); border-radius: 999px; background: rgba(94, 231, 121, .08); font-size: .75rem; }
.pulse-dot { display: inline-block; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(94, 231, 121, .55); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(94, 231, 121, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 231, 121, 0); } }

.hero { position: relative; min-height: 760px; padding-top: 72px; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-backdrop { position: absolute; inset: 0; overflow: hidden; background: #080a0d; }
.hero-backdrop-fill { position: absolute; inset: -3%; background: url("/static/bunker-background-wide.jpg") center / cover no-repeat; filter: blur(6px) brightness(.68) saturate(.9); transform: translateZ(0) scale(1.04); }
.hero-backdrop-image { position: absolute; inset: 0; transform-origin: center; backface-visibility: hidden; background: url("/static/bunker-background-wide.jpg") center / contain no-repeat; animation: bunker-drift 14s cubic-bezier(.45,0,.55,1) infinite; will-change: transform; }
.hero-backdrop-overlay { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(5,8,10,.32) 0%,rgba(5,8,10,.1) 48%,rgba(5,8,10,.1) 100%),linear-gradient(0deg,rgba(8,10,13,.12) 0%,rgba(5,8,10,.02) 38%,rgba(5,8,10,.14) 100%); }
.hero-backdrop-glow { position: absolute; inset: -18%; background: radial-gradient(ellipse at 78% 7%,rgba(255,91,20,.27),transparent 24%); mix-blend-mode: screen; opacity: .68; animation: bunker-glow 6s ease-in-out infinite alternate; }
@keyframes bunker-drift { 0%,100% { transform: translate3d(-.35%,0,0) scale(1.14) rotate(-.18deg); } 50% { transform: translate3d(.35%,.1%,0) scale(1.19) rotate(.18deg); } }
@keyframes bunker-glow { from { opacity: .38; } to { opacity: .9; } }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; color: #d0d4db; font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow > span { width: 28px; height: 1px; background: var(--ember); }
.hero h1, .page-hero h1, .profile-hero h1 { margin: .7rem 0 1rem; font-family: var(--font-display); font-weight: 800; letter-spacing: -.025em; text-transform: uppercase; }
.hero h1 { max-width: 880px; font-size: clamp(4.1rem, 8.5vw, 7.8rem); line-height: .84; text-shadow: 0 18px 55px #000; }
.hero h1 span { color: var(--ember-bright); }
.hero-copy { max-width: 720px; color: #b7bdc6; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.75; }

.btn { border-radius: 5px; padding: .78rem 1.1rem; font-size: .78rem; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.btn i { margin-right: .35rem; }
.btn-ember { color: #fff; border: 1px solid #f47630; background: linear-gradient(135deg, var(--ember-bright), #c83d0c); box-shadow: 0 12px 34px rgba(176, 55, 13, .27); }
.btn-ember:hover, .btn-ember:focus { color: #fff; border-color: #ffae77; background: linear-gradient(135deg, #ff9b5d, #df4a10); transform: translateY(-1px); }
.btn-glass { color: #e5e8ec; border: 1px solid rgba(255,255,255,.13); background: rgba(12, 15, 19, .72); backdrop-filter: blur(10px); }
.btn-glass:hover { color: #fff; border-color: rgba(239,100,29,.5); background: rgba(28, 24, 22, .9); }
.btn-unlink { color: #ffaaa5; border: 1px solid rgba(255,84,78,.36); background: rgba(255,84,78,.07); }
.btn-unlink:hover { color: #fff; border-color: rgba(255,84,78,.7); background: rgba(201,70,55,.28); box-shadow: 0 0 20px rgba(239,83,63,.16); }
.btn-discord { color: white; background: #5865f2; border-color: #7580ff; }
.btn-discord:hover { color: white; background: #6672f5; }

.feature-strip { display: flex; flex-wrap: wrap; max-width: 850px; border: 1px solid var(--line); border-radius: 6px; background: rgba(7, 10, 13, .66); backdrop-filter: blur(12px); }
.feature-strip > div { display: flex; align-items: center; gap: .8rem; min-width: 185px; padding: 1rem 1.15rem; border-right: 1px solid var(--line); }
.feature-strip > div:last-child { border-right: 0; }
.feature-strip i { color: var(--ember-bright); font-size: 1.2rem; }
.feature-strip span { display: flex; flex-direction: column; }
.feature-strip b { font: 600 1rem var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.feature-strip small { color: var(--muted); font-size: .67rem; }
.hero-crest { display: grid; justify-items: center; gap: 1.2rem; opacity: .9; }
.crest-ring { display: grid; width: 190px; height: 190px; place-items: center; border: 1px solid rgba(239,100,29,.35); border-radius: 50%; background: radial-gradient(circle, rgba(239,100,29,.19), rgba(5,8,10,.7) 70%); box-shadow: 0 0 90px rgba(239,100,29,.15), inset 0 0 30px rgba(239,100,29,.12); }
.crest-ring::before, .crest-ring::after { content: ""; position: absolute; width: 220px; height: 220px; border: 1px dashed rgba(255,255,255,.12); border-radius: 50%; animation: rotate 24s linear infinite; }
.crest-ring::after { width: 250px; height: 250px; border-color: rgba(239,100,29,.08); animation-direction: reverse; }
.crest-ring img { width: 154px; height: 154px; object-fit: cover; border: 3px solid rgba(239,100,29,.45); border-radius: 50%; filter: drop-shadow(0 0 22px rgba(239,100,29,.35)); }
.hero-crest > span { color: #b3bac3; font: 600 .72rem var(--font-display); letter-spacing: .25em; }
@keyframes rotate { to { transform: rotate(360deg); } }

.content-section { padding: 5.5rem 0; }
.section-heading { margin-bottom: 2rem; }
.section-heading h2, .panel h2, .portal-card h2 { margin: .4rem 0 0; font: 700 clamp(2rem,4vw,3rem) var(--font-display); text-transform: uppercase; }
.section-rule { height: 1px; flex: 1; max-width: 720px; background: linear-gradient(90deg, var(--line), transparent); }
.stat-card { position: relative; height: 100%; min-height: 142px; padding: 1.3rem; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(145deg, rgba(19,23,29,.95), rgba(9,12,16,.95)); }
.stat-card::after { content: ""; position: absolute; right: -32px; bottom: -44px; width: 100px; height: 100px; border-radius: 50%; background: rgba(239,100,29,.06); }
.stat-card > i { position: absolute; top: 1rem; right: 1rem; color: rgba(239,100,29,.48); font-size: 1.2rem; }
.stat-card strong { display: block; margin-top: 1.15rem; color: #fff; font: 700 2.1rem var(--font-display); letter-spacing: .02em; }
.stat-card span { color: var(--muted); font-size: .69rem; letter-spacing: .06em; text-transform: uppercase; }
.live-card { border-color: rgba(94,231,121,.2); }
.live-card > i { color: var(--green); }

.panel { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); box-shadow: 0 20px 70px rgba(0,0,0,.2); backdrop-filter: blur(14px); }
.panel-title { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 1.25rem; border-bottom: 1px solid var(--line); color: #e8ebef; font: 600 .8rem var(--font-display); letter-spacing: .1em; text-transform: uppercase; }
.panel-title i { color: var(--ember-bright); margin-right: .4rem; }
.panel-title a, .panel-title small { color: var(--muted); font: 600 .66rem Inter,sans-serif; text-decoration: none; letter-spacing: .02em; text-transform: none; }
.panel-title a:hover { color: var(--ember-bright); }
.rank-row, .live-row { display: flex; align-items: center; gap: .85rem; padding: .82rem 1.2rem; color: #eef0f3; border-bottom: 1px solid rgba(255,255,255,.055); text-decoration: none; transition: background .18s, transform .18s; }
.rank-row:last-child, .live-row:last-child { border-bottom: 0; }
.rank-row:hover, .live-row:hover { color: white; background: rgba(255,255,255,.035); transform: translateX(2px); }
.rank-row small, .live-row small, .player-cell small { display: block; color: var(--muted); font-size: .65rem; }
.rank-position { width: 26px; color: var(--ember-bright); font: 700 1.05rem var(--font-display); }
.player-avatar { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(239,100,29,.35); border-radius: 50%; color: #ffd5bd; background: linear-gradient(135deg, rgba(239,100,29,.26), rgba(84,25,8,.4)); font: 700 1rem var(--font-display); }
.home-community-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(340px,.8fr); align-items: start; gap: 1.25rem; }
.slayer-panel, .lobby-snapshot-panel { align-self: start; }
.slayer-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; background: var(--line); }
.slayer-card { position: relative; display: grid; min-height: 185px; grid-template-columns: auto 1fr; gap: .75rem 1rem; padding: 1rem 1.1rem; overflow: hidden; color: #edf0f4; background: #0d1116; text-decoration: none; transition: background .18s,transform .18s; }
.slayer-card::after { position: absolute; right: -45px; bottom: -60px; width: 130px; height: 130px; content: ""; border: 1px solid rgba(239,100,29,.1); border-radius: 50%; background: rgba(239,100,29,.025); }
.slayer-card:hover { z-index: 1; color: #fff; background: #12171d; transform: translateY(-2px); }
.slayer-champion { grid-column: 1/-1; min-height: 168px; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; background: radial-gradient(circle at 82% 20%,rgba(239,100,29,.11),transparent 35%),#0e1217; }
.slayer-card-top { display: flex; align-items: center; gap: .65rem; }
.slayer-position { color: var(--ember-bright); font: 800 .72rem var(--font-display); letter-spacing: .08em; }
.slayer-identity { display: flex; min-width: 0; flex-direction: column; align-self: center; }
.slayer-identity b { overflow: hidden; font: 700 1.08rem var(--font-display); text-overflow: ellipsis; white-space: nowrap; }
.slayer-identity small { color: var(--muted); font-size: .62rem; }
.slayer-card > .player-badges { grid-column: 1/-1; align-self: end; margin-top: 0; }
.slayer-champion > .player-badges { grid-column: 2; align-self: center; }
.slayer-kills { display: flex; grid-column: 1/-1; flex-direction: column; align-self: end; }
.slayer-kills strong { color: #fff; font: 800 1.35rem var(--font-display); }
.slayer-kills span { color: #78828e; font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.slayer-champion .slayer-kills { grid-column: 3; align-items: flex-end; align-self: center; }
.slayer-champion .slayer-kills strong { font-size: 1.8rem; }
.lobby-snapshot-list { max-height: 620px; overflow-y: auto; scrollbar-color: rgba(239,100,29,.45) transparent; scrollbar-width: thin; }
.lobby-player-card { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .85rem; min-height: 105px; padding: .9rem 1.05rem; color: #edf0f4; border-bottom: 1px solid rgba(255,255,255,.055); text-decoration: none; transition: background .18s,transform .18s; }
.lobby-player-card:last-child { border-bottom: 0; }
.lobby-player-card:hover { color: #fff; background: rgba(255,255,255,.035); transform: translateX(2px); }
.lobby-player-avatar { display: grid; width: 38px; height: 38px; place-items: center; color: #ffc49f; border: 1px solid rgba(239,100,29,.32); border-radius: 6px; background: linear-gradient(145deg,rgba(239,100,29,.18),rgba(239,100,29,.035)); font: 800 1rem var(--font-display); }
.lobby-player-card b { display: block; font: 700 1rem var(--font-display); }
.lobby-player-card small { display: block; color: var(--muted); font-size: .61rem; }
.lobby-player-score { display: flex; min-width: 62px; flex-direction: column; align-items: flex-end; }
.lobby-player-score strong { color: #fff; font: 800 1rem var(--font-display); }
.lobby-player-score small { letter-spacing: .08em; text-transform: uppercase; }
.empty-state { padding: 3rem 1.5rem !important; color: var(--muted) !important; text-align: center; }
.empty-state i { display: inline-block; margin-bottom: .5rem; font-size: 1.8rem; }

.page-hero, .profile-hero { padding: 154px 0 54px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(7,9,12,.96), rgba(7,9,12,.73)); }
.page-hero.compact { padding-bottom: 42px; }
.page-hero h1, .profile-hero h1 { margin-bottom: .4rem; font-size: clamp(3rem,6vw,5rem); line-height: .9; }
.page-hero p { max-width: 660px; margin: 0; color: var(--muted); }
.metric-tabs { display: flex; gap: .2rem; overflow-x: auto; padding-bottom: .45rem; }
.metric-tabs a { flex: 0 0 auto; padding: .65rem .9rem; color: var(--muted); border: 1px solid transparent; border-radius: 4px; font-size: .72rem; font-weight: 600; text-decoration: none; }
.metric-tabs a:hover, .metric-tabs a.active { color: white; border-color: rgba(239,100,29,.28); background: rgba(239,100,29,.1); }
.Z-Haven-table { --bs-table-bg: transparent; --bs-table-color: #dfe3e8; --bs-table-border-color: rgba(255,255,255,.06); }
.Z-Haven-table th { padding: .85rem 1rem; color: #747e8b; border-bottom-width: 1px; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.Z-Haven-table td { padding: .85rem 1rem; }
.Z-Haven-table tbody tr { transition: background .16s; }
.Z-Haven-table tbody tr:hover { --bs-table-accent-bg: rgba(255,255,255,.025); }
.place { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font: 700 .85rem var(--font-display); }
.place-1 { color: #ffd45e; border-color: rgba(255,212,94,.35); background: rgba(255,212,94,.09); }
.place-2 { color: #d7dde4; border-color: rgba(215,221,228,.3); }
.place-3 { color: #d58c55; border-color: rgba(213,140,85,.3); }
.player-cell { display: inline-flex; align-items: center; gap: .7rem; color: #edf0f4; text-decoration: none; }
.player-cell:hover { color: var(--ember-bright); }
.bo2-name-color { color: var(--bo2-name-color) !important; text-shadow: 0 0 4px rgba(var(--bo2-name-rgb),.6),0 0 12px rgba(var(--bo2-name-rgb),.26); animation: player-name-glitter 2.8s ease-in-out infinite; }
.bo2-color-0 { --bo2-name-color: #171a1f; --bo2-name-rgb: 120,128,140; text-shadow: 0 0 1px rgba(255,255,255,.75),0 0 6px rgba(255,255,255,.2); }
.bo2-color-1 { --bo2-name-color: #ff4a4a; --bo2-name-rgb: 255,74,74; }
.bo2-color-2 { --bo2-name-color: #35df65; --bo2-name-rgb: 53,223,101; }
.bo2-color-3 { --bo2-name-color: #ffdc38; --bo2-name-rgb: 255,220,56; }
.bo2-color-4 { --bo2-name-color: #3b80d0; --bo2-name-rgb: 59,128,208; }
.bo2-color-5 { --bo2-name-color: #62c8ff; --bo2-name-rgb: 98,200,255; }
.bo2-color-6 { --bo2-name-color: #bc7aff; --bo2-name-rgb: 188,122,255; }
.bo2-color-7 { --bo2-name-color: #f6f8fb; --bo2-name-rgb: 246,248,251; }
.bo2-color-8 { --bo2-name-color: #d6dce4; --bo2-name-rgb: 214,220,228; }
.bo2-color-9 { --bo2-name-color: #d08148; --bo2-name-rgb: 208,129,72; }
@keyframes player-name-glitter { 0%,100% { filter: brightness(1); } 48% { filter: brightness(1.2); text-shadow: 0 0 6px rgba(var(--bo2-name-rgb),.82),0 0 17px rgba(var(--bo2-name-rgb),.38); } 56% { filter: brightness(1.08); } }
@media (prefers-reduced-motion: reduce) { .bo2-name-color { animation: none; } }
.rank-badge, .vip-badge, .premium-badge, .online-badge { display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .55rem; border: 1px solid rgba(239,100,29,.25); border-radius: 4px; color: #ffc6a4; background: rgba(239,100,29,.08); font: 700 .67rem Inter,sans-serif; white-space: nowrap; }
.rank-badge { --rank-color: #cbd1d9; --rank-rgb: 203,209,217; position: relative; isolation: isolate; overflow: hidden; color: var(--rank-color); border-color: rgba(var(--rank-rgb),.44); background: linear-gradient(135deg,rgba(var(--rank-rgb),.14),rgba(var(--rank-rgb),.035)); text-shadow: 0 0 5px rgba(var(--rank-rgb),.25); }
.rank-f { --rank-color: #b86a32; --rank-rgb: 184,106,50; }
.rank-e { --rank-color: #cbd1d9; --rank-rgb: 203,209,217; }
.rank-c { --rank-color: #2368b5; --rank-rgb: 35,104,181; }
.rank-d { --rank-color: #25d154; --rank-rgb: 37,209,84; }
.rank-b, .rank-awakened-iv, .rank-awakened-v, .rank-iv, .rank-v, .rank-vi, .rank-vii { --rank-color: #4cbcff; --rank-rgb: 76,188,255; }
.rank-a, .rank-awakened-i, .rank-awakened-ii, .rank-awakened-iii, .rank-i, .rank-ii, .rank-iii { --rank-color: #ab62ff; --rank-rgb: 171,98,255; }
.rank-s, .rank-ss, .rank-sss { --rank-color: #ffd21f; --rank-rgb: 255,210,31; }
.rank-iix, .rank-ix, .rank-x { --rank-color: #ff3838; --rank-rgb: 255,56,56; }
.rank-effect-1 { box-shadow: 0 0 7px rgba(var(--rank-rgb),.16); }
.rank-effect-2 { border-color: rgba(var(--rank-rgb),.58); box-shadow: 0 0 9px rgba(var(--rank-rgb),.24), inset 0 0 8px rgba(var(--rank-rgb),.07); }
.rank-effect-3 { border-color: rgba(var(--rank-rgb),.66); box-shadow: 0 0 12px rgba(var(--rank-rgb),.32), 0 0 24px rgba(var(--rank-rgb),.09); text-shadow: 0 0 8px rgba(var(--rank-rgb),.65); }
.rank-effect-4, .rank-effect-5, .rank-effect-6 { border-color: rgba(var(--rank-rgb),.76); box-shadow: 0 0 14px rgba(var(--rank-rgb),.4), 0 0 30px rgba(var(--rank-rgb),.13), inset 0 0 12px rgba(var(--rank-rgb),.09); text-shadow: 0 0 9px rgba(var(--rank-rgb),.8); }
.rank-effect-4::after, .rank-effect-5::after, .rank-effect-6::after { position: absolute; z-index: -1; inset: -100% 45%; content: ""; background: linear-gradient(90deg,transparent,rgba(255,255,255,.34),transparent); transform: rotate(18deg); animation: rank-shimmer 3.8s ease-in-out infinite; }
.rank-effect-5 { box-shadow: 0 0 16px rgba(var(--rank-rgb),.48), 0 0 36px rgba(var(--rank-rgb),.17), inset 0 0 13px rgba(var(--rank-rgb),.12); }
.rank-effect-6 { box-shadow: 0 0 18px rgba(var(--rank-rgb),.6), 0 0 42px rgba(var(--rank-rgb),.25), inset 0 0 14px rgba(var(--rank-rgb),.16); animation: rank-apex 2.2s ease-in-out infinite; }
@keyframes rank-shimmer { 0%,55% { transform: translateX(-260%) rotate(18deg); } 82%,100% { transform: translateX(260%) rotate(18deg); } }
@keyframes rank-apex { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.22); box-shadow: 0 0 22px rgba(var(--rank-rgb),.72), 0 0 50px rgba(var(--rank-rgb),.3), inset 0 0 15px rgba(var(--rank-rgb),.18); } }
.vip-badge { --vip-color: #ffbf47; --vip-rgb: 255,191,71; position: relative; isolation: isolate; overflow: hidden; color: var(--vip-color); border-color: rgba(var(--vip-rgb),.48); background: linear-gradient(135deg,rgba(var(--vip-rgb),.16),rgba(var(--vip-rgb),.04)); text-shadow: 0 0 6px rgba(var(--vip-rgb),.35); }
.vip-level-1 { --vip-color: #ffb52e; --vip-rgb: 255,181,46; }
.vip-level-2 { --vip-color: #b06cff; --vip-rgb: 176,108,255; }
.vip-level-3 { --vip-color: #ff4545; --vip-rgb: 255,69,69; }
.vip-level-4 { --vip-color: #77ed8c; --vip-rgb: 119,237,140; }
.vip-level-5 { --vip-color: #57c7ff; --vip-rgb: 87,199,255; }
.vip-level-6 { --vip-color: #ff3030; --vip-rgb: 255,48,48; }
.vip-effect-1 { box-shadow: 0 0 7px rgba(var(--vip-rgb),.2); }
.vip-effect-2 { border-color: rgba(var(--vip-rgb),.58); box-shadow: 0 0 10px rgba(var(--vip-rgb),.3), inset 0 0 8px rgba(var(--vip-rgb),.08); }
.vip-effect-3 { border-color: rgba(var(--vip-rgb),.67); box-shadow: 0 0 13px rgba(var(--vip-rgb),.38), 0 0 26px rgba(var(--vip-rgb),.1); text-shadow: 0 0 9px rgba(var(--vip-rgb),.72); }
.vip-effect-4, .vip-effect-5, .vip-effect-6 { border-color: rgba(var(--vip-rgb),.76); box-shadow: 0 0 15px rgba(var(--vip-rgb),.46), 0 0 32px rgba(var(--vip-rgb),.14), inset 0 0 11px rgba(var(--vip-rgb),.11); text-shadow: 0 0 10px rgba(var(--vip-rgb),.78); }
.vip-effect-4::after, .vip-effect-5::after, .vip-effect-6::after { position: absolute; z-index: -1; inset: -100% 45%; content: ""; background: linear-gradient(90deg,transparent,rgba(255,255,255,.38),transparent); transform: rotate(18deg); animation: vip-shimmer 3.4s ease-in-out infinite; }
.vip-effect-5 { box-shadow: 0 0 17px rgba(var(--vip-rgb),.54), 0 0 38px rgba(var(--vip-rgb),.19), inset 0 0 12px rgba(var(--vip-rgb),.14); }
.vip-effect-6 { box-shadow: 0 0 20px rgba(var(--vip-rgb),.68), 0 0 46px rgba(var(--vip-rgb),.28), inset 0 0 14px rgba(var(--vip-rgb),.18); animation: vip-apex 1.9s ease-in-out infinite; }
@keyframes vip-shimmer { 0%,52% { transform: translateX(-260%) rotate(18deg); } 80%,100% { transform: translateX(260%) rotate(18deg); } }
@keyframes vip-apex { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.28); box-shadow: 0 0 24px rgba(var(--vip-rgb),.78), 0 0 54px rgba(var(--vip-rgb),.34), inset 0 0 15px rgba(var(--vip-rgb),.2); } }
.premium-badge { color: #63ccff !important; border-color: rgba(76,188,255,.48); background: linear-gradient(135deg,rgba(76,188,255,.16),rgba(35,104,181,.05)); box-shadow: 0 0 10px rgba(76,188,255,.22), inset 0 0 8px rgba(76,188,255,.06); text-shadow: 0 0 7px rgba(76,188,255,.48); }
.player-badges { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; margin-top: .38rem; }
.online-badge { color: #beffca; border-color: rgba(94,231,121,.24); background: rgba(94,231,121,.08); }
.score-cell { color: #fff !important; font: 700 1rem var(--font-display); letter-spacing: .04em; }

.search-panel { display: flex; align-items: center; gap: .9rem; max-width: 920px; padding: .65rem; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.search-panel > i { margin-left: .6rem; color: var(--muted); }
.search-panel input { min-width: 0; flex: 1; padding: .6rem .2rem; color: #fff; border: 0; outline: 0; background: transparent; }
.search-panel input::placeholder { color: #68727f; }
.player-card { display: flex; min-height: 126px; align-items: center; gap: 1rem; padding: 1.2rem; color: #fff; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); text-decoration: none; transition: transform .18s, border-color .18s; }
.player-card:hover { color: #fff; border-color: rgba(239,100,29,.35); transform: translateY(-2px); }
.player-avatar-lg { width: 50px; height: 50px; font-size: 1.4rem; }
.player-card h3 { margin: 0 0 .3rem; font: 700 1.45rem var(--font-display); line-height: 1.05; }
.player-card h3 .bo2-name-color { font-size: inherit; }
.player-card span { color: var(--muted); font-size: .67rem; }
.player-card-name-row, .player-name-line { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }
.player-card-name-row { margin-bottom: .35rem; }
.player-card-name-row h3 { margin-bottom: 0; }
.player-card .rank-badge { color: var(--rank-color); }
.player-card .vip-badge { color: var(--vip-color); }
.player-card .premium-badge { color: #63ccff; }
.player-meta-row { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; }
.player-card > i { color: #5f6874; }
.mini-stats { display: flex; gap: .7rem; margin-top: .55rem; }
.mini-stats b { color: #dce1e7; font-size: .67rem; }

.profile-header { display: flex; align-items: center; gap: 1.4rem; }
.profile-header-actions { display: flex; align-items: center; gap: .55rem; }
.profile-staff-button { color: #ffb184; border: 1px solid rgba(239,100,29,.42); background: rgba(239,100,29,.1); font-size: .72rem; }
.profile-staff-button:hover { color: #fff; border-color: #ef641d; background: rgba(239,100,29,.2); }
.profile-avatar { width: 86px; height: 86px; font-size: 2.5rem; border-width: 2px; }
.profile-name-row { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem; margin-bottom: .4rem; }
.profile-name-row h1 { margin-bottom: 0; }
.profile-premium-slot:empty { display: none; }
.completion-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.completion-grid > div { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.completion-grid > div:nth-child(2n) { border-right: 0; }
.completion-grid small { display: block; color: var(--muted); font-size: .63rem; }
.completion-copy { min-width: 0; }
.completion-count { margin-left: auto; color: var(--ember-bright); font: 800 1.15rem var(--font-display); white-space: nowrap; }
.live-value-updated { animation: live-value-pulse .7s ease-out; }
@keyframes live-value-pulse {
    0% { color: #fff; text-shadow: 0 0 18px rgba(255,126,55,.95); transform: scale(1.12); }
    100% { text-shadow: none; transform: scale(1); }
}
.mode-completion-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.mode-completion-group { min-width: 0; border-right: 1px solid var(--line); }
.mode-completion-group:last-child { border-right: 0; }
.mode-completion-group h3 { margin: 0; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); color: #fff; font: 700 .78rem var(--font-display); letter-spacing: .04em; }
.mode-completion-group .completion-grid { grid-template-columns: 1fr; }
.mode-completion-group .completion-grid > div { border-right: 0; }
.completion-icon { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; color: #69727d; border: 1px solid var(--line); border-radius: 50%; }
.completion-icon.done { color: var(--green); border-color: rgba(94,231,121,.28); background: rgba(94,231,121,.08); }
.profile-details { margin: 0; }
.profile-details > div { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.profile-details > div:last-child { border-bottom: 0; }
.profile-details dt { color: var(--muted); font-size: .72rem; font-weight: 500; }
.profile-details dd { margin: 0; color: #fff; font: 700 .9rem var(--font-display); }
.server-address { min-width: min(100%,320px); padding: .8rem 1rem; border-left: 2px solid var(--ember); background: rgba(0,0,0,.3); }
.server-address small { display: block; color: var(--muted); font-size: .6rem; letter-spacing: .14em; }
.server-address b { display: block; margin-top: .2rem; font-size: .8rem; overflow-wrap: anywhere; }

.network-live-summary { display: grid; min-width: min(100%,390px); grid-template-columns: repeat(2,minmax(0,1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: rgba(5,7,10,.68); backdrop-filter: blur(12px); }
.network-live-summary > div { padding: 1rem 1.2rem; border-right: 1px solid var(--line); }
.network-live-summary > div:last-child { border-right: 0; }
.network-live-summary span { display: block; color: #fff; font: 800 1.65rem var(--font-display); }
.network-live-summary small { display: block; color: var(--muted); font-size: .6rem; letter-spacing: .11em; text-transform: uppercase; }
.lobby-network { display: grid; gap: 1.15rem; }
.lobby-card { position: relative; }
.lobby-card::before { position: absolute; top: 0; left: 0; width: 3px; height: 59px; content: ""; background: var(--green); box-shadow: 0 0 18px rgba(94,231,121,.35); }
.lobby-card.lobby-offline { opacity: .66; }
.lobby-card.lobby-offline::before { background: #5b626c; box-shadow: none; }
.lobby-card-head { display: flex; min-height: 59px; align-items: center; justify-content: space-between; gap: 1rem; padding: .72rem 1.2rem; border-bottom: 1px solid var(--line); }
.lobby-status { display: flex; min-width: 0; align-items: center; gap: .75rem; }
.lobby-status > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.lobby-status small { color: var(--ember-bright); font: 600 .55rem Inter,sans-serif; letter-spacing: .14em; }
.lobby-status b { overflow: hidden; color: #f4f5f7; font: 700 1rem var(--font-display); text-overflow: ellipsis; white-space: nowrap; }
.offline-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #5b626c; }
.lobby-count { color: #fff; font: 700 1.05rem var(--font-display); white-space: nowrap; }
.lobby-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; padding: .62rem 1.2rem; color: #89929d; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.012); font-size: .67rem; }
.lobby-meta i { color: var(--ember-bright); }
.live-refresh-note { display: flex; align-items: center; justify-content: flex-end; gap: .45rem; padding-top: .8rem; color: var(--muted); font-size: .66rem; }
@media (max-width: 575.98px) { .network-live-summary { grid-template-columns: 1fr; } .network-live-summary > div { border-right: 0; border-bottom: 1px solid var(--line); } .network-live-summary > div:last-child { border-bottom: 0; } }

.portal-section { display: grid; min-height: calc(100vh - 72px); align-items: center; padding: 140px 0 70px; background: linear-gradient(rgba(5,7,9,.76),rgba(5,7,9,.94)); }
.portal-card { width: min(100%,480px); padding: 2.3rem; border: 1px solid var(--line); border-radius: 8px; background: rgba(11,14,18,.93); box-shadow: 0 35px 110px rgba(0,0,0,.65); backdrop-filter: blur(18px); }
.portal-card > p { color: var(--muted); line-height: 1.65; }
.portal-logo { display: grid; width: 58px; height: 58px; margin-bottom: 1.2rem; place-items: center; color: var(--ember-bright); border: 1px solid rgba(239,100,29,.35); border-radius: 50%; font-size: 1.6rem; background: rgba(239,100,29,.08); }
.link-steps { margin: 1.6rem 0; }
.link-steps > div { display: flex; align-items: center; gap: .8rem; margin: .75rem 0; }
.link-steps span { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; color: #ffb184; border: 1px solid rgba(239,100,29,.35); border-radius: 50%; font-size: .68rem; }
.link-steps p { margin: 0; color: #b9c0c9; font-size: .8rem; }
code { color: #ffb184; padding: .08rem .34rem; border: 1px solid rgba(239,100,29,.18); border-radius: 3px; background: rgba(239,100,29,.08); }
.discord-user { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.6rem; padding: .75rem; border: 1px solid var(--line); border-radius: 5px; background: rgba(255,255,255,.025); }
.discord-user img { width: 38px; height: 38px; border-radius: 50%; }
.discord-user span { display: flex; flex: 1; flex-direction: column; }
.discord-user small { color: var(--muted); font-size: .6rem; }
.discord-user > i { color: var(--green); }
.portal-card label { display: block; margin: 1.2rem 0 .45rem; color: var(--muted); font-size: .67rem; text-transform: uppercase; letter-spacing: .08em; }
.code-input { width: 100%; margin-bottom: 1rem; padding: .85rem; color: #fff; border: 1px solid var(--line); border-radius: 5px; outline: none; background: rgba(255,255,255,.035); font: 700 1.8rem Inter,sans-serif; letter-spacing: .45em; text-align: center; }
.code-input:focus { border-color: rgba(239,100,29,.55); box-shadow: 0 0 0 3px rgba(239,100,29,.1); }
.success-mark, .error-mark { display: grid; width: 58px; height: 58px; margin: 0 auto 1.3rem; place-items: center; color: var(--green); border: 1px solid rgba(94,231,121,.35); border-radius: 50%; background: rgba(94,231,121,.08); font-size: 1.5rem; }
.error-mark { color: #ff7777; border-color: rgba(255,80,80,.35); background: rgba(255,80,80,.08); }
.alert-danger { color: #ffc0c0; border-color: rgba(255,80,80,.25); background: rgba(255,80,80,.08); font-size: .78rem; }
.alert-success { color: #b8ffd1; border: 1px solid rgba(62,219,118,.25); background: rgba(62,219,118,.08); font-size: .78rem; }

.site-footer { padding: 1.6rem 0; color: #737c87; border-top: 1px solid var(--line); background: #07090c; font-size: .68rem; }
.site-footer strong { color: #c7cdd5; }

/* Administrator control room */
.admin-hero { position: relative; overflow: hidden; padding: 112px 0 34px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 18% 5%,rgba(239,100,29,.2),transparent 34%),linear-gradient(120deg,rgba(5,7,9,.95),rgba(10,13,18,.88)); }
.admin-hero::after { position: absolute; inset: auto 0 0; height: 1px; content: ""; background: linear-gradient(90deg,transparent,#ef641d,transparent); opacity: .58; }
.admin-hero-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
.admin-hero .eyebrow { display: inline-flex; align-items: center; gap: .48rem; color: #ff9d6b; font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.admin-hero h1 { margin: .35rem 0 0; color: #fff; font: 800 clamp(3rem,6vw,5.5rem)/.88 var(--font-display); letter-spacing: -.025em; text-transform: uppercase; }
.admin-hero h1 span { color: var(--ember-bright); }
.admin-hero p { max-width: 670px; margin: .85rem 0 0; color: #929ba6; font-size: .82rem; }
.admin-identity { display: flex; min-width: 325px; align-items: center; gap: .8rem; padding: .9rem 1rem; border: 1px solid rgba(255,255,255,.09); border-radius: 6px; background: rgba(6,8,11,.72); box-shadow: 0 15px 45px rgba(0,0,0,.3); backdrop-filter: blur(10px); }
.admin-identity-icon { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; color: #ff9b68; border: 1px solid rgba(239,100,29,.35); border-radius: 4px; background: rgba(239,100,29,.1); }
.admin-identity > div { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.admin-identity small,.admin-identity span { color: #75808b; font-size: .58rem; }
.admin-identity strong { overflow: hidden; color: #fff; font: 700 .92rem var(--font-display); text-overflow: ellipsis; white-space: nowrap; }
.admin-identity .admin-secure { color: #80ef9b; }
.admin-shell { min-height: 72vh; padding-bottom: 4rem; background: radial-gradient(circle at 75% 18%,rgba(42,51,65,.14),transparent 40%),#080a0d; }
.admin-container { max-width: 1760px; padding-inline: clamp(1rem,2.5vw,3rem); }
.admin-tabs { position: sticky; z-index: 30; top: 67px; display: flex; align-items: center; gap: .25rem; margin-bottom: 1.25rem; padding: .72rem 0; border-bottom: 1px solid var(--line); background: rgba(8,10,13,.92); backdrop-filter: blur(15px); }
.admin-tabs button,.admin-tabs a { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .75rem; color: #7c8792; border: 0; border-radius: 4px; outline: 0; background: transparent; font-size: .67rem; font-weight: 650; text-decoration: none; transition: .18s ease; }
.admin-tabs button:hover,.admin-tabs a:hover,.admin-tabs button.active { color: #fff; background: rgba(255,255,255,.055); }
.admin-tabs button.active { color: #ffa172; box-shadow: inset 0 -1px #ef641d; }
.admin-stream-state { display: inline-flex; align-items: center; gap: .5rem; margin-left: auto; padding: .35rem .6rem; color: #91f6a8; font-size: .58rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #55de77; box-shadow: 0 0 0 4px rgba(85,222,119,.1),0 0 12px rgba(85,222,119,.55); animation: admin-pulse 1.7s ease infinite; }
.stream-offline .pulse-dot { background: #ff635d; box-shadow: 0 0 0 4px rgba(255,99,93,.1); animation: none; }
@keyframes admin-pulse { 50% { opacity: .52; transform: scale(.8); } }
.admin-view { display: none; }
.admin-view.active { display: block; animation: admin-enter .2s ease-out; }
@keyframes admin-enter { from { opacity: .35; transform: translateY(5px); } }
.admin-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .75rem; margin: 1.2rem 0; }
.admin-metrics article { position: relative; min-height: 112px; overflow: hidden; padding: 1rem 1.1rem 1rem 3.9rem; border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(135deg,rgba(255,255,255,.025),rgba(255,255,255,.008)); }
.admin-metrics article > i { position: absolute; top: 1rem; left: 1rem; display: grid; width: 34px; height: 34px; place-items: center; color: #ff8c50; border: 1px solid rgba(239,100,29,.22); border-radius: 4px; background: rgba(239,100,29,.08); }
.admin-metrics small,.admin-metrics span { display: block; color: #69737e; font-size: .57rem; }
.admin-metrics small { letter-spacing: .11em; text-transform: uppercase; }
.admin-metrics strong { display: block; margin: .22rem 0; color: #fff; font: 800 2rem var(--font-display); line-height: 1; }
.admin-value-pulse { animation: admin-value .55s ease; }
@keyframes admin-value { 45% { color: #ff8a4c; text-shadow: 0 0 15px rgba(239,100,29,.65); } }
.admin-server-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(400px,1fr)); gap: .8rem; margin-bottom: .8rem; }
.admin-server-card { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #0c0f14; box-shadow: 0 18px 50px rgba(0,0,0,.16); }
.admin-server-card.online { border-color: rgba(78,210,113,.15); }
.admin-server-card > header { display: flex; align-items: center; gap: .75rem; padding: .95rem 1rem .75rem; }
.server-mark { display: grid; width: 38px; height: 38px; place-items: center; color: #ff8c50; border: 1px solid rgba(239,100,29,.25); border-radius: 4px; background: rgba(239,100,29,.09); }
.admin-server-card header div { min-width: 0; flex: 1; }
.admin-server-card header small { color: #fd635b; font-size: .52rem; font-weight: 800; letter-spacing: .16em; }
.admin-server-card.online header small { color: #65df82; }
.admin-server-card h2 { overflow: hidden; margin: .1rem 0 0; color: #fff; font: 700 .88rem var(--font-display); text-overflow: ellipsis; white-space: nowrap; }
.server-count { color: #fff; font: 800 1.6rem var(--font-display); }
.server-count small { color: #68727d !important; font-size: .7rem !important; }
.server-meta { display: flex; flex-wrap: wrap; gap: .45rem 1rem; padding: 0 1rem .65rem; }
.server-meta span { color: #7c8792; font-size: .61rem; }
.server-meta i { margin-right: .35rem; color: #e46a32; }
.server-graph { display: block; width: 100%; height: 82px; border-top: 1px solid rgba(255,255,255,.025); border-bottom: 1px solid rgba(255,255,255,.035); background: linear-gradient(180deg,rgba(255,255,255,.012),transparent); }
.admin-server-card footer { display: flex; min-height: 47px; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 1rem; }
.admin-server-card footer > small { color: #606a75; font-size: .56rem; }
.admin-server-card footer div { display: flex; gap: .4rem; }
.admin-server-card footer button,.admin-action-button { padding: .38rem .55rem; color: #c2c9d1; border: 1px solid rgba(255,255,255,.09); border-radius: 3px; background: rgba(255,255,255,.025); font-size: .57rem; }
.admin-server-card footer button:hover,.admin-action-button:hover { color: #fff; border-color: rgba(239,100,29,.34); background: rgba(239,100,29,.08); }
.admin-server-card footer button.danger:hover { color: #ff8883; border-color: rgba(255,84,78,.3); background: rgba(255,84,78,.07); }
.admin-grid { display: grid; gap: .8rem; }
.admin-grid-main { grid-template-columns: minmax(0,2fr) minmax(330px,.75fr); }
.admin-grid-chat,.admin-grid-moderation { grid-template-columns: minmax(0,1fr); }
.admin-grid-staff { grid-template-columns: minmax(300px,.75fr) minmax(350px,1fr); }
.admin-permission-editor { grid-column: 1/-1; }
.admin-panel { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #0c0f14; }
.admin-panel > header { display: flex; min-height: 59px; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.012); }
.admin-panel > header > div { display: flex; flex-direction: column; }
.admin-panel > header span { color: #fff; font: 700 .78rem var(--font-display); letter-spacing: .025em; }
.admin-panel > header small { margin-top: .1rem; color: #68727e; font-size: .56rem; }
.admin-panel > header > i { color: #e66a31; }
.icon-button { display: grid; width: 30px; height: 30px; place-items: center; color: #8d97a2; border: 1px solid var(--line); border-radius: 3px; background: transparent; }
.icon-button:hover { color: #fff; border-color: rgba(239,100,29,.3); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { padding: .65rem .85rem; color: #59636f; border-bottom: 1px solid var(--line); background: rgba(0,0,0,.14); font-size: .52rem; letter-spacing: .13em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.admin-table td { padding: .68rem .85rem; color: #a8b0b9; border-bottom: 1px solid rgba(255,255,255,.045); font-size: .63rem; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table td > small { display: block; color: #65707b; font-size: .52rem; }
.admin-player-identity { display: flex; min-width: 175px; align-items: center; gap: .62rem; }
.admin-player-avatar { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; color: #ff9b67; border: 1px solid rgba(239,100,29,.28); border-radius: 4px; background: rgba(239,100,29,.085); font: 750 .78rem var(--font-display); }
.admin-player-identity > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.admin-player-identity b { overflow: hidden; max-width: 230px; color: #eef1f4; text-overflow: ellipsis; white-space: nowrap; }
.admin-player-identity b a { color: inherit; text-decoration: none; }
.admin-player-identity b a:hover { color: #ff9b67; }
.admin-player-identity small { color: #616c78; font-size: .51rem; }
.admin-rank { display: inline-flex; padding: .05rem .28rem; color: #ffad82; border: 1px solid rgba(239,100,29,.2); border-radius: 2px; font-size: .47rem; }
.discord-linked { display: inline-flex; align-items: center; gap: .3rem; color: #9aa9ff; font-size: .58rem; }
.admin-muted { color: #59636f; }
.server-key { color: #ff9b67; }
.admin-feed { max-height: 455px; overflow: auto; }
.admin-feed article { display: flex; align-items: center; gap: .65rem; padding: .72rem .85rem; border-bottom: 1px solid rgba(255,255,255,.045); }
.feed-icon { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; color: #ff7b70; border-radius: 50%; background: rgba(255,85,78,.08); font-size: .7rem; }
.feed-icon.type-warn { color: #ffc45b; background: rgba(255,190,70,.08); }
.feed-icon.type-flag { color: #bd90ff; background: rgba(152,91,255,.08); }
.admin-feed article > div { min-width: 0; flex: 1; color: #9ba4ae; font-size: .59rem; }
.admin-feed b,.admin-feed strong { color: #eef1f4; }
.admin-feed small { display: block; overflow: hidden; margin-top: .13rem; color: #606b76; text-overflow: ellipsis; white-space: nowrap; }
.penalty-status { display: inline-flex; padding: .2rem .38rem; color: #7d8792; border: 1px solid rgba(255,255,255,.08); border-radius: 3px; font-size: .49rem; font-weight: 750; text-transform: uppercase; }
.penalty-status.active { color: #ff7d76; border-color: rgba(255,82,75,.25); background: rgba(255,82,75,.06); }
.penalty-status.resolved { color: #72da8a; border-color: rgba(86,212,116,.2); }
.penalty-status.command-completed { color: #72da8a; border-color: rgba(86,212,116,.2); }
.penalty-status.command-failed { color: #ff7770; border-color: rgba(255,77,70,.25); }
.penalty-status.command-queued,.penalty-status.command-dispatched { color: #ffc36d; border-color: rgba(255,184,77,.22); }
.penalty-type { color: #ff9b68; text-transform: capitalize; }
.reason-cell { max-width: 340px; overflow-wrap: anywhere; }
.admin-chat-feed { height: min(62vh,660px); overflow-y: auto; padding: .35rem 0; scroll-behavior: smooth; }
.admin-chat-feed article { display: grid; grid-template-columns: 54px 55px 1fr; gap: .55rem; padding: .56rem .9rem; border-left: 2px solid transparent; }
.admin-chat-feed article:hover { background: rgba(255,255,255,.018); }
.admin-chat-feed article.command { border-left-color: rgba(239,100,29,.55); background: rgba(239,100,29,.025); }
.chat-time,.chat-server { color: #59646f; font-size: .52rem; }
.chat-server { color: #df713c; }
.admin-chat-feed article > div { min-width: 0; }
.admin-chat-feed b { color: #edf0f3; font-size: .65rem; }
.admin-chat-feed small { margin-left: .5rem; color: #7986d8; font-size: .5rem; }
.admin-chat-feed p { margin: .15rem 0 0; color: #aab2bb; font-size: .68rem; overflow-wrap: anywhere; }
.admin-chat-compose { display: grid; grid-template-columns: minmax(150px,.24fr) 1fr auto; gap: .5rem; padding: .75rem; border-top: 1px solid var(--line); }
.admin-chat-compose select,.admin-chat-compose input,.admin-staff-search input,.admin-editor-body select,.admin-modal select,.admin-modal input,.admin-modal textarea { width: 100%; padding: .62rem .7rem; color: #dfe4e9; border: 1px solid rgba(255,255,255,.09); border-radius: 4px; outline: 0; background: #11151b; font-size: .65rem; }
.admin-chat-compose input:focus,.admin-staff-search input:focus,.admin-modal textarea:focus { border-color: rgba(239,100,29,.45); box-shadow: 0 0 0 3px rgba(239,100,29,.06); }
.admin-chat-compose button,.admin-staff-search button { padding: .6rem 1rem; color: #fff; border: 1px solid #e85f1c; border-radius: 4px; background: linear-gradient(#f17535,#d95012); font-size: .62rem; font-weight: 750; }
.retention-pill { padding: .25rem .45rem; color: #80db95 !important; border: 1px solid rgba(83,208,112,.18); border-radius: 3px; background: rgba(83,208,112,.05); font: 650 .5rem Inter,sans-serif !important; }
.admin-staff-search { display: flex; gap: .5rem; padding: .8rem; }
.admin-search-results,.admin-staff-list { max-height: 420px; overflow: auto; border-top: 1px solid var(--line); }
.admin-search-results > button,.admin-staff-list > button { display: flex; width: 100%; align-items: center; gap: .75rem; padding: .7rem .8rem; color: #dce1e6; border: 0; border-bottom: 1px solid rgba(255,255,255,.04); background: transparent; text-align: left; }
.admin-search-results > button:hover,.admin-staff-list > button:hover { background: rgba(255,255,255,.025); }
.admin-search-results .admin-player-identity,.admin-staff-list .admin-player-identity { flex: 1; }
.admin-staff-list > button > i { color: #59636f; }
.moderation-search-player { display: flex; align-items: center; gap: .75rem; padding: .7rem .8rem; border-bottom: 1px solid rgba(255,255,255,.04); }
.moderation-search-player .admin-player-identity { flex: 1; }
.moderation-search-player > button { padding: .4rem .58rem; color: #ffad82; border: 1px solid rgba(239,100,29,.27); border-radius: 3px; background: rgba(239,100,29,.06); font-size: .56rem; }
.moderation-search-player > button:hover { color: #fff; border-color: rgba(239,100,29,.55); }
.online-search-state { color: #72dd8b; font-size: .54rem; }
.staff-role { padding: .23rem .42rem; color: #b4bdc7; border: 1px solid rgba(255,255,255,.1); border-radius: 3px; font-size: .5rem; }
.staff-role.role-owner { color: #ffb16d; border-color: rgba(239,100,29,.35); box-shadow: 0 0 12px rgba(239,100,29,.1); }
.staff-role.role-administrator { color: #ff7e76; border-color: rgba(255,79,70,.25); }
.staff-role.role-moderator { color: #70cfff; border-color: rgba(78,181,255,.25); }
.admin-editor-body { padding: 1rem; }
.admin-editor-body > label { display: grid; max-width: 440px; grid-template-columns: 120px 1fr; align-items: center; gap: .8rem; margin-bottom: 1rem; color: #7e8994; font-size: .62rem; }
.permission-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .5rem; }
.permission-grid > label { position: relative; display: flex; min-height: 65px; align-items: flex-start; gap: .65rem; padding: .7rem; border: 1px solid rgba(255,255,255,.065); border-radius: 4px; background: rgba(255,255,255,.012); cursor: pointer; }
.permission-grid input { margin-top: .2rem; accent-color: #ef641d; }
.permission-grid span { display: flex; min-width: 0; flex-direction: column; }
.permission-grid b { color: #cfd5dc; font: 650 .6rem Inter,sans-serif; }
.permission-grid small { margin-top: .18rem; color: #616c77; font-size: .52rem; line-height: 1.4; }
.admin-empty { display: flex; min-height: 140px; align-items: center; justify-content: center; flex-direction: column; gap: .45rem; color: #58626d; font-size: .66rem; text-align: center; }
.admin-empty i { color: #ce6230; font-size: 1.5rem; }
.admin-empty b { color: #9ca5ae; }
.admin-empty.compact { min-height: 72px; }
.admin-modal .modal-content { color: #dbe0e5; border: 1px solid rgba(255,255,255,.11); border-radius: 7px; background: #0d1116; box-shadow: 0 35px 100px rgba(0,0,0,.75); }
.modal-backdrop { z-index: 1050; }
body > .admin-modal { z-index: 1060; pointer-events: auto; }
body > .admin-modal .modal-dialog,body > .admin-modal .modal-content { pointer-events: auto; }
.admin-modal .modal-header,.admin-modal .modal-footer { border-color: var(--line); }
.admin-modal .modal-header small { color: #ec743a; font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; }
.admin-modal h2 { margin: .15rem 0 0; color: #fff; font: 750 1.2rem var(--font-display); }
.admin-modal label { display: block; margin-bottom: .9rem; color: #7f8994; font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; }
.admin-modal label > input,.admin-modal label > select,.admin-modal label > textarea { margin-top: .35rem; text-transform: none; }
.admin-danger-button { color: #fff; border-color: #e65f48; background: #c94637; box-shadow: 0 0 16px rgba(217,67,53,.18); font-size: .67rem; }
.admin-danger-button:hover:not(:disabled) { color: #fff; border-color: #ff806b; background: #e05442; box-shadow: 0 0 22px rgba(239,83,63,.28); }
.admin-danger-button:disabled { color: #737b83; border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.035); box-shadow: none; opacity: 1; cursor: not-allowed; }
.moderation-action-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .45rem; margin-bottom: 1rem; }
.moderation-action-option { margin: 0 !important; cursor: pointer; }
.moderation-action-option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.moderation-action-option span { display: flex; min-height: 43px; align-items: center; justify-content: center; gap: .32rem; padding: .5rem; color: #d0d6dc; border: 1px solid rgba(255,255,255,.18); border-radius: 4px; background: rgba(255,255,255,.045); font-size: .58rem; text-transform: none; transition: .16s ease; }
.moderation-action-option:hover span,.moderation-action-option input:focus-visible + span { color: #fff; border-color: rgba(239,100,29,.58); background: rgba(239,100,29,.1); }
.moderation-action-option input:checked + span { color: #fff; border-color: #ef641d; background: rgba(239,100,29,.19); box-shadow: 0 0 15px rgba(239,100,29,.18), inset 0 0 0 1px rgba(239,100,29,.16); }
.moderation-action-option.danger input:checked + span { color: #ffd0cc; border-color: #e85b50; background: rgba(255,75,67,.14); box-shadow: 0 0 15px rgba(255,75,67,.16); }
.moderation-field-help { display: block; margin-top: .38rem; color: #a3abb4; font-size: .52rem; letter-spacing: 0; text-transform: none; }
.admin-toast { position: fixed; z-index: 2000; right: 1.25rem; bottom: 1.25rem; max-width: min(420px,calc(100vw - 2rem)); padding: .8rem 1rem; color: #c8f8d3; border: 1px solid rgba(75,211,106,.28); border-radius: 5px; background: rgba(17,39,24,.96); box-shadow: 0 18px 55px rgba(0,0,0,.5); font-size: .67rem; opacity: 0; pointer-events: none; transform: translateY(12px); transition: .2s; }
.admin-toast.show { opacity: 1; transform: translateY(0); }
.admin-toast.error { color: #ffc7c4; border-color: rgba(255,77,69,.32); background: rgba(51,18,18,.97); }

.profile-staff-panel { overflow: hidden; border: 1px solid rgba(239,100,29,.22); border-radius: 7px; background: #0c0f14; box-shadow: 0 18px 55px rgba(0,0,0,.18); scroll-margin-top: 90px; }
.profile-staff-tabs { display: flex; align-items: center; gap: .25rem; padding: .55rem .7rem; border-bottom: 1px solid var(--line); background: rgba(239,100,29,.025); }
.profile-staff-tabs > button { padding: .5rem .65rem; color: #737e89; border: 0; border-radius: 3px; background: transparent; font-size: .62rem; }
.profile-staff-tabs > button:hover,.profile-staff-tabs > button.active { color: #ffad82; background: rgba(239,100,29,.08); }
.profile-staff-tabs > button span { margin-left: .25rem; padding: .1rem .28rem; color: #89939e; border-radius: 8px; background: rgba(255,255,255,.06); font-size: .48rem; }
.profile-admin-status { display: flex; align-items: center; gap: .45rem; margin-left: auto; color: #7b8590; font-size: .54rem; }
.profile-admin-status .pulse-dot.offline { background: #68717b; box-shadow: none; animation: none; }
.profile-staff-view { display: none; }
.profile-staff-view.active { display: block; }
.profile-action-bar { display: flex; flex-wrap: wrap; gap: .45rem; padding: .85rem; border-bottom: 1px solid var(--line); }
.profile-action-bar button { padding: .5rem .72rem; color: #d3d9df; border: 1px solid rgba(255,255,255,.18); border-radius: 4px; background: rgba(255,255,255,.045); box-shadow: inset 0 0 0 1px rgba(255,255,255,.015); font-size: .6rem; cursor: pointer; }
.profile-action-bar button:hover,.profile-action-bar button:focus-visible { color: #fff; border-color: rgba(239,100,29,.6); background: rgba(239,100,29,.12); box-shadow: 0 0 13px rgba(239,100,29,.12); }
.profile-action-bar button.danger:hover { color: #ffaaa5; border-color: rgba(255,75,67,.4); background: rgba(255,75,67,.07); }
.profile-penalty-history > header { display: flex; align-items: center; justify-content: space-between; padding: .7rem .85rem; }
.profile-penalty-history > header b { color: #dce1e6; font: 650 .67rem var(--font-display); }
.profile-penalty-history > header small { color: #65707b; font-size: .52rem; }
.profile-chat-log { max-height: 440px; overflow: auto; }
.profile-chat-log article { display: grid; grid-template-columns: 140px 55px 1fr; gap: .6rem; padding: .65rem .85rem; border-bottom: 1px solid rgba(255,255,255,.045); }
.profile-chat-log article.command { border-left: 2px solid rgba(239,100,29,.52); background: rgba(239,100,29,.025); }
.profile-chat-log time,.profile-chat-log span { color: #65707b; font-size: .54rem; }
.profile-chat-log span { color: #dd713d; }
.profile-chat-log p { margin: 0; color: #b2bac3; font-size: .66rem; overflow-wrap: anywhere; }
.profile-empty { padding: 1.2rem; color: #646f7a; font-size: .63rem; text-align: center; }

/* Shop */
.shop-hero { position: relative; min-height: 650px; display: flex; align-items: center; padding: 142px 0 78px; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 72% 40%,rgba(255,128,48,.16),transparent 25rem),linear-gradient(100deg,rgba(5,7,10,.98),rgba(7,9,13,.72)); }
.shop-hero::after { position: absolute; inset: auto 0 0; height: 2px; content: ""; background: linear-gradient(90deg,transparent,#ff7b31 36%,#8c43ff 65%,transparent); opacity: .7; box-shadow: 0 0 28px rgba(239,100,29,.32); }
.shop-hero-grid { position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg,#000,transparent 70%); }
.shop-hero h1 { max-width: 760px; margin: .8rem 0 1rem; font: 800 clamp(4.6rem,9vw,8rem)/.82 var(--font-display); letter-spacing: -.035em; text-transform: uppercase; text-shadow: 0 20px 60px #000; }
.shop-hero h1 span { color: #ff843d; text-shadow: 0 0 28px rgba(255,107,32,.28); }
.shop-hero p { max-width: 680px; margin: 0; color: #b7bec7; font-size: clamp(.95rem,1.4vw,1.12rem); line-height: 1.75; }
.shop-primary-cta { box-shadow: 0 14px 38px rgba(239,100,29,.3); }
.shop-section { position: relative; }
.shop-extras-section { padding-top: 1rem; background: linear-gradient(180deg,transparent,rgba(255,255,255,.012),transparent); }
.shop-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.1rem; }
.shop-section-heading h2,.shop-ticket-panel h2 { margin: .45rem 0 0; font: 750 clamp(2.4rem,5vw,4rem)/.95 var(--font-display); text-transform: uppercase; }
.shop-section-heading > p { max-width: 470px; margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.7; }
.shop-vip-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; align-items: stretch; }
.shop-vip-card { --tier-color: #f7bd38; --tier-rgb: 247,189,56; position: relative; display: flex; min-width: 0; flex-direction: column; padding: 1.35rem; overflow: hidden; border: 1px solid rgba(var(--tier-rgb),.3); border-radius: 8px; background: radial-gradient(circle at 85% 4%,rgba(var(--tier-rgb),.12),transparent 30%),linear-gradient(150deg,#12161c,#0a0d11); box-shadow: 0 22px 65px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.025); transition: transform .24s ease,border-color .24s ease,box-shadow .24s ease; }
.shop-vip-card:hover { z-index: 1; border-color: rgba(var(--tier-rgb),.7); box-shadow: 0 26px 75px rgba(0,0,0,.36),0 0 32px rgba(var(--tier-rgb),.12); transform: translateY(-6px); }
.vip-tier-two { --tier-color: #d75bff; --tier-rgb: 215,91,255; }
.vip-tier-three { --tier-color: #ff5148; --tier-rgb: 255,81,72; }
.mvp-tier-one { --tier-color: #ffd43b; --tier-rgb: 255,212,59; }
.shop-card-sheen { position: absolute; inset: -80% auto -80% -70%; width: 46%; background: linear-gradient(90deg,transparent,rgba(255,255,255,.055),transparent); transform: rotate(18deg); transition: left .65s ease; }
.shop-vip-card:hover .shop-card-sheen { left: 125%; }
.shop-vip-card header { display: flex; align-items: center; gap: .9rem; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.shop-card-kicker { display: block; margin-bottom: .2rem; color: #747e8a; font-size: .53rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.shop-vip-card h3,.shop-extra-card h3 { margin: 0; color: white; font: 750 1.55rem var(--font-display); letter-spacing: .02em; text-transform: uppercase; }
.vip-insignia { position: relative; display: grid; width: 70px; height: 76px; flex: 0 0 auto; place-items: center; padding: 10px; color: var(--tier-color); border: 1px solid rgba(var(--tier-rgb),.5); clip-path: polygon(50% 0,94% 22%,87% 77%,50% 100%,13% 77%,6% 22%); background: radial-gradient(circle at 50% 38%,rgba(var(--tier-rgb),.28),transparent 44%),#0d1116; filter: drop-shadow(0 0 11px rgba(var(--tier-rgb),.28)); }
.vip-insignia::after { position: absolute; inset: 6px; content: ""; border: 1px solid rgba(var(--tier-rgb),.22); clip-path: inherit; }
.vip-insignia-gem { z-index: 1; color: var(--tier-color); font-size: 1.55rem; line-height: 1; text-align: center; filter: drop-shadow(0 0 8px rgba(var(--tier-rgb),.68)); }
.shop-tier-ribbon { position: absolute; top: 14px; right: -30px; width: 120px; padding: .28rem; color: #0b0d11; background: var(--tier-color); font: 800 .5rem Inter,sans-serif; letter-spacing: .1em; text-align: center; text-transform: uppercase; transform: rotate(42deg); box-shadow: 0 0 18px rgba(var(--tier-rgb),.28); }
.shop-price { display: flex; align-items: baseline; gap: .55rem; padding: 1.2rem 0 .45rem; }
.shop-price strong { color: var(--tier-color); font: 800 2.45rem var(--font-display); text-shadow: 0 0 18px rgba(var(--tier-rgb),.28); }
.shop-price span { color: #6f7984; font-size: .55rem; letter-spacing: .08em; text-transform: uppercase; }
.shop-perks { display: grid; gap: .65rem; margin: .55rem 0 1.35rem; padding: 0; list-style: none; }
.shop-perks li { display: flex; align-items: flex-start; gap: .55rem; color: #bbc2ca; font-size: .7rem; line-height: 1.55; }
.shop-perks li i { flex: 0 0 auto; margin-top: .12rem; color: var(--tier-color); }
.shop-perks li b { color: #f4f6f8; font-weight: 700; }
.shop-card-button { display: flex; align-items: center; justify-content: center; gap: .45rem; margin-top: auto; padding: .78rem 1rem; color: var(--tier-color); border: 1px solid rgba(var(--tier-rgb),.38); border-radius: 5px; background: rgba(var(--tier-rgb),.08); font-size: .65rem; font-weight: 700; text-decoration: none; letter-spacing: .04em; text-transform: uppercase; transition: .18s ease; }
.shop-card-button:hover { color: #fff; border-color: var(--tier-color); background: rgba(var(--tier-rgb),.18); box-shadow: 0 0 22px rgba(var(--tier-rgb),.14); }
.shop-extras-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.shop-extra-card { --extra-color: #58b8ff; --extra-rgb: 88,184,255; position: relative; display: grid; min-height: 235px; grid-template-columns: auto 1fr auto; align-items: start; gap: 1rem; padding: 1.25rem; overflow: hidden; border: 1px solid rgba(var(--extra-rgb),.25); border-radius: 8px; background: radial-gradient(circle at 0 0,rgba(var(--extra-rgb),.12),transparent 34%),#0d1116; transition: transform .2s ease,border-color .2s ease; }
.shop-extra-card::after { position: absolute; right: -55px; bottom: -75px; width: 165px; height: 165px; content: ""; border: 1px solid rgba(var(--extra-rgb),.12); border-radius: 50%; box-shadow: inset 0 0 35px rgba(var(--extra-rgb),.04); }
.shop-extra-card:hover { border-color: rgba(var(--extra-rgb),.55); transform: translateY(-3px); }
.extra-drone { --extra-color: #58e2d3; --extra-rgb: 88,226,211; }
.extra-boost { --extra-color: #e866ff; --extra-rgb: 232,102,255; }
.extra-tag { --extra-color: #ff9148; --extra-rgb: 255,145,72; }
.shop-extra-icon { display: grid; width: 52px; height: 52px; place-items: center; color: var(--extra-color); border: 1px solid rgba(var(--extra-rgb),.4); border-radius: 7px; background: rgba(var(--extra-rgb),.09); font-size: 1.35rem; box-shadow: 0 0 18px rgba(var(--extra-rgb),.08); }
.shop-extra-copy { min-width: 0; }
.shop-extra-price { margin-top: .25rem; color: var(--extra-color); font: 750 1.3rem var(--font-display); }
.shop-extra-card .shop-perks { margin-bottom: 0; }
.shop-extra-card .shop-perks.compact { gap: .45rem; }
.shop-extra-card .shop-perks li i { color: var(--extra-color); }
.shop-extra-card > a { z-index: 1; display: grid; width: 36px; height: 36px; place-items: center; color: var(--extra-color); border: 1px solid rgba(var(--extra-rgb),.32); border-radius: 50%; background: rgba(var(--extra-rgb),.07); text-decoration: none; transition: .18s ease; }
.shop-extra-card > a:hover { color: #fff; border-color: var(--extra-color); background: rgba(var(--extra-rgb),.2); transform: rotate(8deg); }
.shop-ticket-section { padding: 1rem 0 5.5rem; }
.shop-ticket-panel { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(330px,.72fr); align-items: center; gap: 3rem; padding: clamp(1.6rem,4vw,3.2rem); overflow: hidden; border: 1px solid rgba(88,101,242,.3); border-radius: 9px; background: radial-gradient(circle at 100% 0,rgba(88,101,242,.17),transparent 37%),linear-gradient(135deg,#11151b,#0b0e13); box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.shop-ticket-panel::before { position: absolute; inset: 0 auto 0 0; width: 3px; content: ""; background: linear-gradient(#7580ff,#a458ff); box-shadow: 0 0 20px #5865f2; }
.shop-ticket-copy p { max-width: 650px; margin: 1rem 0 1.4rem; color: #a9b1bc; font-size: .77rem; line-height: 1.75; }
.shop-ticket-copy p b { color: #dce0ff; }
.shop-ticket-steps { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.shop-ticket-steps li { display: flex; align-items: center; gap: .9rem; padding: .85rem; border: 1px solid rgba(255,255,255,.075); border-radius: 6px; background: rgba(255,255,255,.025); }
.shop-ticket-steps > li > span { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; color: #aeb5ff; border: 1px solid rgba(117,128,255,.35); border-radius: 50%; background: rgba(88,101,242,.1); font: 750 .7rem var(--font-display); }
.shop-ticket-steps b { display: block; color: #eceef3; font: 700 .82rem var(--font-display); }
.shop-ticket-steps small { display: block; margin-top: .12rem; color: #747e89; font-size: .58rem; }

@media (max-width: 991.98px) {
    .site-nav .navbar-collapse { margin-top: .8rem; padding: .8rem 0 1rem; border-top: 1px solid var(--line); }
    .server-pill { width: fit-content; margin-top: .6rem; }
    .hero { min-height: 700px; }
    .hero h1 { font-size: clamp(4rem,15vw,6rem); }
    .admin-hero-grid { grid-template-columns: 1fr; }
    .admin-identity { width: min(100%,430px); }
    .admin-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .admin-grid-main,.admin-grid-staff { grid-template-columns: 1fr; }
    .permission-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .home-community-grid { grid-template-columns: 1fr; }
    .shop-vip-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .shop-vip-card { max-width: 720px; width: 100%; margin-inline: auto; }
    .shop-section-heading { align-items: flex-start; flex-direction: column; gap: .75rem; }
    .shop-ticket-panel { grid-template-columns: 1fr; gap: 1.8rem; }
}
@media (max-width: 767.98px) {
    .content-section { padding: 3.5rem 0; }
    .hero { min-height: 680px; }
    .hero h1 { line-height: .9; }
    .feature-strip > div { width: 100%; border-right: 0; border-bottom: 1px solid var(--line); }
    .feature-strip > div:last-child { border-bottom: 0; }
    .profile-header { align-items: flex-start; flex-wrap: wrap; }
    .profile-header .btn { width: 100%; }
    .profile-header-actions { width: 100%; flex-wrap: wrap; }
    .moderation-action-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .profile-staff-tabs { align-items: flex-start; flex-wrap: wrap; }
    .profile-admin-status { width: 100%; margin: .3rem 0 0; }
    .profile-chat-log article { grid-template-columns: 1fr; gap: .2rem; }
    .completion-grid { grid-template-columns: 1fr; }
    .completion-grid > div { border-right: 0; }
    .mode-completion-grid { grid-template-columns: 1fr; }
    .mode-completion-group { border-right: 0; border-bottom: 1px solid var(--line); }
    .search-panel { flex-wrap: wrap; }
    .search-panel button { width: 100%; }
    .portal-card { padding: 1.5rem; }
    .admin-hero { padding-top: 94px; }
    .admin-tabs { top: 60px; overflow-x: auto; }
    .admin-tabs button,.admin-tabs a { flex: 0 0 auto; }
    .admin-stream-state { margin-left: 0; }
    .admin-metrics { grid-template-columns: 1fr 1fr; }
    .admin-server-grid { grid-template-columns: 1fr; }
    .admin-server-card footer { align-items: flex-start; flex-direction: column; }
    .admin-chat-compose { grid-template-columns: 1fr; }
    .permission-grid { grid-template-columns: 1fr; }
    .admin-identity { min-width: 0; }
    .slayer-grid { grid-template-columns: 1fr; }
    .slayer-champion { grid-column: auto; grid-template-columns: auto 1fr; }
    .slayer-champion > .player-badges,.slayer-champion .slayer-kills { grid-column: 1/-1; align-items: flex-start; }
    .lobby-player-card { grid-template-columns: auto minmax(0,1fr); }
    .lobby-player-score { grid-column: 2; align-items: flex-start; }
    .shop-hero { min-height: 590px; padding-top: 118px; }
    .shop-hero h1 { font-size: clamp(4rem,20vw,6rem); }
    .shop-extras-grid { grid-template-columns: 1fr; }
    .shop-vip-grid { grid-template-columns: 1fr; }
    .shop-extra-card { grid-template-columns: auto 1fr; }
    .shop-extra-card > a { position: absolute; top: 1rem; right: 1rem; }
    .shop-ticket-panel { padding: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    #embers { display: none; }
}

.inventory-owner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; }
.inventory-owner h2 { margin: .3rem 0 0; font: 700 1.65rem var(--font-display); }
.inventory-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; align-items: start; }
.inventory-panel { min-width: 0; padding: 1.25rem; }
.inventory-panel .panel-title { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.inventory-panel .panel-title small { color: var(--muted); font-size: .65rem; }
.inventory-list { display: grid; max-height: 680px; overflow: auto; scrollbar-color: rgba(255,255,255,.2) transparent; }
.inventory-item { display: flex; min-height: 47px; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem .25rem; border-bottom: 1px solid rgba(255,255,255,.055); color: #c7cdd5; font-size: .78rem; }
.inventory-item:last-child { border-bottom: 0; }
.inventory-item > span { display: flex; min-width: 0; align-items: center; gap: .65rem; }
.inventory-item > span i { flex: 0 0 auto; color: var(--ember-bright); }
.inventory-item strong { flex: 0 0 auto; color: #fff; font: 700 .9rem var(--font-display); }
.inventory-empty { display: flex; min-height: 150px; align-items: center; justify-content: center; flex-direction: column; gap: .6rem; color: var(--muted); font-size: .8rem; text-align: center; }
.inventory-empty > i,.inventory-notice > i { color: var(--ember-bright); font-size: 1.5rem; }
.inventory-notice { display: flex; align-items: flex-start; gap: 1rem; padding: 1.3rem; }
.inventory-notice p { margin: .35rem 0 0; color: var(--muted); font-size: .8rem; line-height: 1.6; }
@media (max-width: 991.98px) { .inventory-grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .inventory-owner { align-items: flex-start; flex-direction: column; } .inventory-owner .btn { width: 100%; } }

/* Show the center wordmark from the supplied artwork. */
.brand-mark { width: 82px; height: 44px; overflow: hidden; border-radius: 4px; background: transparent; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; justify-self: center; }
.crest-ring { overflow: hidden; position: relative; }
.crest-ring img { width: 78%; height: 78%; object-fit: contain; border: 0; border-radius: 0; justify-self: center; }
.crest-ring { border-color: rgba(220,226,234,.3); background: radial-gradient(circle,rgba(220,226,234,.12),rgba(5,8,10,.78) 70%); box-shadow: 0 0 90px rgba(220,226,234,.08),inset 0 0 30px rgba(220,226,234,.08); }
.crest-ring::after { border-color: rgba(220,226,234,.08); }
.crest-ring img { filter: grayscale(1) drop-shadow(0 0 18px rgba(220,226,234,.24)); }

/* Live lobby cards */
.lobby-network { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); align-items: start; }
.lobby-network > .empty-state { grid-column: 1 / -1; }
.live-map-card { overflow: hidden; min-width: 0; border-radius: 10px; }
.live-map-cover { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 176px; aspect-ratio: 16 / 8; padding: .9rem 1rem; isolation: isolate; background: #181b20; }
.live-map-cover img, .live-map-cover::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.live-map-cover img { object-fit: cover; }
.live-map-cover::after { content: ""; background: linear-gradient(180deg, rgba(6,8,11,.55), transparent 36%, rgba(6,8,11,.94)); }
.live-map-card-offline img { filter: grayscale(.55) brightness(.65); }
.live-map-top, .live-map-meta { display: flex; justify-content: space-between; align-items: center; gap: .65rem; }
.live-map-status, .live-map-capacity { display: inline-flex; align-items: center; gap: .45rem; padding: .32rem .55rem; border: 1px solid rgba(255,255,255,.17); border-radius: 5px; background: rgba(10,12,16,.8); color: #f3f5f8; font-size: .75rem; white-space: nowrap; }
.live-map-capacity { font-variant-numeric: tabular-nums; font-weight: 700; }
.live-map-title h2 { margin: 0; color: #fff; font: 800 clamp(1.45rem,2.8vw,2.15rem)/1 var(--font-display); }
.live-map-title p { margin: .3rem 0 0; color: #d1d6de; font-size: .78rem; overflow-wrap: anywhere; }
.live-map-meta { flex-wrap: wrap; padding: .65rem 1rem; border-bottom: 1px solid var(--line); color: #a7b0bd; font-size: .75rem; }
.live-map-meta i { color: var(--ember-bright); }
.live-map-roster { list-style: none; margin: 0; padding: .15rem 1rem; }
.live-map-roster li { display: flex; align-items: center; gap: .46rem; min-height: 2.65rem; padding: .4rem 0; border-bottom: 1px solid var(--line); color: #e2e7ef; font-size: .83rem; }
.live-map-roster li:last-child { border-bottom: 0; }
.live-map-roster li > :first-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.live-map-roster a { color: inherit; text-decoration: none; }
.live-map-roster a:hover { text-decoration: underline; }
.live-map-roster li small, .live-map-roster .live-map-empty { color: #a7b0bd; }

.site-bunker-backdrop {
    position: fixed; inset: -16px; pointer-events: none;
    background: linear-gradient(rgba(8,10,13,.25), rgba(8,10,13,.62)), url('/static/bunker-background-wide.jpg') center / cover no-repeat;
    filter: blur(9px); z-index: 0;
}
body:not([data-page="home"]) .page-hero { background-color: rgba(8,10,13,.42); }
.live-map-cover { width: 100%; min-width: 0; }
.live-map-link { text-decoration: none; color: inherit; }
.live-map-link:focus-visible, .live-map-open:focus-visible { outline: 2px solid var(--ember-bright); outline-offset: -3px; }
.live-map-card { transition: border-color .18s, box-shadow .18s; }
.live-map-card:hover { border-color: rgba(255,138,61,.6); box-shadow: 0 8px 26px rgba(0,0,0,.36); }
.live-map-open { display: flex; justify-content: space-between; align-items: center; padding: .7rem 1rem; color: #ffd0af; text-decoration: none; font-size: .8rem; }
.live-map-open:hover { color: white; background: rgba(239,100,29,.12); }
.live-map-arrow { display: none; }
.live-lobby-back { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1rem; color: #ffd0af; text-decoration: none; }
.live-lobby-banner { aspect-ratio: auto; min-height: clamp(220px, 34vw, 390px); border-radius: 10px; overflow: hidden; }
.live-lobby-banner h1 { font: 800 clamp(2rem,6vw,4.3rem)/1 var(--font-display); margin: 0; }
.live-lobby-details { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.55fr); gap: 1rem; align-items: start; margin-top: 1rem; }
.live-lobby-details h2 { margin: 0; padding: .85rem 1rem; border-bottom: 1px solid var(--line); font: 700 1.35rem var(--font-display); }
.live-lobby-chat { max-height: 24rem; overflow: auto; list-style: none; margin: 0; padding: .15rem 1rem; }
.live-lobby-chat li { padding: .55rem 0; overflow-wrap: anywhere; border-bottom: 1px solid var(--line); }
.live-lobby-chat li:last-child { border-bottom: 0; }
.live-lobby-chat b { color: #ffc49f; font-size: .8rem; }
.live-lobby-chat p { margin: .16rem 0 0; color: #e2e7ef; }
@media (max-width: 680px) { .live-lobby-details { grid-template-columns: minmax(0,1fr); } }

.site-bunker-backdrop { display: block; }
body:not([data-page="home"]) :is(.page-hero, .profile-hero) { background: rgba(8,10,13,.27); }
.live-map-link { position: relative; z-index: 1; }
.live-map-cover img, .live-map-cover::after { pointer-events: none; }
.live-map-open { position: relative; z-index: 1; }
.live-map-title h2 { font-size: clamp(1.35rem, 2.35vw, 1.8rem); overflow-wrap: anywhere; }

.live-lobby-staff { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-top: 1rem; padding: .8rem 1rem; border-radius: 10px; }
.live-lobby-staff h2 { margin: 0; font: 700 1.25rem var(--font-display); }
.live-lobby-staff form { display: flex; flex-wrap: wrap; gap: .5rem; }
