/*
 * Champyona homepage: Champyona's own look (brand board, 2026-10-25), independent of
 * any one game. Deep plum night, volt for action and winning, violet for the brand,
 * mint for what's live. No flag blue or red; gold, silver and bronze only for medals.
 * Mobile first: most players arrive on a phone from a WhatsApp link.
 */

@font-face { font-family: "Unbounded"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/unbounded-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-weight: 900; font-style: normal; font-display: swap; src: url("fonts/unbounded-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/figtree-latin-800-normal.woff2") format("woff2"); }

:root {
  /* Champyona palette */
  --ink: #0e0a17; /* Lank: the ground */
  --ink-deep: #09060f;
  --plum: #1b1230; /* Prin: cards, panels */
  --plum-hi: #261a42; /* Prin klè: raised, hover */
  --line: #3a2c5c; /* Liy: borders */
  --volt: #c8ff3d; /* Vòlt: the main action, wins, #1 */
  --volt-lo: #7fa81f; /* button edge */
  --on-volt: #160f24;
  --violet: #9d74ff; /* Viyolèt: the brand, active choices, links */
  --on-violet: #120b22;
  --mint: #3de6c2; /* Mant: live, online */
  --text: #f7f4ff; /* Krèm */
  --muted: #b4aacb;
  /* Medals only */
  --gold: #f2c14e;
  --silver: #c9ced8;
  --bronze: #c98a4b;
  --r-s: 12px;
  --r-l: 20px;
  --font: "Figtree", ui-sans-serif, "Segoe UI", system-ui, sans-serif;
  --display: "Unbounded", "Figtree", system-ui, sans-serif;
  --bar-h: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }

body {
  margin: 0;
  background:
    radial-gradient(110% 60% at 90% -10%, rgba(157, 116, 255, 0.32), transparent 60%),
    radial-gradient(80% 40% at -10% 35%, rgba(200, 255, 61, 0.05), transparent 60%),
    var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}

a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 6px; }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 50;
  background: var(--volt); color: var(--on-volt); padding: 10px 16px; border-radius: var(--r-s); font-weight: 800; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }

.hl { color: var(--volt); }
.dim { color: var(--muted); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 14px; border: 2px solid transparent;
  font-family: var(--display); font-weight: 900; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-volt { background: var(--volt); color: var(--on-volt); box-shadow: 0 4px 0 var(--volt-lo), 0 12px 28px rgba(200, 255, 61, 0.18); }
.btn-volt:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--volt-lo), 0 16px 32px rgba(200, 255, 61, 0.24); }
.btn-volt:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--volt-lo), 0 6px 14px rgba(200, 255, 61, 0.18); }
.btn-ghost { background: rgba(14, 10, 23, 0.6); color: var(--text); border-color: var(--violet); font-family: var(--font); font-weight: 800; text-transform: none; letter-spacing: 0; font-size: 16px; }
.btn-ghost:hover { background: rgba(157, 116, 255, 0.12); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 15px; }

/* ---------- header ---------- */

.top { padding: calc(env(safe-area-inset-top) + 10px) 0 10px; border-bottom: 1px solid rgba(58, 44, 92, 0.7); background: rgba(9, 6, 15, 0.6); position: relative; z-index: 30; }
.top-in { display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; min-width: 0; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 12.5px; letter-spacing: 0.03em; white-space: nowrap; }
/* Same lockup as KÒB.CASH and KREYOLNET ID: spaced capitals under the name. */
.brand-sub { font-family: var(--font); font-weight: 600; font-size: 7.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; white-space: nowrap; }

.nav { display: none; }
.nav ul { display: flex; gap: 2px; }
.nav a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--text); }
.nav a:hover { background: rgba(157, 116, 255, 0.14); }
.nav a[aria-current="page"] { background: var(--plum-hi); box-shadow: inset 0 -2px 0 var(--violet); }

.top-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.lang {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--plum);
  font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 0.08em; text-decoration: none;
}
.lang:hover { border-color: var(--violet); }

/* Kreyolnet Apps switcher: the same panel as the other Kreyolnet apps (kob.cash). */
.apps, .acct { position: relative; }
.apps-btn, .acct-btn {
  display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; list-style: none;
  border: 1px solid var(--line); background: var(--plum); color: var(--text);
}
.apps-btn { border-radius: 12px; }
.acct-btn { border-radius: 999px; position: relative; padding: 0; }
.apps-btn::-webkit-details-marker, .acct-btn::-webkit-details-marker { display: none; }
.apps-btn::marker, .acct-btn::marker { content: ""; }
.apps-btn:hover, .apps[open] .apps-btn, .acct-btn:hover, .acct[open] .acct-btn { border-color: var(--violet); color: var(--violet); }
.apps-btn svg { width: 20px; height: 20px; fill: currentColor; }
.acct-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.acct-pic { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.acct-initials { font-weight: 800; font-size: 14px; color: var(--on-violet); background: var(--violet); width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; }
.acct-dot { position: absolute; right: 1px; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); }
.acct.is-in .acct-btn { border-color: var(--violet); }

.apps-panel, .acct-panel {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 40;
  border-radius: var(--r-l); border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(14, 10, 23, 0.97); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.apps-panel { width: min(23rem, calc(100vw - 2rem)); padding: 12px; }
.acct-panel { width: min(18rem, calc(100vw - 2rem)); padding: 8px; }
.apps-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 12px; }
.apps-head h2 { font-size: 15px; font-weight: 800; }
.apps-head span { font-size: 13px; color: var(--muted); }
.apps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.apps-grid li { min-width: 0; }
.app {
  display: flex; align-items: center; gap: 10px; min-height: 76px; padding: 12px 10px; border-radius: 14px; min-width: 0;
  border: 1px solid transparent; text-decoration: none; color: var(--text);
}
a.app:hover { background: rgba(255, 255, 255, 0.05); }
.app-current { border-color: rgba(200, 255, 61, 0.3); background: rgba(200, 255, 61, 0.08); }
.app-soon { border-color: rgba(255, 255, 255, 0.05); background: rgba(255, 255, 255, 0.02); opacity: 0.55; }
.app-mark {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); font-weight: 800; font-size: 13px;
}
.app-current .app-mark { background: var(--volt); color: var(--on-volt); }
.app-text { display: flex; flex-direction: column; min-width: 0; }
.app-name { font-weight: 800; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-sub { margin-top: 2px; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-sub-current { color: var(--volt); }

.acct-head { padding: 12px 12px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.acct-title { font-weight: 800; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-sub { margin-top: 2px; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-on { margin-top: 8px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--mint); }
.acct-on span { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.acct-link { display: flex; align-items: center; min-height: 46px; margin-top: 4px; padding: 0 12px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 15px; }
.acct-link:hover { background: rgba(255, 255, 255, 0.05); }
.acct-connect { color: var(--volt); font-weight: 800; }
.acct-connect:hover { background: rgba(200, 255, 61, 0.08); }
.acct-out { color: #ffb4c8; margin-top: 0; }
.acct-sep { height: 1px; margin: 4px 0; background: rgba(255, 255, 255, 0.07); }

/* Staging only: a band no one can miss. */
.staging-band {
  padding: 6px 16px; text-align: center; background: var(--mint); color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 0.08em;
}

/* ---------- hero ---------- */

.hero { padding: 28px 0 8px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.hero h1 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(36px, 10vw, 68px); line-height: 1; letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero h1 span { display: block; }
.lede { margin-top: 16px; max-width: 34em; color: var(--muted); font-size: 18px; }
.hero-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn-lg { flex: 1 1 auto; }

.code { margin-top: 22px; max-width: 420px; }
.code label { display: block; font-weight: 800; font-size: 15px; margin-bottom: 8px; }
.code-row { display: flex; gap: 8px; }
.code input {
  flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0 14px;
  border-radius: 14px; border: 2px solid var(--line); background: var(--ink-deep); color: var(--text);
  font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: 0.16em; text-transform: uppercase;
}
.code input::placeholder { color: #7d7299; letter-spacing: 0.08em; font-size: 13px; }
.code input:focus { outline: none; border-color: var(--volt); }
.hint { margin-top: 8px; font-size: 14px; color: var(--muted); }

.hero-art { position: relative; }
.art { width: 100%; height: auto; }

/* ---------- sections ---------- */

.sect { padding: 36px 0 8px; }
.sect-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.sect h2 { font-family: var(--display); font-weight: 900; font-size: 24px; text-transform: uppercase; letter-spacing: 0.01em; }
.aside { color: var(--muted); font-size: 15px; }

.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--line); color: var(--muted);
}
.tag-live { background: rgba(61, 230, 194, 0.15); color: var(--mint); gap: 6px; }
.tag-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }

/* game shelf */
.cards { display: grid; gap: 12px; grid-template-columns: 1fr; }
.card { border-radius: var(--r-l); background: var(--plum); border: 1px solid var(--line); }
.card-soon { padding: 18px; }
.card-soon-link { padding: 0; } /* the link fills the card (Bezig → its Lakou, 2026-11-04) */
.card-soon-link:hover { border-color: var(--violet); }
.card-live { border: 2px solid var(--volt); background: linear-gradient(160deg, rgba(157, 116, 255, 0.22), var(--plum) 55%); }
.card-link { display: block; padding: 18px; text-decoration: none; border-radius: var(--r-l); min-height: 100%; }
.card-link:hover .card-cta { text-decoration: underline; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.gicon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); }
.gicon svg { width: 30px; height: 30px; }
.gicon-live { background: rgba(157, 116, 255, 0.28); }
.card h3 { font-family: var(--display); font-weight: 900; font-size: 18px; text-transform: uppercase; }
.card p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.card-cta { display: inline-block; margin-top: 14px; font-weight: 800; color: var(--volt); }

/* rankings */
.panel { border-radius: var(--r-l); background: var(--plum); border: 1px solid var(--line); padding: 18px 14px 16px; }
.panel .sect-head { margin-bottom: 4px; }
.sub { color: var(--muted); font-size: 15px; max-width: 46em; }
.gametabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips::-webkit-scrollbar { display: none; }
.chips { display: flex; gap: 8px; margin: 10px 0 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--line); background: var(--ink); color: var(--text);
  font-weight: 600; font-size: 14px; text-decoration: none;
}
a.chip:hover { border-color: var(--violet); }
.chip.on { background: var(--violet); border-color: var(--violet); color: var(--on-violet); font-weight: 800; }
.chip-game { min-height: 36px; font-family: var(--display); font-weight: 700; font-size: 12px; }
.chip-game.on { background: var(--text); border-color: var(--text); color: var(--on-volt); }
.chip-game.off { color: #8a80a6; background: transparent; }

.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; table-layout: auto; }
.tbl thead th {
  text-align: left; font-weight: 600; font-size: 11px; line-height: 1.2; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em;
  padding: 8px 4px; border-bottom: 1px solid var(--line); vertical-align: bottom;
}
.tbl thead th.num { width: 1%; min-width: 52px; white-space: normal; }
.tbl .col-matches { display: none; }
.tbl td, .tbl tbody th { padding: 10px 4px; border-bottom: 1px solid rgba(58, 44, 92, 0.6); vertical-align: middle; text-align: left; font-weight: 400; }
.tbl tbody tr:last-child td, .tbl tbody tr:last-child th { border-bottom: 0; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 800; white-space: nowrap; }
.tbl .num.win { color: var(--volt); }
.tbl .num.dim { font-weight: 600; }
.tbl thead .num { font-weight: 600; }
.rank { width: 34px; }
.rk { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 800; font-size: 14px; color: var(--muted); }
.rk.m1 { background: var(--gold); color: var(--on-volt); }
.rk.m2 { background: var(--silver); color: var(--on-volt); }
.rk.m3 { background: var(--bronze); color: var(--on-volt); }
.who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.av { flex: none; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: var(--on-violet); }
.av.a0 { background: var(--violet); }
.av.a1 { background: var(--mint); }
.names { display: flex; flex-direction: column; min-width: 0; }
.name { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 28vw; }
.handle { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 28vw; }
.state { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 4px; color: var(--muted); font-size: 16px; }
.note { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* join: signed-out visitors (in place of the Klasman they can't see) */
[hidden] { display: none !important; }
.join { position: relative; overflow: hidden; display: grid; gap: 22px; padding: 22px 16px 20px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(157, 116, 255, 0.22), transparent 55%), var(--plum); }
.join h2 { margin-top: 12px; font-family: var(--display); font-weight: 900; font-size: clamp(24px, 6.4vw, 34px); line-height: 1.08; text-transform: uppercase; max-width: 16em; }
.join-lede { margin-top: 10px; color: var(--muted); font-size: 16px; max-width: 36em; }
.perks { list-style: none; display: grid; gap: 14px; margin: 20px 0 0; padding: 0; }
.perk { display: flex; gap: 12px; align-items: flex-start; }
.perk-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(157, 116, 255, 0.16); }
.perk-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--violet); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.perk strong { display: block; font-weight: 800; font-size: 16px; }
.perk span span { display: block; margin-top: 2px; color: var(--muted); font-size: 14.5px; }
.join-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.join-have { color: var(--muted); font-size: 15px; }
.join-have a { color: var(--violet); font-weight: 800; }
.join-one { margin-top: 14px; font-size: 13px; color: var(--muted); }
.join-art { display: none; }
.ghost-board { border-radius: var(--r-l); border: 1px solid var(--line); background: rgba(14, 10, 23, 0.55); padding: 18px 16px; }
.ghost-title { font-family: var(--display); font-weight: 900; font-size: 14px; text-transform: uppercase; color: var(--muted); letter-spacing: 0.04em; }
.ghost-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; }
.ghost-row { display: flex; align-items: center; gap: 10px; padding: 9px 6px; border-bottom: 1px solid rgba(58, 44, 92, 0.6); }
.ghost-av { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #2f2450; }
.ghost-bar { height: 10px; border-radius: 6px; background: #2f2450; }
.ghost-bar.g1 { width: 58%; } .ghost-bar.g2 { width: 46%; } .ghost-bar.g3 { width: 38%; }
.ghost-num { margin-left: auto; width: 26px; height: 10px; border-radius: 6px; background: rgba(200, 255, 61, 0.35); }
.ghost-row.you { margin-top: 8px; border: 1px dashed var(--volt); border-radius: 14px; background: rgba(200, 255, 61, 0.07); }
.ghost-row.you .rk { color: var(--volt); border: 1px dashed var(--volt); }
.you-av { background: rgba(200, 255, 61, 0.25); }
.you-label { font-weight: 800; color: var(--volt); }
@media (min-width: 860px) {
  .join { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); align-items: center; gap: 36px; padding: 32px 32px 30px; }
  .join-art { display: block; }
  .perks { grid-template-columns: 1fr 1fr; gap: 18px 22px; }
}

/* Grand Salon (Sosyal's engine draws the box; grand_salon.css styles it) */
.sect-link { font-weight: 800; color: var(--violet); text-decoration: none; font-size: 15px; }
.sect-link:hover { text-decoration: underline; }
.salon-panel { display: grid; gap: 20px; padding: 22px 16px 20px; background: radial-gradient(110% 90% at 100% 0%, rgba(240, 69, 122, 0.14), transparent 55%), var(--plum); }
.salon-intro h2 { margin-top: 12px; }
.salon-points { list-style: none; margin: 12px 0 16px; padding: 0; display: grid; gap: 8px; }
.salon-points li { position: relative; padding-left: 18px; color: var(--muted); font-size: 15.5px; }
.salon-points li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--volt); }
.salon-home { min-width: 0; }
@media (min-width: 900px) {
  .salon-panel { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; gap: 36px; padding: 30px 30px 28px; }
}
#grand-salon-main[data-autoopen] .gsr-lobby { visibility: hidden; }
.salon-page .sect-head h1 { font-family: var(--display); font-weight: 900; font-size: clamp(26px, 7vw, 38px); text-transform: uppercase; }
.salon-grid { display: flex; flex-direction: column; gap: 20px; margin-top: 16px; }
.salon-main { min-width: 0; }
.salon-shared { text-align: center; }
.salon-side { display: flex; flex-direction: column; gap: 16px; }
.salon-card { padding: 18px 16px; border-radius: var(--r-l); background: var(--plum); border: 1px solid var(--line); }
.sect .salon-card h2 { font-family: var(--display); font-weight: 900; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.salon-card p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.salon-card .code { margin-top: 12px; }
.salon-card .code input { min-width: 0; }
.salon-new { margin-top: 12px; width: 100%; box-sizing: border-box; justify-content: center; }
.salon-rules { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.6; }
@media (min-width: 1100px) {
  .salon-grid { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) minmax(240px, 300px); align-items: start; gap: 24px; }
  .salon-left { grid-column: 1; grid-row: 1; }
  .salon-main { grid-column: 2; grid-row: 1; }
  .salon-right { grid-column: 3; grid-row: 1; }
}

