/* ==========================================================================
   ეზო — სათამაშო პორტალი.
   იდეა: ძველი თბილისის ეზო ღამით. მელნისფერი ცა, ფირუზისფერი ხის აივანი, ფარნების ოქროსფერი შუქი,
   ბროწეულისფერი აქცენტი. თამაშები — აივნის განათებული სარკმლები, რომელთა დარაბებიც იღება.
   ტიპოგრაფია: Noto Sans Georgian — სათაურები ძალიან ვიწრო და მსხვილი (wdth 62–75), ტექსტი ჩვეულებრივი.
   ========================================================================== */

:root {
  --night: #0E1322;
  --night-2: #121831;
  --surface: #161D33;
  --surface-2: #1C2440;
  --surface-3: #242E4F;
  --raised: #1E2742;
  --line: #2A3456;
  --line-strong: #3A4670;
  --ink: #F2EBDD;
  --ink-2: #CFD3E3;
  --muted: #8F99B5;
  --teal: #3CB4A8;
  --teal-ink: #04231F;
  --gold: #F2B541;
  --gold-2: #FFD27A;
  --gold-ink: #352203;
  --pom: #E04A5F;
  --ok: #2BD18F;

  /* ძველი სახელები (ადმინი და თამაშის გვერდები) */
  --bg: var(--night);
  --accent-base: var(--gold);
  --accent: var(--gold);
  --accent-ink: var(--gold-ink);
  --accent-soft: rgba(242, 181, 65, .1);
  --accent-soft-strong: rgba(242, 181, 65, .3);
  --frame: #070A14;
  --glass-1: #3C6FE0; --glass-2: #E04A5F; --glass-3: #2BA77C; --glass-4: #F2B541;
  --like: var(--pom); --success: var(--ok); --danger: var(--pom); --warn: var(--gold);

  --font: "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-caps: "Ezo Caps", "Noto Sans Georgian", system-ui, sans-serif;
  --font-display: var(--font-caps);
  --r-sm: 10px; --r: 14px; --r-lg: 20px; --r-xl: 28px;
  --top-h: 64px; --tabs-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--ink);
  background:
    radial-gradient(1200px 520px at 50% -120px, rgba(60, 180, 168, .13), transparent 70%),
    radial-gradient(900px 600px at 100% 30%, rgba(224, 74, 95, .06), transparent 70%),
    var(--night);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0 0 .8em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; border-radius: 10px; background: var(--gold); color: var(--gold-ink); }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.display { font-weight: 700; letter-spacing: .005em; line-height: .95; font-family: var(--font-caps); letter-spacing: .015em; }

/* ───────── ღილაკები ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 44px; padding: 0 18px; border-radius: 12px; border: 0; cursor: pointer;
  font-weight: 700; font-size: .95rem; white-space: nowrap; text-decoration: none !important; transition: transform .1s, filter .15s, background-color .15s, box-shadow .2s;
}
.btn .ic { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: default; }
.btn-primary { background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, #DB9A22); color: var(--gold-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 6px 18px -6px rgba(242, 181, 65, .6); }
.btn-primary:hover { filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 26px -6px rgba(242, 181, 65, .75); }
.btn-teal { background: linear-gradient(180deg, #5BD1C5, var(--teal)); color: var(--teal-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-danger, .btn-accent.btn-danger { background: var(--pom); color: #fff; }
.btn-accent { background: var(--teal); color: var(--teal-ink); }
.btn-sm { height: 36px; padding: 0 13px; font-size: .86rem; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 1.05rem; border-radius: 14px; }
.btn-block { width: 100%; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s; }
.icon-btn:hover { background: rgba(255, 255, 255, .07); color: var(--ink); text-decoration: none; }
.link-btn { border: 0; background: none; padding: 0; color: var(--gold-2); cursor: pointer; font-weight: 600; }

/* ───────── ფორმები ───────── */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label, .field > span { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.field small { color: var(--muted); font-size: .8rem; }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=number], input[type=url], select, textarea {
  width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--night-2); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242, 181, 65, .18); }
textarea { resize: vertical; min-height: 90px; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; margin: 8px 0; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); flex: none; }
.segmented { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line); }
.segmented label { cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: block; padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: .88rem; color: var(--muted); transition: background .15s, color .15s; }
.segmented input:checked + span { background: var(--gold); color: var(--gold-ink); box-shadow: 0 2px 10px -2px rgba(242, 181, 65, .6); }
.segmented input:focus-visible + span { outline: 2px solid var(--gold); }

/* ───────── შეტყობინებები, toast, ბეჯი ───────── */
.alert { margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: .92rem; }
.alert-success { border-color: rgba(43, 209, 143, .45); background: rgba(43, 209, 143, .08); }
.alert-error { border-color: rgba(224, 74, 95, .5); background: rgba(224, 74, 95, .1); }
.alert-info { border-color: rgba(60, 180, 168, .45); background: rgba(60, 180, 168, .08); }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabs-h) + 20px + var(--safe-b)); z-index: 200; transform: translateX(-50%); max-width: min(440px, calc(100vw - 32px));
  padding: 11px 18px; border-radius: 14px; background: #F2EBDD; color: #151B2E; font-weight: 600; font-size: .92rem; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); animation: toast-in .25s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--pom); color: #fff; font-size: .68rem; font-weight: 800; font-style: normal; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--night); }
.live-dot { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: .78rem; font-weight: 700; color: #9FF0D0; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(43, 209, 143, .2); animation: live 1.6s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 6px rgba(43, 209, 143, 0); } }

/* ───────── ავატარი, ლოგო ───────── */
.avatar { display: inline-block; flex: none; border-radius: 50%; object-fit: cover; background: var(--surface-3); }
.avatar-xs { width: 28px; height: 28px; font-size: .78rem; }
.avatar-sm { width: 36px; height: 36px; font-size: .92rem; }
.avatar-md { width: 46px; height: 46px; font-size: 1.05rem; }
.avatar-lg { width: 96px; height: 96px; font-size: 2.2rem; }
.avatar-glass { display: inline-grid; place-items: center; color: #fff; font-weight: 800; position: relative; overflow: hidden; }
.avatar-glass::after { content: ""; position: absolute; inset: 0; background: linear-gradient(155deg, rgba(255, 255, 255, .26), transparent 45%, rgba(0, 0, 0, .15)); }
.avatar-glass.g0 { background: #3C6FE0; } .avatar-glass.g1 { background: var(--pom); } .avatar-glass.g2 { background: #2BA77C; } .avatar-glass.g3 { background: var(--gold); color: var(--gold-ink); }
.avatar-bot { display: inline-grid; place-items: center; flex: none; color: #fff; background: linear-gradient(150deg, #4C6BF0, #1F2C7A); }
.avatar-bot.lv1 { background: linear-gradient(150deg, #2FB3A6, #0B5D55); }
.avatar-bot svg { width: 66%; height: 66%; }
.jx-bot-ava { display: inline-grid; place-items: center; background: var(--surface-3); font-size: 1rem; }
.verified { width: 16px; height: 16px; color: var(--teal); vertical-align: -2px; margin-left: 4px; }
.mark { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 30px; height: 30px; padding: 3px; border-radius: 8px 8px 4px 4px; background: #5A3518; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); flex: none; }
.mark i { border-radius: 3px 3px 1px 1px; }
.mark i:nth-child(1) { background: var(--teal); } .mark i:nth-child(2) { background: var(--pom); } .mark i:nth-child(3) { background: var(--gold); } .mark i:nth-child(4) { background: #3C6FE0; }
.site-logo { height: 34px; width: auto; display: block; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; flex: none; }
.brand-name { font-weight: 700; font-size: 1.55rem; letter-spacing: .01em; line-height: 1; font-family: var(--font-caps); letter-spacing: .015em; }
.chip-ico { display: inline-block; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: radial-gradient(circle, var(--gold) 0 34%, rgba(255, 255, 255, .5) 35% 40%, var(--gold) 41% 58%, transparent 59%), repeating-conic-gradient(var(--gold) 0 20deg, #FFF3D6 20deg 40deg);
  box-shadow: 0 0 0 1.5px #8A5F12, 0 2px 4px rgba(0, 0, 0, .4); }
.chips-amt { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.chips-amt b { font-weight: 750; color: var(--gold); }

/* ───────── ზედა ზოლი ───────── */
.pt-top { position: sticky; top: 0; z-index: 50; background: rgba(14, 19, 34, .82); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.pt-top-in { max-width: 1280px; margin: 0 auto; height: var(--top-h); padding: 0 20px; display: flex; align-items: center; gap: 22px; }
.pt-nav { display: flex; gap: 2px; flex: 1; min-width: 0; }
.pt-nav a { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 11px; color: var(--ink-2); font-weight: 600; font-size: .95rem; text-decoration: none !important; transition: background .15s, color .15s; }
.pt-nav a .ic { width: 18px; height: 18px; opacity: .8; }
.pt-nav a:hover { background: rgba(255, 255, 255, .06); color: var(--ink); }
.pt-nav a.on { color: var(--gold); background: rgba(242, 181, 65, .1); }
.pt-nav a.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -12px; height: 2px; border-radius: 2px; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.pt-nav .badge { position: static; margin-left: 2px; box-shadow: none; }
.pt-me { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.wallet { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 9px; border-radius: 999px; background: rgba(242, 181, 65, .1); box-shadow: inset 0 0 0 1px rgba(242, 181, 65, .35); text-decoration: none !important; }
.wallet b { font-weight: 750; font-size: 1rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.wallet.bump { animation: bump .6s ease; }
@keyframes bump { 30% { transform: scale(1.12); box-shadow: inset 0 0 0 1px var(--gold), 0 0 24px rgba(242, 181, 65, .6); } }
.gift.ready { color: var(--gold); }
.gift.ready::after { content: ""; position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--pom); box-shadow: 0 0 0 2px var(--night); }
.gift.ready .ic { animation: wiggle 2.4s ease-in-out infinite; }
@keyframes wiggle { 0%, 80%, 100% { transform: none; } 85% { transform: rotate(-12deg); } 90% { transform: rotate(10deg); } 95% { transform: rotate(-6deg); } }
.me-menu { position: relative; }
.me-menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; }
.me-menu summary::-webkit-details-marker { display: none; }
.me-menu summary .avatar { box-shadow: 0 0 0 2px var(--night), 0 0 0 3.5px var(--line-strong); }
.me-pop { position: absolute; right: 0; top: 50px; width: 250px; padding: 8px; border-radius: 16px; background: var(--surface-2); box-shadow: 0 0 0 1px var(--line), var(--shadow); z-index: 60; }
.me-pop a, .me-pop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; border: 0; background: none; color: var(--ink-2); font-weight: 600; font-size: .92rem; text-align: left; cursor: pointer; text-decoration: none !important; }
.me-pop a:hover, .me-pop button:hover { background: rgba(255, 255, 255, .06); color: var(--ink); }
.me-pop form { margin: 0; border-top: 1px solid var(--line); padding-top: 4px; margin-top: 4px; }
.me-pop .me-head { padding: 8px 10px 12px; border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; margin-bottom: 4px; }
.me-head span { display: flex; flex-direction: column; line-height: 1.25; }
.me-head b { color: var(--ink); }
.me-head small { color: var(--muted); font-weight: 500; }

/* ───────── მთავარი არე, ძირი, ჩანართები ───────── */
.pt-main { max-width: 1280px; margin: 0 auto; padding: 22px 20px 40px; min-height: calc(100vh - var(--top-h) - 120px); }
.page-head { display: flex; align-items: center; gap: 14px; margin: 6px 0 22px; }
.page-head > div:first-of-type { flex: 1; min-width: 0; }
.page-head h1 { font-weight: 700; font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: .005em; line-height: 1; font-family: var(--font-caps); letter-spacing: .015em; }
.page-head p { margin: 6px 0 0; color: var(--muted); }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pt-foot { border-top: 1px solid rgba(255, 255, 255, .06); background: #0A0E1A; }
.pt-foot-in { max-width: 1280px; margin: 0 auto; padding: 26px 20px calc(30px + var(--safe-b)); display: grid; grid-template-columns: auto 1fr; gap: 10px 26px; align-items: center; }
.pt-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.pt-foot nav a { color: var(--ink-2); font-size: .9rem; }
.pt-fair { grid-column: 1 / -1; margin: 6px 0 0; color: var(--muted); font-size: .82rem; }
.pt-copy { grid-column: 1 / -1; margin: 0; color: #5D6684; font-size: .78rem; }
.brand-sm .brand-name { font-size: 1.25rem; }
.brand-sm .mark { width: 24px; height: 24px; }
.pt-tabs { display: none; }

.section { margin: 34px 0 0; }
.section-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.section-head h2 { font-weight: 700; font-size: 1.75rem; letter-spacing: .005em; font-family: var(--font-caps); letter-spacing: .015em; }
.section-head .more { margin-left: auto; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.section-head .live-dot { margin-left: 4px; }
.panel { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), var(--shadow); }
.panel-pad { padding: 18px 20px; }

/* ───────── ცარიელი მდგომარეობა ───────── */
.empty { text-align: center; padding: 34px 20px; color: var(--muted); }
.empty h3 { color: var(--ink); font-weight: 700; font-size: 1.3rem; margin-bottom: 6px; font-family: var(--font-caps); letter-spacing: .015em; }
.empty p { max-width: 420px; margin: 0 auto 14px; }
.empty-art { display: flex; justify-content: center; gap: 6px; margin-bottom: 14px; }
.empty-art i { width: 26px; height: 36px; border-radius: 5px; background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line-strong); transform: rotate(-10deg); }
.empty-art i:nth-child(2) { transform: translateY(-4px); background: rgba(242, 181, 65, .2); }
.empty-art i:nth-child(3) { transform: rotate(10deg); }

/* ───────── მოთამაშის სტრიქონი ───────── */
.player-list { display: flex; flex-direction: column; }
.player-row { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.player-row:last-child { border-bottom: 0; }
.player-link { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: var(--ink); text-decoration: none !important; }
.player-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.player-text b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-text span { color: var(--muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-text em.on { color: var(--ok); font-style: normal; }
.player-bio { white-space: normal !important; }
.ava-wrap { position: relative; display: inline-flex; flex: none; }
.ava-wrap.online::after { content: ""; position: absolute; right: 0; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2.5px var(--surface); }
.user-row { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.user-list { display: flex; flex-direction: column; }

/* ───────── მოდალი (ბონუსი) ───────── */
.modal { border: 0; padding: 0; background: transparent; color: var(--ink); max-width: min(420px, 94vw); width: 100%; }
.modal::backdrop { background: rgba(4, 7, 16, .72); backdrop-filter: blur(5px); }
.bonus-card { position: relative; overflow: hidden; text-align: center; padding: 30px 24px 22px; border-radius: 26px;
  background: radial-gradient(420px 260px at 50% 0%, rgba(242, 181, 65, .25), transparent 70%), linear-gradient(180deg, var(--surface-3), var(--surface)); box-shadow: inset 0 0 0 1px rgba(242, 181, 65, .3), 0 40px 90px rgba(0, 0, 0, .7); }
.bonus-card h2 { font-weight: 700; font-size: 2.2rem; margin: 14px 0 4px; font-family: var(--font-caps); letter-spacing: .015em; }
.bonus-amt { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0; }
.bonus-amt .chip-ico { width: 34px; height: 34px; }
.bonus-amt b { font-weight: 800; font-size: 3rem; color: var(--gold); text-shadow: 0 0 26px rgba(242, 181, 65, .5); font-variant-numeric: tabular-nums; }
.bonus-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.bonus-box { position: relative; width: 110px; height: 96px; margin: 0 auto; }
.bonus-box .box { position: absolute; left: 10px; right: 10px; bottom: 0; height: 62px; border-radius: 8px; background: linear-gradient(180deg, var(--pom), #A82A40); box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .18); }
.bonus-box .lid { position: absolute; left: 2px; right: 2px; top: 16px; height: 22px; border-radius: 6px; background: linear-gradient(180deg, #FF6E83, var(--pom)); z-index: 2; transform-origin: 20% 100%; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.bonus-box .ribbon { position: absolute; left: 50%; top: 16px; bottom: 0; width: 16px; margin-left: -8px; background: linear-gradient(180deg, var(--gold-2), var(--gold)); z-index: 3; transition: transform .5s; }
.bonus-box.open .lid { transform: translateY(-26px) rotate(-24deg); }
.bonus-box.open .ribbon { transform: scaleY(.7) translateY(-30px); }
.bonus-dlg[open] .bonus-box { animation: wiggle 1.6s ease-in-out infinite; }
.fx-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 300; }

/* ───────── ლობი: გმირი ───────── */
.hero {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 112px 48px 46px; min-height: 420px; isolation: isolate;
  background:
    radial-gradient(600px 340px at 78% 60%, rgba(242, 181, 65, .2), transparent 70%),
    radial-gradient(500px 300px at 10% 110%, rgba(60, 180, 168, .2), transparent 70%),
    linear-gradient(180deg, #121A33 0%, #0D1428 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 40px 80px -40px rgba(0, 0, 0, .9);
}
/* აივნის ხის ჩუქურთმა — ზედა არშია */
.hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 46px; z-index: -1; opacity: .55;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='46' viewBox='0 0 56 46'%3E%3Cg fill='none' stroke='%233CB4A8' stroke-width='2'%3E%3Cpath d='M0 2h56M0 10h56'/%3E%3Cpath d='M4 10v14a24 24 0 0 0 48 0V10'/%3E%3Ccircle cx='28' cy='24' r='6'/%3E%3Cpath d='M28 10v8M28 30v12M16 24h6M34 24h6'/%3E%3C/g%3E%3C/svg%3E") repeat-x 0 0 / 56px 46px;
}
.hero::after { /* ტალღოვანი ფარდა ქვედა კიდეზე */
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px; z-index: -1; background: linear-gradient(180deg, transparent, rgba(8, 12, 24, .7));
}
.lights { position: absolute; left: -2%; right: -2%; top: 30px; height: 70px; z-index: 0; pointer-events: none; }
.lights::before { content: ""; position: absolute; inset: 0; border-bottom: 1.5px solid rgba(242, 235, 221, .25); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.lights i { position: absolute; top: calc(52px - (var(--i) - 6.5) * (var(--i) - 6.5) * 1px); left: calc(var(--i) * 7.4% + 1%); width: 10px; height: 14px; border-radius: 50% 50% 45% 45%;
  background: radial-gradient(circle at 50% 35%, #FFF7D6, #FFC456 55%, #E08A12); box-shadow: 0 0 12px 3px rgba(255, 196, 86, .55), 0 0 40px 10px rgba(255, 196, 86, .18);
  animation: twinkle 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.37s); }
.lights i:nth-child(3n) { background: radial-gradient(circle at 50% 35%, #FFE3E6, #FF7B8E 55%, #C8304A); box-shadow: 0 0 12px 3px rgba(255, 123, 142, .5), 0 0 40px 10px rgba(255, 123, 142, .15); }
.lights i:nth-child(4n) { background: radial-gradient(circle at 50% 35%, #E3FFFB, #6FE0D3 55%, #2A9A8E); box-shadow: 0 0 12px 3px rgba(111, 224, 211, .5), 0 0 40px 10px rgba(111, 224, 211, .15); }
@keyframes twinkle { 0%, 100% { opacity: 1; } 45% { opacity: .55; filter: brightness(.8); } 50% { opacity: 1; } }
.hero-in { position: relative; z-index: 1; max-width: 760px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font-size: .85rem; color: var(--ink-2); }
.hero-eyebrow b { color: var(--ink); font-variant-numeric: tabular-nums; }
.hero h1 { font-weight: 700; font-size: clamp(2.3rem, 6vw, 5.4rem); line-height: .95; letter-spacing: .005em; margin-bottom: 18px; font-family: var(--font-caps); letter-spacing: .015em; }
.hero h1 em { display: block; font-style: normal; color: var(--gold); text-shadow: 0 0 40px rgba(242, 181, 65, .35); }
.hero-sub { font-size: 1.08rem; color: var(--ink-2); max-width: 460px; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-art { position: absolute; right: 4%; top: 50%; width: min(42%, 440px); aspect-ratio: 1.1; transform: translateY(-46%); z-index: 1; pointer-events: none; }
.hero-art .hc { position: absolute; width: 34%; aspect-ratio: .7; border-radius: 12px; display: flex; flex-direction: column; padding: 8%;
  background: linear-gradient(160deg, #FFFFFF, #F1EADA); color: #151B2E; font-weight: 700; box-shadow: 0 30px 50px -10px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(0, 0, 0, .08);
  transform: translate(var(--px, 0), var(--py, 0)) rotate(var(--r)); transition: transform .4s cubic-bezier(.2, .8, .3, 1); font-family: var(--font-caps); letter-spacing: .015em; }
.hero-art .hc b { font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1; }
.hero-art .hc i { font-style: normal; font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1; }
.hero-art .hc.red { color: #C61E31; }
.hero-art .hc .big { position: absolute; right: 10%; bottom: 6%; font-size: clamp(3rem, 7vw, 5.4rem); }
.hero-art .c1 { left: 6%; top: 18%; --r: -16deg; }
.hero-art .c2 { left: 33%; top: 6%; --r: -2deg; z-index: 2; }
.hero-art .c3 { left: 58%; top: 16%; --r: 14deg; }
.hero-art .chipz { position: absolute; left: 22%; bottom: 2%; width: 60%; height: 30%; }
.hero-art .chipz span { position: absolute; bottom: calc(var(--k) * 9px); left: var(--x); width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle, var(--c) 0 34%, rgba(255, 255, 255, .55) 35% 40%, var(--c) 41% 58%, transparent 59%), repeating-conic-gradient(var(--c) 0 22.5deg, #F7F1E3 22.5deg 45deg);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .35), 0 8px 14px rgba(0, 0, 0, .5); transform: perspective(300px) rotateX(58deg); }
.hero-art .shine { position: absolute; inset: -20%; background: radial-gradient(closest-side, rgba(255, 220, 140, .25), transparent); z-index: -1; }

/* ───────── ბოლო მოგებების ლენტი ───────── */
.ticker { position: relative; overflow: hidden; margin: 14px 0 0; height: 42px; border-radius: 999px; background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { position: absolute; left: 0; top: 0; height: 100%; display: flex; align-items: center; gap: 34px; white-space: nowrap; padding-left: 100%; animation: tick 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: .9rem; }
.ticker-item b { color: var(--ink); }
.ticker-item em { font-style: normal; font-weight: 750; color: var(--gold); }
@keyframes tick { to { transform: translateX(-100%); } }

/* ───────── თამაშის „ფანჯრები“ (ხელმოწერა) ───────── */
/* ───────── თამაშის ბარათები (ლობი) ───────── */
.gtiles-feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gtiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.gt { --c: 242, 181, 65; position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; min-height: 270px; display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--ink); text-decoration: none !important; background: #121829;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 22px 50px -26px rgba(0, 0, 0, .9); transition: box-shadow .35s, translate .35s cubic-bezier(.2, .8, .3, 1); }
.gt:hover, .gt:focus-visible { translate: 0 -5px; box-shadow: inset 0 0 0 1.5px rgba(var(--c), .7), 0 34px 60px -22px rgba(var(--c), .5); outline: none; }
.gt-bg { position: absolute; inset: -12px; z-index: -2; transition: transform .6s cubic-bezier(.2, .8, .3, 1); transform: translate(calc(var(--mx, 0) * -8px), calc(var(--my, 0) * -6px)); }
.gt-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 70% at 50% 110%, rgba(0, 0, 0, .75), transparent 60%); }
.gt-shine { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .16) 50%, transparent 62%); transform: translateX(-130%); }
.gt:hover .gt-shine { transition: transform .9s ease; transform: translateX(130%); }
.gt-art { position: absolute; left: 0; right: 0; top: 4%; height: 60%; z-index: -1; display: flex; align-items: center; justify-content: center;
  transform: translate(calc(var(--mx, 0) * 10px), calc(var(--my, 0) * 8px)); transition: transform .5s cubic-bezier(.2, .8, .3, 1); }
.gt-svg { width: 100%; height: 100%; overflow: visible; }
.gt-svg .gt-l1, .gt-svg .gt-l2 { transition: transform .55s cubic-bezier(.2, .9, .3, 1.3); }
.gt:hover .gt-l2 { transform: translateY(-9px) scale(1.03); }
.gt:hover .gt-l1 { transform: translateY(-3px); }
.gt-svg .gt-l2 { transform-origin: 50% 60%; transform-box: view-box; }
.gt-trail { stroke-dasharray: 320; stroke-dashoffset: 0; }
.gt:hover .gt-trail { animation: gt-trail 1.1s ease-out; }
@keyframes gt-trail { from { stroke-dashoffset: 320; } }
.gt-info { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 3px; padding: 16px 18px 18px; }
.gt-info b { font-weight: 700; font-size: 1.45rem; line-height: 1.02; letter-spacing: .01em; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); font-family: var(--font-caps); letter-spacing: .015em; }
.gt-info small { color: #C9CFDF; font-size: .82rem; line-height: 1.38; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gt-cta { align-self: flex-start; margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-weight: 760; font-size: .82rem;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); backdrop-filter: blur(6px); transition: background .25s, color .25s; }
.gt-cta i { font-style: normal; transition: transform .25s; }
.gt:hover .gt-cta { background: var(--gold); color: #2A1A00; box-shadow: 0 6px 18px -4px rgba(242, 181, 65, .6); }
.gt:hover .gt-cta i { transform: translateX(4px); }
.gt-live, .gt-badge { position: absolute; top: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-style: normal; font-size: .74rem; font-weight: 700; }
.gt-live { left: 14px; background: rgba(5, 8, 18, .5); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.gt-badge { right: 14px; background: linear-gradient(180deg, #FF7488, #D2344B); color: #fff; box-shadow: 0 6px 16px -4px rgba(224, 74, 95, .7); letter-spacing: .03em; }
.gt:not(.gt-feat) .gt-live ~ .gt-badge { top: 48px; }
.gt:not(.gt-feat) .gt-live { max-width: calc(100% - 28px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* დიდი ბარათები */
.gt-feat { min-height: 300px; }
.gt-feat .gt-art { left: 40%; right: 0; top: 8%; height: 92%; }
.gt-feat .gt-info { max-width: 52%; padding: 22px 24px 24px; }
.gt-feat .gt-info b { font-size: clamp(2rem, 3.4vw, 2.8rem); background: linear-gradient(180deg, #FFF3D6, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 3px 12px rgba(0, 0, 0, .5)); }
.gt-feat .gt-info small { font-size: .9rem; -webkit-line-clamp: 3; }
.gt-feat .gt-cta { padding: 10px 22px; font-size: .95rem; background: var(--gold); color: #2A1A00; box-shadow: 0 8px 22px -6px rgba(242, 181, 65, .7); }
.gt-feat:hover .gt-cta { background: #FFD27A; }
.gt-feat .gt-bg::after { background: linear-gradient(90deg, rgba(5, 8, 18, .75) 0%, rgba(5, 8, 18, .25) 50%, transparent 75%); }
/* თემები */
.gt-poker { --c: 60, 200, 160; }
.gt-poker .gt-bg { background: radial-gradient(circle at 72% 42%, #23A07F 0, #0F5A49 42%, #072A23 100%); }
.gt-poker .gt-bg::before { content: ""; position: absolute; inset: 0; opacity: .5; background: radial-gradient(ellipse 60% 48% at 70% 52%, transparent 70%, rgba(242, 181, 65, .35) 71%, transparent 73%); }
.gt-aviator { --c: 120, 140, 255; }
.gt-aviator .gt-bg { background:
  url("../img/tbilisi-night.svg") left bottom / auto 34% repeat-x,
  radial-gradient(1px 1px at 20% 20%, #fff, transparent), radial-gradient(1px 1px at 45% 12%, #fff, transparent), radial-gradient(1.4px 1.4px at 66% 28%, #FFE7B0, transparent), radial-gradient(1px 1px at 86% 16%, #fff, transparent), radial-gradient(1px 1px at 32% 40%, #CDEBFF, transparent),
  radial-gradient(circle at 82% 18%, #34489A 0, #18205A 48%, #0A0D26 100%); }
.gt-aviator:hover .gt-bg { animation: gt-city 9s linear infinite; }
@keyframes gt-city { to { background-position: -600px bottom, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; } }
.gt-joker { --c: 224, 74, 95; }
.gt-joker .gt-bg { background: radial-gradient(circle at 50% 34%, #A02A49 0, #5A1229 52%, #24070F 100%); }
.gt-okey { --c: 60, 190, 160; }
.gt-okey .gt-bg { background: radial-gradient(circle at 50% 30%, #1E7E68 0, #0E4A3D 52%, #052019 100%); }
.mini-tile { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 34px; margin: 0 1px; border-radius: 4px; font: 900 .95rem/1 Arial, sans-serif;
  background: linear-gradient(180deg, #FFFEF8, #ECE2C8); box-shadow: 0 3px 0 #BCAE8A, 0 5px 8px rgba(0,0,0,.35); }
.mini-tile.t-r { color: #D8322F; } .mini-tile.t-b { color: #2F6FE0; } .mini-tile.t-k { color: #1B2033; } .mini-tile.t-y { color: #D99A0E; }
.game-pick-okey .game-pick-art { background: radial-gradient(ellipse at 40% 30%, rgba(160, 255, 220, .2), transparent 65%), linear-gradient(180deg, #17705C, #0B3F33); box-shadow: inset 0 0 0 3px #062A21; }
.gt-japanese { --c: 140, 150, 255; }
.gt-japanese .gt-bg { background: radial-gradient(circle at 70% 26%, #34459C 0, #1B2361 52%, #0B0F2E 100%); }
.gt-bura { --c: 80, 170, 230; }
.gt-bura .gt-bg { background: radial-gradient(circle at 50% 34%, #227AA2 0, #10405E 52%, #071C2B 100%); }
.gt-nardi { --c: 230, 170, 100; }
.gt-nardi .gt-bg { background: repeating-linear-gradient(92deg, rgba(0, 0, 0, .1) 0 2px, transparent 2px 9px), linear-gradient(180deg, #7A4D27, #4A2C14 70%, #2C190B); }
.gt-wide { grid-column: 1 / -1; min-height: 260px; }
.gt-wide .gt-art { left: 46%; right: 4%; }
.gt-wide .gt-info { max-width: 44%; }
.gt-sport { --c: 55, 214, 122; }
.gt-sport .gt-bg { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 60px, transparent 60px 120px), radial-gradient(circle at 70% 40%, #2C8F55 0, #15573A 45%, #0A2A1C 100%); }
.gt-chess { --c: 238, 200, 150; }
.gt-chess .gt-bg { background: radial-gradient(circle at 50% 30%, #6B4A30 0, #3A2618 52%, #1A110A 100%); }
.gt-durak { --c: 120, 160, 255; }
.gt-durak .gt-bg { background: radial-gradient(circle at 50% 34%, #2E58A8 0, #183266 52%, #0A1530 100%); }
.gt-seka { --c: 240, 110, 130; }
.gt-seka .gt-bg { background: radial-gradient(circle at 50% 34%, #9A2A3C 0, #5A1422 52%, #24070E 100%); }
.gt-billiard { --c: 60, 190, 120; }
.gt-billiard.gt-feat .gt-info b { font-size: clamp(1.8rem, 3vw, 2.45rem); }
.gt-billiard .gt-bg { background: radial-gradient(circle at 60% 40%, #1F8A54 0, #0F5A38 50%, #06281A 100%); }
.mini-pool { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font: 800 10px/1 Arial, sans-serif; color: #1B1E2A; background: radial-gradient(circle at 50% 50%, #FFFDF6 0 34%, var(--bc, #1B1E2A) 36%); box-shadow: inset -3px -4px 6px rgba(0, 0, 0, .35), 0 2px 4px rgba(0, 0, 0, .4); margin: 0 -2px; }
.mini-pool.p3 { --bc: #C2283C; }
.mini-pool.p11 { --bc: #2F84E6; }
.mini-pool.st { background: radial-gradient(circle at 50% 50%, #FFFDF6 0 34%, transparent 36%), linear-gradient(#FFFDF6 0 22%, var(--bc) 22% 78%, #FFFDF6 78%); }
.game-pick-art .mini-pool { width: 34px; height: 34px; font-size: 12px; }
.gt-katsebi { --c: 255, 79, 168; }
.gt-katsebi .gt-bg { background: radial-gradient(circle at 50% 30%, #5A2E9A 0, #2E1658 52%, #140A26 100%); }
.gt-kids { --c: 120, 150, 255; }
.gt-kids .gt-bg { background: radial-gradient(circle at 50% 34%, #4A5FD0 0, #2A3590 52%, #141A4A 100%); }
.gt-mini { --c: 60, 180, 168; }
.gt-mini .gt-bg { background: radial-gradient(circle at 50% 34%, #1F8F86 0, #0F4A52 52%, #06202A 100%); }
.gt-slots { --c: 242, 181, 65; }
.gt-slots .gt-bg { background: repeating-conic-gradient(from 0deg at 72% 120%, rgba(255, 255, 255, .05) 0 5deg, transparent 5deg 12deg), radial-gradient(circle at 70% 40%, #8A2A8E 0, #4A1560 45%, #1B0A2C 100%); }
.gt-loto { --c: 180, 140, 255; }
.gt-loto .gt-bg { background: radial-gradient(circle at 40% 30%, #4B3C9E 0, #261E5E 52%, #100C2C 100%); }
.gt-domino { --c: 90, 210, 190; }
.gt-domino .gt-bg { background: radial-gradient(circle at 50% 34%, #2E8273 0, #154A43 52%, #08231F 100%); }

/* მინიატურები */
.art { gap: 2px; }
.mini-card { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 30px; height: 42px; margin: 0 -5px; border-radius: 5px;
  background: #FFFDF7; color: #1C1F2B; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 3px 6px rgba(0, 0, 0, .35); line-height: 1; font-weight: 800; }
.mini-card b { font-size: .8rem; }
.mini-card i { font-style: normal; font-size: .95rem; }
.mini-card.red { color: #C8202F; }
.mini-card:nth-child(1) { transform: rotate(-12deg) translateY(3px); }
.mini-card:nth-child(3) { transform: rotate(12deg) translateY(3px); }
.mini-card:nth-child(2) { z-index: 1; }
.mini-joker { background: linear-gradient(160deg, #FFFDF7, #F3E7C8); }
.mini-joker b { color: #D9A21E; font-size: .95rem; }
.mini-joker i { font-size: .7rem; font-weight: 800; }
.mini-card.mini-down { background: repeating-linear-gradient(45deg, rgba(243, 198, 75, .35) 0 1px, transparent 1px 4px), linear-gradient(160deg, #A4233A, #6E1222); box-shadow: inset 0 0 0 2px #FFF8EA, 0 3px 6px rgba(0, 0, 0, .35); }
.mini-card.mini-sun { position: relative; }
.mini-card.mini-sun::after { content: ""; position: absolute; right: 3px; top: 3px; width: 7px; height: 7px; border-radius: 50%; background: #D7263D; }
.mini-die { width: 30px; height: 30px; margin: 0 3px; padding: 4px; border-radius: 7px; background: linear-gradient(160deg, #FFFFFF, #EFE6D2); box-shadow: 0 3px 6px rgba(0, 0, 0, .4); transform: rotate(-10deg); display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); place-items: center; }
.mini-die i { width: 5px; height: 5px; border-radius: 50%; background: #1B1E2A; visibility: hidden; }
.mini-die.d6 i:nth-child(3n+1), .mini-die.d6 i:nth-child(3n) { visibility: visible; }
.mini-die.d5 i:nth-child(odd) { visibility: visible; }
.mini-die.d5 { transform: rotate(12deg) translateY(4px); }
.mini-chips { position: relative; width: 26px; height: 26px; margin-left: 8px; align-self: flex-end; }
.mini-chips i { position: absolute; left: 0; bottom: calc(var(--k, 0) * 4px); width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle, var(--pom) 0 34%, #fff8 35% 42%, var(--pom) 43% 60%, transparent 61%), repeating-conic-gradient(var(--pom) 0 22.5deg, #F7F1E3 22.5deg 45deg); box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 2px 3px rgba(0, 0, 0, .4); transform: perspective(80px) rotateX(55deg); }
.mini-chips i:nth-child(2) { --k: 1; filter: hue-rotate(150deg); }
.mini-chips i:nth-child(3) { --k: 2; filter: hue-rotate(200deg) saturate(1.4); }
.art-domino { gap: 4px; }
.art-aviator img { width: 52px; height: auto; transform: rotate(-14deg); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .4)); }
.art-domino .dt { --u: 17px; margin: 0 2px; }
.art-domino .dt-tilt { transform: rotate(12deg) translateY(3px); }

/* ───────── ლობის ბადე ───────── */
.lobby-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 22px; align-items: start; }
.tables { display: flex; flex-direction: column; gap: 10px; }
.ptable { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 16px; color: var(--ink); text-decoration: none !important;
  background: linear-gradient(90deg, rgba(18, 103, 106, .28), rgba(22, 29, 51, .6) 40%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); transition: transform .15s, box-shadow .2s; }
.ptable:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(60, 180, 168, .5), 0 14px 30px -14px rgba(0, 0, 0, .8); }
.ptable-blinds { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; text-align: center; line-height: 1.05;
  background: radial-gradient(circle, #17807E 0 56%, #E7C26A 57% 60%, #4A2A16 61%); box-shadow: 0 6px 14px rgba(0, 0, 0, .5); }
.ptable-blinds b { font-weight: 700; font-size: 1rem; color: #FFF3D6; font-family: var(--font-caps); letter-spacing: .015em; }
.ptable-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ptable-main b { font-weight: 700; font-size: 1.1rem; font-family: var(--font-caps); letter-spacing: .015em; }
.ptable-main small { color: var(--muted); }
.seats-dots { display: inline-flex; gap: 4px; }
.seats-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.seats-dots i.h { background: var(--gold); box-shadow: 0 0 8px rgba(242, 181, 65, .6); }
.seats-dots i.b { background: #5C7CF0; }
.ptable-pot { text-align: right; font-size: .8rem; color: var(--muted); }
.ptable-pot b { display: block; color: var(--ink); font-weight: 750; font-size: 1rem; }

.side-stack { display: flex; flex-direction: column; gap: 18px; }
.bonus-tile { position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--r-lg);
  background: radial-gradient(300px 160px at 0% 0%, rgba(242, 181, 65, .3), transparent 70%), linear-gradient(135deg, #2A1F38, #1A1F38); box-shadow: inset 0 0 0 1px rgba(242, 181, 65, .3); }
.bonus-tile .gift-big { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(180deg, var(--pom), #A82A40); color: #fff; flex: none; box-shadow: 0 10px 24px -8px rgba(224, 74, 95, .8); }
.bonus-tile .gift-big .ic { width: 34px; height: 34px; }
.bonus-tile b { display: block; font-weight: 700; font-size: 1.4rem; font-family: var(--font-caps); letter-spacing: .015em; }
.bonus-tile small { color: var(--muted); }
.bonus-tile .btn { margin-top: 10px; }
.top-list { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.top-list li { display: flex; align-items: center; gap: 12px; padding: 9px 4px; border-bottom: 1px solid rgba(255, 255, 255, .05); counter-increment: r; }
.top-list li:last-child { border: 0; }
.top-list li::before { content: counter(r); width: 26px; text-align: center; font-weight: 700; font-size: 1.25rem; color: var(--muted); font-family: var(--font-caps); letter-spacing: .015em; }
.top-list li:nth-child(1)::before { color: var(--gold); } .top-list li:nth-child(2)::before { color: #CBD3E6; } .top-list li:nth-child(3)::before { color: #D98B4B; }
.top-list a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; }
.top-list a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-list .chips-amt b { font-size: .95rem; }

/* ჩემი თამაშები */
.mygames { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.mygame { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); color: var(--ink); text-decoration: none !important; transition: box-shadow .2s, transform .15s; }
.mygame:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-strong); }
.mygame.turn { box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 24px -8px rgba(242, 181, 65, .6); }
.mygame > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.mygame > .art { flex: none; display: flex; align-items: center; justify-content: center; width: 64px; height: 52px; border-radius: 12px; background: radial-gradient(circle at 50% 40%, rgba(242, 181, 65, .16), rgba(0, 0, 0, .25)); }
.mygame > .art > * { zoom: .8; }
.mygame small { color: var(--muted); }
.mygame.turn small { color: var(--gold); font-weight: 700; }

/* გამოჩენა გადახვევისას */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .3, 1); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }
/* ==========================================================================
   თამაშები (საერთო): დომინოს ქვები, შედეგის ფანჯარა, ლობის ელემენტები
   ========================================================================== */
.dt {
  --u: 32px;
  position: relative; display: inline-flex; flex: none;
  border-radius: calc(var(--u) * .17);
  background: linear-gradient(155deg, #FFFDF7 0%, #F4EDDB 55%, #E6DCC2 100%);
  box-shadow: inset 0 0 0 1px rgba(120, 98, 58, .32), 0 calc(var(--u) * .07) 0 #C2B38C, 0 calc(var(--u) * .14) calc(var(--u) * .22) rgba(20, 10, 0, .38);
}
[style*="--u"] .dt { --u: inherit; }
.dt-h { width: calc(var(--u) * 2); height: var(--u); flex-direction: row; }
.dt-v { width: var(--u); height: calc(var(--u) * 2); flex-direction: column; }
.dt .h { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); padding: 15%; place-items: center; min-width: 0; min-height: 0; }
.dt-h .h + .h { border-left: max(1px, calc(var(--u) * .045)) solid rgba(95, 78, 45, .55); }
.dt-v .h + .h { border-top: max(1px, calc(var(--u) * .045)) solid rgba(95, 78, 45, .55); }
.dt::after { content: ""; position: absolute; left: 50%; top: 50%; width: calc(var(--u) * .13); height: calc(var(--u) * .13); margin: calc(var(--u) * -.065) 0 0 calc(var(--u) * -.065); border-radius: 50%; background: radial-gradient(circle at 35% 35%, #F3D58A, #A8822F); }
.dt b { width: 74%; height: 74%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #50505C, #121217 70%); box-shadow: inset 0 calc(var(--u) * .02) calc(var(--u) * .03) rgba(255, 255, 255, .15); }
.dt .p1 { grid-area: 1 / 1; } .dt .p2 { grid-area: 1 / 2; } .dt .p3 { grid-area: 1 / 3; }
.dt .p4 { grid-area: 2 / 1; } .dt .p5 { grid-area: 2 / 2; } .dt .p6 { grid-area: 2 / 3; }
.dt .p7 { grid-area: 3 / 1; } .dt .p8 { grid-area: 3 / 2; } .dt .p9 { grid-area: 3 / 3; }

/* ქვის ზურგი — შუშაბანდის ოთხი მინით */
.dg-back {
  display: inline-block; width: 15px; height: 27px; border-radius: 3px; flex: none;
  background:
    linear-gradient(var(--glass-1), var(--glass-1)) 3px 6px / 4px 6px no-repeat,
    linear-gradient(var(--glass-2), var(--glass-2)) 8px 6px / 4px 6px no-repeat,
    linear-gradient(var(--glass-4), var(--glass-4)) 3px 14px / 4px 6px no-repeat,
    linear-gradient(var(--glass-3), var(--glass-3)) 8px 14px / 4px 6px no-repeat,
    #1D2340;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 2px 3px rgba(0, 0, 0, .3);
}

/* ლობი */
/* თამაშის არჩევა */
.game-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 10px 16px 6px; }
.game-pick-card {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-lg); cursor: pointer;
  border: 2px solid var(--line); background: var(--surface); transition: border-color .15s, box-shadow .15s, transform .1s;
}
.game-pick-card:hover { border-color: var(--line-strong, var(--muted)); }
.game-pick-card:active { transform: scale(.99); }
.game-pick-card input { position: absolute; opacity: 0; pointer-events: none; }
.game-pick-card:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.game-pick-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.game-pick-text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.game-pick-text b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; }
.game-pick-text small { color: var(--muted); font-size: .84rem; }
.game-pick-art {
  display: flex; align-items: center; justify-content: center; flex: none; width: 92px; height: 74px; border-radius: 14px;
  background: radial-gradient(ellipse at 30% 20%, rgba(255, 214, 150, .25), transparent 65%), linear-gradient(180deg, #8A5A33, #6A4224);
  box-shadow: inset 0 0 0 3px #5A361C;
}
.game-pick-bura .game-pick-art { background: radial-gradient(ellipse at 40% 30%, rgba(160, 255, 190, .2), transparent 65%), linear-gradient(180deg, #17784A, #0D5233); box-shadow: inset 0 0 0 3px #0A3E27; }
.game-pick-art .dt { --u: 17px; margin: 0 2px; }
.game-pick-art .dt-tilt { transform: rotate(12deg) translateY(3px); }
.mini-card {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 30px; height: 42px; margin: 0 -5px; border-radius: 5px;
  background: #FFFDF7; color: #1C1F2B; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 3px 6px rgba(0, 0, 0, .35); line-height: 1; font-family: var(--font-display);
}
.mini-card b { font-size: .8rem; font-weight: 800; }
.mini-card i { font-style: normal; font-size: .95rem; }
.mini-card.red { color: #C8202F; }
.mini-card:nth-child(1) { transform: rotate(-12deg) translateY(3px); }
.mini-card:nth-child(3) { transform: rotate(12deg) translateY(3px); }
.mini-card:nth-child(2) { z-index: 1; }
.game-pick-japanese .game-pick-art { background: radial-gradient(circle at 50% 50%, rgba(255, 90, 90, .35), transparent 45%), linear-gradient(180deg, #2A2F45, #151827); box-shadow: inset 0 0 0 3px #0E1020; }
.mini-card.mini-down { background: repeating-linear-gradient(45deg, rgba(243, 198, 75, .35) 0 1px, transparent 1px 4px), linear-gradient(160deg, #A4233A, #6E1222); box-shadow: inset 0 0 0 2px #FFF8EA, 0 3px 6px rgba(0, 0, 0, .35); }
.mini-card.mini-sun { position: relative; }
.mini-card.mini-sun::after { content: ""; position: absolute; right: 3px; top: 3px; width: 7px; height: 7px; border-radius: 50%; background: #D7263D; }
.game-pick-chess .game-pick-art { background: conic-gradient(#EEDCB8 25%, #B5835A 0 50%, #EEDCB8 0 75%, #B5835A 0) 0 0 / 37px 37px; box-shadow: inset 0 0 0 3px #3B2416, inset 0 0 0 5px #C99A3A; }
.mini-piece { display: inline-grid; margin: 0 -4px; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .4)); }
.game-pick-durak .game-pick-art { background: radial-gradient(ellipse at 40% 30%, rgba(140, 190, 255, .22), transparent 65%), linear-gradient(180deg, #24407A, #142650); box-shadow: inset 0 0 0 3px #0E1B3A; }
.art-chess svg { margin: 0 -3px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .4)); }
.mini-ball { display: inline-grid; place-items: center; width: 30px; height: 30px; margin: 0 -2px; border-radius: 50%; font: 800 .8rem/1 var(--font-display); color: #1B2033;
  background: radial-gradient(circle at 35% 30%, #fff, #F2E4C0 60%, #CDB27A); box-shadow: 0 3px 6px rgba(0, 0, 0, .35), inset 0 0 0 4px #E04A5F; }
.mini-ball.b2 { box-shadow: 0 3px 6px rgba(0, 0, 0, .35), inset 0 0 0 4px #3CB4A8; transform: translateY(6px); }
.game-pick-nardi .game-pick-art { background: radial-gradient(ellipse at 40% 30%, rgba(255, 220, 160, .25), transparent 65%), linear-gradient(180deg, #7A2E1E, #4E1A10); box-shadow: inset 0 0 0 3px #3A120A; }
.mini-die { width: 30px; height: 30px; margin: 0 3px; padding: 4px; box-sizing: border-box; border-radius: 7px; background: linear-gradient(160deg, #FFFFFF, #EFE6D2); box-shadow: 0 3px 6px rgba(0, 0, 0, .4); transform: rotate(-10deg); display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); place-items: center; }
.mini-die i { width: 5px; height: 5px; border-radius: 50%; background: #1B1E2A; visibility: hidden; }
.mini-die.d6 i:nth-child(3n+1), .mini-die.d6 i:nth-child(3n) { visibility: visible; }
.mini-die.d5 i:nth-child(odd) { visibility: visible; }
.mini-die.d5 { transform: rotate(12deg) translateY(4px); }
.mini-joker { background: linear-gradient(160deg, #FFFDF7, #F3E7C8); }
.mini-joker b { color: #D9A21E; font-size: .95rem; }
.mini-joker i { font-size: .7rem; font-weight: 800; }
.game-pick-joker .game-pick-art { background: radial-gradient(ellipse at 40% 30%, rgba(255, 210, 140, .22), transparent 65%), linear-gradient(180deg, #5B2A86, #36175A); box-shadow: inset 0 0 0 3px #2A1046; }
.jk-public { margin: 10px 0 4px; }
.jk-lobby-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.jk-lobby-note { font-size: .84rem; margin: 4px 0 8px; }
.jk-open-title { font-size: .95rem; margin: 14px 0 4px; }
.jk-open { margin: 0 -16px; }
.jk-avas { display: inline-flex; flex: none; }
.jk-avas .avatar { margin-left: -10px; box-shadow: 0 0 0 2px var(--surface); }
.jk-avas .avatar:first-child { margin-left: 0; }
.jx-bot-ava { display: inline-grid; place-items: center; background: var(--surface-3); font-size: 1rem; }
.game-kind { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 7px 1px 5px; border-radius: 999px; background: var(--surface-3); color: var(--ink-2); font-size: .72rem; font-weight: 600; vertical-align: 2px; }
.game-kind .ic { width: 12px; height: 12px; }
.game-list { border-top: 1px solid var(--line); }
.game-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none !important; }
a.game-row:hover { background: var(--surface-2); }
.game-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.game-row-text span { color: var(--muted); font-size: .86rem; }
.game-turn { box-shadow: inset 4px 0 0 var(--accent); background: var(--accent-soft); }
.game-turn .game-row-text span { color: var(--accent); font-weight: 600; }
.game-win .game-row-text span { color: var(--success); font-weight: 600; }
.game-lose .game-row-text span { color: var(--danger); }
.game-score { font-weight: 700; font-variant-numeric: tabular-nums; padding: 4px 10px; border-radius: 999px; background: var(--surface-3); font-size: .9rem; }
.game-actions { display: flex; gap: 6px; }
.game-new { padding: 0 16px 6px; }
.game-new .segmented { flex-wrap: wrap; }
.game-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.game-opts[hidden] { display: none; }
.game-search { margin: 12px 0 2px; }
.game-bot { flex-basis: 100%; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin: 4px 0 2px; padding: 12px 14px; border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-soft), transparent 70%), var(--surface-2); border: 1px solid var(--line); }
.game-bot-text { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.game-bot-text small { color: var(--muted); font-size: .84rem; }
.game-bot .segmented span { padding: 6px 14px; font-size: .86rem; }
.game-bot-go { flex: none; }
@media (max-width: 520px) { .game-bot .segmented { flex: 1 1 auto; } .game-bot .segmented label { flex: 1; text-align: center; } .game-bot-go { flex: 1 1 auto; } }
.avatar-bot { display: inline-grid; place-items: center; flex: none; color: #fff; background: linear-gradient(150deg, #3D5AFE, #1A237E); }
.avatar-bot.lv1 { background: linear-gradient(150deg, #26A69A, #0B5D55); }
.avatar-bot svg { width: 66%; height: 66%; }
.game-rules { margin: 18px 16px; color: var(--ink-2); font-size: .92rem; }
.game-rules summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.game-rules li { margin-bottom: 4px; }
.user-row .btn .ic { width: 17px; height: 17px; }

/* სათამაშო გვერდი */
.dgame { padding-bottom: 10px; }
.dg-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; flex-wrap: wrap; }
.dg-player { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dg-pname { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.dg-pname b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.dg-turnflag { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 700; color: var(--accent); }
.dg-turnflag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: dg-pulse 1.2s ease-in-out infinite; }
@keyframes dg-pulse { 50% { opacity: .25; } }
.dg-score { min-width: 44px; text-align: center; padding: 4px 10px; border-radius: 999px; background: var(--surface-3); font-variant-numeric: tabular-nums; font-size: 1rem; }
.dg-backs { display: flex; gap: 3px; flex-wrap: wrap; justify-content: flex-end; max-width: 60%; }

.dg-table {
  position: relative; margin: 0 12px; padding: 16px 14px 40px; min-height: 250px; border-radius: 18px;
  background-color: #74482A;
  background-image:
    radial-gradient(ellipse at 25% 15%, rgba(255, 214, 150, .2), transparent 55%),
    repeating-linear-gradient(91deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 11px),
    repeating-linear-gradient(89deg, rgba(0, 0, 0, .07) 0 1px, transparent 1px 27px),
    linear-gradient(180deg, #8A5A33, #643F22);
  box-shadow: inset 0 0 0 6px #553319, inset 0 0 0 7px rgba(255, 220, 170, .15), inset 0 10px 40px rgba(0, 0, 0, .35);
  display: flex; align-items: center; justify-content: center;
}
.dg-chain { display: flex; flex-direction: column; gap: calc(var(--u) * .4); width: 100%; }
.dg-row { display: flex; align-items: center; gap: calc(var(--u) * .18); }
.dg-row.rev { flex-direction: row-reverse; }
.dg-row .dt { --u: inherit; }
.dg-empty { text-align: center; color: rgba(255, 242, 220, .85); font-weight: 600; padding: 30px 10px; }
.dg-slot {
  flex: none; width: calc(var(--u) * 2); height: var(--u); min-height: 30px; min-width: 56px;
  border: 2px dashed rgba(255, 236, 200, .9); border-radius: calc(var(--u) * .17); background: rgba(255, 255, 255, .14);
  color: #FFF3DA; font-weight: 700; font-size: .78rem; cursor: pointer; animation: dg-slot 1s ease-in-out infinite alternate;
}
.dg-empty .dg-slot { width: 120px; height: 56px; }
@keyframes dg-slot { from { background: rgba(255, 255, 255, .08); } to { background: rgba(255, 255, 255, .26); } }
.dt.fresh { animation: dg-drop .4s cubic-bezier(.2, 1.3, .4, 1); }
.dt.fresh.by-opp { box-shadow: inset 0 0 0 1px rgba(120, 98, 58, .32), 0 0 0 3px rgba(243, 213, 138, .9), 0 6px 12px rgba(0, 0, 0, .35); }
@keyframes dg-drop { from { transform: translateY(-14px) scale(1.18); opacity: 0; } to { transform: none; opacity: 1; } }
.dt.end-glow { box-shadow: inset 0 0 0 1px rgba(120, 98, 58, .32), 0 0 0 3px #FFE7A8, 0 0 18px 4px rgba(255, 220, 140, .55); }
.dg-boneyard { position: absolute; right: 14px; bottom: 10px; display: flex; align-items: center; gap: 6px; color: #FFF0D6; font-weight: 700; font-size: .85rem; }

.dg-status { text-align: center; color: var(--muted); font-size: .92rem; margin: 10px 16px 0; min-height: 1.4em; }
.dg-status.mine { color: var(--accent); font-weight: 700; }
.dg-mine { padding-bottom: 4px; }
.dg-buttons { display: flex; gap: 8px; }
.dg-hand { display: flex; flex-wrap: wrap; justify-content: center; gap: calc(var(--u) * .18); padding: 12px 12px 6px; min-height: 90px; }
.dg-htile { border: 0; background: none; padding: 0; border-radius: 6px; cursor: pointer; transition: transform .18s cubic-bezier(.3, 1.4, .5, 1), opacity .2s; }
.dg-htile .dt { --u: inherit; }
.dg-htile.can { transform: translateY(-7px); }
.dg-htile.can .dt { box-shadow: inset 0 0 0 1px rgba(120, 98, 58, .32), 0 3px 0 #C2B38C, 0 0 0 2.5px var(--accent), 0 8px 16px rgba(0, 0, 0, .25); }
.dg-htile.dim { opacity: .45; }
.dg-htile.sel { transform: translateY(-14px); }
.dg-htile.sel .dt { box-shadow: 0 0 0 3px #FFC94A, 0 0 22px 4px rgba(255, 200, 74, .55); }
.dg-htile.leaving { opacity: 0; transform: translateY(-40px) scale(.9); }
.dg-htile.shake { animation: dg-shake .35s; }
@keyframes dg-shake { 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.dg-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 6px 16px 0; }
.dg-log { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.dg-log li:first-child { color: var(--ink-2); font-weight: 600; }

.dg-result { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(10, 12, 25, .55); backdrop-filter: blur(3px); animation: fadein .25s ease; }
.dg-result-card { width: min(420px, 100%); background: var(--surface); border-radius: 22px; padding: 26px 22px 22px; text-align: center; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); position: relative; overflow: hidden; }
.dg-result-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--glass-1) 0 25%, var(--glass-2) 25% 50%, var(--glass-4) 50% 75%, var(--glass-3) 75%); }
.dg-result h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; margin-bottom: 6px; }
.dg-result.win h2 { color: var(--accent); }
.dg-result-sub { color: var(--ink-2); margin: 0 0 14px; }
.dg-result-score { display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: 14px; color: var(--muted); font-size: .88rem; }
.dg-result-score b { font-size: 1.7rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.dg-result-label { margin: 0 0 6px; color: var(--muted); font-size: .84rem; }
.dg-result-hand { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; margin-bottom: 16px; }
.dg-result-hand .dt { --u: 20px; }
.dg-result-actions { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dg-result-note { margin: 0; color: var(--muted); font-size: .8rem; }

.dg-invite { padding: 30px 16px; }
.dg-invite-card { text-align: center; max-width: 380px; margin: 0 auto; }
.dg-invite-tiles { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; }
.dg-invite-tiles .dt { --u: 34px; transform: rotate(var(--r, 0deg)); }
.dg-invite-card h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; margin-bottom: 6px; }
.dg-invite-card p { color: var(--ink-2); margin: 0 0 18px; }
.dg-invite-actions { display: flex; gap: 10px; justify-content: center; }

@media (max-width: 720px) {
  .dg-table { margin: 0 8px; padding: 12px 10px 36px; min-height: 210px; }
  .dg-pname b { max-width: 110px; }
  .dg-back { width: 12px; height: 22px; background-size: 3px 5px, 3px 5px, 3px 5px, 3px 5px, auto; background-position: 2px 5px, 7px 5px, 2px 12px, 7px 12px, 0 0; }
}

.badge-static { position: static; border-color: transparent; }

/* დომინო: ქულები, ტაიმერი, ხმა */
.dg-sum { position: absolute; left: 14px; top: 10px; z-index: 2; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: #FFF0D6; background: rgba(0, 0, 0, .28); font-variant-numeric: tabular-nums; }
.dg-sum.five { background: #F3C64B; color: #3A2604; box-shadow: 0 0 14px rgba(243, 198, 75, .6); }
.dg-table { padding-top: 38px; }
.dg-pop { position: absolute; inset: 0; pointer-events: none; display: grid; place-items: center; z-index: 3; }
.dg-pop-item { grid-area: 1 / 1; font-family: var(--font-display); font-weight: 800; font-size: 3rem; color: #FFE08A; text-shadow: 0 3px 0 #8A5A16, 0 6px 22px rgba(0, 0, 0, .5); animation: dg-popup 1.6s cubic-bezier(.2, .9, .3, 1) forwards; }
.dg-pop-item.opp { color: #FFFFFF; text-shadow: 0 3px 0 #444, 0 6px 22px rgba(0, 0, 0, .5); }
@keyframes dg-popup { 0% { transform: scale(.4); opacity: 0; } 18% { transform: scale(1.15); opacity: 1; } 35% { transform: scale(1); } 75% { opacity: 1; transform: translateY(-18px); } 100% { opacity: 0; transform: translateY(-46px); } }
.dg-clock { display: flex; align-items: center; gap: 10px; margin: 10px 16px 0; }
.dg-clock-bar { flex: 1; height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.dg-clock-bar i { display: block; height: 100%; width: 100%; border-radius: 999px; background: var(--muted); }
.dg-clock.mine .dg-clock-bar i { background: var(--accent); }
.dg-clock.low .dg-clock-bar i { background: var(--danger); }
.dg-clock b { min-width: 2.2em; text-align: center; font-variant-numeric: tabular-nums; font-size: 1.05rem; color: var(--muted); }
.dg-clock.mine b { color: var(--accent); }
.dg-clock.low b { color: var(--danger); animation: dg-pulse .5s ease-in-out infinite; }
.dg-sound { width: 34px; height: 34px; }
.dg-sound .ic { width: 18px; height: 18px; }
.dg-sound[aria-pressed="false"] { color: var(--muted); }

/* ==========================================================================
   პორტალის გვერდები — პოკერის ლობი, რეიტინგი, პროფილი, მეგობრები, საფულე, პარამეტრები, ავტორიზაცია
   ========================================================================== */

/* ფსონის დონეები — ჩიპის ფორმის ბარათები */
.stakes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stake {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 22px; color: var(--ink);
  background: radial-gradient(240px 160px at 100% 0%, color-mix(in srgb, var(--c) 40%, transparent), transparent 70%), linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), var(--shadow); transition: transform .2s, box-shadow .2s;
}
.stake:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 70%, transparent), 0 24px 50px -20px color-mix(in srgb, var(--c) 60%, transparent); }
.stake .big-chip { position: absolute; right: -26px; top: -26px; width: 110px; height: 110px; border-radius: 50%; opacity: .9;
  background: radial-gradient(circle, var(--c) 0 34%, rgba(255, 255, 255, .55) 35% 39%, var(--c) 40% 58%, transparent 59%), repeating-conic-gradient(var(--c) 0 22.5deg, #F7F1E3 22.5deg 45deg);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .3); transition: transform .8s cubic-bezier(.2, .8, .3, 1); }
.stake:hover .big-chip { transform: rotate(90deg); }
.stake-name { font-weight: 700; font-size: 1.9rem; line-height: 1; font-family: var(--font-caps); letter-spacing: .015em; }
.stake-blinds { font-weight: 750; font-size: 1.05rem; color: var(--gold); }
.stake-meta { color: var(--muted); font-size: .86rem; line-height: 1.45; }
.stake .btn { margin-top: auto; }
.stake.locked { opacity: .6; }
.create-table { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .8fr); gap: 18px 26px; align-items: start; }
.create-table .field { margin: 0; min-width: 0; }
.create-table .field > span, .create-table .field > label:not(.check) { display: block; margin-bottom: 8px; }
.create-table .segmented { display: flex; width: 100%; box-sizing: border-box; }
.create-table .segmented label { flex: 1; min-width: 0; text-align: center; }
.create-table .segmented label span { padding-left: 4px; padding-right: 4px; white-space: nowrap; }
.create-table .range-row { min-height: 44px; }
.create-table .field:last-child { grid-column: 1 / -1; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .07); }
.create-table .field:last-child .check { flex: 1 1 320px; width: auto; margin: 0; text-align: left; }
.create-table .field:last-child .btn { flex: none; }
@media (max-width: 860px) { .create-table { grid-template-columns: minmax(0, 1fr); } .create-table .field:last-child .btn { width: 100%; } }
.range-row { display: flex; align-items: center; gap: 10px; }
.range-row input[type=range] { flex: 1; accent-color: var(--gold); }
.range-row output { min-width: 5ch; text-align: right; font-weight: 750; color: var(--gold); font-variant-numeric: tabular-nums; }

/* რეიტინგი */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.tabs a { padding: 9px 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-weight: 600; font-size: .92rem; text-decoration: none !important; }
.tabs a.on { background: var(--gold); color: var(--gold-ink); box-shadow: none; }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 14px; margin: 10px 0 26px; }
.pod { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink); text-decoration: none !important; }
.pod .avatar { width: 76px; height: 76px; font-size: 1.8rem; box-shadow: 0 0 0 3px var(--night), 0 0 0 6px var(--pc); }
.pod-1 .avatar { width: 100px; height: 100px; }
.pod b { font-weight: 750; text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod-step { width: 100%; display: grid; place-items: center; padding: 14px 6px; border-radius: 16px 16px 6px 6px; text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--pc) 35%, var(--surface-2)), var(--surface)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); }
.pod-step em { font-style: normal; font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--pc); font-family: var(--font-caps); letter-spacing: .015em; }
.pod-1 { --pc: var(--gold); } .pod-1 .pod-step { min-height: 150px; }
.pod-2 { --pc: #CBD3E6; } .pod-2 .pod-step { min-height: 110px; }
.pod-3 { --pc: #D98B4B; } .pod-3 .pod-step { min-height: 86px; }
.pod-1 .crown { color: var(--gold); width: 34px; height: 34px; margin-bottom: -6px; filter: drop-shadow(0 0 10px rgba(242, 181, 65, .7)); }
.rank-list { list-style: none; margin: 0; padding: 6px 14px; }
.rank-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.rank-list li:last-child { border: 0; }
.rank-list li.me { background: rgba(242, 181, 65, .08); margin: 0 -14px; padding: 10px 14px; border-radius: 12px; }
.rank-n { font-weight: 700; font-size: 1.3rem; color: var(--muted); text-align: center; font-family: var(--font-caps); letter-spacing: .015em; }
.rank-list a { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); text-decoration: none !important; }
.rank-list a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score { font-weight: 750; color: var(--gold); font-variant-numeric: tabular-nums; }

/* პროფილი */
.pcard { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 28px; border-radius: var(--r-xl);
  background: radial-gradient(500px 260px at 0% 0%, rgba(60, 180, 168, .22), transparent 70%), radial-gradient(400px 260px at 100% 100%, rgba(242, 181, 65, .14), transparent 70%), var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), var(--shadow); }
.pcard .avatar-lg { box-shadow: 0 0 0 4px var(--night), 0 0 0 7px var(--teal); }
.pcard h1 { font-weight: 700; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1; font-family: var(--font-caps); letter-spacing: .015em; }
.pcard .handle { color: var(--muted); margin-top: 4px; }
.pcard .bio { margin: 10px 0 0; color: var(--ink-2); max-width: 560px; }
.pcard-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.statbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.stat { padding: 16px 18px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.stat small { display: block; color: var(--muted); font-size: .8rem; margin-bottom: 4px; }
.stat b { font-weight: 800; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
.stat b.gold { color: var(--gold); }
.kind-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.kstat { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.kstat .art { transform: scale(.85); width: 60px; flex: none; }
.kstat b { display: block; font-weight: 700; font-family: var(--font-caps); letter-spacing: .015em; }
.kstat small { color: var(--muted); }
.winbar { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 6px; }
.winbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--gold)); }
.invite-menu { position: relative; }
.invite-menu summary { list-style: none; }
.invite-menu summary::-webkit-details-marker { display: none; }
.invite-pop { position: absolute; right: 0; top: 48px; z-index: 20; width: 230px; padding: 6px; border-radius: 14px; background: var(--surface-2); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.invite-pop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px; background: none; cursor: pointer; text-align: left; font-weight: 600; color: var(--ink-2); }
.invite-pop button:hover { background: rgba(255, 255, 255, .06); color: var(--ink); }
.invite-pop .ic { width: 18px; height: 18px; }

/* მეგობრები / ძიება */
.searchbar { position: relative; margin-bottom: 18px; }
.searchbar .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.searchbar input { padding-left: 44px; height: 50px; border-radius: 14px; font-size: 1rem; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }

/* შეტყობინებები */
.notif-list { display: flex; flex-direction: column; }
.notif { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, .05); color: var(--ink); text-decoration: none !important; }
.notif.unread { background: linear-gradient(90deg, rgba(242, 181, 65, .1), transparent); }
.notif:hover { background: rgba(255, 255, 255, .04); }
.notif-ic { position: relative; flex: none; }
.notif-ic .badge-ic { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); box-shadow: 0 0 0 2px var(--surface); }
.notif-ic .badge-ic .ic { width: 13px; height: 13px; }
.notif-text { flex: 1; min-width: 0; line-height: 1.4; }
.notif-text time { display: block; color: var(--muted); font-size: .8rem; }

/* საფულე */
.wallet-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 26px 28px; border-radius: var(--r-xl);
  background: radial-gradient(400px 240px at 0% 0%, rgba(242, 181, 65, .25), transparent 70%), var(--surface); box-shadow: inset 0 0 0 1px rgba(242, 181, 65, .25), var(--shadow); }
.wallet-hero small { color: var(--muted); }
.wallet-hero .bal { display: flex; align-items: center; gap: 12px; }
.wallet-hero .bal .chip-ico { width: 40px; height: 40px; }
.wallet-hero .bal b { font-weight: 800; font-size: clamp(2.6rem, 6vw, 4rem); color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.tx-list { list-style: none; margin: 0; padding: 4px 16px; }
.tx-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.tx-list li:last-child { border: 0; }
.tx-list small { display: block; color: var(--muted); font-size: .8rem; }
.tx-amt { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.tx-amt.plus { color: var(--ok); } .tx-amt.minus { color: var(--ink-2); }
.tx-amt small { font-weight: 500; }

/* პარამეტრები, სტატიკური გვერდი */
.settings { display: grid; gap: 18px; max-width: 760px; }
.settings .panel h2 { font-weight: 700; font-size: 1.35rem; margin-bottom: 14px; font-family: var(--font-caps); letter-spacing: .015em; }
.settings .avatar-edit { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.danger-zone { box-shadow: inset 0 0 0 1px rgba(224, 74, 95, .4); }
.prose { max-width: 760px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { font-weight: 700; font-size: 1.6rem; margin: 1.4em 0 .5em; color: var(--ink); font-family: var(--font-caps); letter-spacing: .015em; }
.prose a { text-decoration: underline; }

/* ავტორიზაცია */
.auth-body { background: #070B18; }
.auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.auth-art { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 48px clamp(28px, 5vw, 72px);
  background: radial-gradient(60% 50% at 50% 38%, rgba(242, 181, 65, .16), transparent 70%), radial-gradient(50% 40% at 8% 100%, rgba(60, 180, 168, .22), transparent 70%), radial-gradient(45% 40% at 100% 0%, rgba(120, 90, 230, .2), transparent 70%), linear-gradient(160deg, #141D3A, #0A0F20 70%); }
.auth-art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 26px); pointer-events: none; }
.auth-glow { position: absolute; left: 50%; top: 34%; width: min(640px, 90%); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 210, 110, .28), transparent 62%); filter: blur(10px); animation: auth-breathe 6s ease-in-out infinite; }
@keyframes auth-breathe { 50% { opacity: .6; transform: translate(-50%, -50%) scale(1.08); } }
.auth-logo { position: relative; z-index: 1; width: min(520px, 86%); height: auto; filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .55)); animation: auth-float 7s ease-in-out infinite; }
@keyframes auth-float { 50% { transform: translateY(-8px); } }
.auth-chip { position: absolute; width: 54px; height: 54px; border-radius: 50%; opacity: .5; background: repeating-conic-gradient(var(--cc) 0 30deg, #fff 30deg 45deg); box-shadow: inset 0 0 0 9px var(--cc), inset 0 0 0 11px rgba(255, 255, 255, .55), 0 14px 26px -8px rgba(0, 0, 0, .7); animation: auth-float 9s ease-in-out infinite; }
.auth-chip.c1 { --cc: #D8322F; left: 8%; top: 12%; rotate: -18deg; } .auth-chip.c2 { --cc: #2F6FE0; right: 9%; top: 20%; width: 40px; height: 40px; animation-delay: -3s; }
.auth-chip.c3 { --cc: #1F9D5A; left: 13%; bottom: 14%; width: 44px; height: 44px; animation-delay: -5s; } .auth-chip.c4 { --cc: #7A3FB8; right: 12%; bottom: 10%; rotate: 24deg; animation-delay: -1.500s; }
.auth-quote { position: relative; z-index: 1; margin: 0; text-align: center; font-family: var(--font-caps); font-weight: 700; font-size: clamp(1.7rem, 2.9vw, 2.5rem); line-height: 1.05; letter-spacing: .015em; }
.auth-quote em { font-style: normal; color: var(--gold); }
.auth-points { position: relative; z-index: 1; list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; width: min(440px, 100%); }
.auth-points li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.auth-points li > .ic, .auth-points li > .chip-ico { flex: none; width: 24px; height: 24px; color: var(--gold); }
.auth-points li span { display: grid; font-size: .82rem; color: var(--muted); line-height: 1.35; }
.auth-points li b { font-size: .94rem; color: var(--ink); }
.auth-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 40px clamp(18px, 4vw, 56px); }
.auth-home { display: none; }
.auth-home img { display: block; width: 190px; height: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); }
.auth-card { width: 100%; max-width: 460px; padding: 28px clamp(20px, 3vw, 32px) 26px; border-radius: 24px; background: linear-gradient(180deg, rgba(27, 35, 66, .92), rgba(17, 23, 46, .92)); border: 1px solid rgba(255, 255, 255, .09); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 22px; border-radius: 14px; background: rgba(0, 0, 0, .32); }
.auth-tabs a { padding: 10px 8px; border-radius: 11px; text-align: center; font-weight: 700; font-size: .95rem; color: var(--muted); text-decoration: none; transition: background .15s, color .15s; }
.auth-tabs a:hover { color: var(--ink); }
.auth-tabs a.on { background: linear-gradient(180deg, #FFD27A, var(--gold)); color: #2A1A00; box-shadow: 0 6px 16px -6px rgba(242, 181, 65, .7); }
.auth-card h1 { margin: 0 0 6px; font-family: var(--font-caps); font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.1rem); letter-spacing: .015em; }
.auth-sub { color: var(--muted); margin: 0 0 18px; font-size: .95rem; }
.auth-form { display: flex; flex-direction: column; }
.auth-form .field { margin-bottom: 15px; }
.auth-form .field input:not([type=checkbox]) { height: 50px; border-radius: 13px; font-size: 1rem; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .12); transition: border-color .15s, box-shadow .15s, background .15s; }
.auth-form .field input:not([type=checkbox]):focus { border-color: var(--gold); background: rgba(0, 0, 0, .4); box-shadow: 0 0 0 4px rgba(242, 181, 65, .16); outline: none; }
.auth-form .field input:not([type=checkbox]) { padding-left: 15px; padding-right: 15px; }
.auth-form .input-prefix { display: flex; align-items: center; height: 50px; border-radius: 13px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .12); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.auth-form .input-prefix:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(242, 181, 65, .16); }
.auth-form .input-prefix > span { flex: none; padding: 0 4px 0 15px; color: var(--muted); font-weight: 700; background: none; border: 0; }
.auth-form .input-prefix input:not([type=checkbox]) { flex: 1; min-width: 0; width: 100%; height: 100%; padding-left: 4px; background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0; }
.auth-form .btn-lg { height: 52px; border-radius: 14px; font-size: 1.05rem; margin-top: 4px; }
.auth-form .check { margin: 2px 0 14px; font-size: .9rem; }
.pw-wrap { position: relative; }
.pw-wrap input { width: 100%; padding-right: 50px !important; }
.pw-eye { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.pw-eye:hover, .pw-eye[aria-pressed="true"] { color: var(--gold); background: rgba(255, 255, 255, .06); }
.pw-eye .ic { width: 20px; height: 20px; }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 5px; align-items: center; min-height: 16px; }
.pw-meter i { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .12); transition: background .2s; }
.pw-meter span { min-width: 64px; text-align: right; font-size: .74rem; color: var(--muted); }
.pw-meter[data-n="1"] i:nth-child(-n+1) { background: #E04A5F; } .pw-meter[data-n="2"] i:nth-child(-n+2) { background: #F2954A; }
.pw-meter[data-n="3"] i:nth-child(-n+3) { background: #F2B541; } .pw-meter[data-n="4"] i:nth-child(-n+4) { background: #3CCB7C; }
.auth-card .gift-line { margin: 0 0 16px; }
.auth-alt { margin-top: 18px; color: var(--muted); }
.auth-switch { margin: 18px 0 0; text-align: center; color: var(--muted); font-size: .93rem; }
.auth-switch a { color: var(--gold); font-weight: 700; }
.auth-foot { margin: 0; max-width: 420px; text-align: center; font-size: .76rem; color: rgba(143, 153, 181, .75); }
@media (prefers-reduced-motion: reduce) { .auth-logo, .auth-chip, .auth-glow { animation: none; } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.input-prefix { display: flex; align-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--night-2); }
.input-prefix span { padding: 0 4px 0 14px; color: var(--muted); }
.input-prefix input { border: 0; background: transparent; padding-left: 2px; }
.input-prefix:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242, 181, 65, .18); }
.input-prefix input:focus { box-shadow: none; }
.gift-line { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 12px 14px; border-radius: 14px; background: rgba(242, 181, 65, .1); box-shadow: inset 0 0 0 1px rgba(242, 181, 65, .3); font-weight: 600; }

/* ==========================================================================
   თამაშების ლობი (games.php) — მუქი ვერსია
   ========================================================================== */
.games-hero { display: none; }
.game-pick { margin: 0 0 6px; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.game-pick-card { border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); border-radius: 18px; }
.game-pick-card:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.game-pick-card:has(input:checked) { box-shadow: inset 0 0 0 2px var(--gold), 0 0 30px -10px rgba(242, 181, 65, .7); }
.game-pick-text b { font-weight: 700; font-size: 1.35rem; font-family: var(--font); }
.game-pick-art { box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .25); }
.section-title { font-weight: 700; font-size: 1.6rem; margin: 30px 0 12px; font-family: var(--font-caps); letter-spacing: .015em; }
.game-list { border: 0; background: var(--surface); border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; }
.game-row { border-bottom: 1px solid rgba(255, 255, 255, .05); padding: 13px 16px; }
.game-row:last-child { border-bottom: 0; }
a.game-row:hover { background: rgba(255, 255, 255, .04); }
.game-turn { box-shadow: inset 4px 0 0 var(--gold); background: rgba(242, 181, 65, .07); }
.game-turn .game-row-text span { color: var(--gold); }
.game-kind { background: rgba(255, 255, 255, .08); color: var(--ink-2); }
.game-score { background: rgba(255, 255, 255, .08); }
.game-new { padding: 0; margin-bottom: 8px; }
.game-bot { background: radial-gradient(400px 120px at 0 0, rgba(60, 180, 168, .2), transparent 70%), var(--surface); border: 0; box-shadow: inset 0 0 0 1px rgba(60, 180, 168, .35); border-radius: 18px; padding: 16px 18px; }
.game-bot-text b { font-weight: 700; font-size: 1.25rem; font-family: var(--font-caps); letter-spacing: .015em; }
.game-rules { margin: 14px 0; padding: 14px 18px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.game-rules summary { font-weight: 700; }
.jk-avas .avatar { box-shadow: 0 0 0 2px var(--surface); }
.game-search { margin: 18px 0 6px; }
.search { position: relative; display: flex; align-items: center; }
.search .ic { position: absolute; left: 14px; color: var(--muted); }
.search input { padding-left: 42px; }

/* ==========================================================================
   ტელეფონი, პლანშეტი
   ========================================================================== */
@media (max-width: 1100px) {
  .gtiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gtiles.n5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .gtiles.n5 > * { grid-column: span 2; }
  .gtiles.n5 > :nth-child(n+4) { grid-column: span 3; }
  .lobby-grid { grid-template-columns: minmax(0, 1fr); }
  .stakes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-art { opacity: .5; right: -6%; }
}
@media (max-width: 900px) {
  .gtiles-feat { grid-template-columns: minmax(0, 1fr); }
  .pt-nav { display: none; }
  .pt-tabs {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: calc(var(--tabs-h) + var(--safe-b)); padding-bottom: var(--safe-b);
    background: rgba(12, 16, 30, .94); backdrop-filter: blur(14px); border-top: 1px solid rgba(255, 255, 255, .07);
  }
  .pt-tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: .7rem; font-weight: 600; text-decoration: none !important; }
  .pt-tabs a .ic { width: 22px; height: 22px; }
  .pt-tabs a.on { color: var(--gold); }
  .pt-tabs a.on .ic { filter: drop-shadow(0 0 8px rgba(242, 181, 65, .7)); }
  body.is-auth, body.is-guest { padding-bottom: calc(var(--tabs-h) + var(--safe-b)); }
  .cols-2 { grid-template-columns: minmax(0, 1fr); }
  .auth { grid-template-columns: minmax(0, 1fr); background: radial-gradient(90% 40% at 50% 0%, rgba(242, 181, 65, .14), transparent 70%), linear-gradient(180deg, #121A33, #070B18 60%); }
  .auth-art { display: none; }
  .auth-panel { justify-content: flex-start; padding: 22px 14px 34px; gap: 14px; }
  .auth-home { display: block; }
  .auth-card { padding: 20px 16px 22px; border-radius: 20px; }
}
@media (max-width: 640px) {
  :root { --top-h: 58px; }
  .pt-top-in { padding: 0 12px; gap: 8px; }
  .brand-name { font-size: 1.3rem; }
  .pt-me { gap: 2px; }
  .wallet { padding: 0 10px 0 7px; height: 36px; }
  .wallet b { font-size: .9rem; }
  .icon-btn { width: 38px; height: 38px; }
  .pt-main { padding: 14px 14px 30px; }
  .hero { padding: 92px 22px 30px; min-height: 0; border-radius: 22px; }
  .hero h1 { font-size: clamp(2.1rem, 11vw, 3rem); }
  .hero-sub { font-size: 1rem; }
  .hero-art { display: none; }
  .hero-cta .btn { flex: 1; }
  .gtiles-feat { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .gt-feat { min-height: 230px; }
  .gt-feat .gt-art { left: 44%; top: 18%; height: 82%; }
  .gt-feat .gt-info { max-width: 58%; padding: 16px; }
  .gt-feat .gt-info small { -webkit-line-clamp: 2; font-size: .8rem; }
  .gtiles, .gtiles.n5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }

  .gtiles.n5 > :nth-child(n) { grid-column: auto; }
  .gtiles.n5 > :last-child, .gtiles.n3 > :last-child, .gtiles.n1 > :last-child { grid-column: span 2; }
  .gtiles.n5 > :last-child .gt-art, .gtiles.n3 > :last-child .gt-art { left: 25%; right: 25%; }
  .gt { min-height: 220px; border-radius: 20px; }
  .gt-info { padding: 12px 14px 14px; }
  .gt-info b { font-size: 1.3rem; }
  .gt-info small { font-size: .76rem; }
  .gt-cta { display: none; }
  .gt-feat .gt-cta { display: inline-flex; }
  .gt-live { top: 10px; left: 10px; font-size: .68rem; padding: 4px 9px; }
  .stakes { grid-template-columns: minmax(0, 1fr); }
  .ptable { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; padding: 12px; }
  .ptable-pot { display: none; }
  .ptable-blinds { width: 54px; height: 54px; }
  .statbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard { grid-template-columns: auto minmax(0, 1fr); padding: 20px; }
  .pcard-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .pcard .avatar-lg { width: 76px; height: 76px; }
  .section-head h2 { font-size: 1.5rem; }
  .page-head h1 { font-size: 2.1rem; }
  .podium .avatar { width: 58px; height: 58px; }
  .podium .pod-1 .avatar { width: 74px; height: 74px; }
  .pod-step em { font-size: 2rem; }
  .wallet-hero { grid-template-columns: minmax(0, 1fr); }
  .pt-foot-in { grid-template-columns: minmax(0, 1fr); }
  .toast { bottom: calc(var(--tabs-h) + 14px + var(--safe-b)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .gt, .gt-bg, .gt-art, .gt-svg * { transition: none !important; animation: none !important; }
  .ticker-track { animation: none; padding-left: 0; }
}
.me-pop a.only-m { display: none; }
@media (max-width: 900px) { .me-pop a.only-m { display: flex; } }

/* ───────── მთავრული: მენიუ, ღილაკები, ჩანართები (Ezo Caps) ───────── */
.pt-nav a, .btn, .tabs a, .sb-tabs button, .tk-tabs button, .gt-cta, .slip-go, .slip-kind button, .av-tabs button, .av-go-t, .pk-btn, .gx-btn-text,
.me-pop a, .me-pop button, .pt-tabs a span, .section-head .more, .segmented span, .av-seg button, .sb-mgroups button, .bl-presets button, .stake-name, .wallet b {
  font-family: var(--font-caps); letter-spacing: .02em;
}
.pt-nav a, .btn, .sb-tabs button, .gt-cta, .slip-go, .av-go-t, .pk-btn { text-transform: uppercase; }
.pt-tabs a span { font-size: .68rem; }

/* თამაშები: სხვა თამაშების ბმულები (სეკა, ლოტო) */
.game-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-bottom: 14px; }
.game-more-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none !important; transition: border-color .2s, transform .15s; }
.game-more-item:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.game-more-item > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.game-more-item small { color: var(--muted); font-size: .8rem; }
.game-more-item i { font-style: normal; color: var(--muted); }
.gm-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; }
.gm-ic .ic { width: 22px; height: 22px; }
.gm-seka .gm-ic { background: linear-gradient(160deg, #B23A4E, #6E1626); }
.gm-loto .gm-ic { background: linear-gradient(160deg, #6C5BD6, #352A86); }

/* ───────── პროგრესი: დონე, მიღწევები, სისტემური შეტყობინებები ───────── */
.quests-btn .lvl-mini { position: absolute; right: 2px; bottom: 2px; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 8px; display: grid; place-items: center;
  font-size: .62rem; font-weight: 800; line-height: 1; background: var(--teal); color: var(--teal-ink); box-shadow: 0 0 0 2px var(--night); font-variant-numeric: tabular-nums; }
.lvl-chip { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; font-size: .72rem; font-weight: 800;
  background: linear-gradient(180deg, #5FD3C6, #2A9A8F); color: #032522; vertical-align: middle; font-variant-numeric: tabular-nums; }
.ach-badge { --ac: var(--gold); position: relative; display: inline-grid; place-items: center; flex: none; width: 40px; height: 44px; color: #fff;
  background: linear-gradient(160deg, color-mix(in srgb, var(--ac) 92%, #fff), color-mix(in srgb, var(--ac) 70%, #000));
  clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%); }
.ach-badge .ic { width: 20px; height: 20px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .3)); }
.ach-badge.ach-lg { width: 54px; height: 60px; }
.ach-badge.ach-lg .ic { width: 26px; height: 26px; }
.ach-badge.ach-sm { width: 30px; height: 33px; }
.ach-badge.ach-sm .ic { width: 15px; height: 15px; }
.ach-badge.locked { background: var(--surface-3); color: var(--muted); }
.notif-sys .sys-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(160deg, #3CB4A8, #1F6F69); color: #fff; }
.notif-sys .sys-ic .ic { width: 22px; height: 22px; }
.ref-line { color: var(--teal); }
.ref-line .ic { width: 18px; height: 18px; vertical-align: -3px; }
.prof-level { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.prof-level .qx-bar { flex: 1; max-width: 260px; }
.prof-ach { display: flex; flex-wrap: wrap; gap: 8px; }
.season-head { display: grid; gap: 6px; margin-bottom: 14px; }
.season-head > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.season-head b { font-family: var(--font-display); font-size: 1.2rem; }
.season-head p { margin: 0; font-size: .88rem; }
.tabs-sm { margin: 4px 0 0; }
.pod-prize, .rank-prize { display: inline-flex; align-items: center; gap: 4px; color: var(--gold-2); font-weight: 700; font-size: .8rem; }
.pod-prize { display: flex; justify-content: center; margin-top: 2px; }
.push-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.me-pop button[data-pwa-install] { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; background: none; color: inherit; font: inherit; text-align: start; border-radius: 10px; cursor: pointer; }
.me-pop button[data-pwa-install][hidden] { display: none; }
.gm-tournaments .gm-ic { background: linear-gradient(160deg, #F2B541, #B9740F); }
.home-quests, .home-tour { display: block; color: var(--ink); text-decoration: none !important; }
.home-quests .lvl-chip { padding: 0 9px; }
.home-quests .qx-bar { display: block; position: relative; height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.home-quests .qx-bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #3CB4A8, #8FE3D6); }
.hq-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: .9rem; border-top: 1px solid var(--line); }
.hq-row em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hq-row.done em { color: var(--gold-2); font-weight: 700; }
.hq-row.claimed { color: var(--muted); }
.hq-row.claimed em { color: var(--ok); }
.home-tour { display: flex; align-items: center; gap: 12px; }
.home-tour .gm-ic { background: linear-gradient(160deg, #F2B541, #B9740F); flex: none; }
.home-tour > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.home-tour small { color: var(--muted); font-size: .8rem; }
.prof-level .qx-bar { display: block; position: relative; height: 8px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.prof-level .qx-bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #3CB4A8, #8FE3D6); }
.auth-forgot { text-align: center; margin: 12px 0 0; font-size: .9rem; }
.link-btn { border: 0; background: none; padding: 0; color: var(--teal); font: inherit; cursor: pointer; text-decoration: underline; }
.ok-text { color: var(--ok); } .warn-text { color: var(--gold-2); }

/* ფსონი, სწრაფი მატჩი */
.stake-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 14px; border-radius: var(--r); background: rgba(242, 181, 65, .06); border: 1px solid rgba(242, 181, 65, .2); }
.stake-pick-label { display: flex; flex-direction: column; font-weight: 700; flex: 1; min-width: 200px; }
.stake-pick-label small { font-weight: 400; color: var(--muted); font-size: .8rem; }
.stake-pick .segmented input:disabled + span { opacity: .35; cursor: default; }
.quick-ic { display: grid; place-items: center; background: linear-gradient(160deg, #F2B541, #E0702E); color: #2E1300; }
.quick-ic .ic { width: 22px; height: 22px; }
.mm-dlg { border: 0; padding: 0; background: none; }
.mm-dlg::backdrop { background: rgba(6, 9, 22, .7); backdrop-filter: blur(4px); }
.mm-card { width: min(380px, calc(100vw - 32px)); padding: 30px 24px 22px; border-radius: 24px; background: var(--surface); color: var(--ink); text-align: center; box-shadow: var(--shadow); }
.mm-card h2 { margin: 18px 0 6px; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.mm-actions { display: flex; justify-content: center; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.mm-spin { display: flex; justify-content: center; gap: 8px; height: 30px; align-items: center; }
.mm-spin i { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); animation: mm-b 1s ease-in-out infinite; }
.mm-spin i:nth-child(2) { animation-delay: .15s; background: var(--teal); } .mm-spin i:nth-child(3) { animation-delay: .3s; background: var(--pom); }
@keyframes mm-b { 0%, 80%, 100% { transform: scale(.6); opacity: .5; } 40% { transform: scale(1.15); opacity: 1; } }
.menu-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; margin-left: auto; border-radius: 10px; background: var(--pom); color: #fff; font-size: .72rem; font-style: normal; font-weight: 800; }
.me-menu summary { position: relative; }
.me-dot { position: absolute; right: -1px; top: -1px; width: 11px; height: 11px; border-radius: 50%; background: var(--pom); box-shadow: 0 0 0 2px var(--night); }

/* ნავიგაცია ბევრი პუნქტით: კომპაქტური, რომ ბალანსს არ გადაეფაროს */
.pt-top-in { gap: 14px; }
.pt-nav a { padding: 0 10px; gap: 6px; font-size: .9rem; white-space: nowrap; }
.pt-nav a.on::after { left: 10px; right: 10px; }
.pt-nav.many a .ic { display: none; }
@media (max-width: 1100px) {
  .pt-nav a { padding: 0 7px; font-size: .82rem; }
  .pt-top-in { gap: 8px; }
  .pt-nav { overflow-x: auto; overflow-y: hidden; padding-bottom: 14px; margin-bottom: -14px; scrollbar-width: none; }
  .pt-nav::-webkit-scrollbar { display: none; }
}

/* უსაფრთხოება: სესიები, საჩივრის ფანჯარა */
.set-sub { margin: 18px 0 8px; font-size: 1rem; font-family: var(--font-display); }
.set-sub:first-of-type { margin-top: 4px; }
.set-inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.set-inline input { flex: 1; min-width: 160px; max-width: 260px; }
.sess-list { display: grid; gap: 8px; }
.sess-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2, rgba(255, 255, 255, .03)); }
.sess-row.cur { border-color: rgba(60, 203, 124, .5); }
.sess-ic .ic { width: 22px; height: 22px; opacity: .8; }
.sess-main { flex: 1; min-width: 0; display: grid; }
.sess-main b { font-size: .95rem; }
.sess-main em { font-style: normal; font-size: .72rem; font-weight: 800; color: #3CCB7C; margin-left: 6px; }
.sess-main small { color: var(--ink-3); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report-dlg { border: 0; border-radius: 20px; padding: 22px; width: min(460px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); }
.report-dlg::backdrop { background: rgba(6, 9, 22, .6); backdrop-filter: blur(3px); }
.report-dlg h2 { margin: 0 0 6px; font-family: var(--font-display); }
.report-form { display: grid; gap: 8px; }
.report-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 6px; }
