@font-face {
  font-family:KboNtreev;
  src:url('assets/Ntreev.ttf') format('truetype');
  font-display:swap;
}

/* Card-mode palette and compatibility with the card runtime's page reset. */
body.lobby-mode {padding:0}
#page.card-season-lobby {
  padding:0;
  overflow:visible;
  overscroll-behavior:auto;
  background:var(--ui-page);
}
.card-season-lobby {
  --ui-page:#10251e;
  --ui-surface:#172e25;
  --ui-raised:#29473b;
  --ui-hover:#3a5b49;
  --ui-line:#56725f;
  --ui-line-strong:#839e86;
  --ui-text:#f3f1e4;
  --ui-muted:#bdcbbb;
  --ui-accent:#e8c579;
  --ui-accent-text:#f3d48d;
  --ui-accent-page:#f3d48d;
  --ui-accent-soft:color-mix(in srgb,var(--ui-accent) 13%,var(--ui-surface));
  font-family:KboNtreev,system-ui,sans-serif;
}
.light .card-season-lobby {
  --ui-page:#ece9dd;
  --ui-surface:#f5f1e3;
  --ui-raised:#e2eadf;
  --ui-hover:#d2e0d4;
  --ui-line:#9daaa0;
  --ui-line-strong:#76917d;
  --ui-text:#193125;
  --ui-muted:#4d6557;
  --ui-accent:#9b6a2c;
  --ui-accent-text:#664417;
}
body.light.lobby-mode .card-season-lobby {--lobby-panel:#f5f1e3ed;--lobby-raised:#e2eadfef}
.card-season-lobby .lobby-menu-panel-head .card-lobby-pt {
  min-width:0;
  container-type:inline-size;
  padding:4px 7px;
  text-align:right;
  color:var(--ui-accent-text);
  background:var(--ui-accent-soft);
  border:1px solid var(--ui-line);
  border-radius:var(--ui-radius-small);
  font-family:var(--ui-display);
  
}
.card-lobby-pt-readout {
  display:inline-grid;
  font-size:min(1rem, 13.3cqi);
  line-height:1.3;
  font-variant-numeric:tabular-nums;
}
.card-lobby-pt-readout > span {grid-area:1 / 1;justify-self:end}
.card-lobby-pt-readout > [aria-hidden] {visibility:hidden}
.card-season-lobby .lobby-rank-button {--lobby-rank-cover:none}
.card-season-lobby .lobby-playtime {
  --reward-background:#132b23;
  --reward-edge:#7d966981;
  --reward-ink:#f8f3e1;
  --reward-muted:#d0ddca;
  --reward-track:#495f51;
  --reward-tooltip:#264636;
}
.light .card-season-lobby .lobby-playtime {
  --reward-background:#f5eee1;
  --reward-edge:#b19c71;
  --reward-ink:#322a1b;
  --reward-muted:#564a35;
  --reward-track:#b8a488;
  --reward-tooltip:#fff8ec;
}
.card-season-lobby .lobby-playtime .lobby-playtime-button:enabled:hover {background:none;border:0}

.card-lobby-dialog-list {list-style:none;padding:0;margin:10px 0 0}
.card-lobby-dialog-list li {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:10px;
  padding:7px 4px;
  border-bottom:1px solid var(--stroke);
}
.card-lobby-dialog-list strong {flex:none}

/* Keep the balance readable independently of the auxiliary menu width. */
.card-season-lobby .lobby-menu-panel-head{justify-content:flex-end}
.card-season-lobby .lobby-utility-actions{max-width:100%;flex-wrap:wrap;justify-content:flex-end}
.card-season-lobby .lobby-pt-line{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:34px;margin:7px 0 0;padding:6px 10px;border:1px solid var(--stroke,#6b7e85);border-radius:4px;background:linear-gradient(110deg,#152b35,#243b43);color:#e2edf0;font:13px/1.3 Ntreev,system-ui;white-space:nowrap}
.card-season-lobby .lobby-pt-line strong{font-size:19px;color:#f1d186}
.light .card-season-lobby .lobby-pt-line{background:linear-gradient(110deg,#e9ece2,#d8dfd6);color:#273d43}
.light .card-season-lobby .lobby-pt-line strong{color:#715018}
@media(max-width:690px){.card-season-lobby .lobby-utility-actions{gap:3px}.card-season-lobby .lobby-utility-actions button{padding-inline:5px;font-size:11px}.card-season-lobby .lobby-pt-line{font-size:12px;min-height:33px}.card-season-lobby .lobby-pt-line strong{font-size:18px}}


/* nav inherited a global bottom margin as well as the balance's own gap. */
.card-season-lobby .lobby-menu-panel .lobby-menu{margin-block:0}
.card-season-lobby .lobby-pt-line{margin-top:8px}
