/* Belka Poker Club — green felt, gold chips, an orange squirrel. */
:root {
  --felt: #0a271d;
  --felt-2: #0f3428;
  --felt-3: #154433;
  --line: #245a48;
  --text: #f3f0e6;
  --muted: #a6c1b4;
  --gold: #f2bd4b;
  --gold-2: #d99a1e;
  --orange: #ef6a2e;
  --red: #ef5350;
  --ok: #4cc38a;
  --paper: #fbfaf5;
  --ink: #1b1b1b;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .28);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Georgian", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(ellipse at 50% -10%, #1b5a43 0%, var(--felt) 55%) fixed, var(--felt);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 .8em; }
code { background: rgba(0, 0, 0, .3); padding: .1em .35em; border-radius: 5px; font-size: .92em; word-break: break-all; }
.muted { color: var(--muted); font-weight: normal; }
.small { font-size: .88rem; }
.lead { font-size: 1.08rem; color: #dfe9e2; }
.center { text-align: center; }
.num { font-variant-numeric: tabular-nums; }

/* the no-money banner on every page */
.banner {
  background: linear-gradient(90deg, #3a2a07, #5a400c 50%, #3a2a07);
  color: #ffe8b0;
  padding: .5rem 1rem;
  text-align: center;
  font-size: .92rem;
  border-bottom: 1px solid var(--gold-2);
}
.banner a { color: #fff; text-decoration: underline; margin-left: .3em; }
.banner .suit { color: var(--gold); }

/* header */
.top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .6rem clamp(1rem, 3vw, 2rem);
  background: rgba(5, 22, 16, .7);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: .5rem; color: var(--text); font-size: 1.15rem; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand b { color: var(--orange); }
.nav { display: flex; gap: .2rem; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--muted); padding: .45rem .7rem; border-radius: 999px; white-space: nowrap; }
.nav a:hover { color: var(--text); background: var(--felt-3); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--felt); background: var(--gold); font-weight: 600; }
.me { display: flex; align-items: center; gap: .6rem; margin-left: auto; white-space: nowrap; }
.me-link { display: flex; align-items: center; gap: .4rem; color: var(--text); }
.me form { margin: 0; }
.badge { display: inline-block; min-width: 1.4em; padding: 0 .4em; border-radius: 999px; background: var(--orange); color: #fff; font-size: .78rem; text-align: center; font-weight: 700; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 1.5rem clamp(1rem, 3vw, 2rem) 3rem; flex: 1; }
.foot { display: flex; gap: .6rem; align-items: center; justify-content: center; flex-wrap: wrap; padding: 1.2rem 1rem; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); text-align: center; }

/* building blocks */
.panel { background: rgba(15, 52, 40, .85); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow); margin-bottom: 1.2rem; min-width: 0; }
.panel.narrow { max-width: 520px; margin: 2rem auto; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 1.2rem; align-items: start; }
.grid2 > .panel { margin-bottom: 0; }
.grid2 + .grid2, .grid2 + .panel, .panel + .grid2 { margin-top: 1.2rem; }
.pagehead { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.pagehead h1 { margin-bottom: .2em; }
.head-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.head-actions form { margin: 0; }
.crumbs { margin: 0 0 .3rem; font-size: .9rem; }
.meta { color: var(--muted); margin: 0 0 .2rem; }
.desc { white-space: pre-line; background: rgba(0, 0, 0, .18); border-left: 3px solid var(--gold); padding: .7rem 1rem; border-radius: 8px; }
.stack { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.stack form { margin: 0; }
.actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.scroll { overflow-x: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35em;
  padding: .55rem 1.05rem; border-radius: 999px; border: 1px solid var(--gold-2);
  background: linear-gradient(180deg, var(--gold), var(--gold-2)); color: #2a1d00;
  font: inherit; font-weight: 650; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { filter: brightness(1.07); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { background: var(--felt-3); }
.btn.small { padding: .3rem .7rem; font-size: .88rem; }
.btn.wide { width: 100%; }
.btn.danger { border-color: #7d2a2a; }
.btn.ghost.danger { color: #ff9a97; }
.btn:not(.ghost).danger { background: linear-gradient(180deg, #e65a55, #b93a36); color: #fff; }
.link { background: none; border: none; color: var(--gold); font: inherit; cursor: pointer; padding: 0; }
.link:hover { text-decoration: underline; }
.link.danger { color: #ff9a97; }
form.inline { display: inline-flex; gap: .4rem; align-items: center; flex-wrap: wrap; margin: 0; }

.pill { display: inline-block; padding: .1em .6em; border-radius: 999px; background: var(--felt-3); border: 1px solid var(--line); color: var(--muted); font-size: .78rem; font-weight: 600; vertical-align: middle; white-space: nowrap; }
.pill.ok, .pill.status-scheduled { color: #b8f0d2; border-color: #2b7a55; }
.pill.wait { color: #ffe0a3; border-color: #8a6a1d; }
.pill.live, .pill.status-live { color: #fff; background: #b8322e; border-color: #e65a55; }
.pill.off, .pill.status-cancelled { color: #ffb3b0; border-color: #7d2a2a; }
.pill.status-finished { color: var(--gold); border-color: var(--gold-2); }

.flash { background: #123f30; border: 1px solid var(--ok); border-radius: 10px; padding: .7rem 1rem; margin-bottom: 1rem; }
.flash.error { border-color: var(--red); background: #3d1717; }
.notice { border-color: var(--gold-2); background: rgba(80, 58, 10, .45); border: 1px solid var(--gold-2); border-radius: 10px; padding: .8rem 1rem; margin-bottom: 1rem; }
.notice p:last-child { margin: 0; }
.copy code { display: block; padding: .6rem .8rem; user-select: all; }

.up { color: var(--ok); }
.down { color: #ff8a86; }
.delta { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }

/* forms */
.form label { display: block; margin-bottom: .8rem; font-weight: 600; font-size: .95rem; }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; }
input, select, textarea {
  display: block; width: 100%; margin-top: .3rem; padding: .55rem .7rem; font: inherit; font-weight: normal;
  color: var(--text); background: #072018; border: 1px solid var(--line); border-radius: 9px;
}
form.inline input, form.inline select, .out-form select { display: inline-block; width: auto; margin: 0; }
input[type="checkbox"], input[type="radio"] { display: inline; width: auto; margin: 0 .4rem 0 0; accent-color: var(--gold); }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
textarea { resize: vertical; font-family: inherit; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1rem; margin: 0 0 .8rem; }
legend { padding: 0 .4rem; font-weight: 700; }
.form label.radio, .form label.check, label.check { display: flex; align-items: center; font-weight: normal; margin-bottom: .45rem; }
.hint { color: var(--muted); font-size: .88rem; }
.results-form input { max-width: 7rem; }

/* tables */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: .4rem .5rem; border-bottom: 1px solid var(--line); }
.table td { padding: .5rem; border-bottom: 1px solid rgba(36, 90, 72, .5); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table .me-row td { background: rgba(242, 189, 75, .08); }
.table .pos { font-weight: 700; color: var(--gold); width: 2.5rem; }
.realname { display: block; color: var(--muted); font-size: .82rem; margin-left: 2.4rem; }
.row-actions { display: flex; gap: .4rem; justify-content: flex-end; flex-wrap: wrap; }
.row-actions form { margin: 0; }

/* avatars */
.av { display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 50%; overflow: hidden; font-weight: 700; color: #fff; border: 2px solid rgba(255, 255, 255, .15); }
.av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av-sm { width: 2rem; height: 2rem; font-size: .78rem; }
.av-lg { width: 4.5rem; height: 4.5rem; font-size: 1.4rem; }
.av-xl { width: 7.5rem; height: 7.5rem; font-size: 2.3rem; border-width: 3px; border-color: var(--gold); }
.av-c0 { background: #b7472a; } .av-c1 { background: #2d6a9f; } .av-c2 { background: #7a4fa3; } .av-c3 { background: #2f8a62; }
.av-c4 { background: #a8326e; } .av-c5 { background: #b07d18; } .av-c6 { background: #3d5a80; } .av-c7 { background: #8a5a44; }
.who { display: inline-flex; align-items: center; gap: .45rem; color: var(--text); font-weight: 600; }
.who:hover span { text-decoration: underline; }

/* playing cards */
.cards { display: inline-flex; gap: .3rem; flex-wrap: wrap; vertical-align: middle; }
.card {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 2.5em; height: 3.4em; border-radius: 7px; background: var(--paper); color: var(--ink);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .35); line-height: 1; border: 1px solid #d8d4c4; font-size: 1rem;
}
.card b { font-size: 1.05em; }
.card i { font-style: normal; font-size: 1.15em; margin-top: .1em; }
.card.red { color: #c62828; }
.card.back { background: repeating-linear-gradient(45deg, #c2410c 0 5px, #9a3412 5px 10px); border: 3px solid var(--paper); }
.card.bad { background: #fde; color: #900; width: auto; padding: 0 .3em; }
.prose .cards { margin: .2rem 0; }

/* home */
.hero { display: flex; gap: 1.5rem; align-items: center; margin-bottom: 1.5rem; }
.hero-pic { width: clamp(110px, 18vw, 200px); height: auto; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .4)); }
.mystats { background: rgba(0, 0, 0, .2); display: inline-block; padding: .4rem .8rem; border-radius: 10px; }
.toplist, .podium, .plist, .out, .standing { list-style: none; padding: 0; margin: 0 0 .8rem; }
.toplist li, .podium li, .plist li, .out li, .standing li { display: flex; align-items: center; gap: .6rem; padding: .4rem 0; border-bottom: 1px solid rgba(36, 90, 72, .5); flex-wrap: wrap; }
.toplist li:last-child, .podium li:last-child, .plist li:last-child, .out li:last-child, .standing li:last-child { border-bottom: none; }
.toplist .pos { width: 1.6rem; color: var(--gold); font-weight: 800; }
.toplist .num { margin-left: auto; font-size: 1.1rem; }
.plist { counter-reset: p; }
.plist li::before { counter-increment: p; content: counter(p); width: 1.4rem; color: var(--muted); font-size: .85rem; }
.plist li form, .standing li form { margin-left: auto; }
.medal { width: 1.6rem; font-size: 1.2rem; }
.place { font-weight: 800; color: var(--gold); min-width: 1.6rem; }

/* game cards */
.gcard { display: flex; gap: .9rem; align-items: center; padding: .7rem; border-radius: 12px; background: rgba(0, 0, 0, .18); border: 1px solid var(--line); margin-bottom: .6rem; }
.gcard form { margin: 0 0 0 auto; }
.gcard.status-cancelled { opacity: .6; }
.gdate { display: flex; flex-direction: column; align-items: center; min-width: 4.4rem; padding: .4rem; border-radius: 10px; background: var(--paper); color: var(--ink); line-height: 1.15; }
.gdate:hover { text-decoration: none; }
.gdate .wd { font-size: .72rem; text-transform: uppercase; color: #c62828; font-weight: 700; }
.gdate .dn { font-weight: 800; font-size: .9rem; text-align: center; }
.gdate .tm { font-size: .8rem; color: #555; }
.gbody { min-width: 0; }
.gbody h3 { margin: 0 0 .15rem; font-size: 1.02rem; }
.gbody h3 a { color: var(--text); }
.gbody .meta, .gbody .seats { margin: 0; font-size: .88rem; color: var(--muted); }

/* calendar */
.grid-cal { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 1.2rem; align-items: start; }
.monthnav { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.monthnav h2 { margin: 0; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-h { text-align: center; color: var(--muted); font-size: .78rem; text-transform: uppercase; padding: .2rem 0; }
.cal-d { min-height: 5.2rem; background: rgba(0, 0, 0, .18); border-radius: 8px; padding: .25rem; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cal-d.other { opacity: .38; }
.cal-d.today { outline: 2px solid var(--gold); }
.cal-d .n { font-size: .8rem; color: var(--muted); }
.cal-g { display: block; font-size: .74rem; line-height: 1.25; padding: .15rem .3rem; border-radius: 5px; background: var(--felt-3); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-g.mine { background: #2b7a55; }
.cal-g.status-live { background: #b8322e; }
.cal-g.status-cancelled { text-decoration: line-through; opacity: .7; }
.legend { margin-top: .6rem; }
.dot { display: inline-block; width: .7em; height: .7em; border-radius: 50%; background: var(--felt-3); vertical-align: middle; }
.dot.mine { background: #2b7a55; } .dot.live { background: #b8322e; } .dot.cancelled { background: #555; }

/* live game */
.panel.live { border-color: #b8322e; box-shadow: 0 0 0 1px #b8322e, var(--shadow); }
.clockline { background: rgba(0, 0, 0, .25); padding: .5rem .8rem; border-radius: 9px; }
.out-form select { max-width: 11rem; }
.tables { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .8rem; }
.tablebox { background: #0d4a35; border: 2px solid #8a5a2b; border-radius: 40px; padding: .9rem 1.2rem; }
.tablebox ol { margin: 0; padding-left: 1.4rem; }
.tablebox li { padding: .15rem 0; }

/* question of the day */
.topic { color: var(--orange); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .3rem; }
.qtext { font-size: 1.12rem; font-weight: 600; }
.hands { display: flex; flex-wrap: wrap; gap: 1rem; }
.hand { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; flex-wrap: wrap; }
.hand .label { color: var(--muted); font-size: .85rem; min-width: 4.8rem; }
.hand.board { background: #0d4a35; padding: .5rem .7rem; border-radius: 12px; border: 1px solid #1d6b4f; }
.answers { list-style: none; padding: 0; margin: .4rem 0 .8rem; display: grid; gap: .45rem; }
.answer {
  display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left; padding: .6rem .8rem;
  background: rgba(0, 0, 0, .22); border: 1px solid var(--line); border-radius: 10px; color: var(--text); font: inherit; cursor: pointer;
}
.answer:hover { border-color: var(--gold); background: rgba(242, 189, 75, .08); }
.answers.done li { display: flex; align-items: center; gap: .7rem; padding: .55rem .8rem; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .15); }
.answers.done li.right { border-color: var(--ok); background: rgba(76, 195, 138, .15); }
.answers.done li.wrong { border-color: var(--red); background: rgba(239, 83, 80, .12); }
.letter { display: inline-flex; align-items: center; justify-content: center; width: 1.7rem; height: 1.7rem; flex: none; border-radius: 50%; background: var(--felt-3); font-weight: 700; font-size: .85rem; }
.you { margin-left: auto; font-size: .78rem; color: var(--muted); white-space: nowrap; }
.verdict { font-size: 1.2rem; font-weight: 800; }
.explain { background: rgba(0, 0, 0, .2); border-left: 3px solid var(--gold); padding: .6rem .9rem; border-radius: 8px; }
details.past { border-bottom: 1px solid var(--line); padding: .6rem 0; }
details.past summary { cursor: pointer; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
details.past[open] summary { margin-bottom: .6rem; }

/* players and profiles */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
.pcard { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: 1.1rem .8rem; text-align: center; color: var(--text); background: rgba(15, 52, 40, .85); border: 1px solid var(--line); border-radius: var(--radius); }
.pcard:hover { border-color: var(--gold); text-decoration: none; transform: translateY(-2px); }
.prating { font-size: 1.3rem; font-weight: 800; color: var(--gold); }
.profile { display: flex; gap: 1.4rem; align-items: center; margin-bottom: 1.2rem; flex-wrap: wrap; }
.profile h1 { margin-bottom: .1em; }
.about { white-space: pre-line; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .8rem; margin-bottom: 1.2rem; }
.tile { background: rgba(15, 52, 40, .85); border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; display: flex; flex-direction: column; }
.tile span { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.tile b { font-size: 1.6rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.tile em { font-style: normal; color: var(--muted); font-size: .82rem; }
.chart { width: 100%; height: auto; display: block; }
.chart-line { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.chart-base { stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 6 6; }
.chart-label { fill: var(--muted); font-size: 12px; text-anchor: end; }
.chart-dot { fill: var(--orange); stroke: var(--paper); stroke-width: 2; }
.achievements { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .6rem; }
.achievements li { display: grid; grid-template-columns: 2.4rem 1fr; column-gap: .5rem; align-items: center; padding: .6rem .7rem; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .18); }
.achievements .ach-icon { grid-row: span 2; font-size: 1.7rem; text-align: center; }
.achievements li.got { border-color: var(--gold-2); background: rgba(242, 189, 75, .1); }
.achievements li.locked { opacity: .45; filter: grayscale(1); }
.avatar-now { margin-bottom: .8rem; }
.gallery { display: flex; flex-wrap: wrap; gap: .6rem; margin: .5rem 0 1rem; }
.gallery-item { display: flex; flex-direction: column; align-items: center; gap: .2rem; background: none; border: 2px solid transparent; border-radius: 12px; padding: .2rem; cursor: pointer; color: inherit; font: inherit; }
.gallery-item img { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; }
.gallery-item.current, button.gallery-item:hover { border-color: var(--gold); }
.gallery-item form { margin: 0; }

/* guides */
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.guide-card { display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem; background: rgba(15, 52, 40, .85); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); }
.guide-card:hover { border-color: var(--gold); text-decoration: none; }
.guide-n { width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; }
.prose { max-width: 820px; margin-left: auto; margin-right: auto; font-size: 1.04rem; }
.prose h2 { margin-top: 1.4em; color: var(--gold); }
.prose h3 { margin-top: 1.1em; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .35em; }
.prose table { border-collapse: collapse; width: 100%; margin: .6rem 0 1rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .45rem .6rem; text-align: left; vertical-align: top; }
.prose th { background: var(--felt-3); }
.prose blockquote { margin: .8rem 0; padding: .6rem 1rem; border-left: 3px solid var(--orange); background: rgba(0, 0, 0, .2); border-radius: 8px; }
.pager { display: flex; justify-content: space-between; gap: 1rem; max-width: 820px; margin: 0 auto; flex-wrap: wrap; }

/* login and registration */
.auth { display: flex; gap: 2rem; align-items: center; justify-content: center; flex-wrap: wrap; padding-top: 1rem; }
.auth-pic { width: min(320px, 70vw); height: auto; border-radius: 24px; box-shadow: var(--shadow); }
.auth-form { width: min(440px, 100%); margin: 0; }

/* the tournament clock on a TV */
.page-clock { background: radial-gradient(ellipse at 50% 30%, #1b5a43 0%, #06190f 75%); }
.clock { min-height: 100vh; display: flex; flex-direction: column; padding: 1rem 2rem; }
.clock-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; color: var(--muted); }
.clock-back { color: var(--muted); }
.clock-tools { display: flex; gap: 1rem; }
.clock-status { font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; }
.clock-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.clock-squirrel { width: clamp(70px, 10vw, 150px); height: auto; margin-bottom: .5rem; }
.clock-level { font-size: clamp(1.2rem, 3vw, 2.4rem); color: var(--muted); margin: 0; text-transform: uppercase; letter-spacing: .12em; }
.clock-blinds { font-size: clamp(3rem, 11vw, 9rem); font-weight: 800; margin: 0; line-height: 1.05; color: var(--text); font-variant-numeric: tabular-nums; }
.clock-ante { font-size: clamp(1.1rem, 3vw, 2.2rem); color: var(--gold); margin: 0; min-height: 1.2em; }
.clock-time { font-size: clamp(4rem, 19vw, 16rem); font-weight: 800; margin: 0; color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.clock-time.warn { color: var(--orange); }
.clock-time.paused { opacity: .55; }
.clock-next { font-size: clamp(1rem, 2.4vw, 1.8rem); color: var(--muted); margin-top: .6rem; }
.clock-stats { display: flex; justify-content: center; gap: clamp(1rem, 6vw, 5rem); padding: 1rem 0; }
.clock-stats div { display: flex; flex-direction: column; align-items: center; }
.clock-stats span { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: clamp(.8rem, 1.4vw, 1.1rem); }
.clock-stats b { font-size: clamp(1.4rem, 4vw, 3.2rem); font-variant-numeric: tabular-nums; }
.clock-controls { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; padding-bottom: .5rem; }
.clock-banner { text-align: center; color: #ffe8b0; margin: .4rem 0 0; font-size: .95rem; }
.clock-break .clock-blinds { color: var(--ok); }

@media (max-width: 860px) {
  .grid-cal { grid-template-columns: 1fr; }
  .top { flex-wrap: wrap; }
  .nav { order: 3; flex-basis: 100%; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .hero { flex-direction: column; text-align: center; }
  .cal { gap: 2px; }
  .cal-d { min-height: 3.2rem; padding: .15rem; }
  .cal-g { font-size: 0; padding: 0; height: .5rem; }
  .cal-g b { display: none; }
  .gcard { flex-wrap: wrap; }
  .gcard form { margin-left: 0; width: 100%; }
  .gcard form .btn { width: 100%; }
  .brand span { display: none; }
  .me-link > span:last-child { display: none; }
  .realname { margin-left: 0; }
  .panel { padding: 1rem; }
}
