    :root {
      color-scheme: dark;
      --bg: #090d14;
      --surface: #111824;
      --surface-2: #172130;
      --line: #2a394d;
      --line-soft: #202d3e;
      --text: #edf4ff;
      --muted: #8fa0b8;
      --blue: #63b3ff;
      --cyan: #5ce1d2;
      --green: #73dfa0;
      --amber: #f4c86a;
      --red: #ff7f91;
      --shadow: 0 24px 70px #0008;
      font: 14px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }
    * { box-sizing: border-box; }
    body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 80% -10%, #173354 0, transparent 32rem), var(--bg); color: var(--text); }
    a { color: inherit; text-decoration: none; }
    button, select { font: inherit; color: inherit; }
    .shell { min-height: 100vh; display: grid; grid-template-columns: 244px minmax(0, 1fr); }
    .sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 19px 14px; border-right: 1px solid var(--line-soft); background: #0b111bd9; backdrop-filter: blur(18px); }
    .brand { display: flex; align-items: center; gap: 11px; padding: 3px 7px 22px; }
    .brand-mark { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; background: linear-gradient(145deg, var(--blue), var(--cyan)); color: #07101c; font-weight: 900; font-size: 15px; box-shadow: 0 10px 30px #52c8ff33; }
    .brand strong, .brand span { display: block; }
    .brand span { color: var(--muted); font-size: .75rem; }
    .game-picker { padding: 0 6px 18px; }
    .game-picker label { display: block; margin-bottom: 6px; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
    select { width: 100%; border: 1px solid var(--line); border-radius: 9px; background: #0b111b; padding: 10px 11px; outline: none; }
    select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #63b3ff18; }
    .nav { display: grid; gap: 4px; }
    .nav a { display: flex; align-items: center; gap: 10px; border-radius: 9px; padding: 10px 11px; color: var(--muted); }
    .nav a:hover { background: var(--surface); color: var(--text); }
    .nav a.active { background: #183148; color: #dff2ff; }
    .nav-icon { width: 20px; text-align: center; font-size: 15px; }
    .sidebar-foot { margin-top: auto; display: grid; gap: 10px; padding: 14px 7px 0; border-top: 1px solid var(--line-soft); }
    .scope { color: var(--muted); font-size: .78rem; }
    .workspace { min-width: 0; }
    .topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 66px; padding: 12px clamp(18px, 3vw, 38px); border-bottom: 1px solid var(--line-soft); background: #090d14d9; backdrop-filter: blur(18px); }
    .topbar h1 { margin: 0; font-size: 1.08rem; }
    .context, #updated { color: var(--muted); font-size: .77rem; }
    .top-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
    .status { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; background: #111a27; color: var(--muted); font-size: .78rem; }
    .dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px #f4c86a18; }
    .live .dot { background: var(--green); box-shadow: 0 0 0 4px #73dfa018; }
    .offline .dot { background: var(--red); box-shadow: 0 0 0 4px #ff7f9118; }
    .mobile-menu { display: none; min-width: 38px; min-height: 38px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); cursor: pointer; }
    .content { width: min(1460px, 100%); margin: 0 auto; padding: 26px clamp(18px, 3vw, 38px) 60px; }
    .page-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
    .page-head h2 { margin: 0 0 3px; font-size: 1.38rem; letter-spacing: -.02em; }
    .page-head p { margin: 0; color: var(--muted); }
    .uptime { border: 1px solid var(--line-soft); border-radius: 9px; padding: 7px 10px; background: #111824; color: var(--muted); font-size: .78rem; }
    .cards { display: grid; grid-template-columns: repeat(5, minmax(145px, 1fr)); gap: 12px; }
    .card, .panel { min-width: 0; border: 1px solid var(--line-soft); border-radius: 13px; background: linear-gradient(150deg, #141d2a, #101722); box-shadow: 0 12px 35px #0002; }
    .card { min-height: 120px; padding: 15px; }
    .label { color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
    .value { margin-top: 9px; font-size: 1.85rem; font-weight: 780; letter-spacing: -.04em; }
    .subvalue { margin-top: 2px; color: var(--muted); font-size: .76rem; }
    .sections { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(280px, .85fr); gap: 14px; margin-top: 14px; }
    .panel { min-height: 290px; padding: 17px; }
    .panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
    .panel-head h3 { margin: 0; font-size: .98rem; }
    .panel-head p { margin: 2px 0 0; color: var(--muted); font-size: .78rem; }
    .panel-mark { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid #344b65; border-radius: 9px; background: #14263a; color: var(--blue); font-size: .76rem; font-weight: 800; }
    .rows { display: grid; gap: 14px; }
    .row { display: grid; grid-template-columns: minmax(84px, 1fr) auto; gap: 7px 12px; color: var(--muted); font-size: .82rem; }
    .row strong { color: var(--text); font-variant-numeric: tabular-nums; }
    .meter { height: 6px; grid-column: 1 / -1; overflow: hidden; border-radius: 99px; background: #080e16; }
    .bar { height: 100%; border-radius: 99px; background: var(--cyan); transition: width .2s ease; }
    .bar.green { background: var(--green); }
    .bar.amber { background: var(--amber); }
    .bar.red { background: var(--red); }
    .bar.blue { background: var(--blue); }
    .event-list { display: grid; align-content: start; max-height: 260px; overflow: auto; color: var(--muted); }
    .event { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: .78rem; }
    .event:first-child { border-top: 0; padding-top: 0; }
    .event strong { min-width: 0; overflow: hidden; color: var(--text); text-overflow: ellipsis; white-space: nowrap; }
    @media (max-width: 1180px) {
      .cards { grid-template-columns: repeat(3, 1fr); }
      .sections { grid-template-columns: 1fr 1fr; }
      .sections .panel:last-child { grid-column: 1 / -1; }
    }
    @media (max-width: 850px) {
      .shell { grid-template-columns: 1fr; }
      .sidebar { position: fixed; z-index: 30; width: 244px; transform: translateX(-102%); transition: transform .2s ease; box-shadow: var(--shadow); }
      .sidebar.open { transform: translateX(0); }
      .mobile-menu { display: inline-grid; place-items: center; }
    }
    @media (max-width: 620px) {
      .cards, .sections { grid-template-columns: 1fr; }
      .sections .panel:last-child { grid-column: auto; }
      .page-head, .topbar { align-items: flex-start; }
      .topbar { flex-wrap: wrap; }
      .top-actions { width: 100%; padding-left: 48px; }
    }
