:root {
      color-scheme: dark;
      --bg: #030713;
      --ink: #f7fbff;
      --muted: #9fb8d0;
      --panel: rgba(5, 11, 22, .93);
      --panel-2: rgba(9, 18, 34, .96);
      --line: rgba(85, 221, 255, .16);
      --gold: #69e4ff;
      --gold-hi: #e5fbff;
      --green: #ff4f86;
      --jade: #8f4dff;
      --red: #ff4f86;
      --blue: #69e4ff;
      --wood: #111827;
      --wood-hi: #8f4dff;
      --felt: #1578d6;
      --felt-dark: #06172e;
    }

    * {
      box-sizing: border-box;
      -webkit-tap-highlight-color: transparent;
    }

    button,
    input,
    select {
      transition:
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease,
        transform .16s ease,
        opacity .16s ease;
    }

    button:focus-visible,
    input:focus-visible,
    select:focus-visible,
    a:focus-visible {
      outline: 2px solid rgba(85,221,255,.75);
      outline-offset: 2px;
      box-shadow: 0 0 0 4px rgba(85,221,255,.14);
    }

    button:disabled {
      opacity: .52;
      cursor: default;
    }

    @media (hover: hover) {
      button:not(:disabled):hover {
        border-color: rgba(85,221,255,.52);
        box-shadow: 0 10px 24px rgba(85,221,255,.09), inset 0 1px 0 rgba(255,255,255,.08);
        transform: translateY(-1px);
      }
    }

    body {
      margin: 0;
      min-height: 100vh;
      background:
        linear-gradient(125deg, transparent 0 35%, rgba(143,77,255,.04) 35% 36%, transparent 36% 65%, rgba(105,228,255,.04) 65% 66%, transparent 66%),
        linear-gradient(90deg, rgba(105,228,255,.024) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,.014) 1px, transparent 1px),
        linear-gradient(135deg, #030713, #0b1222 52%, #030713);
      background-size: auto, 42px 42px, 42px 42px, auto;
      color: var(--ink);
      font-family: Tahoma, Arial, sans-serif;
      overflow-x: hidden;
    }

    .shell {
      min-height: 100vh;
      padding: 12px;
    }

    body.auth-required .side {
      display: none;
    }

    .auth-screen {
      width: min(460px, 100%);
      min-height: calc(100vh - 24px);
      margin: 0 auto;
      padding: 24px 18px 18px;
      display: grid;
      align-content: center;
      gap: 14px;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(85,221,255,.25);
      border-radius: 8px;
      background:
        linear-gradient(135deg, rgba(85,221,255,.12), transparent 32%, rgba(255,61,110,.11)),
        linear-gradient(180deg, rgba(10,14,24,.99), rgba(3,6,12,.99));
      box-shadow: 0 28px 75px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.08);
    }

    .auth-screen::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 4px;
      background: linear-gradient(90deg, #55ddff, var(--green), var(--gold), #ff3d6e);
    }

    .auth-screen[hidden] {
      display: none;
    }

    .auth-brand {
      display: grid;
      justify-items: center;
      gap: 7px;
      text-align: center;
    }

    .auth-brand small {
      display: block;
      color: #55ddff;
      font-size: 10px;
      font-weight: 900;
    }

    .auth-brand h1 {
      direction: ltr;
      margin: 1px 0 0;
      font-family: Impact, "Arial Narrow", Arial, Tahoma, sans-serif;
      font-size: 56px;
      line-height: .92;
    }

    .auth-brand em {
      color: var(--gold);
      font-style: normal;
    }

    .auth-brand p {
      margin: 3px 0 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.6;
    }

    .brand-emblem {
      width: 57px;
      height: 57px;
      display: grid;
      place-items: center;
      position: relative;
      border: 2px solid rgba(85,221,255,.68);
      border-radius: 50%;
      background:
        linear-gradient(145deg, rgba(255,255,255,.17), transparent 32%),
        linear-gradient(135deg, #14221e, #070a09);
      color: var(--gold-hi);
      box-shadow:
        inset 0 0 0 4px rgba(5,9,8,.7),
        0 0 0 1px rgba(255,61,110,.24),
        0 10px 24px rgba(0,0,0,.42);
    }

    .brand-emblem::after {
      content: "";
      width: 8px;
      height: 8px;
      position: absolute;
      right: -1px;
      bottom: 8px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 10px rgba(255,61,110,.76);
    }

    .brand-emblem b {
      font-family: Impact, "Arial Narrow", Arial, sans-serif;
      font-size: 33px;
      line-height: 1;
    }

    .auth-emblem {
      width: 68px;
      height: 68px;
      margin-bottom: 2px;
    }

    .auth-emblem b {
      font-size: 42px;
    }

    .edition {
      padding: 5px 12px;
      border: 1px solid rgba(85,221,255,.34);
      background: rgba(85,221,255,.08);
      color: var(--gold);
      font-size: 10px;
      font-weight: 900;
    }

    .auth-preview {
      height: 76px;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(85,221,255,.3);
      border-radius: 8px;
      background:
        linear-gradient(105deg, rgba(255,255,255,.1), transparent 28%),
        linear-gradient(130deg, #1ca6d9, #071c38);
      box-shadow: inset 0 0 24px rgba(0,0,0,.36);
    }

    .auth-rail {
      position: absolute;
      inset: 0;
      border: 6px solid #171d2b;
      box-shadow: inset 0 0 0 1px rgba(85,221,255,.68);
    }

    .auth-ball {
      width: 17px;
      height: 17px;
      position: absolute;
      top: 30px;
      border-radius: 50%;
      box-shadow: inset 3px 3px 4px rgba(255,255,255,.4), inset -3px -3px 4px rgba(0,0,0,.34), 0 4px 5px rgba(0,0,0,.28);
    }

    .auth-ball.white { left: 24%; background: #fbfaf2; }
    .auth-ball.black { right: 24%; background: #101214; }
    .auth-ball.gold { right: calc(24% + 22px); background: var(--gold); }

    .auth-shot {
      position: absolute;
      left: calc(24% + 20px);
      right: calc(24% + 49px);
      top: 38px;
      height: 1px;
      background: repeating-linear-gradient(90deg, rgba(255,255,255,.75) 0 7px, transparent 7px 13px);
    }

    .auth-tabs {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 5px;
      padding: 4px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: rgba(2,6,9,.5);
    }

    .auth-tabs.owner-visible {
      grid-template-columns: repeat(3, 1fr);
    }

    .auth-tab {
      min-height: 41px;
      border: 1px solid transparent;
      border-radius: 7px;
      color: var(--muted);
      background: transparent;
      font: inherit;
      font-weight: 800;
      cursor: pointer;
    }

    .auth-tab.active {
      color: var(--ink);
      border-color: rgba(85,221,255,.4);
      background: rgba(85,221,255,.13);
    }

    .auth-form {
      display: grid;
      gap: 10px;
    }

    .auth-form[hidden],
    .admin-access[hidden],
    .admin-payments[hidden] {
      display: none;
    }

    .owner-console-link {
      display: block;
      margin-bottom: 10px;
      padding: 11px 12px;
      border: 1px solid rgba(85,221,255,.32);
      border-radius: 8px;
      background: rgba(85,221,255,.1);
      color: var(--ink);
      text-align: center;
      text-decoration: none;
      font-weight: 900;
    }

    .auth-form label {
      display: grid;
      gap: 6px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 800;
    }

    .auth-form .compliance-check {
      grid-template-columns: auto 1fr;
      align-items: start;
      gap: 9px;
      line-height: 1.55;
    }

    .auth-form .compliance-check input {
      width: 18px;
      min-height: 18px;
      margin-top: 2px;
      accent-color: var(--blue);
    }

    .auth-form input {
      width: 100%;
      min-height: 46px;
      padding: 0 12px;
      border: 1px solid rgba(255,255,255,.15);
      border-radius: 8px;
      background: rgba(2,6,9,.58);
      color: var(--ink);
      font: inherit;
      font-size: 15px;
    }

    .auth-form input:focus {
      outline: 1px solid rgba(49,220,165,.65);
      border-color: rgba(49,220,165,.65);
    }

    .auth-primary {
      min-height: 50px;
      border: 1px solid rgba(85,221,255,.58);
      border-radius: 8px;
      background: linear-gradient(180deg, #e5fbff, #69e4ff);
      color: #141116;
      font: inherit;
      font-size: 15px;
      font-weight: 900;
      cursor: pointer;
    }

    .telegram-login-panel {
      display: grid;
      gap: 7px;
      justify-items: center;
      padding: 10px;
      border: 1px solid rgba(105,228,255,.2);
      border-radius: 8px;
      background: rgba(105,228,255,.06);
    }

    .telegram-login-panel[hidden] {
      display: none;
    }

    .telegram-login-widget {
      min-height: 38px;
      display: grid;
      place-items: center;
    }

    .telegram-local-note {
      width: 100%;
      min-height: 40px;
      display: grid;
      place-items: center;
      padding: 9px 10px;
      border: 1px solid rgba(255,79,134,.22);
      border-radius: 8px;
      background: rgba(255,79,134,.08);
      color: #ffd6e4;
      font-size: 12px;
      font-weight: 900;
      line-height: 1.45;
      text-align: center;
    }

    .telegram-login-panel small {
      color: #9fb8d0;
      font-size: 11px;
      line-height: 1.45;
      text-align: center;
    }

    .credit-form {
      margin-top: 12px;
      padding-top: 12px;
      border-top: 1px solid var(--line);
    }

    .admin-payments {
      display: grid;
      gap: 9px;
      margin-top: 12px;
      padding-top: 12px;
      border-top: 1px solid var(--line);
    }

    .admin-payments-head,
    .payment-request {
      display: grid;
      grid-template-columns: 1fr auto auto;
      gap: 8px;
      align-items: center;
    }

    .admin-payments-head b {
      color: var(--blue);
      font-size: 13px;
    }

    .admin-payments button,
    .payment-request button {
      min-height: 32px;
      border: 1px solid rgba(85,221,255,.25);
      border-radius: 7px;
      background: rgba(85,221,255,.09);
      color: var(--ink);
      font: inherit;
      font-size: 11px;
      font-weight: 900;
      cursor: pointer;
    }

    .payment-request-list {
      display: grid;
      gap: 7px;
      max-height: 250px;
      overflow: auto;
    }

    .payment-request {
      padding: 8px;
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 8px;
      background: rgba(2,6,9,.42);
      color: var(--muted);
      font-size: 11px;
    }

    .payment-request strong {
      display: block;
      color: var(--ink);
      font-size: 12px;
    }

    .payment-request small {
      display: block;
      margin-top: 3px;
      direction: ltr;
    }

    .auth-status {
      min-height: 42px;
      margin: 0;
      padding: 10px;
      border: 1px solid rgba(49,220,165,.18);
      border-radius: 8px;
      background: rgba(49,220,165,.08);
      color: #c3efe0;
      text-align: center;
      font-size: 12px;
      line-height: 1.55;
    }

    .legal-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
    }

    .legal-links a {
      min-height: 34px;
      display: inline-grid;
      place-items: center;
      padding: 0 12px;
      border: 1px solid rgba(85,221,255,.18);
      border-radius: 8px;
      background: rgba(85,221,255,.06);
      color: #bfefff;
      text-decoration: none;
      font-size: 11px;
      font-weight: 900;
    }

    .side {
      width: min(620px, 100%);
      margin: 0 auto;
      background:
        linear-gradient(125deg, rgba(85,221,255,.12), transparent 28%, rgba(255,61,110,.09)),
        linear-gradient(180deg, rgba(10,14,24,.985), rgba(3,6,12,.99));
      border: 1px solid rgba(85,221,255,.18);
      border-radius: 8px;
      padding: 10px;
      display: grid;
      grid-template-columns: 1fr;
      align-content: start;
      gap: 10px;
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        inset 0 -2px 0 rgba(0,0,0,.42),
        0 22px 64px rgba(0, 0, 0, .44);
      backdrop-filter: blur(18px);
    }

    .side > .lobby-hero { order: 1; }
    .side > .grid { order: 2; }
    .side > .rooms { order: 3; }
    .side > .bet-panel { order: 4; }
    .side > .social-panel { order: 5; }
    .side > .lobby-nav-panel { order: 6; }

    .sponsor-slot {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 10px;
      min-height: 54px;
      padding: 9px 10px;
      border: 1px solid rgba(85,221,255,.18);
      border-radius: 7px;
      background: rgba(8, 15, 22, .78);
    }

    .sponsor-slot[hidden],
    .community-panel[hidden],
    .lobby-spin[hidden],
    .pro-panel[hidden],
    body.match-active .sponsor-slot {
      display: none;
    }

    .sponsor-slot > span {
      color: rgba(220,251,255,.54);
      font-size: 9px;
      font-weight: 900;
    }

    .sponsor-slot div {
      min-width: 0;
      display: grid;
      gap: 2px;
    }

    .sponsor-slot strong,
    .sponsor-slot small {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .sponsor-slot strong {
      color: var(--ink);
      font-size: 12px;
    }

    .sponsor-slot small {
      color: var(--muted);
      font-size: 10px;
    }

    .sponsor-slot a {
      color: #55ddff;
      font-size: 10px;
      font-weight: 900;
      text-decoration: none;
    }

    .lobby-nav-panel {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 9px;
      padding: 10px;
      border: 1px solid rgba(105,228,255,.18);
      border-radius: 8px;
      background:
        linear-gradient(135deg, rgba(105,228,255,.08), rgba(143,77,255,.06)),
        rgba(5, 11, 22, .84);
    }

    .lobby-nav-panel .action {
      min-height: 46px;
      text-decoration: none;
    }
    .side > .community-panel { order: 7; }
    .side > .mode-switch { order: 8; }
    .side > .ai-panel { order: 9; }
    .side > .online-panel { order: 10; }
    .side > .toolbar { order: 11; }
    .side > .career-panel { order: 12; }
    .side > .rule-panel { order: 13; }
    .side > .versus { order: 14; }
    .side > .economy-policy { order: 15; }
    .side > .license-panel { order: 16; }
    .side > .lobby-legal-links { order: 17; }
    .side > .wallet-panel { order: 18; }
    .side > .pocket-call { order: 19; }
    .side > .mission-panel { order: 20; }
    .side > .skin-panel { order: 21; }
    .side > .meters { order: 22; }
    .side > .lobby-spin { order: 23; }
    .side > .pro-panel { order: 24; }
    .side > .log { order: 25; }

    .lobby-hero {
      position: relative;
      display: grid;
      gap: 9px;
      padding: 12px;
      overflow: hidden;
      border: 1px solid rgba(105,228,255,.2);
      border-radius: 8px;
      background:
        linear-gradient(132deg, rgba(105,228,255,.12), transparent 32%, rgba(143,77,255,.08)),
        linear-gradient(180deg, rgba(8,16,31,.98), rgba(2,6,14,.98));
      box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 18px 34px rgba(0,0,0,.32);
    }

    .lobby-hero::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 3px;
      background: linear-gradient(90deg, #69e4ff, #8f4dff 42%, #ff4f86 78%, #69e4ff);
    }

    .topline {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    .brand-lockup {
      display: flex;
      direction: ltr;
      align-items: center;
      gap: 10px;
    }

    .brand-lockup .brand-emblem {
      width: 52px;
      height: 52px;
      flex: 0 0 52px;
    }

    .brand-lockup .brand-emblem b {
      font-size: 32px;
    }

    h1 {
      margin: 0;
      font-size: 25px;
      line-height: 1.15;
      letter-spacing: 0;
      color: #fff6d8;
      text-shadow: 0 2px 0 rgba(0,0,0,.45), 0 0 16px rgba(85,221,255,.2);
    }

    .brand {
      display: grid;
      gap: 3px;
    }

    .brand small {
      color: #69e4ff;
      font-size: 9px;
      font-weight: 900;
      letter-spacing: 0;
    }

    .brand h1 {
      direction: ltr;
      font-family: Impact, "Arial Narrow", Arial, Tahoma, sans-serif;
      font-size: clamp(38px, 9vw, 46px);
      line-height: .9;
      color: #f7fbff;
    }

    .brand em {
      font-style: normal;
      color: #69e4ff;
      text-shadow: 0 0 18px rgba(105,228,255,.32);
    }

    .tag {
      border: 1px solid rgba(105,228,255, .34);
      background: linear-gradient(180deg, rgba(105,228,255, .16), rgba(8,18,34,.58));
      color: #e5fbff;
      border-radius: 8px;
      padding: 8px 10px;
      font-size: 10px;
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-weight: 900;
    }

    .tag i {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #ff4f86;
      box-shadow: 0 0 10px #ff4f86;
      animation: livePulse 1.8s ease-in-out infinite;
    }

    .series-bar {
      direction: ltr;
      min-height: 29px;
      display: flex;
      align-items: center;
      gap: 9px;
      padding: 0 9px;
      border: 1px solid rgba(105,228,255,.18);
      background: rgba(3,9,20,.58);
      color: var(--muted);
      font-size: 9px;
      font-weight: 900;
    }

    .series-bar b {
      color: #e5fbff;
      font-size: 11px;
    }

    .series-bar span {
      margin-left: auto;
      color: #55ddff;
    }

    .series-bar em {
      padding-left: 9px;
      border-left: 1px solid rgba(255,255,255,.14);
      color: #f7fbff;
      font-style: normal;
    }

    .preview-table {
      height: clamp(184px, 35vw, 218px);
      position: relative;
      overflow: hidden;
      border: 9px solid #482b1c;
      border-radius: 8px;
      background:
        linear-gradient(107deg, rgba(255,255,255,.12), transparent 29%),
        repeating-linear-gradient(90deg, transparent 0 57px, rgba(255,255,255,.024) 58px, transparent 59px),
        linear-gradient(132deg, #10aa72, #086347 70%, #063f33);
      box-shadow:
        0 0 0 1px rgba(85,221,255,.7),
        inset 0 0 0 2px rgba(85,221,255,.2),
        inset 0 0 38px rgba(0,0,0,.4),
        0 13px 28px rgba(0,0,0,.43);
    }

    .preview-table::before {
      content: "";
      position: absolute;
      z-index: 1;
      inset: 8px;
      border: 1px solid rgba(220,251,255,.18);
      pointer-events: none;
    }

    .table-plaque {
      position: absolute;
      z-index: 3;
      top: 9px;
      right: 12px;
      padding: 4px 7px;
      border: 1px solid rgba(85,221,255,.24);
      background: rgba(3,8,8,.35);
      color: rgba(220,251,255,.9);
      font-size: 8px;
      font-weight: 900;
    }

    .preview-pocket {
      position: absolute;
      z-index: 2;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: #040608;
      box-shadow: inset 0 0 0 3px rgba(0,0,0,.8), 0 0 0 2px rgba(85,221,255,.6), 0 3px 5px rgba(0,0,0,.4);
    }

    .preview-pocket.p1 { top: -7px; left: -7px; }
    .preview-pocket.p2 { top: -7px; left: calc(50% - 10px); }
    .preview-pocket.p3 { top: -7px; right: -7px; }
    .preview-pocket.p4 { bottom: -7px; left: -7px; }
    .preview-pocket.p5 { bottom: -7px; left: calc(50% - 10px); }
    .preview-pocket.p6 { bottom: -7px; right: -7px; }

    .preview-line {
      position: absolute;
      left: 22%;
      top: 54%;
      width: 47%;
      height: 1px;
      transform: rotate(-9deg);
      transform-origin: left center;
      background: repeating-linear-gradient(90deg, rgba(255,255,255,.82) 0 7px, transparent 7px 13px);
      filter: drop-shadow(0 0 5px rgba(255,255,255,.45));
      animation: aimSignal 2.8s ease-in-out infinite;
    }

    .preview-cue {
      position: absolute;
      left: 2%;
      top: calc(54% + 15px);
      width: 25%;
      height: 5px;
      border-radius: 999px;
      transform: rotate(-9deg);
      background: linear-gradient(90deg, #34251e, #deae6b 25%, #f0c887);
    }

    .preview-white {
      position: absolute;
      left: 27%;
      top: calc(54% - 7px);
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: #f8f4ea;
      box-shadow: inset -4px -4px 6px rgba(0,0,0,.22), 0 3px 6px rgba(0,0,0,.45);
      animation: cueReady 2.8s ease-in-out infinite;
    }

    .preview-rack {
      position: absolute;
      right: 22%;
      top: calc(50% - 22px);
      display: grid;
      grid-template-columns: repeat(3, 15px);
      gap: 2px;
      transform: rotate(30deg);
    }

    .orb {
      width: 15px;
      height: 15px;
      border-radius: 50%;
      box-shadow: inset -3px -3px 4px rgba(0,0,0,.32), inset 2px 2px 3px rgba(255,255,255,.42), 0 4px 5px rgba(0,0,0,.28);
    }

    .orb.o1 { background: #55ddff; }
    .orb.o2 { background: #2779f2; }
    .orb.o3 { background: #e44546; }
    .orb.o4 { background: #6b7cff; }
    .orb.o5 { background: #ff3d6e; }
    .orb.o8 { background: #121417; }

    .preview-duel {
      position: absolute;
      right: 10px;
      bottom: 9px;
      left: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: #f5edd7;
      font-size: 10px;
      font-weight: 900;
    }

    .preview-duel b {
      border: 1px solid rgba(255,255,255,.16);
      border-radius: 999px;
      padding: 5px 10px;
      background: rgba(4,8,10,.42);
    }

    .preview-duel span {
      color: var(--gold);
      font-size: 11px;
    }

    .player-id-card {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding: 8px 10px;
      border: 1px solid rgba(85,221,255,.18);
      border-radius: 7px;
      background: linear-gradient(90deg, rgba(3,8,7,.7), rgba(255,61,110,.06));
    }

    .player-persona {
      display: grid;
      gap: 2px;
    }

    .player-id-card .player-persona span {
      color: var(--ink);
      font-size: 12px;
      font-weight: 900;
    }

    .player-id-card .player-persona small {
      color: var(--muted);
      font-size: 8px;
      font-weight: 900;
    }

    .player-id-card b {
      direction: ltr;
      color: #69e4ff;
      font-size: 12px;
    }

    .mini-profile-link {
      min-height: 28px;
      display: inline-grid;
      place-items: center;
      padding: 0 9px;
      border: 1px solid rgba(85,221,255,.24);
      border-radius: 7px;
      background: rgba(85,221,255,.09);
      color: #dff8ff;
      text-decoration: none;
      font-size: 11px;
      font-weight: 900;
      white-space: nowrap;
    }

    .copy {
      display: none;
      margin: 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.65;
    }

    .grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .card {
      min-height: 54px;
      padding: 8px 10px;
      border-radius: 8px;
      background:
        linear-gradient(180deg, rgba(255,255,255,.06), transparent 44%),
        linear-gradient(135deg, rgba(42, 51, 60, .98), rgba(12, 16, 21, .98));
      border: 1px solid rgba(255,255,255,.13);
      position: relative;
      overflow: hidden;
      box-shadow: inset 0 0 0 1px rgba(0,0,0,.28);
    }

    .card::after {
      content: "";
      position: absolute;
      inset: auto 0 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, rgba(85,221,255, .65), transparent);
      opacity: .55;
    }

    .card span {
      display: block;
      color: var(--muted);
      font-size: 12px;
      margin-bottom: 5px;
    }

    .card strong {
      display: block;
      color: var(--ink);
      font-size: 23px;
      line-height: 1;
      text-shadow: 0 2px 0 rgba(0,0,0,.45);
    }

    .versus {
      display: grid;
      grid-template-columns: 42px 1fr 34px 1fr 42px;
      gap: 8px;
      align-items: center;
      background:
        linear-gradient(90deg, rgba(85,221,255,.16), rgba(5,8,10,.74), rgba(100,181,255,.16));
      border: 1px solid rgba(255,255,255,.14);
      border-radius: 8px;
      padding: 8px;
      box-shadow: inset 0 0 24px rgba(0,0,0,.28);
    }

    .avatar {
      width: 42px;
      height: 42px;
      border-radius: 8px;
      display: grid;
      place-items: center;
      color: #120c05;
      font-weight: 900;
      background: linear-gradient(180deg, #fff1a6, #55ddff);
      box-shadow: inset 0 0 0 2px rgba(255,255,255,.35), 0 0 18px rgba(85,221,255,.18);
    }

    .avatar.alt {
      color: #f4fbff;
      background: linear-gradient(180deg, #7dc9ff, #3468d6);
      box-shadow: inset 0 0 0 2px rgba(255,255,255,.28), 0 0 18px rgba(100,181,255,.2);
    }

    .versus .avatar.hidden {
      visibility: hidden;
    }

    .versus strong {
      text-align: center;
      color: var(--gold);
      font-size: 13px;
    }

    .ball-strip {
      display: flex;
      justify-content: center;
      gap: 4px;
      min-width: 0;
      flex-wrap: wrap;
    }

    .mini-ball {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,.35);
      box-shadow: inset -2px -2px 3px rgba(0,0,0,.35);
      opacity: .95;
    }

    .mini-ball.sunk {
      opacity: .22;
      filter: grayscale(1);
    }

    .career-panel {
      display: grid;
      grid-template-columns: minmax(160px, 1fr) auto auto;
      gap: 10px;
      align-items: center;
      padding: 9px;
      border-radius: 8px;
      border: 1px solid rgba(85,221,255,.2);
      background:
        linear-gradient(90deg, rgba(85,221,255,.16), rgba(5,8,10,.64)),
        rgba(5,8,10,.46);
      box-shadow: inset 0 0 20px rgba(0,0,0,.28);
    }

    .career-label {
      color: var(--muted);
      font-size: 11px;
      font-weight: 800;
    }

    .career-label b {
      color: var(--gold);
      font-size: 16px;
    }

    .xp-bar {
      height: 9px;
      margin-top: 5px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.14);
      background: rgba(0,0,0,.38);
      overflow: hidden;
    }

    .xp-bar div {
      width: 0%;
      height: 100%;
      background: linear-gradient(90deg, #5fe094, #55ddff);
      transition: width .25s ease;
    }

    .career-rank {
      color: #fff2c0;
      font-weight: 900;
      font-size: 13px;
      white-space: nowrap;
    }

    .daily-btn {
      min-height: 36px;
      border-radius: 8px;
      border: 1px solid rgba(95,224,148,.28);
      background:
        linear-gradient(180deg, rgba(255,255,255,.12), transparent),
        rgba(95,224,148,.14);
      color: var(--green);
      font: inherit;
      font-size: 12px;
      font-weight: 900;
      cursor: pointer;
      padding: 0 10px;
    }

    .daily-btn:disabled {
      cursor: not-allowed;
      opacity: .45;
    }

    .rule-panel {
      padding: 9px 10px;
      border-radius: 8px;
      border: 1px solid rgba(100,181,255,.24);
      background: rgba(100,181,255,.1);
      color: #cfe8ff;
      font-size: 12px;
      font-weight: 800;
      line-height: 1.5;
      text-align: center;
    }

    .rooms {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
    }

    .mode-switch {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      padding: 6px;
      border: 1px solid rgba(105,228,255,.16);
      border-radius: 8px;
      background: rgba(3, 9, 20, .72);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
    }

    .pocket-call {
      display: grid;
      grid-template-columns: repeat(7, minmax(0, 1fr));
      gap: 6px;
      align-items: center;
      padding: 7px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: rgba(5, 8, 10, .42);
      color: var(--muted);
      font-size: 11px;
    }

    .pocket-btn {
      min-height: 30px;
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 7px;
      background: #151b20;
      color: var(--muted);
      font: inherit;
      cursor: pointer;
      padding: 0 5px;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .pocket-btn.active {
      color: var(--gold);
      border-color: rgba(85,221,255, .55);
      background: rgba(85,221,255, .12);
    }

    .room {
      min-height: 78px;
      color: var(--ink);
      background: linear-gradient(180deg, rgba(255,255,255,.035), transparent), #101816;
      border: 1px solid var(--line);
      border-radius: 8px;
      cursor: pointer;
      display: grid;
      place-content: center;
      gap: 5px;
      text-align: center;
      font: inherit;
      transition: transform .15s ease, border-color .15s ease, background .15s ease;
    }

    .room:hover, .room.active {
      transform: translateY(-1px);
      border-color: rgba(85,221,255,.64);
      background: linear-gradient(180deg, rgba(85,221,255,.13), rgba(16,24,22,.96));
      box-shadow: inset 0 -2px 0 rgba(85,221,255,.18);
    }

    .room b {
      color: var(--gold);
      font-size: 16px;
    }

    .room small {
      color: var(--muted);
      font-size: 11px;
    }

    .mode-btn {
      min-height: 52px;
      display: grid;
      align-content: center;
      gap: 3px;
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 7px;
      color: var(--muted);
      background: rgba(255,255,255,.025);
      font: inherit;
      font-weight: 900;
      cursor: pointer;
    }

    .mode-btn b,
    .mode-btn small {
      display: block;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mode-btn b {
      color: #e5fbff;
      font-size: 13px;
    }

    .mode-btn small {
      color: #7f9bb8;
      font-size: 10px;
    }

    .mode-btn.active {
      color: var(--ink);
      border-color: rgba(105,228,255,.52);
      background:
        linear-gradient(180deg, rgba(105,228,255,.2), rgba(143,77,255,.08)),
        rgba(5, 17, 32, .9);
      box-shadow: inset 0 -2px 0 rgba(105,228,255,.24), 0 10px 24px rgba(105,228,255,.08);
    }

    .mode-btn.active small {
      color: #b8eaff;
    }

    .ai-panel {
      display: grid;
      grid-template-columns: auto repeat(3, 1fr);
      gap: 7px;
      align-items: center;
      padding: 7px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: rgba(5, 8, 10, .48);
      color: var(--muted);
      font-size: 11px;
      font-weight: 800;
    }

    .ai-btn {
      min-height: 34px;
      border-radius: 7px;
      border: 1px solid rgba(255,255,255,.12);
      background: #151b20;
      color: var(--muted);
      font: inherit;
      font-size: 11px;
      font-weight: 900;
      cursor: pointer;
    }

    .ai-btn.active {
      color: var(--gold);
      border-color: rgba(85,221,255,.5);
      background: rgba(85,221,255,.13);
    }

    .ai-panel.disabled {
      opacity: .42;
      pointer-events: none;
    }

    .online-panel {
      display: grid;
      gap: 10px;
      padding: 10px;
      border: 1px solid rgba(105,228,255,.22);
      border-radius: 8px;
      background:
        linear-gradient(135deg, rgba(105,228,255,.1), transparent 34%, rgba(143,77,255,.07)),
        rgba(3, 9, 20, .88);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    }

    .online-panel[hidden] {
      display: none;
    }

    .online-panel-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(190px, .8fr);
      gap: 10px;
      align-items: stretch;
    }

    .online-panel-head > div:first-child {
      display: grid;
      align-content: center;
      gap: 4px;
      min-width: 0;
    }

    .online-panel-head small {
      direction: ltr;
      color: #69e4ff;
      font-size: 10px;
      font-weight: 900;
    }

    .online-panel-head strong {
      color: #f7fbff;
      font-size: 15px;
      line-height: 1.3;
    }

    .online-panel-head span {
      color: #a9bed4;
      font-size: 11px;
      line-height: 1.45;
    }

    .fair-server-badge {
      direction: ltr;
      display: grid;
      align-content: center;
      gap: 4px;
      padding: 9px 10px;
      border: 1px solid rgba(105,228,255,.18);
      border-radius: 7px;
      background: rgba(105,228,255,.07);
      color: #cfeeff;
      font-size: 10px;
      font-weight: 800;
    }

    .fair-server-badge b {
      color: #e5fbff;
      font-size: 11px;
      white-space: nowrap;
    }

    .fair-server-badge span {
      direction: rtl;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: normal;
    }

    .online-actions {
      display: grid;
      grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
      gap: 8px;
    }

    .online-main-cta,
    .online-secondary-cta,
    .online-route-btn,
    .online-code-entry input {
      min-width: 0;
      font: inherit;
      font-weight: 900;
    }

    .online-main-cta {
      min-height: 52px;
      border: 1px solid rgba(105,228,255,.54);
      border-radius: 8px;
      cursor: pointer;
      color: #02101b;
      background: linear-gradient(180deg, #e5fbff, #69e4ff);
      box-shadow: 0 14px 28px rgba(105,228,255,.14), inset 0 -2px 0 rgba(0,0,0,.2);
      font-size: 14px;
    }

    .online-secondary-cta {
      min-height: 52px;
      border: 1px solid rgba(105,228,255,.22);
      border-radius: 8px;
      cursor: pointer;
      color: #dff8ff;
      background: rgba(105,228,255,.08);
      font-size: 12px;
    }

    .online-route-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .online-route-card {
      display: grid;
      gap: 9px;
      align-content: start;
      padding: 10px;
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 8px;
      background: rgba(255,255,255,.035);
    }

    .online-route-card b {
      display: block;
      color: #e5fbff;
      font-size: 12px;
      margin-bottom: 3px;
    }

    .online-route-card small {
      display: block;
      color: #92a9c2;
      font-size: 11px;
      line-height: 1.45;
    }

    .private-room-toggle {
      min-height: 36px;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      align-items: center;
      gap: 8px;
      padding: 0 9px;
      border: 1px solid rgba(105,228,255,.14);
      border-radius: 7px;
      background: rgba(3, 12, 24, .7);
      color: #cfeeff;
      font-size: 11px;
      font-weight: 900;
    }

    .private-room-toggle input {
      width: 16px;
      height: 16px;
      accent-color: #69e4ff;
    }

    .online-route-btn {
      min-height: 38px;
      border: 1px solid rgba(105,228,255,.24);
      border-radius: 7px;
      cursor: pointer;
      color: #dff8ff;
      background: linear-gradient(180deg, rgba(105,228,255,.12), rgba(4,14,27,.86));
      font-size: 12px;
    }

    .online-code-entry {
      direction: ltr;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 74px;
      gap: 7px;
    }

    .online-code-entry input {
      min-height: 38px;
      padding: 0 8px;
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 7px;
      background: rgba(2, 8, 18, .86);
      color: #f7fbff;
      text-align: center;
      text-transform: uppercase;
    }

    .online-server-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 7px;
      color: var(--muted);
      font-size: 10px;
      font-weight: 900;
    }

    .online-server-head button {
      min-height: 28px;
      padding: 0 9px;
      border: 1px solid rgba(105,228,255,.2);
      border-radius: 7px;
      background: rgba(105,228,255,.08);
      color: #69e4ff;
      font: inherit;
      font-size: 10px;
      font-weight: 900;
      cursor: pointer;
    }

    .online-server-list {
      display: grid;
      gap: 6px;
      max-height: 150px;
      overflow: auto;
      padding-right: 2px;
    }

    .server-row,
    .server-empty {
      min-height: 42px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto auto;
      align-items: center;
      gap: 8px;
      padding: 8px;
      border: 1px solid rgba(85,221,255,.14);
      border-radius: 7px;
      background: rgba(7, 12, 22, .74);
      color: var(--muted);
      font-size: 11px;
    }

    .server-empty {
      display: grid;
      grid-template-columns: 1fr;
      text-align: center;
    }

    .server-row strong {
      color: var(--ink);
      font-size: 12px;
    }

    .server-row.waiting {
      border-color: rgba(255, 220, 120, .22);
      background: rgba(26, 21, 9, .66);
    }

    .server-row small {
      color: #55ddff;
      direction: ltr;
      font-weight: 900;
    }

    .server-row button {
      min-height: 28px;
      padding: 0 10px;
      border: 1px solid rgba(255,61,110,.3);
      border-radius: 7px;
      background: rgba(255,61,110,.1);
      color: #ffe9f0;
      font: inherit;
      font-size: 10px;
      font-weight: 900;
      cursor: pointer;
    }

    .online-room {
      min-height: 40px;
      padding: 9px;
      border: 1px solid rgba(255,61,110,.12);
      border-radius: 7px;
      color: #b1c9bf;
      text-align: center;
      font-size: 11px;
      line-height: 1.55;
    }

    .online-room strong {
      direction: ltr;
      display: inline-block;
      margin: 0 6px;
      color: var(--gold);
      font-size: 16px;
    }

    .online-share,
    .online-cancel {
      min-height: 34px;
      border: 1px solid rgba(255,94,91,.28);
      border-radius: 7px;
      background: rgba(255,94,91,.09);
      color: #f18d87;
      font: inherit;
      font-size: 12px;
      font-weight: 900;
      cursor: pointer;
    }

    .online-share {
      border-color: rgba(85,221,255,.32);
      background: rgba(85,221,255,.09);
      color: #dcfbff;
    }

    .online-share[hidden],
    .online-cancel[hidden] {
      display: none;
    }

    .toolbar {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
    }

    .live-link {
      display: grid;
      place-items: center;
      margin: 10px 0 0;
    }

    .live-link .action {
      width: 100%;
      max-width: 250px;
    }

    .wallet {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .economy-policy {
      display: grid;
      grid-template-columns: auto 1fr;
      align-items: center;
      gap: 10px;
      padding: 10px;
      border: 1px solid rgba(255,61,110,.22);
      border-radius: 8px;
      background: rgba(255,61,110,.07);
      color: var(--muted);
      font-size: 11px;
      line-height: 1.55;
    }

    .economy-policy b {
      direction: ltr;
      color: #55ddff;
      font-size: 12px;
    }

    .economy-policy code {
      grid-column: 1 / -1;
      direction: ltr;
      justify-self: start;
      padding: 4px 8px;
      border-radius: 6px;
      border: 1px solid rgba(85,221,255,.18);
      background: rgba(2,10,22,.38);
      color: #d8f6ff;
      font: 700 11px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    }

    .license-panel {
      display: grid;
      grid-template-columns: auto 1fr;
      align-items: center;
      gap: 10px;
      padding: 10px;
      border: 1px solid rgba(85,221,255,.2);
      border-radius: 8px;
      background: rgba(85,221,255,.07);
      color: #cfe8ff;
      font-size: 11px;
      line-height: 1.55;
    }

    .license-panel b {
      direction: ltr;
      color: var(--blue);
      font-size: 12px;
    }

    .license-panel.ready {
      border-color: rgba(95,224,148,.28);
      background: rgba(95,224,148,.08);
      color: #d8ffee;
    }

    .wallet-panel {
      display: grid;
      gap: 9px;
      padding: 10px;
      border: 1px solid rgba(85,221,255,.2);
      border-radius: 8px;
      background: rgba(5, 8, 10, .5);
    }

    .payment-packages {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 7px;
    }

    .payment-package {
      min-height: 58px;
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 8px;
      background: linear-gradient(180deg, rgba(255,255,255,.06), transparent), #111827;
      color: var(--muted);
      font: inherit;
      font-size: 10px;
      font-weight: 900;
      cursor: pointer;
    }

    .payment-package b {
      display: block;
      color: var(--ink);
      font-size: 13px;
      line-height: 1.2;
    }

    .payment-package small {
      display: block;
      margin-top: 4px;
      direction: ltr;
      color: #55ddff;
    }

    .payment-package.active {
      border-color: rgba(85,221,255,.54);
      background: linear-gradient(180deg, rgba(85,221,255,.16), rgba(255,61,110,.075)), #0c1322;
      box-shadow: inset 0 -2px 0 rgba(85,221,255,.2);
    }

    .payment-form {
      display: grid;
      grid-template-columns: 1fr 1fr auto;
      gap: 7px;
    }

    .payment-form.has-card-type {
      grid-template-columns: 1fr 1fr 1fr auto;
    }

    .payment-form [hidden] {
      display: none !important;
    }

    .payment-form select,
    .payment-form input {
      width: 100%;
      min-height: 38px;
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 7px;
      background: rgba(2,6,9,.56);
      color: var(--ink);
      font: inherit;
      font-size: 12px;
      padding: 0 9px;
    }

    .payment-form button {
      min-height: 38px;
      border: 1px solid rgba(85,221,255,.4);
      border-radius: 7px;
      background: linear-gradient(180deg, rgba(85,221,255,.22), rgba(85,221,255,.08));
      color: #dcfbff;
      font: inherit;
      font-size: 12px;
      font-weight: 900;
      cursor: pointer;
      padding: 0 12px;
      white-space: nowrap;
    }

    .payment-status {
      min-height: 34px;
      padding: 8px;
      border: 1px solid rgba(85,221,255,.14);
      border-radius: 7px;
      background: rgba(85,221,255,.07);
      color: #cfe8ff;
      font-size: 11px;
      line-height: 1.5;
      text-align: center;
    }

    .payment-support {
      min-height: 28px;
      padding: 7px 8px;
      border: 1px solid rgba(255,61,110,.16);
      border-radius: 7px;
      background: rgba(255,61,110,.06);
      color: var(--muted);
      font-size: 11px;
      line-height: 1.45;
      text-align: center;
    }

    .payment-support a {
      direction: ltr;
      color: #55ddff;
      font-weight: 900;
      text-decoration: none;
    }

    .payment-history {
      display: grid;
      gap: 7px;
      max-height: 185px;
      overflow: auto;
    }

    .payment-item {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 8px;
      align-items: center;
      padding: 8px;
      border: 1px solid rgba(255,255,255,.09);
      border-radius: 8px;
      background: rgba(2,6,9,.38);
      color: var(--muted);
      font-size: 11px;
    }

    .payment-item strong {
      display: block;
      color: var(--ink);
      font-size: 12px;
    }

    .payment-item small {
      display: block;
      direction: ltr;
      margin-top: 3px;
      color: #55ddff;
      font-weight: 900;
    }

    .payment-badge {
      min-width: 72px;
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 999px;
      padding: 6px 8px;
      text-align: center;
      color: var(--gold);
      background: rgba(255,255,255,.06);
      font-size: 10px;
      font-weight: 900;
    }

    a.action {
      min-height: 46px;
      display: grid;
      place-items: center;
      padding: 0 13px;
      border: 1px solid rgba(85,221,255,.24);
      border-radius: 8px;
      background: linear-gradient(180deg, rgba(85,221,255,.14), rgba(5,12,22,.86));
      color: #dff8ff;
      text-decoration: none;
      font: inherit;
      font-weight: 900;
    }

    .live-page .shell {
      display: none;
    }

    .live-shell {
      width: min(1180px, calc(100% - 24px));
      min-height: 100vh;
      margin: 0 auto;
      padding: 14px 0 28px;
      display: grid;
      align-content: start;
      gap: 14px;
    }

    .live-header {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 12px;
      padding: 12px;
      border: 1px solid rgba(85,221,255,.22);
      border-radius: 8px;
      background:
        linear-gradient(120deg, rgba(85,221,255,.1), transparent 42%, rgba(255,61,110,.08)),
        rgba(5, 9, 16, .88);
      box-shadow: 0 20px 52px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.06);
    }

    .live-header .brand-lockup {
      justify-content: center;
    }

    .live-back,
    .live-refresh {
      min-height: 38px;
      padding: 0 12px;
      border: 1px solid rgba(85,221,255,.24);
      border-radius: 8px;
      background: rgba(85,221,255,.08);
      color: #dff8ff;
      text-decoration: none;
      font: inherit;
      font-size: 12px;
      font-weight: 900;
      cursor: pointer;
    }

    .live-auth {
      display: grid;
      gap: 10px;
      justify-items: end;
      align-items: center;
      text-align: right;
    }

    .wallet-card {
      display: grid;
      gap: 4px;
      padding: 10px 12px;
      border-radius: 12px;
      background: rgba(255,255,255,.05);
      border: 1px solid rgba(85,221,255,.18);
      color: #dff8ff;
      min-width: 200px;
    }

    .wallet-label {
      color: rgba(255,255,255,.7);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: .08em;
    }

    .wallet-card strong {
      font-size: 15px;
      line-height: 1.2;
    }

    .wallet-status {
      color: #a6e7ff;
      font-size: 12px;
      opacity: .9;
    }

    .wallet-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: flex-end;
    }

    .topup-panel {
      margin: 16px 0 0;
      padding: 16px;
      border-radius: 16px;
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(85,221,255,.14);
      display: grid;
      gap: 12px;
    }

    .topup-header {
      display: grid;
      gap: 4px;
      color: #dff8ff;
    }

    .topup-header strong {
      font-size: 14px;
    }

    .topup-header span {
      color: #a7e6ff;
      font-size: 13px;
      opacity: .9;
    }

    .topup-packages {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 10px;
    }

    .topup-package {
      display: grid;
      gap: 8px;
      padding: 12px;
      border-radius: 14px;
      background: rgba(8,17,30,.95);
      border: 1px solid rgba(255,255,255,.08);
    }

    .topup-package strong {
      color: #e7f7ff;
      font-size: 15px;
    }

    .topup-package span {
      color: #b1e4ff;
      font-size: 12px;
      opacity: .95;
    }

    .topup-package button {
      margin-top: 8px;
      padding: 10px 12px;
      border-radius: 12px;
      border: none;
      background: rgba(85,221,255,.22);
      color: #f4fbff;
      font-weight: 900;
      cursor: pointer;
    }

    .topup-package button:disabled {
      opacity: .5;
      cursor: not-allowed;
    }

    .topup-feedback {
      margin: 0;
      padding: 9px;
      border: 1px solid rgba(85,221,255,.14);
      border-radius: 8px;
      background: rgba(85,221,255,.07);
      color: #cfe8ff;
      font-size: 12px;
      line-height: 1.5;
      text-align: center;
    }

    .topup-note {
      margin: 0;
      color: #b8e7ff;
      font-size: 12px;
      opacity: .88;
    }

    .kozoom-source {
      border-color: rgba(255,255,255,.18);
      background:
        linear-gradient(120deg, rgba(255,61,110,.08), transparent 44%, rgba(85,221,255,.09)),
        rgba(8, 12, 20, .92);
    }

    .auth-modal-overlay {
      position: fixed;
      inset: 0;
      display: grid;
      place-items: center;
      background: rgba(0, 7, 20, .88);
      z-index: 1100;
      padding: 16px;
    }

    /* Respect the HTML `hidden` attribute to actually hide the overlay */
    .auth-modal-overlay[hidden] {
      display: none !important;
      visibility: hidden;
      pointer-events: none;
    }

    .auth-modal {
      width: min(470px, 100%);
      background: rgba(5, 11, 22, .98);
      border: 1px solid rgba(85,221,255,.18);
      border-radius: 20px;
      padding: 22px;
      box-shadow: 0 0 90px rgba(0,0,0,.45);
      display: grid;
      gap: 16px;
    }

    .auth-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
    }

    .auth-header h3 {
      margin: 0;
      color: #f4fbff;
      font-size: 18px;
    }

    .close-btn {
      min-width: 40px;
      height: 40px;
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 12px;
      background: rgba(255,255,255,.05);
      color: #dff8ff;
      font-size: 20px;
      cursor: pointer;
    }

    .auth-tabs {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .auth-feedback {
      margin: 0;
      color: #b8e7ff;
      font-size: 13px;
      min-height: 18px;
    }

    .auth-form button {
      min-height: 48px;
      border-radius: 12px;
      border: none;
      background: rgba(85,221,255,.22);
      color: #f6fdff;
      font: inherit;
      font-weight: 900;
      cursor: pointer;
    }

    .auth-form .hidden {
      display: none;
    }

    .auth-tab {
      min-height: 42px;
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 12px;
      background: rgba(255,255,255,.03);
      color: #cfefff;
      font-weight: 800;
      cursor: pointer;
    }

    .auth-tab.active {
      color: #141116;
      background: rgba(85,221,255,.92);
      border-color: rgba(85,221,255,.55);
    }

    .auth-form input {
      width: 100%;
      min-height: 44px;
      padding: 0 12px;
      border: 1px solid rgba(255,255,255,.15);
      border-radius: 10px;
      background: rgba(255,255,255,.05);
      color: #f4fbff;
      font: inherit;
      font-size: 14px;
    }

    .auth-form input:focus {
      outline: 1px solid rgba(49,220,165,.65);
      border-color: rgba(49,220,165,.65);
    }

    .live-ad {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 16px;
      align-items: center;
      padding: 14px 16px;
      border: 1px solid rgba(255,255,255,.14);
      border-radius: 12px;
      background: rgba(10, 18, 30, .94);
      box-shadow: inset 0 0 0 1px rgba(85,221,255,.08);
    }

    .club-shell {
      gap: 14px;
    }

    .club-grid-page {
      display: grid;
      grid-template-columns: minmax(290px, .78fr) minmax(320px, 1.22fr);
      gap: 14px;
      align-items: start;
    }

    .club-page-panel {
      min-height: 100%;
    }

    .club-chat-list {
      min-height: 420px;
      max-height: calc(100vh - 360px);
    }

    .club-log {
      min-height: 54px;
      max-height: 130px;
    }

    .ad-copy {
      display: grid;
      gap: 6px;
    }

    .ad-copy strong {
      color: #b8f7ff;
      font-size: 17px;
      line-height: 1.2;
    }

    .ad-copy p {
      margin: 0;
      color: #cfefff;
      font-size: 13px;
      line-height: 1.6;
      opacity: .9;
    }

    .ad-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding: 0 20px;
      border-radius: 12px;
      background: linear-gradient(180deg, rgba(85,221,255,.18), rgba(31,123,255,.25));
      color: #fdfcff;
      font-weight: 900;
      text-decoration: none;
      transition: transform .2s ease, background .2s ease;
    }

    .ad-cta:hover {
      transform: translateY(-1px);
      background: linear-gradient(180deg, rgba(85,221,255,.26), rgba(51,142,255,.35));
    }

    .live-stage {
      display: grid;
      gap: 14px;
    }

    .live-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(230px, 320px);
      gap: 12px;
      padding: 12px;
      border: 1px solid rgba(85,221,255,.2);
      border-radius: 8px;
      background:
        linear-gradient(145deg, rgba(85,221,255,.08), transparent 44%, rgba(255,61,110,.07)),
        rgba(4, 8, 14, .9);
      box-shadow: 0 22px 65px rgba(0,0,0,.38);
    }

    .live-frame {
      aspect-ratio: 16 / 9;
      min-height: 280px;
      overflow: hidden;
      border: 1px solid rgba(85,221,255,.25);
      border-radius: 8px;
      background: #02060a;
    }

    .live-frame iframe {
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
    }

    .live-meta {
      display: grid;
      align-content: center;
      gap: 10px;
      padding: 8px;
    }

    .live-badge {
      width: max-content;
      direction: ltr;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 7px 10px;
      border: 1px solid rgba(255,61,110,.34);
      border-radius: 999px;
      background: rgba(255,61,110,.11);
      color: #ffd5de;
      font-size: 11px;
      font-weight: 900;
    }

    .live-badge::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #ff3d6e;
      box-shadow: 0 0 12px rgba(255,61,110,.86);
      animation: livePulse 1.5s ease-in-out infinite;
    }

    .match-schedule {
      display: grid;
      gap: 12px;
      padding: 12px;
      border: 1px solid rgba(85,221,255,.2);
      border-radius: 8px;
      background:
        linear-gradient(145deg, rgba(85,221,255,.08), transparent 44%, rgba(255,61,110,.07)),
        rgba(4, 8, 14, .9);
      box-shadow: 0 22px 65px rgba(0,0,0,.38);
    }

    .schedule-header {
      display: grid;
      gap: 8px;
    }

    .schedule-header .tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(85,221,255,.1);
      border: 1px solid rgba(85,221,255,.2);
      color: #dff8ff;
      font-weight: 900;
      width: max-content;
    }

    .schedule-header p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.6;
    }

    .schedule-list {
      display: grid;
      gap: 12px;
    }

    .schedule-card {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 16px;
      padding: 14px;
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 12px;
      background: rgba(2,6,12,.82);
    }

    .schedule-info {
      display: grid;
      gap: 6px;
    }

    .schedule-badge {
      width: max-content;
      padding: 6px 10px;
      border-radius: 999px;
      background: rgba(85,221,255,.12);
      color: #b9f6ff;
      font-size: 12px;
      font-weight: 900;
    }

    .schedule-card h3 {
      margin: 0;
      font-size: 18px;
      line-height: 1.2;
    }

    .schedule-card p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.5;
    }

    .schedule-date,
    .schedule-odds {
      color: #eef9ff;
      font-weight: 700;
    }

    .schedule-cumulative,
    .schedule-plan {
      margin: 0;
      color: #b9f2ff;
      font-size: 13px;
      line-height: 1.4;
    }

    .schedule-plan {
      color: #8aeaff;
      opacity: .9;
    }

    .balance-status {
      padding: 12px 14px;
      border-radius: 12px;
      background: rgba(255,255,255,.05);
      border: 1px solid rgba(85,221,255,.16);
      color: #dff8ff;
      font-size: 14px;
      margin-bottom: 12px;
    }

    .team-choices {
      display: grid;
      gap: 10px;
      margin: 14px 0 0;
    }

    .team-btn {
      padding: 12px 14px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,.12);
      background: rgba(255,255,255,.04);
      color: #f4fbff;
      font-weight: 700;
      cursor: pointer;
      transition: transform .2s ease, border-color .2s ease, background .2s ease;
    }

    .team-btn:hover {
      transform: translateY(-1px);
      border-color: rgba(85,221,255,.35);
      background: rgba(85,221,255,.12);
    }

    .team-btn.active {
      background: rgba(85,221,255,.18);
      border-color: rgba(85,221,255,.65);
      box-shadow: 0 0 0 1px rgba(85,221,255,.14);
    }

    .schedule-info-detail {
      margin-top: 12px;
      color: #acecff;
      font-size: 13px;
      font-weight: 700;
    }

    .bet-modal-overlay {
      position: fixed;
      inset: 0;
      display: grid;
      place-items: center;
      background: rgba(1, 7, 18, .85);
      z-index: 1000;
      padding: 20px;
    }

    .bet-modal-overlay[hidden] {
      display: none !important;
      visibility: hidden;
      pointer-events: none;
    }

    .bet-modal {
      width: min(520px, 100%);
      padding: 24px;
      border-radius: 20px;
      background: rgba(5, 11, 22, .96);
      box-shadow: 0 0 80px rgba(0,0,0,.45);
      display: grid;
      gap: 16px;
      border: 1px solid rgba(85,221,255,.18);
      animation: fadeIn 180ms ease;
    }

    .bet-modal h3 {
      margin: 0;
      color: #f0fcff;
      font-size: 20px;
    }

    .bet-modal p {
      margin: 0;
      color: #cfefff;
      line-height: 1.6;
    }

    .bet-details {
      display: grid;
      gap: 10px;
      padding: 14px;
      background: rgba(255,255,255,.03);
      border-radius: 14px;
      border: 1px solid rgba(255,255,255,.08);
    }

    .bet-details div {
      color: #d8f8ff;
      font-size: 14px;
    }

    .bet-input-label {
      display: grid;
      gap: 8px;
      color: #dff8ff;
      font-size: 14px;
    }

    .bet-input-label input {
      width: 100%;
      padding: 12px 14px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,.14);
      background: rgba(255,255,255,.05);
      color: #f4fbff;
      font-size: 14px;
    }

    .bet-warning {
      margin: 0;
      color: #ffb3b3;
      font-size: 13px;
      min-height: 18px;
    }

    .bet-modal-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .bet-modal-actions .action {
      flex: 1 1 150px;
    }

    .bet-modal-actions .action.secondary {
      background: rgba(255,255,255,.06);
      color: #dff8ff;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(16px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .schedule-cta {
      display: grid;
      gap: 12px;
      padding: 14px;
      border: 1px solid rgba(114, 193, 255, .18);
      border-radius: 12px;
      background: rgba(1, 12, 26, .72);
    }

    .plan-header {
      display: grid;
      gap: 8px;
    }

    .plan-tag {
      background: rgba(255,255,255,.08);
    }

    .bet-summary {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .bet-panel {
      display: grid;
      gap: 10px;
      padding: 10px;
      border: 1px solid rgba(85,221,255,.2);
      border-radius: 8px;
      background: rgba(5, 8, 10, .5);
    }

    .social-panel {
      display: grid;
      gap: 9px;
      padding: 10px;
      border: 1px solid rgba(85,221,255,.2);
      border-radius: 8px;
      background:
        linear-gradient(118deg, rgba(85,221,255,.09), transparent 44%, rgba(255,61,110,.05)),
        rgba(5, 8, 10, .52);
    }

    .social-referral {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: 8px;
      align-items: center;
      padding: 8px;
      border: 1px solid rgba(85,221,255,.14);
      border-radius: 7px;
      background: rgba(85,221,255,.07);
      color: var(--muted);
      font-size: 11px;
      font-weight: 900;
    }

    .social-referral code {
      direction: ltr;
      color: #55ddff;
      font-weight: 900;
      text-align: center;
    }

    .social-referral small {
      grid-column: 1 / -1;
      color: rgba(224, 241, 255, .72);
      font-size: 10px;
      line-height: 1.55;
      text-align: center;
    }

    .social-actions {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto auto;
      gap: 7px;
    }

    .social-actions input {
      min-width: 0;
      min-height: 38px;
      border: 1px solid rgba(255,255,255,.13);
      border-radius: 7px;
      background: #131a20;
      color: var(--ink);
      font: inherit;
      font-size: 12px;
      font-weight: 900;
      padding: 0 9px;
      direction: ltr;
      text-transform: uppercase;
    }

    .social-panel button {
      min-height: 34px;
      border: 1px solid rgba(85,221,255,.24);
      border-radius: 7px;
      background: rgba(85,221,255,.09);
      color: #dff8ff;
      font: inherit;
      font-size: 11px;
      font-weight: 900;
      cursor: pointer;
      padding: 0 9px;
    }

    .social-list {
      display: grid;
      gap: 6px;
      max-height: 152px;
      overflow: auto;
    }

    .social-list.compact {
      max-height: 126px;
    }

    .social-row,
    .social-note {
      min-height: 42px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 7px;
      padding: 8px;
      border: 1px solid rgba(255,255,255,.09);
      border-radius: 7px;
      background: rgba(2,6,9,.38);
      color: var(--muted);
      font-size: 11px;
    }

    .social-row.request,
    .social-row.match-invite {
      grid-template-columns: minmax(0, 1fr) auto auto;
    }

    .social-row strong {
      display: block;
      color: var(--ink);
      font-size: 12px;
      margin-bottom: 2px;
    }

    .social-row small,
    .social-row span {
      direction: ltr;
      color: #9fb2c8;
      font-weight: 800;
    }

    .social-note {
      grid-template-columns: 1fr;
      min-height: 34px;
      text-align: center;
      place-items: center;
    }

    .private-room-toggle {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 8px;
      align-items: center;
      min-height: 36px;
      padding: 0 9px;
      border: 1px solid rgba(105,228,255,.14);
      border-radius: 7px;
      background: rgba(3, 12, 24, .7);
      color: #cfeeff;
      font: inherit;
      font-size: 11px;
      font-weight: 900;
      line-height: 1.35;
      cursor: pointer;
    }

    .private-room-toggle input {
      accent-color: #69e4ff;
    }

    .community-panel {
      display: grid;
      gap: 9px;
      padding: 14px;
      border: 1px solid rgba(85,221,255,.18);
      border-radius: 8px;
      background:
        linear-gradient(180deg, rgba(85,221,255,.08), rgba(255,255,255,.02)),
        rgba(5, 10, 18, .72);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    }

    .club-card,
    .club-row,
    .chat-message {
      padding: 10px;
      border: 1px solid rgba(255,255,255,.09);
      border-radius: 8px;
      background: rgba(7, 12, 22, .72);
    }

    .club-card strong,
    .club-row strong,
    .chat-message strong {
      display: block;
      color: var(--ink);
      font-size: 13px;
    }

    .club-card small,
    .club-row small,
    .chat-message small {
      display: block;
      margin-top: 3px;
      color: var(--muted);
      font-size: 11px;
      font-weight: 800;
    }

    .club-actions,
    .chat-compose {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, .7fr) auto;
      gap: 6px;
    }

    .club-actions input,
    .chat-compose input,
    .chat-compose select {
      min-height: 36px;
      min-width: 0;
      padding: 0 9px;
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 8px;
      background: #07101a;
      color: var(--ink);
      font: inherit;
      font-size: 12px;
      font-weight: 900;
    }

    .club-actions button,
    .chat-tabs button,
    .chat-compose button,
    .chat-message button {
      min-height: 34px;
      border: 1px solid rgba(85,221,255,.22);
      border-radius: 8px;
      background: rgba(85,221,255,.09);
      color: #dffbff;
      font: inherit;
      font-size: 11px;
      font-weight: 900;
      cursor: pointer;
    }

    .club-actions button:last-child,
    #leaveClubBtn {
      border-color: rgba(255,61,110,.24);
      background: rgba(255,61,110,.08);
      color: #ffd6e0;
    }

    .club-list,
    .chat-list {
      display: grid;
      gap: 6px;
      max-height: 190px;
      overflow: auto;
      padding-right: 2px;
    }

    .club-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
      align-items: center;
    }

    .club-row b {
      color: #55ddff;
      direction: ltr;
    }

    .chat-tabs {
      display: grid;
      grid-template-columns: 1fr 1fr auto;
      gap: 6px;
    }

    .chat-tabs button.active {
      border-color: rgba(85,221,255,.5);
      background: linear-gradient(180deg, rgba(85,221,255,.2), rgba(85,221,255,.08));
      color: #f7fbff;
    }

    .chat-message {
      display: grid;
      gap: 7px;
    }

    .chat-message.mine {
      border-color: rgba(85,221,255,.22);
      background: rgba(85,221,255,.07);
    }

    .chat-message header {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      align-items: baseline;
    }

    .chat-message p {
      margin: 0;
      color: #dbeafe;
      font-size: 12px;
      line-height: 1.55;
    }

    .chat-reply-preview {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
      align-items: center;
      padding: 8px;
      border: 1px solid rgba(85,221,255,.22);
      border-radius: 8px;
      background: rgba(85,221,255,.08);
    }

    .chat-reply-preview[hidden] {
      display: none;
    }

    .chat-reply-preview span {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      color: #dbeafe;
      font-size: 12px;
      font-weight: 800;
    }

    .chat-reply-quote {
      display: grid;
      gap: 3px;
      padding: 7px 9px;
      border-right: 2px solid rgba(85,221,255,.75);
      border-radius: 8px;
      background: rgba(85,221,255,.07);
    }

    .chat-reply-quote span {
      color: #55ddff;
      font-size: 11px;
      font-weight: 900;
    }

    .chat-reply-quote p {
      color: #a9c4dc;
      font-size: 11px;
    }

    .chat-actions {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 6px;
    }

    .chat-actions button[data-chat-report] {
      border-color: rgba(255, 89, 128, .36);
      color: #ffd6e0;
    }

    .chat-message code {
      color: #55ddff;
      direction: ltr;
      font-weight: 900;
    }

    .match-invite-toast {
      position: fixed;
      top: 18px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 40;
      width: min(520px, calc(100vw - 24px));
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto auto;
      gap: 10px;
      align-items: center;
      padding: 11px;
      border: 1px solid rgba(85,221,255,.36);
      border-radius: 8px;
      background: rgba(4, 10, 18, .94);
      box-shadow: 0 18px 48px rgba(0,0,0,.48), 0 0 28px rgba(85,221,255,.13);
      backdrop-filter: blur(14px);
      animation: invitePulse .85s ease-in-out infinite alternate;
    }

    .match-invite-toast[hidden],
    .wager-picker[hidden] {
      display: none;
    }

    @keyframes invitePulse {
      from { border-color: rgba(85,221,255,.26); }
      to { border-color: rgba(255,61,110,.5); }
    }

    .invite-ring {
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      border: 2px solid rgba(255,61,110,.62);
      color: #fff;
      font-size: 16px;
      font-weight: 1000;
      box-shadow: inset 0 0 18px rgba(255,61,110,.24), 0 0 18px rgba(255,61,110,.18);
    }

    .match-invite-toast strong,
    .match-invite-toast small {
      display: block;
    }

    .match-invite-toast strong {
      color: var(--ink);
      font-size: 14px;
    }

    .match-invite-toast small {
      color: var(--muted);
      font-size: 11px;
      font-weight: 800;
    }

    .match-invite-toast button {
      min-height: 34px;
      padding: 0 12px;
      border-radius: 8px;
      border: 1px solid rgba(85,221,255,.28);
      background: rgba(85,221,255,.12);
      color: var(--ink);
      font-weight: 900;
    }

    #declineToastInvite {
      border-color: rgba(255,61,110,.32);
      background: rgba(255,61,110,.1);
    }

    .wager-picker {
      position: fixed;
      inset: 0;
      z-index: 39;
      display: grid;
      place-items: center;
      padding: 16px;
      background: rgba(3, 7, 13, .72);
      backdrop-filter: blur(10px);
    }

    .wager-picker-card {
      width: min(560px, 100%);
      padding: 14px;
      border: 1px solid rgba(85,221,255,.24);
      border-radius: 8px;
      background: rgba(7, 12, 22, .96);
      box-shadow: 0 22px 70px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
    }

    .wager-picker-card header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 12px;
    }

    .wager-picker-card header strong {
      color: var(--ink);
      font-size: 15px;
    }

    .wager-picker-card header button {
      width: 34px;
      height: 34px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.14);
      background: rgba(255,255,255,.08);
      color: var(--ink);
      font-size: 18px;
    }

    .wager-picker-options {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .wager-picker-options button {
      min-height: 58px;
      border-radius: 8px;
      border: 1px solid rgba(85,221,255,.2);
      background: linear-gradient(180deg, rgba(85,221,255,.12), rgba(255,255,255,.03));
      color: var(--ink);
      font-weight: 900;
    }

    .wager-picker-options strong,
    .wager-picker-options small {
      display: block;
    }

    .wager-picker-options strong {
      font-size: 17px;
    }

    .wager-picker-options small {
      color: #55ddff;
      font-size: 10px;
    }

    .bet-note {
      padding: 8px;
      border: 1px solid rgba(85,221,255,.14);
      border-radius: 7px;
      background: rgba(85,221,255,.07);
      color: #cfe8ff;
      font-size: 11px;
      line-height: 1.45;
      text-align: center;
    }

    .bet-history {
      display: grid;
      gap: 7px;
      max-height: 176px;
      overflow: auto;
    }

    .bet-item {
      display: grid;
      gap: 5px;
      padding: 8px;
      border: 1px solid rgba(255,255,255,.09);
      border-radius: 8px;
      background: rgba(2,6,9,.38);
      color: var(--muted);
      font-size: 11px;
    }

    .bet-item header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .bet-item strong {
      color: var(--ink);
      font-size: 12px;
    }

    .bet-item b {
      direction: ltr;
      color: #55ddff;
      font-size: 12px;
    }

    .bet-item.loss b {
      color: #ff8ba5;
    }

    .bet-item small {
      direction: ltr;
      color: #a9c3da;
      line-height: 1.35;
    }

    .summary-card {
      display: grid;
      gap: 6px;
      padding: 12px;
      border-radius: 12px;
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.1);
    }

    .summary-card span {
      color: var(--muted);
      font-size: 12px;
    }

    .summary-card strong {
      color: #f8feff;
      font-size: 18px;
      line-height: 1.1;
    }

    .schedule-cta {
      min-height: 46px;
      padding: 0 18px;
      align-self: center;
      justify-self: center;
      border: 1px solid rgba(255,255,255,.14);
      border-radius: 10px;
      background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(85,221,255,.18));
      color: #f0fcff;
      font-weight: 900;
      cursor: pointer;
      white-space: nowrap;
    }

    .schedule-cta:hover {
      background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(85,221,255,.25));
    }

    .live-meta h2 {
      margin: 0;
      font-size: clamp(24px, 4vw, 42px);
      line-height: 1.1;
      letter-spacing: 0;
    }

    .live-meta p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.6;
    }

    .live-meta a {
      width: max-content;
      min-height: 36px;
      display: grid;
      place-items: center;
      padding: 0 12px;
      border: 1px solid rgba(85,221,255,.24);
      border-radius: 8px;
      color: #55ddff;
      background: rgba(85,221,255,.08);
      text-decoration: none;
      font-size: 12px;
      font-weight: 900;
    }

    .live-empty {
      min-height: 320px;
      display: grid;
      place-items: center;
      padding: 24px;
      border: 1px dashed rgba(85,221,255,.26);
      border-radius: 8px;
      background: rgba(4,8,14,.76);
      color: var(--muted);
      text-align: center;
      font-size: 18px;
      font-weight: 900;
    }

    @media (max-width: 760px) {
      .live-shell {
        width: min(100% - 16px, 620px);
        padding-top: 8px;
      }

      .live-header {
        grid-template-columns: 1fr auto;
      }

      .live-header .brand-lockup {
        grid-column: 1 / -1;
        order: -1;
        justify-content: start;
      }

      .live-card {
        grid-template-columns: 1fr;
      }

      .live-frame {
        min-height: 190px;
      }

      .live-meta {
        align-content: start;
      }
    }

    button.action {
      min-height: 46px;
      border: 1px solid rgba(255, 255, 255, .12);
      border-radius: 8px;
      cursor: pointer;
      font: inherit;
      font-weight: 700;
      color: #161106;
      background:
        linear-gradient(180deg, rgba(255,255,255,.48), transparent 42%),
        linear-gradient(180deg, #dcfbff, var(--gold) 58%, #256f99);
      box-shadow: 0 10px 25px rgba(85,221,255, .2), inset 0 -2px 0 rgba(0,0,0,.22);
      text-shadow: 0 1px 0 rgba(255,255,255,.35);
    }

    #startBtn {
      min-height: 54px;
      border-color: rgba(85,221,255,.55);
      background:
        linear-gradient(180deg, #dcfbff, #55ddff);
      color: #131015;
      font-size: 17px;
      box-shadow: 0 10px 25px rgba(85,221,255,.2);
      position: relative;
      overflow: hidden;
    }

    #startBtn::after {
      content: "";
      position: absolute;
      top: -30%;
      bottom: -30%;
      left: -28%;
      width: 18%;
      transform: skewX(-18deg);
      background: rgba(255,255,255,.32);
      animation: launchSweep 3.4s ease-in-out infinite;
    }

    @keyframes livePulse {
      0%, 100% { opacity: .72; transform: scale(.88); }
      50% { opacity: 1; transform: scale(1.14); }
    }

    @keyframes aimSignal {
      0%, 100% { opacity: .42; }
      45%, 65% { opacity: 1; }
    }

    @keyframes cueReady {
      0%, 100% { transform: translate(0, 0); }
      45%, 65% { transform: translate(10px, -2px); }
    }

    @keyframes launchSweep {
      0%, 60% { left: -28%; }
      84%, 100% { left: 116%; }
    }

    @media (prefers-reduced-motion: reduce) {
      .tag i,
      .preview-line,
      .preview-white,
      #startBtn::after {
        animation: none;
      }
    }

    button.action.secondary {
      color: var(--ink);
      background:
        linear-gradient(180deg, rgba(255,255,255,.08), transparent),
        #242c33;
      box-shadow: inset 0 -2px 0 rgba(0,0,0,.25);
    }

    button.action:disabled {
      cursor: not-allowed;
      opacity: .48;
    }

    .wallet-btn {
      min-height: 40px;
      border-radius: 8px;
      border: 1px solid rgba(85,221,255, .26);
      background: rgba(85,221,255, .11);
      color: var(--gold);
      font: inherit;
      font-weight: 700;
      cursor: pointer;
    }

    .mission-panel,
    .skin-panel {
      grid-column: 1 / -1;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,.11);
      background: rgba(5, 8, 10, .48);
      padding: 10px;
    }

    .section-title {
      color: var(--gold);
      font-size: 12px;
      font-weight: 900;
      margin-bottom: 8px;
    }

    .mission-list {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }

    .mission {
      min-height: 54px;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,.1);
      background:
        linear-gradient(180deg, rgba(255,255,255,.05), transparent),
        rgba(24,30,36,.82);
      padding: 8px;
      color: var(--muted);
      font-size: 11px;
    }

    .mission strong {
      display: block;
      color: var(--ink);
      font-size: 12px;
      margin-bottom: 6px;
    }

    .mission .mini-progress {
      height: 6px;
      border-radius: 999px;
      background: rgba(0,0,0,.42);
      overflow: hidden;
    }

    .mission .mini-progress span {
      display: block;
      height: 100%;
      background: linear-gradient(90deg, var(--green), var(--gold));
    }

    .mission.done {
      border-color: rgba(95,224,148,.35);
      background: rgba(95,224,148,.12);
    }

    .skin-list {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }

    .skin-btn {
      min-height: 38px;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,.12);
      background: #151b20;
      color: var(--muted);
      font: inherit;
      font-size: 12px;
      font-weight: 800;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
    }

    .skin-btn span {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      box-shadow: inset -2px -2px 4px rgba(0,0,0,.35);
    }

    .skin-btn.active {
      color: var(--gold);
      border-color: rgba(85,221,255,.45);
      background: rgba(85,221,255,.12);
    }

    .meters {
      display: grid;
      gap: 10px;
      grid-column: 1 / -1;
    }

    .meter-row {
      display: grid;
      grid-template-columns: 58px minmax(0, 1fr) 42px;
      gap: 8px;
      align-items: center;
      color: var(--muted);
      font-size: 12px;
    }

    .bar {
      height: 10px;
      background: #10161a;
      border: 1px solid var(--line);
      border-radius: 999px;
      overflow: hidden;
    }

    .fill {
      width: 0%;
      height: 100%;
      background: linear-gradient(90deg, var(--green), var(--gold), var(--red));
      transition: width .12s linear;
    }

    .timer-fill {
      background: linear-gradient(90deg, var(--red), var(--gold), var(--green));
    }

    .spin-panel {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: auto 86px auto;
      gap: 10px;
      align-items: center;
      justify-content: start;
      padding: 8px 10px;
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 8px;
      background: rgba(5, 8, 10, .48);
      color: var(--muted);
      font-size: 12px;
    }

    .spin-pad {
      width: 86px;
      height: 86px;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,.18);
      background:
        radial-gradient(circle at center, rgba(255,255,255,.1) 0 2px, transparent 3px),
        linear-gradient(90deg, transparent 48%, rgba(255,255,255,.16) 49% 51%, transparent 52%),
        linear-gradient(0deg, transparent 48%, rgba(255,255,255,.16) 49% 51%, transparent 52%),
        radial-gradient(circle, #f8f4e7 0 18%, #cfd7da 19% 55%, #151a1f 56%);
      position: relative;
      box-shadow: inset 0 0 18px rgba(0,0,0,.45);
      touch-action: none;
    }

    .spin-dot {
      width: 18px;
      height: 18px;
      border-radius: 50%;
      border: 2px solid #fff;
      background: var(--red);
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      cursor: grab;
      box-shadow: 0 0 14px rgba(255,92,105,.45);
    }

    .spin-reset {
      min-height: 34px;
      border-radius: 8px;
      border: 1px solid rgba(85,221,255,.28);
      background: rgba(85,221,255,.12);
      color: var(--gold);
      font: inherit;
      font-weight: 700;
      cursor: pointer;
      padding: 0 10px;
    }

    .match-controls {
      width: 100%;
      max-width: 1180px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: auto minmax(220px, 1fr) minmax(210px, .7fr);
      gap: 10px;
      align-items: center;
    }

    .match-spin,
    .cue-box,
    .pocket-guide {
      min-height: 104px;
      padding: 8px 10px;
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 8px;
      background: rgba(5,8,10,.6);
      color: var(--muted);
      font-size: 11px;
      font-weight: 900;
    }

    .match-spin {
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .match-spin-pad {
      width: 74px;
      height: 74px;
    }

    .cue-box {
      display: grid;
      align-content: center;
      gap: 10px;
    }

    .cue-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: var(--muted);
    }

    .cue-head b {
      color: var(--gold);
      font-size: 12px;
    }

    .shot-meter {
      width: 100%;
      height: 7px;
      overflow: hidden;
      border-radius: 999px;
      background: rgba(255,255,255,.09);
    }

    .shot-meter-fill {
      width: 0;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, #46dd99, #55ddff 64%, #ee4e45);
      box-shadow: 0 0 12px rgba(85,221,255,.35);
      transition: width .05s linear;
    }

    .fire-shot {
      min-height: 40px;
      border: 1px solid rgba(85,221,255,.48);
      border-radius: 8px;
      background: linear-gradient(135deg, #55ddff, #3ff2db);
      color: #041118;
      font: 900 14px Tahoma, Arial;
      cursor: pointer;
      box-shadow: 0 10px 22px rgba(85,221,255,.16);
    }

    .cue-list {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 7px;
    }

    .cue-btn {
      min-height: 40px;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,.12);
      background: #171d22;
      color: var(--muted);
      font: inherit;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    .cue-btn i {
      display: block;
      width: 32px;
      height: 4px;
      border-radius: 999px;
      background: #55ddff;
    }

    .cue-btn[data-cue="gold"] i {
      background: #55ddff;
    }

    .cue-btn[data-cue="neon"] i {
      background: #3ff2db;
    }

    .cue-btn.active {
      color: var(--gold);
      border-color: rgba(85,221,255,.5);
      background: rgba(85,221,255,.13);
    }

    .pocket-guide {
      display: grid;
      place-items: center;
      text-align: center;
      line-height: 1.65;
      color: #d1e5f6;
    }

    .pocket-guide.ready {
      border-color: rgba(85,221,255,.5);
      color: var(--gold);
      background: rgba(85,221,255,.11);
    }

    .log {
      height: 64px;
      overflow: auto;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: rgba(5, 8, 10, .72);
      color: var(--muted);
      font-size: 12px;
      line-height: 1.65;
    }

    .log div {
      margin-bottom: 5px;
    }

    .pro-panel {
      grid-column: 1 / -1;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: rgba(5, 8, 10, .48);
      padding: 8px 10px;
      color: var(--muted);
      font-size: 12px;
    }

    .pro-panel summary {
      cursor: pointer;
      color: var(--gold);
      font-weight: 800;
    }

    .preset-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      margin-top: 10px;
    }

    .preset-btn {
      min-height: 34px;
      border-radius: 8px;
      border: 1px solid rgba(85,221,255,.28);
      background: rgba(85,221,255,.1);
      color: var(--gold);
      font: inherit;
      font-size: 12px;
      font-weight: 900;
      cursor: pointer;
    }

    .pro-panel label {
      display: grid;
      grid-template-columns: 92px 1fr;
      gap: 8px;
      align-items: center;
      margin-top: 8px;
    }

    .pro-panel input {
      width: 100%;
      accent-color: var(--gold);
    }

    .match-overlay {
      position: fixed;
      inset: 0;
      z-index: 20;
      display: grid;
      place-items: center;
      padding: 18px;
      background: rgba(0,0,0,.62);
      backdrop-filter: blur(12px);
    }

    .match-overlay[hidden] {
      display: none;
    }

    .result-panel {
      width: min(440px, 100%);
      border-radius: 8px;
      border: 1px solid rgba(85,221,255,.32);
      padding: 24px;
      background:
        linear-gradient(180deg, rgba(255,255,255,.08), transparent 38%),
        linear-gradient(145deg, rgba(29,35,42,.98), rgba(7,10,14,.98));
      box-shadow: 0 30px 90px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08);
      text-align: center;
    }

    .result-kicker {
      color: var(--gold);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0;
    }

    .result-panel h2 {
      margin: 10px 0;
      font-size: 34px;
      letter-spacing: 0;
    }

    .result-panel p {
      margin: 0 0 18px;
      color: var(--muted);
      line-height: 1.7;
    }

    .result-stats {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr 1fr;
      gap: 8px;
      margin: 0 0 18px;
    }

    .result-stats div {
      padding: 9px 5px;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,.1);
      background: rgba(0,0,0,.22);
    }

    .result-stats span {
      display: block;
      color: var(--muted);
      font-size: 10px;
      margin-bottom: 6px;
    }

    .result-stats b {
      color: var(--ink);
      font-size: 19px;
    }

    .result-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .ok {
      color: var(--green);
    }

    .bad {
      color: var(--red);
    }

    .blue {
      color: var(--blue);
    }

    .stage {
      display: none;
      min-width: 0;
      align-content: start;
      gap: 10px;
      min-height: calc(100vh - 24px);
      place-content: center;
    }

    body.match-active .side {
      display: none;
    }

    body.match-active .stage {
      display: grid;
    }

    .rotate-prompt {
      display: none;
    }

    .phone-turn {
      width: 38px;
      height: 64px;
      border: 3px solid var(--gold);
      border-radius: 8px;
      position: relative;
      transform: rotate(90deg);
      margin-bottom: 14px;
    }

    .phone-turn::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: 5px;
      width: 8px;
      height: 3px;
      border-radius: 999px;
      transform: translateX(-50%);
      background: var(--gold);
    }

    .rotate-prompt button {
      min-height: 42px;
      padding: 0 20px;
      border-radius: 8px;
      border: 1px solid rgba(85,221,255,.55);
      background: var(--gold);
      color: #10161c;
      font: inherit;
      font-weight: 900;
    }

    .arena {
      width: 100%;
      max-width: 1180px;
      aspect-ratio: 16 / 9;
      min-height: 0;
      margin: 46px auto 0;
      padding: clamp(12px, 1.5vw, 18px);
      border-radius: 8px;
      background:
        linear-gradient(90deg, rgba(255, 216, 123, .22), transparent 18%, transparent 82%, rgba(255, 216, 123, .22)),
        repeating-linear-gradient(90deg, rgba(255, 216, 123, .26) 0 12px, rgba(83, 41, 19, .5) 12px 24px),
        linear-gradient(135deg, #331309, #c17d35 48%, #311207);
      box-shadow:
        inset 0 0 0 5px rgba(255, 255, 255, .1),
        inset 0 0 38px rgba(0, 0, 0, .52),
        0 32px 90px rgba(0, 0, 0, .55),
        0 0 0 1px rgba(85,221,255,.16);
      position: relative;
    }

    .arena::before {
      content: "";
      position: absolute;
      inset: 8px;
      border-radius: 8px;
      pointer-events: none;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), inset 0 0 30px rgba(0,0,0,.45);
      z-index: 2;
    }

    .arena-hud {
      position: absolute;
      top: -42px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 4;
      display: grid;
      grid-template-columns: auto auto auto auto auto auto;
      align-items: center;
      gap: 12px;
      min-height: 38px;
      padding: 5px 12px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.15);
      background: rgba(6, 10, 13, .56);
      backdrop-filter: blur(8px);
      color: var(--muted);
      font-size: 11px;
      font-weight: 900;
      white-space: nowrap;
      pointer-events: none;
    }

    .match-back {
      min-height: 28px;
      padding: 0 10px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.17);
      background: rgba(255,255,255,.08);
      color: var(--ink);
      font: inherit;
      font-size: 11px;
      font-weight: 900;
      cursor: pointer;
      pointer-events: auto;
    }

    .opponent-profile-btn {
      min-height: 28px;
      max-width: 136px;
      padding: 0 10px;
      border-radius: 999px;
      border: 1px solid rgba(85,221,255,.3);
      background: rgba(85,221,255,.12);
      color: var(--ink);
      font: inherit;
      font-size: 11px;
      font-weight: 900;
      cursor: pointer;
      pointer-events: auto;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .opponent-profile-btn[hidden],
    .opponent-profile-popover[hidden] {
      display: none;
    }

    .opponent-profile-popover {
      position: absolute;
      top: 14px;
      right: 14px;
      z-index: 6;
      width: min(310px, calc(100% - 28px));
      padding: 12px;
      border-radius: 8px;
      border: 1px solid rgba(85,221,255,.24);
      background: rgba(4, 10, 18, .9);
      box-shadow: 0 18px 42px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.08);
      backdrop-filter: blur(12px);
      color: var(--ink);
      direction: rtl;
      pointer-events: auto;
    }

    .opponent-profile-popover header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 10px;
      color: var(--muted);
      font-size: 10px;
      font-weight: 900;
      letter-spacing: .08em;
    }

    .opponent-profile-popover header button {
      width: 28px;
      height: 28px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.14);
      background: rgba(255,255,255,.08);
      color: var(--ink);
      cursor: pointer;
    }

    .opponent-profile-main {
      display: grid;
      grid-template-columns: 54px 1fr;
      gap: 12px;
      align-items: center;
    }

    .opponent-profile-avatar {
      width: 54px;
      height: 54px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      border: 1px solid rgba(85,221,255,.42);
      background: radial-gradient(circle at 35% 25%, #dcfbff, #55ddff 36%, #0f172a 70%);
      color: #041018;
      font-weight: 1000;
      box-shadow: 0 0 22px rgba(85,221,255,.18);
    }

    .opponent-profile-main strong,
    .opponent-profile-main code,
    .opponent-profile-main small {
      display: block;
    }

    .opponent-profile-main strong {
      font-size: 18px;
    }

    .opponent-profile-main code {
      margin-top: 3px;
      color: #55ddff;
      font-weight: 900;
      direction: ltr;
      text-align: right;
    }

    .opponent-profile-main small,
    .opponent-profile-status {
      color: var(--muted);
      font-size: 11px;
      font-weight: 800;
    }

    .opponent-profile-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      margin: 12px 0;
    }

    .opponent-profile-stats span {
      min-width: 0;
      padding: 9px;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,.08);
      background: rgba(255,255,255,.05);
      text-align: center;
    }

    .opponent-profile-stats b,
    .opponent-profile-stats small {
      display: block;
    }

    .opponent-profile-stats b {
      color: var(--ink);
      font-size: 15px;
    }

    .opponent-profile-stats small {
      color: var(--muted);
      font-size: 10px;
      font-weight: 800;
    }

    .opponent-profile-actions {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 8px;
      align-items: center;
    }

    .opponent-profile-actions button,
    .opponent-profile-actions a {
      min-height: 36px;
      border-radius: 8px;
      border: 1px solid rgba(85,221,255,.24);
      background: linear-gradient(180deg, rgba(85,221,255,.2), rgba(85,221,255,.08));
      color: var(--ink);
      font-weight: 900;
      text-decoration: none;
      display: grid;
      place-items: center;
      padding: 0 12px;
    }

    .opponent-profile-actions button:disabled {
      opacity: .55;
      cursor: default;
    }

    .opponent-profile-status {
      margin-top: 9px;
      text-align: center;
    }

    .arena-hud strong {
      color: var(--gold);
      font-size: 12px;
    }

    .arena-hud b {
      color: var(--ink);
      border-radius: 999px;
      background: rgba(255,255,255,.08);
      padding: 5px 10px;
      font-size: 13px;
    }

    .arena-clock {
      color: var(--ink);
      border-right: 1px solid rgba(255,255,255,.14);
      padding-right: 12px;
    }

    canvas {
      width: 100%;
      height: 100%;
      display: block;
      border-radius: 8px;
      background: var(--felt);
      touch-action: none;
      cursor: crosshair;
      position: relative;
      z-index: 1;
    }

    .statusbar {
      width: 100%;
      max-width: 1180px;
      margin: 0 auto;
      min-height: 48px;
      display: grid;
      grid-template-columns: 1fr auto auto;
      gap: 10px;
      align-items: center;
      color: var(--muted);
      font-size: 13px;
    }

    .pill {
      border: 1px solid rgba(85,221,255,.24);
      background:
        linear-gradient(180deg, rgba(85,221,255,.14), rgba(15, 19, 23, .9));
      border-radius: 999px;
      padding: 9px 12px;
      color: var(--ink);
      white-space: nowrap;
      box-shadow: 0 0 22px rgba(85,221,255,.08);
    }

    @media (max-width: 920px) {
      .shell {
        padding: 10px;
      }

      .side {
        grid-template-columns: 1fr;
      }

      .stage {
        min-height: calc(100vh - 20px);
      }

      .grid {
        grid-template-columns: 1fr 1fr;
      }

      .lobby-nav-panel,
      .club-grid-page {
        grid-template-columns: 1fr;
      }

      .club-chat-list {
        min-height: 330px;
        max-height: 56vh;
      }

      .arena {
        aspect-ratio: 16 / 9;
        height: auto;
        min-height: 0;
        margin-top: 38px;
        padding: 10px;
      }

      .arena-hud {
        top: -34px;
        min-height: 30px;
        gap: 7px;
        padding: 4px 8px;
        font-size: 9px;
      }

      .arena-hud strong {
        font-size: 10px;
      }

      .arena-hud span:last-child {
        padding-right: 7px;
      }

      .rooms {
        grid-template-columns: 1fr 1fr;
      }

      .ai-panel {
        grid-template-columns: 1fr 1fr 1fr;
      }

      .ai-panel span {
        grid-column: 1 / -1;
      }

      .career-panel {
        grid-template-columns: 1fr;
      }

      .mission-list,
      .skin-list {
        grid-template-columns: 1fr;
      }

      .statusbar {
        grid-template-columns: 1fr;
      }

      .match-controls {
        grid-template-columns: 1fr;
      }

      .match-spin {
        justify-content: center;
      }
    }

    @media (max-width: 480px) {
      .shell {
        padding: 6px;
      }

      .auth-screen {
        min-height: calc(100vh - 12px);
        padding: 16px 10px 12px;
      }

      .auth-brand h1 {
        font-size: 49px;
      }

      .auth-emblem {
        width: 60px;
        height: 60px;
      }

      .auth-emblem b {
        font-size: 38px;
      }

      .auth-preview {
        height: 66px;
      }

      .side {
        padding: 7px;
        gap: 7px;
      }

      .lobby-hero {
        gap: 6px;
        padding: 8px;
      }

      .brand-lockup {
        gap: 7px;
      }

      .brand-lockup .brand-emblem {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
      }

      .brand-lockup .brand-emblem b {
        font-size: 27px;
      }

      .brand h1 {
        font-size: 36px;
      }

      .tag {
        padding: 7px 8px;
      }

      .series-bar {
        min-height: 23px;
        gap: 6px;
        padding: 0 7px;
      }

      .series-bar em {
        display: none;
      }

      .preview-table {
        height: 143px;
      }

      .grid {
        grid-template-columns: 1fr 1fr;
      }

      .side > .grid .card:nth-child(3),
      .side > .grid .card:nth-child(4),
      .side > .versus,
      .side > .rule-panel,
      .side > .pocket-call {
        display: none;
      }

      .card {
        min-height: 50px;
        padding: 7px 9px;
      }

      .card strong {
        font-size: 21px;
      }

      .rooms {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
      }

      .room {
        min-height: 61px;
        gap: 3px;
      }

      .room b {
        font-size: 14px;
      }

      .room small {
        font-size: 9px;
      }

      .mode-switch {
        gap: 5px;
        padding: 4px;
      }

      .mode-btn {
        min-height: 48px;
      }

      .mode-btn b {
        font-size: 12px;
      }

      .mode-btn small {
        font-size: 9px;
      }

      .online-panel-head,
      .online-actions,
      .online-route-grid {
        grid-template-columns: 1fr;
      }

      .online-main-cta,
      .online-secondary-cta {
        min-height: 46px;
      }

      .online-code-entry {
        grid-template-columns: minmax(0, 1fr) 70px;
      }

      .ai-panel {
        padding: 5px;
        gap: 5px;
      }

      .ai-btn {
        min-height: 31px;
      }

      .toolbar {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 6px;
      }

      #startBtn {
        min-height: 50px;
      }

      #resetBtn {
        min-height: 50px;
        padding: 0 11px;
        font-size: 11px;
      }

      #logoutBtn {
        min-height: 50px;
        padding: 0 11px;
        font-size: 11px;
      }

      .career-panel {
        grid-template-columns: minmax(120px, 1fr) auto;
        gap: 7px;
        padding: 7px;
      }

      .daily-btn {
        grid-column: 1 / -1;
        min-height: 32px;
      }

      .career-rank {
        font-size: 11px;
      }

      .payment-packages {
        grid-template-columns: 1fr 1fr;
      }

      .payment-form {
        grid-template-columns: 1fr;
      }

      .social-actions,
      .social-referral,
      .club-actions,
      .chat-compose,
      .chat-actions {
        grid-template-columns: 1fr;
      }

      .match-invite-toast {
        top: 10px;
        grid-template-columns: auto minmax(0, 1fr);
      }

      .match-invite-toast button {
        grid-column: span 1;
      }

      .wager-picker-options {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 920px) and (orientation: portrait) and (pointer: coarse) {
      body.match-active {
        overflow: hidden;
      }

      body.match-active .rotate-prompt {
        position: fixed;
        inset: 0;
        z-index: 18;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        background: rgba(5, 9, 13, .94);
        color: var(--ink);
        text-align: center;
      }

      .rotate-prompt strong {
        font-size: 22px;
        color: var(--gold);
      }

      .rotate-prompt span {
        margin-bottom: 8px;
        color: var(--muted);
        font-size: 13px;
      }
    }

    @media (orientation: landscape) and (max-height: 560px) {
      body.match-active {
        overflow: hidden;
      }

      body.match-active .shell {
        height: 100svh;
        padding: 5px;
      }

      body.match-active .stage {
        width: 100%;
        height: calc(100svh - 10px);
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) 146px;
        grid-template-rows: minmax(0, 1fr) auto;
        align-content: stretch;
        gap: 6px;
        direction: ltr;
      }

      body.match-active .arena {
        grid-row: 1 / 3;
        width: 100%;
        height: calc(100% - 30px);
        aspect-ratio: auto;
        margin-top: 30px;
        padding: 6px;
      }

      body.match-active .arena-hud {
        top: -28px;
        min-height: 26px;
        gap: 5px;
        padding: 3px 6px;
        font-size: 8px;
      }

      body.match-active .arena-hud strong,
      body.match-active .arena-hud b {
        font-size: 9px;
        padding: 4px 7px;
      }

      body.match-active .match-back {
        min-height: 22px;
        padding: 0 7px;
        font-size: 9px;
      }

      body.match-active .opponent-profile-btn {
        min-height: 22px;
        max-width: 72px;
        padding: 0 7px;
        font-size: 9px;
      }

      body.match-active .opponent-profile-popover {
        top: 8px;
        right: 8px;
        width: min(270px, calc(100% - 16px));
        padding: 9px;
      }

      body.match-active .opponent-profile-main {
        grid-template-columns: 44px 1fr;
        gap: 9px;
      }

      body.match-active .opponent-profile-avatar {
        width: 44px;
        height: 44px;
      }

      body.match-active .opponent-profile-main strong {
        font-size: 15px;
      }

      body.match-active .opponent-profile-stats {
        gap: 6px;
        margin: 9px 0;
      }

      body.match-active .opponent-profile-actions button,
      body.match-active .opponent-profile-actions a {
        min-height: 32px;
        padding: 0 9px;
        font-size: 11px;
      }

      body.match-active .match-controls {
        direction: rtl;
        align-self: stretch;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 146px;
        gap: 6px;
      }

      body.match-active .match-spin,
      body.match-active .cue-box,
      body.match-active .pocket-guide {
        width: 100%;
        min-height: 0;
        padding: 6px;
      }

      body.match-active .match-spin {
        justify-content: center;
        gap: 6px;
        flex-wrap: wrap;
      }

      body.match-active .match-spin-pad {
        width: 48px;
        height: 48px;
      }

      body.match-active .spin-dot {
        width: 13px;
        height: 13px;
      }

      body.match-active .spin-reset {
        min-height: 27px;
        padding: 0 7px;
        font-size: 10px;
      }

      body.match-active .cue-box {
        gap: 5px;
      }

      body.match-active .shot-meter {
        height: 5px;
      }

      body.match-active .cue-list {
        grid-template-columns: 1fr;
        gap: 4px;
      }

      body.match-active .cue-btn {
        min-height: 27px;
        font-size: 10px;
      }

      body.match-active .cue-btn i {
        width: 23px;
      }

      body.match-active .pocket-guide {
        line-height: 1.35;
        font-size: 9px;
      }

      body.match-active .statusbar {
        direction: rtl;
        grid-column: 2;
        min-height: 30px;
        font-size: 10px;
      }

      body.match-active #hint {
        display: none;
      }

      body.match-active .pill {
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 7px 8px;
      }
    }

    /* ECLIPSE visual identity: black glass, electric cyan, and ruby accents. */
    body {
      background:
        linear-gradient(118deg, transparent 0 34%, rgba(85,221,255,.055) 34% 35%, transparent 35% 66%, rgba(255,61,110,.045) 66% 67%, transparent 67%),
        linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(135deg, #05070d, #0d0a16 46%, #061018);
      background-size: auto, 42px 42px, 42px 42px, auto;
    }

    .auth-screen,
    .side,
    .lobby-hero,
    .grid .card,
    .rooms button,
    .bet-panel,
    .social-panel,
    .community-panel,
    .mode-switch,
    .ai-panel,
    .online-panel,
    .career-panel,
    .rule-panel,
    .versus,
    .economy-policy,
    .license-panel,
    .wallet-panel,
    .pocket-call,
    .mission-panel,
    .skin-panel,
    .meters,
    .lobby-spin,
    .pro-panel,
    .log,
    .match-controls,
    .match-spin,
    .cue-box,
    .pocket-guide,
    .statusbar {
      border-color: rgba(85,221,255,.2);
      background:
        linear-gradient(145deg, rgba(85,221,255,.075), transparent 34%, rgba(255,61,110,.045)),
        rgba(6,10,18,.88);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 14px 32px rgba(0,0,0,.32);
    }

    .auth-screen::before,
    .lobby-hero::before {
      background: linear-gradient(90deg, #55ddff, #6b7cff 42%, #ff3d6e 72%, #55ddff);
    }

    .auth-brand small,
    .hero-kicker,
    .economy-policy b,
    .id-strip strong,
    .account-chip b,
    .mission-card b,
    .skin-panel h3,
    .pro-panel summary {
      color: #55ddff;
    }

    .auth-brand em,
    .brand-word em,
    .edition,
    .room.active b,
    .arena-hud strong,
    .arena-hud b {
      color: #f7fbff;
    }

    .brand-emblem {
      border-color: rgba(85,221,255,.72);
      background:
        linear-gradient(145deg, rgba(255,255,255,.16), transparent 34%),
        linear-gradient(135deg, #11172a, #05070d);
      color: #dcfbff;
      box-shadow:
        inset 0 0 0 4px rgba(5,7,13,.72),
        0 0 0 1px rgba(255,61,110,.32),
        0 12px 28px rgba(0,0,0,.46);
    }

    .brand-emblem::after {
      background: #ff3d6e;
      box-shadow: 0 0 12px rgba(255,61,110,.82);
    }

    button.action,
    #startBtn {
      color: #041018;
      border-color: rgba(85,221,255,.6);
      background:
        linear-gradient(180deg, rgba(255,255,255,.42), transparent 44%),
        linear-gradient(180deg, #dcfbff, #55ddff 56%, #2479a4);
      box-shadow: 0 12px 28px rgba(85,221,255,.2), inset 0 -2px 0 rgba(0,0,0,.26);
      text-shadow: none;
    }

    button.action.secondary,
    .preset-btn,
    .ai-btn,
    .mode-btn,
    .skin-btn,
    .pocket-btn,
    .cue-btn {
      color: #dbeafe;
      border-color: rgba(255,255,255,.12);
      background: linear-gradient(180deg, rgba(255,255,255,.07), transparent), #111827;
    }

    .mode-btn.active,
    .ai-btn.active,
    .skin-btn.active,
    .preset-btn.active,
    .pocket-btn.active,
    .cue-btn.active,
    .room.active {
      color: #f7fbff;
      border-color: rgba(85,221,255,.52);
      background: linear-gradient(180deg, rgba(85,221,255,.16), rgba(255,61,110,.075)), #0c1322;
      box-shadow: inset 0 -2px 0 rgba(85,221,255,.2), 0 0 22px rgba(85,221,255,.08);
    }

    .bar,
    .shot-meter,
    .xp-bar {
      background: #080b13;
      border-color: rgba(255,255,255,.08);
    }

    .fill,
    .timer-fill,
    .shot-meter-fill,
    .xp-bar div,
    .series-bar span {
      background: linear-gradient(90deg, #55ddff, #6b7cff, #ff3d6e);
    }

    .arena-hud {
      border-color: rgba(85,221,255,.24);
      background: rgba(6,10,18,.78);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 14px 30px rgba(0,0,0,.34);
    }

    .match-back,
    .opponent-profile-btn {
      color: #dbeafe;
      border-color: rgba(85,221,255,.24);
      background: rgba(85,221,255,.08);
    }

    .preview-table {
      border-color: #101827;
      background:
        linear-gradient(107deg, rgba(255,255,255,.1), transparent 29%),
        repeating-linear-gradient(90deg, transparent 0 57px, rgba(255,255,255,.025) 58px, transparent 59px),
        linear-gradient(132deg, #1ca6d9, #126fb7 64%, #071c38);
      box-shadow:
        0 0 0 1px rgba(85,221,255,.72),
        inset 0 0 0 2px rgba(85,221,255,.2),
        inset 0 0 38px rgba(0,0,0,.42),
        0 13px 28px rgba(0,0,0,.44);
    }

    .preview-table::before {
      border-color: rgba(220,251,255,.18);
    }

    .table-plaque {
      background: rgba(5,7,13,.62);
      color: rgba(220,251,255,.9);
    }

    .preview-cue,
    .cue-btn i,
    .cue-btn[data-cue="gold"] i {
      background: linear-gradient(90deg, #111827, #55ddff 54%, #dcfbff);
    }

    .cue-btn[data-cue="neon"] i {
      background: linear-gradient(90deg, #55ddff, #ff3d6e);
    }

    .auth-preview {
      border-color: rgba(85,221,255,.32);
      background:
        linear-gradient(105deg, rgba(255,255,255,.1), transparent 28%),
        linear-gradient(130deg, #1ca6d9, #071c38);
    }

    .profile-page {
      min-height: 100vh;
    }

    .profile-shell {
      width: min(1120px, calc(100% - 24px));
      margin: 0 auto;
      padding: 14px 0 28px;
      display: grid;
      gap: 14px;
    }

    .profile-topbar,
    .profile-search,
    .profile-hero,
    .profile-card,
    .profile-status {
      border: 1px solid rgba(85,221,255,.2);
      border-radius: 8px;
      background:
        linear-gradient(145deg, rgba(85,221,255,.08), transparent 34%, rgba(255,61,110,.05)),
        rgba(6,10,18,.88);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 14px 32px rgba(0,0,0,.32);
    }

    .profile-topbar {
      min-height: 76px;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;
      padding: 12px;
    }

    .profile-topbar div {
      text-align: center;
      min-width: 0;
    }

    .profile-topbar small,
    .profile-card small,
    .profile-identity small {
      color: #55ddff;
      font-size: 10px;
      font-weight: 900;
    }

    .profile-topbar h1,
    .profile-card h3 {
      margin: 3px 0 0;
      font-size: 22px;
      line-height: 1.2;
    }

    .profile-card h3 {
      font-size: 17px;
    }

    .profile-nav,
    .profile-search button {
      min-height: 42px;
      display: inline-grid;
      place-items: center;
      padding: 0 14px;
      border: 1px solid rgba(85,221,255,.28);
      border-radius: 7px;
      background: rgba(85,221,255,.1);
      color: #dff8ff;
      text-decoration: none;
      font: inherit;
      font-weight: 900;
      cursor: pointer;
    }

    .profile-search {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: end;
      padding: 12px;
    }

    .profile-search label {
      display: grid;
      gap: 6px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 900;
    }

    .profile-search input {
      width: 100%;
      min-height: 44px;
      padding: 0 12px;
      border: 1px solid rgba(255,255,255,.13);
      border-radius: 7px;
      background: rgba(2,6,9,.62);
      color: var(--ink);
      direction: ltr;
      text-transform: uppercase;
      font: inherit;
      font-size: 15px;
    }

    .profile-status {
      min-height: 128px;
      display: grid;
      place-items: center;
      padding: 18px;
      color: var(--muted);
      text-align: center;
      line-height: 1.7;
      font-weight: 900;
    }

    .profile-status[hidden],
    .profile-layout[hidden],
    .profile-private[hidden] {
      display: none;
    }

    .profile-layout {
      display: grid;
      gap: 14px;
    }

    .profile-hero {
      display: grid;
      grid-template-columns: 88px minmax(0, 1fr) 140px;
      gap: 14px;
      align-items: center;
      padding: 16px;
    }

    .profile-avatar {
      width: 88px;
      height: 88px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      border: 2px solid rgba(85,221,255,.68);
      background:
        linear-gradient(145deg, rgba(255,255,255,.17), transparent 32%),
        linear-gradient(135deg, #111827, #05070d);
      color: #dcfbff;
      font-family: Impact, "Arial Narrow", Arial, Tahoma, sans-serif;
      font-size: 42px;
      line-height: 1;
      box-shadow: inset 0 0 0 4px rgba(5,7,13,.72), 0 12px 28px rgba(0,0,0,.46);
    }

    .profile-identity {
      min-width: 0;
      display: grid;
      gap: 5px;
    }

    .profile-identity h2 {
      margin: 0;
      font-size: 32px;
      line-height: 1.1;
    }

    .profile-identity code {
      direction: ltr;
      justify-self: start;
      padding: 6px 10px;
      border: 1px solid rgba(85,221,255,.24);
      border-radius: 7px;
      background: rgba(85,221,255,.08);
      color: #55ddff;
      font-weight: 900;
    }

    .profile-identity p {
      margin: 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.5;
    }

    .profile-rank {
      min-height: 112px;
      display: grid;
      place-items: center;
      gap: 4px;
      padding: 12px;
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 8px;
      background: rgba(2,6,9,.38);
      text-align: center;
    }

    .profile-rank span {
      color: var(--muted);
      font-size: 10px;
      font-weight: 900;
    }

    .profile-rank strong {
      color: var(--ink);
      font-size: 42px;
      line-height: .95;
    }

    .profile-rank b {
      color: #55ddff;
      font-size: 13px;
    }

    .profile-stats {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 10px;
    }

    .profile-stat {
      min-height: 96px;
      display: grid;
      align-content: center;
      gap: 6px;
      padding: 12px;
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 8px;
      background: rgba(2,6,9,.42);
    }

    .profile-stat span,
    .profile-stat small,
    .profile-row small,
    .profile-badge span {
      color: var(--muted);
      font-size: 11px;
      line-height: 1.45;
    }

    .profile-stat strong {
      color: var(--ink);
      font-size: 23px;
      line-height: 1;
    }

    .profile-card {
      padding: 12px;
      display: grid;
      gap: 12px;
    }

    .profile-card header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .profile-card header strong {
      color: #55ddff;
      font-size: 18px;
    }

    .profile-badges {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
    }

    .profile-badge,
    .profile-row,
    .profile-empty {
      border: 1px solid rgba(255,255,255,.09);
      border-radius: 8px;
      background: rgba(2,6,9,.38);
    }

    .profile-badge {
      min-height: 76px;
      display: grid;
      align-content: center;
      gap: 6px;
      padding: 12px;
    }

    .profile-badge b {
      color: #f7fbff;
      font-size: 13px;
    }

    .profile-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .profile-row {
      display: grid;
      gap: 6px;
      padding: 10px;
    }

    .profile-row header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    .profile-row strong {
      color: var(--ink);
      font-size: 13px;
    }

    .profile-row b {
      direction: ltr;
      color: #55ddff;
      font-size: 12px;
      white-space: nowrap;
    }

    .profile-row.loss {
      border-color: rgba(255,61,110,.22);
    }

    .profile-row.loss b {
      color: #ff8ba5;
    }

    .profile-row.win {
      border-color: rgba(85,221,255,.24);
    }

    .profile-empty {
      grid-column: 1 / -1;
      min-height: 76px;
      display: grid;
      place-items: center;
      padding: 12px;
      color: var(--muted);
      text-align: center;
      font-size: 12px;
      line-height: 1.6;
    }

    .profile-private {
      display: grid;
      gap: 14px;
    }

    .legal-page {
      min-height: 100vh;
    }

    .legal-shell {
      width: min(980px, calc(100% - 24px));
      margin: 0 auto;
      padding: 14px 0 32px;
      display: grid;
      gap: 14px;
    }

    .legal-topbar,
    .legal-card {
      border: 1px solid rgba(85,221,255,.2);
      border-radius: 8px;
      background:
        linear-gradient(145deg, rgba(85,221,255,.08), transparent 34%, rgba(255,61,110,.05)),
        rgba(6,10,18,.88);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 14px 32px rgba(0,0,0,.32);
    }

    .legal-topbar {
      min-height: 76px;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 12px;
      align-items: center;
      padding: 12px;
    }

    .legal-topbar small,
    .legal-card small {
      color: #55ddff;
      font-size: 10px;
      font-weight: 900;
    }

    .legal-topbar h1,
    .legal-card h2 {
      margin: 3px 0 0;
      line-height: 1.2;
    }

    .legal-topbar h1 {
      font-size: 24px;
    }

    .legal-nav {
      min-height: 38px;
      display: inline-grid;
      place-items: center;
      padding: 0 12px;
      border: 1px solid rgba(85,221,255,.24);
      border-radius: 8px;
      background: rgba(85,221,255,.08);
      color: #dff8ff;
      text-decoration: none;
      font-size: 12px;
      font-weight: 900;
    }

    .legal-card {
      padding: 18px;
      display: grid;
      gap: 12px;
      color: #d7e8f2;
      line-height: 1.8;
    }

    .legal-card p,
    .legal-card ul {
      margin: 0;
    }

    .legal-card ul {
      padding-inline-start: 20px;
    }

    .legal-card li {
      margin: 6px 0;
    }

    @media (max-width: 900px) {
      .profile-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .profile-list {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 620px) {
      .profile-shell {
        width: calc(100% - 12px);
        padding: 6px 0 18px;
      }

      .profile-topbar,
      .profile-search,
      .profile-hero {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .profile-avatar,
      .profile-identity code {
        justify-self: center;
      }

      .profile-identity h2 {
        font-size: 25px;
      }

      .profile-stats,
      .profile-badges {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }
