@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/static/fonts/InterVariable.woff2") format("woff2"); }


  :root {
    --bg: #0e1116;
    --surface: #161a21;
    --elevated: #1d232d;
    --border: #262d38;
    --text: #eef1f5;
    --muted: #8b93a2;
    --brand: #e01414;
    --brand-ink: #ffffff;
    --cash: #2ee06f;
    --coin: #a78bfa;
    --warn: #f5a524;
    --info: #38bdf8;
    --gold: #f5c542;
    --radius: 14px;
    --nav-h: 62px;
    --display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --brand-text: #ff5c5c;
    color-scheme: dark;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; }
  body {
    background: var(--bg); color: var(--text);
    font: 400 15px/1.45 var(--body);
    -webkit-font-smoothing: antialiased;
  }
  .phone { max-width: 460px; margin: 0 auto; min-height: 100vh; position: relative;
           padding-bottom: calc(var(--nav-h) + 72px); }


  header {
    position: sticky; top: 0; z-index: 10;
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px 10px;
    background: linear-gradient(var(--bg) 82%, transparent);
  }
  .logo img { height: 40px; width: auto; display: block; filter: drop-shadow(0 2px 5px rgba(0,0,0,.5)); }
  .spacer { flex: 1; }
  .balance {
    display: flex; align-items: center; gap: 10px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 999px; padding: 6px 12px;
    cursor: pointer; font-variant-numeric: tabular-nums;
  }
  .balance .cash { color: var(--cash); font-weight: 700; font-size: 14px; }
  .balance .coin { color: var(--coin); font-weight: 600; font-size: 12.5px; }
  .balance .sep { width: 1px; height: 14px; background: var(--border); }
  .topup {
    width: 34px; height: 34px; border-radius: 50%; border: 0; flex: none;
    background: var(--brand); color: var(--brand-ink);
    font-size: 20px; font-weight: 700; line-height: 1; padding: 0 0 2px;
    display: grid; place-items: center; cursor: pointer;
  }
  .bell {
    width: 34px; height: 34px; border-radius: 50%; flex: none; position: relative;
    background: var(--surface); border: 1px solid var(--border); color: var(--muted);
    display: grid; place-items: center; cursor: pointer;
  }

  .topup, .chip, .btn { position: relative; }
  .topup::before, .bell::before { content: ""; position: absolute; inset: -5px; }
  .chip::before, .btn::before { content: ""; position: absolute; inset: -7px 0; }
  .bell::after { content: ""; position: absolute; top: 7px; right: 8px; width: 7px; height: 7px;
                 border-radius: 50%; background: var(--brand); border: 2px solid var(--surface); }


  main { padding: 4px 16px 0; }
  .view { display: none; }
  .view.active { display: block; animation: fade .18s ease; }
  @keyframes fade { from { opacity: 0; transform: translateY(4px); } }

  h1 { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 10px 0 2px; }

  .balance .cash, .stake .sa, .wrow .amt, .bonus-head .amt, .pod .pval, .stat .v,
  .summary .row.total span:last-child { font-family: var(--display); font-weight: 700; }
  .sub { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
  .label { font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
           color: var(--muted); margin: 20px 0 8px; }

  .card { background: var(--surface); border: 1px solid var(--border);
          border-radius: var(--radius); padding: 14px; }


  .wallet-card { display: flex; flex-direction: column; gap: 12px; }
  .wrow { display: flex; align-items: center; gap: 10px; }
  .wico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 17px; flex: none; }
  .wrow.cash .wico { background: rgba(46,224,111,.12); }
  .wrow.coin .wico { background: rgba(167,139,250,.12); }
  .wrow .txt { flex: 1; min-width: 0; }
  .wrow .name { font-size: 12px; color: var(--muted); }
  .wrow .amt { font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
  .wrow.cash .amt { color: var(--cash); }
  .wrow.coin .amt { color: var(--coin); font-size: 16px; }
  .wrow .hint { font-size: 11.5px; color: var(--muted); }
  .btn {
    border: 0; cursor: pointer; border-radius: 10px; padding: 9px 14px;
    font-weight: 700; font-size: 13px; line-height: 1; font-family: inherit; color: var(--text);
    background: var(--elevated); border: 1px solid var(--border);
  }
  .btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
  .btn.small { padding: 7px 11px; font-size: 12px; }
  .btn:active { transform: scale(.97); }
  .wallet-card .actions { display: flex; gap: 8px; }


  .match-card { border-color: rgba(224,20,20,.45); position: relative; overflow: hidden; }
  .match-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brand); }
  .mrow { display: flex; align-items: center; gap: 10px; }
  .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); animation: pulse 1.4s infinite; flex: none; }
  @keyframes pulse { 50% { opacity: .35; } }
  .mrow .txt { flex: 1; }
  .mrow .t1 { font-weight: 700; font-size: 14px; }
  .mrow .t2 { font-size: 12px; color: var(--muted); }


  .quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .quick button {
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
    color: var(--text); padding: 12px 4px 10px; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    font-weight: 600; font-size: 11.5px; line-height: 1; font-family: inherit;
  }
  .quick .qi { font-size: 18px; }


  .list { display: flex; flex-direction: column; gap: 8px; }
  .item { display: flex; align-items: center; gap: 10px; background: var(--surface);
          border: 1px solid var(--border); border-radius: 12px; padding: 11px 12px; cursor: pointer; }
  .item .ico { width: 34px; height: 34px; border-radius: 10px; background: var(--elevated);
               display: grid; place-items: center; font-size: 15px; flex: none; }
  .item .txt { flex: 1; min-width: 0; }
  .item .t1 { font-size: 13.5px; font-weight: 600; }
  .item .t2 { font-size: 12px; color: var(--muted); }
  .item .end { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
  .item .end.win { color: var(--cash); }
  .item .end.loss { color: var(--muted); }
  .item .chev { color: var(--muted); font-size: 14px; }


  .alert {
    display: flex; gap: 9px; align-items: flex-start;
    background: rgba(245,165,36,.07); border: 1px solid rgba(245,165,36,.35);
    border-radius: 12px; padding: 11px 12px; margin: 8px 0 4px;
    font-size: 12.5px; line-height: 1.45; color: var(--text);
  }
  .alert .ai { flex: none; font-size: 14px; }
  .backlink { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 13px; cursor: pointer; margin-top: 0; }
  .backlink:hover { color: var(--text); }
  .pill-live {
    font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
    background: var(--brand); color: var(--brand-ink); border-radius: 999px; padding: 4px 9px; flex: none;
  }
  .pill-soon {
    font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 4px 9px; flex: none;
  }
  .mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .mode {
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
    padding: 14px 12px; cursor: pointer; text-align: left;
    color: var(--text); font-family: inherit;
  }
  .mode.selected { border-color: var(--brand); background: rgba(224,20,20,.07); }
  .mode .mi { font-size: 20px; }
  .mode .mn { font-weight: 700; font-size: 14px; margin-top: 6px; }
  .mode .md { font-size: 11.5px; color: var(--muted); }
  .mode[disabled] { opacity: .45; cursor: not-allowed; }
  .stake-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
  .stake {
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
    padding: 12px 2px 9px; cursor: pointer; text-align: center; color: var(--text); font-family: inherit;
  }
  .stake .sa { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
  .stake .sf { font-size: 11px; color: var(--muted); margin-top: 3px; }
  .stake.selected { border-color: var(--brand); background: rgba(224,20,20,.07); }
  .stake .req { display: block; font-size: 11px; color: var(--warn); margin-top: 2px; }
  .stake.locked { opacity: .5; cursor: not-allowed; }
  .stake .req.lock { color: var(--muted); }

  .welcome-gate {
    display: flex; gap: 10px; align-items: flex-start;
    background: rgba(46,224,111,.07); border: 1px solid rgba(46,224,111,.4);
    border-radius: 12px; padding: 12px 13px; margin: 8px 0 4px;
    font-size: 12.5px; line-height: 1.5; color: var(--text);
  }
  .welcome-gate .gi { flex: none; font-size: 16px; }
  .welcome-gate .prog { display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 800;
    letter-spacing: .5px; color: var(--cash); }
  .btn[disabled] { opacity: .45; cursor: default; }


  .inst-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(4,8,16,.65);
    backdrop-filter: blur(5px); display: none; align-items: flex-end; justify-content: center; }
  .inst-overlay.open { display: flex; }
  .inst-sheet { width: min(460px, 100%); max-height: 88vh; overflow-y: auto; background: var(--surface);
    border: 1px solid var(--border); border-radius: 18px 18px 0 0; padding: 18px 16px 26px; }
  .inst-sheet h3 { margin: 0 0 4px; font-size: 17px; }
  .inst-sheet .isub { font-size: 12.5px; color: var(--muted); margin: 0 0 12px; }
  .inst-sheet img.tut { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); margin-bottom: 12px; display: block; }
  .inst-seg { display: flex; gap: 6px; margin-bottom: 12px; }
  .inst-seg button { flex: 1; border: 1px solid var(--border); background: transparent; color: var(--muted);
    border-radius: 999px; padding: 8px 0; font-weight: 700; font-size: 12.5px; line-height: 1; font-family: inherit; cursor: pointer; }
  .inst-seg button.on { background: var(--elevated); color: var(--text); border-color: var(--brand); }
  .inst-step { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 13px; }
  .inst-step .n { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff;
    font-size: 11px; font-weight: 800; display: grid; place-items: center; margin-top: 1px; }
  .inst-btn { width: 100%; border: 0; cursor: pointer; border-radius: 12px; padding: 14px;
    font-weight: 700; font-size: 14px; line-height: 1; font-family: inherit; }
  .inst-btn.go { background: var(--cash); color: #06220f; margin-top: 10px; }
  .inst-btn.close { background: transparent; color: var(--muted); border: 1px solid var(--border); margin-top: 8px; }

  .summary .row { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px;
                  padding: 8px 0; border-bottom: 1px solid var(--border);
                  font-variant-numeric: tabular-nums; }
  .summary .row:last-child { border-bottom: 0; }
  .summary .row span:first-child { color: var(--muted); flex: none; }
  .summary .row span:last-child { font-weight: 700; }
  .summary .row .c { color: var(--cash); font-weight: 700; }
  .summary .row .b { color: var(--coin); font-weight: 700; }


  .chips { display: flex; gap: 6px; overflow-x: auto; padding: 7px 0 11px; margin: -7px 0 -7px; scrollbar-width: none;
           -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
  .chips > :last-child { margin-right: 36px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip {
    border: 1px solid var(--border); background: var(--surface); color: var(--muted);
    border-radius: 999px; padding: 7px 13px; font-weight: 600; font-size: 12.5px; line-height: 1; font-family: inherit;
    cursor: pointer; white-space: nowrap; flex: none;
  }
  .chip.active { background: var(--elevated); color: var(--text); border-color: var(--muted); }


  .stat-rows { display: flex; flex-direction: column; }
  .srow { display: flex; justify-content: space-between; align-items: center; padding: 9px 0;
          border-bottom: 1px solid var(--border); font-size: 13.5px; font-variant-numeric: tabular-nums; }
  .srow:last-child { border-bottom: 0; }
  .srow span:first-child { color: var(--muted); }
  .srow b.c { color: var(--cash); } .srow b.b { color: var(--coin); }
  .progress { height: 7px; border-radius: 999px; background: var(--elevated); overflow: hidden; margin-top: 8px; }
  .progress i { display: block; height: 100%; width: 30%; background: var(--coin); border-radius: 999px; }


  .wsub { display: none; }
  .wsub.active { display: block; animation: fade .18s ease; }
  .wact { display: flex; gap: 8px; margin-top: 12px; }
  .wact .btn { flex: 1; padding: 12px; font-size: 13.5px; border-radius: 12px; }
  .seeall { display: flex; align-items: center; justify-content: center; min-height: 44px; color: var(--muted);
            font-size: 12.5px; cursor: pointer; padding: 10px 0 0; }
  .seeall:hover { color: var(--text); }


  .item.selected { border-color: var(--brand); background: rgba(224,20,20,.06); }
  .pill-rec { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; vertical-align: 2px; color: var(--cash); background: rgba(46,224,111,.12); border: 1px solid rgba(46,224,111,.35); }
  .badge-rec { font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
               color: var(--cash); border: 1px solid rgba(46,224,111,.45); border-radius: 999px;
               padding: 2px 6px; margin-left: 5px; vertical-align: 1px; }
  .paybox { display: flex; flex-direction: column; gap: 12px; }
  .paybox .qr { width: 128px; height: 128px; margin: 2px auto 0; border-radius: 10px;
                background: #fff; padding: 9px; }
  .paybox .qr svg { width: 100%; height: 100%; display: block; }
  .addr { display: flex; align-items: center; gap: 8px; background: var(--elevated);
          border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
  .addr code { flex: 1; font: 600 11px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace;
               overflow-wrap: anywhere; }
  .payrow { display: flex; justify-content: space-between; align-items: center; gap: 10px;
            font-size: 12.5px; padding: 4px 0; font-variant-numeric: tabular-nums; }
  .payrow span:first-child { color: var(--muted); }
  .status-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700;
                 border-radius: 999px; padding: 3px 9px; }
  .status-pill.wait { color: var(--warn); background: rgba(245,165,36,.1); border: 1px solid rgba(245,165,36,.4); }
  .status-pill.ok { color: var(--cash); background: rgba(46,224,111,.1); border: 1px solid rgba(46,224,111,.4); }
  .status-pill.off { color: var(--muted); background: rgba(255,255,255,.04); border: 1px solid var(--border); }
  .alert.ok { background: rgba(46,224,111,.07); border-color: rgba(46,224,111,.35); }

  .addr.dep-amount { border-color: rgba(167,139,250,.45); }
  .addr.dep-amount code { font-size: 15px; font-weight: 800; }
  .empty { padding: 38px 22px; text-align: center; }
  .empty .ico { font-size: 38px; display: block; margin-bottom: 10px; }
  .empty .t1 { font-weight: 700; font-size: 15px; }
  .empty .t2 { color: var(--muted); font-size: 13px; margin-top: 5px; }



  .field { display: flex; flex-direction: column; gap: 5px; }
  .field label { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .6px; text-transform: uppercase; }
  .field input { background: var(--elevated); border: 1px solid var(--border); border-radius: 10px;
                 color: var(--text); font-weight: 600; font-size: 14px; line-height: 1; font-family: inherit; padding: 11px 12px;
                 font-variant-numeric: tabular-nums; width: 100%; }
  .field input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
  .tl { display: flex; flex-direction: column; margin-top: 6px; }
  .tl .step { display: flex; gap: 10px; }
  .tl .rail { display: flex; flex-direction: column; align-items: center; flex: none; }
  .tl .dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--border);
             background: var(--surface); flex: none; margin-top: 3px; }
  .tl .step.done .dot { background: var(--cash); border-color: var(--cash); }
  .tl .step.now .dot { border-color: var(--warn); background: rgba(245,165,36,.3); }
  .tl .line { width: 2px; flex: 1; background: var(--border); min-height: 12px; }
  .tl .step:last-child .line { display: none; }
  .tl .stx { padding-bottom: 12px; min-width: 0; }
  .tl .t1 { font-size: 13px; font-weight: 600; }
  .tl .t2 { font-size: 11px; color: var(--muted); }
  .tl .step.now .t1 { color: var(--warn); }
  .tl .step:not(.done):not(.now) { opacity: .5; }


  .item .t3 { font-size: 11px; color: var(--muted); margin-top: 2px; font-variant-numeric: tabular-nums; }
  .tx-status { font-size: 11px; font-weight: 700; border-radius: 5px; padding: 2px 6px; flex: none; }
  .tx-status.pend { color: var(--warn); background: rgba(245,165,36,.12); }
  .item .end.bonus { color: var(--coin); }


  .bonus-head { display: flex; align-items: center; gap: 10px; }
  .bonus-head .amt { font-size: 21px; font-weight: 800; color: var(--coin); font-variant-numeric: tabular-nums; }
  .lvl { display: flex; align-items: center; gap: 10px; }
  .lvl .lv-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
                 font-size: 15px; background: var(--elevated); flex: none; }
  .lvl.done .lv-ico { background: rgba(46,224,111,.12); }
  .lvl.locked { opacity: .5; }


  .lbset { display: none; }
  .lbset.active { display: block; animation: fade .18s ease; }
  .podium { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; align-items: end; }
  .pod { background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
         padding: 12px 6px 10px; text-align: center; min-width: 0; }
  .pod .pava { width: 40px; height: 40px; border-radius: 50%; background: var(--elevated);
               display: grid; place-items: center; font-weight: 800; font-size: 13px; margin: 0 auto 5px; }
  .pod .pmedal { font-size: 14px; line-height: 1; }
  .pod .pname { font-size: 12px; font-weight: 700; margin-top: 3px;
                overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pod .pval { font-size: 15px; font-weight: 800; color: var(--cash); font-variant-numeric: tabular-nums; }
  .pod .psub { font-size: 11px; color: var(--muted); margin-top: 1px; }
  .pod.first { padding-top: 16px; border-color: rgba(245,197,66,.55); }
  .pod.first .pava { width: 48px; height: 48px; border: 2px solid var(--gold); }
  .pod.first .pval { color: var(--gold); font-size: 17px; }
  .item .rank { width: 26px; text-align: center; font-weight: 800; font-size: 12.5px;
                color: var(--muted); flex: none; font-variant-numeric: tabular-nums; }
  .item.you { border-color: var(--brand); background: rgba(224,20,20,.06); }
  .lb-gap { text-align: center; color: var(--muted); font-size: 13px; letter-spacing: 3px; padding: 2px 0; }


  .ndot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; }
  .item.read { opacity: .6; }
  .bell.clear::after { display: none; }
  .nhead { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }


  .chatbox { display: flex; flex-direction: column; gap: 8px; min-height: 180px; }
  .msg { max-width: 82%; padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.45; }
  .msg.op { background: var(--elevated); border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 4px; }
  .msg.me { background: var(--brand); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
  .chat-input { display: flex; gap: 8px; margin-top: 10px; }
  .chat-input input { flex: 1; background: var(--elevated); border: 1px solid var(--border); border-radius: 999px;
                      color: var(--text); font-weight: 400; font-size: 13.5px; line-height: 1; font-family: inherit; padding: 11px 15px; }
  .chat-input input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
  .online-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cash); display: inline-block; margin-right: 5px; }


  .profile-top { display: block; }
  .phead { display: flex; align-items: center; gap: 12px; }
  .avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--elevated);
            border: 2px solid var(--brand); display: grid; place-items: center; font-weight: 800; font-size: 17px; }
  .tag { font-size: 11.5px; color: var(--muted); background: var(--elevated); border-radius: 6px;
         padding: 2px 7px; display: inline-block; margin-top: 3px; }
  .kyc { font-size: 11px; font-weight: 700; color: var(--warn); border: 1px solid var(--warn);
         border-radius: 6px; padding: 2px 7px; display: inline-block; margin-top: 3px; margin-left: 4px; }
  .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .stat { background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
          padding: 10px 6px; text-align: center; }
  .stat .v { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
  .stat .k { font-size: 11px; color: var(--muted); margin-top: 2px; }


  .game-hero {
    position: relative; overflow: hidden; cursor: pointer;
    border-radius: var(--radius); border: 1px solid var(--border);
    min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end;
    padding: 14px;
  }
  .game-hero .art { position: absolute; inset: 0; background: var(--keyart) center / cover no-repeat; }
  .game-hero .scrim { position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(14,17,22,.42), transparent 32%, transparent 55%, rgba(14,17,22,.9)); }
  .game-hero .badge-live {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    display: flex; align-items: center; gap: 6px;
    background: var(--brand); color: var(--brand-ink);
    font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
    border-radius: 999px; padding: 5px 10px;
  }
  .game-hero .bslogo { position: relative; z-index: 2; margin-bottom: auto; }
  .game-hero .bslogo svg { width: clamp(130px, 38vw, 165px); height: auto; display: block;
    filter: drop-shadow(0 3px 3px rgba(0,0,0,.5)); }
  .game-hero .bottom { position: relative; z-index: 2; display: flex; align-items: flex-end; gap: 10px; }
  .game-hero .binfo { flex: 1; }
  .game-hero .bsub { font-size: 12px; color: #d9dee8; text-shadow: 0 1px 5px rgba(0,0,0,.8); }
  .game-hero .bstakes { display: flex; gap: 4px; margin-top: 6px; }
  .game-hero .bstakes span {
    font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums;
    background: rgba(14,17,22,.55); border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px; padding: 2px 6px; backdrop-filter: blur(4px);
  }
  .game-hero + .game-hero { margin-top: 10px; }

  .game-hero.bright .scrim { background: linear-gradient(180deg, rgba(14,17,22,.5), rgba(14,17,22,.1) 28%, rgba(14,17,22,.5) 60%, rgba(14,17,22,.95)); }

  .game-hero .glogo { position: relative; z-index: 2; margin-bottom: auto; }
  .game-hero .glogo img { width: clamp(150px, 44vw, 195px); height: auto; display: block;
    filter: drop-shadow(0 3px 3px rgba(0,0,0,.5)); }
  .game-soon {
    margin-top: 8px; display: flex; align-items: center; gap: 10px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 12px 14px; opacity: .65;
  }
  .game-soon .gi { font-size: 20px; filter: grayscale(.4); }
  .game-soon .txt { flex: 1; }
  .game-soon .t1 { font-weight: 700; font-size: 14px; }
  .game-soon .t2 { font-size: 11.5px; color: var(--muted); }
  .game-soon .badge-soon {
    font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 4px 9px;
  }


  .gico { width: 34px; height: 34px; border-radius: 10px; background: var(--elevated);
    display: grid; place-items: center; font-size: 15px; flex: none; overflow: hidden; position: relative; }
  .gico img { display: none; width: 100%; height: 100%; object-fit: cover; }
  .gico.has-art img { display: block; }
  .gico.has-art .sc-fb { display: none; }
  .gico.sm { width: 28px; height: 28px; border-radius: 8px; font-size: 13px; }
  .gico.xs { width: 18px; height: 18px; border-radius: 5px; font-size: 11px; }
  .acct { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); margin-top: 4px; }
  .chip.game { display: inline-flex; align-items: center; gap: 6px; padding-left: 8px; }


  .now { display: flex; flex-direction: column; gap: 8px; }
  .now[hidden] { display: none; }
  .now-row {
    display: flex; align-items: center; gap: 9px; cursor: pointer;
    background: var(--surface); border: 1px solid rgba(224,20,20,.45);
    border-radius: 12px; padding: 10px 12px 10px 13px;
    position: relative; overflow: hidden;
  }
  .now-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brand); }
  .now-row .txt { flex: 1; min-width: 0; }
  .now-row .t1 { font-weight: 700; font-size: 13.5px; }
  .now-row .t2 { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
  .now-row .btn { flex: none; }


  .active-banner {
    position: fixed; left: 50%; transform: translateX(-50%);
    bottom: calc(var(--nav-h) + 10px); z-index: 20;
    width: min(428px, calc(100% - 32px));
    display: flex; align-items: center; gap: 10px;
    background: #1c1216; border: 1px solid rgba(224,20,20,.55);
    border-radius: 12px; padding: 7px 12px; min-height: 50px; cursor: pointer;
    box-shadow: 0 8px 30px rgba(0,0,0,.5);
  }
  .active-banner .txt { flex: 1; min-width: 0; }
  .active-banner .t1, .active-banner .t2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .active-banner .t1 { font-size: 13px; font-weight: 700; }
  .active-banner .t2 { font-size: 12px; color: var(--muted); }
  .active-banner .open { color: var(--brand-text); font-weight: 800; font-size: 13px; white-space: nowrap; }


  nav {
    position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; z-index: 20;
    width: min(460px, 100%); height: calc(var(--nav-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(14,17,22,.92); backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    display: grid; grid-template-columns: repeat(5, 1fr);
  }
  nav button {
    background: none; border: 0; cursor: pointer; color: var(--muted);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    font-weight: 600; font-size: 10.5px; line-height: 1; font-family: inherit;
  }
  nav button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8;
                   stroke-linecap: round; stroke-linejoin: round; }
  nav button.active { color: var(--text); }
  nav button.active svg { stroke: var(--brand); }
  nav button.play { position: relative; }
  nav button.play .pbtn {
    width: 44px; height: 44px; border-radius: 50%; margin-top: -22px;
    background: var(--brand); color: var(--brand-ink);
    display: grid; place-items: center;
    box-shadow: 0 4px 16px rgba(224,20,20,.45);
  }
  nav button.play .pbtn svg { stroke: #fff; width: 20px; height: 20px; }

  footer { text-align: center; color: var(--muted); font-size: 11px; padding: 26px 16px 10px; }

  .i { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; vertical-align: -0.2em; }
  .item .ico .i, .lvl .lv-ico .i, .quick .qi .i, .alert .ai .i, .welcome-gate .gi .i { width: 20px; height: 20px; vertical-align: 0; }
  .alert .ai .i { width: 18px; height: 18px; }
  .pod .pmedal .i { width: 20px; height: 20px; vertical-align: 0; }
  .k-money { color: var(--cash); } .k-coin { color: var(--coin); } .k-match { color: var(--brand-text); }
  .k-prize { color: var(--gold); } .k-warn { color: var(--warn); } .k-neutral { color: var(--muted); }
  .k-silver { color: #c3cad6; } .k-bronze { color: #d48a52; }
  .item .ico.k-money { background: rgba(46,224,111,.1); }
  .item .ico.k-coin { background: rgba(167,139,250,.12); }
  .item .ico.k-match { background: rgba(224,20,20,.12); }
  .item .ico.k-prize { background: rgba(245,197,66,.12); }
  .btn:focus-visible, .chip:focus-visible, .stake:focus-visible, .mode:focus-visible,
  nav button:focus-visible, .balance:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } }

  .cr-list { display: flex; flex-direction: column; gap: 8px; }
  .crt { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
  .crt.live { border-color: rgba(46,224,111,.35); } .crt.prep { border-color: rgba(245,197,66,.35); }
  .crt.locked { opacity: .5; }
  .crt .top { display: flex; align-items: center; gap: 10px; }
  .crt .tk { font: 700 18px/1 var(--display); min-width: 50px; }
  .crt .tk small { display: block; font: 600 11px/1.2 var(--body); color: var(--warn); margin-top: 4px; }
  .crt .info { flex: 1; min-width: 0; }
  .crt .st { font-weight: 700; font-size: 13px; }
  .crt .st.live { color: var(--cash); } .crt .st.prep { color: var(--gold); } .crt .st.next { color: var(--muted); }
  .crt .sub2 { color: var(--muted); font-size: 12px; }
  .crt .win { font-size: 12px; color: var(--muted); margin-top: 8px; } .crt .win b { color: var(--cash); }


  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 999px;
         min-height: 44px; transition: transform .15s ease, background .2s, box-shadow .2s; }
  .btn.primary { border-color: transparent; background: linear-gradient(135deg, #ff4141, var(--brand));
                 box-shadow: 0 8px 24px -8px rgba(224,20,20,.65); }
  .btn.good { border-color: transparent; background: linear-gradient(135deg, #4cf08a, var(--cash));
              box-shadow: 0 8px 24px -10px rgba(46,224,111,.5); }
  .btn.ghost { background: transparent; color: var(--muted); }
  .btn[disabled] { box-shadow: none; }
  .btn:active:not([disabled]) { transform: scale(.96); }
  .btn.small { min-height: 34px; padding: 0 13px; }
  .chip { border-color: transparent; }
  .chip.active { background: var(--text); color: var(--bg); border-color: var(--text); }
  .inst-btn { border-radius: 999px; min-height: 50px; }
  .inst-seg button { border-radius: 999px; }
  .inst-seg button.on { background: var(--text); color: var(--bg); border-color: var(--text); }

  .play-hero { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border);
        height: 118px; margin: 10px 0 10px; display: flex; align-items: flex-end; padding: 12px; background: var(--surface); }
  .play-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .play-hero::after { content: ""; position: absolute; inset: 0;
        background: linear-gradient(90deg, rgba(14,17,22,.72), transparent 45%), linear-gradient(180deg, transparent 45%, rgba(14,17,22,.78)); }
  .play-hero .ph-logo { position: relative; z-index: 2; display: block; width: 118px; height: auto;
        filter: drop-shadow(0 3px 4px rgba(0,0,0,.7)); }
  .play-hero .ph-logo svg { width: 100%; height: auto; display: block; }
  .play-hero .ph-name { position: relative; z-index: 2; margin-left: auto; font-size: 11px; font-weight: 700; color: #d9dee8;
        text-shadow: 0 1px 5px rgba(0,0,0,.8); }
  .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


  .welcome-card { margin-bottom: 14px; border-color: rgba(167,139,250,.5);
        background: linear-gradient(135deg, rgba(167,139,250,.24), rgba(167,139,250,.06) 55%, rgba(167,139,250,.15)); }
  .wc-top { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
  .wc-ico { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center;
        color: var(--gold); background: rgba(245,197,66,.15); border: 1px solid rgba(245,197,66,.35); }
  .wc-ico .i { width: 22px; height: 22px; vertical-align: 0; }
  .wc-txt { flex: 1; min-width: 0; }
  .wc-t1 { font-weight: 800; font-size: 14.5px; line-height: 1.25; }
  .wc-t2 { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
  .wc-amt { font: 800 23px/1 var(--display); letter-spacing: -.02em; color: var(--coin); white-space: nowrap; }
  .welcome-card .btn { width: 100%; }


  .me { width: 34px; height: 34px; border-radius: 50%; flex: none; cursor: pointer; padding: 0; position: relative;
        background: var(--elevated); border: 2px solid var(--border); color: var(--text);
        font: 800 12.5px/1 var(--body); letter-spacing: .02em; display: grid; place-items: center; }
  .me::before { content: ""; position: absolute; inset: -5px; }
  .me.active { border-color: var(--brand); }
  .me:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

  .balance-wrap { display: flex; align-items: center; flex: none; background: var(--surface); border: 1px solid var(--border);
        border-radius: 999px; padding: 3px; }
  .balance-wrap .balance { background: none; border: 0; padding: 4px 9px 4px 10px; gap: 8px; }
  .balance-wrap .topup { width: 28px; height: 28px; font-size: 18px; }
  header .logo img { height: 34px; }
  header { gap: 8px; }

  @media (max-width: 380px) { header { padding-left: 12px; padding-right: 12px; gap: 6px; } header .logo img { height: 30px; }
    .balance-wrap .balance { gap: 6px; padding: 4px 7px 4px 8px; } .balance .cash { font-size: 13px; } .balance .coin { font-size: 12px; } }
  @media (max-width: 340px) { header { gap: 4px; padding-left: 8px; padding-right: 8px; } header .logo img { height: 24px; }
    .balance-wrap .balance { gap: 5px; padding: 4px 6px; } .balance .cash { font-size: 12px; } .balance .coin { font-size: 11px; }
    .balance-wrap .topup { width: 26px; height: 26px; } .bell, .me { width: 32px; height: 32px; } }


  nav button[data-nav="piazza"] { position: relative; }
  nav button .nbadge { position: absolute; top: 6px; left: calc(50% + 4px); min-width: 18px; height: 18px; padding: 0 5px;
        border-radius: 999px; background: var(--brand); color: #fff; font: 800 10.5px/1 var(--body);
        display: grid; place-items: center; border: 2px solid var(--bg); }
  nav button .nbadge[hidden] { display: none; }
  .pz-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
  .pz-online { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
  .pz-rule { display: flex; gap: 9px; align-items: flex-start; font-size: 12px; line-height: 1.4; color: var(--muted);
        border: 1px dashed var(--border); border-radius: 12px; padding: 9px 11px; margin: 10px 0 10px; }
  .pz-rule .i { width: 16px; height: 16px; margin-top: 1px; }
  .pz-list { display: flex; flex-direction: column; gap: 2px; }
  .pm { display: flex; gap: 10px; padding: 8px 6px 8px 8px; border-radius: 12px; }
  .pm.mine { background: rgba(224,20,20,.07); }
  .pm-av { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center;
        font: 800 11.5px/1 var(--body); color: #fff; background: hsl(var(--h) 42% 34%); }
  .pm-body { flex: 1; min-width: 0; }
  .pm-top { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 1.3; }
  .pm-top b { font-weight: 700; }
  .pm-lang { font: 700 9.5px/1 var(--body); letter-spacing: .08em; color: var(--muted); border: 1px solid var(--border);
        border-radius: 5px; padding: 3px 4px 2px; }
  .pm-time { font-size: 11.5px; color: var(--muted); }
  .pm-text { font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; margin-top: 2px; }
  .pm-tr { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; padding: 2px 0; background: none; border: 0;
        color: var(--muted); font: 500 11.5px/1.3 var(--body); cursor: pointer; text-align: left; }
  .pm-tr .i { width: 14px; height: 14px; vertical-align: 0; }
  .pm-tr u { text-decoration: none; color: var(--info); font-weight: 600; }
  .pm-more { flex: none; align-self: flex-start; width: 32px; height: 32px; border-radius: 50%; border: 0; background: none;
        color: var(--muted); cursor: pointer; display: grid; place-items: center; margin: -4px -2px 0 0; }
  .pm-more .i { width: 20px; height: 20px; vertical-align: 0; }
  .pz-compose { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
        z-index: 19; width: min(460px, 100%); padding: 8px 16px 9px; background: rgba(14,17,22,.96);
        backdrop-filter: blur(12px); border-top: 1px solid var(--border); }
  .pz-compose [hidden] { display: none !important; }
  .pz-row { display: flex; gap: 8px; align-items: center; }
  .pz-row input { flex: 1; min-width: 0; background: var(--elevated); border: 1px solid var(--border); border-radius: 999px;
        color: var(--text); font: 400 15px/1.2 var(--body); padding: 12px 16px; outline: none; }
  .pz-row input:focus { border-color: var(--muted); }
  .pz-send { width: 44px; height: 44px; border-radius: 50%; flex: none; border: 0; cursor: pointer; display: grid; place-items: center;
        color: #fff; background: linear-gradient(135deg, #ff4141, var(--brand)); font: 700 13px/1 var(--body); }
  .pz-send .i { width: 20px; height: 20px; vertical-align: 0; }
  .pz-send[disabled] { background: var(--elevated); color: var(--muted); cursor: default; }
  .pz-err { font-size: 12px; color: var(--warn); margin: 6px 6px 0; }
  .pz-locked { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.35; color: var(--muted); padding: 2px 0; }
  .pz-locked span { flex: 1; }
  .pz-new { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-h) + 74px); z-index: 21;
        border: 0; border-radius: 999px; padding: 8px 14px; cursor: pointer; color: #fff; background: var(--brand);
        font: 700 12.5px/1 var(--body); box-shadow: 0 6px 20px rgba(0,0,0,.45); }
  .pz-new[hidden] { display: none; }
  .phone.pz-on { padding-bottom: calc(var(--nav-h) + 150px); }
  .phone.pz-on .active-banner { bottom: calc(var(--nav-h) + 74px); }
  .phone.pz-on .pz-new { bottom: calc(var(--nav-h) + 136px); }
  .phone.pz-on footer { display: none; }
  .pz-ov { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.55); display: none;
        align-items: flex-end; justify-content: center; }
  .pz-ov.open { display: flex; }
  .pz-sh { width: min(460px, 100%); background: var(--surface); border: 1px solid var(--border); border-bottom: 0;
        border-radius: 20px 20px 0 0; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); }
  .pz-sh .q { font-size: 13px; color: var(--muted); margin: 0 0 14px; overflow-wrap: anywhere; }
  .pz-sh .q b { color: var(--text); }
  .pz-sh .btn { width: 100%; }
  .pz-toast { position: fixed; left: 50%; top: 72px; transform: translateX(-50%); z-index: 50; background: var(--elevated);
        border: 1px solid var(--border); border-radius: 999px; padding: 9px 16px; font: 600 13px/1.2 var(--body);
        opacity: 0; transition: opacity .2s; pointer-events: none; white-space: nowrap; }
  .pz-toast.show { opacity: 1; }

[data-s="s42a6ced8b6"] { margin-bottom:14px }
[data-s="s997e83fd9e"] { margin-bottom:12px; border-color:rgba(245,197,66,.5); background:linear-gradient(135deg, rgba(245,197,66,.22), rgba(245,197,66,.06) 55%, rgba(245,197,66,.14)); box-shadow:0 0 0 3px rgba(245,197,66,.06) }
[data-s="s0963dcac2e"] { display:flex; align-items:center; gap:10px }
[data-s="see3cbe5ec8"] { width:32px; height:32px; border-radius:9px; display:grid; place-items:center; font-size:17px; background:rgba(245,197,66,.18); border:1px solid rgba(245,197,66,.4); flex:none; color:var(--gold) }
[data-s="se408978229"] { font-size:19px; font-weight:800; color:var(--gold); font-variant-numeric:tabular-nums }
[data-s="sfecbb38097"] { font-size:13px; font-weight:800 }
[data-s="s58234de558"] { margin-left:auto; width:7px; height:7px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 3px rgba(245,197,66,.22) }
[data-s="sc6c16264ff"] { display:flex; align-items:center; gap:10px; margin-top:9px; padding-top:9px; border-top:1px solid rgba(245,197,66,.22) }
[data-s="s9028a613a6"] { margin:0; flex:1; color:#d9dee8 }
[data-s="sb6840b9f08"] { --keyart:url(/static/icons/keyart-brawl-stars.jpg) }
[data-s="s6050b32582"] { background:#fff }
[data-s="sb56770ba8d"] { --keyart:url(/static/icons/keyart-clash-royale.jpg) }
[data-s="sc53ea1da23"] { margin-top:14px }
[data-s="s9706c4057c"] { padding:16px 14px }
[data-s="sf613f806e4"] { font-size:18px }
[data-s="sa3970b9f8a"] { font-size:15px }
[data-s="s0c42c185c2"] { object-position:50% 30% }
[data-s="s026cb67253"] { display:none; border-color:rgba(46,224,111,.45) }
[data-s="s443716e310"] { color:var(--cash) }
[data-s="sf9293ed1d2"] { color:var(--coin) }
[data-s="s43a97fe494"] { margin-top:8px }
[data-s="s0ee7f66ad9"] { margin-top:12px }
[data-s="se6c0310ef4"] { width:100%; padding:14px; font-size:15px }
[data-s="s4c3a4eb366"] { object-position:78% 32% }
[data-s="sa3ea8399e7"] { border-color:rgba(245,197,66,.5); background:linear-gradient(135deg, rgba(245,197,66,.22), rgba(245,197,66,.06) 55%, rgba(245,197,66,.14)); box-shadow:0 0 0 3px rgba(245,197,66,.06) }
[data-s="s249da5ff86"] { margin:9px 0 0; padding-top:9px; border-top:1px solid rgba(245,197,66,.22); color:#d9dee8 }
[data-s="s6c41898cb4"] { color:var(--text) }
[data-s="s301647f506"] { margin-top:6px }
[data-s="sf456164974"] { margin-top:2px }
[data-s="sa8dd1de854"] { cursor:default }
[data-s="s98bc2e8d8c"] { color:var(--warn) }
[data-s="sb12438de7a"] { color:var(--gold) }
[data-s="sab79ea2b85"] { margin:0 }
[data-s="s8cb0f58f5b"] {  padding:11px 16px }
[data-s="s23ccdc6d98"] { margin-top:8px; font-size:11.5px }
[data-s="seac7694072"] { color:var(--muted) }
[data-s="s705cfe64b2"] { width:100%; padding:12px; margin-top:12px }
[data-s="sdf928149c5"] { margin-top:10px }
[data-s="s9463ff4798"] { cursor:pointer }
[data-s="s3239cca91e"] { accent-color:var(--cash); width:24px; height:24px; margin:10px 0 }
[data-s="s5592d68d3a"] { margin-bottom:-4px }
[data-s="se577d6ba23"] { font-weight:700; font-family:ui-monospace,Menlo,monospace; letter-spacing:.5px }
[data-s="s6958875f1b"] { width:100%; padding:12px }
[data-s="s6eaeaa3ca2"] { margin:0; font-size:11.5px }
[data-s="s9097aeb012"] { margin-top:6px; font-size:11.5px }
[data-s="sc6fa01b3f1"] { font-weight:700 }
[data-s="sbadcd27c29"] { width:40% }
[data-s="sde1a49ed3c"] { margin:8px 0 0; font-size:11.5px }
[data-s="s83725d2c6e"] { flex:1 }
[data-s="s2d4c2846f8"] { font-size:13.5px; font-weight:700 }
[data-s="sf4a22a04e3"] { font-size:11.5px; color:var(--muted) }
[data-s="sdc9d6d9a86"] { width:30% }
[data-s="s2f74ae6c85"] { width:37% }
[data-s="s535a0316ab"] { background:rgba(167,139,250,.07); border-color:rgba(167,139,250,.35) }
[data-s="s6bbb0d37ed"] { width:100%; padding:13px; margin-top:8px }
[data-s="s579816d0cc"] { font-size:12px; color:var(--muted); line-height:1.5; margin-top:8px }
[data-s="sfce1d44fea"] { color:var(--cash); font-weight:700 }
[data-s="se3c7800240"] { width:100%; padding:13px }
[data-s="s72c2b6f6d8"] { padding-bottom:8px }
[data-s="seb2cdaa55e"] { margin-top:4px }
[data-s="sf1851ed415"] { margin:10px 0 0; font-size:11.5px }
[data-s="s268f1dfe4e"] { background:rgba(167,139,250,.12) }
[data-s="sfef5004fad"] { font-weight:800; font-size:15px }
[data-s="s66ea336cc0"] { margin-top:12px; width:100%; padding:12px }
[data-s="se7a325eb10"] { font-size:13px; color:var(--muted) }
[data-s="s25938f933d"] { margin:10px 0 0 }
[data-s="s8e26c5f7a1"] { margin-bottom:8px }
[data-s="se39c8db556"] { font-weight:800; font-size:16px }
[data-s="sa07b96df97"] { margin-left:0 }

[data-s="sb6840b9f08"] { --keyart:url(/static/icons/keyart-brawl-stars.jpg) }

[data-s="s6050b32582"] { background:#fff }

[data-s="sb56770ba8d"] { --keyart:url(/static/icons/keyart-clash-royale.jpg) }

[data-s="sab79ea2b85"] { margin:0 }

[data-s="s353db6e6d2"] { padding-top:0; margin-top:-4px; font-size:11.5px }

[data-s="sab52b7f0c9"] { font-weight:600; color:var(--muted) }

[data-s="s9463ff4798"] { cursor:pointer }

[data-s="sdc9d6d9a86"] { width:30% }

[data-s="s2f74ae6c85"] { width:37% }

[data-s="sde1a49ed3c"] { margin:8px 0 0; font-size:11.5px }

[data-s="s83725d2c6e"] { flex:1 }

[data-s="se39c8db556"] { font-weight:800; font-size:16px }

[data-s="sa07b96df97"] { margin-left:0 }

[data-s="s443716e310"] { color:var(--cash) }


[hidden] { display: none !important; }
[data-live="false"] { visibility: hidden; }
.bell[data-unread="false"]::after { display: none; }
button:disabled, [aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.bstakes [data-locked="true"] { opacity: .4; }
[data-home-greeting] { margin-bottom: 14px; }

[data-view="matches"] .chips + .list { margin-top: 8px; }
#txChips { margin-top: 12px; }
#txList { margin-top: 8px; }
#bonus { scroll-margin-top: 78px; }
.item .end.bonus { color: var(--coin); }
.item .end { white-space: nowrap; }
.item .t3 { display: block; color: var(--muted); font-size: 10.5px; margin-top: 2px; }
.game-hero [disabled] { opacity: 1; }
.phone:has(.active-banner) { padding-bottom: calc(var(--nav-h) + 106px); }
.phone:not(:has(.active-banner)) { padding-bottom: calc(var(--nav-h) + 16px); }
.phone > nav { z-index: 30; }
.nhead form { margin: 0; }
.banner-stato { display: block; margin: 0 16px 12px; padding: 10px 14px; border: 1px solid var(--warn); border-radius: var(--radius); background: rgba(245,165,36,.12); }
.pagina-di-servizio { min-height: 75vh; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; text-align: center; padding: 32px 20px; }
.pagina-di-servizio p { max-width: 34ch; color: var(--muted); }
.vuoto { margin: 0; padding: 18px 14px; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--muted); text-align: center; }
.tos { overflow-x: auto; font-size: .9rem; }
.tos h1, .tos h2, .tos h3 { font-size: 1rem; }
fieldset { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; }
legend { padding: 0 6px; color: var(--muted); }
input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]), select, textarea { max-width: 100%; min-height: 42px; padding: 10px 12px; color: var(--text); background: var(--elevated); border: 1px solid var(--border); border-radius: 10px; font: inherit; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--brand); width: 18px; height: 18px; vertical-align: middle; }
label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; }
a.btn { text-align: center; text-decoration: none; }
.withdrawal-history > a.item { color: var(--text); text-decoration: none; }
.public-auth .step { display: flex; flex-direction: column; }
.public-auth .field, .view[data-view="settings"] .field { margin-bottom: 12px; }
.public-auth .field label, .view[data-view="settings"] .field label { display: block; padding: 0; margin-bottom: 5px; color: var(--muted); font-size: 12px; }
.public-auth .field input, .view[data-view="settings"] input:not([type="hidden"]), .view[data-view="settings"] select { width: 100%; }
.public-auth .btn { width: 100%; margin-top: 9px; }
.public-auth .skip { text-align: center; font-size: 13px; margin-top: 12px; color: var(--muted); }
.public-auth .skip a { color: var(--info); }
.public-auth .divider { text-align: center; color: var(--muted); margin-top: 14px; }
.public-auth .vs.ko { color: var(--brand); }
.public-auth .vs.ok { color: var(--cash); }
.public-auth .da-telefono { margin-top: 20px; }
.settings-options { margin-top: 16px; }
.settings-options .item { width: 100%; text-align: left; font: inherit; color: var(--text); }
.settings-options .item:disabled { opacity: .45; cursor: default; }
.seeall + .seeall { margin-top: 8px; }
[data-href]:focus-visible, [data-submit]:focus-visible, input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

#pushRisk { margin: 10px 0 0; font-size: 11.5px; }

@media (max-width: 380px) {
  header { gap: 6px; padding-inline: 12px; }
  .logo img { height: 32px; }
  .balance { gap: 6px; padding: 6px 8px; }
  .balance .cash { font-size: 12px; }
  .balance .coin { font-size: 11px; }
  .topup, .bell { width: 30px; height: 30px; }
  .game-hero .bottom { flex-wrap: wrap; }
}


.stat-rows .srow { gap:12px; }
.stat-rows .srow > :first-child { min-width:0; overflow-wrap:anywhere; flex:1; }
.stat-rows .srow > :last-child { flex-shrink:1; max-width:65%; text-align:right; }


.tl .step { flex-direction:row; }

.phone .backlink { text-decoration:none; }
#walletChips:has(> .chip.active[data-wsub="deposit"]) > :last-child,
#walletChips:has(> .chip.active[data-wsub="withdraw"]) > :last-child { margin-right:0; }

.phone[data-public-page] { min-height: calc(100svh - 120px); padding-bottom: 16px; }
.phone[data-public-page] > header { justify-content: center; }
.phone[data-public-page] > main { min-height: 65vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.phone[data-public-page] .card.empty { width: 100%; }
.phone[data-public-page] .t1 { margin: 0; }
.phone[data-public-page] .t2 { margin: 0; }
[data-view="settings"] .srow > label { padding: 0; }
[data-view="settings"] .srow input[type="checkbox"] { width: 18px; flex-shrink: 0; }
[data-add="settings-language"] { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
[data-view="settings"] [data-add="settings-language"] select { width: auto; min-width: 0; }
[data-add="settings-language"] .btn { flex-shrink: 0; }
[data-add="settings-soon"] { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
[data-view="settings"] button.item { width: 100%; text-align: left; font: inherit; color: var(--text); }
[data-view="settings"] a.item { color: var(--text); text-decoration: none; }
.name-st { min-height: 16px; font-size: 12px; font-weight: 700; }
.name-st.ok { color: var(--cash); } .name-st.no { color: var(--brand-text); }
.inst-overlay:target { display: flex; }
#nameSave, #nameClose, #nameYes, #nameBack { width: 100%; display: block; text-align: center; }
#nameRule, #nameLocked { margin: 10px 0 14px; }
#nameClose, #nameBack { margin-top: 8px; }
#nameYes { margin-top: 10px; }
.name-until { font-variant-numeric: tabular-nums; }
.card + .btn { margin-top: 12px; }