/* one code box: /tab/ pages */
.tab-choices { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.tab-choices li { display: flex; align-items: center; gap: 10px; }
.tab-again { margin-top: 24px; }

/* "coming soon" pages */
.soon { padding: 48px 0 24px; }
.soon-in { max-width: 640px; }
.soon h1 { margin-top: 14px; font-family: var(--display); font-weight: 900; font-size: clamp(34px, 9vw, 58px); text-transform: uppercase; line-height: 1.05; }

/* footer */
.foot { margin-top: 40px; padding: 22px 0 26px; border-top: 1px solid var(--line); background: var(--ink-deep); color: var(--muted); font-size: 14px; }

/* phone bottom bar */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: rgba(9, 6, 15, 0.96); border-top: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; font-size: 11px; font-weight: 600; color: var(--muted); min-height: 44px; }
.bar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bar a[aria-current="page"] { color: var(--volt); }
@media (max-width: 379px) {
  .bar a { font-size: 10px; letter-spacing: -0.01em; }
}
@media (max-width: 359px) {
  .brand-mark { width: 30px; height: 30px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 11px; }
  .brand-sub { font-size: 6.5px; letter-spacing: 0.12em; }
  .top-actions { gap: 6px; }
  .top-in { gap: 8px; }
}

/* ---------- wider screens ---------- */

@media (min-width: 420px) {
  .brand-name { font-size: 16px; }
  .brand-sub { font-size: 8.5px; letter-spacing: 0.24em; }
}

@media (min-width: 480px) {
  .tbl .col-matches { display: table-cell; }
  .name, .handle { max-width: 36vw; }
  .av { width: 36px; height: 36px; }
  .tbl thead th { padding: 8px 6px; }
  .tbl td, .tbl tbody th { padding: 10px 6px; }
}

@media (min-width: 560px) {
  .wrap { padding: 0 24px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn-lg { flex: 0 0 auto; }
  .panel { padding: 22px 22px 18px; }
  .name, .handle { max-width: none; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 19px; letter-spacing: 0.06em; }
  .brand-sub { font-size: 9.5px; letter-spacing: 0.28em; }
}

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .bar { display: none; }
  .nav { display: block; }
  .hero { padding: 48px 0 24px; }
  .hero-in { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
  .cards { grid-template-columns: repeat(5, 1fr); } /* Domino, Echèk, Mòpyon live; Damye, Bezig soon (2026-11-02) */
  .sect { padding: 48px 0 8px; }
  .sect h2 { font-size: 28px; }
  .tbl { font-size: 16px; }
  .tbl td, .tbl tbody th { padding: 12px 10px; }
  .tbl thead th { padding: 8px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
