/* fonturi găzduite local (fără cereri externe la Google Fonts) */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF; }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+0218-021B; }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url(/fonts/inter-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF; }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url(/fonts/inter-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+0218-021B; }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF; }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+0218-021B; }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url(/fonts/inter-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF; }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url(/fonts/inter-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+0218-021B; }
@font-face { font-family: 'Inter'; font-weight: 800; font-display: swap; src: url(/fonts/inter-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF; }
@font-face { font-family: 'Inter'; font-weight: 800; font-display: swap; src: url(/fonts/inter-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+0218-021B; }
@font-face { font-family: 'Inter'; font-weight: 900; font-display: swap; src: url(/fonts/inter-latin-900-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF; }
@font-face { font-family: 'Inter'; font-weight: 900; font-display: swap; src: url(/fonts/inter-latin-ext-900-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+0218-021B; }
@font-face { font-family: 'Archivo Black'; font-weight: 400; font-display: swap; src: url(/fonts/archivo-black-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Archivo Black'; font-weight: 400; font-display: swap; src: url(/fonts/archivo-black-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+0218-021B; }
/* Șeptică Online — temă „cazino”: fundal bleumarin, rame aurii, masă verde, suport de lemn pe două rânduri */
:root {
  --bg-1: #0a1220;
  --bg-2: #13203a;
  --panel: #0f1828;
  --panel-2: #162338;
  --gold: #c9a45c;
  --gold-2: #e8c77b;
  --gold-dim: rgba(201, 164, 92, .45);
  --text: #f3eee4;
  --muted: #a9b3c4;
  --pos: #57d36b;
  --neg: #ff5a4f;
  --felt-1: #2a6b35;
  --felt-2: #133f1d;
  --tile: #f6f1e5;
  --tile-2: #e7e0cf;
  --tile-edge: #c2b9a4;
  --c-red: #c9141c;
  --c-yellow: #e59a0c;
  --c-blue: #1b54c0;
  --c-black: #121212;
  --accent: #3fa34d;
  --danger: #d9482b;
  --tw: 52px;              /* lățimea piesei din suport (setată din JS) */
  --th: calc(var(--tw) * 1.36);
  --mw: 32px;              /* piesă pe masă */
  --mh: calc(var(--mw) * 1.36);
  --radius: 14px;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  color: var(--text); overscroll-behavior: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(60, 90, 150, .25), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .012) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, var(--bg-2), var(--bg-1)) fixed;
}
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
a { color: var(--gold-2); font-weight: 800; }
svg { display: block; }

/* ---------- butoane generale ---------- */
.btn {
  font: inherit; font-weight: 800; font-size: 15px; border-radius: 12px; padding: 10px 16px; cursor: pointer;
  border: 1px solid var(--gold-dim); color: var(--text);
  background: linear-gradient(180deg, #22324d, #152238);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 3px 0 #070c16; transition: transform .08s, filter .15s;
}
.btn:hover:not(:disabled) { filter: brightness(1.12); }
.btn:active { transform: translateY(2px); box-shadow: none; }
.btn:disabled { opacity: .4; cursor: default; }
.btn.primary { background: linear-gradient(180deg, #4fb95c, #2b7d37); border-color: #7fd88a; color: #fff; }
.btn.warn { background: linear-gradient(180deg, #e8603f, #b3361d); border-color: #ff9a7f; color: #fff; }
.btn.ghost { background: transparent; box-shadow: none; }
.btn.big { width: 100%; padding: 14px; font-size: 17px; margin-top: 10px; }
.dot { position: absolute; top: 3px; right: 3px; width: 10px; height: 10px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 2px var(--bg-1); }

/* ---------- lobby ---------- */
.screen { min-height: 100%; }
#lobby, #waiting { max-width: 560px; margin: 0 auto; padding: 18px 16px 40px; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 8px 0 18px; text-align: center; }
.brand-logo { width: min(100%, 360px); height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.brand h1 { margin: 0; font-size: 32px; font-weight: 900; letter-spacing: .5px; color: var(--gold-2); font-family: Georgia, 'Times New Roman', serif; }
.brand p { margin: 0; color: var(--muted); }
.brand h1 .tld { font-size: .5em; color: var(--muted); margin-left: 2px; letter-spacing: 0; }
.logo { display: flex; gap: 3px; }
.logo .t {
  width: 34px; height: 46px; border-radius: 5px; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--tile), var(--tile-2));
  font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-weight: 900; font-synthesis: none; font-size: 21px;
  box-shadow: 0 3px 0 var(--tile-edge), 0 6px 12px rgba(0, 0, 0, .5);
}
.logo .r { color: var(--c-red); } .logo .y { color: var(--c-blue); } .logo .b { color: var(--c-black); }
.card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--gold-dim);
  border-radius: var(--radius); padding: 16px; margin-bottom: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.card h2 { margin: 0 0 12px; font-size: 18px; color: var(--gold-2); }
.lbl { display: block; font-weight: 800; margin-bottom: 6px; }
input, select {
  font: inherit; font-size: 16px; width: 100%; padding: 11px 12px; border-radius: 10px;
  border: 1px solid rgba(201, 164, 92, .35); background: #0b1322; color: var(--text);
}
select option { color: #000; background: #fff; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row > label { flex: 1; min-width: 90px; font-weight: 800; font-size: 13px; color: var(--muted); }
.row > label select { margin-top: 4px; }
.row > .btn.big { flex: 1; }
.check { display: flex; gap: 8px; align-items: center; margin-top: 12px; color: var(--muted); font-weight: 700; }
.check input { width: auto; }
.tlist { display: flex; flex-direction: column; gap: 8px; }
.trow { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .04); padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .06); }
.trow .grow { flex: 1; min-width: 0; }
.trow b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow small { color: var(--muted); }
.seats { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.seats li { background: rgba(255, 255, 255, .05); border-radius: 10px; padding: 10px 12px; font-weight: 800; }
.seats li.empty { color: var(--muted); font-style: italic; font-weight: 600; }
.invite { display: flex; gap: 8px; }

/* =================================================================== JOC */
#game {
  height: 100dvh; overflow: hidden; display: grid; gap: 8px;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  padding: calc(env(safe-area-inset-top) + 8px) 12px calc(env(safe-area-inset-bottom) + 8px);
}

/* bara de sus */
.g-top { display: flex; align-items: center; gap: 10px; }
.g-top-right { display: flex; gap: 8px; margin-left: auto; }
.gbtn {
  position: relative; width: 46px; height: 46px; border-radius: 12px; cursor: pointer; color: var(--gold-2);
  border: 1.5px solid var(--gold); background: linear-gradient(180deg, #2a1d0c, #120c04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 3px 8px rgba(0, 0, 0, .5); display: grid; place-items: center;
}
.gbtn svg { width: 24px; height: 24px; }
.gbtn .fs-off { display: none; }
body.is-fs .gbtn .fs-on { display: none; } body.is-fs .gbtn .fs-off { display: block; }
.fs-tip { position: fixed; left: 50%; top: 64px; transform: translateX(-50%); z-index: 40; display: flex; gap: 10px; align-items: center;
  background: #0b1322; border: 1px solid var(--gold); border-radius: 12px; padding: 8px 10px 8px 14px; font-weight: 800; font-size: 14px; box-shadow: 0 8px 20px rgba(0, 0, 0, .6); white-space: nowrap; }
.burger { display: grid; gap: 4px; } .burger i { display: block; width: 20px; height: 3px; border-radius: 2px; background: var(--gold-2); }
.g-pill {
  margin: 0 auto; display: flex; gap: 12px; align-items: baseline; padding: 8px 22px; border-radius: 999px;
  background: linear-gradient(180deg, #151515, #050505); border: 1.5px solid var(--gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .5); font-weight: 900; font-size: 17px; white-space: nowrap;
}
.g-pill b { color: var(--gold-2); }
.g-pill { min-width: 0; overflow: hidden; }
#game { width: 100%; max-width: 100vw; }
.g-top { min-width: 0; }

/* zona centrală: coloane laterale + masa */
.g-main { min-height: 0; display: grid; grid-template-columns: minmax(180px, 250px) minmax(0, 1fr) minmax(180px, 250px); gap: 12px; }
.g-side { min-height: 0; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.cards { display: flex; flex-direction: column; gap: 10px; }
.panel {
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--gold-dim); border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 6px 16px rgba(0, 0, 0, .4);
}
.panel-lbl { font-weight: 900; letter-spacing: 1px; color: var(--gold-2); font-size: 13px; text-align: center; }
.panel-val { font-weight: 900; font-size: 24px; text-align: center; letter-spacing: 1px; }
.info-panel { padding: 10px; }
.clock { display: flex; align-items: center; justify-content: center; gap: 8px; }
.clock svg { width: 26px; height: 26px; color: var(--text); }
#timerPanel.low .clock { color: var(--neg); } #timerPanel.low .clock svg { color: var(--neg); }
.atu-panel { padding: 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: auto; }
.atu-big { font-family: 'Archivo Black', 'Arial Black', Arial, sans-serif; font-weight: 900; font-synthesis: none; font-size: 46px; line-height: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.atu-big i { width: 12px; height: 12px; border-radius: 50%; background: currentColor; }
.atu-big.c0 { color: #ff4a4f; } .atu-big.c1 { color: #ffb21f; } .atu-big.c2 { color: #3f86ff; } .atu-big.c3 { color: #f3eee4; }

/* carduri jucători */
.pcard {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--gold-dim); border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 6px 16px rgba(0, 0, 0, .4); transition: box-shadow .2s, border-color .2s;
}
.pcard.turn { border-color: var(--gold-2); box-shadow: 0 0 0 2px rgba(232, 199, 123, .5), 0 0 22px rgba(232, 199, 123, .35); }
.pcard.me { background: linear-gradient(180deg, #1c2c47, #121d31); }
.avatar {
  position: relative; flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; font-size: 22px; color: #fff; border: 2.5px solid var(--gold); text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
}
.avatar .on { position: absolute; left: -1px; bottom: 1px; width: 14px; height: 14px; border-radius: 50%; background: var(--pos); border: 2px solid var(--panel); }
.avatar .on.off { background: #7a7f88; }
.avatar .bot { position: absolute; right: -4px; bottom: -3px; font-size: 16px; text-shadow: none; }
.pinfo { min-width: 0; flex: 1; }
.pname { font-weight: 900; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ppts { font-weight: 800; color: var(--muted); font-size: 14px; margin-top: 3px; }
.ppts b.pos { color: var(--pos); } .ppts b.neg { color: var(--neg); } .ppts b { color: var(--text); }
.pmeta { font-size: 12px; color: var(--muted); font-weight: 700; margin-top: 2px; }
.pmeta .laid { color: var(--pos); }
.pdisc { flex: none; }
.pcard .ptimer { position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px; overflow: hidden; }
.pcard .ptimer i { display: block; height: 100%; background: var(--gold-2); }

/* masa verde */
.table-wrap { min-height: 0; display: flex; }
.felt {
  position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px;
  border-radius: 36px; overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, .06), transparent 65%),
    repeating-radial-gradient(circle at 30% 30%, rgba(0, 0, 0, .035) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at 50% 45%, var(--felt-1), var(--felt-2));
  border: 4px solid #b8893b;
  box-shadow: 0 0 0 2px #5a3d12, inset 0 0 0 2px rgba(255, 220, 150, .25), inset 0 0 40px rgba(0, 0, 0, .55), 0 12px 30px rgba(0, 0, 0, .6);
}
.watermark {
  position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); pointer-events: none; text-align: center;
  font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 64px; letter-spacing: 6px;
  color: rgba(0, 0, 0, .18); text-shadow: 0 1px 0 rgba(255, 255, 255, .06); line-height: 1;
}
.watermark small { display: block; font-size: 13px; letter-spacing: 3px; margin-top: 4px; text-transform: uppercase; }
.pile-row { position: relative; display: flex; justify-content: center; align-items: center; gap: 36px; padding-top: 4px; }
.deck { position: relative; cursor: pointer; border-radius: 8px; }
.card-back {
  width: calc(var(--mw) * 2); height: calc(var(--mw) * 2.7); border-radius: 7px; display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 7px),
    linear-gradient(160deg, var(--back-1, #2a4f9e), var(--back-2, #16326e));
  border: 3px solid #f1eee6; outline: 1.5px solid #9fb5e3; outline-offset: -8px;
  box-shadow: 0 2px 0 #d9d5ca, 0 4px 0 #bcb7aa, 0 6px 0 #d9d5ca, 0 8px 0 #bcb7aa, 0 12px 16px rgba(0, 0, 0, .5);
}
.card-back span { font-family: Georgia, serif; font-weight: 700; font-size: calc(var(--mw) * .42); color: #e8eefc; letter-spacing: 1px; background: var(--back-2, #1b3a7f); padding: 2px 5px; border-radius: 30%; border: 1px solid #9fb5e3; }
.deck b { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); font-size: 12px; background: #0b1322; border: 1px solid var(--gold-dim); border-radius: 999px; padding: 1px 8px; color: var(--gold-2); }
.deck.can .card-back { animation: glow 1.2s infinite; }
@keyframes glow { 0%,100% { filter: drop-shadow(0 0 0 rgba(255, 215, 110, .0)); } 50% { filter: drop-shadow(0 0 10px rgba(255, 215, 110, .9)); } }
.take { min-width: calc(var(--mw) * 1.4); min-height: calc(var(--mw) * 1.9); display: grid; place-items: center; border-radius: 8px; }
.take .tile { --tw: calc(var(--mw) * 1.4); }
.take.can { cursor: pointer; animation: glow 1.2s infinite; }
.take .empty { width: calc(var(--mw) * 1.4); height: calc(var(--mw) * 1.9); border-radius: 7px; border: 2px dashed rgba(255, 255, 255, .15); }
.hint-pill {
  align-self: center; max-width: 100%; text-align: center; padding: 7px 18px; border-radius: 10px;
  background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .12); color: #cfe6c9;
  font-weight: 900; letter-spacing: .6px; text-transform: uppercase; font-size: 14px;
}
.hint-pill.good { color: #9dff9f; border-color: rgba(120, 255, 130, .35); }
.hint-pill.bad { color: #ffb39f; border-color: rgba(255, 140, 110, .35); }
.melds { position: relative; flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 8px; padding: 4px 2px; }
.mgroup { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.mgroup .owner { width: 100%; font-size: 11px; font-weight: 900; color: rgba(255, 255, 255, .55); text-transform: uppercase; letter-spacing: .8px; }
.meld { display: flex; padding: 3px; border-radius: 8px; cursor: pointer; border: 2px dashed transparent; transition: background .15s, border-color .15s; }
.meld.target { border-color: var(--gold-2); background: rgba(255, 215, 110, .15); }
.meld.suggest { border-color: #b98cff; background: rgba(160, 110, 255, .18); }
.meld.new { outline: 2px solid rgba(157, 255, 159, .55); outline-offset: 1px; }
.meld.flash { animation: flash .9s; }
@keyframes flash { from { background: rgba(255, 215, 110, .45); } }
.empty-table { margin: auto; color: rgba(255, 255, 255, .55); font-weight: 700; text-align: center; font-size: 14px; }

/* ---------- piese ---------- */
.tile {
  width: var(--tw); height: calc(var(--tw) * 1.36); flex: none; border-radius: calc(var(--tw) * .1); position: relative;
  background: linear-gradient(180deg, #fffdf7 0%, var(--tile) 45%, var(--tile-2) 100%);
  box-shadow: 0 3px 0 var(--tile-edge), 0 5px 8px rgba(0, 0, 0, .45), inset 0 1px 0 #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: calc(var(--tw) * .12);
  font-family: 'Archivo Black', 'Arial Black', Arial, 'Liberation Sans', sans-serif; font-weight: 900; font-synthesis: none;
  font-size: calc(var(--tw) * .62); line-height: 1; letter-spacing: -.04em;
  user-select: none; -webkit-user-select: none; touch-action: none; transition: transform .12s, translate .2s cubic-bezier(.22, .8, .25, 1);
}
/* adâncitura rotundă de sub cifră */
.tile::after {
  content: ''; position: absolute; left: 50%; bottom: calc(var(--tw) * .1); transform: translateX(-50%);
  width: 38%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #e4dccb, #f7f3ea 70%);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, .28), 0 1px 0 #fff;
}
.tile.c0 { color: var(--c-red); } .tile.c1 { color: var(--c-yellow); }
.tile.c2 { color: var(--c-blue); } .tile.c3 { color: var(--c-black); }
.tile.joker { justify-content: flex-start; padding-top: calc(var(--tw) * .1); }
.tile.joker svg { width: 82%; height: auto; }
.tile.joker::after { display: block; }
.tile.atu::before {
  content: '★'; position: absolute; top: 2px; right: 3px; font-family: Arial, sans-serif;
  font-size: calc(var(--tw) * .22); color: #e0a000; text-shadow: 0 0 1px #7a5b00;
}
.tile.sm { --tw: var(--mw); box-shadow: 0 2px 0 var(--tile-edge), 0 3px 5px rgba(0, 0, 0, .4), inset 0 1px 0 #fff; }
.tile.sm + .tile.sm { margin-left: 1px; }
.tile.rep small.rep { position: absolute; bottom: calc(var(--tw) * .16); font-family: Inter, sans-serif; font-weight: 900; font-size: 8px; color: #777; letter-spacing: 0; }
.tile.sel { transform: translateY(-8px); box-shadow: 0 3px 0 var(--tile-edge), 0 0 0 3px #ffd54a, 0 12px 16px rgba(0, 0, 0, .5); }
.tile.hintsel { box-shadow: 0 3px 0 var(--tile-edge), 0 0 0 3px #b98cff, 0 5px 8px rgba(0, 0, 0, .45); }
.tile.fresh { box-shadow: 0 3px 0 var(--tile-edge), 0 0 0 3px rgba(87, 211, 107, .9), 0 5px 8px rgba(0, 0, 0, .45); }
.tile.must { box-shadow: 0 3px 0 var(--tile-edge), 0 0 0 3px var(--neg), 0 5px 8px rgba(0, 0, 0, .45); }
.tile.ghost { position: fixed; left: 0; top: 0; margin: 0; z-index: 100; pointer-events: none; transform: scale(1.04); transition: none; will-change: translate;
  box-shadow: 0 3px 0 var(--tile-edge), 0 10px 18px rgba(0, 0, 0, .5), inset 0 1px 0 #fff; animation: tileLift .1s ease-out; }
@keyframes tileLift { from { transform: scale(1); } }
.tile.placeholder { opacity: .25; transition: opacity .12s; }
.tile.placeholder.lifted { opacity: 0; }

/* ---------- suportul de lemn cu două rânduri ---------- */
.rack-area { display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr) minmax(120px, 190px); gap: 12px; align-items: center; }
.rack-area > .side-btn:first-child { justify-self: end; width: 100%; }
.rackbox { justify-self: center; min-width: 0; max-width: 100%; }
/* suportul: două polițe de lemn lăcuit, cea din spate puțin mai îngustă, cu capete metalice */
.rack { --gap: 6px; --cap: 16px; display: flex; flex-direction: column; }
.tier {
  position: relative; display: grid; grid-template-columns: repeat(var(--cols, 12), var(--tw)); column-gap: var(--gap);
  justify-content: center; padding: 7px calc(var(--cap) + 10px) 11px;
  background:
    linear-gradient(180deg, rgba(255, 225, 180, .45), transparent 3px),
    linear-gradient(180deg, transparent calc(100% - 15px), #e39445 calc(100% - 15px), #c06d27 calc(100% - 11px), #8a4814 calc(100% - 4px), #5a2d0a 100%),
    repeating-linear-gradient(90deg, rgba(70, 30, 0, .09) 0 2px, transparent 2px 15px, rgba(255, 210, 150, .06) 15px 16px, transparent 16px 29px),
    linear-gradient(180deg, #c7782f 0%, #a55e20 55%, #8c4a16 100%);
  border-radius: 7px 7px 5px 5px;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .4), 0 8px 14px rgba(0, 0, 0, .55);
}
.tier.back { margin: 0 calc(var(--cap) + 4px); z-index: 1; }
.tier.front { margin-top: -3px; z-index: 2; }
.tier::before, .tier::after {
  content: ''; position: absolute; top: -3px; bottom: -3px; width: var(--cap); border-radius: 5px;
  background:
    radial-gradient(circle at 50% 50%, #3a3a3e 0 2.5px, #9a9aa0 3px, transparent 3.6px),
    linear-gradient(90deg, #5d5d62, #e6e6ea 35%, #b9b9bf 60%, #6a6a70);
  box-shadow: 0 3px 6px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.tier::before { left: -2px; } .tier::after { right: -2px; }
.tier .slot { align-self: end; }
.slot { width: var(--tw); height: var(--th); border-radius: 6px; position: relative; }
.slot.drop { background: rgba(255, 230, 150, .25); box-shadow: inset 0 0 0 2px rgba(255, 230, 150, .7); }

/* butoanele laterale ale suportului */
.side-btn {
  position: relative; height: 58px; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 900; font-size: 17px; color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px;
  border: 1.5px solid rgba(255, 255, 255, .35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 4px 0 rgba(0, 0, 0, .45), 0 8px 16px rgba(0, 0, 0, .4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .4); transition: transform .08s, filter .15s;
}
.side-btn svg { width: 24px; height: 24px; flex: none; }
.side-btn:active:not(:disabled) { transform: translateY(2px); }
.side-btn:disabled { filter: grayscale(.7) brightness(.55); cursor: default; }
.side-btn.red { background: linear-gradient(180deg, #ec6a3f, #b8341b); }
.side-btn.green { background: linear-gradient(180deg, #4fbf5e, #267a33); }
.side-btn.hot { outline: 3px solid #ffd54a; filter: brightness(1.15); }
.side-btn em { position: absolute; left: 50%; top: -18px; transform: translateX(-50%); font-style: normal; }
.side-btn em .tile { --tw: 22px; }
.pill-atu { display: none; align-items: center; gap: 6px; color: var(--muted); font-size: .85em; }
.pill-atu .tile { --tw: 17px; font-size: 11px; padding-top: 1px; }
.pill-atu .tile::after { width: 30%; bottom: 1px; }

/* butoanele de jos */
.g-bottom { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.gbtn3 {
  min-width: 180px; height: 54px; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 900; font-size: 18px; color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 18px;
  border: 1.5px solid rgba(255, 255, 255, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 0 rgba(0, 0, 0, .5), 0 8px 16px rgba(0, 0, 0, .4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45); transition: transform .08s, filter .15s;
}
.gbtn3 svg { width: 26px; height: 26px; flex: none; }
.gbtn3:hover:not(:disabled) { filter: brightness(1.1); }
.gbtn3:active:not(:disabled) { transform: translateY(2px); }
.gbtn3:disabled { filter: grayscale(.8) brightness(.5); cursor: default; }
.gbtn3.purple { background: linear-gradient(180deg, #7a4bb8, #4b2a7c); border-color: #a987e0; }
.gbtn3.blue { background: linear-gradient(180deg, #3469c0, #1a3f80); border-color: #7fa4e6; }
.gbtn3.dark { background: linear-gradient(180deg, #3fa34d, #23702e); border-color: #86d98f; }
.gbtn3.dark:disabled { background: linear-gradient(180deg, #3a3f47, #25292f); border-color: #555b64; filter: none; opacity: .75; }
.gbtn3.brown { background: linear-gradient(180deg, #8f6224, #5c3c12); border-color: var(--gold); }

/* ---------- chat ---------- */
.chat {
  position: fixed; right: 12px; top: 66px; width: min(340px, calc(100vw - 24px)); max-height: 60vh; z-index: 30;
  background: #0f1828f5; border: 1px solid var(--gold-dim); border-radius: 14px; padding: 10px;
  display: flex; flex-direction: column; gap: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
}
.chat-log { flex: 1; overflow: auto; font-size: 14px; min-height: 80px; }
.chat-log p { margin: 3px 0; } .chat-log b { color: var(--gold-2); }
.chat form { display: flex; gap: 6px; } .chat form input { padding: 8px 10px; }
.game-log { font-size: 12px; color: var(--muted); max-height: 110px; overflow: auto; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 6px; }
.game-log p { margin: 2px 0; }

/* ---------- modal + toast ---------- */
.modal { position: fixed; inset: 0; background: rgba(3, 6, 12, .7); display: grid; place-items: center; z-index: 50; padding: 16px; }
.modal-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1.5px solid var(--gold); color: var(--text);
  border-radius: 16px; padding: 18px; width: min(560px, 100%); max-height: 88vh; overflow: auto; box-shadow: 0 20px 50px rgba(0, 0, 0, .7);
}
.modal-card h2, .modal-card h3 { margin-top: 0; color: var(--gold-2); }
.menu-list { display: grid; gap: 8px; }
.menu-list .btn { text-align: left; }
.tscroll { overflow-x: auto; }
.score-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.score-table th, .score-table td { padding: 7px 6px; text-align: right; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.score-table th { color: var(--gold-2); }
.score-table th:first-child, .score-table td:first-child { text-align: left; }
.hand-left { display: flex; flex-wrap: wrap; gap: 2px; margin: 4px 0 10px; }
.rules { font-size: 14px; line-height: 1.5; }
.rules h3 { margin: 14px 0 4px; font-size: 15px; }
.rules ul { padding-left: 18px; margin: 4px 0; }
.choice { display: flex; gap: 8px; margin-top: 12px; }
.choice .btn { flex: 1; }
.toast {
  position: fixed; left: 50%; bottom: 150px; transform: translateX(-50%); z-index: 60;
  background: #0b1322; border: 1px solid var(--gold); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 800; font-size: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .6); max-width: calc(100vw - 32px); text-align: center;
}
.toast.error { background: #6e1d12; border-color: #ff8a70; }

/* =================================================================== responsive */
/* ecrane medii */
@media (max-width: 1180px) {
  .g-main { grid-template-columns: minmax(150px, 200px) minmax(0, 1fr) minmax(150px, 200px); }
  .avatar { width: 46px; height: 46px; font-size: 18px; }
  .pcard { gap: 8px; padding: 8px; }
  .pname { font-size: 14px; }
  .gbtn3 { min-width: 140px; font-size: 16px; }
  .rack-area { grid-template-columns: 120px minmax(0, 1fr) 120px; }
  .side-btn { font-size: 15px; }
}
/* telefon în landscape (înălțime mică) */
@media (max-height: 560px) and (orientation: landscape) {
  :root { --mw: 22px; }
  .pile-row { gap: 20px; padding-top: 0; }
  .card-back { width: calc(var(--mw) * 1.5); height: calc(var(--mw) * 2); outline-offset: -5px; }
  .card-back span { font-size: 8px; padding: 1px 3px; }
  .take .tile { --tw: calc(var(--mw) * 1.3); }
  .deck b { bottom: -9px; font-size: 10px; }
  #game { gap: 5px; padding-top: calc(env(safe-area-inset-top) + 4px); padding-bottom: calc(env(safe-area-inset-bottom) + 4px); }
  .gbtn { width: 36px; height: 36px; } .gbtn svg { width: 20px; height: 20px; }
  .g-pill { padding: 4px 14px; font-size: 14px; }
  .g-main { grid-template-columns: 150px minmax(0, 1fr) 150px; gap: 8px; }
  .cards { gap: 6px; } .g-side { gap: 6px; }
  .avatar { width: 34px; height: 34px; font-size: 14px; border-width: 2px; }
  .pcard { padding: 5px 7px; border-radius: 10px; }
  .pname { font-size: 13px; } .ppts, .pmeta { font-size: 11px; } .pdisc { display: none; }
  .panel-val { font-size: 18px; } .atu-big { font-size: 30px; } .info-panel { padding: 5px; }
  .felt { border-radius: 22px; padding: 8px 10px; } .watermark { font-size: 40px; }
  .g-side .panel { display: none; } .pill-atu { display: inline-flex; }
  .side-btn em { display: none; }
  .hint-pill { font-size: 11px; padding: 4px 10px; }
  .rack { --gap: 4px; --cap: 12px; }
  .tier { padding: 5px calc(var(--cap) + 6px) 9px; }
  .rack-area { grid-template-columns: 96px minmax(0, 1fr) 96px; gap: 8px; }
  .side-btn { height: 44px; font-size: 13px; padding: 0 6px; } .side-btn svg { display: none; }
  .gbtn3 { height: 38px; min-width: 110px; font-size: 14px; } .gbtn3 svg { width: 20px; height: 20px; }
  .g-bottom { gap: 8px; }
}
/* telefon în portret */
@media (max-width: 760px) and (orientation: portrait), (max-width: 600px) {
  #game { padding: calc(env(safe-area-inset-top) + 6px) 6px calc(env(safe-area-inset-bottom) + 6px); gap: 6px; }
  .gbtn { width: 38px; height: 38px; } .gbtn svg { width: 20px; height: 20px; }
  .g-pill { padding: 5px 10px; font-size: 12px; gap: 6px; }
  #btnScores { display: none; }
  .g-top { gap: 6px; } .g-top-right { gap: 6px; }
  .fs-tip { top: 54px; font-size: 13px; }
  .g-main { grid-template-columns: 1fr 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 6px; }
  .g-left, .g-right { flex-direction: row; overflow: visible; }
  .g-left .cards, .g-right .cards { flex: 1; min-width: 0; }
  .g-left { grid-column: 1; grid-row: 1; } .g-right { grid-column: 2; grid-row: 1; }
  .table-wrap { grid-column: 1 / -1; grid-row: 2; }
  .g-side .panel { display: none; } .pill-atu { display: inline-flex; }
  .side-btn em { display: none; }
  .atu-panel { margin-top: 0; padding: 4px 8px; }
  .atu-big { font-size: 22px; gap: 3px; } .atu-big i { width: 7px; height: 7px; }
  .g-right .info-panel { display: none; }
  .pcard.me { display: none; }
  .avatar { width: 30px; height: 30px; font-size: 13px; border-width: 2px; }
  .avatar .on { width: 10px; height: 10px; } .avatar .bot { font-size: 12px; }
  .pcard { padding: 5px 6px; gap: 6px; border-radius: 10px; }
  .pname { font-size: 12px; } .ppts, .pmeta { font-size: 10.5px; margin-top: 1px; } .pdisc { display: none; }
  .panel-lbl { font-size: 10px; }
  .felt { border-radius: 20px; padding: 8px; border-width: 3px; } .watermark { font-size: 38px; }
  .pile-row { gap: 22px; }
  .hint-pill { font-size: 11px; padding: 4px 10px; letter-spacing: .2px; }
  .rack-area { grid-template-columns: 1fr 1fr; gap: 6px; }
  .rackbox { grid-column: 1 / -1; grid-row: 1; }
  .rack { --gap: 3px; --cap: 10px; }
  .tier { padding: 4px calc(var(--cap) + 4px) 8px; }
  .tier.back { margin: 0 calc(var(--cap) + 2px); }
  .side-btn { height: 40px; font-size: 14px; } .side-btn svg { width: 18px; height: 18px; }
  .g-bottom { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .gbtn3 { min-width: 0; height: 44px; font-size: 11.5px; flex-direction: column; gap: 1px; padding: 0 4px; }
  .gbtn3 svg { width: 18px; height: 18px; }
  .toast { bottom: 120px; }
}

/* ---------- efecte ---------- */
.fly-back { position: fixed; z-index: 90; pointer-events: none; border-radius: 6px;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.1) 0 2px, transparent 2px 7px), linear-gradient(160deg, #2a4f9e, #16326e);
  border: 2px solid #f1eee6; box-shadow: 0 6px 14px rgba(0,0,0,.5); }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 70; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 2px; animation: confetti-fall linear forwards; }
@keyframes confetti-fall { to { transform: translateY(110vh) rotate(720deg); opacity: .8; } }
.rack-area.myturn .tier { box-shadow: inset 0 -1px 0 rgba(0,0,0,.4), 0 8px 14px rgba(0,0,0,.55), 0 0 0 2px rgba(232,199,123,.55), 0 0 22px rgba(232,199,123,.35); }
.rack-area.myturn .tier.back { box-shadow: inset 0 -1px 0 rgba(0,0,0,.4), 0 8px 14px rgba(0,0,0,.55); }
@media (prefers-reduced-motion: reduce) { .confetti { display: none; } }

/* ---------- conturi ---------- */
.acct-cta { margin-top: 12px; display: grid; gap: 8px; }
.acct-cta .row .btn { flex: 1; }
.acct-head { display: flex; align-items: center; gap: 12px; }
.acct-head .grow { flex: 1; min-width: 0; }
.acct-head b { font-size: 18px; }
.verify-note { margin-top: 10px; font-size: 13px; color: #ffd27a; background: rgba(255, 200, 80, .08); border: 1px solid rgba(255, 200, 80, .25); padding: 8px 10px; border-radius: 10px; }
.lb-head { display: flex; align-items: center; justify-content: space-between; } .lb-head h2 { margin: 0; }
.lb-list { display: grid; gap: 6px; margin-top: 10px; }
.lb-row { display: grid; grid-template-columns: 32px 40px 1fr auto; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; background: rgba(255,255,255,.03); cursor: pointer; }
.lb-row.me { background: rgba(232,199,123,.12); outline: 1px solid var(--gold-dim); }
.lb-row .rk { font-weight: 900; color: var(--muted); text-align: center; }
.lb-row .rk.top { color: var(--gold-2); font-size: 18px; }
.lb-row .nm { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-row .nm small { display: block; color: var(--muted); font-weight: 700; }
.lb-row .pts { font-weight: 900; color: var(--gold-2); }
.lb-row .avatar { width: 36px; height: 36px; font-size: 14px; border-width: 2px; }
.tabs { display: flex; gap: 6px; margin: 6px 0 12px; }
.tabs .btn { flex: 1; padding: 8px; }
.tabs .btn.on { background: linear-gradient(180deg, #8f6224, #5c3c12); border-color: var(--gold); }
.form { display: grid; gap: 10px; }
.form label { font-weight: 800; font-size: 13px; color: var(--muted); display: grid; gap: 4px; }
.form .err { color: #ff9a87; font-weight: 800; font-size: 14px; min-height: 1em; }
.form .links { display: flex; justify-content: space-between; font-size: 14px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.stat { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 10px; text-align: center; }
.stat b { display: block; font-size: 22px; color: var(--gold-2); }
.stat span { font-size: 12px; color: var(--muted); font-weight: 700; }
.av-pick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 8px 0 4px; }
.av-pick .avatar { width: 44px; height: 44px; cursor: pointer; opacity: .55; }
.av-pick .avatar.on { opacity: 1; box-shadow: 0 0 0 3px var(--gold-2); }
.hist { width: 100%; font-size: 14px; border-collapse: collapse; }
.hist td { padding: 6px 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
.hist td:last-child { text-align: right; font-weight: 900; }
.pcard .member { color: var(--gold-2); font-size: 11px; }

/* ---------- tutorial ---------- */
.tut-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-color: rgba(87, 211, 107, .45); }
.tut-panel { position: fixed; z-index: 45; left: 50%; top: 68px; transform: translateX(-50%); width: min(560px, calc(100vw - 20px));
  background: linear-gradient(180deg, #1c2c47, #101a2b); border: 2px solid var(--gold-2); border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 14px 34px rgba(0,0,0,.6); font-size: 15px; line-height: 1.45; pointer-events: none; opacity: .97; }
.tut-panel .tut-btns { pointer-events: auto; }
.tut-panel b { color: var(--gold-2); }
.tut-panel .step { font-size: 11px; font-weight: 900; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.tut-btns { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; flex-wrap: wrap; }
.tut-btns .btn { padding: 8px 14px; font-size: 14px; }
.tut-hl { position: relative; z-index: 5; animation: tutpulse 1.1s ease-in-out infinite; }
.tile.tut-hl { box-shadow: 0 3px 0 var(--tile-edge), 0 0 0 4px #57d36b, 0 0 18px #57d36b !important; }
@keyframes tutpulse { 0%,100% { outline: 3px solid rgba(87,211,107,.95); outline-offset: 2px; } 50% { outline: 3px solid rgba(87,211,107,.2); outline-offset: 6px; } }
@media (max-width: 760px) and (orientation: portrait) { .tut-panel { top: 52px; font-size: 13.5px; padding: 10px 12px; } }
@media (max-height: 560px) and (orientation: landscape) { .tut-panel { top: 46px; font-size: 13px; padding: 8px 12px; width: min(520px, 60vw); } }

/* ---------------- monede, bonus zilnic, magazin, reclame ---------------- */
.coins { display: inline-flex; align-items: center; gap: 5px; font-weight: 900; color: var(--gold-2); background: #0b1322; border: 1px solid var(--gold-dim);
  border-radius: 999px; padding: 3px 10px 3px 4px; white-space: nowrap; }
.coin { width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; color: #6b4a0e; font-weight: 900;
  background: radial-gradient(circle at 35% 30%, #fff1b8, #e8b93c 55%, #a8761a); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25), 0 1px 2px rgba(0, 0, 0, .4); }
.coin::before { content: 'R'; }
.coin.big { width: 34px; height: 34px; font-size: 18px; }
.eco-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.eco-row .grow { flex: 1; }
.btn.gift { background: linear-gradient(180deg, #e8b93c, #a8761a); border-color: #ffe08a; color: #2a1a00; }
.btn.gift.pulse { animation: giftPulse 1.4s infinite; }
@keyframes giftPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255, 215, 110, .6); } 50% { box-shadow: 0 0 0 7px rgba(255, 215, 110, 0); } }
.daily-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 14px 0; }
.daily-grid div { text-align: center; padding: 8px 2px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); font-weight: 900; font-size: 13px; }
.daily-grid div small { display: block; color: var(--muted); font-size: 11px; font-weight: 800; }
.daily-grid div.done { opacity: .55; }
.daily-grid div.today { border-color: var(--gold-2); background: rgba(232, 199, 123, .15); box-shadow: 0 0 14px rgba(232, 199, 123, .35); }
.daily-grid .coin { display: grid; margin: 4px auto; }
@media (max-width: 480px) { .daily-grid { gap: 4px; } .daily-grid div { padding: 6px 1px; font-size: 12px; } .daily-grid div small { font-size: 9px; } }
.shop-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 12px; }
.shop-item { border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 10px; text-align: center; background: rgba(255, 255, 255, .04); display: flex; flex-direction: column; gap: 6px; }
.shop-item.eq { border-color: var(--gold-2); box-shadow: 0 0 0 1px var(--gold-2) inset; }
.shop-item .nm { font-weight: 900; font-size: 13px; }
.shop-item .btn { padding: 6px 8px; font-size: 13px; }
.prev { height: 64px; border-radius: 10px; display: grid; place-items: center; }
.prev.theme { border: 3px solid #b8893b; }
.prev.back > i { width: 38px; height: 52px; border-radius: 5px; border: 2px solid #f1eee6; display: block;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .1) 0 2px, transparent 2px 6px), linear-gradient(160deg, var(--a), var(--b)); }
.prev .avatar { width: 46px; height: 46px; font-size: 17px; }
.avatar.framed { border-color: transparent; }
.avatar .frm { position: absolute; inset: -5px; border-radius: 50%; pointer-events: none; padding: 3px;
  background: conic-gradient(from 210deg, var(--fa), var(--fb), var(--fa), var(--fb), var(--fa));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.avatar .frm.diamond { animation: frmSpin 6s linear infinite; filter: drop-shadow(0 0 4px var(--fa)); }
@keyframes frmSpin { to { transform: rotate(360deg); } }
.stake-tag { color: var(--gold-2); font-weight: 900; }
.reward { text-align: center; margin: 10px 0; font-weight: 900; font-size: 18px; color: var(--gold-2); }
.ad-box { margin: 12px auto 0; min-height: 90px; max-width: 100%; text-align: center; border-top: 1px dashed rgba(255, 255, 255, .12); padding-top: 8px; }
.ad-box small { display: block; color: var(--muted); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.ledger { width: 100%; font-size: 13px; border-collapse: collapse; }
.ledger td { padding: 5px 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.ledger td.p { color: var(--pos); font-weight: 900; text-align: right; } .ledger td.n { color: var(--neg); font-weight: 900; text-align: right; }

/* ---------------- prieteni, coduri, invitații, reacții ---------------- */
.friends-btn { width: 100%; margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.friends-btn small { color: var(--muted); font-weight: 800; }
.badge { background: #e5484d; color: #fff; border-radius: 999px; font-size: 12px; padding: 1px 7px; font-weight: 900; }
.code-join { display: flex; gap: 8px; margin-bottom: 12px; }
.code-join input { flex: 1; max-width: 160px; letter-spacing: 4px; font-weight: 900; text-align: center; }
.tcode { margin: 8px 0 12px; padding: 10px 14px; border-radius: 12px; background: rgba(232, 199, 123, .1); border: 1px dashed var(--gold-dim); font-weight: 800; }
.tcode b { font-size: 26px; letter-spacing: 6px; color: var(--gold-2); margin-left: 6px; font-family: 'Archivo Black', Arial, sans-serif; }
.tcode small { display: block; color: var(--muted); font-weight: 700; }
#btnInvite { width: 100%; margin: 4px 0 12px; }
.fr-list { display: flex; flex-direction: column; gap: 6px; max-height: 50vh; overflow: auto; }
.fr-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.fr-row .avatar { width: 42px; height: 42px; font-size: 16px; }
.fr-row .nm { flex: 1; min-width: 0; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.fr-row .nm small { display: block; font-weight: 700; color: var(--muted); font-size: 12px; }
.fr-row .nm small.st-online, .fr-row .nm small.st-waiting { color: var(--pos); } .fr-row .nm small.st-playing { color: var(--gold-2); }
.fr-row .btn { padding: 6px 10px; font-size: 13px; }
.fr-add { display: flex; gap: 8px; margin: 10px 0; } .fr-add input { flex: 1; }
.gbtn .emo { font-size: 20px; line-height: 1; }
.react-pop { position: fixed; z-index: 60; top: 58px; right: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 8px;
  background: #0b1322; border: 1px solid var(--gold); border-radius: 14px; box-shadow: 0 10px 24px rgba(0, 0, 0, .6); }
.react-pop button { font-size: 26px; background: none; border: 0; cursor: pointer; padding: 4px 6px; border-radius: 10px; }
.react-pop button:hover { background: rgba(255, 255, 255, .1); }
.react-bubble { position: absolute; z-index: 70; left: 50%; top: -14px; transform: translateX(-50%); font-size: 34px; pointer-events: none;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5)); animation: reactUp 2.2s ease-out forwards; }
@keyframes reactUp { 0% { opacity: 0; transform: translate(-50%, 10px) scale(.4); } 15% { opacity: 1; transform: translate(-50%, -6px) scale(1.15); }
  70% { opacity: 1; transform: translate(-50%, -16px) scale(1); } 100% { opacity: 0; transform: translate(-50%, -34px) scale(.9); } }
.invite-card { text-align: center; } .invite-card .big { font-size: 40px; }

.pcard.clickable { cursor: pointer; }
.pcard.clickable:hover { border-color: var(--gold); }

/* ---------------- ligi, turneu, insigne ---------------- */
.lg { display: inline-flex; align-items: center; gap: 3px; font-size: .95em; color: var(--lc); font-weight: 900; white-space: nowrap; }
.tour-btn { width: 100%; margin-top: 10px; } .tour-btn small { color: var(--gold-2); margin-left: 6px; }
.tour-info { display: grid; gap: 8px; margin: 10px 0; }
.tour-info div { background: rgba(255, 255, 255, .04); border-radius: 10px; padding: 8px 12px; font-size: 13px; }
.tour-info b { display: block; color: var(--gold-2); } .tour-info span { color: #d6dbe4; }
.tour-me { text-align: center; padding: 10px; margin: 8px 0; border-radius: 12px; background: rgba(232, 199, 123, .1); border: 1px solid var(--gold-dim); font-weight: 800; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.bdg { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--gold-dim); font-size: 13px; }
.bdg span { font-size: 18px; } .bdg i { color: var(--gold-2); font-style: normal; font-weight: 900; }
.reward.small { font-size: 14px; } .reward .pos { color: var(--pos); } .reward .neg { color: var(--neg); }

/* ---------------- nivel, misiuni, realizări ---------------- */
.lvl-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.lvl { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 14px; color: #1a1206;
  background: radial-gradient(circle at 35% 30%, #fff1b8, #e8b93c 60%, #a8761a); box-shadow: 0 2px 4px rgba(0, 0, 0, .4); }
.lvl-bar { flex: 1; height: 9px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.lvl-bar i { display: block; height: 100%; background: linear-gradient(90deg, #e8b93c, #ffe08a); border-radius: 99px; transition: width .6s; }
.lvl-row small { color: var(--muted); font-weight: 800; white-space: nowrap; }
.lvl-row.big .lvl { width: 40px; height: 40px; font-size: 18px; }
.grow-btn { flex: 1; } #btnMissions small { color: var(--gold-2); margin-left: 4px; }
.missions { display: flex; flex-direction: column; gap: 8px; }
.mis { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.mis.done { border-color: rgba(79, 191, 94, .6); background: rgba(79, 191, 94, .1); }
.mis small, .ach small { color: var(--muted); font-size: 12px; font-weight: 700; }
.mcoins { display: flex; align-items: center; gap: 4px; font-weight: 900; color: var(--gold-2); }
.mbar { height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; margin: 5px 0 2px; }
.mbar i { display: block; height: 100%; background: var(--pos); border-radius: 99px; }
.achs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; max-height: 42vh; overflow: auto; }
.ach { padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); text-align: center; opacity: .7; }
.ach.on { opacity: 1; border-color: var(--gold-dim); background: rgba(232, 199, 123, .1); }
.ach .ai { display: block; font-size: 28px; filter: grayscale(1); } .ach.on .ai { filter: none; }
.ach b { display: block; font-size: 13px; margin: 4px 0 2px; } .ach em { display: block; color: var(--pos); font-style: normal; font-weight: 900; font-size: 12px; margin-top: 4px; }

/* ---------------- mese cu boți, căutare jucători ---------------- */
.hlist { display: flex; flex-direction: column; gap: 8px; max-height: 420px; overflow: auto; }
.hrow { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); }
.hrow .grow { min-width: 0; } .hrow b { display: block; line-height: 1.2; }
.hrow small { color: var(--muted); font-weight: 700; }
.havs { display: flex; flex: none; } .havs .avatar { width: 28px; height: 28px; font-size: 10px; border-width: 1.5px; margin-left: -12px; }
.havs .avatar:first-child { margin-left: 0; } .havs .avatar .bot { font-size: 10px; right: -3px; bottom: -3px; }
.hrow .btn { padding: 7px 12px; }
.queue-box { text-align: center; }
.spinner { width: 46px; height: 46px; margin: 4px auto 10px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .12); border-top-color: var(--gold-2); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.bot-style { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); margin: 10px 0; } .bot-style p { margin: 4px 0 0; color: #d6dbe4; }

/* ---------------- masa: formații pe coloane, piese aruncate și pachet jos ---------------- */
.felt { --mw2: 46px; }
.melds.v2 { flex: 1; min-height: 0; display: flex; flex-direction: row; flex-wrap: nowrap; align-items: flex-start; gap: 28px; padding: 4px 4px 2px; overflow-x: auto; overflow-y: hidden; }
.melds.v2 .empty-table { margin: auto; }
.pgroup { display: flex; flex-direction: column; gap: 5px; flex: none; }
.pgroup .phead { font-size: 15px; font-weight: 900; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); white-space: nowrap; }
.pgroup .phead b { color: var(--gold-2); }
.pgroup.me .phead { color: #ffe9a8; }
.pgroup .pmelds { display: grid; grid-auto-flow: column; grid-template-rows: repeat(var(--rows, 4), auto); justify-content: start; align-content: start; justify-items: start; gap: 6px 14px; }
.melds.v2 .meld { padding: 0; border-radius: 6px; border-width: 2px; margin: -2px; }
.melds.v2 .tile.sm, .bottom-zone .tile.sm { --tw: var(--mw2); }
.melds.v2 .tile.sm + .tile.sm { margin-left: 1px; }
.bottom-zone { flex: none; display: flex; flex-direction: column; gap: 10px; padding: 6px 2px 2px; }
.dstrip { display: flex; align-items: center; justify-content: flex-start; min-height: calc(var(--mw2) * 1.36 + 14px); padding: 6px 8px; border: 2px dashed rgba(255, 255, 255, .22); border-radius: 10px; overflow: hidden; }
.dstrip .dold { display: flex; gap: 2px; justify-content: flex-end; min-width: 0; overflow: hidden; flex: 0 1 auto; }
.dstrip .dold .tile { flex: none; }
.dstrip .take { min-width: 0; min-height: 0; margin-left: 2px; flex: none; display: block; border-radius: 6px; }
.dstrip .take.can .tile { cursor: pointer; box-shadow: 0 0 0 3px var(--gold-2), 0 0 18px rgba(255, 215, 110, .85); animation: glow 1.2s infinite; }
.stacks { display: flex; align-items: flex-end; cursor: default; align-self: flex-start; }
.stacks .stk { display: flex; align-items: flex-end; gap: 2px; padding-bottom: 9px; }
.stack, .stacks .atu-top { width: var(--mw2); height: calc(var(--mw2) * 1.36); border-radius: calc(var(--mw2) * .1); flex: none;
  box-shadow: 0 3px 0 #cfc6b1, 0 6px 0 #e9e2d1, 0 9px 0 #cfc6b1, 0 12px 10px rgba(0, 0, 0, .45), inset 0 1px 0 #fff; }
.stack { background: linear-gradient(180deg, #fffdf7, #e9e2d1); }
.stacks .atu-top { outline: 2px solid var(--gold-2); outline-offset: 1px; }
.stacks.can { cursor: pointer; } .stacks.can .stk { animation: glow 1.2s infinite; }
.stacks .cnt { margin: 0 0 10px 14px; font-weight: 900; color: #fff; font-size: 15px; line-height: 1.1; }
.stacks .cnt small { display: block; color: rgba(255, 255, 255, .6); font-size: 11px; font-weight: 800; }
.felt .hint-pill { align-self: center; }
@media (max-width: 760px) and (orientation: portrait), (max-width: 600px) {
  .melds.v2 { gap: 12px; } .pgroup .phead { font-size: 12px; white-space: normal; max-width: 130px; line-height: 1.15; }
  .pgroup .pmelds { gap: 4px 8px; } .dstrip { padding: 4px; } .dstrip .dold { gap: 1px; } .bottom-zone { gap: 8px; }
}
@media (max-height: 560px) and (orientation: landscape) { .bottom-zone { flex-direction: row; align-items: flex-end; gap: 10px; } .dstrip { flex: 1; min-width: 0; } .stacks .cnt { display: none; } }

/* rupt de jos */
.dstrip.rupt-on .dold .tile.rupt-ok { cursor: pointer; }
.dstrip .tile.rhl { transform: translateY(-4px); box-shadow: 0 0 0 2px #9be7ff, 0 6px 12px rgba(0, 0, 0, .45); transition: transform .12s; }

/* joker întors (luat deja o dată) */
.tile.joker.locked { background: repeating-linear-gradient(45deg, rgba(160, 140, 100, .14) 0 3px, transparent 3px 7px), linear-gradient(180deg, #fffdf7, #e7e0cf); }
.tile.joker.locked::after { opacity: .5; }

.vol { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--muted); padding: 4px 2px; } .vol input { flex: 1; accent-color: var(--gold-2); }

/* =================================================================== masa v3: jucătorii pe postav, butoane jos, fără coloane laterale */
.g-top { justify-content: flex-start; }
.g-top .g-pill { margin: 0 0 0 auto; }
.g-top .g-tools { margin-left: 0; margin-right: auto; }
.g-main { display: flex; }
.g-main .table-wrap { flex: 1; min-width: 0; }
.seats-bar { display: flex; flex-wrap: wrap; gap: 8px 10px; justify-content: center; position: relative; z-index: 2; }
.seats-bar .pcard { padding: 5px 10px 6px 6px; gap: 8px; border-radius: 12px; min-width: 0; max-width: 260px; flex: 0 1 auto;
  background: rgba(8, 20, 12, .55); border-color: rgba(255, 255, 255, .14); box-shadow: 0 3px 10px rgba(0, 0, 0, .35); backdrop-filter: blur(2px); }
.seats-bar .pcard.me { background: rgba(20, 34, 60, .7); border-color: rgba(232, 199, 123, .45); }
.seats-bar .pcard.turn { border-color: var(--gold-2); box-shadow: 0 0 0 2px rgba(232, 199, 123, .5), 0 0 18px rgba(232, 199, 123, .35); }
.seats-bar .avatar { width: 40px; height: 40px; font-size: 15px; border-width: 2px; }
.seats-bar .avatar .on { width: 11px; height: 11px; } .seats-bar .avatar .bot { font-size: 13px; }
.seats-bar .pname { font-size: 14px; } .seats-bar .ppts { font-size: 12px; margin-top: 1px; } .seats-bar .pmeta { font-size: 11px; margin-top: 0; }
.seats-bar .pdisc .tile { --tw: 26px; }
.seats-bar .ptimer { left: 10px; right: 10px; bottom: 1px; }
.psec { font-weight: 900; font-size: 18px; color: var(--gold-2); min-width: 0; font-variant-numeric: tabular-nums; }
.psec:empty { display: none; } .psec.low { color: var(--neg); }
.rack-area { display: flex; justify-content: center; }
.rackbox { justify-self: auto; }
.gbtn3.red { background: linear-gradient(180deg, #ec6a3f, #b8341b); border-color: #ff9a7f; }
.gbtn3.green { background: linear-gradient(180deg, #4fbf5e, #267a33); border-color: #86d98f; }
.gbtn3.hot { outline: 3px solid #ffd54a; filter: brightness(1.15); }
.gbtn3 { position: relative; min-width: 150px; }
.gbtn3 em { position: absolute; left: 50%; top: -20px; transform: translateX(-50%); font-style: normal; }
.gbtn3 em .tile { --tw: 22px; }
@media (max-width: 1180px) { .gbtn3 { min-width: 0; padding: 0 14px; } }
@media (max-height: 560px) and (orientation: landscape) {
  .seats-bar { gap: 4px 6px; } .seats-bar .pcard { padding: 3px 7px 4px 4px; } .seats-bar .avatar { width: 28px; height: 28px; font-size: 11px; }
  .seats-bar .pname { font-size: 12px; } .seats-bar .ppts, .seats-bar .pmeta { font-size: 10px; } .seats-bar .pdisc { display: none; }
  .gbtn3 { min-width: 0; padding: 0 10px; }
  .gbtn3 em { display: none; }
}
@media (max-width: 760px) and (orientation: portrait), (max-width: 600px) {
  .g-main { display: flex; }
  .g-top .g-pill { margin-left: 4px; }
  .seats-bar { gap: 4px; justify-content: flex-start; }
  .seats-bar .pcard { padding: 3px 6px 4px 3px; gap: 5px; max-width: calc(50% - 2px); flex: 1 1 calc(50% - 4px); }
  .seats-bar .pcard.me { display: flex; }
  .seats-bar .avatar { width: 26px; height: 26px; font-size: 10px; }
  .seats-bar .pname { font-size: 11.5px; } .seats-bar .ppts, .seats-bar .pmeta { font-size: 10px; } .seats-bar .pdisc { display: none; }
  .psec { font-size: 14px; }
  .g-bottom { grid-template-columns: repeat(6, 1fr); gap: 4px; }
  .gbtn3 { font-size: 10px; height: 46px; padding: 0 2px; }
  .gbtn3 em { display: none; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .felt { gap: 4px; padding: 6px 10px; }
  .seats-bar .pcard { padding: 2px 6px 3px 3px; gap: 5px; } .seats-bar .avatar { width: 22px; height: 22px; font-size: 9px; }
  .seats-bar .ppts { display: none; } .seats-bar .pname { font-size: 11px; }
  .felt .hint-pill { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); z-index: 3; opacity: .92; }
  .bottom-zone { padding-top: 2px; }
}
/* nimic nu are voie să lățească pagina (formațiile se derulează în interiorul mesei) */
.g-main, .g-main .table-wrap, .felt, .melds.v2, .bottom-zone, .rack-area, .g-bottom { min-width: 0; max-width: 100%; }
.felt { width: 100%; }
#game { grid-template-columns: minmax(0, 1fr); }

/* ---------------- jucători pe masă: chenar premium, fără ultima piesă; ceasul turei jos ---------------- */
.seats-bar { gap: 10px 14px; }
.seats-bar .pdisc, .seats-bar .psec { display: none !important; }
.seats-bar .pcard {
  padding: 8px 18px 10px 8px; gap: 12px; border-radius: 16px; min-width: 210px; max-width: 290px;
  background: linear-gradient(160deg, rgba(36, 46, 66, .92), rgba(12, 18, 30, .94));
  border: 1px solid rgba(232, 199, 123, .38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 0 0 1px rgba(0, 0, 0, .35), 0 6px 16px rgba(0, 0, 0, .45);
}
.seats-bar .pcard::before { content: ''; position: absolute; left: 14px; right: 14px; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 226, 160, .7), transparent); }
.seats-bar .pcard.me { background: linear-gradient(160deg, rgba(48, 40, 78, .94), rgba(18, 16, 36, .95)); border-color: rgba(232, 199, 123, .6); }
.seats-bar .pcard.turn { border-color: #f3d48a; animation: turnGlow 1.6s ease-in-out infinite; }
@keyframes turnGlow { 0%, 100% { box-shadow: 0 0 0 2px rgba(243, 212, 138, .55), 0 0 14px rgba(243, 212, 138, .3), 0 6px 16px rgba(0, 0, 0, .45); }
  50% { box-shadow: 0 0 0 2px rgba(243, 212, 138, .9), 0 0 26px rgba(243, 212, 138, .55), 0 6px 16px rgba(0, 0, 0, .45); } }
.seats-bar .avatar { width: 50px; height: 50px; font-size: 18px; border-width: 2.5px; box-shadow: 0 0 0 2px rgba(0, 0, 0, .35), 0 4px 10px rgba(0, 0, 0, .45); }
.seats-bar .avatar .on { width: 12px; height: 12px; } .seats-bar .avatar .bot { font-size: 15px; }
.seats-bar .pname { font-size: 15.5px; letter-spacing: .2px; }
.seats-bar .ppts { font-size: 13px; margin-top: 2px; } .seats-bar .ppts b { font-size: 14px; }
.seats-bar .pmeta { font-size: 11.5px; }
.seats-bar .ptimer { left: 16px; right: 16px; bottom: 3px; height: 3px; background: rgba(255, 255, 255, .08); }
.seats-bar .ptimer i { background: linear-gradient(90deg, #f3d48a, #ffecb8); }

.bz-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.turn-clock { --p: 1; position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: linear-gradient(160deg, rgba(36, 46, 66, .92), rgba(12, 18, 30, .94)); border: 1px solid rgba(232, 199, 123, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 6px 14px rgba(0, 0, 0, .45); margin-bottom: 4px; }
.turn-clock svg { width: 46px; height: 46px; transform: rotate(-90deg); flex: none; }
.turn-clock .trk { fill: rgba(0, 0, 0, .35); stroke: rgba(255, 255, 255, .12); stroke-width: 4; }
.turn-clock .arc { fill: none; stroke: #f3d48a; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: calc(119.4 * (1 - var(--p))); transition: stroke-dashoffset .25s linear, stroke .3s; }
.turn-clock b { position: absolute; left: 6px; width: 46px; text-align: center; font-size: 17px; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; }
.turn-clock small { font-weight: 900; font-size: 13px; color: var(--gold-2); max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.turn-clock.mine { border-color: #f3d48a; }
.turn-clock.low .arc { stroke: #ff5a4f; } .turn-clock.low b { color: #ff8a80; }
.turn-clock.low.mine { animation: clockPulse .9s ease-in-out infinite; }
@keyframes clockPulse { 50% { box-shadow: 0 0 0 2px rgba(255, 90, 79, .6), 0 0 18px rgba(255, 90, 79, .45); } }
@media (max-width: 1180px) { .seats-bar .pcard { min-width: 180px; } }
@media (max-height: 560px) and (orientation: landscape) {
  .seats-bar .pcard { min-width: 0; padding: 3px 8px 5px 4px; gap: 6px; } .seats-bar .avatar { width: 26px; height: 26px; font-size: 10px; }
  .turn-clock { padding: 3px 10px 3px 3px; } .turn-clock svg { width: 32px; height: 32px; } .turn-clock b { left: 3px; width: 32px; font-size: 13px; }
}
@media (max-width: 760px) and (orientation: portrait), (max-width: 600px) {
  .seats-bar { gap: 6px; }
  .seats-bar .pcard { min-width: 0; max-width: calc(50% - 3px); flex: 1 1 calc(50% - 3px); padding: 4px 8px 6px 4px; gap: 6px; border-radius: 12px; }
  .seats-bar .avatar { width: 30px; height: 30px; font-size: 11px; border-width: 2px; }
  .seats-bar .pname { font-size: 12px; } .seats-bar .ppts { font-size: 10.5px; } .seats-bar .ppts b { font-size: 11px; }
  .turn-clock { padding: 3px 10px 3px 3px; gap: 6px; } .turn-clock svg { width: 34px; height: 34px; } .turn-clock b { left: 3px; width: 34px; font-size: 13px; }
  .turn-clock small { font-size: 11px; max-width: 90px; }
}

/* =================================================================== butoane de jos — stil unitar, profesional */
.g-bottom { gap: 10px; }
.gbtn3 {
  --acc: #e8c77b; position: relative; min-width: 150px; height: 52px; padding: 0 18px 0 8px; gap: 10px; border-radius: 14px;
  font-size: 15.5px; font-weight: 800; letter-spacing: .2px; color: #eef1f6; text-shadow: none;
  background: linear-gradient(180deg, #243049 0%, #172033 55%, #121a2a 100%);
  border: 1px solid rgba(255, 255, 255, .1); border-top-color: rgba(255, 255, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 -2px 0 rgba(0, 0, 0, .35), 0 6px 14px rgba(0, 0, 0, .45);
  transition: transform .08s, box-shadow .2s, border-color .2s, background .2s, opacity .2s;
}
.gbtn3 .ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--acc);
  background: color-mix(in srgb, var(--acc) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 35%, transparent); }
.gbtn3 .ic svg { width: 20px; height: 20px; }
.gbtn3 > span { flex: 1; text-align: left; white-space: nowrap; }
.gbtn3:hover:not(:disabled) { border-color: color-mix(in srgb, var(--acc) 60%, transparent); filter: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px color-mix(in srgb, var(--acc) 30%, transparent), 0 8px 18px rgba(0, 0, 0, .5); }
.gbtn3:active:not(:disabled) { transform: translateY(1px); }
.gbtn3:disabled { opacity: .42; filter: grayscale(.4); cursor: default; }
.gbtn3:disabled .ic { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); color: #9aa3b2; }
.gbtn3.acc-red { --acc: #ff7a5c; } .gbtn3.acc-violet { --acc: #b794ff; } .gbtn3.acc-blue { --acc: #6aa8ff; }
.gbtn3.acc-green { --acc: #5fd37a; } .gbtn3.acc-amber { --acc: #ffb547; } .gbtn3.acc-gold { --acc: #f3d48a; }
/* acțiunea principală activă (Etalează) — plin, verde */
.gbtn3.primary:not(:disabled) { background: linear-gradient(180deg, #3fae55, #23793a); border-color: #7fe096; color: #fff; }
.gbtn3.primary:not(:disabled) .ic { color: #fff; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
/* Aruncă / Închide pregătite: accent colorat */
#bDiscard:not(:disabled), #bClose:not(:disabled) { border-color: color-mix(in srgb, var(--acc) 70%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--acc) 35%, transparent), 0 0 16px color-mix(in srgb, var(--acc) 25%, transparent), 0 6px 14px rgba(0, 0, 0, .45); }
.gbtn3.hot { outline: 2px solid var(--acc); outline-offset: 2px; }
@media (max-width: 1180px) { .gbtn3 { min-width: 0; padding: 0 12px 0 6px; font-size: 14px; } }
@media (max-height: 560px) and (orientation: landscape) {
  .gbtn3 { height: 38px; padding: 0 10px 0 4px; gap: 6px; font-size: 13px; border-radius: 10px; } .gbtn3 .ic { width: 28px; height: 28px; border-radius: 8px; } .gbtn3 .ic svg { width: 16px; height: 16px; }
}
@media (max-width: 760px) and (orientation: portrait), (max-width: 600px) {
  .g-bottom { gap: 4px; }
  .gbtn3 { height: 52px; padding: 4px 2px; flex-direction: column; gap: 2px; font-size: 10px; border-radius: 10px; }
  .gbtn3 .ic { width: 26px; height: 26px; border-radius: 8px; } .gbtn3 .ic svg { width: 16px; height: 16px; }
  .gbtn3 > span { text-align: center; flex: none; line-height: 1.05; white-space: normal; }
}

/* =================================================================== REMI pe postav — mai vizibil */
.watermark { top: 50%; bottom: auto; transform: translate(-50%, -50%); font-size: 78px; letter-spacing: 10px;
  color: rgba(243, 212, 138, .2); text-shadow: 0 2px 0 rgba(0, 0, 0, .25), 0 0 24px rgba(243, 212, 138, .08); z-index: 0; }
.watermark small { font-size: 15px; letter-spacing: 5px; margin-top: 6px; color: rgba(243, 212, 138, .32); font-weight: 700; }
.felt .melds.v2, .felt .bottom-zone, .felt .seats-bar { position: relative; z-index: 1; }
@media (max-height: 560px) and (orientation: landscape) { .watermark { font-size: 46px; } .watermark small { font-size: 11px; } }
@media (max-width: 760px) and (orientation: portrait), (max-width: 600px) { .watermark { font-size: 52px; letter-spacing: 7px; } .watermark small { font-size: 11px; letter-spacing: 3px; } }
.watermark { color: rgba(243, 212, 138, .3); } .watermark small { color: rgba(243, 212, 138, .48); }
.melds.v2 .empty-table { margin: 6px auto auto; }

.x2 { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 999px; background: linear-gradient(180deg, #ffd56a, #c8902b); color: #2a1a00; font-size: .8em; font-weight: 900; }
.dbl-note { margin: 4px 0; padding: 6px 10px; border-radius: 10px; background: rgba(243, 212, 138, .12); border: 1px solid rgba(243, 212, 138, .35); font-weight: 800; color: #ffe6a6; }
.score-table .neg { color: var(--neg); } .score-table .mult { color: var(--gold-2); font-weight: 900; }

/* =================================================================== masa de lemn cu postav (texturi în img/table) */
/* E — masă de lemn de nuc cu postav, suportul integrat în ramă */
body.wood #game { row-gap: 0; }
body.wood .g-main { margin-top: 8px; }
body.wood .felt {
  border-style: solid; border-color: transparent; border-width: 26px 26px 4px; border-radius: 0;
  border-image: url(/img/table/frame.webp) 42 42 4 42 / 26px 26px 4px 26px stretch;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255,255,255,.05), transparent 70%),
    url(/img/table/felt.webp) center / cover;
  box-shadow: inset 0 6px 16px rgba(0,0,0,.45), inset 0 0 50px rgba(0,0,0,.3);
}
body.wood .rack-area { margin-bottom: 8px; display: block; position: relative;
  background: url(/img/table/wood.webp) center / 100% 100%; padding: 0 0 0; border-radius: 0 0 12px 12px;
  box-shadow: 0 0 0 1px #2c1407, 0 14px 26px rgba(0,0,0,.6); }
body.wood .rackbox { width: 100%; max-width: none; }
body.wood .rack { --gap: 2px; --cap: 22px; position: relative; padding: 0 var(--cap); }
body.wood .rack::before, body.wood .rack::after { content:''; position:absolute; top:-4px; bottom:0; width: var(--cap); z-index: 3;
  background: url(/img/table/cap-l.png) center / 100% 100%; filter: drop-shadow(2px 0 3px rgba(0,0,0,.45)); }
body.wood .rack::before { left: 0; } body.wood .rack::after { right: 0; background-image: url(/img/table/cap-r.png); filter: drop-shadow(-2px 0 3px rgba(0,0,0,.45)); }
body.wood .tier { margin: 0 !important; border-radius: 0; padding: 10px 20px 14px;
  background: url(/img/table/rack-back.webp) center / 100% 100%;
  box-shadow: inset 0 2px 0 rgba(255,210,160,.25), inset 0 -2px 3px rgba(0,0,0,.35); }
body.wood .tier.front { padding: 12px 20px 22px; background-image: url(/img/table/rack-front.webp); box-shadow: inset 0 3px 4px -1px rgba(0,0,0,.45); }
body.wood .tier::before, body.wood .tier::after { display: none; }
body.wood .rack-area.myturn .tier, body.wood .rack-area.myturn .tier.back { box-shadow: inset 0 3px 4px -1px rgba(0,0,0,.35); }
body.wood .rack-area.myturn { box-shadow: 0 0 0 1px #2c1407, 0 0 0 3px rgba(232,199,123,.55), 0 0 22px rgba(232,199,123,.35); }
body.wood .g-bottom { margin-top: 0; }
@media (max-height: 560px) {
  body.wood .tier { padding: 4px 14px 6px; }
  body.wood .tier.front { padding: 5px 14px 10px; }
  body.wood .felt { border-width: 16px 18px 3px; border-image-width: 16px 18px 3px 18px; }
  body.wood .rack { --cap: 16px; }
}

/* =================================================================== jucători pe masă — v3 (scor în dreapta, etichete de stare, poză de profil) */
.avatar .av-img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.avatar.has-photo { text-shadow: none; }
.avatar .frm { z-index: 1; } .avatar .on, .avatar .bot { z-index: 2; }

.seats-bar .pcard {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 12px;
  padding: 8px 8px 8px 8px; border-radius: 14px; min-width: 230px; max-width: 300px;
  background: linear-gradient(180deg, rgba(22, 28, 40, .94), rgba(10, 14, 22, .95));
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 8px 18px rgba(0, 0, 0, .45);
  backdrop-filter: blur(4px);
}
.seats-bar .pcard::before { left: 12px; right: 12px; background: linear-gradient(90deg, transparent, rgba(255, 226, 160, .35), transparent); }
.seats-bar .pcard.me { background: linear-gradient(180deg, rgba(34, 30, 52, .95), rgba(14, 12, 26, .96)); border-color: rgba(232, 199, 123, .45); }
.seats-bar .pcard.turn { border-color: #f3d48a; }
.seats-bar .avatar { width: 46px; height: 46px; font-size: 17px; border: 2px solid rgba(232, 199, 123, .75); box-shadow: 0 0 0 3px rgba(0, 0, 0, .35); }
.seats-bar .pcard.turn .avatar { border-color: #ffe39a; box-shadow: 0 0 0 3px rgba(243, 212, 138, .35), 0 0 14px rgba(243, 212, 138, .5); }
.seats-bar .pname { display: flex; align-items: center; gap: 6px; font-size: 15px; line-height: 1.2; }
.seats-bar .pname .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.seats-bar .pname .you { flex: none; font-size: 10px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; color: #1a1206;
  background: linear-gradient(180deg, #f6dc98, #d9b25a); padding: 1px 6px; border-radius: 6px; }
.seats-bar .pmeta { display: flex; gap: 5px; flex-wrap: nowrap; margin-top: 5px; overflow: hidden; }
.ptag { flex: none; font-size: 10.5px; font-weight: 900; letter-spacing: .3px; padding: 2px 7px; border-radius: 999px; line-height: 1.35;
  background: rgba(255, 255, 255, .07); color: #aeb6c6; border: 1px solid rgba(255, 255, 255, .08); white-space: nowrap; }
.ptag.laid { background: rgba(76, 190, 110, .14); color: #7fe0a0; border-color: rgba(76, 190, 110, .35); }
.ptag.turn { background: rgba(243, 212, 138, .16); color: #ffe39a; border-color: rgba(243, 212, 138, .45); }
.ptag.few { background: rgba(239, 90, 76, .2); color: #ffb0a6; border-color: rgba(239, 90, 76, .55); animation: fewPulse 1.4s ease-in-out infinite; }
@keyframes fewPulse { 50% { background: rgba(239, 90, 76, .38); color: #fff; } }
.pscore { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 58px; align-self: stretch;
  padding: 2px 10px; border-radius: 10px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .06); }
.pscore b { font-size: 19px; font-weight: 900; line-height: 1.05; color: #fff; font-variant-numeric: tabular-nums; }
.pscore b.pos { color: #7fe0a0; } .pscore b.neg { color: #ff8a80; }
.pscore small { font-size: 9.5px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #8a93a6; margin-top: 1px; }
.seats-bar .ptimer { left: 12px; right: 12px; bottom: 2px; }
@media (max-width: 1180px) { .seats-bar .pcard { min-width: 200px; } }
@media (max-height: 560px) and (orientation: landscape) {
  .seats-bar .pcard { min-width: 0; padding: 3px 4px 3px 3px; column-gap: 6px; border-radius: 10px; }
  .seats-bar .avatar { width: 26px; height: 26px; font-size: 10px; }
  .seats-bar .pname { font-size: 11.5px; } .seats-bar .pmeta { margin-top: 2px; } .ptag { font-size: 8.5px; padding: 0 5px; }
  .seats-bar .pmeta .ptag.idle, .seats-bar .pmeta .ptag.turn { display: none; }
  .pscore { min-width: 34px; padding: 0 5px; border-radius: 7px; } .pscore b { font-size: 13px; } .pscore small { display: none; }
}
@media (max-width: 760px) and (orientation: portrait), (max-width: 600px) {
  .seats-bar .pcard { min-width: 0; padding: 4px 4px 4px 4px; column-gap: 6px; border-radius: 11px; }
  .seats-bar .avatar { width: 32px; height: 32px; font-size: 12px; }
  .seats-bar .pname { font-size: 12px; gap: 4px; } .seats-bar .pname .you { font-size: 8px; padding: 0 4px; }
  .seats-bar .pmeta { margin-top: 3px; gap: 3px; } .ptag { font-size: 9px; padding: 1px 5px; }
  .pscore { min-width: 40px; padding: 1px 5px; border-radius: 8px; } .pscore b { font-size: 14px; } .pscore small { font-size: 7.5px; letter-spacing: .4px; }
}

/* profil: poza */
.photo-box { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 6px 0 4px; }
.photo-box .avatar { width: 72px; height: 72px; font-size: 26px; }
.photo-box .btns { display: flex; gap: 8px; flex-wrap: wrap; }
.seats-bar .pcard { min-width: 240px; max-width: 330px; }
@media (max-width: 760px) and (orientation: portrait), (max-width: 600px) {
  .seats-bar .pcard { min-width: 0; max-width: calc(50% - 3px); }
  .seats-bar .pmeta .ptag.turn, .seats-bar .pname .you, .seats-bar .pname .lg { display: none; }
  .seats-bar .pcard.few .pmeta .ptag:not(.few) { display: none; }
  .pscore { min-width: 34px; } .pscore small { display: none; }
}
@media (max-height: 560px) and (orientation: landscape) { .seats-bar .pcard { min-width: 0; max-width: 260px; } .seats-bar .pcard.few .pmeta .ptag:not(.few) { display: none; } }

/* buton „Pune piesa înapoi” (lângă pachet, doar după ce ai luat de jos) */
.untake { align-self: center; margin: 0 auto 4px; display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 8px 16px 8px 10px; border-radius: 12px; color: #fff; font: inherit; text-align: left;
  background: linear-gradient(180deg, rgba(40, 32, 18, .95), rgba(18, 14, 8, .96)); border: 1px solid rgba(243, 212, 138, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 6px 14px rgba(0, 0, 0, .45); }
.untake:hover { border-color: #ffe39a; box-shadow: 0 0 0 2px rgba(243, 212, 138, .35), 0 6px 14px rgba(0, 0, 0, .45); }
.untake svg { width: 26px; height: 26px; color: #f3d48a; flex: none; }
.untake span { font-weight: 900; font-size: 14px; line-height: 1.15; }
.untake small { display: block; font-weight: 700; font-size: 11px; color: #c9b88e; }
@media (max-width: 760px) and (orientation: portrait), (max-width: 600px), (max-height: 560px) {
  .untake { padding: 5px 10px 5px 6px; gap: 6px; } .untake svg { width: 20px; height: 20px; }
  .untake span { font-size: 12px; } .untake small { font-size: 9.5px; }
}
@media (max-width: 760px) and (orientation: portrait), (max-width: 600px) {
  .bz-row { flex-wrap: wrap; row-gap: 6px; }
  .untake { order: -1; flex-basis: 100%; justify-content: center; margin: 0; }
  .untake span { white-space: nowrap; } .untake small { display: inline; margin-left: 5px; }
}
@media (max-height: 560px) and (orientation: landscape) { .untake small { display: none; } .untake span { white-space: nowrap; } }

/* rândul pieselor aruncate: derulabil, cu săgeți; țintă pentru aruncare */
.dstrip .dold { overflow-x: auto; overflow-y: hidden; justify-content: flex-start; scrollbar-width: none; scroll-behavior: auto; flex: 0 1 auto; padding: 4px 0 2px; }
.dstrip .dold::-webkit-scrollbar { display: none; }
.dstrip .dold > :first-child { margin-left: auto; }
.dstrip { position: relative; gap: 4px; cursor: default; }
.dnav { display: none; flex: none; width: 28px; align-self: stretch; border-radius: 8px; cursor: pointer; font: 900 22px/1 system-ui, sans-serif;
  color: #f3d48a; background: rgba(0, 0, 0, .35); border: 1px solid rgba(243, 212, 138, .35); padding: 0; }
.dnav:disabled { opacity: .3; cursor: default; }
.dnav:not(:disabled):hover { background: rgba(0, 0, 0, .55); border-color: #f3d48a; }
.dstrip.ovf .dnav { display: block; }
.dstrip.hot { border-color: #f3d48a; background: rgba(243, 212, 138, .12); box-shadow: inset 0 0 0 1px rgba(243, 212, 138, .5); }
@media (max-width: 760px) and (orientation: portrait), (max-width: 600px), (max-height: 560px) { .dnav { width: 22px; font-size: 18px; } }

/* schimb de duble / strică jocul */
.xchg { align-self: center; position: relative; z-index: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.xrow { display: flex; align-items: center; gap: 8px; padding: 5px 6px 5px 12px; border-radius: 12px; font-weight: 800; font-size: 13px; color: #e8ecf3;
  background: linear-gradient(180deg, rgba(22, 28, 40, .94), rgba(10, 14, 22, .95)); border: 1px solid rgba(243, 212, 138, .4); box-shadow: 0 6px 14px rgba(0, 0, 0, .4); }
.xrow .tile.sm { --tw: 26px; }
.xrow.mine { border-style: dashed; }
.xbtn { cursor: pointer; font: inherit; font-weight: 900; font-size: 13px; padding: 7px 14px; border-radius: 10px; color: #1a1206;
  background: linear-gradient(180deg, #f6dc98, #d9b25a); border: 1px solid #8a6a24; box-shadow: 0 4px 10px rgba(0, 0, 0, .4); }
.xbtn small { font-weight: 800; opacity: .8; }
.xbtn.ok { background: linear-gradient(180deg, #7fe0a0, #3fae68); border-color: #22683c; }
.xbtn.warn { background: linear-gradient(180deg, #ffb59e, #e0674c); border-color: #7a2b1a; color: #fff; }
.xbtn.ghost { background: rgba(255, 255, 255, .08); color: #e8ecf3; border-color: rgba(255, 255, 255, .2); box-shadow: none; padding: 5px 10px; }
@media (max-height: 560px) and (orientation: landscape) { .xchg { position: absolute; top: 44px; left: 50%; transform: translateX(-50%); } .xbtn { padding: 4px 10px; font-size: 12px; } }

/* =================================================================== LOBBY v2 — masă de cazino: lemn sus/jos, postav verde, mese ovale */
#lobby.lobby2 { max-width: none; margin: 0; padding: 0 0 calc(86px + env(safe-area-inset-bottom)); min-height: 100dvh;
  background: radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, .06), transparent 60%), radial-gradient(ellipse at 50% 120%, rgba(0, 0, 0, .55), transparent 60%), url(/img/table/felt.webp) center / cover fixed, #14512a; }
.lobby2 .card { background: none; border: 0; box-shadow: none; padding: 0; margin: 0; }
.lobby2 .muted { color: #cfd8c9; }

/* bara de sus */
.lb-top { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: calc(env(safe-area-inset-top) + 8px) 18px 8px; background: url(/img/table/wood.webp) center / cover;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 210, 160, .25), 0 6px 18px rgba(0, 0, 0, .55); border-bottom: 1px solid #2c1407; }
.lb-me { min-width: 0; }
.lb-me .acct { display: flex; align-items: center; gap: 12px; }
.lb-avatar { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.lb-avatar .avatar { width: 58px; height: 58px; font-size: 22px; border: 3px solid #e8c77b; box-shadow: 0 0 0 2px rgba(0, 0, 0, .45), 0 4px 10px rgba(0, 0, 0, .5); }
.lb-who { min-width: 0; }
.lb-who b { display: block; font: 700 19px/1.15 Georgia, 'Times New Roman', serif; color: #fff4dc; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-who #meStats { color: #f3dfb4; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-lvl { display: flex; align-items: center; gap: 6px; margin: 3px 0 1px; max-width: 220px; }
.lb-lvl .lvl { width: 22px; height: 22px; font-size: 11px; flex: none; }
.lb-lvl .lvl-bar { flex: 1; height: 6px; } .lb-lvl small { font-size: 10px; color: #f3dfb4; white-space: nowrap; }
.lb-guest { display: flex; align-items: center; gap: 8px; }
.lb-guest .lbl { margin: 0; color: #f3dfb4; font-weight: 800; font-size: 13px; white-space: nowrap; }
.lb-guest input { max-width: 170px; padding: 8px 10px; border-radius: 10px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(243, 212, 138, .5); color: #fff; }
.lobby2 .acct-cta { display: flex; gap: 6px; margin-top: 6px; } .lobby2 .acct-cta.hidden { display: none; }
.lobby2 .acct-cta .btn { padding: 6px 10px; font-size: 12px; }
.lb-logo { display: flex; gap: 3px; padding: 6px 12px; border-radius: 14px; background: linear-gradient(180deg, #6b3a14, #3a1d08);
  border: 2px solid #c9a45c; box-shadow: inset 0 1px 0 rgba(255, 220, 160, .35), 0 6px 14px rgba(0, 0, 0, .5); }
.lb-logo span { display: grid; place-items: center; width: 36px; height: 46px; border-radius: 6px; font: 900 28px/1 Georgia, 'Times New Roman', serif; color: #1d1d1d;
  background: linear-gradient(180deg, #fffaf0, #e9e0c9); box-shadow: 0 3px 0 #b8ad92, 0 5px 8px rgba(0, 0, 0, .4), inset 0 1px 0 #fff; }
.lb-logo span.r { color: #c9141c; }
.lb-logo span:nth-child(5) { margin-left: 6px; }
.lb-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.lb-online { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-weight: 800; color: #e9f5e9; white-space: nowrap;
  background: rgba(10, 30, 16, .8); border: 1px solid rgba(255, 255, 255, .15); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.lb-online i { width: 9px; height: 9px; border-radius: 50%; background: #4fd36b; box-shadow: 0 0 8px #4fd36b; }
.lb-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #f3d48a; padding: 0;
  background: radial-gradient(circle at 50% 35%, #4a2a10, #1f0f04); border: 2px solid #c9a45c; box-shadow: 0 4px 10px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 220, 160, .3); }
.lb-ic svg { width: 24px; height: 24px; } .lb-ic.off { color: #9a8a6a; }

/* banda cu monede și scurtături */
.lb-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; padding: 12px 14px 0; }
.lobby2 .chip { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 800; font-size: 13.5px;
  color: #fff4dc; background: linear-gradient(180deg, rgba(60, 34, 14, .92), rgba(30, 16, 6, .92)); border: 1px solid rgba(201, 164, 92, .7); box-shadow: 0 4px 10px rgba(0, 0, 0, .4); }
.lobby2 .chip small { color: #f3d48a; font-weight: 800; }
.lobby2 .chip.gift { color: #2a1a04; background: linear-gradient(180deg, #f6dc98, #d9b25a); border-color: #8a6a24; }
.lobby2 .chip.hidden, .lobby2 .coins.hidden { display: none; }
.lobby2 .coins { padding: 7px 14px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(201, 164, 92, .7); }
.lobby2 .verify-note { max-width: 640px; margin: 10px auto 0; }

/* titlul și filele */
.lb-main { max-width: 1320px; margin: 0 auto; padding: 8px 18px 0; }
.lb-title { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 14px 0 10px; }
.lb-title h2 { margin: 0; font: 700 34px/1 Georgia, 'Times New Roman', serif; letter-spacing: 4px; color: #f3dfb4; text-shadow: 0 2px 4px rgba(0, 0, 0, .6); }
.lb-title i { width: 70px; height: 2px; background: linear-gradient(90deg, transparent, #c9a45c); position: relative; }
.lb-title i:last-child { transform: scaleX(-1); }
.lb-title i::after { content: ''; position: absolute; right: -4px; top: -4px; width: 8px; height: 8px; transform: rotate(45deg); border: 2px solid #c9a45c; }
.lb-tabs { display: flex; justify-content: center; margin: 0 auto 16px; width: fit-content; max-width: 100%; border-radius: 12px; overflow: hidden;
  background: rgba(30, 16, 6, .85); border: 1px solid rgba(201, 164, 92, .6); box-shadow: 0 6px 14px rgba(0, 0, 0, .45); }
.lb-tabs button { padding: 11px 26px; border: 0; cursor: pointer; font: 700 16px/1 Georgia, 'Times New Roman', serif; color: #f3dfb4; background: none; white-space: nowrap; }
.lb-tabs button + button { border-left: 1px solid rgba(201, 164, 92, .3); }
.lb-tabs button.on { color: #fff; background: linear-gradient(180deg, #2f7a4d, #19502f); box-shadow: inset 0 0 0 2px #c9a45c; border-radius: 10px; }

/* grila de mese */
.lb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.lb-empty { grid-column: 1 / -1; text-align: center; padding: 28px; border-radius: 16px; color: #e7efe2; font-weight: 700; background: rgba(0, 0, 0, .3); border: 1px dashed rgba(255, 255, 255, .25); }
.tcard { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 190px; grid-template-rows: 1fr auto; gap: 6px 10px; padding: 14px 14px 14px 18px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(14, 40, 24, .92), rgba(6, 22, 12, .94)); border: 1px solid rgba(201, 164, 92, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 10px 22px rgba(0, 0, 0, .45); }
.tcard::before { content: ''; position: absolute; inset: 4px; border-radius: 13px; border: 1px solid rgba(201, 164, 92, .18); pointer-events: none; }
.tc-info { min-width: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.tc-info h3 { margin: 0; font: 700 23px/1.1 Georgia, 'Times New Roman', serif; color: #fff4dc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tc-count { display: flex; align-items: center; gap: 6px; font: 600 16px/1 Georgia, serif; color: #f3dfb4; }
.tc-count svg { width: 18px; height: 18px; color: #f3dfb4; }
.tc-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 9px; font-weight: 800; font-size: 13px; color: #e6f2e6;
  background: rgba(40, 90, 60, .55); border: 1px solid rgba(160, 220, 180, .35); }
.tc-tag.bots { background: rgba(60, 70, 110, .5); border-color: rgba(170, 180, 240, .4); }
.tc-tag.stake { color: #ffe9b0; background: rgba(90, 60, 10, .6); border-color: #c9a45c; } .tc-tag .coin { width: 14px; height: 14px; }
.tc-meta { color: #b9c9b8; font-size: 11.5px; font-weight: 700; }
.tc-table { grid-row: 1 / 3; grid-column: 2; position: relative; align-self: center; height: 150px; }
.tc-oval { position: absolute; inset: 22px 14px; border-radius: 50%; padding: 7px;
  background: linear-gradient(180deg, #8a4a1c, #4e2408); box-shadow: 0 8px 14px rgba(0, 0, 0, .55), inset 0 2px 0 rgba(255, 210, 160, .35); }
.tc-felt { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 40%, #2f8a49, #145a2a 75%); box-shadow: inset 0 2px 8px rgba(0, 0, 0, .55); }
.tc-45 { display: flex; gap: 2px; } .tc-45 b { display: grid; place-items: center; width: 17px; height: 22px; border-radius: 3px; font: 900 14px/1 Georgia, serif;
  background: linear-gradient(180deg, #fffaf0, #e7dec6); color: #1d1d1d; box-shadow: 0 2px 0 #b8ad92; } .tc-45 b:first-child { color: #c9141c; }
.tc-seat { position: absolute; transform: translate(-50%, -50%); }
.tc-seat.s { left: 50%; top: 88%; } .tc-seat.n { left: 50%; top: 12%; } .tc-seat.w { left: 9%; top: 50%; } .tc-seat.e { left: 91%; top: 50%; }
.tc-seat .avatar { width: 44px; height: 44px; font-size: 15px; border: 2.5px solid #f3eee4; box-shadow: 0 4px 8px rgba(0, 0, 0, .55); }
.tc-seat .avatar .bot { font-size: 13px; right: -6px; bottom: -4px; }
.tc-seat.empty span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-weight: 900; font-size: 20px; color: rgba(255, 255, 255, .7);
  border: 2px dashed rgba(255, 255, 255, .45); background: rgba(0, 0, 0, .3); }
.tc-btns { grid-column: 1; display: flex; gap: 8px; align-items: center; }
.tc-join { min-width: 150px; padding: 11px 26px; border-radius: 999px; cursor: pointer; font: 700 19px/1 Georgia, 'Times New Roman', serif; letter-spacing: 1px; color: #fff;
  background: linear-gradient(180deg, #4cb764, #217a3a 60%, #18602c); border: 1px solid #0f3d1c; text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -3px 0 rgba(0, 0, 0, .25), 0 5px 10px rgba(0, 0, 0, .45); }
.tc-join:hover { filter: brightness(1.08); }
.tc-watch { padding: 9px 12px; border-radius: 999px; cursor: pointer; font-weight: 800; color: #f3dfb4; background: rgba(0, 0, 0, .35); border: 1px solid rgba(201, 164, 92, .5); }
.tcard.full .tc-watch { padding: 10px 18px; }

/* butoanele mari */
.lb-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin: 22px 0 6px; }
.lb-quick { display: inline-flex; align-items: center; gap: 12px; padding: 16px 40px; border-radius: 14px; cursor: pointer; font: 700 24px/1 Georgia, 'Times New Roman', serif; letter-spacing: 1px; color: #2a1704;
  background: linear-gradient(180deg, #ffe7a3, #e2b34f 55%, #b9862b); border: 2px solid #7a5512; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -4px 0 rgba(0, 0, 0, .18), 0 8px 18px rgba(0, 0, 0, .5); }
.lb-quick svg { width: 26px; height: 26px; }
.lb-qopt { width: 52px; height: 56px; border-radius: 14px; cursor: pointer; font-size: 22px; color: #f3d48a; background: rgba(30, 16, 6, .9); border: 2px solid #7a5512; }
.lb-create { display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px; border-radius: 14px; cursor: pointer; font: 700 20px/1 Georgia, 'Times New Roman', serif; letter-spacing: 1px; color: #fff4dc;
  background: linear-gradient(180deg, #6b3a14, #3a1d08); border: 2px solid #c9a45c; box-shadow: inset 0 1px 0 rgba(255, 220, 160, .3), 0 8px 18px rgba(0, 0, 0, .5); }
.lb-create b { font-size: 26px; color: #f3d48a; }
.lobby2 .code-join { display: flex; gap: 6px; margin: 0; }
.lobby2 .code-join input { width: 86px; padding: 12px; border-radius: 12px; text-align: center; font-weight: 900; background: rgba(0, 0, 0, .4); border: 1px solid rgba(201, 164, 92, .6); color: #fff; }
.lb-links a { color: #f3dfb4; }

/* foile (joc rapid / creează masă) */
.lb-sheet { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .6); }
.lb-sheet.hidden { display: none; }
.lb-sheet-in.card { width: min(560px, 100%); padding: 20px; border-radius: 18px; background: linear-gradient(180deg, #1c2438, #0f1626); border: 1px solid var(--gold); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }

/* navigarea de jos */
.lb-nav { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 30; display: flex; width: min(720px, 100%);
  padding: 8px 10px calc(env(safe-area-inset-bottom) + 8px); border-radius: 22px 22px 0 0; background: url(/img/table/wood.webp) center / cover;
  border: 1px solid #2c1407; border-bottom: 0; box-shadow: inset 0 1px 0 rgba(255, 210, 160, .3), 0 -6px 18px rgba(0, 0, 0, .5); }
.lb-nav button { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 4px; border: 0; background: none; cursor: pointer;
  color: #e8d6b0; font: 700 14px/1 Georgia, 'Times New Roman', serif; }
.lb-nav button + button::before { content: ''; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: rgba(0, 0, 0, .4); }
.lb-nav svg { width: 26px; height: 26px; }
.lb-nav button.on { color: #ffd76a; } .lb-nav button.on::after { content: ''; position: absolute; bottom: -2px; width: 6px; height: 6px; border-radius: 50%; background: #ffd76a; }
.lb-nav .badge { position: absolute; top: 2px; right: calc(50% - 26px); }
.lb-nav small { display: none; }

@media (max-width: 900px) {
  .lb-top { grid-template-columns: 1fr auto; } .lb-logo { display: none; }
  .lb-online { padding: 6px 10px; font-size: 13px; } .lb-ic { width: 40px; height: 40px; } .lb-ic svg { width: 20px; height: 20px; }
}
@media (max-width: 600px) {
  .lb-top { padding: calc(env(safe-area-inset-top) + 6px) 10px 6px; gap: 8px; }
  .lb-avatar .avatar { width: 46px; height: 46px; font-size: 18px; } .lb-who b { font-size: 16px; } .lb-lvl { max-width: 150px; }
  .lb-online { font-size: 0; padding: 6px 8px; gap: 4px; } .lb-online b { font-size: 12px; }
  .lb-right { gap: 6px; } .lb-ic { width: 36px; height: 36px; }
  .lb-strip { gap: 6px; padding: 10px 8px 0; } .lobby2 .chip { padding: 6px 10px; font-size: 12.5px; }
  .lb-main { padding: 4px 10px 0; } .lb-title h2 { font-size: 26px; } .lb-title i { width: 40px; }
  .lb-tabs button { padding: 10px 12px; font-size: 13.5px; }
  .lb-grid { grid-template-columns: 1fr; gap: 12px; }
  .tcard { grid-template-columns: minmax(0, 1fr) 160px; padding: 12px; } .tc-table { height: 130px; } .tc-info h3 { font-size: 20px; }
  .tc-join { min-width: 0; padding: 10px 20px; font-size: 17px; }
  .lb-quick { padding: 14px 26px; font-size: 20px; } .lb-create { padding: 14px 18px; font-size: 16px; }
  .lb-nav button { font-size: 12.5px; } .lb-nav svg { width: 22px; height: 22px; }
  .lb-guest .lbl { display: none; } .lb-guest input { max-width: 130px; }
}
.lb-grid { grid-template-columns: repeat(auto-fill, minmax(390px, 1fr)); }
.tcard { grid-template-columns: minmax(0, 1fr) 215px; min-height: 190px; }
.tc-table { height: 170px; }
@media (max-width: 600px) { .lb-grid { grid-template-columns: 1fr; } .tcard { grid-template-columns: minmax(0, 1fr) 170px; min-height: 0; } .tc-table { height: 140px; } }
.lb-more { grid-column: 1 / -1; justify-self: center; padding: 10px 22px; border-radius: 999px; cursor: pointer; font: 700 15px/1 Georgia, serif; color: #f3dfb4;
  background: rgba(30, 16, 6, .85); border: 1px solid rgba(201, 164, 92, .6); }
@media (max-width: 600px) { .lobby2 .chip { padding: 5px 9px; font-size: 12px; } .lobby2 .chip small { font-size: 10.5px; } .lobby2 .coins { padding: 5px 10px; font-size: 13px; } .lb-actions { margin-top: 14px; gap: 8px; } }
@media (max-width: 600px) {
  .lb-main { display: flex; flex-direction: column; }
  .lb-actions { order: -1; margin: 8px 0 2px; }
  .lb-quick { flex: 1 1 100%; justify-content: center; }
  .lb-qopt { height: 50px; } .lb-create { flex: 1; justify-content: center; }
}

/* =================================================================== LOBBY v3 — aspect de joc „premium”: teme de culoare, tipografie Cinzel */
@font-face { font-family: 'Cinzel'; font-weight: 600; font-display: swap; src: url(/fonts/cinzel-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Cinzel'; font-weight: 700; font-display: swap; src: url(/fonts/cinzel-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Cinzel'; font-weight: 600; font-display: swap; src: url(/fonts/cinzel-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+0218-021B; }
@font-face { font-family: 'Cinzel'; font-weight: 700; font-display: swap; src: url(/fonts/cinzel-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+0218-021B; }

.lobby2 {
  --l-bg1: #0d1a33; --l-bg2: #050a16; --l-bar1: #142545; --l-bar2: #0a1428;
  --l-card1: rgba(22, 38, 72, .92); --l-card2: rgba(10, 18, 38, .95);
  --l-gold: #e8c77b; --l-gold2: #b8893b; --l-line: rgba(232, 199, 123, .38); --l-text: #f4efe4; --l-muted: #9fb0c8;
  --l-felt1: #2f8a4a; --l-felt2: #145a2a; --l-rim1: #9a5a26; --l-rim2: #4e2408; --l-tabon1: #22406e; --l-tabon2: #142a4d;
  --l-serif: 'Cinzel', Georgia, 'Times New Roman', serif;
}
.lobby2.th-emerald { --l-bg1: #0f3a26; --l-bg2: #03140b; --l-bar1: #0f3624; --l-bar2: #061d12; --l-card1: rgba(16, 64, 40, .9); --l-card2: rgba(5, 28, 16, .95);
  --l-muted: #a6c4b2; --l-tabon1: #1f6a43; --l-tabon2: #0f4428; --l-felt1: #2a7a8a; --l-felt2: #0f4553; }
.lobby2.th-wine { --l-bg1: #3d0f1c; --l-bg2: #12040a; --l-bar1: #3a0f1b; --l-bar2: #1c060c; --l-card1: rgba(72, 20, 34, .9); --l-card2: rgba(30, 7, 14, .95);
  --l-muted: #d2aab5; --l-tabon1: #7a2238; --l-tabon2: #4a1222; }

#lobby.lobby2 { color: var(--l-text);
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(255, 255, 255, .07), transparent 70%),
    radial-gradient(ellipse 120% 80% at 50% 120%, rgba(0, 0, 0, .6), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 22px),
    linear-gradient(180deg, var(--l-bg1), var(--l-bg2)) fixed; }
.lobby2 .muted { color: var(--l-muted); }

/* bara de sus */
.lobby2 .lb-top { background: linear-gradient(180deg, var(--l-bar1), var(--l-bar2)); border-bottom: 1px solid var(--l-line);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .6), 0 10px 30px rgba(0, 0, 0, .45); }
.lobby2 .lb-top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--l-gold), transparent); opacity: .8; }
.lobby2 .lb-who b { font-family: var(--l-serif); font-weight: 700; letter-spacing: .5px; color: #fff; }
.lobby2 .lb-who #meStats, .lobby2 .lb-lvl small { color: var(--l-muted); }
.lobby2 .lb-avatar .avatar { border-color: var(--l-gold); box-shadow: 0 0 0 3px rgba(0, 0, 0, .5), 0 0 18px rgba(232, 199, 123, .25); }
.lobby2 .lb-logo { background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .55)); border: 1px solid var(--l-line); border-radius: 12px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.lobby2 .lb-logo span { font-family: var(--l-serif); font-weight: 700; width: 34px; height: 44px; font-size: 26px; }
.lobby2 .lb-online { background: rgba(0, 0, 0, .35); border-color: var(--l-line); font-size: 14px; }
.lobby2 .lb-ic { background: rgba(0, 0, 0, .35); border: 1px solid var(--l-line); color: var(--l-gold); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.lobby2 .lb-ic:hover { border-color: var(--l-gold); }
.lobby2 .lb-guest input { background: rgba(0, 0, 0, .35); border-color: var(--l-line); }

/* banda */
.lobby2 .lb-strip { gap: 10px; padding-top: 16px; }
.lobby2 .chip { gap: 7px; padding: 8px 16px; background: rgba(0, 0, 0, .3); border: 1px solid var(--l-line); color: var(--l-text); font-weight: 800; box-shadow: none; transition: border-color .15s, background .15s; }
.lobby2 .chip:hover { border-color: var(--l-gold); background: rgba(0, 0, 0, .45); }
.lobby2 .chip .ci { width: 17px; height: 17px; color: var(--l-gold); flex: none; }
.lobby2 .chip.gift { color: #241603; background: linear-gradient(180deg, #f7df9f, #d8ad52); border-color: #a37a2a; }
.lobby2 .chip.gift .ci { color: #241603; }
.lobby2 .chip small { color: var(--l-gold); }
.lobby2 .coins { background: rgba(0, 0, 0, .3); border-color: var(--l-line); }

/* titlu și file */
.lobby2 .lb-title h2 { font-family: var(--l-serif); font-weight: 700; color: var(--l-gold); letter-spacing: 6px;
  background: linear-gradient(180deg, #fff1c8, #e2b860 60%, #b8893b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); }
.lobby2 .lb-title i { background: linear-gradient(90deg, transparent, var(--l-gold)); }
.lobby2 .lb-title i::after { border-color: var(--l-gold); }
.lobby2 .lb-tabs { padding: 4px; gap: 4px; border-radius: 14px; background: rgba(0, 0, 0, .35); border: 1px solid var(--l-line); }
.lobby2 .lb-tabs button { border-radius: 10px; font-family: var(--l-serif); font-weight: 700; font-size: 15px; color: var(--l-muted); padding: 10px 22px; letter-spacing: .5px; }
.lobby2 .lb-tabs button + button { border-left: 0; }
.lobby2 .lb-tabs button:hover { color: var(--l-text); }
.lobby2 .lb-tabs button.on { color: #fff; background: linear-gradient(180deg, var(--l-tabon1), var(--l-tabon2)); box-shadow: inset 0 0 0 1px var(--l-gold), 0 4px 10px rgba(0, 0, 0, .4); }

/* carduri */
.lobby2 .tcard { background: linear-gradient(160deg, var(--l-card1), var(--l-card2)); border: 1px solid var(--l-line); border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 14px 30px rgba(0, 0, 0, .45); transition: transform .18s, box-shadow .18s, border-color .18s; }
.lobby2 .tcard:hover { transform: translateY(-3px); border-color: rgba(232, 199, 123, .75); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 18px 36px rgba(0, 0, 0, .55), 0 0 0 1px rgba(232, 199, 123, .25); }
.lobby2 .tcard::before { border-color: rgba(232, 199, 123, .1); }
.lobby2 .tc-info h3 { font-family: var(--l-serif); font-weight: 700; font-size: 22px; letter-spacing: .5px; color: #fff; }
.lobby2 .tc-count { font-family: var(--l-serif); font-weight: 600; color: var(--l-gold); }
.lobby2 .tc-count svg { color: var(--l-gold); }
.lobby2 .tc-tag { background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .14); color: var(--l-text); font-size: 12px; letter-spacing: .3px; }
.lobby2 .tc-tag.stake { color: #ffe9b0; border-color: var(--l-gold2); background: rgba(120, 80, 10, .35); }
.lobby2 .tc-meta { color: var(--l-muted); }
.lobby2 .tc-oval { background: linear-gradient(180deg, var(--l-rim1), var(--l-rim2)); padding: 8px;
  box-shadow: 0 0 0 1.5px rgba(232, 199, 123, .55), 0 12px 20px rgba(0, 0, 0, .6), inset 0 2px 0 rgba(255, 220, 170, .35), inset 0 -2px 0 rgba(0, 0, 0, .4); }
.lobby2 .tc-felt { background: radial-gradient(ellipse at 50% 35%, rgba(255, 255, 255, .14), transparent 60%), radial-gradient(ellipse at 50% 50%, var(--l-felt1), var(--l-felt2) 78%);
  box-shadow: inset 0 3px 10px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(0, 0, 0, .4); }
.lobby2 .tc-seat .avatar { border: 2px solid var(--l-gold); box-shadow: 0 0 0 2px rgba(0, 0, 0, .55), 0 5px 10px rgba(0, 0, 0, .55); }
.lobby2 .tc-seat.empty span { border-color: rgba(232, 199, 123, .55); color: var(--l-gold); background: rgba(0, 0, 0, .45); }
.lobby2 .tc-join { font-family: var(--l-serif); font-weight: 700; font-size: 17px; letter-spacing: 1.5px; border-radius: 12px; padding: 12px 28px;
  background: linear-gradient(180deg, #5fcf78 0%, #2f9a4c 48%, #1d7a37 52%, #17652d 100%); border: 1px solid #0c3d1a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 0 0 1px rgba(232, 199, 123, .35), 0 6px 14px rgba(0, 0, 0, .5); }
.lobby2 .tc-watch { border-radius: 12px; border-color: var(--l-line); background: rgba(0, 0, 0, .3); color: var(--l-gold); }

/* butoane mari */
.lobby2 .lb-quick { font-family: var(--l-serif); font-weight: 700; letter-spacing: 2px; border-radius: 14px; color: #2a1704;
  background: linear-gradient(180deg, #fff0c2 0%, #f0c96a 45%, #d9a441 55%, #b67f24 100%); border: 1px solid #7a5512;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 0 3px rgba(0, 0, 0, .35), 0 0 26px rgba(232, 199, 123, .35), 0 10px 22px rgba(0, 0, 0, .5); }
.lobby2 .lb-quick:hover { filter: brightness(1.05); }
.lobby2 .lb-create { font-family: var(--l-serif); font-weight: 700; letter-spacing: 1.5px; background: rgba(0, 0, 0, .35); border: 1.5px solid var(--l-gold); color: var(--l-text); box-shadow: 0 8px 18px rgba(0, 0, 0, .45); }
.lobby2 .lb-create:hover { background: rgba(232, 199, 123, .1); }
.lobby2 .lb-qopt { background: rgba(0, 0, 0, .35); border: 1.5px solid var(--l-line); }
.lobby2 .code-join input { background: rgba(0, 0, 0, .35); border-color: var(--l-line); letter-spacing: 2px; }
.lobby2 .code-join .btn { border-radius: 12px; }
.lobby2 .lb-more { font-family: var(--l-serif); background: rgba(0, 0, 0, .3); border-color: var(--l-line); color: var(--l-gold); }
.lobby2 .lb-links a { color: var(--l-muted); }

/* navigarea de jos */
.lobby2 .lb-nav { background: linear-gradient(180deg, var(--l-bar1), var(--l-bar2)); border: 1px solid var(--l-line); border-bottom: 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06); }
.lobby2 .lb-nav button { font-family: var(--l-serif); font-weight: 700; color: var(--l-muted); letter-spacing: .5px; }
.lobby2 .lb-nav button.on { color: var(--l-gold); }
.lobby2 .lb-nav button.on::after { background: var(--l-gold); box-shadow: 0 0 8px var(--l-gold); }
.lobby2 .lb-nav button + button::before { background: rgba(255, 255, 255, .08); }
.lobby2 .code-join .btn { background: rgba(0, 0, 0, .35); border: 1px solid var(--l-line); color: var(--l-gold); }
.lobby2 .lb-links a { text-decoration: none; }
@media (max-width: 600px) {
  .lobby2 .lb-online { font-size: 0; } .lobby2 .lb-online b { font-size: 13px; }
  .lobby2 .lb-tabs { width: 100%; } .lobby2 .lb-tabs button { flex: 1; padding: 9px 4px; font-size: 12px; letter-spacing: 0; }
  .lobby2 .chip { padding: 6px 11px; font-size: 12.5px; } .lobby2 .chip .ci { width: 15px; height: 15px; }
  .lobby2 .lb-strip { gap: 6px; }
  .lobby2 .lb-create { font-size: 14px; letter-spacing: .5px; }
}
.th-pick { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 12px; }
.th-sw { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; cursor: pointer; font: inherit; font-weight: 800; color: #f3eee4; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .15); }
.th-sw i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #e8c77b; }
.th-sw.th-navy i { background: #142a4d; } .th-sw.th-emerald i { background: #0f4428; } .th-sw.th-wine i { background: #4a1222; }
.th-sw.on { border-color: #e8c77b; box-shadow: 0 0 0 1px #e8c77b; }

/* =================================================================== ACASĂ (lobby v4) — meniu lateral, carduri mari, coloana „Astăzi” */
@font-face { font-family: 'Outfit'; font-weight: 400; font-display: swap; src: url(/fonts/outfit-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF; }
@font-face { font-family: 'Outfit'; font-weight: 400; font-display: swap; src: url(/fonts/outfit-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+0218-021B; }
@font-face { font-family: 'Outfit'; font-weight: 600; font-display: swap; src: url(/fonts/outfit-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF; }
@font-face { font-family: 'Outfit'; font-weight: 600; font-display: swap; src: url(/fonts/outfit-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+0218-021B; }
@font-face { font-family: 'Outfit'; font-weight: 700; font-display: swap; src: url(/fonts/outfit-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF; }
@font-face { font-family: 'Outfit'; font-weight: 700; font-display: swap; src: url(/fonts/outfit-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+0218-021B; }
@font-face { font-family: 'Outfit'; font-weight: 800; font-display: swap; src: url(/fonts/outfit-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF; }
@font-face { font-family: 'Outfit'; font-weight: 800; font-display: swap; src: url(/fonts/outfit-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+0218-021B; }
#lobby.home3 { --h-bg: #0e1a1a; --h-panel: rgba(22, 34, 34, .78); --h-panel2: rgba(14, 24, 24, .88); --h-line: rgba(255, 255, 255, .09); --h-text: #f4ede0; --h-cream: #f6ead2;
  --h-muted: #a8b4b0; --h-mint: #6fe3ab; --h-mint2: #3fc58a; --h-gold: #f0c96a;
  max-width: none; margin: 0; padding: 0; min-height: 100dvh; display: flex; color: var(--h-text); font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  background: linear-gradient(90deg, rgba(8, 16, 16, .55), rgba(8, 16, 16, .2) 40%, rgba(8, 16, 16, .7)), linear-gradient(180deg, rgba(10, 18, 18, .3), rgba(10, 18, 18, .85)), url(/img/home/bg.webp) center / cover fixed, var(--h-bg); }
.home3 .card { background: none; border: 0; box-shadow: none; padding: 0; margin: 0; }
.home3 .muted { color: var(--h-muted); }
.home3 svg { flex: none; }

/* meniul lateral */
.h-side { position: sticky; top: 0; height: 100dvh; width: 136px; flex: none; display: flex; flex-direction: column; align-items: stretch; padding: 22px 0 22px;
  background: rgba(10, 20, 20, .82); border-right: 1px solid var(--h-line); backdrop-filter: blur(10px); z-index: 20; }
.h-brand { display: flex; align-items: center; gap: 10px; }
.h-side .h-brand { flex-direction: column; text-align: center; gap: 6px; padding: 0 8px 26px; }
.h-side .h-brand > div { display: none; }
.h-mark { position: relative; width: 58px; height: 50px; flex: none; }
.h-mark::before, .h-mark::after, .h-mark i { position: absolute; top: 4px; width: 26px; height: 38px; border-radius: 5px; background: linear-gradient(180deg, #fffaf0, #e6dcc5); box-shadow: 0 3px 0 #b9ad91, 0 6px 10px rgba(0, 0, 0, .4); }
.h-mark::before { content: ''; left: 2px; transform: rotate(-14deg); } .h-mark::after { content: ''; right: 2px; transform: rotate(14deg); }
.h-mark i { left: 16px; top: 0; z-index: 1; display: grid; place-items: center; font: 800 22px/1 'Outfit', sans-serif; font-style: normal; color: #1a1a1a; }
.h-brand b { display: block; font-weight: 700; font-size: 26px; line-height: 1; color: #fff; letter-spacing: -.3px; } .h-brand b span { font-weight: 400; color: #e9e2d2; }
.h-brand small { color: var(--h-muted); font-size: 14px; letter-spacing: .3px; }
.h-nav { display: flex; flex-direction: column; flex: 1; }
.h-nav button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 6px; border: 0; background: none; cursor: pointer;
  color: #cfd8d4; font: 500 15px/1.1 'Outfit', sans-serif; border-bottom: 1px solid var(--h-line); }
.h-nav button:first-child { border-top: 1px solid transparent; }
.h-nav button svg { width: 34px; height: 34px; stroke-width: 1.6; }
.h-nav button:hover { color: #fff; background: rgba(255, 255, 255, .03); }
.h-nav button.on { color: var(--h-mint); background: linear-gradient(90deg, rgba(111, 227, 171, .14), rgba(111, 227, 171, .03)); }
.h-nav button.on::before { content: ''; position: absolute; left: 0; top: 10%; bottom: 10%; width: 4px; border-radius: 0 4px 4px 0; background: var(--h-mint); }
.h-nav button.on svg { fill: var(--h-mint); stroke: var(--h-mint); }
.h-nav .badge { position: absolute; top: 14px; right: 32px; } .h-nav small { display: none; }
.h-me-btn { align-self: center; width: 64px; height: 64px; border-radius: 50%; padding: 0; cursor: pointer; display: grid; place-items: center; color: #d6ddd9;
  background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(255, 255, 255, .2); }
.h-me-btn > span > svg { width: 30px; height: 30px; }
.h-me-btn .avatar { width: 60px; height: 60px; font-size: 22px; border: 2px solid var(--h-mint); }

/* corp */
.h-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.h-top { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 18px 26px 4px; }
.h-brand.mob { margin-right: auto; } .h-top .h-brand .h-mark { display: none; }
.h-user { display: flex; align-items: center; }
.h-user .acct { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 16px; border-radius: 999px; background: rgba(10, 20, 20, .7); border: 1px solid var(--h-line); }
.h-user .acct.hidden, .h-user .card.hidden { display: none; }
.h-who b { display: block; font-weight: 700; font-size: 15px; color: #fff; white-space: nowrap; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.h-lvl { display: flex; align-items: center; gap: 6px; width: 170px; margin-top: 3px; } .h-lvl .lvl { width: 20px; height: 20px; font-size: 10px; flex: none; }
.h-lvl .lvl-bar { flex: 1; height: 5px; } .h-lvl small { font-size: 10px; color: var(--h-muted); white-space: nowrap; }
.h-stats { display: none; }
.home3 .coins { padding: 7px 14px; border-radius: 999px; background: rgba(0, 0, 0, .35); border: 1px solid var(--h-line); font-weight: 700; }
.home3 #guestCard { display: flex; align-items: center; gap: 8px; } .home3 #guestCard.hidden { display: none; }
.home3 #nick { width: 170px; padding: 10px 14px; border-radius: 999px; background: rgba(10, 20, 20, .7); border: 1px solid var(--h-line); color: #fff; font: 600 14px 'Outfit', sans-serif; }
.home3 .acct-cta { display: flex; gap: 6px; } .home3 .acct-cta.hidden { display: none; }
.home3 .acct-cta .btn { padding: 9px 14px; font-size: 13px; border-radius: 999px; }
.home3 .lb-online { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #dfe7e3; background: rgba(10, 20, 20, .7); border: 1px solid var(--h-line); white-space: nowrap; }
.home3 .lb-online i { width: 8px; height: 8px; border-radius: 50%; background: var(--h-mint); box-shadow: 0 0 8px var(--h-mint); }
.home3 .lb-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #dfe7e3; padding: 0; background: rgba(10, 20, 20, .7); border: 1px solid var(--h-line); }
.home3 .lb-ic svg { width: 24px; height: 24px; } .home3 .lb-ic.off { color: #7d8884; }
.home3 .verify-note { margin: 8px 26px 0; }

.h-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 0; flex: 1; }
.h-main { padding: 10px 26px 30px 38px; min-width: 0; }
.h-hero h2 { margin: 6px 0 4px; font-weight: 800; font-size: clamp(38px, 4.6vw, 72px); line-height: 1; letter-spacing: -1.5px; color: var(--h-cream); text-shadow: 0 4px 24px rgba(0, 0, 0, .45); }
.h-hero p { margin: 0 0 22px; font-size: clamp(17px, 1.6vw, 26px); color: #c9d1cd; }
.h-cards { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.h-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; border-radius: 18px; overflow: hidden; min-height: 470px;
  background: linear-gradient(180deg, var(--h-panel), var(--h-panel2)); border: 1px solid var(--h-line); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); backdrop-filter: blur(6px); }
.h-card.friends { background: linear-gradient(180deg, rgba(38, 30, 24, .82), rgba(20, 16, 12, .92)); }
.h-card-txt { position: relative; z-index: 1; }
.h-card h3 { margin: 0; font-weight: 800; font-size: clamp(36px, 3.6vw, 60px); line-height: 1; letter-spacing: -1.2px; color: var(--h-cream); }
.h-card p { margin: 6px 0 0; font-size: 18px; color: #c9d1cd; }
.h-art { flex: 1; min-height: 160px; margin: 0 -24px; background: center / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 80%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 80%, transparent); }
.h-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; position: relative; z-index: 1; }
.pill { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 50px; border-radius: 14px; cursor: pointer;
  background: rgba(10, 20, 20, .72); border: 1px solid rgba(255, 255, 255, .14); color: #e9efec; }
.pill svg { width: 22px; height: 22px; }
.pill select { flex: 1; min-width: 0; appearance: none; -webkit-appearance: none; background: none; border: 0; padding: 0; margin: 0; color: #e9efec; font: 500 16px 'Outfit', sans-serif; cursor: pointer; outline: none; }
.pill select option { color: #111; }
.pill:hover { border-color: rgba(111, 227, 171, .5); }
.h-cta { display: flex; align-items: center; justify-content: center; gap: 12px; height: 62px; border-radius: 14px; border: 0; cursor: pointer; position: relative; z-index: 1;
  font: 700 21px 'Outfit', sans-serif; color: #0b2a1c; background: linear-gradient(180deg, #8af0bf, #5fd9a0); box-shadow: 0 10px 26px rgba(95, 217, 160, .3), inset 0 1px 0 rgba(255, 255, 255, .5); }
.h-cta svg { width: 24px; height: 24px; stroke-width: 2.4; } .h-cta:hover { filter: brightness(1.05); }
.h-btn { display: flex; align-items: center; justify-content: center; gap: 12px; height: 56px; border-radius: 14px; cursor: pointer; position: relative; z-index: 1;
  font: 600 18px 'Outfit', sans-serif; color: #f1ebe0; background: rgba(10, 16, 16, .6); border: 1px solid rgba(255, 255, 255, .22); padding: 0 22px; }
.h-btn svg { width: 22px; height: 22px; } .h-btn.solid { background: linear-gradient(180deg, #1f3f38, #17332d); border-color: rgba(111, 227, 171, .35); }
.h-btn:hover { border-color: rgba(111, 227, 171, .6); }
.h-code { display: flex; align-items: center; gap: 12px; height: 56px; border-radius: 14px; padding: 0 8px 0 22px; position: relative; z-index: 1; margin: 0;
  background: rgba(10, 16, 16, .6); border: 1px solid rgba(255, 255, 255, .22); color: #f1ebe0; }
.h-code svg { width: 22px; height: 22px; }
.h-code input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; font: 600 18px 'Outfit', sans-serif; padding: 0; }
.h-code input::placeholder { color: #f1ebe0; opacity: 1; } .h-code input:focus::placeholder { opacity: .4; }
.h-code button { width: 42px; height: 40px; border-radius: 10px; border: 0; cursor: pointer; color: #0b2a1c; background: var(--h-mint); display: grid; place-items: center; }
.h-learn { display: flex; align-items: center; gap: 22px; margin-top: 16px; padding: 14px 22px 14px 18px; border-radius: 16px; background: var(--h-panel2); border: 1px solid var(--h-line); }
.h-learn-img { width: 150px; height: 76px; flex: none; background: center / contain no-repeat; }
.h-learn b { display: block; font-size: 22px; font-weight: 700; color: #fff; } .h-learn small { color: var(--h-muted); font-size: 15px; }
.h-learn .h-btn { height: 50px; border-radius: 999px; font-size: 16px; border-color: rgba(111, 227, 171, .35); }

/* mese deschise */
.h-tables { margin-top: 30px; }
.h-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.h-sec-head h3 { margin: 0; font-size: 26px; font-weight: 700; color: var(--h-cream); }
.home3 .lb-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(10, 20, 20, .7); border: 1px solid var(--h-line); margin: 0; }
.home3 .lb-tabs button { padding: 8px 16px; border: 0; border-radius: 999px; cursor: pointer; background: none; color: var(--h-muted); font: 600 14px 'Outfit', sans-serif; }
.home3 .lb-tabs button.on { background: var(--h-mint); color: #0b2a1c; }
.home3 .lb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.home3 .tcard { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 170px; grid-template-rows: 1fr auto; gap: 6px 10px; padding: 16px 14px 16px 18px; border-radius: 16px;
  background: var(--h-panel); border: 1px solid var(--h-line); box-shadow: 0 10px 26px rgba(0, 0, 0, .3); transition: transform .15s, border-color .15s; }
.home3 .tcard:hover { transform: translateY(-2px); border-color: rgba(111, 227, 171, .4); }
.home3 .tc-info { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 0; }
.home3 .tc-info h3 { margin: 0; font-size: 21px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.home3 .tc-count { display: flex; align-items: center; gap: 6px; color: var(--h-mint); font-weight: 600; } .home3 .tc-count svg { width: 16px; height: 16px; }
.home3 .tc-tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .07); border: 1px solid var(--h-line); color: #dfe7e3; }
.home3 .tc-tag.stake { color: var(--h-gold); border-color: rgba(240, 201, 106, .4); }
.home3 .tc-meta { color: var(--h-muted); font-size: 12px; }
.home3 .tc-table { grid-row: 1 / 3; grid-column: 2; position: relative; align-self: center; height: 140px; }
.home3 .tc-oval { position: absolute; inset: 20px 12px; border-radius: 50%; padding: 6px; background: linear-gradient(180deg, #7a4a24, #3e2210); box-shadow: 0 8px 14px rgba(0, 0, 0, .5); }
.home3 .tc-felt { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 40%, #2f7f57, #154b33 78%); box-shadow: inset 0 2px 8px rgba(0, 0, 0, .5); }
.home3 .tc-45 { display: flex; gap: 2px; } .home3 .tc-45 b { display: grid; place-items: center; width: 15px; height: 20px; border-radius: 3px; font: 800 12px/1 'Outfit', sans-serif; background: #f6efe0; color: #1d1d1d; } .home3 .tc-45 b:first-child { color: #c9141c; }
.home3 .tc-seat { position: absolute; transform: translate(-50%, -50%); }
.home3 .tc-seat.s { left: 50%; top: 86%; } .home3 .tc-seat.n { left: 50%; top: 14%; } .home3 .tc-seat.w { left: 9%; top: 50%; } .home3 .tc-seat.e { left: 91%; top: 50%; }
.home3 .tc-seat .avatar { width: 40px; height: 40px; font-size: 14px; border: 2px solid #f4ede0; box-shadow: 0 4px 8px rgba(0, 0, 0, .5); }
.home3 .tc-seat .avatar .bot { font-size: 12px; right: -6px; bottom: -4px; }
.home3 .tc-seat.empty span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 700; color: var(--h-mint); border: 2px dashed rgba(111, 227, 171, .5); background: rgba(0, 0, 0, .35); }
.home3 .tc-btns { grid-column: 1; display: flex; gap: 8px; align-items: center; }
.home3 .tc-join { padding: 10px 26px; border-radius: 12px; border: 0; cursor: pointer; font: 700 15px 'Outfit', sans-serif; color: #0b2a1c; background: linear-gradient(180deg, #8af0bf, #5fd9a0); }
.home3 .tc-watch { padding: 9px 12px; border-radius: 12px; cursor: pointer; color: #dfe7e3; background: rgba(0, 0, 0, .3); border: 1px solid var(--h-line); font: 600 13px 'Outfit', sans-serif; }
.home3 .lb-empty { grid-column: 1 / -1; text-align: center; padding: 26px; border-radius: 16px; color: var(--h-muted); background: var(--h-panel2); border: 1px dashed var(--h-line); }
.home3 .lb-more { grid-column: 1 / -1; justify-self: center; padding: 10px 22px; border-radius: 999px; cursor: pointer; font: 600 14px 'Outfit', sans-serif; color: var(--h-mint); background: rgba(10, 20, 20, .7); border: 1px solid var(--h-line); }
.home3 .lb-links { margin-top: 24px; } .home3 .lb-links a { color: var(--h-muted); }

/* coloana „Astăzi” */
.h-today { padding: 8px 26px 30px 26px; border-left: 1px solid var(--h-line); display: flex; flex-direction: column; gap: 14px; }
.h-today > h3 { margin: 8px 0 2px; font-size: 30px; font-weight: 700; color: #fff; }
.h-today .hidden { display: none !important; }
.h-guest-cta { padding: 16px; border-radius: 16px; background: var(--h-panel); border: 1px solid var(--h-line); } .h-guest-cta b { display: block; font-size: 18px; } .h-guest-cta small { color: var(--h-muted); }
.h-bonus { display: flex; align-items: stretch; padding: 0; border-radius: 16px; overflow: hidden; cursor: pointer; text-align: left; color: inherit; font: inherit;
  background: var(--h-panel); border: 1px solid var(--h-line); box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.h-bonus-img { width: 150px; flex: none; background: center / cover; }
.h-bonus-txt { padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 4px; }
.h-bonus-txt b { font-size: 21px; color: #fff; } .h-bonus-txt small { color: #c4ccc8; font-size: 15px; line-height: 1.35; }
.h-bonus-txt em { margin-top: auto; font-style: normal; font-weight: 700; font-size: 18px; color: var(--h-mint); }
.h-bonus.pulse { box-shadow: 0 0 0 2px rgba(111, 227, 171, .5), 0 12px 30px rgba(0, 0, 0, .3); }
.h-box { display: block; width: 100%; padding: 16px 18px; border-radius: 16px; text-align: left; color: inherit; font: inherit; background: rgba(10, 20, 20, .45); border: 0; border-top: 1px solid var(--h-line); }
.h-box-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; font: inherit; }
.h-box-head b { font-size: 24px; font-weight: 700; color: #fff; } .h-box-head small { color: var(--h-muted); font-size: 15px; }
.h-mbars { display: flex; gap: 8px; margin: 12px 0 10px; }
.h-mbars i { flex: 1; height: 9px; border-radius: 9px; background: linear-gradient(90deg, var(--h-mint2) var(--p), rgba(255, 255, 255, .1) var(--p)); }
.h-mlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.h-mlist li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: #dfe7e3; }
.h-mlist .ck { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 2px solid rgba(255, 255, 255, .25); }
.h-mlist li.done .ck { background: var(--h-mint2); border-color: var(--h-mint2); color: #0b2a1c; } .h-mlist .ck svg { width: 18px; height: 18px; }
.h-mlist small { color: var(--h-muted); }
.h-tour, .h-shop { display: flex; align-items: center; gap: 16px; cursor: pointer; }
.h-tour b, .h-shop b { display: block; font-size: 22px; font-weight: 700; color: #fff; } .h-tour small, .h-shop small { color: #c9d1cd; font-size: 16px; }
.h-tour-img { width: 80px; height: 84px; flex: none; background: center / contain no-repeat; }
.h-shop svg { width: 34px; height: 34px; color: var(--h-mint); margin: 0 22px 0 20px; }

/* ecrane medii */
@media (max-width: 1300px) { .h-grid { grid-template-columns: minmax(0, 1fr) 320px; } .h-bonus-img { width: 110px; } .h-card { min-height: 420px; } }
@media (max-width: 1080px) {
  .h-grid { grid-template-columns: 1fr; } .h-today { border-left: 0; border-top: 1px solid var(--h-line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px 26px 30px 38px; }
  .h-today > h3 { grid-column: 1 / -1; }
}
/* telefon: meniul lateral devine bară jos */
@media (max-width: 760px) {
  #lobby.home3 { display: block; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .h-side { position: fixed; top: auto; bottom: 0; left: 0; right: 0; height: auto; width: auto; flex-direction: row; padding: 0 0 env(safe-area-inset-bottom); border-right: 0; border-top: 1px solid var(--h-line); }
  .h-side .h-brand { display: none; }
  .h-nav { flex-direction: row; } .h-nav button { flex: 1; padding: 10px 2px 9px; gap: 4px; font-size: 12px; border-bottom: 0; }
  .h-nav button svg { width: 25px; height: 25px; } .h-nav button.on::before { left: 20%; right: 20%; top: 0; bottom: auto; width: auto; height: 3px; border-radius: 0 0 3px 3px; }
  .h-nav .badge { top: 4px; right: 22%; }
  .h-me-btn { width: 44px; height: 44px; margin: 0 10px; } .h-me-btn .avatar { width: 40px; height: 40px; font-size: 15px; } .h-me-btn > span > svg { width: 22px; height: 22px; }
  .h-top { flex-wrap: wrap; padding: calc(env(safe-area-inset-top) + 12px) 14px 4px; gap: 8px; }
  .h-top .h-brand .h-mark { display: block; transform: scale(.75); margin: -6px -8px; } .h-brand b { font-size: 21px; } .h-brand small { font-size: 11px; }
  .h-user { order: 5; flex: 1 1 100%; } .h-user .acct { width: 100%; justify-content: space-between; } .h-lvl { width: 140px; }
  .home3 #guestCard { width: 100%; flex-wrap: wrap; } .home3 #nick { flex: 1; width: auto; }
  .home3 .lb-online { font-size: 0; padding: 8px 10px; gap: 4px; } .home3 .lb-online b { font-size: 12px; } .home3 .lb-ic { width: 40px; height: 40px; } .home3 .lb-ic svg { width: 21px; height: 21px; }
  .h-main { padding: 6px 14px 20px; } .h-hero p { margin-bottom: 14px; }
  .h-cards { grid-template-columns: 1fr; gap: 12px; }
  .h-card { min-height: 0; padding: 18px; gap: 10px; } .h-art { min-height: 150px; margin: 0 -18px; } .h-card.friends .h-art { min-height: 120px; }
  .h-pills { gap: 6px; } .pill { padding: 0 8px; height: 46px; gap: 5px; border-radius: 12px; } .pill svg { width: 17px; height: 17px; } .pill select { font-size: 13px; }
  .h-cta { height: 56px; font-size: 19px; } .h-btn, .h-code { height: 52px; font-size: 16px; }
  .h-learn { gap: 12px; padding: 12px; flex-wrap: wrap; } .h-learn-img { width: 86px; height: 46px; } .h-learn b { font-size: 18px; } .h-learn small { font-size: 13px; }
  .h-learn .h-btn { width: 100%; height: 46px; }
  .h-today { grid-template-columns: 1fr; padding: 14px; } .h-today > h3 { font-size: 24px; }
  .h-bonus-img { width: 110px; } .h-box-head b, .h-tour b, .h-shop b { font-size: 20px; }
  .home3 .lb-grid { grid-template-columns: 1fr; } .home3 .tcard { grid-template-columns: minmax(0, 1fr) 150px; } .home3 .tc-table { height: 128px; }
  .h-sec-head h3 { font-size: 22px; } .home3 .lb-tabs button { padding: 7px 11px; font-size: 13px; }
}
.home3 .h-nav.lb-nav { position: static; transform: none; left: auto; bottom: auto; width: auto; padding: 0; border-radius: 0; background: none; border: 0; box-shadow: none; z-index: auto; }
.home3 .h-nav.lb-nav button + button::before, .home3 .h-nav.lb-nav button.on::after { content: none; }
.home3 .h-nav.lb-nav button { flex: 0 0 auto; font: 500 15px/1.1 'Outfit', sans-serif; color: #cfd8d4; }
.home3 .h-nav.lb-nav button.on { color: var(--h-mint); }
.home3 .h-code input { width: auto; letter-spacing: 0; text-align: left; padding: 0; border-radius: 0; }
.home3 .tc-info h3, .home3 .tc-count, .home3 .tc-join { font-family: 'Outfit', sans-serif; letter-spacing: 0; }
@media (max-width: 760px) { .home3 .h-nav.lb-nav { flex: 1; } .home3 .h-nav.lb-nav button { flex: 1; font-size: 12px; } }
/* pe ecrane înguste: „Astăzi” vine imediat după cardurile mari, înaintea listei de mese */
@media (max-width: 1080px) {
  .h-grid { display: flex; flex-direction: column; }
  .h-main { display: contents; }
  .h-hero, .h-cards, .h-learn, .h-tables, .home3 .lb-links { margin-left: 38px; margin-right: 26px; }
  .h-hero { order: 1; } .h-cards { order: 2; } .h-learn { order: 3; } .h-today { order: 4; } .h-tables { order: 5; } .home3 .lb-links { order: 6; margin-bottom: 30px; }
  .h-today { margin-top: 16px; }
}
@media (max-width: 760px) {
  .h-hero, .h-cards, .h-learn, .h-tables, .home3 .lb-links { margin-left: 14px; margin-right: 14px; }
  .h-today { margin-top: 12px; border-top: 0; }
}

/* =================================================================== TELEFON ÎN LANDSCAPE — aspect compact:
   bara de sus devine o coloană îngustă în stânga, butoanele de joc o coloană în dreapta; masa și suportul ocupă tot restul */
@media (max-height: 500px) and (orientation: landscape) {
  #game { grid-template-columns: 46px minmax(0, 1fr) 62px; grid-template-rows: minmax(0, 1fr) auto; column-gap: 6px; row-gap: 0;
    padding: max(4px, env(safe-area-inset-top)) max(6px, env(safe-area-inset-right)) max(4px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left)); }
  #game .g-top { grid-column: 1; grid-row: 1 / 3; flex-direction: column; justify-content: flex-start; align-items: center; gap: 6px; min-height: 0; }
  #game .g-top .gbtn { width: 38px; height: 38px; border-radius: 10px; } #game .g-top .gbtn svg { width: 19px; height: 19px; } #game .g-top .emo { font-size: 18px; }
  #game .g-top .g-tools { flex-direction: column; gap: 6px; margin: 0; }
  #game .g-pill { order: 0; margin: 0; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; width: 44px; border-radius: 12px; font-size: 10px; line-height: 1.1; text-align: center; white-space: normal; }
  #game .g-pill #gRound { font-size: 0; } #game .g-pill #gRound::before { content: attr(data-short); font-size: 11px; } #game .g-pill #gRound .x2 { font-size: 9px; display: block; }
  #game .g-pill #gDeck { font-size: 10px; } #game .g-pill .pill-atu { font-size: 0; } #game .g-pill .pill-atu .tile { --tw: 20px; font-size: 12px; }
  #game .g-main { grid-column: 2; grid-row: 1; min-height: 0; }
  #game .rack-area { grid-column: 2; grid-row: 2; }
  #game .g-bottom { grid-column: 3; grid-row: 1 / 3; display: flex; flex-direction: column; gap: 5px; margin: 0; padding: 0; justify-content: center; }
  #game .g-bottom .gbtn3 { flex: 1 1 0; max-height: 58px; min-height: 0; width: 100%; padding: 2px; flex-direction: column; gap: 1px; border-radius: 10px; font-size: 9px; line-height: 1; }
  #game .g-bottom .gbtn3 .ic { width: 24px; height: 24px; margin: 0; } #game .g-bottom .gbtn3 .ic svg { width: 15px; height: 15px; }
  #game .g-bottom .gbtn3 span { font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  /* masa: ramă subțire, jucători pe un singur rând, fără filigran */
  body.wood #game .felt { border-width: 10px 12px 2px; border-image-width: 10px 12px 2px 12px; padding: 4px 8px; gap: 3px; }
  body.wood #game .g-main { margin-top: 0; }
  #game .watermark { display: none; }
  #game .seats-bar { flex-wrap: nowrap; gap: 4px; justify-content: center; }
  #game .seats-bar .pcard { flex: 0 1 auto; min-width: 0; max-width: 190px; padding: 2px 3px 2px 2px; column-gap: 5px; border-radius: 9px; }
  #game .seats-bar .avatar { width: 22px; height: 22px; font-size: 9px; border-width: 1.5px; } #game .seats-bar .avatar .bot { font-size: 9px; right: -4px; bottom: -3px; } #game .seats-bar .avatar .on { width: 7px; height: 7px; }
  #game .seats-bar .pname { font-size: 11px; } #game .seats-bar .pname .you, #game .seats-bar .pname .lg { display: none; }
  #game .seats-bar .pmeta { display: none; } #game .seats-bar .pcard.few .pmeta { display: flex; margin-top: 1px; } #game .seats-bar .pcard.few .pmeta .ptag:not(.few) { display: none; }
  #game .pscore { min-width: 28px; padding: 0 4px; border-radius: 6px; } #game .pscore b { font-size: 12px; } #game .pscore small { display: none; }
  #game .felt .hint-pill { font-size: 9.5px; padding: 2px 10px; bottom: 3px; letter-spacing: .3px; }
  #game .empty-table { font-size: 11px; line-height: 1.3; }
  #game .bottom-zone { padding: 0; gap: 6px; }
  #game .turn-clock { padding: 2px 8px 2px 2px; gap: 5px; margin: 0; } #game .turn-clock svg { width: 28px; height: 28px; } #game .turn-clock b { left: 2px; width: 28px; font-size: 11px; } #game .turn-clock small { font-size: 10px; max-width: 70px; }
  #game .stacks .stack, #game .stacks .tile { --tw: calc(var(--mw2) * .85); }
  /* suportul: mai jos, capete înguste */
  body.wood #game .rack-area { margin-bottom: 0; }
  body.wood #game .rack { --cap: 12px; }
  body.wood #game .tier { padding: 3px 10px 4px; } body.wood #game .tier.front { padding: 4px 10px 7px; }
  #game .xchg { top: 30px; }
  #game .untake { padding: 3px 8px 3px 4px; } #game .untake small { display: none; }
}
@media (max-height: 500px) and (orientation: landscape) {
  #game .felt .hint-pill { position: static; transform: none; align-self: center; opacity: .95; margin: 0; }
  #game .melds.v2 .pgroup .phead, #game .melds.v2 .phead { font-size: 11px; }
  #game .dstrip { min-height: 0; padding: 3px 4px; }
}

/* =================================================================== TABLETĂ ÎN LANDSCAPE (clasa land-tab pusă din JS):
   aceeași organizare ca pe telefon (coloane laterale), dar cu dimensiuni mai mari */
  body.land-tab #game { grid-template-columns: 46px minmax(0, 1fr) 62px; grid-template-rows: minmax(0, 1fr) auto; column-gap: 6px; row-gap: 0;
    padding: max(4px, env(safe-area-inset-top)) max(6px, env(safe-area-inset-right)) max(4px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left)); }
  body.land-tab #game .g-top { grid-column: 1; grid-row: 1 / 3; flex-direction: column; justify-content: flex-start; align-items: center; gap: 6px; min-height: 0; }
  body.land-tab #game .g-top .gbtn { width: 38px; height: 38px; border-radius: 10px; } body.land-tab #game .g-top .gbtn svg { width: 19px; height: 19px; } body.land-tab #game .g-top .emo { font-size: 18px; }
  body.land-tab #game .g-top .g-tools { flex-direction: column; gap: 6px; margin: 0; }
  body.land-tab #game .g-pill { order: 0; margin: 0; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; width: 44px; border-radius: 12px; font-size: 10px; line-height: 1.1; text-align: center; white-space: normal; }
  body.land-tab #game .g-pill #gRound { font-size: 0; } body.land-tab #game .g-pill #gRound::before { content: attr(data-short); font-size: 11px; } body.land-tab #game .g-pill #gRound .x2 { font-size: 9px; display: block; }
  body.land-tab #game .g-pill #gDeck { font-size: 10px; } body.land-tab #game .g-pill .pill-atu { font-size: 0; } body.land-tab #game .g-pill .pill-atu .tile { --tw: 20px; font-size: 12px; }
  body.land-tab #game .g-main { grid-column: 2; grid-row: 1; min-height: 0; }
  body.land-tab #game .rack-area { grid-column: 2; grid-row: 2; }
  body.land-tab #game .g-bottom { grid-column: 3; grid-row: 1 / 3; display: flex; flex-direction: column; gap: 5px; margin: 0; padding: 0; justify-content: center; }
  body.land-tab #game .g-bottom .gbtn3 { flex: 1 1 0; max-height: 58px; min-height: 0; width: 100%; padding: 2px; flex-direction: column; gap: 1px; border-radius: 10px; font-size: 9px; line-height: 1; }
  body.land-tab #game .g-bottom .gbtn3 .ic { width: 24px; height: 24px; margin: 0; } body.land-tab #game .g-bottom .gbtn3 .ic svg { width: 15px; height: 15px; }
  body.land-tab #game .g-bottom .gbtn3 span { font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  /* masa: ramă subțire, jucători pe un singur rând, fără filigran */
  body.wood.land-tab #game .felt { border-width: 10px 12px 2px; border-image-width: 10px 12px 2px 12px; padding: 4px 8px; gap: 3px; }
  body.wood.land-tab #game .g-main { margin-top: 0; }
  body.land-tab #game .watermark { display: none; }
  body.land-tab #game .seats-bar { flex-wrap: nowrap; gap: 4px; justify-content: center; }
  body.land-tab #game .seats-bar .pcard { flex: 0 1 auto; min-width: 0; max-width: 190px; padding: 2px 3px 2px 2px; column-gap: 5px; border-radius: 9px; }
  body.land-tab #game .seats-bar .avatar { width: 22px; height: 22px; font-size: 9px; border-width: 1.5px; } body.land-tab #game .seats-bar .avatar .bot { font-size: 9px; right: -4px; bottom: -3px; } body.land-tab #game .seats-bar .avatar .on { width: 7px; height: 7px; }
  body.land-tab #game .seats-bar .pname { font-size: 11px; } body.land-tab #game .seats-bar .pname .you, body.land-tab #game .seats-bar .pname .lg { display: none; }
  body.land-tab #game .seats-bar .pmeta { display: none; } body.land-tab #game .seats-bar .pcard.few .pmeta { display: flex; margin-top: 1px; } body.land-tab #game .seats-bar .pcard.few .pmeta .ptag:not(.few) { display: none; }
  body.land-tab #game .pscore { min-width: 28px; padding: 0 4px; border-radius: 6px; } body.land-tab #game .pscore b { font-size: 12px; } body.land-tab #game .pscore small { display: none; }
  body.land-tab #game .felt .hint-pill { font-size: 9.5px; padding: 2px 10px; bottom: 3px; letter-spacing: .3px; }
  body.land-tab #game .empty-table { font-size: 11px; line-height: 1.3; }
  body.land-tab #game .bottom-zone { padding: 0; gap: 6px; }
  body.land-tab #game .turn-clock { padding: 2px 8px 2px 2px; gap: 5px; margin: 0; } body.land-tab #game .turn-clock svg { width: 28px; height: 28px; } body.land-tab #game .turn-clock b { left: 2px; width: 28px; font-size: 11px; } body.land-tab #game .turn-clock small { font-size: 10px; max-width: 70px; }
  body.land-tab #game .stacks .stack, body.land-tab #game .stacks .tile { --tw: calc(var(--mw2) * .85); }
  /* suportul: mai jos, capete înguste */
  body.wood.land-tab #game .rack-area { margin-bottom: 0; }
  body.wood.land-tab #game .rack { --cap: 12px; }
  body.wood.land-tab #game .tier { padding: 3px 10px 4px; } body.wood.land-tab #game .tier.front { padding: 4px 10px 7px; }
  body.land-tab #game .xchg { top: 30px; }
  body.land-tab #game .untake { padding: 3px 8px 3px 4px; } body.land-tab #game .untake small { display: none; }
  body.land-tab #game .felt .hint-pill { position: static; transform: none; align-self: center; opacity: .95; margin: 0; }
  body.land-tab #game .melds.v2 .pgroup .phead, body.land-tab #game .melds.v2 .phead { font-size: 11px; }
  body.land-tab #game .dstrip { min-height: 0; padding: 3px 4px; }
body.land-tab #game { grid-template-columns: 64px minmax(0, 1fr) 92px; column-gap: 10px; padding: max(8px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); }
body.land-tab #game .g-top { gap: 10px; } body.land-tab #game .g-top .gbtn { width: 54px; height: 54px; border-radius: 14px; } body.land-tab #game .g-top .gbtn svg { width: 26px; height: 26px; } body.land-tab #game .g-top .emo { font-size: 26px; }
body.land-tab #game .g-top .g-tools { gap: 10px; }
body.land-tab #game .g-pill { width: 62px; padding: 8px 2px; font-size: 13px; } body.land-tab #game .g-pill #gRound::before { font-size: 15px; } body.land-tab #game .g-pill #gDeck { font-size: 13px; } body.land-tab #game .g-pill .pill-atu .tile { --tw: 28px; font-size: 16px; }
body.land-tab #game .g-bottom { gap: 8px; } body.land-tab #game .g-bottom .gbtn3 { max-height: 92px; border-radius: 14px; gap: 4px; }
body.land-tab #game .g-bottom .gbtn3 .ic { width: 36px; height: 36px; } body.land-tab #game .g-bottom .gbtn3 .ic svg { width: 21px; height: 21px; } body.land-tab #game .g-bottom .gbtn3 span { font-size: 13px; }
body.wood.land-tab #game .felt { border-width: 16px 18px 3px; border-image-width: 16px 18px 3px 18px; padding: 8px 12px; gap: 6px; }
body.land-tab #game .seats-bar { gap: 8px; } body.land-tab #game .seats-bar .pcard { max-width: 260px; padding: 4px 6px 4px 4px; column-gap: 8px; border-radius: 12px; }
body.land-tab #game .seats-bar .avatar { width: 34px; height: 34px; font-size: 12px; } body.land-tab #game .seats-bar .avatar .bot { font-size: 12px; } body.land-tab #game .seats-bar .avatar .on { width: 10px; height: 10px; }
body.land-tab #game .seats-bar .pname { font-size: 15px; } body.land-tab #game .seats-bar .pmeta { display: flex; margin-top: 3px; } body.land-tab #game .ptag { font-size: 10.5px; }
body.land-tab #game .pscore { min-width: 46px; padding: 2px 8px; border-radius: 9px; } body.land-tab #game .pscore b { font-size: 17px; }
body.land-tab #game .felt .hint-pill { font-size: 13px; padding: 4px 16px; }
body.land-tab #game .melds.v2 .phead { font-size: 15px; }
body.land-tab #game .turn-clock { padding: 4px 12px 4px 4px; gap: 8px; } body.land-tab #game .turn-clock svg { width: 42px; height: 42px; } body.land-tab #game .turn-clock b { left: 4px; width: 42px; font-size: 15px; } body.land-tab #game .turn-clock small { font-size: 13px; max-width: 120px; }
body.land-tab #game .dstrip { padding: 5px 6px; }
body.wood.land-tab #game .rack { --cap: 18px; }
body.wood.land-tab #game .tier { padding: 5px 14px 6px; } body.wood.land-tab #game .tier.front { padding: 6px 14px 10px; }
body.land-tab #game .xchg { top: 52px; }
body.land-tab #game .untake { padding: 5px 12px 5px 6px; }
.h-pills { grid-template-columns: repeat(2, 1fr); }
.h-brand b span { font-weight: 500; }

/* fără textul de ajutor pe masa goală */
#melds .empty-table { display: none; }

/* mesaje rapide */
.react-pop .qc { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 4px; margin-top: 4px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .12); max-height: 46vh; overflow-y: auto; }
.react-pop .qc button, .chat-quick button { font: 700 13px/1.2 Inter, system-ui, sans-serif; text-align: left; color: #f3eee4; padding: 7px 10px; border-radius: 9px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); cursor: pointer; white-space: nowrap; }
.react-pop .qc button:hover, .chat-quick button:hover { background: rgba(232, 199, 123, .18); border-color: rgba(232, 199, 123, .5); }
.chat-quick { display: flex; gap: 5px; overflow-x: auto; padding: 6px 0; scrollbar-width: none; } .chat-quick::-webkit-scrollbar { display: none; }
.chat-quick button { flex: none; padding: 5px 9px; font-size: 12px; }

/* reluarea rundei */
.rp { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 12px; background: rgba(0, 0, 0, .7); }
.rp-in { width: min(900px, 100%); max-height: 100%; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 18px;
  background: radial-gradient(ellipse at 50% 30%, #23683a, #10391e 80%); border: 2px solid #c9a45c; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); --tw: 30px; }
.rp-in header { display: flex; align-items: center; gap: 12px; } .rp-in header b { font-size: 19px; color: #ffe39a; }
.rp-atu { display: flex; align-items: center; gap: 6px; font-weight: 800; color: #f3eee4; } .rp-atu .tile { --tw: 22px; }
.rp-x { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .3); color: #fff; font-size: 16px; cursor: pointer; }
.rp-players { display: flex; flex-wrap: wrap; gap: 6px; }
.rp-p { flex: 1 1 120px; padding: 6px 10px; border-radius: 10px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .12); }
.rp-p b { display: block; font-size: 14px; color: #fff; } .rp-p small { color: #c9d6c9; font-weight: 700; }
.rp-p.tn { border-color: rgba(243, 212, 138, .6); } .rp-p.mv { border-color: #ffe39a; box-shadow: 0 0 0 2px rgba(243, 212, 138, .35); }
.rp-p em { font-style: normal; } .rp-p em.pos { color: #7fe0a0; } .rp-p em.neg { color: #ff8a80; }
.rp-cap { min-height: 24px; text-align: center; font-weight: 800; color: #f3eee4; font-size: 15px; } .rp-cap b { color: #ffe39a; }
.rp-melds { display: flex; flex-direction: column; gap: 8px; min-height: 60px; }
.rp-g > small { font-weight: 900; color: #ffe39a; } .rp-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 3px; }
.rp-m { display: flex; gap: 1px; padding: 2px; border-radius: 6px; } .rp-m.new { box-shadow: 0 0 0 2px #7fe0a0, 0 0 12px rgba(127, 224, 160, .6); }
.rp-in .tile.sm { --tw: 30px; }
.rp-disc { padding: 6px 8px; border-radius: 10px; border: 2px dashed rgba(255, 255, 255, .22); } .rp-disc small, .rp-end > small { color: #c9d6c9; font-weight: 800; }
.rp-disc > div { display: flex; gap: 2px; flex-wrap: wrap; margin-top: 3px; }
.rp-end:empty { display: none; } .rp-h { display: flex; align-items: center; gap: 8px; margin-top: 4px; } .rp-h b { min-width: 110px; font-size: 13px; color: #fff; } .rp-h span { display: flex; flex-wrap: wrap; gap: 1px; }
.rp-ctl { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .15); }
.rp-ctl button { min-width: 44px; height: 40px; border-radius: 10px; cursor: pointer; font-size: 16px; color: #2a1704; background: linear-gradient(180deg, #f6dc98, #d9b25a); border: 1px solid #8a6a24; }
.rp-ctl input { flex: 1 1 160px; accent-color: #e8c77b; } .rp-n { color: #f3eee4; font-weight: 800; font-size: 13px; min-width: 60px; text-align: right; }
@media (max-width: 600px), (max-height: 500px) { .rp-in { padding: 10px; gap: 6px; } .rp-in .tile.sm { --tw: 22px; } .rp-ctl button { min-width: 38px; height: 34px; } }
.share-row { margin-top: 8px; } .btn.wa { background: linear-gradient(180deg, #3ddc84, #1faa5c); color: #06301a; border-color: #138a43; text-decoration: none; text-align: center; }

/* Astăzi: eveniment, sezon, invitații */
.h-event { padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(240, 201, 106, .18), rgba(240, 120, 60, .12)); border: 1px solid rgba(240, 201, 106, .35); }
.h-event.on { background: linear-gradient(135deg, rgba(255, 150, 60, .35), rgba(240, 201, 106, .2)); border-color: rgba(255, 180, 90, .7); box-shadow: 0 0 24px rgba(255, 150, 60, .2); }
.h-event b { display: block; font-size: 18px; color: #fff; } .h-event small { color: #f3e3c4; font-size: 14px; }
.h-season, .h-refer { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.h-season-ic, .h-refer-ic { width: 54px; height: 54px; flex: none; display: grid; place-items: center; font-size: 30px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.h-season b, .h-refer b { display: block; font-size: 20px; font-weight: 700; color: #fff; } .h-season small, .h-refer small { color: #c9d1cd; font-size: 14px; }
.h-sbar { display: block; height: 6px; margin-top: 7px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; } .h-sbar i { display: block; height: 100%; width: 0; background: var(--h-mint2, #3fc58a); }
.season-me { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); margin: 8px 0; }
.season-tab tr.me td { color: #ffe39a; font-weight: 900; } .season-tab td { padding: 6px 8px; }

/* banner la închiderea rundei */
.close-banner { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; pointer-events: none; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .45), transparent 70%); transition: opacity .35s; }
.close-banner.out { opacity: 0; }
.close-banner > div { text-align: center; padding: 22px 44px; border-radius: 22px; background: linear-gradient(180deg, rgba(30, 22, 8, .92), rgba(12, 9, 4, .95)); border: 2px solid #e8c77b;
  box-shadow: 0 0 0 6px rgba(232, 199, 123, .15), 0 0 60px rgba(232, 199, 123, .45), 0 20px 50px rgba(0, 0, 0, .6); }
.close-banner b { display: block; font: 900 clamp(30px, 6vw, 58px)/1.05 'Outfit', 'Inter', sans-serif; color: #ffe39a; text-shadow: 0 2px 0 #7a5512, 0 0 24px rgba(255, 210, 110, .6); }
.close-banner small { display: block; margin-top: 6px; font: 800 clamp(14px, 2vw, 18px) 'Outfit', 'Inter', sans-serif; color: #f3eee4; }

/* teme: postavul cu textură recolorat după tema din magazin; piese închise la culoare */
body.wood.tinted .felt { background: radial-gradient(ellipse at 50% 40%, var(--felt-1), var(--felt-2)), url(/img/table/felt.webp) center / cover; background-blend-mode: color, normal; }
body.tiles-dark .tile { background: linear-gradient(180deg, #3a3d45 0%, var(--tile) 45%, var(--tile-2) 100%); box-shadow: 0 3px 0 var(--tile-edge), 0 5px 8px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .18); }
body.tiles-dark .tile.c0, .prev.tiles.dk .tile.c0 { color: #ff6b6b; } body.tiles-dark .tile.c1, .prev.tiles.dk .tile.c1 { color: #ffc23d; }
body.tiles-dark .tile.c2, .prev.tiles.dk .tile.c2 { color: #6fa8ff; } body.tiles-dark .tile.c3, .prev.tiles.dk .tile.c3 { color: #f3eee4; }
.prev.tiles { display: flex; gap: 3px; justify-content: center; align-items: center; } .prev.tiles .tile { --tw: 30px; }
.prev.tiles.dk .tile { background: linear-gradient(180deg, #3a3d45 0%, var(--tile) 45%, var(--tile-2) 100%); }
body.tiles-dark .tile::after, body.tiles-dark .tile .dot { opacity: .5; }

/* în aplicația Android/iOS: fără butonul de ecran complet și fără sugestii de browser */
.in-app #btnFs, .in-app .fs-tip { display: none !important; }
.in-app body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.in-app input, .in-app textarea { -webkit-user-select: text; user-select: text; }

/* =================================================================== ACASĂ pe telefon ținut orizontal: meniu lateral îngust, carduri compacte */
@media (max-height: 500px) and (orientation: landscape) {
  .h-side { width: 76px; padding: max(8px, env(safe-area-inset-top)) 0 8px max(0px, env(safe-area-inset-left)); }
  .h-side .h-brand { padding-bottom: 8px; } .h-side .h-mark { transform: scale(.75); }
  .home3 .h-nav.lb-nav button { padding: 9px 2px; gap: 4px; font-size: 11px; } .h-nav button svg { width: 24px; height: 24px; }
  .h-me-btn { width: 44px; height: 44px; } .h-me-btn .avatar { width: 40px; height: 40px; font-size: 15px; } .h-me-btn > span > svg { width: 22px; height: 22px; }
  .h-top { padding: max(6px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 2px 18px; gap: 8px; }
  .h-brand b { font-size: 20px; } .h-lvl { width: 120px; }
  .home3 .lb-online { padding: 6px 10px; } .home3 .lb-ic { width: 38px; height: 38px; } .home3 .lb-ic svg { width: 20px; height: 20px; }
  .h-user .acct { padding: 3px 4px 3px 12px; gap: 8px; } .h-who b { font-size: 13px; } .home3 .coins { padding: 5px 10px; font-size: 13px; }
  .home3 .verify-note { margin: 4px 18px 0; padding: 5px 10px; font-size: 12px; }
  .h-grid { grid-template-columns: minmax(0, 1fr) 270px; }
  .h-main { padding: 4px 14px 16px 18px; }
  .h-hero h2 { font-size: 30px; margin: 2px 0; letter-spacing: -.6px; } .h-hero p { font-size: 14px; margin: 0 0 8px; }
  .h-cards { gap: 10px; grid-template-columns: 1.35fr 1fr; }
  .h-card { min-height: 0; padding: 12px 14px 14px; gap: 8px; border-radius: 14px; }
  .h-card h3 { font-size: 26px; letter-spacing: -.6px; } .h-card p { font-size: 13px; margin-top: 2px; }
  .h-art { min-height: 70px; max-height: 90px; margin: 0 -14px; }
  .pill { height: 40px; padding: 0 10px; border-radius: 11px; } .pill svg { width: 17px; height: 17px; } .pill select { font-size: 14px; }
  .h-cta { height: 46px; font-size: 17px; border-radius: 12px; } .h-btn, .h-code { height: 42px; font-size: 14px; border-radius: 12px; } .h-code input { font-size: 14px; }
  .h-learn { margin-top: 10px; padding: 8px 12px; gap: 12px; } .h-learn-img { width: 80px; height: 40px; } .h-learn b { font-size: 16px; } .h-learn small { font-size: 12px; } .h-learn .h-btn { height: 38px; }
  .h-tables { margin-top: 16px; } .h-sec-head h3 { font-size: 19px; }
  .home3 .lb-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
  .h-today { padding: 4px 14px 16px 14px; gap: 10px; } .h-today > h3 { font-size: 20px; margin: 4px 0 0; }
  .h-bonus-img { width: 76px; } .h-bonus-txt { padding: 10px 12px; } .h-bonus-txt b { font-size: 16px; } .h-bonus-txt small { font-size: 12px; } .h-bonus-txt em { font-size: 14px; }
  .h-box { padding: 10px 12px; } .h-box-head b, .h-tour b, .h-shop b, .h-season b, .h-refer b { font-size: 16px; } .h-box-head small, .h-tour small, .h-shop small, .h-season small, .h-refer small { font-size: 12px; }
  .h-mlist li { font-size: 13px; gap: 8px; } .h-mlist .ck { width: 22px; height: 22px; } .h-mbars { margin: 8px 0; }
  .h-tour-img { width: 46px; height: 50px; } .h-season-ic, .h-refer-ic { width: 40px; height: 40px; font-size: 22px; } .h-shop svg { width: 26px; height: 26px; margin: 0 8px; }
  .h-event { padding: 10px 12px; } .h-event b { font-size: 15px; } .h-event small { font-size: 12px; }
}
/* tabletă ținută orizontal: coloana „Astăzi” mai îngustă */
@media (orientation: landscape) and (min-height: 501px) and (max-height: 900px) and (max-width: 1400px) and (pointer: coarse) {
  .h-grid { grid-template-columns: minmax(0, 1fr) 320px; } .h-card { min-height: 380px; } .h-hero h2 { font-size: 52px; }
}
body.land-tab #game .g-bottom, body.land-tab #game .g-top { min-width: 0; width: 100%; overflow: hidden; }
body.land-tab #game .g-bottom .gbtn3 { min-width: 0; max-width: 100%; box-sizing: border-box; }
@media (max-height: 500px) and (orientation: landscape) { #game .g-bottom, #game .g-top { min-width: 0; width: 100%; } #game .g-bottom .gbtn3 { min-width: 0; max-width: 100%; box-sizing: border-box; } }

/* =================================================================== LANDSCAPE (telefon + tabletă): butoanele jos, de o parte și de alta a suportului
   coloane: [unelte] [3 butoane] [suport] [3 butoane]; masa ocupă rândul de sus pe toată lățimea */
@media (max-height: 500px) and (orientation: landscape) {
  #game { grid-template-columns: 46px var(--sideBtnW, 104px) minmax(0, 1fr) var(--sideBtnW, 104px); grid-template-rows: minmax(0, 1fr) repeat(3, auto); --sideBtnW: 116px; }
  #game .g-top { grid-column: 1; grid-row: 1 / 5; }
  #game .g-main { grid-column: 2 / 5; grid-row: 1; }
  #game .rack-area { grid-column: 3; grid-row: 2 / 5; align-self: end; }
  #game .g-bottom { display: contents; }
  #game .g-bottom .gbtn3 { flex: none; height: auto; min-height: 0; max-height: none; width: 100%; flex-direction: row; justify-content: flex-start; gap: 6px; padding: 3px 8px 3px 4px; margin-top: 4px; font-size: 11px; border-radius: 10px; align-self: stretch; }
  #game .g-bottom .gbtn3 .ic { width: 24px; height: 24px; } #game .g-bottom .gbtn3 span { font-size: 11px; }
  #game #bDiscard { grid-column: 2; grid-row: 2; } #game #bHint { grid-column: 2; grid-row: 3; } #game #bSort { grid-column: 2; grid-row: 4; }
  #game #bMeld { grid-column: 4; grid-row: 2; } #game #bReset { grid-column: 4; grid-row: 3; } #game #bClose { grid-column: 4; grid-row: 4; }
  #game .g-bottom .gbtn3:last-child { margin-bottom: 2px; }
}
body.land-tab #game { --sideBtnW: 168px; grid-template-columns: 64px var(--sideBtnW) minmax(0, 1fr) var(--sideBtnW); grid-template-rows: minmax(0, 1fr) repeat(3, auto); }
body.land-tab #game .g-top { grid-column: 1; grid-row: 1 / 5; }
body.land-tab #game .g-main { grid-column: 2 / 5; grid-row: 1; }
body.land-tab #game .rack-area { grid-column: 3; grid-row: 2 / 5; align-self: end; }
body.land-tab #game .g-bottom { display: contents; }
body.land-tab #game .g-bottom .gbtn3 { flex: none; height: auto; min-height: 0; max-height: none; width: 100%; flex-direction: row; justify-content: flex-start; gap: 10px; padding: 7px 12px 7px 7px; margin-top: 8px; border-radius: 13px; align-self: stretch; }
body.land-tab #game .g-bottom .gbtn3 .ic { width: 38px; height: 38px; } body.land-tab #game .g-bottom .gbtn3 span { font-size: 15px; }
body.land-tab #game #bDiscard { grid-column: 2; grid-row: 2; } body.land-tab #game #bHint { grid-column: 2; grid-row: 3; } body.land-tab #game #bSort { grid-column: 2; grid-row: 4; }
body.land-tab #game #bMeld { grid-column: 4; grid-row: 2; } body.land-tab #game #bReset { grid-column: 4; grid-row: 3; } body.land-tab #game #bClose { grid-column: 4; grid-row: 4; }

/* efect de victorie — elegant, auriu (fără confetti) */
.victory-fx { position: fixed; inset: 0; z-index: 69; pointer-events: none; overflow: hidden; transition: opacity .7s ease; }
.victory-fx.out { opacity: 0; }
.vf-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 46%, rgba(255, 214, 120, .38), rgba(255, 190, 80, .12) 28%, transparent 60%); animation: vfGlow 1.2s ease-out both; }
.vf-rays { position: absolute; left: 50%; top: 46%; width: 160vmax; height: 160vmax; margin: -80vmax 0 0 -80vmax; opacity: 0;
  background: repeating-conic-gradient(from 0deg, rgba(255, 220, 140, .16) 0 4deg, transparent 4deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 0, rgba(0, 0, 0, .6) 18%, transparent 46%); mask-image: radial-gradient(circle, #000 0, rgba(0, 0, 0, .6) 18%, transparent 46%);
  animation: vfRays 3s ease-out both; }
.vf-sweep { position: absolute; inset: -20% -60%; background: linear-gradient(105deg, transparent 42%, rgba(255, 240, 200, .28) 50%, transparent 58%); animation: vfSweep 1.4s .15s ease-in-out both; }
.victory-fx i { position: absolute; left: 50%; top: 46%; width: var(--s); height: var(--s); border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, #fff6d8, #ffd56a 45%, rgba(255, 190, 70, 0) 70%); box-shadow: 0 0 8px 2px rgba(255, 210, 110, .7);
  animation: vfSpark var(--d) var(--w) cubic-bezier(.15, .7, .3, 1) both; }
@keyframes vfGlow { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes vfRays { 0% { opacity: 0; transform: rotate(0deg) scale(.7); } 20% { opacity: 1; } 100% { opacity: .65; transform: rotate(28deg) scale(1); } }
@keyframes vfSweep { from { transform: translateX(-60%); } to { transform: translateX(60%); } }
@keyframes vfSpark { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.3); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y) - 6vmin)) scale(1); } }

/* ================= LOBBY „home4” — verde, 3 coloane (Joacă cu prietenii · Joc rapid · Recompense) ================= */
#lobby.home4 { --g-mint: #4fe0a4; --g-mint2: #1fa874; --g-ink: #0b2a1e; --g-line: rgba(255, 255, 255, .12); --g-glass: rgba(3, 25, 16, .58);
  position: relative; max-width: none; margin: 0; min-height: 100dvh; overflow-x: hidden; color: #fff; font-family: 'Outfit', system-ui, sans-serif;
  padding: 14px 32px 24px 144px; display: block;
  background: radial-gradient(ellipse 60% 55% at 50% 38%, #17644a 0%, transparent 70%), radial-gradient(ellipse 120% 100% at 50% 20%, #0f4a37, #04190f 80%) fixed, #04190f; }
#lobby.home4::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(ellipse 80% 80% at 50% 45%, transparent 60%, rgba(0, 0, 0, .5)); }
#lobby.home4 > * { position: relative; z-index: 1; }
.home4 button { font-family: inherit; }
.home4 svg { flex: none; }
.home4 .card { background: none; border: 0; box-shadow: none; padding: 0; margin: 0; }
/* piese (plăcuțe) */
.home4 .tl { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 56px; height: 74px; border-radius: 10px; font: 900 36px/1 'Inter', sans-serif; font-style: normal;
  background: linear-gradient(180deg, #fffdf7 0%, #f5ecd8 65%, #e6d6b2 100%); text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 4px rgba(140, 105, 50, .2), 0 3px 0 #d6c193, 0 5px 0 #a99260, 0 12px 18px rgba(0, 0, 0, .4); }
.home4 .tl::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-top: 6px; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .35); }
.home4 .tl.r { color: #d0312d; } .home4 .tl.b { color: #1d5bd0; } .home4 .tl.k { color: #1a1a1a; } .home4 .tl.y { color: #e08a0b; }
.r4-deco { position: fixed !important; z-index: 0 !important; filter: blur(2.5px) brightness(.8); opacity: .7; pointer-events: none; }
.r4-deco .tl { width: 110px; height: 146px; font-size: 70px; border-radius: 16px; } .r4-deco .tl::after { width: 14px; height: 14px; }
.r4-deco.d1 { left: -30px; bottom: -40px; transform: rotate(-28deg); } .r4-deco.d2 { right: -24px; bottom: -40px; transform: rotate(22deg); }

/* bara de sus */
.r4-top { display: flex; align-items: flex-start; justify-content: center; min-height: 150px; }
.r4-logo { position: relative; width: 560px; max-width: 100%; text-align: center; }
.r4-swoosh { position: absolute; left: 0; top: 44px; width: 100%; height: 60px; }
.r4-lt { position: relative; display: flex; justify-content: center; gap: 4px; height: 70px; }
.r4-lt .tl { width: 44px; height: 58px; font-size: 30px; border-radius: 9px; } .r4-lt .tl::after { width: 6px; height: 6px; margin-top: 4px; }
.r4-lt .tl:nth-child(1) { transform: rotate(-12deg) translateY(10px); } .r4-lt .tl:nth-child(3) { transform: rotate(12deg) translateY(10px); }
.r4-wm { position: relative; font: 900 64px/1 'Inter', sans-serif; letter-spacing: -.01em; margin-top: -4px; white-space: nowrap;
  background: linear-gradient(180deg, #fff 30%, #d9efe4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .45)); }
.r4-wm em { font-style: normal; background: linear-gradient(180deg, #8ff5c6, #3ccf8e); -webkit-background-clip: text; background-clip: text; }
.r4-tr { position: absolute; right: 0; top: 26px; display: flex; gap: 10px; align-items: center; }
.r4-chip { height: 62px; display: flex; align-items: center; gap: 12px; padding: 0 8px 0 7px !important; border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)), var(--g-glass) !important; border: 1px solid var(--g-line) !important; box-shadow: 0 10px 26px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .1) !important; }
.r4-chip.hidden { display: none; }
.r4-av .avatar { width: 48px; height: 48px; font-size: 19px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .85), 0 4px 10px rgba(0, 0, 0, .35); }
.r4-who { min-width: 0; } .r4-who b { display: block; font: 700 17px 'Outfit', sans-serif; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#lobby.home4 .h-stats { display: none; }
#lobby.home4 .h-lvl { display: flex; align-items: center; gap: 6px; width: 150px; margin-top: 4px; }
#lobby.home4 .h-lvl .lvl { width: 20px; height: 20px; font-size: 10px; }
#lobby.home4 .h-lvl .lvl-bar { flex: 1; height: 5px; } #lobby.home4 .h-lvl .lvl-bar i { background: linear-gradient(90deg, #2fbf81, #7cf0bd); }
#lobby.home4 .h-lvl small { font-size: 10px; color: rgba(255, 255, 255, .55); white-space: nowrap; }
.r4-vs { width: 1px; height: 34px; background: rgba(255, 255, 255, .14); }
#lobby.home4 .coins { padding: 0; background: none; border: 0; color: #fff; font: 800 19px 'Outfit', sans-serif; gap: 8px; }
#lobby.home4 .coins .coin { width: 28px; height: 28px; font-size: 12px; }
.r4-plus { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; font: 700 24px/1 'Outfit', sans-serif; color: #06301f;
  background: linear-gradient(180deg, #7cf0bd, #2fbf81); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 4px 10px rgba(0, 0, 0, .3); }
.r4-guest { padding: 0 8px 0 8px !important; }
.r4-guest #nick { width: 160px; padding: 10px 14px; border-radius: 999px; background: rgba(0, 0, 0, .3); border: 1px solid var(--g-line); color: #fff; font: 600 14px 'Outfit', sans-serif; }
.r4-guest .acct-cta { display: flex; gap: 6px; margin: 0; } .r4-guest .acct-cta.hidden { display: none; }
.r4-guest .acct-cta .btn { padding: 10px 14px; font-size: 13px; border-radius: 999px; white-space: nowrap; }
#lobby.home4 .r4-ib { width: 62px; height: 62px; border-radius: 50%; color: #fff; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)), var(--g-glass); border: 1px solid var(--g-line); box-shadow: 0 10px 26px rgba(0, 0, 0, .35); }
#lobby.home4 .r4-ib svg { width: 25px; height: 25px; } #lobby.home4 .r4-ib.off { color: rgba(255, 255, 255, .45); }
#lobby.home4 .verify-note { max-width: 620px; margin: 0 auto 12px; text-align: center; }

/* meniul (stânga pe desktop, jos pe telefon) */
#lobby.home4 .r4-rail { position: fixed; left: 24px; top: 200px; bottom: auto; transform: none; width: 96px; z-index: 20; display: flex; flex-direction: column; gap: 6px; padding: 10px 8px; border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)), var(--g-glass); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 14px 34px rgba(0, 0, 0, .4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
#lobby.home4 .r4-rail button { position: relative; height: 84px; flex: none; width: 100%; border-radius: 22px; border: 0; cursor: pointer; background: none; padding: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font: 600 13px 'Outfit', sans-serif; color: rgba(255, 255, 255, .72); }
#lobby.home4 .r4-rail button::before, #lobby.home4 .r4-rail button::after { content: none; }
#lobby.home4 .r4-rail button:hover { color: #fff; background: rgba(255, 255, 255, .06); }
#lobby.home4 .r4-rail svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#lobby.home4 .r4-rail button.on { color: #fff; background: linear-gradient(180deg, #3fd396, #1c9a68); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 18px rgba(20, 160, 100, .35); }
#lobby.home4 .r4-rail .badge { position: absolute; top: 10px; right: 16px; font-size: 10px; padding: 1px 6px; }
#lobby.home4 .r4-rail small { position: absolute; bottom: 4px; font-size: 9.5px; color: var(--g-mint); }
#lobby.home4 .r4-rail button small:empty { display: none; }
.r4-meav { display: grid; place-items: center; width: 30px; height: 30px; }
.r4-meav svg { width: 26px; height: 26px; } .r4-meav .avatar { width: 30px; height: 30px; font-size: 13px; border: 2px solid rgba(255, 255, 255, .8); }

/* grila cu 3 coloane */
.r4-grid { display: grid; grid-template-columns: minmax(300px, 380px) minmax(520px, 620px) minmax(300px, 380px); justify-content: center; gap: 20px; align-items: stretch; margin-top: 30px; }
.r4-pn { min-width: 0; border-radius: 28px; padding: 28px 26px; display: flex; flex-direction: column; overflow: hidden; margin-top: 14px; margin-bottom: 14px;
  border: 1px solid var(--g-line); box-shadow: 0 24px 50px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.r4-left { background: linear-gradient(165deg, rgba(80, 200, 145, .30), rgba(20, 95, 65, .35) 55%, rgba(6, 40, 26, .55)); }
.r4-right { background: linear-gradient(195deg, rgba(80, 200, 145, .20), rgba(15, 80, 55, .32) 55%, rgba(6, 40, 26, .6)); }
.r4-ph { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 8px; }
.r4-phi { width: 48px; height: 48px; border-radius: 15px; flex: none; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); }
.r4-phi svg, .r4-ri svg, .r4-bi svg, .r4-sl svg, .r4-foot svg, .r4-pi svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.r4-phi svg { width: 26px; height: 26px; color: var(--g-mint); stroke-width: 1.9; }
.r4-ph h2 { margin: 0; font: 800 24px/1.15 'Outfit', sans-serif; color: #fff; }
.r4-ph p { margin: 6px 0 0; font: 400 14px/1.4 'Outfit', sans-serif; color: rgba(255, 255, 255, .72); }
.r4-btn { margin-top: 12px; height: 66px; width: 100%; border-radius: 18px; display: flex; align-items: center; gap: 14px; padding: 0 14px 0 12px; cursor: pointer; text-align: left; color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .15); box-shadow: 0 6px 14px rgba(0, 0, 0, .18); transition: background .15s, transform .15s; }
.r4-btn:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .07)); }
.r4-bi { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none; color: #fff; }
.r4-bi svg { width: 22px; height: 22px; stroke-width: 2.2; }
.r4-bi.g1 { background: linear-gradient(180deg, #46dd9e, #1c9a68); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); } .r4-bi.g2 { background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .14); }
.r4-bt { flex: 1; min-width: 0; font: 700 17px 'Outfit', sans-serif; } .r4-bt small { display: block; font: 400 12.5px 'Outfit', sans-serif; color: rgba(255, 255, 255, .62); margin-top: 2px; }
.r4-ch { font-style: normal; color: rgba(255, 255, 255, .5); font: 600 22px/1 'Outfit', sans-serif; }
#lobby.home4 .r4-code { margin-bottom: 0; cursor: text; }
#lobby.home4 .r4-code input { flex: 1; min-width: 0; max-width: none; height: 44px; padding: 0 4px; border: 0; background: none; color: #fff; text-align: left; letter-spacing: 0; font: 700 17px 'Outfit', sans-serif; box-shadow: none; outline: none; }
#lobby.home4 .r4-code input::placeholder { color: #fff; opacity: 1; }
#lobby.home4 .r4-code input:focus::placeholder { opacity: .4; }
#lobby.home4 .r4-code input:not(:placeholder-shown) { letter-spacing: 6px; font-size: 20px; }
.r4-go { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(0, 0, 0, .2); color: #fff; font: 600 22px/1 'Outfit', sans-serif; cursor: pointer; }
.r4-sec { margin-top: 24px; } .r4-sec h3 { margin: 0; font: 700 12px 'Outfit', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
#lobby.home4 .r4-tabs { display: flex; gap: 3px; margin: 10px 0 0; padding: 3px; width: auto; border-radius: 12px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .08); box-shadow: none; }
#lobby.home4 .r4-tabs button { flex: 1; padding: 7px 4px; border: 0; border-radius: 9px; background: none; color: rgba(255, 255, 255, .62); font: 600 12.5px 'Outfit', sans-serif; letter-spacing: 0; box-shadow: none; }
#lobby.home4 .r4-tabs button + button { border-left: 0; }
#lobby.home4 .r4-tabs button.on { background: rgba(79, 224, 164, .18); color: var(--g-mint); }
/* mesele, ca rânduri compacte */
#lobby.home4 .r4-tables { flex: 1 1 0; min-height: 120px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; margin-top: 10px; padding-right: 2px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
#lobby.home4 .tcard { flex: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; gap: 0 12px; padding: 10px 12px; min-height: 60px; border-radius: 15px; cursor: default;
  background: rgba(0, 0, 0, .2); border: 1px solid rgba(255, 255, 255, .07); box-shadow: none; transform: none; }
#lobby.home4 .tcard::before { content: none; }
#lobby.home4 .tcard:hover { border-color: rgba(79, 224, 164, .3); }
#lobby.home4 .tc-table { grid-row: 1; grid-column: 1; height: auto; display: flex; align-self: center; }
#lobby.home4 .tc-oval { display: none; }
#lobby.home4 .tc-seat { position: static; transform: none; margin-left: -8px; } #lobby.home4 .tc-seat:first-child { margin-left: 0; }
#lobby.home4 .tc-seat .avatar { width: 28px; height: 28px; font-size: 11px; border: 2px solid #0c3a29; box-shadow: none; }
#lobby.home4 .tc-seat .avatar .bot { display: none; }
#lobby.home4 .tc-seat.empty span { width: 28px; height: 28px; font-size: 13px; border: 1.5px dashed rgba(79, 224, 164, .55); background: #0c3a29; color: var(--g-mint); }
#lobby.home4 .tc-info { grid-row: 1; grid-column: 2; display: block; min-width: 0; }
#lobby.home4 .tc-info h3 { margin: 0; font: 600 14px 'Outfit', sans-serif; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#lobby.home4 .tc-count, #lobby.home4 .tc-tag { display: none; }
#lobby.home4 .tc-meta { display: block; font: 400 12px 'Outfit', sans-serif; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#lobby.home4 .tcard:has(.tc-tag.stake) .tc-info h3::after { content: ' · miză'; color: #ffd36b; font-weight: 700; }
#lobby.home4 .tc-btns { grid-row: 1; grid-column: 3; display: flex; gap: 6px; }
#lobby.home4 .tc-join { min-width: 0; padding: 8px 14px; border-radius: 11px; font: 700 13px 'Outfit', sans-serif; letter-spacing: 0; color: var(--g-mint); background: rgba(79, 224, 164, .16); border: 1px solid rgba(79, 224, 164, .35); box-shadow: none; text-transform: none; }
#lobby.home4 .tc-join:hover { background: rgba(79, 224, 164, .26); }
#lobby.home4 .tc-watch { padding: 7px 10px; border-radius: 11px; font: 600 12px 'Outfit', sans-serif; color: rgba(255, 255, 255, .7); background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .1); }
#lobby.home4 .lb-empty { padding: 18px 14px; border-radius: 15px; font: 500 13px/1.4 'Outfit', sans-serif; color: rgba(255, 255, 255, .6); background: rgba(0, 0, 0, .18); border: 1px dashed rgba(255, 255, 255, .15); text-align: center; }
#lobby.home4 .lb-more { flex: none; align-self: center; padding: 8px 16px; border-radius: 999px; cursor: pointer; font: 600 13px 'Outfit', sans-serif; color: var(--g-mint); background: none; border: 1px solid rgba(79, 224, 164, .3); }

/* centru: Joc rapid */
.r4-cc { position: relative; min-width: 0; border-radius: 34px; padding: 40px 44px 30px; color: var(--g-ink); background: linear-gradient(180deg, #fff, #f1f6f3);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .08), 0 34px 70px rgba(0, 0, 0, .5), 0 0 80px rgba(80, 220, 160, .12); }
#lobby.home4 .r4-ck .lb-online { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font: 700 13px 'Outfit', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #1c9a68; }
#lobby.home4 .r4-ck .lb-online i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
#lobby.home4 .r4-ck .lb-online b { font-weight: 800; }
.r4-ct { margin: 10px 0 0; font: 900 62px/1 'Inter', sans-serif; letter-spacing: -.02em; color: var(--g-ink); }
.r4-cs { margin: 10px 0 0; max-width: 320px; font: 400 17px/1.4 'Outfit', sans-serif; color: #56706a; }
.r4-ctiles { position: absolute; right: 44px; top: 34px; width: 170px; height: 150px; pointer-events: none; }
.r4-ctiles .tl { position: absolute; width: 60px; height: 80px; font-size: 38px; }
.r4-ctiles .tl:nth-child(1) { left: 26px; top: 4px; transform: rotate(-10deg); } .r4-ctiles .tl:nth-child(2) { left: 98px; top: 16px; transform: rotate(10deg); } .r4-ctiles .tl:nth-child(3) { left: 12px; top: 66px; transform: rotate(-18deg); }
.r4-sel { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; background: #f6faf8; border: 1px solid #dfe9e4; box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(10, 50, 35, .05); }
.r4-sc { position: relative; padding: 16px 16px 18px; text-align: center; } .r4-sc + .r4-sc { border-left: 1px solid #dfe9e4; }
.r4-sl { display: flex; align-items: center; justify-content: center; gap: 7px; font: 600 14px 'Outfit', sans-serif; color: #5d7770; }
.r4-sl svg { width: 18px; height: 18px; color: #1c9a68; stroke-width: 2; }
.r4-sv { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 8px; }
.r4-sv b { min-width: 44px; font: 900 42px/1 'Inter', sans-serif; color: var(--g-ink); }
.r4-sv button { width: 42px; height: 42px; border-radius: 12px; cursor: pointer; display: grid; place-items: center; background: #fff; border: 1px solid #d7e4de; box-shadow: 0 2px 4px rgba(10, 50, 35, .06); color: #1c9a68; font: 700 22px/1 'Outfit', sans-serif; padding: 0 0 3px; }
.r4-sv button:hover { background: #effaf5; border-color: #9fd9bf; } .r4-sv button:active { transform: scale(.94); }
.r4-dots { display: flex; justify-content: center; gap: 5px; margin-top: 12px; height: 7px; }
.r4-dots i { width: 7px; height: 7px; border-radius: 50%; background: #cfe0d8; transition: width .2s; } .r4-dots i.on { width: 18px; border-radius: 4px; background: #1c9a68; }
.r4-hsel { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.r4-play { position: relative; overflow: hidden; width: 100%; margin-top: 26px; height: 94px; border: 0; border-radius: 26px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 20px;
  background: linear-gradient(180deg, #22a873 0%, #127a52 55%, #0d5e3f 100%); color: #fff; font: 900 38px/1 'Inter', sans-serif; letter-spacing: -.01em;
  box-shadow: 0 6px 0 #0a4a31, 0 18px 30px rgba(13, 94, 63, .45), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .12s, box-shadow .12s, filter .12s; }
.r4-play::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 48%; background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0)); pointer-events: none; }
.r4-play:hover { filter: brightness(1.06); } .r4-play:active { transform: translateY(4px); box-shadow: 0 2px 0 #0a4a31, 0 10px 20px rgba(13, 94, 63, .4), inset 0 1px 0 rgba(255, 255, 255, .35); }
.r4-pi { width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.r4-pi svg { width: 22px; height: 22px; fill: #fff; stroke: none; margin-left: 4px; }
.r4-stats { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.r4-stats div { background: #f6faf8; border: 1px solid #e1ebe6; border-radius: 16px; padding: 12px 4px; text-align: center; }
.r4-stats b { display: block; font: 900 24px/1.1 'Inter', sans-serif; color: var(--g-ink); } .r4-stats small { font: 500 12.5px 'Outfit', sans-serif; color: #6a837c; }
.r4-cguest { margin-top: 22px; padding: 14px 16px; border-radius: 18px; background: #f2f9f5; border: 1px solid #d9ebe2; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; }
.r4-cguest b { font: 700 16px 'Outfit', sans-serif; color: var(--g-ink); } .r4-cguest small { grid-row: 2; font: 400 13px/1.35 'Outfit', sans-serif; color: #5d7770; }
.r4-cg-btn { grid-row: 1 / 3; grid-column: 2; padding: 10px 16px; border-radius: 12px; border: 0; cursor: pointer; font: 700 14px 'Outfit', sans-serif; color: #fff; background: linear-gradient(180deg, #22a873, #127a52); }
.r4-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid #e3ece8; display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 500 14px 'Outfit', sans-serif; color: #6a837c; }
.r4-foot span { display: flex; align-items: center; gap: 8px; } .r4-foot b { color: var(--g-ink); font-weight: 700; }
.r4-foot svg { width: 17px; height: 17px; color: #1c9a68; stroke-width: 2; }
.r4-link { border: 0; background: none; cursor: pointer; padding: 6px 0; font: 700 14px 'Outfit', sans-serif; color: #1c9a68; white-space: nowrap; }

/* dreapta: recompense */
.r4-rw { margin-top: 12px; width: 100%; border-radius: 18px; padding: 13px 14px; display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer; color: #fff;
  background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .09); transition: background .15s, border-color .15s; }
button.r4-rw:hover, .r4-mhead:hover { background: rgba(0, 0, 0, .3); border-color: rgba(79, 224, 164, .25); }
.r4-ri { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; background: rgba(79, 224, 164, .13); border: 1px solid rgba(79, 224, 164, .3); color: var(--g-mint); }
.r4-ri svg { width: 24px; height: 24px; stroke-width: 2; } .r4-ri.r4-emo { font-size: 24px; }
.r4-rt { flex: 1; min-width: 0; display: block; } .r4-rt b { display: flex; align-items: center; gap: 6px; font: 700 16px 'Outfit', sans-serif; }
.r4-rt small { display: block; font: 400 12.5px/1.35 'Outfit', sans-serif; color: rgba(255, 255, 255, .62); margin-top: 2px; }
.r4-rt .badge { font-size: 10px; padding: 1px 6px; }
.r4-cta { font-style: normal; flex: none; padding: 8px 12px; border-radius: 11px; font: 800 13px 'Outfit', sans-serif; color: #06301f; background: linear-gradient(180deg, #7cf0bd, #2fbf81); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55); white-space: nowrap; }
#btnDaily:not(.pulse) .r4-cta { color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .08); box-shadow: none; border: 1px solid rgba(255, 255, 255, .12); }
#btnDaily.pulse { border-color: rgba(79, 224, 164, .45); box-shadow: 0 0 0 0 rgba(79, 224, 164, .4); animation: r4pulse 2s infinite; }
@keyframes r4pulse { 0% { box-shadow: 0 0 0 0 rgba(79, 224, 164, .35); } 70% { box-shadow: 0 0 0 10px rgba(79, 224, 164, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 224, 164, 0); } }
.r4-mis { display: block; padding: 0; cursor: default; }
.r4-mhead { width: 100%; display: flex; align-items: center; gap: 14px; padding: 13px 14px; border: 0; border-radius: 18px; background: none; color: #fff; text-align: left; cursor: pointer; }
.r4-mbars { display: flex; gap: 4px; margin-top: 8px; } .r4-mbars i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); position: relative; overflow: hidden; }
.r4-mbars i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: linear-gradient(90deg, #2fbf81, #7cf0bd); }
.r4-mbars i.done::after { width: 100%; }
.r4-mlist { display: none; }
.r4-sbar { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); margin-top: 8px; overflow: hidden; } .r4-sbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2fbf81, #7cf0bd); }
.r4-event { margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 200, 80, .12); border: 1px solid rgba(255, 200, 80, .35); }
.r4-event b { display: block; font: 700 15px 'Outfit', sans-serif; color: #ffd36b; } .r4-event small { display: block; font: 400 12.5px/1.35 'Outfit', sans-serif; color: rgba(255, 255, 255, .75); margin-top: 2px; }
.r4-gcta { margin-top: 12px; padding: 14px; border-radius: 16px; background: rgba(0, 0, 0, .2); border: 1px dashed rgba(255, 255, 255, .18); }
.r4-gcta b { display: block; font: 700 15px 'Outfit', sans-serif; } .r4-gcta small { display: block; font: 400 13px/1.4 'Outfit', sans-serif; color: rgba(255, 255, 255, .65); margin-top: 3px; }
.r4-links { text-align: center; margin: 10px 0 0; font: 400 13px 'Outfit', sans-serif; color: rgba(255, 255, 255, .45); }
.r4-links a { color: rgba(255, 255, 255, .6); text-decoration: none; } .r4-links a:hover { color: #fff; }

/* ---- ecrane medii: centrul sus, apoi cele două panouri ---- */
@media (max-width: 1360px) {
  .r4-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 900px; margin-left: auto; margin-right: auto; }
  .r4-cc { grid-column: 1 / -1; order: -1; }
  .r4-pn { margin: 0; } #lobby.home4 .r4-tables { flex: none; max-height: 340px; }
  .r4-tr { position: static; } .r4-top { flex-wrap: wrap; gap: 10px 20px; align-items: center; min-height: 0; }
}
/* ---- telefon / tabletă îngustă: o coloană, meniul jos ---- */
@media (max-width: 860px) {
  #lobby.home4 { padding: 10px 14px calc(96px + env(safe-area-inset-bottom)); }
  .r4-deco { display: none; }
  .r4-top { flex-direction: column; align-items: center; }
  .r4-logo { width: 100%; } .r4-swoosh { top: 30px; height: 44px; }
  .r4-lt { height: 52px; } .r4-lt .tl { width: 34px; height: 45px; font-size: 23px; border-radius: 7px; } .r4-lt .tl::after { width: 5px; height: 5px; margin-top: 3px; }
  .r4-wm { font-size: clamp(32px, 10vw, 52px); }
  .r4-tr { width: 100%; justify-content: center; flex-wrap: wrap; }
  .r4-chip { height: 56px; flex: 1 1 auto; max-width: 100%; } .r4-guest { flex-wrap: wrap; height: auto !important; padding: 6px 8px !important; border-radius: 22px !important; }
  .r4-guest #nick { flex: 1; width: auto; min-width: 120px; }
  #lobby.home4 .r4-ib { width: 52px; height: 52px; }
  .r4-who b { max-width: 34vw; } #lobby.home4 .h-lvl { width: 120px; }
  .r4-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 16px; }
  .r4-cc { padding: 26px 20px 20px; border-radius: 26px; }
  .r4-ct { font-size: 44px; } .r4-cs { font-size: 15px; max-width: 58%; }
  .r4-ctiles { right: 10px; top: 20px; transform: scale(.72); transform-origin: top right; }
  .r4-sel { margin-top: 22px; } .r4-sc { padding: 12px 8px 14px; } .r4-sv { gap: 12px; } .r4-sv b { font-size: 34px; min-width: 34px; } .r4-sv button { width: 38px; height: 38px; }
  .r4-play { height: 76px; font-size: 30px; border-radius: 22px; } .r4-pi { width: 42px; height: 42px; }
  .r4-stats { gap: 6px; } .r4-stats b { font-size: 20px; } .r4-stats small { font-size: 11px; }
  .r4-foot { flex-wrap: wrap; font-size: 13px; }
  .r4-pn { padding: 22px 16px; border-radius: 24px; }
  #lobby.home4 .r4-rail { left: 50%; right: auto; top: auto; bottom: 0; transform: translateX(-50%); width: min(560px, 100%); flex-direction: row; gap: 2px; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; }
  #lobby.home4 .r4-rail button { flex: 1; width: auto; height: 62px; border-radius: 16px; font-size: 11.5px; gap: 4px; }
  #lobby.home4 .r4-rail svg { width: 23px; height: 23px; }
  #lobby.home4 .r4-rail small { display: none; }
  #lobby.home4 .r4-rail .badge { top: 4px; right: calc(50% - 22px); }
}
/* ---- telefon în landscape (înălțime mică): totul mai compact ---- */
@media (orientation: landscape) and (max-height: 500px) {
  #lobby.home4 { padding: 8px 14px 16px 104px; }
  .r4-deco { display: none; }
  #lobby.home4 .r4-rail { left: 10px; top: 10px; bottom: 10px; width: 80px; transform: none; flex-direction: column; justify-content: center; padding: 6px; border-radius: 22px; }
  #lobby.home4 .r4-rail button { flex: 0 1 64px; height: auto; min-height: 50px; width: 100%; font-size: 11px; }
  #lobby.home4 .r4-rail svg { width: 22px; height: 22px; }
  .r4-top { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: nowrap; }
  .r4-logo { width: auto; text-align: left; } .r4-swoosh, .r4-lt { display: none; } .r4-wm { font-size: 30px; }
  .r4-tr { width: auto; flex-wrap: nowrap; } .r4-chip { height: 48px; flex: none; } .r4-av .avatar { width: 38px; height: 38px; } #lobby.home4 .r4-ib { width: 46px; height: 46px; }
  .r4-guest { flex-wrap: nowrap; } .r4-guest #nick { width: 130px; }
  .r4-grid { max-width: none; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
  .r4-cc { padding: 18px 20px 16px; } .r4-ct { font-size: 36px; margin-top: 4px; } .r4-cs { font-size: 14px; margin-top: 4px; }
  .r4-ctiles { transform: scale(.55); right: 6px; top: 8px; }
  .r4-sel { margin-top: 12px; } .r4-sc { padding: 8px; } .r4-sv b { font-size: 30px; } .r4-sv button { width: 34px; height: 34px; } .r4-dots { margin-top: 6px; }
  .r4-play { height: 62px; margin-top: 14px; font-size: 26px; } .r4-pi { width: 38px; height: 38px; }
  .r4-stats, .r4-cguest { margin-top: 12px; } .r4-foot { margin-top: 10px; padding-top: 10px; }
}
/* home4: ajustări */
.r4-foot .r4-wait em { font-style: normal; display: inline; }
#lobby.home4 .tc-join { text-transform: lowercase; } #lobby.home4 .tc-join::first-letter { text-transform: uppercase; }
#lobby.home4 .r4-tables { -webkit-mask: linear-gradient(180deg, #000 calc(100% - 24px), transparent); mask: linear-gradient(180deg, #000 calc(100% - 24px), transparent); padding-bottom: 18px; }
@media (min-width: 1361px) {
  .r4-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; }
  .r4-logo { grid-column: 2; width: 500px; } .r4-wm { font-size: 58px; } .r4-swoosh { top: 40px; }
  .r4-tr { position: static; grid-column: 3; justify-self: end; margin-top: 22px; }
}
@media (min-width: 1361px) and (max-width: 1720px) {
  .r4-logo { width: 440px; } .r4-wm { font-size: 50px; } .r4-swoosh { top: 36px; }
  #lobby.home4 .h-lvl small, .r4-vs { display: none; } #lobby.home4 .h-lvl { width: 100px; } .r4-who b { max-width: 110px; }
  .r4-chip { gap: 9px; } #lobby.home4 .r4-ib { width: 52px; height: 52px; } .r4-plus { width: 38px; height: 38px; }
  .r4-grid { grid-template-columns: minmax(280px, 360px) minmax(500px, 600px) minmax(280px, 360px); }
}
@media (max-width: 860px) {
  .r4-tr { flex-wrap: nowrap; gap: 6px; } .r4-chip { min-width: 0; gap: 8px; }
  #lobby.home4 .h-lvl small, .r4-vs { display: none; } #lobby.home4 .h-lvl { width: 80px; }
  .r4-who { flex: 1; } .r4-who b { max-width: none; font-size: 15px; }
  #lobby.home4 .coins { font-size: 16px; } .r4-plus { width: 34px; height: 34px; font-size: 20px; }
  .r4-av .avatar { width: 40px; height: 40px; }
  #lobby.home4 .r4-ib { width: 46px; height: 46px; flex: none; } #lobby.home4 .r4-ib svg { width: 21px; height: 21px; }
  .r4-guest .acct-cta .btn { padding: 8px 10px; font-size: 12px; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .r4-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
  .r4-cc { grid-column: 1; grid-row: 1 / span 2; order: 0; position: sticky; top: 8px; }
  .r4-pn { grid-column: 2; } .r4-cs, .r4-ctiles { display: none; }
  .r4-stats div { padding: 6px 2px; } .r4-stats b { font-size: 18px; } .r4-stats small { font-size: 10.5px; }
  .r4-foot { font-size: 12px; }
}
.r4-foot .r4-wait em { display: block; } .r4-foot .r4-wait em b { display: inline; }
#lobby.home4 .tc-join + .tc-watch { display: none; }
.r4-rt b { white-space: nowrap; }
@media (min-width: 1361px) and (max-width: 1720px) {
  .r4-pn { padding: 24px 18px; } .r4-rw, .r4-mhead { gap: 11px; } .r4-rw { padding: 11px 12px; } .r4-mis { padding: 0; } .r4-mhead { padding: 11px 12px; }
  .r4-ri { width: 40px; height: 40px; border-radius: 12px; } .r4-ri svg { width: 21px; height: 21px; }
  .r4-cta { padding: 7px 10px; font-size: 12px; } .r4-rt b { font-size: 15px; }
}

/* =================================================================== MASA „LUX” — cameră de lemn, masă ovală, jucători pe margini */
@font-face { font-family: 'Great Vibes'; font-weight: 400; font-display: swap; src: url(/fonts/great-vibes-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Great Vibes'; font-weight: 400; font-display: swap; src: url(/fonts/great-vibes-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+0218-021B; }
body.lux { --lx-g1: #fff1c4; --lx-g2: #e0b45a; --lx-line: rgba(224, 180, 90, .5); --lx-dark: linear-gradient(180deg, rgba(48, 27, 12, .96), rgba(20, 10, 4, .96)); }
/* camera (pe toate ecranele) */
body.lux #game { background:
  radial-gradient(ellipse 22% 30% at 2% 14%, rgba(255, 180, 100, .2), transparent 70%),
  radial-gradient(ellipse 22% 30% at 98% 14%, rgba(255, 180, 100, .2), transparent 70%),
  radial-gradient(ellipse 60% 55% at 50% 45%, rgba(255, 226, 170, .1), transparent 70%),
  repeating-linear-gradient(90deg, rgba(0, 0, 0, .3) 0 3px, rgba(255, 220, 170, .035) 3px 5px, transparent 5px 208px),
  linear-gradient(180deg, #2c180b 0%, #22120a 45%, #170c05 100%); }
body.lux #game::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(ellipse 75% 80% at 50% 46%, transparent 55%, rgba(0, 0, 0, .7)); }
body.lux #game > * { position: relative; z-index: 1; }
body.lux #game > .chat, body.lux #game > .react-pop { z-index: 40; }
/* bara de sus */
.g-logo { display: none; }
body.lux .g-top .gbtn { border-radius: 50%; color: var(--lx-g1); background: var(--lx-dark); border: 1px solid var(--lx-line); box-shadow: 0 6px 16px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 220, 170, .12); }
body.lux .g-top .gbtn:hover { border-color: var(--lx-g2); }
body.lux .burger i { background: var(--lx-g1); }
body.lux .g-pill { background: var(--lx-dark); border: 1px solid var(--lx-line); color: var(--lx-g1); box-shadow: 0 6px 16px rgba(0, 0, 0, .5); }
body.lux-desk .g-pill { font-family: 'Cinzel', Georgia, serif; letter-spacing: .12em; text-transform: uppercase; }
body.lux .g-pill b { color: #fff; }
/* plăcuțele jucătorilor (toate ecranele) */
body.lux .seats-bar .pcard, body.lux .rack-area > .pcard { background: var(--lx-dark); border: 1px solid var(--lx-line); box-shadow: 0 8px 18px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 220, 170, .12); }
body.lux .seats-bar .pcard.me { background: linear-gradient(180deg, rgba(58, 34, 14, .97), rgba(26, 13, 5, .97)); }
body.lux .seats-bar .pcard.turn { border-color: #7ef0ad; box-shadow: 0 0 0 1px rgba(126, 240, 173, .4), 0 0 22px rgba(110, 240, 160, .35), 0 8px 18px rgba(0, 0, 0, .55); animation: none; }
body.lux .seats-bar .avatar { border-color: #e6bd62; }
body.lux .pscore { background: rgba(0, 0, 0, .28); border-color: rgba(224, 180, 90, .2); }
body.lux .pscore b { color: var(--lx-g1); } body.lux .pscore b.pos { color: #8ff0b6; } body.lux .pscore b.neg { color: #ff9a8f; }
body.lux .ptag.turn { background: linear-gradient(180deg, #9ff7c8, #3fcf87); color: #06301f; border-color: transparent; }
/* mesajul de stare */
body.lux .felt .hint-pill { background: rgba(4, 22, 13, .72); border: 1px solid rgba(126, 240, 173, .35); color: #d6fbe6; border-radius: 999px; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); font-weight: 700; }
/* pachetul: spate verde cu „R” */
/* pachetul: piese albe simple (fără spate verde) */
body.lux .dstrip { background: rgba(0, 0, 0, .22); border: 1px dashed rgba(224, 180, 90, .4); border-radius: 14px; }
body.lux .dnav { color: var(--lx-g1); background: rgba(0, 0, 0, .35); border: 1px solid rgba(224, 180, 90, .4); }
/* butoanele de jos */
body.lux .gbtn3 { background: linear-gradient(180deg, rgba(66, 38, 16, .97), rgba(30, 15, 5, .97)); border: 1px solid var(--lx-line); color: #f6e7c4; border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 220, 170, .18), 0 8px 18px rgba(0, 0, 0, .5); }
body.lux .gbtn3 .ic { background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px rgba(224, 180, 90, .25); color: var(--lx-g1); }
body.lux .gbtn3:hover:not(:disabled) { border-color: var(--lx-g2); }
body.lux .gbtn3.primary:not(:disabled) { color: #fff; border: 0; background: linear-gradient(180deg, #26b07a 0%, #13804f 55%, #0c5e39 100%);
  box-shadow: 0 0 0 2px #e0b45a, 0 0 0 3px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .4), 0 10px 24px rgba(12, 94, 57, .55); }
body.lux .gbtn3.primary:not(:disabled) .ic { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; }
body.lux .gbtn3:disabled { opacity: .45; }

/* ---------- calculator: masă ovală, adversari pe margini, tu lângă suport ---------- */
body.lux-desk #game { gap: 0; padding-left: 20px; padding-right: 20px; }
body.lux-desk .g-top { position: relative; z-index: 6; }
body.lux-desk .g-logo { display: block; font: 400 36px/1 'Great Vibes', cursive; margin-left: 6px; background: linear-gradient(180deg, #fff2cc, #e0b45a 60%, #a8741f); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .7)); white-space: nowrap; }
body.lux-desk .g-top .g-pill { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; }
body.lux-desk .g-top .g-tools { margin-left: auto; margin-right: 0; }
body.lux-desk .g-main { margin-top: 0; padding: 30px 74px 0; }
body.lux-desk .table-wrap { position: relative; padding: 24px; border-radius: 324px / 50%; background: url(/img/table/wood.webp) center / 100% 100%;
  box-shadow: inset 0 3px 1px rgba(255, 225, 180, .5), inset 0 -6px 12px rgba(0, 0, 0, .55), 0 0 0 2px #1a0b03, 0 0 0 22px #3a1c0c, 0 0 0 23px rgba(255, 205, 150, .2), 0 0 0 25px #160801, 0 34px 60px rgba(0, 0, 0, .75); }
body.lux-desk .table-wrap::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(ellipse 60% 30% at 50% 4%, rgba(255, 235, 200, .3), transparent 60%), linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .3)); }
body.lux-desk #game .felt { border: 0; border-image: none; border-radius: 300px / 50%; overflow: visible; padding: 50px 150px 14px; gap: 8px;
  background: radial-gradient(ellipse 55% 50% at 50% 44%, rgba(120, 230, 160, .14), transparent 70%), url(/img/table/felt.webp) center / cover;
  box-shadow: 0 0 0 3px #c8963c, 0 0 0 4px rgba(0, 0, 0, .6), inset 0 14px 30px rgba(0, 0, 0, .6), inset 0 0 140px rgba(0, 0, 0, .5); }
body.lux-desk.tinted #game .felt { background: radial-gradient(ellipse at 50% 40%, var(--felt-1), var(--felt-2)), url(/img/table/felt.webp) center / cover; background-blend-mode: color, normal; }
body.lux-desk .felt .watermark { bottom: auto; top: 50%; transform: translate(-50%, -50%); font-family: 'Cinzel', Georgia, serif; font-size: 96px; letter-spacing: .16em; color: rgba(210, 255, 230, .07); text-shadow: none; }
body.lux-desk .felt .watermark small { font-size: 14px; letter-spacing: .7em; }
body.lux-desk .felt .melds.v2 { order: 1; justify-content: safe center; gap: 40px; }
body.lux-desk .felt .hint-pill { order: 2; }
body.lux-desk .felt .xchg { order: 2; }
body.lux-desk .felt .bottom-zone { order: 3; flex-direction: row; align-items: center; justify-content: center; gap: 26px; padding-bottom: 4px; }
body.lux-desk .bottom-zone .bz-row { order: -1; }
body.lux-desk .bottom-zone .dstrip { flex: 0 1 auto; max-width: 62%; }
body.lux-desk .pgroup .phead { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: rgba(230, 255, 240, .7); }
body.lux-desk .pgroup .phead b { color: var(--lx-g1); }
/* adversarii, pe marginea mesei */
body.lux-desk .felt .seats-bar { position: absolute; inset: 0; display: block; pointer-events: none; z-index: 5; }
body.lux-desk .seats-bar .pcard, body.lux-desk .rack-area > .pcard { position: absolute; pointer-events: auto; display: grid; grid-template-columns: auto auto; grid-template-areas: 'av av' 'info score';
  align-items: center; column-gap: 0; padding: 0; min-width: 0; max-width: none; background: none; border: 0; box-shadow: none; backdrop-filter: none; }
body.lux-desk .seats-bar .pcard::before, body.lux-desk .rack-area > .pcard::before { content: ''; position: absolute; left: 0; right: 0; top: 66px; bottom: 0; height: auto; border-radius: 14px; z-index: -1;
  background: var(--lx-dark); border: 1px solid var(--lx-line); box-shadow: 0 10px 22px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 220, 170, .14); }
body.lux-desk .seats-bar .pcard.turn::before, body.lux-desk .rack-area > .pcard.turn::before { border-color: #7ef0ad; box-shadow: 0 0 0 1px rgba(126, 240, 173, .4), 0 0 24px rgba(110, 240, 160, .4), 0 10px 22px rgba(0, 0, 0, .6); }
body.lux-desk .seats-bar .pcard > .avatar, body.lux-desk .rack-area > .pcard > .avatar { grid-area: av; justify-self: center; width: 84px; height: 84px; font-size: 28px; border: 3px solid #e6bd62;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .55), 0 0 0 5px rgba(224, 180, 90, .25), 0 10px 22px rgba(0, 0, 0, .65); margin-bottom: -6px; }
body.lux-desk .seats-bar .pcard.turn > .avatar, body.lux-desk .rack-area > .pcard.turn > .avatar { border-color: #7ef0ad; box-shadow: 0 0 0 2px rgba(0, 0, 0, .55), 0 0 0 6px rgba(126, 240, 173, .35), 0 0 30px rgba(110, 240, 160, .55); }
body.lux-desk .seats-bar .pcard .pinfo, body.lux-desk .rack-area > .pcard .pinfo { grid-area: info; padding: 14px 8px 10px 14px; min-width: 0; }
body.lux-desk .seats-bar .pcard .pscore, body.lux-desk .rack-area > .pcard .pscore { grid-area: score; margin: 14px 10px 10px 0; align-self: center; padding: 4px 10px; }
body.lux-desk .seats-bar .pname, body.lux-desk .rack-area > .pcard .pname { font-size: 15px; max-width: 170px; display: flex; gap: 6px; align-items: center; }
body.lux-desk .rack-area > .pcard .pname .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.lux-desk .rack-area > .pcard .pmeta { display: flex; gap: 5px; margin-top: 5px; }
body.lux-desk .seats-bar .pcard .ptimer, body.lux-desk .rack-area > .pcard .ptimer { left: 14px; right: 14px; bottom: 3px; top: auto; }
/* sus: avatarul pe margine, plăcuța în dreapta lui */
body.lux-desk .seats-bar .pcard[data-pos='top'] { left: 50%; top: -76px; transform: translateX(-42px); grid-template-columns: auto auto auto; grid-template-areas: 'av info score'; }
body.lux-desk .seats-bar .pcard[data-pos='top']::before { top: 12px; bottom: 12px; left: 42px; }
body.lux-desk .seats-bar .pcard[data-pos='top'] > .avatar { margin: 0; }
body.lux-desk .seats-bar .pcard[data-pos='top'] .pinfo { padding: 8px 8px 8px 16px; }
body.lux-desk .seats-bar .pcard[data-pos='top'] .pscore { margin: 8px 10px 8px 0; }
/* stânga / dreapta: pe marginea rotunjită */
body.lux-desk .seats-bar .pcard[data-pos='left'] { left: -82px; top: 50%; transform: translateY(-62%); }
body.lux-desk .seats-bar .pcard[data-pos='right'] { right: -82px; top: 50%; transform: translateY(-62%); }
/* eu: în stânga suportului */
body.lux-desk .rack-area > .pcard.me { right: 100%; top: 50%; transform: translateY(-50%); margin-right: 26px; }
body.lux-desk .rack-area > .pcard.me .you { display: none; }
body.lux-desk .seats-bar .pcard.me { display: none; }
/* suportul de lemn, puțin peste marginea mesei */
body.lux-desk .rack-area { width: min(1060px, calc(100% - 520px)); margin: -22px auto 12px; z-index: 4; border-radius: 18px 18px 22px 22px; overflow: visible;
  box-shadow: 0 0 0 1.5px #1a0b03, 0 6px 0 #2a1408, 0 8px 0 #140801, 0 26px 40px rgba(0, 0, 0, .75); }
body.lux-desk .rack-area.myturn { box-shadow: 0 0 0 1.5px #1a0b03, 0 0 0 4px rgba(126, 240, 173, .45), 0 0 26px rgba(110, 240, 160, .35), 0 26px 40px rgba(0, 0, 0, .75); }
body.lux-desk .rack-area .tier:first-child { border-radius: 16px 16px 0 0; }
body.lux-desk .g-bottom { padding-bottom: 2px; }
body.lux-desk .gbtn3 { border-radius: 999px; min-width: 150px; }
body.lux-desk .g-top .g-pill { position: static; transform: none; margin: 0 0 0 14px; }
body.lux-desk .rack-area > .pcard.me { width: max-content; }
body.lux-desk .seats-bar .pcard.turn, body.lux-desk .rack-area > .pcard.turn { border: 0; box-shadow: none; }
body.lux-desk .felt .watermark small { display: none; }
body.lux .stacks .cnt small { white-space: nowrap; }

/* steagul țării lângă nume */
.pname .flag { flex: none; width: 20px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .4); }
#game .seats-bar .pname .flag { display: inline-block; vertical-align: -2px; margin-right: 1px; }
@media (max-height: 560px) and (orientation: landscape), (max-width: 600px) { .pname .flag { width: 15px; height: 11px; border-radius: 2px; } }

/* „Remi-Online.com” în centrul mesei, pe toate ecranele */
body #game .felt .watermark { display: block; left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); z-index: 0; white-space: nowrap; pointer-events: none;
  font: 900 clamp(30px, 6.2vw, 96px) / 1 'Inter', system-ui, sans-serif; letter-spacing: -.01em; color: rgba(255, 255, 255, .12); text-shadow: 0 1px 0 rgba(0, 0, 0, .15); }
body #game .felt .watermark span { color: rgba(160, 255, 200, .15); }
body #game .felt .watermark small { display: none; }

/* =================================================================== LOBBY în tema mesei (cameră de lemn, auriu, postav verde) */
body.lux #lobby.home4 { --g-mint: #f0c86a; --g-mint2: #c8963c; --g-line: rgba(224, 180, 90, .4); --g-glass: rgba(26, 13, 5, .78);
  background:
    radial-gradient(ellipse 22% 30% at 2% 14%, rgba(255, 180, 100, .2), transparent 70%),
    radial-gradient(ellipse 22% 30% at 98% 14%, rgba(255, 180, 100, .2), transparent 70%),
    radial-gradient(ellipse 55% 50% at 50% 42%, rgba(255, 226, 170, .1), transparent 70%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .3) 0 3px, rgba(255, 220, 170, .035) 3px 5px, transparent 5px 208px),
    linear-gradient(180deg, #2c180b 0%, #22120a 45%, #170c05 100%) fixed, #170c05; }
body.lux #lobby.home4::after { background: radial-gradient(ellipse 80% 80% at 50% 45%, transparent 55%, rgba(0, 0, 0, .65)); }
body.lux .r4-swoosh path { stroke: #e0b45a; }
body.lux .r4-wm em { background: linear-gradient(180deg, #fff1c4, #e0b45a 60%, #b07d2a); -webkit-background-clip: text; background-clip: text; }
/* bara de sus și meniul */
body.lux .r4-chip, body.lux #lobby.home4 .r4-ib { background: linear-gradient(180deg, rgba(58, 33, 14, .96), rgba(22, 11, 4, .96)) !important; border: 1px solid var(--g-line) !important; }
body.lux #lobby.home4 .r4-ib { color: #fff1c4; }
body.lux .r4-plus { background: linear-gradient(180deg, #ffe7a0, #d9a23e 60%, #b07a22); color: #3a2405; }
body.lux #lobby.home4 .h-lvl .lvl-bar i { background: linear-gradient(90deg, #c8963c, #ffe7a0); }
body.lux #lobby.home4 .r4-rail { background: linear-gradient(180deg, rgba(58, 33, 14, .95), rgba(22, 11, 4, .95)); border-color: var(--g-line); }
body.lux #lobby.home4 .r4-rail button { color: rgba(255, 241, 196, .7); }
body.lux #lobby.home4 .r4-rail button:hover { color: #fff1c4; background: rgba(255, 220, 170, .06); }
body.lux #lobby.home4 .r4-rail button.on { color: #fff; background: linear-gradient(180deg, #26b07a, #0c5e39); box-shadow: 0 0 0 1.5px #e0b45a, inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 18px rgba(12, 94, 57, .45); }
/* panourile laterale: lemn închis cu filet auriu */
body.lux .r4-left, body.lux .r4-right { background: linear-gradient(180deg, rgba(62, 35, 15, .9), rgba(24, 12, 4, .92)); border: 1px solid var(--g-line); box-shadow: 0 24px 50px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 220, 170, .15); }
body.lux .r4-phi { background: rgba(224, 180, 90, .12); border-color: rgba(224, 180, 90, .35); }
body.lux .r4-ph h2 { color: #fff1c4; font-family: 'Cinzel', Georgia, serif; font-weight: 700; font-size: 22px; letter-spacing: .02em; }
body.lux .r4-ph p, body.lux .r4-bt small, body.lux .r4-rt small { color: rgba(255, 236, 200, .62); }
body.lux .r4-btn, body.lux .r4-rw { background: rgba(0, 0, 0, .25); border: 1px solid rgba(224, 180, 90, .22); }
body.lux .r4-btn:hover, body.lux button.r4-rw:hover, body.lux .r4-mhead:hover { background: rgba(0, 0, 0, .35); border-color: rgba(224, 180, 90, .5); }
body.lux .r4-bi.g1 { background: linear-gradient(180deg, #26b07a, #0c5e39); box-shadow: 0 0 0 1.5px #e0b45a; }
body.lux .r4-bi.g2, body.lux .r4-go { background: rgba(0, 0, 0, .3); border-color: rgba(224, 180, 90, .35); color: #fff1c4; }
body.lux .r4-ri { background: rgba(224, 180, 90, .1); border-color: rgba(224, 180, 90, .3); color: #f0c86a; }
body.lux .r4-cta { background: linear-gradient(180deg, #ffe7a0, #d9a23e 60%, #b07a22); color: #3a2405; }
body.lux .r4-mbars i::after, body.lux .r4-sbar i { background: linear-gradient(90deg, #c8963c, #ffe7a0); }
body.lux .r4-sec h3 { color: rgba(255, 236, 200, .55); }
body.lux #lobby.home4 .r4-tabs { background: rgba(0, 0, 0, .3); border-color: rgba(224, 180, 90, .2); }
body.lux #lobby.home4 .r4-tabs button { color: rgba(255, 236, 200, .62); }
body.lux #lobby.home4 .r4-tabs button.on { background: rgba(224, 180, 90, .18); color: #fff1c4; }
body.lux #lobby.home4 .tcard { background: rgba(0, 0, 0, .25); border-color: rgba(224, 180, 90, .15); }
body.lux #lobby.home4 .tcard:hover { border-color: rgba(224, 180, 90, .45); }
body.lux #lobby.home4 .tc-join { color: #fff; background: linear-gradient(180deg, #26b07a, #0c5e39); border: 1px solid #e0b45a; }
body.lux #lobby.home4 .tc-seat .avatar { border-color: #2a1408; }
body.lux #lobby.home4 .tc-seat.empty span { background: #2a1408; border-color: rgba(224, 180, 90, .55); color: #f0c86a; }
body.lux .r4-gcta { background: rgba(0, 0, 0, .22); border-color: rgba(224, 180, 90, .3); }
body.lux .r4-links a { color: rgba(255, 236, 200, .6); }
/* centrul: „Joc rapid” pe postav verde, cu ramă de lemn ca masa */
body.lux .r4-cc { color: #fff; border: 16px solid transparent; padding: 28px 32px 22px;
  background: radial-gradient(ellipse 70% 60% at 50% 35%, rgba(120, 230, 160, .14), transparent 70%) padding-box, url(/img/table/felt.webp) center / cover padding-box, url(/img/table/wood.webp) center / 100% 100% border-box;
  box-shadow: inset 0 0 0 2px #c8963c, inset 0 10px 30px rgba(0, 0, 0, .55), inset 0 0 80px rgba(0, 0, 0, .4), 0 0 0 2px #1a0b03, 0 30px 60px rgba(0, 0, 0, .7); }
body.lux #lobby.home4 .r4-ck .lb-online { color: #f0c86a; }
body.lux .r4-ct { color: #fff; font-family: 'Cinzel', Georgia, serif; font-weight: 700; letter-spacing: .02em; text-shadow: 0 3px 8px rgba(0, 0, 0, .5); }
body.lux .r4-cs { color: rgba(230, 255, 240, .75); }
body.lux .r4-ctiles { right: 34px; top: 22px; }
body.lux .r4-sel { background: rgba(0, 0, 0, .25); border: 1px solid rgba(224, 180, 90, .3); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .4); }
body.lux .r4-sc + .r4-sc { border-left-color: rgba(224, 180, 90, .25); }
body.lux .r4-sl { color: rgba(230, 255, 240, .75); } body.lux .r4-sl svg { color: #f0c86a; }
body.lux .r4-sv b { color: #fff; }
body.lux .r4-sv button { background: rgba(0, 0, 0, .3); border: 1px solid rgba(224, 180, 90, .45); color: #f0c86a; box-shadow: none; }
body.lux .r4-sv button:hover { background: rgba(0, 0, 0, .45); border-color: #e0b45a; }
body.lux .r4-dots i { background: rgba(255, 255, 255, .2); } body.lux .r4-dots i.on { background: #f0c86a; }
body.lux .r4-play { box-shadow: 0 0 0 2.5px #e0b45a, 0 0 0 4px rgba(0, 0, 0, .5), 0 6px 0 #0a4a31, 0 18px 30px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .35); font-family: 'Cinzel', Georgia, serif; font-weight: 700; letter-spacing: .03em; }
body.lux .r4-stats div { background: rgba(0, 0, 0, .25); border-color: rgba(224, 180, 90, .25); }
body.lux .r4-stats b { color: #fff1c4; } body.lux .r4-stats small { color: rgba(230, 255, 240, .65); }
body.lux .r4-cguest { background: rgba(0, 0, 0, .25); border-color: rgba(224, 180, 90, .3); }
body.lux .r4-cguest b { color: #fff; } body.lux .r4-cguest small { color: rgba(230, 255, 240, .7); }
body.lux .r4-cg-btn { background: linear-gradient(180deg, #ffe7a0, #d9a23e 60%, #b07a22); color: #3a2405; }
body.lux .r4-foot { border-top-color: rgba(224, 180, 90, .25); color: rgba(230, 255, 240, .7); }
body.lux .r4-foot b { color: #fff; } body.lux .r4-foot svg { color: #f0c86a; }
body.lux .r4-link { color: #f0c86a; }
@media (max-width: 860px) { body.lux .r4-cc { border-width: 10px; padding: 22px 16px 16px; } body.lux .r4-ct { font-size: 32px; } }
/* aplicație: loc pentru bannerul AdMob de jos (doar în lobby) */
html.has-ad #lobby.home4 { padding-bottom: calc(var(--ad-h, 0px) + 24px); }
@media (max-width: 860px) { html.has-ad #lobby.home4 .r4-rail { bottom: var(--ad-h, 0px); } html.has-ad #lobby.home4 { padding-bottom: calc(var(--ad-h, 0px) + 96px); } }

/* =================================================================== LOBBY „home5” — bleumarin cu auriu (după modelul ales) */
#lobby.home5 { --n-bg: #071230; --n-card: linear-gradient(160deg, #18366f 0%, #0f2556 55%, #0b1c45 100%); --n-line: rgba(120, 160, 240, .32); --n-gold: #f2c14e; --n-gold2: #e0a52a;
  --n-goldline: rgba(240, 196, 90, .65); --n-soft: #a9bbe3;
  position: relative; max-width: none; margin: 0; min-height: 100dvh; display: block; color: #fff; font-family: 'Inter', 'Outfit', system-ui, sans-serif;
  padding: calc(env(safe-area-inset-top) + 18px) 40px calc(env(safe-area-inset-bottom) + 112px);
  background:
    radial-gradient(ellipse 60% 45% at 30% 0%, rgba(70, 120, 230, .28), transparent 70%),
    radial-gradient(ellipse 50% 50% at 90% 30%, rgba(40, 90, 200, .18), transparent 70%),
    linear-gradient(115deg, transparent 40%, rgba(120, 160, 255, .05) 50%, transparent 60%),
    linear-gradient(180deg, #0c1d48 0%, #081638 50%, #060f2a 100%) fixed, #060f2a; }
#lobby.home5 button { font-family: inherit; }
#lobby.home5 .card { background: none; border: 0; box-shadow: none; padding: 0; margin: 0; }
#lobby.home5 svg { flex: none; }
.l5-ch { font-style: normal; font: 800 30px/1 'Inter', sans-serif; color: #fff; opacity: .9; background: none; border: 0; cursor: pointer; padding: 0 2px; }

/* antet */
.l5-top { display: flex; align-items: center; gap: 26px; min-height: 96px; }
.l5-logo { display: flex; align-items: center; gap: 14px; flex: none; }
.l5-tiles { display: flex; gap: 3px; }
.l5-tiles b { display: grid; place-items: center; width: 44px; height: 56px; border-radius: 8px; font: 900 30px/1 'Inter', sans-serif;
  background: linear-gradient(180deg, #fffdf6, #f3e7cc 70%, #e2d0a6); box-shadow: inset 0 1px 0 #fff, 0 2px 0 #cdb685, 0 4px 0 #9d8556, 0 8px 14px rgba(0, 0, 0, .45); }
.l5-tiles b:nth-child(odd) { transform: rotate(-6deg) translateY(2px); } .l5-tiles b:nth-child(even) { transform: rotate(5deg); }
.l5-tiles .r { color: #d42a2a; } .l5-tiles .y { color: #e3a00c; } .l5-tiles .b { color: #1c58d0; } .l5-tiles .k { color: #1b1b1b; }
.l5-wm { font: 900 44px/1 'Inter', sans-serif; letter-spacing: -.01em; white-space: nowrap; text-shadow: 0 3px 8px rgba(0, 0, 0, .4); }
.l5-wm em { font-style: normal; background: linear-gradient(180deg, #ffe08a, #f2b632 60%, #d38e12); -webkit-background-clip: text; background-clip: text; color: transparent; }
.l5-div { width: 1px; height: 70px; background: linear-gradient(180deg, transparent, rgba(160, 190, 255, .35), transparent); flex: none; }
#lobby.home5 .l5-user { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
#lobby.home5 .l5-user.hidden { display: none; }
.l5-av .avatar { width: 84px; height: 84px; font-size: 32px; border: 3px solid var(--n-gold); box-shadow: 0 0 0 3px rgba(0, 0, 0, .35), 0 0 22px rgba(242, 193, 78, .35); }
.l5-who { min-width: 0; } .l5-who b { display: block; font: 900 32px/1.05 'Inter', sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
#lobby.home5 .h-stats { display: block; margin-top: 6px; font: 800 20px 'Inter', sans-serif; color: #c8d6f5; }
#lobby.home5 .h-stats .lg { font-weight: 800; color: #c8d6f5; }
#lobby.home5 .l5-lvl { display: flex; align-items: center; gap: 12px; width: auto; flex: 1; max-width: 520px; margin: 34px 0 0 10px; }
.l5-lvtx { font: 800 20px 'Inter', sans-serif; white-space: nowrap; }
#lobby.home5 .l5-lvl .lvl { display: inline; width: auto; height: auto; background: none; box-shadow: none; border: 0; color: #fff; font: inherit; padding: 0; }
#lobby.home5 .l5-lvl .lvl-bar { flex: 1; height: 12px; border-radius: 6px; background: rgba(0, 0, 0, .4); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); }
#lobby.home5 .l5-lvl .lvl-bar i { background: linear-gradient(90deg, #f6cf5c, #f2b632); border-radius: 6px; }
#lobby.home5 .l5-lvl small { font: 800 16px 'Inter', sans-serif; color: #c8d6f5; white-space: nowrap; }
#lobby.home5 .l5-guest { display: flex; align-items: center; gap: 10px; flex: 1; }
#lobby.home5 .l5-guest.hidden { display: none; }
#lobby.home5 .l5-guest #nick { width: 220px; padding: 12px 16px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1.5px solid var(--n-line); color: #fff; font: 800 16px 'Inter', sans-serif; }
#lobby.home5 .l5-guest .acct-cta { display: flex; gap: 8px; margin: 0; } #lobby.home5 .l5-guest .acct-cta.hidden { display: none; }
#lobby.home5 .l5-guest .acct-cta .btn { padding: 11px 16px; border-radius: 14px; font: 800 15px 'Inter', sans-serif; white-space: nowrap; }
.l5-tr { margin-left: auto; display: flex; align-items: center; gap: 12px; flex: none; }
#lobby.home5 .coins { display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 22px 0 10px; border-radius: 28px; font: 900 30px 'Inter', sans-serif; color: var(--n-gold);
  background: linear-gradient(180deg, rgba(20, 30, 60, .9), rgba(8, 14, 34, .9)); border: 1.5px solid var(--n-goldline); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 6px 16px rgba(0, 0, 0, .35); }
#lobby.home5 .coins.hidden { display: none; }
#lobby.home5 .coins .coin { width: 38px; height: 38px; font-size: 18px; }
.l5-plus { width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; font: 900 24px/1 'Inter', sans-serif; color: #3a2405; background: linear-gradient(180deg, #ffe08a, #f2b632 60%, #d38e12); box-shadow: 0 4px 10px rgba(0, 0, 0, .35); }
.l5-plus.hidden { display: none; }
#lobby.home5 .l5-ib { width: 64px; height: 64px; border-radius: 50%; color: #8fb2f5; background: radial-gradient(circle at 50% 30%, #1d3b78, #0c1d45); border: 1.5px solid var(--n-line); box-shadow: 0 6px 16px rgba(0, 0, 0, .4); }
#lobby.home5 .l5-ib svg { width: 32px; height: 32px; } #lobby.home5 #lbSound svg { width: 26px; height: 26px; }
#lobby.home5 .l5-ib.off { color: #5a6d97; }
#lobby.home5 .verify-note { max-width: 640px; margin: 0 auto 10px; text-align: center; }

/* grila principală */
.l5-grid { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 22px; margin-top: 14px; align-items: start; }
.l5-left { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.l5-quick { position: relative; border-radius: 22px; padding: 34px 30px 26px; overflow: hidden;
  background: radial-gradient(ellipse 50% 60% at 78% 20%, rgba(255, 190, 80, .18), transparent 70%), var(--n-card);
  border: 2px solid var(--n-goldline); box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 20px 46px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .1); }
.l5-qtxt { position: relative; z-index: 2; max-width: 55%; }
#lobby.home5 .l5-online { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .3); border: 1px solid var(--n-line); font: 800 13px 'Inter', sans-serif; color: #c8d6f5; }
#lobby.home5 .l5-online i { width: 8px; height: 8px; border-radius: 50%; background: #41e07f; box-shadow: 0 0 8px #41e07f; }
.l5-quick h2 { margin: 14px 0 0; font: 900 84px/1 'Inter', sans-serif; letter-spacing: -.02em; text-shadow: 0 4px 12px rgba(0, 0, 0, .4); white-space: nowrap; }
.l5-quick h2 em { font-style: normal; background: linear-gradient(180deg, #ffe08a, #f2b632 55%, #d38e12); -webkit-background-clip: text; background-clip: text; color: transparent; }
.l5-quick .l5-qtxt p { margin: 10px 0 0; font: 700 30px/1.15 'Inter', sans-serif; color: #a9bbe3; }
.l5-art { position: absolute; right: 22px; top: 18px; width: 400px; height: 230px; pointer-events: none; }
.l5-art::before { content: ''; position: absolute; inset: 10px 30px 20px; border-radius: 50%; background: radial-gradient(ellipse at 50% 55%, rgba(255, 200, 90, .45), transparent 65%); filter: blur(6px); }
.l5-rack { position: absolute; left: 50%; bottom: 26px; transform: translateX(-46%) rotate(-4deg); display: flex; gap: 6px; padding: 0 22px 26px; }
.l5-rack span { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; border-radius: 6px 6px 10px 10px; background: url(/img/table/rack-front.webp) center / cover; box-shadow: inset 0 2px 0 rgba(255, 220, 170, .4), 0 12px 20px rgba(0, 0, 0, .55); z-index: 2; }
.l5-rack b { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 86px; height: 118px; border-radius: 12px; font: 900 64px/1 'Inter', sans-serif;
  background: linear-gradient(180deg, #fffdf6, #f3e7cc 70%, #e2d0a6); box-shadow: inset 0 1px 0 #fff, 0 3px 0 #cdb685, 0 6px 0 #9d8556, 0 16px 22px rgba(0, 0, 0, .5); }
.l5-rack b::after { content: ''; width: 16px; height: 16px; border-radius: 50%; background: rgba(120, 90, 40, .35); margin-top: 10px; box-shadow: inset 0 2px 3px rgba(0, 0, 0, .35); }
.l5-rack b:nth-child(1) { transform: rotate(-4deg) translateY(4px); } .l5-rack b:nth-child(3) { transform: rotate(4deg) translateY(2px); }
.l5-rack .r { color: #d42a2a; } .l5-rack .y { color: #e3a00c; } .l5-rack .b { color: #1c58d0; }
.l5-art .sp { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #ffd56a; box-shadow: 0 0 10px 2px rgba(255, 200, 90, .8); }
.sp.s1 { left: 60px; top: 30px; } .sp.s2 { left: 300px; top: 14px; width: 4px; height: 4px; } .sp.s3 { left: 360px; top: 80px; } .sp.s4 { left: 30px; top: 110px; width: 3px; height: 3px; } .sp.s5 { left: 220px; top: 4px; width: 3px; height: 3px; }
.l5-opts { position: relative; z-index: 2; margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; padding: 22px 26px 26px; border-radius: 18px;
  background: rgba(6, 16, 44, .55); border: 1px solid var(--n-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.l5-sel { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.l5-sel > span { display: flex; align-items: center; gap: 10px; font: 800 20px 'Inter', sans-serif; color: #fff; }
.l5-sel > span svg { width: 28px; height: 28px; color: #8fb2f5; }
#lobby.home5 .l5-sel select { appearance: none; -webkit-appearance: none; width: 100%; height: 62px; padding: 0 48px 0 22px; border-radius: 12px; cursor: pointer;
  font: 900 26px 'Inter', sans-serif; color: #fff; background: #08142f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 22px no-repeat;
  border: 1.5px solid var(--n-goldline); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .35); }
#lobby.home5 .l5-sel select:focus { outline: 2px solid var(--n-gold); outline-offset: 1px; }
#lobby.home5 .l5-sel select option { color: #000; background: #fff; }
.l5-play { grid-column: 1 / -1; position: relative; overflow: hidden; height: 92px; border: 0; border-radius: 46px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 22px;
  font: 900 42px/1 'Inter', sans-serif; color: #fff; text-shadow: 0 2px 4px rgba(0, 60, 20, .5);
  background: linear-gradient(180deg, #5fe07a 0%, #2fb550 50%, #1f8f3c 100%); box-shadow: 0 0 0 1.5px rgba(160, 255, 180, .45), inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -4px 8px rgba(0, 70, 20, .35), 0 12px 26px rgba(20, 140, 60, .35);
  transition: transform .12s, filter .12s; }
.l5-play::before { content: ''; position: absolute; left: 4%; right: 4%; top: 3px; height: 44%; border-radius: 40px; background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0)); pointer-events: none; }
.l5-play svg { width: 40px; height: 40px; filter: drop-shadow(0 2px 3px rgba(0, 60, 20, .4)); }
.l5-play:hover { filter: brightness(1.06); } .l5-play:active { transform: translateY(2px) scale(.995); }
.l5-hint { grid-column: 1 / -1; margin: -6px 0 0; text-align: center; font: 700 14px 'Inter', sans-serif; color: #8193bd; }
.l5-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.l5-act { height: 110px; display: flex; align-items: center; gap: 22px; padding: 0 22px 0 32px; border-radius: 20px; cursor: pointer; text-align: left; color: #fff;
  background: var(--n-card); border: 1.5px solid var(--n-line); box-shadow: 0 14px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08); transition: border-color .15s, transform .15s; }
.l5-act:hover { border-color: rgba(160, 195, 255, .6); transform: translateY(-1px); }
.l5-act b { flex: 1; font: 900 28px 'Inter', sans-serif; white-space: nowrap; }
.l5-ci { width: 76px; height: 76px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 40% 30%, #4d8ff0, #1c54c2 70%, #133f99); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .3), 0 6px 14px rgba(0, 0, 0, .4); }
.l5-ci svg { width: 40px; height: 40px; }
#lobby.home5 .l5-code { margin: 0; cursor: text; }
#lobby.home5 .l5-code input { flex: 1; min-width: 0; height: 60px; padding: 0; border: 0; background: none; box-shadow: none; outline: none; color: #fff; text-align: left; letter-spacing: 0; font: 900 28px 'Inter', sans-serif; max-width: none; }
#lobby.home5 .l5-code input::placeholder { color: #fff; opacity: 1; }
#lobby.home5 .l5-code input:focus::placeholder { opacity: .35; }
#lobby.home5 .l5-code input:not(:placeholder-shown) { letter-spacing: 8px; }

/* dreapta */
.l5-right { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.l5-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.l5-box { position: relative; border-radius: 20px; color: #fff; text-align: left; cursor: pointer; overflow: hidden;
  background: var(--n-card); border: 1.5px solid var(--n-line); box-shadow: 0 14px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08); transition: border-color .15s, transform .15s; }
button.l5-box:hover { border-color: rgba(160, 195, 255, .6); transform: translateY(-1px); }
.l5-box.hidden { display: none; }
.l5-bonus, .l5-mis { border: 2px solid var(--n-goldline); min-height: 230px; }
.l5-bonus { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto auto; gap: 0 14px; padding: 20px 20px 22px; align-items: center;
  background: radial-gradient(ellipse 70% 60% at 20% 30%, rgba(255, 90, 60, .14), transparent 70%), var(--n-card); }
.l5-bonus .l5-gift { grid-row: 1; } .l5-bonus b { grid-row: 1; font: 900 24px/1.1 'Inter', sans-serif; }
.l5-bonus small { grid-column: 1 / -1; grid-row: 2; font: 700 13px/1.3 'Inter', sans-serif; color: var(--n-soft); margin: 4px 0 10px; min-height: 17px; }
.l5-bonus .l5-gold { grid-column: 1 / -1; grid-row: 3; }
.l5-gift::before, .l5-target::before, .l5-cup::before, .l5-cap::before { display: block; line-height: 1; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
.l5-gift::before { content: '🎁'; font-size: 68px; } .l5-target::before { content: '🎯'; font-size: 72px; }
.l5-cup::before { content: '🏆'; font-size: 64px; } .l5-cap::before { content: '🎓'; font-size: 60px; }
.l5-gold { display: flex; align-items: center; justify-content: center; height: 56px; border-radius: 14px; border: 0; cursor: pointer; font: 900 24px 'Inter', sans-serif; font-style: normal; color: #2a1a02;
  background: linear-gradient(180deg, #ffe48f 0%, #f6c445 50%, #e3a21e 100%); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), inset 0 -3px 6px rgba(150, 90, 0, .3), 0 6px 14px rgba(0, 0, 0, .3); }
#btnDaily:not(.pulse) .l5-gold { background: rgba(255, 255, 255, .08); color: #c8d6f5; box-shadow: inset 0 0 0 1.5px rgba(160, 190, 255, .3); font-size: 18px; }
#btnDaily.pulse .l5-gold { animation: l5glow 2s ease-in-out infinite; }
@keyframes l5glow { 50% { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), 0 0 22px rgba(255, 200, 80, .6); } }
.l5-mis { display: flex; align-items: center; gap: 14px; padding: 20px 18px; background: radial-gradient(ellipse 70% 60% at 25% 40%, rgba(255, 70, 70, .12), transparent 70%), radial-gradient(ellipse 60% 50% at 90% 100%, rgba(255, 190, 80, .14), transparent 70%), var(--n-card); }
.l5-mt { flex: 1; min-width: 0; display: block; }
.l5-mt b { display: flex; align-items: center; gap: 6px; font: 900 26px/1.15 'Inter', sans-serif; }
.l5-mt small { display: block; margin-top: 4px; font: 800 22px/1.2 'Inter', sans-serif; color: var(--n-gold); }
.l5-mis .l5-mt small { font-size: 22px; }
.l5-row { display: flex; align-items: center; gap: 24px; padding: 22px 26px 22px 30px; min-height: 140px; }
.l5-learn { cursor: default; }
.l5-learn .l5-mt small { color: var(--n-soft); font: 700 18px/1.35 'Inter', sans-serif; }
.l5-out { flex: none; padding: 14px 20px; border-radius: 14px; cursor: pointer; background: rgba(8, 20, 50, .6); border: 1.5px solid rgba(140, 180, 255, .55); color: #fff; font: 800 18px 'Inter', sans-serif; white-space: nowrap; }
.l5-out:hover { border-color: #fff; } .l5-out span { margin-left: 6px; }
.l5-gcta { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: 20px; background: var(--n-card); border: 2px solid var(--n-goldline); }
.l5-gcta.hidden { display: none; }
.l5-gcta b { font: 900 24px 'Inter', sans-serif; } .l5-gcta small { font: 700 15px/1.4 'Inter', sans-serif; color: var(--n-soft); margin-bottom: 8px; }

/* mai jos */
.l5-more { margin-top: 30px; }
.l5-event { margin-bottom: 16px; padding: 14px 20px; border-radius: 16px; background: rgba(255, 190, 70, .12); border: 1.5px solid var(--n-goldline); }
.l5-event b { display: block; font: 900 18px 'Inter', sans-serif; color: var(--n-gold); } .l5-event small { font: 700 14px 'Inter', sans-serif; color: #dfe7fb; }
.l5-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.l5-strip .l5-row { min-height: 0; padding: 16px 22px; }
.l5-strip .l5-mt b { font-size: 21px; } .l5-strip .l5-mt small { font-size: 15px; color: var(--n-soft); font-weight: 700; }
.l5-emo { font-size: 40px; line-height: 1; }
.l5-sbar { display: block; height: 7px; border-radius: 4px; background: rgba(0, 0, 0, .4); margin-top: 8px; overflow: hidden; } .l5-sbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #f6cf5c, #f2b632); }
.l5-tables { margin-top: 26px; }
.l5-th { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.l5-th h3 { margin: 0; font: 900 26px 'Inter', sans-serif; }
#lobby.home5 .l5-tabs { display: flex; gap: 4px; padding: 4px; margin: 0; width: auto; border-radius: 999px; background: rgba(0, 0, 0, .3); border: 1px solid var(--n-line); box-shadow: none; }
#lobby.home5 .l5-tabs button { padding: 8px 16px; border: 0; border-radius: 999px; background: none; color: var(--n-soft); font: 800 14px 'Inter', sans-serif; letter-spacing: 0; box-shadow: none; }
#lobby.home5 .l5-tabs button + button { border-left: 0; }
#lobby.home5 .l5-tabs button.on { background: linear-gradient(180deg, #ffe08a, #f2b632); color: #2a1a02; }
#lobby.home5 .l5-tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
#lobby.home5 .tcard { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; gap: 0 14px; padding: 14px 16px; min-height: 76px; border-radius: 16px;
  background: var(--n-card); border: 1.5px solid var(--n-line); box-shadow: 0 10px 22px rgba(0, 0, 0, .3); transform: none; }
#lobby.home5 .tcard::before { content: none; }
#lobby.home5 .tcard:hover { border-color: rgba(160, 195, 255, .6); }
#lobby.home5 .tc-table { grid-row: 1; grid-column: 1; height: auto; display: flex; position: static; }
#lobby.home5 .tc-oval { display: none; }
#lobby.home5 .tc-seat { position: static; transform: none; margin-left: -9px; } #lobby.home5 .tc-seat:first-child { margin-left: 0; }
#lobby.home5 .tc-seat .avatar { width: 34px; height: 34px; font-size: 12px; border: 2px solid #0d2252; box-shadow: none; }
#lobby.home5 .tc-seat .avatar .bot { display: none; }
#lobby.home5 .tc-seat.empty span { width: 34px; height: 34px; font-size: 15px; border: 1.5px dashed rgba(242, 193, 78, .6); background: #0b1c45; color: var(--n-gold); }
#lobby.home5 .tc-info { grid-row: 1; grid-column: 2; display: block; min-width: 0; }
#lobby.home5 .tc-info h3 { margin: 0; font: 900 17px 'Inter', sans-serif; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0; }
#lobby.home5 .tc-count, #lobby.home5 .tc-tag { display: none; }
#lobby.home5 .tc-meta { display: block; font: 700 12.5px 'Inter', sans-serif; color: var(--n-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#lobby.home5 .tcard:has(.tc-tag.stake) .tc-info h3::after { content: ' · miză'; color: var(--n-gold); }
#lobby.home5 .tc-btns { grid-row: 1; grid-column: 3; display: flex; gap: 6px; }
#lobby.home5 .tc-join { min-width: 0; padding: 10px 18px; border-radius: 12px; border: 0; font: 900 15px 'Inter', sans-serif; letter-spacing: 0; color: #fff; text-transform: lowercase;
  background: linear-gradient(180deg, #5fe07a, #2fb550 55%, #1f8f3c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
#lobby.home5 .tc-join::first-letter { text-transform: uppercase; }
#lobby.home5 .tc-join + .tc-watch { display: none; }
#lobby.home5 .tc-watch { padding: 9px 12px; border-radius: 12px; font: 800 13px 'Inter', sans-serif; color: #c8d6f5; background: rgba(0, 0, 0, .3); border: 1px solid var(--n-line); }
#lobby.home5 .lb-empty { grid-column: 1 / -1; padding: 22px; border-radius: 16px; font: 700 15px 'Inter', sans-serif; color: var(--n-soft); background: rgba(0, 0, 0, .2); border: 1.5px dashed var(--n-line); text-align: center; }
#lobby.home5 .lb-more { grid-column: 1 / -1; justify-self: center; padding: 10px 22px; border-radius: 999px; cursor: pointer; font: 800 14px 'Inter', sans-serif; color: var(--n-gold); background: none; border: 1.5px solid var(--n-goldline); }
.l5-links { margin: 24px 0 0; text-align: center; font: 700 14px 'Inter', sans-serif; color: #6f80a8; } .l5-links a { color: #8fa2cf; text-decoration: none; }

/* meniul de jos */
#lobby.home5 .l5-nav { position: fixed; left: 0; right: 0; bottom: 0; transform: none; width: auto; z-index: 30; display: flex; justify-content: space-around; padding: 10px 2vw calc(env(safe-area-inset-bottom) + 10px);
  border-radius: 0; border: 0; border-top: 1px solid rgba(120, 160, 240, .25); background: linear-gradient(180deg, rgba(14, 30, 70, .97), rgba(6, 14, 36, .98)); box-shadow: 0 -10px 30px rgba(0, 0, 0, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
#lobby.home5 .l5-nav button { position: relative; flex: 1; max-width: 260px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 4px 12px; border: 0; background: none; cursor: pointer; color: #9fb4e6; font: 800 20px/1 'Inter', sans-serif; }
#lobby.home5 .l5-nav button::before { content: none; }
#lobby.home5 .l5-nav button::after { content: ''; position: absolute; left: 25%; right: 25%; bottom: -2px; width: auto; height: 4px; border-radius: 2px; background: transparent; }
#lobby.home5 .l5-nav button.on { color: #ffc93c; } #lobby.home5 .l5-nav button.on::after { background: #ffc93c; }
#lobby.home5 .l5-nav button:hover { color: #fff; }
#lobby.home5 .l5-nav svg { width: 40px; height: 40px; }
#lobby.home5 .l5-nav .badge { position: absolute; top: 4px; right: calc(50% - 30px); font-size: 11px; }
#lobby.home5 .l5-nav small { display: none; }
.l5-meav { display: grid; place-items: center; width: 40px; height: 40px; }
.l5-meav svg { width: 40px; height: 40px; fill: currentColor; stroke: none; }
.l5-meav .avatar { width: 40px; height: 40px; font-size: 15px; border: 2px solid currentColor; }
html.has-ad #lobby.home5 { padding-bottom: calc(var(--ad-h, 0px) + 112px); } html.has-ad #lobby.home5 .l5-nav { bottom: var(--ad-h, 0px); }

/* ecrane medii */
@media (max-width: 1500px) {
  #lobby.home5 { padding-left: 26px; padding-right: 26px; }
  .l5-wm { font-size: 36px; } .l5-tiles b { width: 38px; height: 48px; font-size: 26px; }
  .l5-av .avatar { width: 70px; height: 70px; } .l5-who b { font-size: 26px; } #lobby.home5 .h-stats { font-size: 17px; }
  .l5-quick h2 { font-size: 70px; } .l5-quick .l5-qtxt p { font-size: 25px; }
  .l5-art { transform: scale(.85); transform-origin: top right; }
  .l5-act b, .l5-mt b { font-size: 23px; } #lobby.home5 .l5-code input { font-size: 23px; } .l5-mt small { font-size: 18px; }
  .l5-ci { width: 64px; height: 64px; } .l5-bonus b { font-size: 21px; }
}
@media (max-width: 1240px) {
  .l5-grid { grid-template-columns: 1fr; } .l5-right { display: grid; grid-template-columns: 1fr 1fr; } .l5-pair { grid-column: 1 / -1; }
  #lobby.home5 .l5-lvl { display: none; }
}
/* telefon */
@media (max-width: 760px) {
  #lobby.home5 { padding: calc(env(safe-area-inset-top) + 10px) 12px calc(env(safe-area-inset-bottom) + 92px); }
  .l5-top { flex-wrap: wrap; gap: 10px 12px; min-height: 0; }
  .l5-logo { order: 1; } .l5-tr { order: 2; gap: 8px; } .l5-div { display: none; }
  #lobby.home5 .l5-user, #lobby.home5 .l5-guest { order: 3; flex: 1 1 100%; flex-wrap: wrap; }
  .l5-tiles b { width: 26px; height: 34px; font-size: 18px; border-radius: 6px; } .l5-wm { font-size: 24px; }
  #lobby.home5 .coins { height: 42px; font-size: 20px; padding: 0 14px 0 6px; gap: 8px; } #lobby.home5 .coins .coin { width: 28px; height: 28px; }
  .l5-plus { width: 32px; height: 32px; font-size: 20px; } #lobby.home5 .l5-ib { width: 42px; height: 42px; } #lobby.home5 .l5-ib svg { width: 22px; height: 22px; } #lobby.home5 #lbSound { display: none; }
  .l5-av .avatar { width: 54px; height: 54px; font-size: 20px; } .l5-who b { font-size: 21px; max-width: 46vw; } #lobby.home5 .h-stats { font-size: 14px; margin-top: 3px; }
  #lobby.home5 .l5-lvl { display: flex; flex: 1 1 100%; margin: 4px 0 0; max-width: none; } .l5-lvtx { font-size: 15px; } #lobby.home5 .l5-lvl small { font-size: 13px; }
  #lobby.home5 .l5-guest #nick { flex: 1; width: auto; min-width: 120px; }
  .l5-quick { padding: 20px 16px 16px; border-radius: 18px; }
  .l5-qtxt { max-width: 62%; } .l5-quick h2 { font-size: 44px; margin-top: 10px; } .l5-quick .l5-qtxt p { font-size: 17px; }
  .l5-art { right: -40px; top: 4px; transform: scale(.48); }
  .l5-opts { margin-top: 20px; padding: 14px; gap: 12px; } .l5-sel > span { font-size: 16px; } .l5-sel > span svg { width: 22px; height: 22px; }
  #lobby.home5 .l5-sel select { height: 50px; font-size: 21px; padding-left: 14px; }
  .l5-play { height: 70px; font-size: 32px; } .l5-play svg { width: 30px; height: 30px; } .l5-hint { font-size: 12.5px; }
  .l5-two { gap: 12px; } .l5-act { height: 76px; padding: 0 12px 0 14px; gap: 12px; border-radius: 16px; } .l5-act b { font-size: 17px; white-space: normal; line-height: 1.1; }
  #lobby.home5 .l5-code input { font-size: 17px; height: 44px; } .l5-ci { width: 46px; height: 46px; } .l5-ci svg { width: 26px; height: 26px; } .l5-ch { font-size: 24px; }
  .l5-right { display: flex; gap: 12px; } .l5-pair { gap: 12px; }
  .l5-bonus, .l5-mis { min-height: 0; padding: 14px; border-radius: 16px; }
  .l5-gift::before { font-size: 42px; } .l5-target::before { font-size: 44px; } .l5-cup::before { font-size: 44px; } .l5-cap::before { font-size: 40px; }
  .l5-bonus b { font-size: 18px; } .l5-gold { height: 44px; font-size: 18px; border-radius: 12px; }
  .l5-mis { flex-wrap: wrap; gap: 8px; } .l5-mt b { font-size: 18px; } .l5-mt small, .l5-mis .l5-mt small { font-size: 15px; }
  .l5-row { min-height: 0; padding: 14px 16px; gap: 14px; } .l5-learn { flex-wrap: wrap; } .l5-learn .l5-mt small { font-size: 14px; } .l5-out { padding: 10px 14px; font-size: 15px; }
  .l5-strip { grid-template-columns: 1fr; gap: 12px; }
  #lobby.home5 .l5-tgrid { grid-template-columns: 1fr; }
  .l5-th h3 { font-size: 21px; } #lobby.home5 .l5-tabs button { padding: 7px 10px; font-size: 12.5px; }
  #lobby.home5 .l5-nav { padding: 6px 2px calc(env(safe-area-inset-bottom) + 6px); }
  #lobby.home5 .l5-nav button { font-size: 12px; gap: 4px; padding: 6px 2px 9px; } #lobby.home5 .l5-nav svg, .l5-meav, .l5-meav svg { width: 26px; height: 26px; } .l5-meav .avatar { width: 28px; height: 28px; font-size: 11px; }
  #lobby.home5 .l5-nav .badge { right: calc(50% - 22px); top: 2px; }
  html.has-ad #lobby.home5 { padding-bottom: calc(var(--ad-h, 0px) + 92px); }
}
/* telefon ținut orizontal */
@media (orientation: landscape) and (max-height: 500px) {
  #lobby.home5 { padding: 8px 16px 76px; }
  .l5-top { min-height: 0; flex-wrap: nowrap; } .l5-div, #lobby.home5 .l5-lvl, #lobby.home5 #lbSound { display: none; }
  .l5-tiles b { width: 24px; height: 30px; font-size: 16px; } .l5-wm { font-size: 22px; }
  .l5-av .avatar { width: 44px; height: 44px; font-size: 16px; } .l5-who b { font-size: 18px; } #lobby.home5 .h-stats { font-size: 13px; margin-top: 2px; }
  #lobby.home5 .coins { height: 40px; font-size: 18px; } #lobby.home5 .coins .coin { width: 26px; height: 26px; } #lobby.home5 .l5-ib { width: 40px; height: 40px; }
  .l5-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; margin-top: 8px; } .l5-right { display: flex; gap: 12px; } .l5-pair { gap: 12px; }
  .l5-quick { padding: 14px 16px; } .l5-quick h2 { font-size: 38px; margin-top: 6px; } .l5-quick .l5-qtxt p { font-size: 15px; margin-top: 4px; }
  .l5-art { right: -50px; top: -14px; transform: scale(.45); }
  .l5-opts { margin-top: 12px; padding: 12px; gap: 10px; } .l5-sel > span { font-size: 14px; } #lobby.home5 .l5-sel select { height: 44px; font-size: 19px; }
  .l5-play { height: 56px; font-size: 26px; } .l5-play svg { width: 24px; height: 24px; } .l5-hint { display: none; }
  .l5-two { gap: 12px; } .l5-act { height: 62px; padding: 0 12px; gap: 10px; } .l5-act b, #lobby.home5 .l5-code input { font-size: 16px; } .l5-ci { width: 40px; height: 40px; } .l5-ci svg { width: 22px; height: 22px; }
  .l5-bonus, .l5-mis { min-height: 0; padding: 12px; } .l5-gift::before, .l5-target::before { font-size: 36px; } .l5-cup::before, .l5-cap::before { font-size: 34px; }
  .l5-bonus b { font-size: 16px; } .l5-gold { height: 38px; font-size: 16px; } .l5-mt b { font-size: 16px; } .l5-mt small { font-size: 13px !important; }
  .l5-row { min-height: 0; padding: 10px 14px; gap: 12px; } .l5-out { padding: 8px 10px; font-size: 13px; }
  #lobby.home5 .l5-nav { padding: 4px 2px calc(env(safe-area-inset-bottom) + 4px); } #lobby.home5 .l5-nav button { font-size: 11px; gap: 3px; padding: 4px 2px 7px; } #lobby.home5 .l5-nav svg, .l5-meav, .l5-meav svg { width: 22px; height: 22px; }
}
#lobby.home5 #btnDaily.pulse { border-color: var(--n-goldline); animation: none; }
.l5-mt small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l5-learn .l5-mt small { white-space: normal; }
.l5-pair:not(:has(> :not(.hidden))) { display: none; }
@media (max-width: 760px) {
  .l5-art { right: -30px; top: 8px; transform: scale(.42); }
  .l5-two { grid-template-columns: 1fr; } .l5-act { height: 66px; } .l5-act b { white-space: nowrap; }
}
@media (orientation: landscape) and (max-height: 500px) { .l5-meav .avatar { width: 22px; height: 22px; font-size: 9px; } }

/* recompensă video + casete de reclamă demo */
.l5-strip { grid-template-columns: repeat(3, 1fr); }
.l5-video { border: 2px solid var(--n-goldline); background: radial-gradient(ellipse 60% 80% at 15% 50%, rgba(255, 190, 80, .16), transparent 70%), var(--n-card); }
.l5-video .l5-gold { height: 44px; padding: 0 20px; font-size: 18px; flex: none; }
.l5-video.done { opacity: .6; } .l5-video.done .l5-gold { display: none; }
.l5-strip .l5-video .l5-mt small { color: var(--n-gold); white-space: normal; }
@media (max-width: 1100px) { .l5-strip { grid-template-columns: 1fr; } }
.l5-ad { margin: 24px auto 0; max-width: 970px; text-align: center; }
.l5-ad.hidden { display: none; }
.l5-ad > small, .ad-box > small { display: block; margin-bottom: 6px; font: 700 11px 'Inter', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #6f80a8; }
.ad-demo-in { display: grid; place-items: center; min-height: 90px; padding: 12px; border-radius: 12px; font: 800 15px 'Inter', sans-serif; color: #8fa2cf;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 12px, transparent 12px 24px), rgba(0, 0, 0, .25); border: 1.5px dashed rgba(140, 170, 230, .35); }
.ad-demo-in b { color: var(--n-gold, #f2c14e); }
.ad-box.ad-demo .ad-demo-in { min-height: 100px; color: #a9b3c4; }
.btn.gold-video { color: #2a1a02; border: 0; background: linear-gradient(180deg, #ffe48f, #f6c445 50%, #e3a21e); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), 0 4px 12px rgba(0, 0, 0, .35); font-weight: 900; }
.vid-ov { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .82); backdrop-filter: blur(4px); }
.vid-box { width: min(720px, 100%); border-radius: 18px; overflow: hidden; background: #0b1530; border: 1.5px solid rgba(242, 193, 78, .5); box-shadow: 0 30px 70px rgba(0, 0, 0, .7); font-family: 'Inter', sans-serif; }
.vid-top { display: flex; justify-content: space-between; padding: 12px 16px; font: 800 14px 'Inter', sans-serif; color: #c8d6f5; } .vid-top b { color: #f2c14e; }
.vid-screen { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; color: #fff;
  background: radial-gradient(circle at 30% 30%, rgba(80, 140, 255, .35), transparent 50%), radial-gradient(circle at 70% 70%, rgba(255, 180, 60, .3), transparent 50%), linear-gradient(135deg, #10224f, #06102a); animation: vidbg 6s ease-in-out infinite alternate; }
@keyframes vidbg { to { filter: hue-rotate(40deg); } }
.vid-play { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; background: rgba(255, 255, 255, .15); border: 2px solid rgba(255, 255, 255, .5); margin: 0 auto 12px; animation: vidp 1.6s ease-in-out infinite; }
@keyframes vidp { 50% { transform: scale(1.08); } }
.vid-screen p { margin: 0; font: 800 18px/1.4 'Inter', sans-serif; } .vid-screen small { font-weight: 700; color: #a9bbe3; font-size: 14px; }
.vid-bar { height: 6px; background: rgba(255, 255, 255, .12); } .vid-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #f6cf5c, #f2b632); }
.vid-btns { display: flex; justify-content: flex-end; padding: 12px 16px; }

/* punctele formațiilor de pe suport */
.mbadge { position: absolute; top: 0; z-index: 4; transform: translate(-50%, -50%); pointer-events: none; white-space: nowrap;
  padding: 1px 8px 2px; border-radius: 999px; font: 900 max(11px, calc(var(--tw) * .24)) / 1.3 'Inter', sans-serif; color: #2a1a02;
  background: linear-gradient(180deg, #ffe48f, #f2b632); box-shadow: 0 0 0 1.5px rgba(60, 35, 0, .55), 0 3px 6px rgba(0, 0, 0, .45); animation: mbIn .25s ease-out; }
.mbadge.set { background: linear-gradient(180deg, #d4ecff, #7fbaf5); color: #082447; box-shadow: 0 0 0 1.5px rgba(5, 30, 70, .55), 0 3px 6px rgba(0, 0, 0, .45); }
@keyframes mbIn { from { opacity: 0; transform: translate(-50%, -20%) scale(.8); } }

/* =================================================================== JOC: butoane, meniu și plăcuțe în culorile lobby-ului (bleumarin + auriu) */
body.lux { --lx-dark: linear-gradient(180deg, #17336c, #0b1c45); --lx-line: rgba(120, 160, 240, .4); --lx-g1: #ffd66b; }
body.lux #game { background:
  radial-gradient(ellipse 60% 45% at 30% 0%, rgba(70, 120, 230, .25), transparent 70%),
  radial-gradient(ellipse 50% 50% at 90% 30%, rgba(40, 90, 200, .16), transparent 70%),
  linear-gradient(180deg, #0c1d48 0%, #081638 50%, #060f2a 100%); }
body.lux #game::after { background: radial-gradient(ellipse 80% 80% at 50% 46%, transparent 60%, rgba(0, 0, 0, .45)); }
body.lux .g-top .gbtn { color: #fff; background: radial-gradient(circle at 50% 30%, #1d3b78, #0c1d45); border: 1.5px solid var(--lx-line); box-shadow: 0 6px 16px rgba(0, 0, 0, .4); }
body.lux .g-top .gbtn:hover { border-color: #ffd66b; }
body.lux .burger i { background: #fff; }
body.lux .g-pill { background: linear-gradient(180deg, #17336c, #0b1c45); border: 1.5px solid rgba(240, 196, 90, .6); color: #ffd66b; }
body.lux .g-pill b { color: #fff; }
body.lux .seats-bar .pcard, body.lux .rack-area > .pcard { background: linear-gradient(160deg, #18366f 0%, #0f2556 55%, #0b1c45 100%); border: 1.5px solid var(--lx-line); }
body.lux .seats-bar .pcard.me { background: linear-gradient(160deg, #1f418a, #12306b 60%, #0d2352); border-color: rgba(240, 196, 90, .6); }
body.lux .seats-bar .avatar { border-color: #ffd66b; }
body.lux .pscore { background: rgba(0, 0, 0, .3); border-color: rgba(120, 160, 240, .25); }
body.lux .pscore b { color: #fff; }
body.lux .gbtn3 { color: #fff; border-radius: 14px; background: linear-gradient(160deg, #18366f 0%, #0f2556 55%, #0b1c45 100%); border: 1.5px solid var(--lx-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 18px rgba(0, 0, 0, .4); }
body.lux .gbtn3 .ic { color: #ffd66b; background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px rgba(120, 160, 240, .3); }
body.lux .gbtn3:hover:not(:disabled) { border-color: #ffd66b; }
body.lux .gbtn3.primary:not(:disabled) { color: #fff; border: 0; background: linear-gradient(180deg, #5fe07a 0%, #2fb550 50%, #1f8f3c 100%);
  box-shadow: 0 0 0 1.5px rgba(160, 255, 180, .45), inset 0 2px 0 rgba(255, 255, 255, .45), 0 8px 18px rgba(20, 140, 60, .35); }
body.lux .gbtn3.primary:not(:disabled) .ic { color: #fff; background: rgba(255, 255, 255, .18); box-shadow: none; }
body.lux .gbtn3:disabled { opacity: .5; }
body.lux .felt .hint-pill { background: rgba(8, 20, 50, .75); border: 1px solid rgba(120, 160, 240, .45); color: #e3ecff; }
body.lux .dstrip { border-color: rgba(255, 214, 107, .35); }
.l5-mis .l5-mt small { white-space: normal; }

/* limba jocului: RO / EN */
.l5-lang { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, .3); border: 1.5px solid rgba(120, 160, 240, .32); }
.l5-lang button { border: 0; cursor: pointer; padding: 8px 12px; border-radius: 999px; background: none; color: #a9bbe3; font: 900 14px/1 'Inter', sans-serif; letter-spacing: .04em; }
.l5-lang button.on { color: #2a1a02; background: linear-gradient(180deg, #ffe48f, #f2b632); }
@media (max-width: 760px) { .l5-lang button { padding: 6px 9px; font-size: 12px; } }
@media (orientation: landscape) and (max-height: 500px) { .l5-lang button { padding: 6px 8px; font-size: 12px; } }
.lang-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.lang-row span { flex: 1 1 100%; font-weight: 800; color: var(--muted, #a9b3c4); font-size: 13px; }

/* ---------- logo 3A: doi jokeri + Remi-Online.com ---------- */
.jk-ic { --u: 1px; position: relative; flex: none; display: block; width: calc(var(--u) * 62); height: calc(var(--u) * 58); }
.jk-ic .jt { position: absolute; display: grid; justify-items: center; align-content: start; box-sizing: border-box; padding-top: calc(var(--u) * 4);
  width: calc(var(--u) * 36); height: calc(var(--u) * 48); border-radius: calc(var(--u) * 6);
  background: linear-gradient(180deg, #fffdf6, #f3e7cc 70%, #e2d0a6);
  box-shadow: inset 0 1px 0 #fff, 0 calc(var(--u) * 2) 0 #cdb685, 0 calc(var(--u) * 3.2) 0 #9d8556, 0 calc(var(--u) * 6) calc(var(--u) * 9) rgba(0, 0, 0, .45); }
.jk-ic .jt svg { width: calc(var(--u) * 30); height: calc(var(--u) * 30); }
.jk-ic .jt::after { content: ""; position: absolute; left: 50%; bottom: calc(var(--u) * 4.5); transform: translateX(-50%); width: calc(var(--u) * 11); height: calc(var(--u) * 11); border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #e4dccb, #f7f3ea 70%); box-shadow: inset 0 calc(var(--u) * 1.5) calc(var(--u) * 2) rgba(0, 0, 0, .28); }
.jk-ic .jt:nth-child(1) { left: calc(var(--u) * 2); top: calc(var(--u) * 7); transform: rotate(-14deg); }
.jk-ic .jt:nth-child(2) { left: calc(var(--u) * 24); top: calc(var(--u) * 3); transform: rotate(10deg); }
.l5-logo { gap: 12px; }
.l5-logo .jk-ic { --u: 1.15px; }
.l5-logo .l5-wm { font-size: 40px; }
.l5-wm em { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #f2b632; }
.l5-wm small { display: block; margin-top: 6px; font-size: 14px; letter-spacing: .28em; color: #a9bbe4; text-shadow: none; }
html[lang="en"] .l5-wm .tg-ro, html:not([lang="en"]) .l5-wm .tg-en { display: none; }
@media (max-width: 1500px) { .l5-logo .l5-wm { font-size: 34px; } .l5-wm small { font-size: 12px; } .l5-logo .jk-ic { --u: 1px; } }
@media (max-width: 760px) { .l5-logo { gap: 8px; } .l5-logo .l5-wm { font-size: 22px; } .l5-wm small { font-size: 8.5px; margin-top: 3px; letter-spacing: .2em; } .l5-logo .jk-ic { --u: .66px; } }
@media (max-width: 380px) { .l5-logo .l5-wm { font-size: 19px; } .l5-wm small { font-size: 7.5px; } .l5-logo .jk-ic { --u: .58px; } }
@media (orientation: landscape) and (max-height: 500px) { .l5-logo .l5-wm { font-size: 22px; } .l5-wm small { font-size: 8.5px; margin-top: 3px; letter-spacing: .2em; } .l5-logo .jk-ic { --u: .66px; } }
/* în joc (desktop) */
body.lux-desk .g-logo { display: flex; align-items: center; gap: 8px; font: 900 24px/1 'Inter', sans-serif; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); }
body.lux-desk .g-logo .jk-ic { --u: .72px; }
body.lux-desk .g-logo em { font-style: normal; color: #f2b632; }

/* ---------- logo pe masă (varianta B): jokeri + REMI-ONLINE.COM + stele ---------- */
body #game .felt .watermark.wm-b { width: min(52%, 640px); font: inherit; letter-spacing: 0; text-shadow: none; color: rgba(255, 236, 190, .2);
  filter: drop-shadow(0 1.5px 0 rgba(0, 0, 0, .18)); }
.wm-b svg { display: block; width: 100%; height: auto; overflow: visible; }
.wm-b text { fill: rgba(255, 255, 255, .15); font-family: 'Inter', system-ui, sans-serif; font-weight: 900; }
.wm-b .w { font-size: 56px; letter-spacing: 1px; } .wm-b .g { fill: rgba(255, 214, 120, .28); }
.wm-b .st { font-size: 18px; letter-spacing: 8px; fill: rgba(255, 214, 120, .28); }
.wm-b .tl { font-size: 17px; letter-spacing: 6px; fill: rgba(255, 236, 190, .2); }
.wm-b .ln { stroke: rgba(255, 236, 190, .18); stroke-width: 2; fill: none; }
html[lang="en"] .wm-b .tg-ro, html:not([lang="en"]) .wm-b .tg-en { display: none; }
@media (max-width: 760px) and (orientation: portrait), (max-width: 600px) { body #game .felt .watermark.wm-b { width: 82%; } }
@media (max-height: 560px) and (orientation: landscape) { body #game .felt .watermark.wm-b { width: min(46%, 85vh); } }
.del-acct { text-align: center; margin: 4px 0 0; } .del-acct a { color: #e98a8a; font-size: 13px; font-weight: 700; opacity: .8; }
.del-warn { background: rgba(212, 42, 42, .14); border: 1px solid rgba(212, 42, 42, .35); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
/* foile din lobby (Creează masă, Joc rapid): fundal opac în tema albastru/auriu */
#lobby .lb-sheet { background: rgba(3, 9, 26, .72); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
#lobby .lb-sheet-in.card { padding: 18px 18px 20px; background: linear-gradient(180deg, #16357c, #0a1f55 70%, #081a48); border: 1.5px solid rgba(242, 182, 50, .55); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }

/* ---------- sala de așteptare în tema albastru/auriu + 2 coloane pe telefon culcat ---------- */
#waiting { padding-top: 22px; }
#waiting > .card { background: linear-gradient(180deg, #16357c, #0a1f55 70%, #081a48); border: 1.5px solid rgba(242, 182, 50, .5); border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
#waiting #wName { color: #f2b632; }
#waiting .tcode { background: rgba(0, 0, 0, .22); border-color: rgba(242, 182, 50, .45); }
#waiting .seats li { background: rgba(255, 255, 255, .07); border: 1px solid rgba(160, 190, 255, .16); }
@media (orientation: landscape) and (max-height: 560px) {
  #waiting { max-width: 860px; padding: 10px 16px; }
  #waiting > .card { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; grid-auto-flow: row dense; align-content: start; padding: 14px 18px; }
  #waiting > .card > * { grid-column: 2; margin-top: 0; }
  #waiting > .card > #wName, #waiting > .card > #wInfo, #waiting > .card > #wSeats { grid-column: 1; }
  #waiting #wName { margin-bottom: 2px; } #waiting #wInfo { margin-bottom: 8px; }
  #waiting #wName { grid-row: 1; } #waiting #wInfo { grid-row: 2; } #waiting .tcode { grid-row: 1 / span 2; align-self: start; }
  #waiting #wSeats { grid-row: 3 / span 6; margin: 0; } #waiting .seats li { padding: 8px 12px; margin-bottom: 6px; }
  #waiting .tcode, #waiting .invite, #waiting .share-row, #waiting #btnInvite { margin-bottom: 8px; }
}
/* antet lobby pe tabletă / laptop mic: loc pentru numele jucătorului lângă logo */
@media (max-width: 1440px) { #lobby.home5 .l5-lvl { display: none; } #lobby.home5 .l5-who { flex: 0 1 auto; min-width: 90px; } }
@media (max-width: 1240px) and (min-width: 761px) {
  .l5-logo .l5-wm { font-size: 27px; } .l5-wm small { font-size: 9.5px; letter-spacing: .2em; margin-top: 4px; } .l5-logo .jk-ic { --u: .78px; }
  .l5-av .avatar { width: 54px; height: 54px; font-size: 20px; } .l5-who b { font-size: 21px; } #lobby.home5 .h-stats { font-size: 14px; }
  #lobby.home5 .l5-user { gap: 10px; }
}
@media (max-width: 1100px) and (min-width: 761px) { #lobby.home5 #lbSound { display: none; } }

/* ---------- Roata norocului ---------- */
.l5-wheel .l5-wic { flex: none; width: 58px; height: 58px; border-radius: 50%; padding: 3px; background: linear-gradient(180deg, #fff2b8, #f2b632 55%, #b57a08); box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }
.l5-wheel .l5-wic svg { width: 100%; height: 100%; display: block; animation: wicSpin 14s linear infinite; }
.l5-wheel.pulse .l5-wic svg { animation-duration: 5s; }
@keyframes wicSpin { to { transform: rotate(360deg); } }
.jk-mini { display: inline-grid; place-items: center; flex: none; width: 22px; height: 28px; border-radius: 5px; background: linear-gradient(180deg, #fffdf6, #e9dcbc); box-shadow: 0 2px 0 #cdb685; transform: rotate(-8deg); }
.jk-mini svg { width: 18px; height: 18px; }
.jk-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, .3); border: 1.5px solid rgba(242, 182, 50, .5); font: 900 20px 'Inter', sans-serif; color: #fff; }
.jk-pill.hidden { display: none; }
@media (max-width: 760px) { .jk-pill { padding: 4px 10px 4px 7px; font-size: 15px; } .jk-pill .jk-mini { width: 17px; height: 22px; } .jk-pill .jk-mini svg { width: 14px; height: 14px; } }
/* butonul Joker de la masă */
.bonusj { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border: 0; border-radius: 14px; cursor: pointer; color: #2a1a02; font-family: 'Inter', sans-serif; text-align: left;
  background: linear-gradient(180deg, #ffe48f, #f2b632 70%, #d99a17); box-shadow: 0 0 0 2px #7d560a, 0 6px 16px rgba(242, 182, 50, .4); animation: jkPulse 1.8s infinite; }
.bonusj.hidden { display: none; }
.bonusj b { display: block; font-size: 16px; font-weight: 900; line-height: 1; } .bonusj small { display: block; font-size: 11px; font-weight: 800; color: #5a3d06; }
.bonusj:disabled { animation: none; filter: grayscale(.6) brightness(.8); }
@keyframes jkPulse { 50% { box-shadow: 0 0 0 2px #7d560a, 0 0 0 7px rgba(242, 182, 50, .25), 0 6px 16px rgba(242, 182, 50, .4); } }
@media (max-height: 560px) and (orientation: landscape), (max-width: 600px) { .bonusj { padding: 4px 10px 4px 6px; } .bonusj .jk-mini { width: 17px; height: 22px; } .bonusj .jk-mini svg { width: 14px; height: 14px; } .bonusj b { font-size: 13px; } .bonusj small { font-size: 9.5px; } }
/* fereastra roții */
.whl-ov { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 14px; background: rgba(2, 6, 20, .66); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.whl-card { position: relative; min-width: 0; width: min(540px, 100%); max-height: 100%; overflow: auto; padding: 20px 20px 18px; border-radius: 26px; text-align: center; font-family: 'Inter', sans-serif; color: #fff;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(80, 140, 255, .35), transparent 70%), linear-gradient(180deg, #16357c, #0a1f55 70%, #081a48);
  border: 2px solid rgba(242, 182, 50, .6); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .12); }
.whl-x { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: #fff; font-size: 19px; cursor: pointer; z-index: 7; }
.whl-card h2 { margin: 0; font: 900 32px/1.05 'Inter', sans-serif; color: #fff; } .whl-card h2 em { font-style: normal; color: #f2b632; }
.whl-sub { margin: 6px 0 8px; color: #b9c8ee; font-weight: 800; }
.whl-wrap { position: relative; width: min(400px, calc(100vw - 80px), calc(100vh - 320px)); min-width: 220px; aspect-ratio: 1; margin: 12px auto 6px; }
.whl-svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .55)); }
.whl-svg .wb0 { fill: #fff8dc; } .whl-svg .wb1 { fill: #9a6a10; }
.whl-ov.blink .whl-svg .wb0 { fill: #9a6a10; } .whl-ov.blink .whl-svg .wb1 { fill: #fff8dc; }
.whl-ptr { position: absolute; left: 50%; top: -14px; width: 12%; transform: translateX(-50%); transform-origin: 50% 20%; z-index: 3; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5)); }
.whl-ptr.tick { animation: whlTick .12s ease-out; }
@keyframes whlTick { 40% { transform: translateX(-50%) rotate(-14deg); } }
.whl-hub { position: absolute; left: 50%; top: 50%; width: 25%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; z-index: 2;
  background: radial-gradient(circle at 40% 30%, #24529f, #0b2463); box-shadow: 0 0 0 5px #f2b632, 0 0 0 8px #7d560a, 0 8px 18px rgba(0, 0, 0, .5); }
.whl-t { width: 46%; height: 62%; border-radius: 8px; display: grid; justify-items: center; align-content: start; padding-top: 8%; background: linear-gradient(180deg, #fffdf6, #f3e7cc 70%, #e2d0a6); box-shadow: 0 3px 0 #cdb685, 0 5px 8px rgba(0, 0, 0, .4); transform: rotate(-8deg); }
.whl-t svg { width: 82%; }
.whl-act { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 10px; }
.whl-go, .whl-gold { min-width: 250px; padding: 14px 26px !important; font-size: 20px !important; border-radius: 16px !important; }
.whl-go { color: #fff !important; background: linear-gradient(180deg, #3fd473, #1f9d47) !important; box-shadow: 0 0 0 2px #e0b45a, 0 10px 24px rgba(20, 140, 70, .45) !important; }
.whl-gold { color: #2a1a02 !important; background: linear-gradient(180deg, #ffe48f, #f2b632 70%, #d99a17) !important; box-shadow: 0 10px 24px rgba(242, 182, 50, .35) !important; }
.whl-timer { color: #b9c8ee; font-weight: 800; } .whl-timer b { color: #ffe48f; font-variant-numeric: tabular-nums; }
.whl-note { margin: 12px 0 0; font-size: 12.5px; color: #8fa3d6; font-weight: 700; }
.whl-prize { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; border-radius: 24px; background: rgba(4, 12, 36, .9); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 6; }
.whl-prize.on { opacity: 1; pointer-events: auto; }
.whl-pbox { transform: scale(.6); transition: transform .45s cubic-bezier(.2, 1.6, .4, 1); } .whl-prize.on .whl-pbox { transform: none; }
.whl-pico { width: 140px; height: 140px; margin: 0 auto 8px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(242, 182, 50, .35), transparent 70%); }
.whl-coin { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff2b8, #f2b632 55%, #b57a08); color: #6b4505; font: 900 42px 'Inter', sans-serif; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2); }
.whl-coin.whl-spins { background: radial-gradient(circle at 35% 30%, #ffd9b8, #e8742a 55%, #a8461a); font-size: 46px; }
.whl-jt { display: grid; justify-items: center; align-content: start; padding-top: 10px; width: 84px; height: 110px; border-radius: 12px; background: linear-gradient(180deg, #fffdf6, #f3e7cc 70%, #e2d0a6); box-shadow: 0 4px 0 #cdb685, 0 8px 0 #9d8556, 0 0 40px rgba(242, 182, 50, .7); transform: rotate(-6deg); }
.whl-jt svg { width: 64px; }
.whl-sw { width: 110px; height: 72px; border-radius: 14px; box-shadow: 0 0 0 4px #e9c46a, 0 10px 24px rgba(0, 0, 0, .4); }
.whl-fr { width: 70px; height: 70px; border-radius: 50%; background: #c9b6ff; }
.whl-big { font: 900 60px/1 'Inter', sans-serif; color: #ffe48f; text-shadow: 0 0 30px rgba(242, 182, 50, .6); }
.whl-prize h3 { margin: 6px 0 4px; font: 900 28px 'Inter', sans-serif; color: #fff; } .whl-prize p { margin: 0 0 16px; color: #b9c8ee; font-weight: 700; } .whl-prize p b { color: #ffe48f; }
.whl-burst { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: 24px; }
.whl-burst i { position: absolute; width: 10px; height: 14px; top: -20px; border-radius: 2px; animation: whlFall linear forwards; }
@keyframes whlFall { to { transform: translateY(760px) rotate(720deg); } }
.l5-wheel .l5-gold { height: 44px; padding: 0 18px; font-size: 18px; flex: none; white-space: nowrap; }
.l5-wheel:not(.pulse) .l5-gold { background: rgba(255, 255, 255, .08); color: #c8d6f5; box-shadow: inset 0 0 0 1.5px rgba(160, 190, 255, .3); }
.l5-wheel.pulse .l5-gold { animation: l5glow 2s ease-in-out infinite; }
.l5-wheel .l5-mt { min-width: 0; }
@media (max-width: 760px) { .l5-wheel .l5-wic { width: 46px; height: 46px; } .l5-wheel .l5-gold { height: 38px; padding: 0 14px; font-size: 15px; } }

/* ---------- ferestrele (modal) în tema lobby-ului: albastru + auriu ---------- */
.modal { background: rgba(3, 9, 26, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.modal-card { border-radius: 22px; border: 1.5px solid rgba(242, 182, 50, .55); color: #eef3ff;
  background: radial-gradient(ellipse 90% 40% at 50% 0%, rgba(80, 140, 255, .22), transparent 70%), linear-gradient(180deg, #16357c, #0b2260 60%, #081a48);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .1); }
.modal-card h2, .modal-card h3 { color: #f2b632; }

/* meniul din joc */
.m-menu .modal-card { width: min(440px, 100%); padding: 0; overflow: hidden auto; }
.gm { padding: 18px 16px 16px; font-family: 'Inter', sans-serif; }
.gm-head { display: flex; align-items: center; gap: 12px; margin: 0 4px 14px; }
.gm-logo { flex: none; display: grid; justify-items: center; align-content: start; width: 34px; height: 44px; padding-top: 4px; border-radius: 7px; transform: rotate(-8deg);
  background: linear-gradient(180deg, #fffdf6, #f3e7cc 70%, #e2d0a6); box-shadow: 0 3px 0 #cdb685, 0 6px 12px rgba(0, 0, 0, .4); }
.gm-logo svg { width: 27px; height: 27px; }
.gm-head h2 { margin: 0; font: 900 26px/1 'Inter', sans-serif; color: #fff; } .gm-head small { display: block; margin-top: 4px; color: #a9bbe4; font-weight: 800; font-size: 13px; }
.gm-head > div { flex: 1; }
.gm-x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: #fff; font-size: 17px; cursor: pointer; flex: none; }
.gm-x:hover { background: rgba(255, 255, 255, .16); }
.gm-group { border-radius: 16px; background: rgba(4, 12, 40, .45); border: 1px solid rgba(150, 185, 255, .14); overflow: hidden; margin-bottom: 12px; }
.gm-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; background: none; color: #fff; text-align: left; font: inherit; cursor: pointer; }
button.gm-row:hover { background: rgba(255, 255, 255, .05); }
.gm-row + .gm-row { border-top: 1px solid rgba(150, 185, 255, .1); }
.gm-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #f2b632;
  background: linear-gradient(180deg, rgba(242, 182, 50, .2), rgba(242, 182, 50, .07)); box-shadow: inset 0 0 0 1px rgba(242, 182, 50, .3); }
.gm-ic svg { width: 21px; height: 21px; }
.gm-tx { flex: 1; min-width: 0; } .gm-tx b { display: block; font-size: 16.5px; font-weight: 900; } .gm-tx small { display: block; margin-top: 1px; font-size: 12.5px; color: #a9bbe4; font-weight: 700; }
.gm-ch { flex: none; font-style: normal; font-size: 24px; color: rgba(242, 182, 50, .7); line-height: 1; }
/* sunet: comutator + volum */
.gm-sound { cursor: default; }
.gm-vol { display: block; margin-top: 8px; }
.gm-vol input { width: 100%; height: 6px; margin: 0; border-radius: 3px; -webkit-appearance: none; appearance: none; cursor: pointer;
  background: linear-gradient(90deg, #f2b632 var(--v, 60%), rgba(255, 255, 255, .16) var(--v, 60%)); }
.gm-vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #f2b632, 0 2px 6px rgba(0, 0, 0, .4); }
.gm-vol input::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #f2b632; }
.gm-sound.off .gm-vol { opacity: .35; pointer-events: none; } .gm-sound.off .gm-ic { color: #8fa3d6; } .gm-sound.off .gm-ic .w { opacity: 0; }
.gm-sw { flex: none; position: relative; width: 50px; height: 28px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255, 255, 255, .18); transition: background .2s; }
.gm-sw i { position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .35); transition: transform .2s; }
.gm-sw.on { background: linear-gradient(180deg, #3fd473, #1f9d47); } .gm-sw.on i { transform: translateX(22px); }
/* ieșire */
.gm-leave { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px; border-radius: 14px; cursor: pointer; font: 900 16.5px 'Inter', sans-serif;
  color: #ffb4a6; background: rgba(212, 60, 40, .12); border: 1.5px solid rgba(240, 110, 90, .45); }
.gm-leave:hover { background: rgba(212, 60, 40, .22); color: #fff; }
.gm-leave .gm-ic { width: 30px; height: 30px; border-radius: 9px; color: #ff8f7a; background: none; box-shadow: none; }
@media (max-height: 560px) and (orientation: landscape) { .gm { padding: 12px 12px 12px; } .gm-head { margin-bottom: 8px; } .gm-row { padding: 8px 12px; } .gm-ic { width: 34px; height: 34px; } .gm-tx small { display: none; } .gm-group { margin-bottom: 8px; } }
/* meniul pe telefon culcat: două coloane */
@media (max-height: 560px) and (orientation: landscape) {
  .m-menu .modal-card { width: min(720px, 100%); max-height: 94vh; }
  .gm { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; align-items: start; }
  .gm-head, .gm-leave { grid-column: 1 / -1; }
  .gm-leave { padding: 9px; }
}

/* ---------- final de rundă / meci: compact, butoanele mereu la vedere ---------- */
.m-round .modal-card { width: min(560px, 100%); padding: 0; max-height: 92vh; }
.re { padding: 16px 16px 0; font-family: 'Inter', sans-serif; }
.re-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.re-badge { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; font: 900 22px 'Inter', sans-serif; color: #2a1a02;
  background: linear-gradient(180deg, #ffe48f, #f2b632 70%, #d99a17); box-shadow: 0 4px 12px rgba(242, 182, 50, .3); }
.re-head h2 { margin: 0; font: 900 24px/1.1 'Inter', sans-serif; color: #fff !important; } .re-head p { margin: 3px 0 0; color: #a9bbe4; font-weight: 700; font-size: 14px; }
.re .dbl-note { margin: 0 0 8px; font-size: 13.5px; }
.re-win { margin: 4px 0 10px; padding: 10px 12px; border-radius: 14px; text-align: center; background: rgba(242, 182, 50, .1); border: 1px solid rgba(242, 182, 50, .35); }
.re-win.me { background: linear-gradient(180deg, rgba(79, 211, 107, .18), rgba(242, 182, 50, .1)); border-color: rgba(79, 211, 107, .5); }
.re-win > b { display: block; font-size: 20px; font-weight: 900; color: #ffe48f; }
.re-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 8px; }
.re-chips .reward { margin: 0; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .25); font-size: 13px; }
.re-chips .reward:empty { display: none; }
.re-list { list-style: none; margin: 0; padding: 0; border-radius: 14px; overflow: hidden; background: rgba(4, 12, 40, .45); border: 1px solid rgba(150, 185, 255, .14); }
.re-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; }
.re-row + .re-row { border-top: 1px solid rgba(150, 185, 255, .1); }
.re-row.me { background: rgba(242, 182, 50, .1); }
.re-pl { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-weight: 900; font-size: 14px; background: rgba(255, 255, 255, .1); color: #c8d6f5; }
.re-row:first-child .re-pl { background: linear-gradient(180deg, #ffe48f, #f2b632); color: #2a1a02; }
.re-mid { flex: 1; min-width: 0; } .re-mid b { display: block; font-size: 15.5px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.re-bot { font-style: normal; font-size: 12px; opacity: .8; }
.re-mid small { display: block; font-size: 12px; color: #a9bbe4; font-weight: 700; }
.re-mid .neg, .re-pts .neg { color: #ff8f7a; } .re-mid .mult { color: #ffe48f; }
.re-pts { flex: none; text-align: right; } .re-pts b { display: block; font-size: 19px; font-weight: 900; color: #fff; } .re-pts small { font-size: 11.5px; color: #a9bbe4; font-weight: 800; }
.re-left { margin: 10px 0 0; border-radius: 12px; background: rgba(4, 12, 40, .3); padding: 0 12px; }
.re-left summary { cursor: pointer; padding: 10px 0; font-weight: 900; color: #f2b632; font-size: 14.5px; list-style: none; }
.re-left summary::after { content: ' ▾'; } .re-left[open] summary::after { content: ' ▴'; }
.re-left summary::-webkit-details-marker { display: none; }
.re-lname { font-size: 12.5px; color: #a9bbe4; font-weight: 800; }
.re-left .hand-left { margin: 3px 0 8px; }
.re-act { position: sticky; bottom: 0; z-index: 2; margin: 12px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px;
  background: linear-gradient(180deg, rgba(8, 26, 72, .85), #081a48 40%); border-top: 1px solid rgba(150, 185, 255, .14); }
.re-act .btn { margin: 0; width: 100%; min-height: 46px; font-size: 15px; }
.re-act .btn.primary { grid-column: 1 / -1; font-size: 17px; min-height: 50px; }
.re-act .gold-video { grid-column: 1 / -1; }
.m-round .ad-box, .m-round .ad-wrap { margin: 0 16px 14px; }
@media (max-height: 560px) and (orientation: landscape) { .m-round .modal-card { width: min(720px, 100%); max-height: 96vh; } .re-row { padding: 6px 12px; } .re-act { grid-template-columns: repeat(3, 1fr); } .re-act .btn.primary { grid-column: auto; } }

/* ---------- căutarea de jucători (Joc rapid) ---------- */
.m-queue .modal-card { width: min(460px, 100%); padding: 0; overflow: hidden; }
.mm { padding: 24px 22px 20px; text-align: center; font-family: 'Inter', sans-serif; }
.mm-radar { position: relative; width: 132px; height: 132px; margin: 0 auto 14px; }
.mm-radar i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(242, 182, 50, .55); animation: mmPing 2.4s cubic-bezier(.2, .6, .4, 1) infinite; opacity: 0; }
.mm-radar .r2 { animation-delay: .8s; } .mm-radar .r3 { animation-delay: 1.6s; }
@keyframes mmPing { 0% { transform: scale(.45); opacity: .9; } 100% { transform: scale(1.12); opacity: 0; } }
.mm-sweep { position: absolute; inset: 14px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(242, 182, 50, .45), rgba(242, 182, 50, 0) 28%, transparent); animation: mmSpin 1.6s linear infinite;
  -webkit-mask: radial-gradient(circle, transparent 38%, #000 39%); mask: radial-gradient(circle, transparent 38%, #000 39%); }
@keyframes mmSpin { to { transform: rotate(360deg); } }
.mm-core { position: absolute; left: 50%; top: 50%; width: 46px; height: 60px; transform: translate(-50%, -50%) rotate(-8deg); border-radius: 9px; display: grid; justify-items: center; align-content: start; padding-top: 6px;
  background: linear-gradient(180deg, #fffdf6, #f3e7cc 70%, #e2d0a6); box-shadow: 0 4px 0 #cdb685, 0 8px 18px rgba(0, 0, 0, .45); }
.mm-core svg { width: 36px; height: 36px; }
.mm h2 { margin: 0; font: 900 26px/1.1 'Inter', sans-serif; color: #fff !important; }
.mm-sub { margin: 6px 0 16px; color: #a9bbe4; font-weight: 800; font-size: 14px; }
.mm-seats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 auto 14px; }
.mm-seats.n3 { grid-template-columns: repeat(3, 1fr); max-width: 330px; } .mm-seats.n2 { grid-template-columns: repeat(2, 1fr); max-width: 230px; }
.mm-seat { display: grid; justify-items: center; gap: 6px; padding: 10px 4px 9px; border-radius: 14px; background: rgba(4, 12, 40, .45); border: 1px solid rgba(150, 185, 255, .14); min-width: 0; transition: border-color .3s, background .3s; }
.mm-seat b { font-size: 12px; font-weight: 800; color: #c8d6f5; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-seat .avatar { width: 46px; height: 46px; font-size: 18px; }
.mm-seat.me { border-color: rgba(242, 182, 50, .55); background: rgba(242, 182, 50, .1); } .mm-seat.me b { color: #ffe48f; }
.mm-q { display: flex; align-items: center; justify-content: center; gap: 4px; width: 46px; height: 46px; border-radius: 50%; border: 2px dashed rgba(160, 190, 255, .35); }
.mm-q i { width: 6px; height: 6px; border-radius: 50%; background: #a9bbe4; animation: mmDot 1.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
.mm-q i:nth-child(2) { animation-delay: calc(var(--d, 0s) + .15s); } .mm-q i:nth-child(3) { animation-delay: calc(var(--d, 0s) + .3s); }
@keyframes mmDot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.mm-seat.ok { border-color: rgba(79, 211, 107, .6); background: rgba(79, 211, 107, .12); } .mm-seat.ok .mm-q { border: 2px solid #4fd36b; } .mm-seat.ok .mm-q i { background: #4fd36b; animation: none; opacity: 1; } .mm-seat.ok b { color: #9be8b0; }
.mm.found .mm-radar i, .mm.found .mm-sweep { animation-play-state: paused; opacity: 0; }
.mm-info { margin: 0 0 8px; color: #dfe7fb; font-weight: 700; font-size: 14.5px; }
.mm-time { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 5px 12px; border-radius: 999px; background: rgba(0, 0, 0, .25); font-size: 13px; font-weight: 800; color: #a9bbe4; }
.mm-time b { color: #fff; font-variant-numeric: tabular-nums; }
.mm-dot { width: 8px; height: 8px; border-radius: 50%; background: #4fd36b; box-shadow: 0 0 8px #4fd36b; animation: mmBlink 1.2s infinite; }
@keyframes mmBlink { 50% { opacity: .3; } }
.mm-cancel { display: block; width: 100%; padding: 12px; border-radius: 14px; cursor: pointer; font: 900 16px 'Inter', sans-serif; color: #dfe7fb; background: rgba(255, 255, 255, .07); border: 1.5px solid rgba(160, 190, 255, .3); }
.mm-cancel:hover { background: rgba(255, 255, 255, .12); }
@media (max-height: 560px) and (orientation: landscape) { .mm { padding: 14px 18px; } .mm-radar { width: 84px; height: 84px; margin-bottom: 6px; } .mm-core { width: 34px; height: 44px; } .mm-core svg { width: 26px; height: 26px; } .mm-sub { margin-bottom: 8px; } .mm-seats { margin-bottom: 8px; } .mm-seat { padding: 6px 4px; } .mm-seat .avatar, .mm-q { width: 36px; height: 36px; } .mm-time { margin-bottom: 8px; } }
@media (max-height: 560px) and (orientation: landscape) { .m-queue .modal-card { max-height: 96vh; overflow: auto; } .mm-radar { width: 64px; height: 64px; } .mm-core { width: 28px; height: 36px; padding-top: 4px; } .mm-core svg { width: 21px; height: 21px; } .mm h2 { font-size: 21px; } .mm-sub { margin: 3px 0 8px; font-size: 13px; } .mm-info { margin-bottom: 4px; font-size: 13.5px; } .mm-cancel { padding: 9px; } }
.l5-wheel .l5-mt small { white-space: normal; overflow: visible; text-overflow: clip; }

/* ---------- reacții animate ---------- */
.react-pop { width: min(380px, calc(100vw - 20px)); max-height: 78vh; overflow-y: auto; display: block !important; padding: 12px; border-radius: 18px;
  background: linear-gradient(180deg, #16357c, #0a1f55) !important; border: 1.5px solid rgba(242, 182, 50, .55) !important; box-shadow: 0 20px 50px rgba(0, 0, 0, .6) !important; }
.react-pop.hidden { display: none !important; }
.rx-h { display: flex; align-items: baseline; gap: 8px; margin: 2px 2px 8px; font: 900 13px 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #a9bbe4; }
.rx-h.prem { margin-top: 12px; color: #f2b632; } .rx-h small { font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: none; color: #8fa3d6; }
.rx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.react-pop .rx { position: relative; display: grid; justify-items: center; gap: 3px; padding: 8px 2px 7px !important; border-radius: 12px !important; background: rgba(4, 12, 40, .5) !important; border: 1px solid rgba(150, 185, 255, .14) !important; cursor: pointer; transition: transform .12s, background .15s; }
.react-pop .rx:hover { background: rgba(242, 182, 50, .14) !important; transform: translateY(-2px); }
.rx-e { font-size: 28px; line-height: 1; } .rx small { font: 800 10.5px/1.15 'Inter', sans-serif; color: #dfe7fb; text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.react-pop .rx.lock .rx-e { filter: grayscale(.85) brightness(.75); }
.rx-price { position: absolute; top: -5px; right: -3px; display: inline-flex; align-items: center; gap: 2px; padding: 1px 6px 1px 3px; border-radius: 999px; font: 900 10px 'Inter', sans-serif; font-style: normal; color: #2a1a02; background: linear-gradient(180deg, #ffe48f, #f2b632); box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.rx-price .coin { width: 11px; height: 11px; }
.react-pop .qc { margin-top: 12px; }

.emo-fly { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; animation: emoFly 2.9s cubic-bezier(.2, .9, .3, 1.2) forwards; }
@keyframes emoFly {
  0% { transform: translate(var(--x0), var(--y0)) scale(.2); opacity: 0; }
  14% { transform: translate(var(--x1), var(--y1)) scale(1.15); opacity: 1; }
  22% { transform: translate(var(--x1), var(--y1)) scale(1); }
  82% { transform: translate(var(--x1), var(--y1)) scale(1); opacity: 1; }
  100% { transform: translate(var(--x1), calc(var(--y1) - 40px)) scale(.85); opacity: 0; } }
.emo-card { position: absolute; left: -44px; top: -44px; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 40% 30%, #2a5bc0, #0b2463); box-shadow: 0 0 0 4px #f2b632, 0 0 0 7px rgba(125, 86, 10, .9), 0 14px 30px rgba(0, 0, 0, .55); }
.emo-fly.prem .emo-card { background: radial-gradient(circle at 40% 30%, #6a3fd0, #2a0f63); box-shadow: 0 0 0 4px #ffe48f, 0 0 0 7px #b57a08, 0 0 30px rgba(255, 214, 120, .6), 0 14px 30px rgba(0, 0, 0, .55); }
.emo-e { font-size: 52px; line-height: 1; display: inline-block; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }
.emo-t { position: absolute; left: 50%; top: 52px; transform: translateX(-50%); white-space: nowrap; padding: 5px 13px; border-radius: 999px; font: 900 15px 'Inter', sans-serif; color: #2a1a02;
  background: linear-gradient(180deg, #ffe48f, #f2b632 70%, #d99a17); box-shadow: 0 6px 16px rgba(0, 0, 0, .45); }
.emo-parts { position: absolute; left: 0; top: 0; }
.emo-p { position: absolute; left: -12px; top: -12px; font-size: 22px; font-style: normal; opacity: 0; animation: emoPart 1.6s ease-out forwards; animation-delay: var(--dl); }
.emo-p.c { width: 9px; height: 13px; left: -4px; top: -6px; border-radius: 2px; }
@keyframes emoPart { 0% { transform: translate(var(--sx), var(--sy)) rotate(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; } }
/* efecte pe emoji */
.a-clap .emo-e { animation: eClap .3s ease-in-out 3 .35s; }
@keyframes eClap { 50% { transform: rotate(-16deg) scale(1.15); } }
.a-pop .emo-e { animation: ePop .5s ease-in-out 2 .35s; }
@keyframes ePop { 50% { transform: scale(1.3); } }
.a-shake .emo-e, .a-boom .emo-card { animation: eShake .1s linear 8 .35s; }
@keyframes eShake { 25% { transform: translateX(-4px) rotate(-6deg); } 75% { transform: translateX(4px) rotate(6deg); } }
.a-boom .emo-e { animation: ePop .4s ease-out 1 .3s; }
.a-fire .emo-e { animation: eFire .25s ease-in-out 6 .35s alternate; }
@keyframes eFire { to { transform: scale(1.12, 1.25) translateY(-3px); } }
.a-spin .emo-e { animation: eSpin .9s ease-in-out 1 .35s; }
@keyframes eSpin { to { transform: rotate(360deg); } }
.a-tick .emo-e { animation: eTick .3s steps(2) 5 .35s; }
@keyframes eTick { 50% { transform: rotate(180deg); } }
.a-flip .emo-card { animation: eFlip 1s ease-in-out 1 .35s; }
@keyframes eFlip { to { transform: rotateY(720deg); } }
.a-crown .emo-e { animation: eCrown .7s cubic-bezier(.3, 1.6, .5, 1) both .2s; }
@keyframes eCrown { from { transform: translateY(-70px) scale(.6); opacity: 0; } }
.a-rocket .emo-e { animation: eRocket 2.2s ease-in forwards .5s; }
@keyframes eRocket { 40% { transform: translate(-3px, 3px) rotate(-3deg); } 50% { transform: translate(3px, -3px); } 100% { transform: translate(60px, -260px) scale(.6); opacity: 0; } }
.a-coins .emo-e { animation: ePop .5s ease-in-out 3 .35s; }
.a-party .emo-e { animation: eSpin .6s ease-in-out 2 .3s; }
.a-cool .emo-e { animation: eCool 1s ease-in-out 1 .35s; }
@keyframes eCool { 30% { transform: rotate(-12deg) scale(1.2); } 60% { transform: rotate(8deg); } }
.a-love .emo-e { animation: ePop .7s ease-in-out 2 .35s; }
.a-tears .emo-e { animation: eShake .15s linear 6 .4s; }
.emo-fly.a-snail { animation-duration: 3.4s; }
.a-snail .emo-e { animation: eSnail 2.6s linear 1 .3s; }
@keyframes eSnail { 0% { transform: translateX(-26px); } 100% { transform: translateX(26px); } }
/* previzualizare în magazin */
.shop-item .prev.emo { display: grid; place-items: center; cursor: pointer; background: radial-gradient(circle at 40% 30%, #6a3fd0, #2a0f63); border-radius: 50%; width: 84px; height: 84px; margin: 4px auto 6px; box-shadow: 0 0 0 3px #ffe48f, 0 8px 18px rgba(0, 0, 0, .4); }
.shop-item .prev.emo .emo-e { font-size: 44px; }
.shop-item .prev.emo:hover .emo-e { animation: ePop .5s ease-in-out 1; }
@media (max-width: 600px), (max-height: 560px) and (orientation: landscape) { .emo-card { width: 70px; height: 70px; left: -35px; top: -35px; } .emo-e { font-size: 40px; } .emo-t { top: 42px; font-size: 13px; padding: 4px 11px; } }
#reactPop.react-pop { position: fixed !important; top: 58px; right: 10px; left: auto; bottom: auto; z-index: 120; }
@media (min-width: 900px) and (min-height: 561px) { body.lux #reactPop.react-pop { top: 70px; left: 84px; right: auto; } }
@media (max-height: 560px) and (orientation: landscape) { #reactPop.react-pop { top: 8px; left: 64px; right: auto; max-height: calc(100vh - 16px); } }
@media (min-width: 1100px) and (min-height: 700px) { .emo-card { width: 112px; height: 112px; left: -56px; top: -56px; } .emo-e { font-size: 66px; } .emo-t { top: 66px; font-size: 17px; padding: 6px 15px; } .emo-p { font-size: 26px; } }
/* reacții noi */
.rx-throw { position: absolute; top: 3px; left: 5px; font-style: normal; font-size: 13px; font-weight: 900; color: #6ad1ff; }
.rx-targets { display: grid; gap: 6px; }
.react-pop .rx-tg { padding: 12px !important; border-radius: 12px !important; font: 900 15px 'Inter', sans-serif !important; color: #fff; text-align: left; background: rgba(4, 12, 40, .5) !important; border: 1px solid rgba(150, 185, 255, .2) !important; cursor: pointer; }
.react-pop .rx-tg:hover { background: rgba(242, 182, 50, .16) !important; border-color: rgba(242, 182, 50, .5) !important; }
.react-pop .rx-back { margin-top: 10px; width: 100%; padding: 9px !important; border-radius: 12px !important; font: 800 14px 'Inter', sans-serif !important; color: #a9bbe4; background: none !important; border: 1px solid rgba(150, 185, 255, .2) !important; cursor: pointer; }
.a-tongue .emo-e { animation: eTongue .25s ease-in-out 6 .35s alternate; }
@keyframes eTongue { from { transform: rotate(-10deg); } to { transform: rotate(10deg) scale(1.08); } }
.a-kiss .emo-e { animation: ePop .45s ease-in-out 3 .35s; }
.a-wave .emo-e { transform-origin: 70% 80%; animation: eWave .35s ease-in-out 5 .35s alternate; }
@keyframes eWave { from { transform: rotate(-18deg); } to { transform: rotate(22deg); } }
.a-think .emo-e { animation: eThink 1.2s ease-in-out 1 .35s; }
@keyframes eThink { 30% { transform: rotate(-10deg) translateY(-4px); } 70% { transform: rotate(6deg); } }
.a-sleep .emo-e { animation: eSleep 1.6s ease-in-out 1 .35s; }
@keyframes eSleep { 50% { transform: scale(1.08) rotate(-6deg); } }
.a-steam .emo-e { animation: eShake .12s linear 8 .35s; }
.a-mind .emo-e { animation: ePop .35s ease-out 2 .35s; }
.a-cold .emo-e { animation: eShiver .06s linear 20 .35s; }
@keyframes eShiver { 50% { transform: translateX(2px); } }
.a-strong .emo-e { animation: eStrong .4s ease-in-out 3 .35s; }
@keyframes eStrong { 50% { transform: scale(1.25) rotate(-8deg); } }
/* aruncat spre alt jucător */
.emo-proj { position: fixed; left: -24px; top: -24px; z-index: 310; width: 48px; height: 48px; display: grid; place-items: center; font-size: 40px; pointer-events: none; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .45)); }
.snowball { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #e8f3ff 45%, #b8d6f0 75%, #8fb6d9); box-shadow: inset -3px -4px 6px rgba(80, 120, 170, .35); }
.emo-hit { position: fixed; left: 0; top: 0; z-index: 305; pointer-events: none; transform: translate(var(--x), var(--y)); }
.emo-hit .emo-t { top: 46px; animation: hitLabel 2.6s ease forwards; } .emo-hit .emo-t small { display: block; font-size: 10.5px; font-weight: 800; opacity: .75; text-align: center; }
@keyframes hitLabel { 0% { opacity: 0; transform: translateX(-50%) translateY(6px); } 12% { opacity: 1; transform: translateX(-50%); } 80% { opacity: 1; } 100% { opacity: 0; } }
.hit-splat { position: absolute; left: -46px; top: -40px; width: 92px; height: 80px; background: var(--hc); opacity: .92;
  border-radius: 46% 54% 40% 60% / 55% 40% 60% 45%; box-shadow: 18px 22px 0 -10px var(--hc), -26px 10px 0 -14px var(--hc), 30px -18px 0 -16px var(--hc), -10px -30px 0 -18px var(--hc);
  animation: splat 2.4s ease-out forwards; }
@keyframes splat { 0% { transform: scale(.2); } 10% { transform: scale(1.12); } 18% { transform: scale(1); } 75% { opacity: .9; } 100% { opacity: 0; transform: scale(1) translateY(16px); } }
.emo-p.d { width: 10px; height: 14px; left: -5px; top: -7px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--hc); }
.hit-snow { position: absolute; left: -44px; top: -40px; width: 88px; height: 80px; border-radius: 50%; background: radial-gradient(circle, #fff 30%, rgba(255, 255, 255, .85) 50%, rgba(220, 238, 255, 0) 72%); animation: splat 2.4s ease-out forwards; }
.hit-big { position: absolute; left: -36px; top: -40px; width: 72px; text-align: center; font-size: 60px; line-height: 1; animation: hitBig 2.4s cubic-bezier(.3, 1.6, .5, 1) forwards; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .4)); }
@keyframes hitBig { 0% { transform: scale(2.2) rotate(-20deg); opacity: 0; } 12% { transform: scale(1) rotate(-8deg); opacity: 1; } 78% { opacity: 1; } 100% { opacity: 0; transform: scale(.9) rotate(-8deg); } }
.pcard.hit-shake { animation: hitShake .5s ease-in-out; }
@keyframes hitShake { 15% { transform: translate(-6px, 2px) rotate(-3deg); } 35% { transform: translate(5px, -2px) rotate(2deg); } 55% { transform: translate(-3px, 1px); } 75% { transform: translate(2px, 0); } }
.hit-splat { opacity: 1; }
@media (min-width: 900px) { .emo-hit { transform: translate(var(--x), var(--y)) scale(1.35); } .emo-proj { font-size: 48px; } .snowball { width: 42px; height: 42px; } }

/* Mesaj de chat sub cardul jucătorului */
.pcard { position: relative; }
.pcard .pchat { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); z-index: 30; max-width: min(220px, 70vw); padding: 5px 10px; border-radius: 10px; background: #fff7e0; color: #1b2436; font: 600 12.5px/1.3 Inter, system-ui, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 4px 14px rgba(0,0,0,.45); pointer-events: none; animation: pchatIn .25s ease-out; transition: opacity .35s; }
.pcard .pchat::before { content: ''; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; background: #fff7e0; transform: translateX(-50%) rotate(45deg); }
.pcard .pchat.out { opacity: 0; }
@keyframes pchatIn { from { opacity: 0; transform: translate(-50%, -4px) scale(.9); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@media (max-width: 600px), (max-height: 500px) { .pcard .pchat { font-size: 11px; padding: 3px 8px; max-width: 150px; top: calc(100% + 6px); } }

/* Piesa oferită la schimb – ascunsă (cu fața în jos) */
.xhid { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 38px; border-radius: 5px; background: repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 4px, transparent 4px 8px), linear-gradient(160deg, #2f5288, #1a2f52); border: 1px solid rgba(232,199,123,.6); color: #e8c77b; font: 800 17px/1 Inter, system-ui, sans-serif; box-shadow: 0 2px 0 #0f1d36, 0 3px 6px rgba(0,0,0,.45); }

/* =================================================================== jucători pe masă — v4 (curat, profesional) */
#game .seats-bar { gap: 10px; }
#game .seats-bar .pcard {
  flex: 1 1 0; min-width: 0; max-width: 272px; column-gap: 10px; padding: 7px 4px 7px 7px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(17, 24, 38, .92), rgba(9, 13, 22, .94));
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .05);
}
#game .seats-bar .pcard::before { display: none; }
#game .seats-bar .pcard.me { background: linear-gradient(180deg, rgba(30, 36, 58, .94), rgba(13, 16, 30, .95)); border-color: rgba(232, 199, 123, .28); }
#game .seats-bar .pcard.turn { border-color: rgba(243, 212, 138, .85); animation: none;
  box-shadow: 0 0 0 1px rgba(243, 212, 138, .35), 0 0 20px rgba(243, 212, 138, .22), 0 6px 16px rgba(0, 0, 0, .38); }
#game .seats-bar .avatar { width: 42px; height: 42px; font-size: 15px; font-weight: 800; border: 2px solid rgba(255, 255, 255, .18); box-shadow: none; }
#game .seats-bar .pcard.turn .avatar { border-color: #f3d48a; box-shadow: 0 0 0 3px rgba(243, 212, 138, .22); }
#game .seats-bar .avatar .on { width: 11px; height: 11px; left: auto; right: -1px; bottom: -1px; border: 2px solid #0d1320; }
#game .seats-bar .avatar .bot { right: auto; left: -5px; bottom: -4px; width: 18px; height: 18px; display: grid; place-items: center; font-size: 11px;
  background: #0d1320; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; line-height: 1; }
#game .seats-bar .pname { font-size: 14.5px; font-weight: 700; letter-spacing: .1px; gap: 6px; color: #f2f4f8; }
#game .seats-bar .pmeta { margin-top: 3px; gap: 8px; align-items: center; }
/* stările: text discret, nu pastile; doar „ultimele piese” rămâne evidențiat */
#game .seats-bar .ptag { background: none; border: 0; padding: 0; border-radius: 0; font-size: 11.5px; font-weight: 600; letter-spacing: .1px; display: inline-flex; align-items: center; gap: 5px; }
#game .seats-bar .ptag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .9; }
#game .seats-bar .ptag.idle { color: #7f889b; }
#game .seats-bar .ptag.laid { color: #6fd796; }
#game .seats-bar .ptag.turn { color: #f3d48a; }
#game .seats-bar .pcard.turn .ptag.idle { display: none; }
#game .seats-bar .ptag.few { color: #fff; background: #c4483d; padding: 1px 7px; border-radius: 6px; font-weight: 800; animation: none; }
#game .seats-bar .ptag.few::before { display: none; }
#game .seats-bar .pscore { align-self: stretch; min-width: 52px; padding: 0 8px 0 10px; border: 0; border-left: 1px solid rgba(255, 255, 255, .09); border-radius: 0; background: none; }
#game .seats-bar .pscore b { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -.2px; }
#game .seats-bar .pscore b.pos { color: #fff; } #game .seats-bar .pscore b.neg { color: #ff8a80; }
#game .seats-bar .pscore small { display: block; font-size: 9px; font-weight: 700; letter-spacing: 1px; color: #7f889b; margin-top: 2px; }
#game .seats-bar .ptimer { left: 10px; right: 10px; bottom: -1px; height: 2px; }
@media (max-width: 760px) and (orientation: portrait), (max-width: 600px) {
  #game .seats-bar { gap: 6px; }
  #game .seats-bar .pcard { flex: 1 1 calc(50% - 3px); max-width: calc(50% - 3px); padding: 5px 2px 5px 5px; column-gap: 7px; border-radius: 11px; }
  #game .seats-bar .avatar { width: 32px; height: 32px; font-size: 12px; }
  #game .seats-bar .avatar .on { width: 9px; height: 9px; }
  #game .seats-bar .avatar .bot { width: 14px; height: 14px; font-size: 8px; left: -4px; bottom: -3px; }
  #game .seats-bar .pname { font-size: 12.5px; }
  #game .seats-bar .ptag { font-size: 10px; gap: 4px; } #game .seats-bar .ptag::before { width: 5px; height: 5px; }
  #game .seats-bar .pmeta .ptag.turn { display: inline-flex; }
  #game .seats-bar .pscore { min-width: 38px; padding: 0 6px 0 7px; } #game .seats-bar .pscore b { font-size: 15px; } #game .seats-bar .pscore small { display: none; }
}
@media (max-height: 560px) and (orientation: landscape) {
  #game .seats-bar { gap: 5px; }
  #game .seats-bar .pcard { flex: 0 1 auto; max-width: 200px; padding: 2px 2px 2px 3px; column-gap: 6px; border-radius: 9px; }
  #game .seats-bar .avatar { width: 24px; height: 24px; font-size: 9px; border-width: 1.5px; }
  #game .seats-bar .avatar .on { width: 7px; height: 7px; border-width: 1.5px; }
  #game .seats-bar .avatar .bot { width: 12px; height: 12px; font-size: 7px; left: -4px; bottom: -3px; }
  #game .seats-bar .pname { font-size: 11.5px; }
  #game .seats-bar .pscore { min-width: 30px; padding: 0 5px 0 6px; } #game .seats-bar .pscore b { font-size: 13px; } #game .seats-bar .pscore small { display: none; }
}

/* etalare: dungă de lumină peste formația nou pusă */
.meld { position: relative; }
.meld.shine { overflow: visible; }
.meld.shine::after { content: ''; position: absolute; inset: -3px; border-radius: 8px; pointer-events: none; z-index: 3;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 236, 170, .55) 48%, rgba(255, 255, 255, .8) 50%, rgba(255, 236, 170, .55) 52%, transparent 70%) no-repeat;
  background-size: 260% 100%; animation: meldShine .9s ease-out forwards; mix-blend-mode: screen; }
@keyframes meldShine { from { background-position: 130% 0; opacity: 1; } to { background-position: -40% 0; opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .meld.shine::after { display: none; } }

/* =================================================================== ecran de victorie (final de meci) */
.vic { position: fixed; inset: 0; z-index: 75; display: grid; place-items: center; padding: 16px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 38%, rgba(40, 52, 88, .92), rgba(6, 9, 18, .97) 70%); animation: vicIn .45s ease-out; transition: opacity .45s; }
.vic.out { opacity: 0; }
@keyframes vicIn { from { opacity: 0; } }
.vic-rays { position: absolute; left: 50%; top: 36%; width: 160vmax; height: 160vmax; transform: translate(-50%, -50%); pointer-events: none; opacity: .5;
  background: repeating-conic-gradient(from 0deg, rgba(243, 212, 138, .14) 0 6deg, transparent 6deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 0, transparent 45%); mask: radial-gradient(circle, #000 0, transparent 45%); animation: vicSpin 30s linear infinite; }
@keyframes vicSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.vic-in { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 520px; width: 100%; }
.vic-kicker { font-size: 12px; font-weight: 800; letter-spacing: 4px; color: #f3d48a; opacity: 0; animation: vicUp .5s .15s ease-out forwards; }
.vic-av { position: relative; margin: 36px 0 4px; opacity: 0; animation: vicPop .7s .25s cubic-bezier(.2, .9, .3, 1.25) forwards; }
.vic-av .avatar { width: 116px; height: 116px; font-size: 40px; border: 4px solid #f3d48a; box-shadow: 0 0 0 6px rgba(243, 212, 138, .18), 0 0 50px rgba(243, 212, 138, .45); }
.vic-av .avatar .bot { font-size: 22px; right: -2px; bottom: 0; }
.vic-crown { position: absolute; left: 50%; top: -30px; transform: translateX(-50%) rotate(-8deg); font-size: 38px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5)); animation: vicCrown .6s .8s cubic-bezier(.2, .9, .3, 1.4) both; }
@keyframes vicCrown { from { transform: translate(-50%, -40px) rotate(-30deg) scale(.4); opacity: 0; } }
.vic h2 { margin: 4px 0 0; font-size: 32px; font-weight: 800; color: #fff; letter-spacing: -.3px; opacity: 0; animation: vicUp .5s .55s ease-out forwards; }
.vic-score { display: flex; align-items: baseline; gap: 8px; opacity: 0; animation: vicUp .5s .7s ease-out forwards; }
.vic-score b { font-size: 46px; font-weight: 800; color: #f3d48a; font-variant-numeric: tabular-nums; line-height: 1; text-shadow: 0 0 24px rgba(243, 212, 138, .4); }
.vic-score small { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #9aa3b5; }
.vic-coins { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; margin-top: 4px;
  background: rgba(243, 212, 138, .14); border: 1px solid rgba(243, 212, 138, .45); color: #ffe39a; font-weight: 800; font-size: 16px; animation: vicPop .5s cubic-bezier(.2, .9, .3, 1.3); }
.vic-coins.hidden { display: none; }
.vic-fly { position: absolute; left: 22px; top: 8px; animation: vicCoin .9s ease-out forwards; opacity: 0; }
@keyframes vicCoin { 0% { opacity: 1; transform: translate(0, 0) scale(.6); } 60% { opacity: 1; transform: translate(var(--dx), -60px) scale(1.1); } 100% { opacity: 0; transform: translate(calc(var(--dx) * 1.3), -10px) scale(.8); } }
.vic-pod { display: flex; justify-content: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.vic-p { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 110px; padding: 12px 8px 10px; border-radius: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); opacity: 0; animation: vicUp .45s ease-out forwards; }
.vic-p:nth-child(1) { animation-delay: .95s; } .vic-p:nth-child(2) { animation-delay: 1.05s; } .vic-p:nth-child(3) { animation-delay: 1.15s; }
.vic-p.me { border-color: rgba(243, 212, 138, .5); }
.vic-p .avatar { width: 46px; height: 46px; font-size: 16px; border-width: 2px; }
.vic-p .avatar .bot { font-size: 12px; }
.vic-p b { font-size: 13px; font-weight: 700; color: #e9edf4; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vic-p small { font-size: 13px; font-weight: 800; color: #9aa3b5; font-variant-numeric: tabular-nums; }
.vic-pl { position: absolute; left: 8px; top: 6px; font-size: 11px; font-weight: 800; color: #7f889b; }
.vic-go { margin-top: 20px; min-width: 200px; opacity: 0; animation: vicUp .4s 1.4s ease-out forwards; }
@keyframes vicUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes vicPop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
@media (max-height: 560px) and (orientation: landscape) {
  .vic-in { max-width: 700px; } .vic-av .avatar { width: 72px; height: 72px; font-size: 26px; } .vic-crown { font-size: 26px; top: -20px; } .vic-av { margin-top: 22px; }
  .vic h2 { font-size: 22px; } .vic-score b { font-size: 32px; } .vic-pod { margin-top: 8px; } .vic-p { flex-direction: row; width: auto; padding: 6px 10px; } .vic-pl { position: static; }
  .vic-p .avatar { width: 28px; height: 28px; font-size: 10px; } .vic-go { margin-top: 10px; }
}
@media (max-width: 420px) { .vic-p { width: 96px; } .vic h2 { font-size: 26px; } }

/* butonul „Vezi cum a închis” la final de rundă */
.re-how { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: 10px 0 2px; padding: 10px 14px; border-radius: 12px; cursor: pointer;
  font: 700 14px/1.2 Inter, system-ui, sans-serif; color: #ffe39a; background: rgba(243, 212, 138, .1); border: 1px solid rgba(243, 212, 138, .38); }
.re-how:hover { background: rgba(243, 212, 138, .18); }

/* =================================================================== seturi de piese premium (textură) */
.shop-item.prem { position: relative; border-color: rgba(243, 212, 138, .45); }
.shop-rib { position: absolute; top: 8px; right: 8px; z-index: 2; font: 800 9px/1 Inter, system-ui, sans-serif; letter-spacing: 1.2px; color: #2a1c05; padding: 3px 6px; border-radius: 5px; background: linear-gradient(180deg, #ffe39a, #d9ad4f); font-style: normal; }

/* Marmură: alb cu vinișoare gri */
body.tfx-marble .tile, .prev.tfx-marble .tile {
  background:
    linear-gradient(115deg, transparent 38%, rgba(120, 124, 130, .22) 40%, transparent 43%, transparent 62%, rgba(140, 144, 150, .16) 64.5%, transparent 67%),
    linear-gradient(35deg, transparent 52%, rgba(110, 114, 120, .14) 54%, transparent 56%),
    radial-gradient(ellipse at 30% 20%, #ffffff, transparent 60%),
    linear-gradient(180deg, #fdfdfc 0%, var(--tile) 45%, var(--tile-2) 100%);
}
/* Nuc lăcuit: fibra lemnului + luciu */
body.tfx-walnut .tile, .prev.tfx-walnut .tile {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 38%),
    repeating-linear-gradient(92deg, rgba(122, 82, 40, .0) 0 3px, rgba(122, 82, 40, .16) 3px 4px, rgba(122, 82, 40, 0) 4px 9px, rgba(122, 82, 40, .1) 9px 10px),
    linear-gradient(180deg, var(--tile) 0%, var(--tile-2) 100%);
}
body.tfx-walnut .tile::after, .prev.tfx-walnut .tile::after { background: radial-gradient(circle at 50% 35%, #b78a55, #e3c08e 70%); }
/* Neon: piese întunecate, cifre luminoase */
body.tfx-neon .tile, .prev.tfx-neon .tile { background: linear-gradient(180deg, #232737 0%, var(--tile) 50%, var(--tile-2) 100%); box-shadow: 0 3px 0 #05060a, 0 5px 10px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(120, 200, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .12); }
body.tfx-neon .tile.c0, .prev.tfx-neon .tile.c0 { color: #ff5c7a; text-shadow: 0 0 6px rgba(255, 70, 110, .85); }
body.tfx-neon .tile.c1, .prev.tfx-neon .tile.c1 { color: #ffd84a; text-shadow: 0 0 6px rgba(255, 210, 60, .8); }
body.tfx-neon .tile.c2, .prev.tfx-neon .tile.c2 { color: #4fd2ff; text-shadow: 0 0 6px rgba(60, 200, 255, .85); }
body.tfx-neon .tile.c3, .prev.tfx-neon .tile.c3 { color: #e9ecff; text-shadow: 0 0 6px rgba(200, 210, 255, .7); }
body.tfx-neon .tile::after, .prev.tfx-neon .tile::after { background: radial-gradient(circle, #0c0e15, #1d2130 70%); box-shadow: inset 0 0 0 1px rgba(120, 200, 255, .25); opacity: 1; }
/* Onix și aur: negru lucios cu ramă aurie */
body.tfx-onyx .tile, .prev.tfx-onyx .tile {
  background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 40%), linear-gradient(180deg, #2c2a26 0%, var(--tile) 50%, var(--tile-2) 100%);
  box-shadow: 0 3px 0 #6e5422, 0 5px 9px rgba(0, 0, 0, .55), inset 0 0 0 1.5px #c9a24e, inset 0 2px 0 rgba(255, 230, 160, .25);
}
body.tfx-onyx .tile.c3, .prev.tfx-onyx .tile.c3 { color: #f1d38a; }
body.tfx-onyx .tile::after, .prev.tfx-onyx .tile::after { background: radial-gradient(circle at 50% 35%, #0d0c0b, #2a2722 70%); box-shadow: inset 0 0 0 1px rgba(201, 162, 78, .55); opacity: 1; }
/* Aur: metal lustruit, cifre închise la culoare */
body.tfx-gold .tile, .prev.tfx-gold .tile {
  background: linear-gradient(125deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .55) 45%, rgba(255, 255, 255, 0) 58%), linear-gradient(180deg, #fff0bf 0%, var(--tile) 35%, var(--tile-2) 100%);
  box-shadow: 0 3px 0 var(--tile-edge), 0 5px 9px rgba(0, 0, 0, .45), inset 0 1px 0 #fffbe8, inset 0 0 0 1px rgba(154, 116, 38, .45);
}
body.tfx-gold .tile.c0, .prev.tfx-gold .tile.c0 { color: #b3131f; } body.tfx-gold .tile.c1, .prev.tfx-gold .tile.c1 { color: #8a4b00; }
body.tfx-gold .tile.c2, .prev.tfx-gold .tile.c2 { color: #0f3f9e; } body.tfx-gold .tile.c3, .prev.tfx-gold .tile.c3 { color: #1b1408; }
body.tfx-gold .tile::after, .prev.tfx-gold .tile::after { background: radial-gradient(circle at 50% 35%, #c49a3c, #f3d98a 70%); }

/* =================================================================== profil (v2) */
.pf { display: flex; flex-direction: column; gap: 12px; }
.pf-hero { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 16px; overflow: hidden;
  background: radial-gradient(ellipse at 15% 0%, rgba(243, 212, 138, .22), transparent 60%), linear-gradient(160deg, #1d2a48, #0f1628); border: 1px solid rgba(243, 212, 138, .25); }
.pf-av .avatar { width: 84px; height: 84px; font-size: 30px; border: 3px solid #f3d48a; box-shadow: 0 0 0 5px rgba(243, 212, 138, .15), 0 8px 20px rgba(0, 0, 0, .45); }
.pf-id { min-width: 0; flex: 1; }
.pf-id h2 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.2px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-id small { color: #8d97ab; font-size: 12px; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.pf-tag { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #dfe4ee; border: 1px solid rgba(255, 255, 255, .1); }
.pf-tag.gold { background: linear-gradient(180deg, #ffe39a, #d9ad4f); color: #2a1c05; border: 0; }
.pf-share { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .25); font-size: 16px; cursor: pointer; }
.pf-kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pf-k { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 12px 6px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); text-align: center; }
.pf-k b { font-size: 22px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.pf-k small { font-size: 11px; font-weight: 600; color: #8d97ab; }
.pf-k.win { flex-direction: row; gap: 8px; }
.pf-k.win > div { display: flex; flex-direction: column; align-items: flex-start; }
.pf-k.win b { color: #f3d48a; }
.pf-ring { width: 40px; height: 40px; transform: rotate(-90deg); }
.pf-ring circle { fill: none; stroke-width: 3.6; }
.pf-ring .bg { stroke: rgba(255, 255, 255, .1); } .pf-ring .fg { stroke: #f3d48a; stroke-linecap: round; }
.pf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; padding: 6px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); }
.pf-grid > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.pf-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.pf-grid span { font-size: 13px; color: #a7b0c2; } .pf-grid b { font-size: 14px; color: #fff; font-variant-numeric: tabular-nums; }
.pf-h { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 0; font-size: 15px; font-weight: 800; color: #fff; }
.pf-h small { font-size: 12px; color: #f3d48a; font-weight: 700; }
.pf-trophies { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-tr { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: linear-gradient(180deg, rgba(243, 212, 138, .16), rgba(243, 212, 138, .05)); border: 1px solid rgba(243, 212, 138, .4); }
.pf-tr span { font-size: 22px; } .pf-tr b { font-size: 13px; color: #ffe39a; } .pf-tr i { font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: #b8913f; border-radius: 6px; padding: 1px 5px; }
.pf-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pf-b { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); }
.pf-b .pf-bi { font-size: 24px; line-height: 1; filter: grayscale(1); opacity: .45; }
.pf-b b { font-size: 13px; color: #c7cede; } .pf-b small { font-size: 11px; color: #7f889b; line-height: 1.3; }
.pf-b.got { background: linear-gradient(180deg, rgba(243, 212, 138, .1), rgba(255, 255, 255, .02)); border-color: rgba(243, 212, 138, .35); }
.pf-b.got .pf-bi { filter: none; opacity: 1; } .pf-b.got b { color: #fff; } .pf-b.got small { color: #a7b0c2; }
.pf-ok { position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 900; color: #10230f; background: #6fd796; }
.pf-bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 4px; }
.pf-bar i { display: block; height: 100%; background: linear-gradient(90deg, #b8913f, #f3d48a); border-radius: 4px; }
.pf-b em { font-style: normal; font-size: 10.5px; color: #8d97ab; font-variant-numeric: tabular-nums; }
.pf-last { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .07); }
.pf-m { display: flex; align-items: center; gap: 12px; padding: 9px 12px; background: rgba(255, 255, 255, .03); }
.pf-m + .pf-m { border-top: 1px solid rgba(255, 255, 255, .06); }
.pf-m > div { flex: 1; min-width: 0; display: flex; flex-direction: column; } .pf-m > div b { font-size: 13px; color: #e6eaf2; } .pf-m > div small { font-size: 11px; color: #7f889b; }
.pf-pl { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #c7cede; background: rgba(255, 255, 255, .08); }
.pf-pl.p1 { background: linear-gradient(180deg, #ffe39a, #d9ad4f); color: #2a1c05; } .pf-pl.lf { color: #ff8a80; }
.pf-pts { font-size: 15px; color: #fff; font-variant-numeric: tabular-nums; } .pf-pts.neg { color: #ff8a80; }
@media (max-width: 520px) {
  .pf-hero { padding: 14px; gap: 12px; } .pf-av .avatar { width: 64px; height: 64px; font-size: 22px; } .pf-id h2 { font-size: 20px; padding-right: 36px; }
  .pf-kpi { grid-template-columns: repeat(2, 1fr); } .pf-grid { grid-template-columns: 1fr; } .pf-grid > div:nth-last-child(2) { border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .pf-badges { grid-template-columns: repeat(2, 1fr); }
}
.avatar .frm.champion { padding: 4px; inset: -6px; animation: frmSpin 5s linear infinite; filter: drop-shadow(0 0 5px rgba(255, 210, 90, .8));
  background: conic-gradient(from 0deg, #fff6c9, #e0a826, #fff1b8, #b9780c, #fff6c9, #e0a826, #fff1b8, #b9780c, #fff6c9); }
.avatar .frm.top10 { animation: frmSpin 8s linear infinite; filter: drop-shadow(0 0 4px rgba(140, 110, 255, .7)); }
.season-top { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; }
.season-top > div { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: linear-gradient(180deg, rgba(243, 212, 138, .14), rgba(243, 212, 138, .04)); border: 1px solid rgba(243, 212, 138, .38); }
.season-top span { grid-row: span 2; font-size: 26px; } .season-top b { color: #ffe39a; font-size: 14px; } .season-top small { font-size: 12px; color: #c9d0dd; }
@media (max-width: 520px) { .season-top { grid-template-columns: 1fr; } }

/* =================================================================== Turneul de seară */
.l5-moon::before { content: '🌙'; display: block; font-size: 52px; line-height: 1; filter: drop-shadow(0 6px 12px rgba(120, 140, 255, .45)); }
.l5-eve { background: radial-gradient(ellipse at 10% 20%, rgba(130, 120, 255, .28), transparent 60%), linear-gradient(160deg, #1b1f4d, #0e1130) !important; border-color: rgba(170, 160, 255, .35) !important; }
.l5-eve.in em { background: linear-gradient(180deg, #8ff0b6, #3fcf87); color: #06301f; }
@media (max-width: 760px) { .l5-moon::before { font-size: 40px; } }
.eve { display: flex; flex-direction: column; gap: 12px; }
.eve-hero { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: radial-gradient(ellipse at 15% 0%, rgba(150, 140, 255, .35), transparent 60%), linear-gradient(160deg, #1d2050, #0d1030); border: 1px solid rgba(170, 160, 255, .3); }
.eve-moon { font-size: 46px; filter: drop-shadow(0 0 18px rgba(170, 160, 255, .6)); }
.eve-hero h2 { margin: 0; font-size: 22px; font-weight: 800; color: #fff; } .eve-hero p { margin: 2px 0 0; color: #b9bfe0; font-size: 13px; }
.eve-count { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .08); }
.eve-count b { font-size: 38px; font-weight: 800; color: #f3d48a; font-variant-numeric: tabular-nums; letter-spacing: 1px; line-height: 1.1; }
.eve-count small { font-size: 12px; color: #9aa3b5; }
.eve-live { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(239, 90, 76, .12); border: 1px solid rgba(239, 90, 76, .4); color: #ffd2cc; font-weight: 700; font-size: 14px; }
.eve-live i { width: 10px; height: 10px; border-radius: 50%; background: #ff5c4d; box-shadow: 0 0 0 0 rgba(255, 92, 77, .7); animation: liveDot 1.4s infinite; }
@keyframes liveDot { 70% { box-shadow: 0 0 0 10px rgba(255, 92, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 92, 77, 0); } }
.eve-prizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.eve-prizes > div { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 6px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.eve-prizes > div:first-child { background: linear-gradient(180deg, rgba(243, 212, 138, .18), rgba(243, 212, 138, .04)); border-color: rgba(243, 212, 138, .45); }
.eve-prizes span { font-size: 26px; } .eve-prizes b { display: inline-flex; align-items: center; gap: 5px; color: #fff; font-size: 16px; } .eve-prizes small { font-size: 11px; color: #8d97ab; }
.eve-how { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 6px; color: #c7cede; font-size: 13.5px; line-height: 1.4; }
.eve-last { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; color: #e6eaf2; } .eve-last small { width: 100%; color: #8d97ab; font-size: 12px; }
.eve-ok { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(76, 190, 110, .12); border: 1px solid rgba(76, 190, 110, .35); color: #9ff0bf; font-size: 13px; font-weight: 600; }
.eve-pill { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 6px; font-size: .8em; font-weight: 800; color: #e6e2ff; background: rgba(130, 120, 255, .35); border: 1px solid rgba(170, 160, 255, .5); vertical-align: 1px; }

/* =================================================================== decor de sărbătoare pe masă */
#game .felt { isolation: isolate; }
.season-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; border-radius: inherit; }
.season-fx i { position: absolute; top: -40px; left: var(--x); font-style: normal; line-height: 1; transform: scale(var(--s)); animation: sfFall var(--d) linear var(--dl) infinite; opacity: .75; }
.season-fx i::before { display: block; font-size: 18px; }
@keyframes sfFall { from { transform: translate(0, 0) scale(var(--s)) rotate(0deg); } 50% { transform: translate(var(--sw), 50vh) scale(var(--s)) rotate(160deg); } to { transform: translate(0, 105vh) scale(var(--s)) rotate(320deg); } }
@keyframes sfRise { from { transform: translate(0, 105vh) scale(var(--s)); opacity: 0; } 15% { opacity: .7; } to { transform: translate(var(--sw), -10vh) scale(var(--s)); opacity: 0; } }
.season-fx .sf-c { position: absolute; top: 10px; font-size: 40px; opacity: .6; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); }
.season-fx .sf-c.l { left: 10px; } .season-fx .sf-c.r { right: 10px; transform: scaleX(-1); }
/* Crăciun: fulgi de zăpadă + brăduți în colțuri */
.season-xmas .season-fx i { width: 7px; height: 7px; border-radius: 50%; background: #fff; filter: blur(.6px); box-shadow: 0 0 6px rgba(255, 255, 255, .8); opacity: .8; }
.season-xmas .season-fx i:nth-child(3n) { width: 4px; height: 4px; }
.season-xmas .season-fx i:nth-child(5n)::before { content: '❄'; color: #fff; font-size: 14px; } .season-xmas .season-fx i:nth-child(5n) { background: none; box-shadow: none; filter: none; width: auto; height: auto; }
.season-xmas .season-fx .sf-c::before { content: '🎄'; }
.season-xmas .season-fx .sf-c.r::before { content: '🎁'; }
/* Halloween: frunze și lilieci */
.season-halloween .season-fx i::before { content: '🍂'; } .season-halloween .season-fx i:nth-child(4n)::before { content: '🦇'; }
.season-halloween .season-fx .sf-c::before { content: '🎃'; } .season-halloween .season-fx .sf-c.r::before { content: '👻'; }
/* Ziua îndrăgostiților: inimi care urcă */
.season-valentine .season-fx i { top: 0; animation-name: sfRise; } .season-valentine .season-fx i::before { content: '💗'; } .season-valentine .season-fx i:nth-child(3n)::before { content: '💕'; }
.season-valentine .season-fx .sf-c::before { content: '🌹'; } .season-valentine .season-fx .sf-c.r::before { content: '💝'; }
/* Mărțișor: petale de flori */
.season-martisor .season-fx i::before { content: '🌸'; } .season-martisor .season-fx i:nth-child(3n)::before { content: '🌼'; }
.season-martisor .season-fx .sf-c::before { content: '🌷'; } .season-martisor .season-fx .sf-c.r::before { content: '🎀'; }
/* Paște: flori și ouă încondeiate */
.season-easter .season-fx i::before { content: '🌼'; } .season-easter .season-fx i:nth-child(4n)::before { content: '🌿'; }
.season-easter .season-fx .sf-c::before { content: '🥚'; } .season-easter .season-fx .sf-c.r::before { content: '🐣'; }
@media (prefers-reduced-motion: reduce) { .season-fx i { display: none; } }
@media (max-height: 560px) and (orientation: landscape), (max-width: 600px) { .season-fx .sf-c { font-size: 30px; } }
/* lobby: cardul sărbătorii, ribbon „ediție limitată” */
#evCard.holiday { cursor: pointer; background: linear-gradient(160deg, rgba(243, 212, 138, .16), rgba(243, 212, 138, .04)); border-color: rgba(243, 212, 138, .4); }
.shop-rib.sz { background: linear-gradient(180deg, #ff9ab0, #e0455f); color: #fff; }
.btn.tg { background: linear-gradient(180deg, #4fb5f0, #1f8ccd); color: #fff; border-color: #157ab5; text-decoration: none; text-align: center; }
.pf-av .avatar.framed { border-color: transparent; }

/* =================================================================== cluburi */
@media (min-width: 761px) { .l5-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1600px) { .l5-strip { grid-template-columns: repeat(4, 1fr); } }
.l5-club { position: relative; } .l5-club .dot { position: absolute; top: 12px; right: 12px; width: 10px; height: 10px; border-radius: 50%; background: #ff5c4d; }
.pclub { flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; font-size: 11px; background: color-mix(in srgb, var(--cc) 55%, #0b1220); border: 1px solid color-mix(in srgb, var(--cc) 70%, #fff 10%); line-height: 1; }
.pf-tag.club { cursor: pointer; background: color-mix(in srgb, var(--cc) 35%, transparent); border-color: color-mix(in srgb, var(--cc) 60%, transparent); }
.cl { display: flex; flex-direction: column; gap: 12px; }
.cl-hero { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: radial-gradient(ellipse at 10% 0%, color-mix(in srgb, var(--cc, #2f6fd6) 45%, transparent), transparent 65%), linear-gradient(160deg, #1b2440, #0e1426); border: 1px solid color-mix(in srgb, var(--cc, #2f6fd6) 50%, transparent); }
.cl-hero.intro p { margin: 4px 0 0; font-size: 13px; color: #b9c1d4; line-height: 1.4; }
.cl-em { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: 22px; line-height: 1;
  background: linear-gradient(160deg, color-mix(in srgb, var(--cc) 85%, #fff 15%), color-mix(in srgb, var(--cc) 70%, #000 30%)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 10px rgba(0, 0, 0, .35); }
.cl-em.big { width: 68px; height: 68px; border-radius: 18px; font-size: 36px; }
.cl-id { min-width: 0; flex: 1; } .cl-id h2 { margin: 0; font-size: 22px; font-weight: 800; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-id p { margin: 6px 0 0; font-size: 13px; color: #c7cede; }
.cl-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: #b9c1d4; }
.cl-tabs { display: flex; gap: 6px; padding: 4px; border-radius: 12px; background: rgba(0, 0, 0, .25); }
.cl-tabs button { flex: 1; padding: 9px 6px; border: 0; border-radius: 9px; background: none; color: #aeb6c6; font: 700 13.5px Inter, system-ui, sans-serif; cursor: pointer; }
.cl-tabs button.on { background: linear-gradient(180deg, #2a3a63, #1c2848); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.cl-n { font-style: normal; font-size: 11px; background: #ff5c4d; color: #fff; border-radius: 999px; padding: 0 6px; margin-left: 3px; }
.cl-body { display: flex; flex-direction: column; gap: 10px; min-height: 120px; }
.cl-chat { display: flex; flex-direction: column; gap: 6px; height: min(46vh, 380px); overflow-y: auto; padding: 10px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .06); }
.cl-msg { align-self: flex-start; max-width: 82%; padding: 7px 11px; border-radius: 12px 12px 12px 4px; background: rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 1px; }
.cl-msg.me { align-self: flex-end; border-radius: 12px 12px 4px 12px; background: linear-gradient(180deg, rgba(243, 212, 138, .25), rgba(243, 212, 138, .14)); }
.cl-msg b { font-size: 11.5px; color: #f3d48a; } .cl-msg.me b { display: none; } .cl-msg span { font-size: 14px; color: #f2f4f8; word-break: break-word; } .cl-msg small { align-self: flex-end; font-size: 10px; color: #8d97ab; }
.cl-sys { align-self: center; font-size: 11.5px; color: #8d97ab; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .04); }
.cl-empty { text-align: center; margin: auto; }
.cl-send { display: flex; gap: 8px; } .cl-send input { flex: 1; min-width: 0; }
.cl-list { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .07); }
.cl-m, .cl-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: rgba(255, 255, 255, .03); cursor: pointer; }
.cl-m + .cl-m, .cl-row + .cl-row { border-top: 1px solid rgba(255, 255, 255, .06); }
.cl-row.me { background: rgba(243, 212, 138, .1); }
.cl-m .avatar { width: 36px; height: 36px; font-size: 13px; }
.cl-mi { flex: 1; min-width: 0; display: flex; flex-direction: column; } .cl-mi b { font-size: 14px; color: #eef1f6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cl-mi small { font-size: 11.5px; color: #8d97ab; }
.cl-pts { font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; } .cl-pts small { font-size: 10px; color: #8d97ab; margin-left: 2px; }
.cl-row .rk { width: 26px; text-align: center; font-weight: 800; color: #aeb6c6; }
.cl-role { font-size: 10.5px; font-weight: 700; padding: 0 6px; border-radius: 5px; background: rgba(255, 255, 255, .08); color: #c7cede; }
.cl-role.owner { background: linear-gradient(180deg, #ffe39a, #d9ad4f); color: #2a1c05; } .cl-role.officer { background: rgba(110, 160, 255, .25); color: #cfe0ff; }
.cl-act { display: flex; gap: 4px; } .btn.sm { padding: 5px 10px; min-height: 0; font-size: 12.5px; border-radius: 8px; }
.cl-form { display: flex; flex-direction: column; gap: 8px; } .cl-form label { font-size: 13px; font-weight: 700; color: #c7cede; display: flex; flex-direction: column; gap: 5px; } .cl-form label.check { flex-direction: row; align-items: center; gap: 8px; }
.cl-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.cl-pick button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); font-size: 20px; cursor: pointer; }
.cl-pick button.on { border-color: #f3d48a; box-shadow: 0 0 0 2px rgba(243, 212, 138, .45); background: rgba(243, 212, 138, .12); }
.cl-pick.col button { background: var(--cc); }
.cl-rules { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); font-size: 13px; color: #c7cede; } .cl-rules b { color: #fff; }
@media (max-width: 520px) { .cl-em.big { width: 54px; height: 54px; font-size: 28px; } .cl-id h2 { font-size: 19px; } .cl-tabs button { font-size: 12.5px; padding: 8px 4px; } }

/* =================================================================== mod offline */
.off-bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 8px 14px; font-size: 13px; color: #ffe9c2; background: linear-gradient(180deg, #5a3a0e, #3d2608); border-bottom: 1px solid rgba(243, 212, 138, .4); }
.off-bar.hidden { display: none; }
body.offline .lb-member, body.offline #btnEvening, body.offline #btnVideo, body.offline #btnClub, body.offline .l5-tables, body.offline #codeForm, body.offline #btnCreateOpen,
body.offline #r4CGuest, body.offline #tutCard, body.offline #lobbyAd, body.offline .l5-online, body.offline #evCard, body.offline .l5-strip { display: none !important; }

body.offline #acctCta, body.offline .l5-nav button:not([data-nav="lobby"]) { display: none !important; }
body.offline .l5-nav { justify-content: center; }

/* =================================================================== efecte (pachetul 2) */
/* scântei (Atu, joker) */
.fx-burst { position: fixed; z-index: 70; width: 0; height: 0; pointer-events: none; }
.fx-burst i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #ffe39a; box-shadow: 0 0 8px #ffd257; font-style: normal; font-size: 12px; line-height: 6px; color: #ffe39a; text-indent: -3px;
  animation: fxBurst .85s cubic-bezier(.2, .8, .3, 1) var(--dl) both; }
.fx-burst.joker i { background: #fff; box-shadow: 0 0 10px #c9a6ff, 0 0 4px #fff; }
.fx-burst i:nth-child(3n) { background: none; box-shadow: none; text-shadow: 0 0 8px #ffd257; }
@keyframes fxBurst { from { transform: translate(0, 0) scale(.3); opacity: 1; } 70% { opacity: 1; } to { transform: translate(var(--x), var(--y)) scale(1); opacity: 0; } }
/* jokerul tras: piesa strălucește */
.tile.jk-glow { animation: jkGlow 1.8s ease-out; z-index: 5; }
@keyframes jkGlow { 0% { transform: rotateY(90deg) scale(1.1); } 25% { transform: rotateY(0) scale(1.15); box-shadow: 0 0 0 3px #ffe39a, 0 0 26px 6px rgba(255, 215, 110, .9); } 100% { transform: none; } }
/* jokerul luat de pe masă zboară cu o dâră luminoasă */
.tile.jk-trail { box-shadow: 0 0 0 2px rgba(201, 166, 255, .9), 0 0 18px 6px rgba(160, 120, 255, .65), -14px 6px 22px rgba(160, 120, 255, .35) !important; }
/* adversarul a rămas cu o singură piesă */
#game .seats-bar .pcard.last { border-color: rgba(239, 90, 76, .9); animation: lastPulse 1.3s ease-in-out infinite; }
@keyframes lastPulse { 50% { box-shadow: 0 0 0 2px rgba(239, 90, 76, .45), 0 0 22px rgba(239, 90, 76, .55), 0 6px 16px rgba(0, 0, 0, .38); } }
/* ultimele 10 secunde din tura ta */
#turnClock.urgent { animation: tcUrgent .9s ease-in-out infinite; }
@keyframes tcUrgent { 50% { box-shadow: 0 0 0 3px rgba(239, 90, 76, .55), 0 0 26px rgba(239, 90, 76, .6); transform: scale(1.04); } }
/* val de lumină pe masă la închidere */
#game .felt.wave::after { content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(255, 236, 170, .55), rgba(255, 236, 170, 0) 40%) no-repeat; background-size: 10% 10%; background-position: center;
  animation: feltWave 1.3s ease-out forwards; }
@keyframes feltWave { from { background-size: 5% 5%; opacity: 1; } to { background-size: 320% 320%; opacity: 0; } }
/* punctele rundei zboară spre jucători */
.fx-pts { position: fixed; z-index: 72; pointer-events: none; font: 800 30px/1 Inter, system-ui, sans-serif; color: #8ff0b6; text-shadow: 0 2px 10px rgba(0, 0, 0, .6), 0 0 18px rgba(110, 240, 160, .5); }
.fx-pts.neg { color: #ff8a80; text-shadow: 0 2px 10px rgba(0, 0, 0, .6), 0 0 18px rgba(255, 110, 100, .5); }
/* seria de victorii */
.pfire { flex: none; font-size: 11px; font-weight: 800; color: #ffb347; text-shadow: 0 0 8px rgba(255, 140, 40, .7); animation: fireFlick 1.2s ease-in-out infinite; }
.pfire.blue { color: #8fd3ff; text-shadow: 0 0 6px rgba(80, 180, 255, .95), 0 0 12px rgba(80, 180, 255, .7); }
@keyframes fireFlick { 50% { transform: translateY(-1px) scale(1.08); } }
/* ploaie de monede */
.fx-coins { position: fixed; inset: 0; z-index: 80; pointer-events: none; overflow: hidden; }
.fx-coins .coin { position: absolute; top: -40px; width: 26px; height: 26px; font-size: 15px; animation: coinFall var(--d) cubic-bezier(.4, 0, .8, 1) var(--dl) both; }
@keyframes coinFall { from { transform: translateY(0) rotate(0) scale(var(--s)); opacity: 1; } 85% { opacity: 1; } to { transform: translateY(105vh) rotate(var(--r)) scale(var(--s)); opacity: .2; } }
/* lampa de deasupra mesei */
.felt-lamp { position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: radial-gradient(ellipse 55% 45% at 50% 38%, rgba(255, 228, 160, .2), rgba(255, 228, 160, .07) 45%, transparent 70%);
  animation: lampSway 14s ease-in-out infinite alternate; }
@keyframes lampSway { from { transform: translateX(-1.5%) translateY(-.5%); opacity: .9; } to { transform: translateX(1.5%) translateY(.5%); opacity: 1; } }
/* intrarea campionului */
.champ-in { position: fixed; left: 50%; top: 18%; z-index: 76; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px; border-radius: 16px; pointer-events: none;
  background: linear-gradient(160deg, rgba(60, 44, 10, .96), rgba(26, 18, 4, .96)); border: 1px solid #f3d48a; box-shadow: 0 0 0 4px rgba(243, 212, 138, .15), 0 10px 40px rgba(0, 0, 0, .6), 0 0 40px rgba(243, 212, 138, .35);
  animation: champIn .6s cubic-bezier(.2, .9, .3, 1.3); transition: opacity .5s; }
.champ-in.out { opacity: 0; }
.champ-in span { font-size: 34px; } .champ-in b { display: block; font-size: 17px; color: #ffe39a; } .champ-in small { font-size: 12.5px; color: #e8dcc0; }
@keyframes champIn { from { transform: translate(-50%, -30px) scale(.8); opacity: 0; } }
#game .seats-bar .pcard.champ-glow { box-shadow: 0 0 0 2px #f3d48a, 0 0 30px rgba(243, 212, 138, .7) !important; }
/* efecte de etalare (Magazin → Efecte) */
.meld.shine[data-fx]::after { mix-blend-mode: screen; }
.meld.shine[data-fx="fire"]::after { background: linear-gradient(0deg, rgba(255, 90, 20, .7), rgba(255, 200, 60, .45) 40%, transparent 75%); background-size: 100% 100%; animation: fxFire .9s ease-out forwards; }
.meld.shine[data-fx="ice"]::after { background: linear-gradient(105deg, transparent 25%, rgba(200, 240, 255, .8) 45%, rgba(255, 255, 255, .9) 50%, rgba(140, 210, 255, .7) 55%, transparent 75%) no-repeat; background-size: 260% 100%; animation: meldShine .9s ease-out forwards; box-shadow: inset 0 0 14px rgba(160, 225, 255, .9); }
.meld.shine[data-fx="lightning"]::after { background: rgba(220, 210, 255, .85); animation: fxBolt .7s steps(1) forwards; }
.meld.shine[data-fx="petals"]::after { background: radial-gradient(circle, rgba(255, 170, 200, .55), transparent 70%); animation: fxFire .9s ease-out forwards; }
.meld.shine[data-fx]::before { position: absolute; left: 0; right: 0; bottom: 60%; z-index: 4; text-align: center; letter-spacing: 6px; font-size: 18px; pointer-events: none; animation: fxRise 1s ease-out forwards; }
.meld.shine[data-fx="fire"]::before { content: '🔥🔥🔥'; } .meld.shine[data-fx="ice"]::before { content: '❄️✨❄️'; }
.meld.shine[data-fx="lightning"]::before { content: '⚡⚡'; } .meld.shine[data-fx="petals"]::before { content: '🌸🌸🌸'; }
@keyframes fxFire { from { opacity: 1; transform: scaleY(.6); transform-origin: bottom; } to { opacity: 0; transform: scaleY(1.3); } }
@keyframes fxBolt { 0% { opacity: .9; } 15% { opacity: 0; } 30% { opacity: .7; } 45%, 100% { opacity: 0; } }
@keyframes fxRise { from { transform: translateY(14px) scale(.7); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(-26px) scale(1.1); opacity: 0; } }
.prev.mfx { display: grid; place-items: center; height: 74px; }
.prev.mfx .meld { display: flex; padding: 3px; border-radius: 6px; }
.prev.mfx .meld.loop::after, .prev.mfx .meld.loop::before { animation-iteration-count: infinite; animation-duration: 1.8s; }
.prev.mfx .meld.loop:not([data-fx])::after, .prev.mfx .meld.loop[data-fx="gold"]::after { animation-iteration-count: infinite; animation-duration: 1.8s; }
.gm-amb select, #sAmb { margin-left: auto; padding: 6px 10px; border-radius: 8px; background: #0e1628; color: #fff; border: 1px solid rgba(255, 255, 255, .15); font: 600 13px Inter, system-ui, sans-serif; }
@media (prefers-reduced-motion: reduce) { .felt-lamp, .pfire, #game .seats-bar .pcard.last, #turnClock.urgent { animation: none; } }

/* =================================================================== anunț de la administrator + banner în lobby */
.announce { position: fixed; left: 50%; top: 18px; transform: translateX(-50%); z-index: 120; display: flex; align-items: center; gap: 12px; width: min(560px, calc(100vw - 24px)); box-sizing: border-box;
  padding: 14px 14px 14px 16px; border-radius: 16px; background: linear-gradient(160deg, #24325a, #121a30); border: 1px solid #f3d48a; box-shadow: 0 0 0 4px rgba(243, 212, 138, .15), 0 14px 40px rgba(0, 0, 0, .6);
  animation: champIn .5s cubic-bezier(.2, .9, .3, 1.3); }
.announce .an-ic { font-size: 28px; flex: none; }
.announce p { margin: 0; flex: 1; color: #fff; font: 600 15px/1.4 Inter, system-ui, sans-serif; }
.announce button { flex: none; padding: 8px 16px; border-radius: 10px; border: 0; background: linear-gradient(180deg, #ffe39a, #d9ad4f); color: #2a1c05; font: 800 14px Inter, system-ui, sans-serif; cursor: pointer; }
.lb-banner { display: block; margin: 0 0 16px; padding: 14px 18px; border-radius: 14px; text-decoration: none; text-align: center; font: 700 16px/1.4 Inter, system-ui, sans-serif; color: #2a1c05;
  background: linear-gradient(180deg, #ffe39a, #d9ad4f); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.lb-banner.green { background: linear-gradient(180deg, #7fe0a0, #2fae62); color: #062a14; }
.lb-banner.red { background: linear-gradient(180deg, #ff8a7d, #d8443a); color: #fff; }
.lb-banner.blue { background: linear-gradient(180deg, #7fb2ff, #2f6fd6); color: #fff; }
a.lb-banner[href] { cursor: pointer; }
body.offline .lb-banner { display: none; }
/* butonul „Intră” de la Turneul de seară: lățime după text, nu se mai taie */
.l5-eve .l5-gold { height: 44px; padding: 0 20px; font-size: 18px; flex: none; white-space: nowrap; min-width: max-content; }
.l5-eve .l5-mt { min-width: 0; flex: 1; }
@media (max-width: 760px) { .l5-eve .l5-gold { height: 38px; padding: 0 14px; font-size: 16px; } }
.eve-pot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.eve-pot > div { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 6px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .08); text-align: center; }
.eve-pot small { font-size: 11.5px; color: #9aa3b5; } .eve-pot b { display: inline-flex; align-items: center; gap: 5px; font-size: 17px; color: #fff; font-variant-numeric: tabular-nums; }
.eve-pot > div:nth-child(2) b { color: #f3d48a; }

/* rame din imagini: PNG/WebP 512×512 cu gaura (rază ~166 px) în centru → rama e ~1.54× avatarul */
.avatar .frm.img { inset: -27%; padding: 0; border-radius: 0; background: center / contain no-repeat; -webkit-mask: none; mask: none; animation: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .45)); }
.avatar.framed.img-frame { border-color: transparent; }
.pf-av .avatar .frm.img, .acct-head .avatar .frm.img { filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .5)); }
.whl-frimg { width: 120px; height: 120px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }

/* teme din imagini: postavul e poza temei (fără recolorare) */
body.felt-img .felt, body.wood.felt-img .felt, body.lux-desk.felt-img #game .felt {
  background: radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, .04), transparent 70%), var(--felt-img) center / cover; background-blend-mode: normal; }

/* =================================================================== TEME DE LOBBY (alese din admin: normal / Halloween / Crăciun / automat după sezon)
   body.lt-halloween / body.lt-xmas — schimbă lobby-ul, bara de jos și toate meniurile (ferestrele) */
body.lt-halloween #lobby.home5 {
  --n-card: linear-gradient(160deg, rgba(48, 24, 68, .92) 0%, rgba(28, 14, 42, .94) 55%, rgba(18, 9, 28, .96) 100%);
  --n-line: rgba(255, 140, 40, .28); --n-gold: #ff9a2e; --n-gold2: #ff7a00; --n-goldline: rgba(255, 140, 40, .7); --n-soft: #d6b8ea;
  background: radial-gradient(ellipse 38% 30% at 88% 6%, rgba(255, 236, 190, .22), transparent 70%), radial-gradient(ellipse 70% 50% at 50% 110%, rgba(120, 220, 120, .10), transparent 70%),
    linear-gradient(180deg, rgba(10, 6, 22, .55), rgba(10, 6, 20, .88) 60%, #08050f), url(/img/themes/hw-haunted-midnight.webp) center top / cover fixed, #0d0a16; }
body.lt-xmas #lobby.home5 {
  --n-card: linear-gradient(160deg, rgba(16, 64, 44, .93) 0%, rgba(9, 44, 30, .95) 55%, rgba(6, 30, 20, .97) 100%);
  --n-line: rgba(240, 200, 110, .3); --n-gold: #f2c14e; --n-gold2: #e0a52a; --n-goldline: rgba(240, 200, 110, .75); --n-soft: #cfe6d6;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255, 220, 150, .16), transparent 70%), linear-gradient(180deg, rgba(4, 20, 14, .45), rgba(4, 18, 12, .85) 60%, #03110b),
    url(/img/themes/xmas-evergreen-gold.webp) center top / cover fixed, #052014; }
/* bannerul și cardurile */
body.lt-halloween #lobby.home5 .lb-banner.gold { background: linear-gradient(90deg, #ff8a1f, #ffb347 50%, #ff8a1f); color: #2a0f00; box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 0 24px rgba(255, 130, 30, .35); }
body.lt-xmas #lobby.home5 .lb-banner.gold { background: linear-gradient(90deg, #b3141c, #e0313a 50%, #b3141c); color: #fff4e0; box-shadow: 0 0 0 1px rgba(255, 220, 150, .5), 0 0 24px rgba(220, 40, 40, .35); }
body.lt-halloween .l5-quick { background: radial-gradient(ellipse 50% 60% at 78% 20%, rgba(255, 140, 40, .22), transparent 70%), var(--n-card); box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 0 40px rgba(255, 120, 20, .18), 0 20px 46px rgba(0, 0, 0, .55); }
body.lt-xmas .l5-quick { background: radial-gradient(ellipse 50% 60% at 78% 20%, rgba(255, 210, 120, .2), transparent 70%), var(--n-card); box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 0 40px rgba(255, 210, 120, .14), 0 20px 46px rgba(0, 0, 0, .55); }
body.lt-halloween .l5-quick h2 em { background: linear-gradient(180deg, #ffd27a, #ff8a1f 60%, #c94f08); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.lt-xmas .l5-quick h2 em { background: linear-gradient(180deg, #ff8a8a, #e0313a 55%, #9e1414); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.lt-halloween .l5-opts { background: rgba(14, 6, 22, .6); border-color: rgba(255, 140, 40, .25); }
body.lt-xmas .l5-opts { background: rgba(2, 16, 10, .55); border-color: rgba(240, 200, 110, .25); }
body.lt-halloween .l5-play { background: linear-gradient(180deg, #ffb04a 0%, #ff7a12 50%, #d2500a 100%); text-shadow: 0 2px 4px rgba(90, 30, 0, .55);
  box-shadow: 0 0 0 1.5px rgba(255, 210, 150, .5), inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -4px 8px rgba(110, 30, 0, .35), 0 12px 30px rgba(255, 110, 20, .45); }
body.lt-xmas .l5-play { background: linear-gradient(180deg, #ff5a5a 0%, #d61f28 50%, #9e1018 100%); text-shadow: 0 2px 4px rgba(80, 0, 0, .55);
  box-shadow: 0 0 0 2px rgba(255, 215, 130, .7), inset 0 2px 0 rgba(255, 255, 255, .4), inset 0 -4px 8px rgba(80, 0, 0, .35), 0 12px 30px rgba(220, 30, 40, .4); }
body.lt-halloween .l5-box { border-color: rgba(255, 140, 40, .26); box-shadow: 0 14px 30px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06); }
body.lt-xmas .l5-box { border-color: rgba(240, 200, 110, .28); box-shadow: 0 14px 30px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06); }
body.lt-halloween .l5-gold { background: linear-gradient(180deg, #ffd08a 0%, #ff9a2e 50%, #e0650e 100%); color: #2a0f00; }
body.lt-halloween .l5-eve { background: radial-gradient(ellipse at 10% 20%, rgba(255, 140, 40, .25), transparent 60%), linear-gradient(160deg, #2c1440, #150a22) !important; border-color: rgba(255, 140, 40, .4) !important; }
body.lt-xmas .l5-eve { background: radial-gradient(ellipse at 10% 20%, rgba(255, 220, 150, .22), transparent 60%), linear-gradient(160deg, #123d2b, #071f15) !important; border-color: rgba(240, 200, 110, .4) !important; }
body.lt-halloween .l5-eve.in em { background: linear-gradient(180deg, #ffc46b, #ff8a1f); color: #2a0f00; }
body.lt-halloween .l5-event.on { background: rgba(255, 120, 20, .14); border-color: rgba(255, 140, 40, .4); }
body.lt-xmas .l5-event.on { background: rgba(220, 40, 40, .14); border-color: rgba(240, 200, 110, .4); }
body.lt-halloween .tcard { background: rgba(30, 14, 44, .8); border-color: rgba(255, 140, 40, .2); }
body.lt-xmas .tcard { background: rgba(8, 36, 24, .8); border-color: rgba(240, 200, 110, .2); }
/* bara de jos */
body.lt-halloween #lobby.home5 .l5-nav { background: linear-gradient(180deg, rgba(34, 16, 48, .97), rgba(12, 6, 20, .98)); border-top-color: rgba(255, 140, 40, .3); }
body.lt-xmas #lobby.home5 .l5-nav { background: linear-gradient(180deg, rgba(10, 46, 32, .97), rgba(4, 22, 14, .98)); border-top-color: rgba(240, 200, 110, .35); }
body.lt-halloween #lobby.home5 .l5-nav button.on { color: #ff9a2e; } body.lt-xmas #lobby.home5 .l5-nav button.on { color: #f2c14e; }
/* meniurile (ferestrele): magazin, profil, misiuni, clasament, setări, roata, prieteni, club... */
body.lt-halloween .modal { background: rgba(10, 4, 18, .66); }
body.lt-halloween .modal-card, body.lt-halloween .whl-card { border-color: rgba(255, 140, 40, .6);
  background: radial-gradient(ellipse 90% 40% at 50% 0%, rgba(255, 130, 30, .2), transparent 70%), linear-gradient(180deg, #2e1644, #1c0d2c 60%, #120820); }
body.lt-halloween .modal-card h2, body.lt-halloween .modal-card h3 { color: #ff9a2e; }
body.lt-halloween .tabs .btn.on { background: linear-gradient(180deg, #ff8a1f, #c2500a); border-color: #ffc46b; color: #fff; }
body.lt-halloween .modal-card .tabs .btn:not(.on), body.lt-halloween .modal-card .btn.ghost { background: linear-gradient(180deg, #3a1d52, #24113a); border-color: rgba(255, 140, 40, .35); }
body.lt-halloween #lobby.home5 .l5-sel select { background-color: rgba(30, 12, 44, .9); border-color: rgba(255, 140, 40, .45); }
body.lt-halloween .shop-item.eq { border-color: #ff9a2e; box-shadow: 0 0 0 1px #ff9a2e inset; }
body.lt-xmas .modal { background: rgba(2, 12, 8, .62); }
body.lt-xmas .modal-card, body.lt-xmas .whl-card { border-color: rgba(240, 200, 110, .7);
  background: radial-gradient(ellipse 90% 40% at 50% 0%, rgba(255, 215, 130, .18), transparent 70%), linear-gradient(180deg, #11452f, #0a301f 60%, #062115); }
body.lt-xmas .modal-card h2, body.lt-xmas .modal-card h3 { color: #f2c14e; }
body.lt-xmas .tabs .btn.on { background: linear-gradient(180deg, #d61f28, #8e0f16); border-color: #f2c14e; color: #fff; }
body.lt-xmas .modal-card .tabs .btn:not(.on), body.lt-xmas .modal-card .btn.ghost { background: linear-gradient(180deg, #164e37, #0b3224); border-color: rgba(240, 200, 110, .35); }
body.lt-xmas #lobby.home5 .l5-sel select { background-color: rgba(4, 30, 20, .9); border-color: rgba(240, 200, 110, .45); }
body.lt-xmas .shop-item.eq { border-color: #f2c14e; }
/* decor animat */
.lt-deco { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
#lobby.home5 .l5-top { position: relative; z-index: 3; }
body.lt-halloween .l5-quick, body.lt-halloween .l5-box, body.lt-xmas .l5-quick, body.lt-xmas .l5-box { z-index: 2; }
.lt-bat { position: absolute; width: var(--w, 46px); opacity: .85; animation: ltBat var(--d, 9s) ease-in-out infinite; animation-delay: var(--dl, 0s); filter: drop-shadow(0 0 3px rgba(255, 190, 120, .55)) drop-shadow(0 0 10px rgba(255, 140, 40, .25)); }
.lt-bat svg { width: 100%; animation: ltFlap .28s ease-in-out infinite alternate; transform-origin: 50% 40%; }
@keyframes ltFlap { to { transform: scaleY(.55); } }
@keyframes ltBat { 0%, 100% { transform: translate(0, 0) rotate(-4deg); } 50% { transform: translate(var(--dx, 60px), var(--dy, -24px)) rotate(5deg); } }
.lt-web { position: absolute; right: -6px; top: -6px; width: 150px; opacity: .32; transform: scaleX(-1); }
.lt-fog { position: absolute; left: -10%; right: -10%; bottom: 0; height: 260px; background: radial-gradient(ellipse 40% 60% at 25% 100%, rgba(170, 200, 230, .16), transparent 70%), radial-gradient(ellipse 45% 55% at 75% 100%, rgba(170, 200, 230, .13), transparent 70%); animation: ltFog 14s ease-in-out infinite alternate; }
@keyframes ltFog { to { transform: translateX(6%); } }
.lt-art { position: absolute; z-index: 3; right: 26px; bottom: 300px; display: flex; align-items: flex-end; gap: 4px; pointer-events: none; }
.lt-art span { width: 74px; } .lt-art span.s { width: 52px; } .lt-art svg { width: 100%; display: block; }
body.lt-halloween .lt-art span { filter: drop-shadow(0 0 18px rgba(255, 140, 30, .55)); }
body.lt-xmas .lt-art span { width: 50px; filter: drop-shadow(0 0 12px rgba(255, 210, 120, .45)); } body.lt-xmas .lt-art span.s { width: 38px; }
.lt-art .glow { animation: ltGlow 2.4s ease-in-out infinite; } @keyframes ltGlow { 50% { opacity: .65; } }
.lt-spider { position: absolute; z-index: 3; top: 0; width: 2px; background: rgba(230, 230, 240, .5); animation: ltDrop 6s ease-in-out infinite; }
.lt-spider i { position: absolute; left: -11px; bottom: -18px; width: 24px; height: 22px; }
@keyframes ltDrop { 0%, 100% { height: 40px; } 50% { height: 110px; } }
.lt-tag { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; padding: 5px 12px; border-radius: 999px; font: 900 13px 'Inter', sans-serif; letter-spacing: .06em; vertical-align: middle; }
body.lt-halloween .lt-tag { color: #2a0f00; background: linear-gradient(180deg, #ffc46b, #ff8a1f); box-shadow: 0 0 16px rgba(255, 130, 30, .5); }
body.lt-xmas .lt-tag { color: #fff; background: linear-gradient(180deg, #e84a4a, #a3121a); box-shadow: 0 0 0 1.5px #f2c14e, 0 0 16px rgba(230, 50, 50, .45); }
.lt-snow i { position: absolute; top: -12px; left: var(--x); width: calc(6px * var(--s)); height: calc(6px * var(--s)); border-radius: 50%; background: #fff; opacity: .8; box-shadow: 0 0 6px rgba(255, 255, 255, .8);
  animation: ltSnow var(--d) linear infinite; animation-delay: var(--dl); }
@keyframes ltSnow { to { transform: translate(var(--sw), 105vh); } }
.lt-lights { position: absolute; left: 0; right: 0; top: 0; height: 40px; }
.lt-lights b { position: absolute; top: calc(8px + var(--y)); left: var(--x); width: 9px; height: 13px; border-radius: 50% 50% 45% 45%; background: var(--c); box-shadow: 0 0 10px var(--c), 0 0 22px var(--c); animation: ltBlink 1.6s ease-in-out infinite; animation-delay: var(--dl); }
.lt-lights svg { position: absolute; inset: 0; width: 100%; height: 40px; }
@keyframes ltBlink { 50% { opacity: .35; box-shadow: none; } }
.l5-quick .lt-cap { position: absolute; left: 0; right: 0; top: -3px; z-index: 3; pointer-events: none; line-height: 0; }
.l5-quick .lt-cap svg { width: 100%; height: 30px; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .25)); }
@media (max-width: 760px) {
  .lt-art { right: 12px; bottom: auto; top: 92px; } .lt-art span { width: 48px; } .lt-art span.s { width: 34px; }
  body.lt-xmas .lt-art span { width: 34px; } body.lt-xmas .lt-art span.s { width: 26px; }
  .lt-web { width: 120px; } .lt-bat { --w: 30px !important; }
}
@media (prefers-reduced-motion: reduce) { .lt-bat, .lt-bat svg, .lt-fog, .lt-snow i, .lt-lights b, .lt-spider, .lt-art .glow { animation: none; } }

/* reduceri în magazin și turneu special (setate din admin) */
.shop-item { position: relative; }
.shop-rib.sale { right: auto; left: 8px; background: linear-gradient(180deg, #ff6b5b, #d9261b); color: #fff; font-size: 11px; letter-spacing: .5px; }
.shop-item .btn s { opacity: .6; font-weight: 700; margin-right: 2px; }
.eve-bonus { margin: 4px 0 0; color: #ffd66b; font-weight: 800; }

/* =================================================================== TEME DE LOBBY de primăvară: Valentine's, Mărțișor, Paște */
body.lt-valentine #lobby.home5 { --n-card: linear-gradient(160deg, rgba(74,16,40,.93), rgba(48,10,28,.95) 55%, rgba(30,6,18,.97)); --n-line: rgba(255,120,160,.3); --n-gold: #ff8fab; --n-goldline: rgba(255,130,170,.7); --n-soft: #f3c9d6; background: radial-gradient(ellipse 60% 45% at 20% 0%, rgba(255,90,140,.28), transparent 70%), radial-gradient(ellipse 50% 50% at 90% 30%, rgba(200,40,90,.25), transparent 70%), linear-gradient(180deg, #3a0c1f, #24071a 55%, #160411); background-attachment: fixed; }
body.lt-valentine #lobby.home5 .lb-banner.gold { background: linear-gradient(90deg, #d81b60, #ff6f91 50%, #d81b60); color: #fff; }
body.lt-valentine .l5-quick { background: radial-gradient(ellipse 50% 60% at 78% 20%, rgba(255,100,150,.22), transparent 70%), var(--n-card); }
body.lt-valentine .l5-quick h2 em { background: linear-gradient(180deg, #ffc1d4, #ff4f7b 55%, #b0124a); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.lt-valentine .l5-opts { background: rgba(0, 0, 0, .25); border-color: rgba(255,120,160,.3); }
body.lt-valentine #lobby.home5 .l5-sel select { background-color: rgba(0, 0, 0, .3); border-color: rgba(255,130,170,.7); }
body.lt-valentine .l5-play { background: linear-gradient(180deg, #ff7aa0 0%, #e8336a 50%, #b0124a 100%); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .45), inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -4px 8px rgba(0, 0, 0, .25), 0 12px 30px rgba(232,51,106,.45); }
body.lt-valentine .l5-box { border-color: rgba(255,120,160,.3); }
body.lt-valentine .l5-eve { background: linear-gradient(160deg, #4a1430, #24071a) !important; border-color: rgba(255,130,170,.7) !important; }
body.lt-valentine .tcard { background: rgba(0, 0, 0, .25); border-color: rgba(255,120,160,.3); }
body.lt-valentine #lobby.home5 .l5-nav { background: linear-gradient(180deg, rgba(58,14,34,.97), rgba(26,5,16,.98)); border-top-color: rgba(255,120,160,.3); }
body.lt-valentine #lobby.home5 .l5-nav button.on { color: #ff8fab; }
body.lt-valentine .modal-card, body.lt-valentine .whl-card { border-color: rgba(255,130,170,.7); background: radial-gradient(ellipse 90% 40% at 50% 0%, rgba(255,100,150,.22), transparent 70%), linear-gradient(180deg, #4a1430, #2e0a1e 60%, #1e0613); }
body.lt-valentine .modal-card h2, body.lt-valentine .modal-card h3 { color: #ff8fab; }
body.lt-valentine .tabs .btn.on { background: linear-gradient(180deg, #e8336a, #a3124a); border-color: rgba(255,130,170,.7); color: #fff; }
body.lt-valentine .modal-card .tabs .btn:not(.on), body.lt-valentine .modal-card .btn.ghost { background: linear-gradient(180deg, #5a1a3a, #3a0e26); border-color: rgba(255,120,160,.3); }
body.lt-valentine .lt-tag { background: linear-gradient(180deg, #ff8fab, #e8336a); color:#fff; }
body.lt-martisor #lobby.home5 { --n-card: linear-gradient(160deg, rgba(18,62,48,.92), rgba(10,44,34,.95) 55%, rgba(6,30,22,.97)); --n-line: rgba(255,255,255,.22); --n-gold: #ff5a62; --n-goldline: rgba(255,255,255,.6); --n-soft: #d6efe2; background: radial-gradient(ellipse 60% 45% at 20% 0%, rgba(255,255,255,.14), transparent 70%), radial-gradient(ellipse 50% 50% at 90% 25%, rgba(232,51,61,.22), transparent 70%), linear-gradient(180deg, #0f3d2e, #0a2c21 55%, #061c15); background-attachment: fixed; }
body.lt-martisor #lobby.home5 .lb-banner.gold { border: 5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, repeating-linear-gradient(135deg, #e8333d 0 12px, #fff 12px 24px) border-box; color: #b0151e; }
body.lt-martisor .l5-quick { background: radial-gradient(ellipse 50% 60% at 78% 20%, rgba(255,255,255,.12), transparent 70%), var(--n-card); }
body.lt-martisor .l5-quick h2 em { background: linear-gradient(180deg, #ffffff, #ffd6d9 40%, #e8333d); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.lt-martisor .l5-opts { background: rgba(0, 0, 0, .25); border-color: rgba(255,255,255,.22); }
body.lt-martisor #lobby.home5 .l5-sel select { background-color: rgba(0, 0, 0, .3); border-color: rgba(255,255,255,.6); }
body.lt-martisor .l5-play { background: linear-gradient(180deg, #ff6b72 0%, #e8333d 50%, #b0151e 100%); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .45), inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -4px 8px rgba(0, 0, 0, .25), 0 12px 30px rgba(232,51,61,.4); }
body.lt-martisor .l5-box { border-color: rgba(255,255,255,.22); }
body.lt-martisor .l5-eve { background: linear-gradient(160deg, #14523d, #072619) !important; border-color: rgba(255,255,255,.6) !important; }
body.lt-martisor .tcard { background: rgba(0, 0, 0, .25); border-color: rgba(255,255,255,.22); }
body.lt-martisor #lobby.home5 .l5-nav { background: linear-gradient(180deg, rgba(14,56,42,.97), rgba(5,26,19,.98)); border-top-color: rgba(255,255,255,.22); }
body.lt-martisor #lobby.home5 .l5-nav button.on { color: #ff6b72; }
body.lt-martisor .modal-card, body.lt-martisor .whl-card { border-color: rgba(255,255,255,.6); background: radial-gradient(ellipse 90% 40% at 50% 0%, rgba(255,255,255,.12), transparent 70%), linear-gradient(180deg, #14523d, #0c3a2b 60%, #072619); }
body.lt-martisor .modal-card h2, body.lt-martisor .modal-card h3 { color: #ff6b72; }
body.lt-martisor .tabs .btn.on { background: linear-gradient(180deg, #e8333d, #a8121b); border-color: rgba(255,255,255,.6); color: #fff; }
body.lt-martisor .modal-card .tabs .btn:not(.on), body.lt-martisor .modal-card .btn.ghost { background: linear-gradient(180deg, #1d5c46, #0f3d2e); border-color: rgba(255,255,255,.22); }
body.lt-martisor .lt-tag { background: #fff; color: #c8102e; box-shadow: 0 0 0 2px #e8333d; }
body.lt-easter #lobby.home5 { --n-card: linear-gradient(160deg, rgba(40,46,92,.92), rgba(28,32,70,.95) 55%, rgba(18,20,50,.97)); --n-line: rgba(200,180,255,.3); --n-gold: #ffd75e; --n-goldline: rgba(255,215,94,.7); --n-soft: #dcd6f7; background: radial-gradient(ellipse 60% 45% at 20% 0%, rgba(201,167,255,.28), transparent 70%), radial-gradient(ellipse 50% 50% at 90% 30%, rgba(168,230,163,.18), transparent 70%), linear-gradient(180deg, #23285a, #1a1e48 55%, #111433); background-attachment: fixed; }
body.lt-easter #lobby.home5 .lb-banner.gold { background: linear-gradient(90deg, #ffd75e, #ffe9a3 50%, #ffd75e); color: #3a2a00; }
body.lt-easter .l5-quick { background: radial-gradient(ellipse 50% 60% at 78% 20%, rgba(201,167,255,.22), transparent 70%), var(--n-card); }
body.lt-easter .l5-quick h2 em { background: linear-gradient(180deg, #fff3c4, #ffd75e 55%, #d19a12); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.lt-easter .l5-opts { background: rgba(0, 0, 0, .25); border-color: rgba(200,180,255,.3); }
body.lt-easter #lobby.home5 .l5-sel select { background-color: rgba(0, 0, 0, .3); border-color: rgba(255,215,94,.7); }
body.lt-easter .l5-play { background: linear-gradient(180deg, #9be38f 0%, #4fbf5e 50%, #2c8a3c 100%); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .45), inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -4px 8px rgba(0, 0, 0, .25), 0 12px 30px rgba(79,191,94,.4); }
body.lt-easter .l5-box { border-color: rgba(200,180,255,.3); }
body.lt-easter .l5-eve { background: linear-gradient(160deg, #2c3270, #151940) !important; border-color: rgba(255,215,94,.7) !important; }
body.lt-easter .tcard { background: rgba(0, 0, 0, .25); border-color: rgba(200,180,255,.3); }
body.lt-easter #lobby.home5 .l5-nav { background: linear-gradient(180deg, rgba(36,40,86,.97), rgba(16,18,46,.98)); border-top-color: rgba(200,180,255,.3); }
body.lt-easter #lobby.home5 .l5-nav button.on { color: #ffd75e; }
body.lt-easter .modal-card, body.lt-easter .whl-card { border-color: rgba(255,215,94,.7); background: radial-gradient(ellipse 90% 40% at 50% 0%, rgba(201,167,255,.22), transparent 70%), linear-gradient(180deg, #2c3270, #1f2456 60%, #151940); }
body.lt-easter .modal-card h2, body.lt-easter .modal-card h3 { color: #ffd75e; }
body.lt-easter .tabs .btn.on { background: linear-gradient(180deg, #9b7be0, #6a4bbf); border-color: rgba(255,215,94,.7); color: #fff; }
body.lt-easter .modal-card .tabs .btn:not(.on), body.lt-easter .modal-card .btn.ghost { background: linear-gradient(180deg, #353c80, #232859); border-color: rgba(200,180,255,.3); }
body.lt-easter .lt-tag { background: linear-gradient(90deg, #ffb3c7, #c9a7ff, #9fd8ff); color:#2a1a3a; }
.lt-fall i { position: absolute; top: -30px; left: var(--x); font-size: calc(16px * var(--s)); font-style: normal; line-height: 1; opacity: .85; text-shadow: 0 0 8px rgba(255, 255, 255, .35);
  animation: ltFall var(--d) linear infinite; animation-delay: var(--dl); }
.lt-fall.up i { top: auto; bottom: -30px; animation-name: ltRise; opacity: .7; }
@keyframes ltFall { to { transform: translate(var(--sw), 105vh) rotate(var(--r)); } }
@keyframes ltRise { 0% { transform: translate(0, 0) scale(.8); opacity: 0; } 10% { opacity: .75; } 100% { transform: translate(var(--sw), -105vh) scale(1.1); opacity: 0; } }
.lt-glow { position: absolute; left: 0; right: 0; bottom: 0; height: 240px; background: radial-gradient(ellipse 50% 70% at 50% 120%, rgba(255, 255, 255, .08), transparent 70%); }
body.lt-valentine .lt-art span { width: 58px; filter: drop-shadow(0 0 14px rgba(255, 79, 123, .6)); animation: ltBeat 1.6s ease-in-out infinite; } body.lt-valentine .lt-art span.s { width: 40px; animation-delay: .3s; }
@keyframes ltBeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }
body.lt-martisor .lt-art span { width: 50px; } body.lt-martisor .lt-art span.m { width: 76px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4)); animation: ltSway 3s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes ltSway { 50% { transform: rotate(6deg); } }
body.lt-easter .lt-art span { width: 46px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); } body.lt-easter .lt-art span.s { width: 36px; }
body.lt-easter .lt-art span:nth-child(2) { animation: ltWobble 2.4s ease-in-out infinite; } @keyframes ltWobble { 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } }
@media (max-width: 760px) { body.lt-valentine .lt-art span { width: 38px; } body.lt-valentine .lt-art span.s { width: 28px; } body.lt-martisor .lt-art span.m { width: 54px; } body.lt-martisor .lt-art span { width: 36px; } body.lt-easter .lt-art span { width: 32px; } body.lt-easter .lt-art span.s { width: 26px; } }
@media (prefers-reduced-motion: reduce) { .lt-fall i, .lt-art span { animation: none !important; } }
/* fereastra „Instalează Șeptică Online” (Mac / PC) */
.inst { text-align: center; }
.inst-ic img { width: 76px; height: 76px; border-radius: 18px; box-shadow: 0 8px 22px rgba(0, 0, 0, .4); }
.inst h2 { margin: 12px 0 6px; }
.inst-steps { text-align: left; margin: 12px auto 4px; max-width: 380px; padding-left: 22px; line-height: 1.6; }
.inst-steps li { margin: 6px 0; }
/* calculator (mouse) în landscape: butoanele de lângă suport mai scunde, ca zona de jos să ocupe mai puțin din ecran */
@media (pointer: fine) and (orientation: landscape) {
  body.land-tab #game { --sideBtnW: 156px; }
  body.land-tab #game .g-bottom .gbtn3 { padding: 4px 10px 4px 5px; margin-top: 6px; gap: 8px; border-radius: 11px; }
  body.land-tab #game .g-bottom .gbtn3 .ic { width: 30px; height: 30px; } body.land-tab #game .g-bottom .gbtn3 .ic svg { width: 17px; height: 17px; }
  body.land-tab #game .g-bottom .gbtn3 span { font-size: 14px; }
}
/* „Puncte pe tablă” — cât valorează piesele rămase pe suport */
.rackbox { position: relative; }
.rack-pts { position: absolute; right: 30px; top: -13px; z-index: 6; padding: 3px 10px; border-radius: 999px; font: 700 12px/1.3 Inter, sans-serif; color: #f3e6c4;
  background: linear-gradient(180deg, rgba(40, 22, 8, .95), rgba(24, 12, 4, .95)); border: 1px solid rgba(232, 199, 123, .55); box-shadow: 0 3px 8px rgba(0, 0, 0, .45); pointer-events: auto; cursor: help; white-space: nowrap; }
.rack-pts b { color: #ffd66b; font-weight: 900; }
.rack-pts.hidden { display: none; }
@media (max-width: 600px) { .rack-pts { right: 16px; top: -11px; font-size: 11px; padding: 2px 8px; } }

/* ===================================================================== SETĂRI (general + colecția mea) */
#modal[data-kind="settings"] .modal-card { width: min(520px, 100%); padding: 18px 18px 16px; max-height: 92vh; overflow: hidden auto; }
.st-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.st-head h2 { margin: 0; font-size: 24px; }
.st-x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #e8ecf5; font-size: 16px; cursor: pointer; }
.st-x:hover { background: rgba(255, 255, 255, .14); }
.st-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .08); margin-bottom: 14px; }
.st-seg button { border: 0; border-radius: 10px; padding: 10px 8px; font: 800 14px Inter, sans-serif; color: #b9c3d6; background: transparent; cursor: pointer; }
.st-seg button.on { background: linear-gradient(180deg, #f6c44e, #d99a17); color: #2a1a02; box-shadow: 0 3px 10px rgba(0, 0, 0, .3); }
.st-card { border-radius: 14px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); margin-bottom: 10px; overflow: hidden; }
.st-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; min-height: 48px; }
.st-row + .st-row { border-top: 1px solid rgba(255, 255, 255, .07); }
.st-l { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; color: #eef3ff; white-space: nowrap; }
.st-l i { font-style: normal; width: 22px; text-align: center; font-size: 16px; }
.st-row select { min-width: 0; max-width: 58%; padding: 8px 30px 8px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: #0d1626; color: #eef3ff; font: 700 14px Inter, sans-serif; }
.st-vol input[type=range] { flex: 1; max-width: 62%; accent-color: #f2b632; }
.st-lang { display: inline-flex; padding: 3px; border-radius: 10px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .1); }
.st-lang button { border: 0; padding: 6px 14px; border-radius: 8px; background: transparent; color: #b9c3d6; font: 800 13px Inter, sans-serif; cursor: pointer; }
.st-lang button.on { background: #2e9e4f; color: #fff; }
.st-links { padding: 2px 0; }
.st-link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 14px; border: 0; background: transparent; color: #eef3ff; font: 700 14.5px Inter, sans-serif; text-align: left; cursor: pointer; }
.st-link + .st-link { border-top: 1px solid rgba(255, 255, 255, .07); }
.st-link:hover { background: rgba(255, 255, 255, .05); }
.st-link i { font-style: normal; width: 22px; text-align: center; font-size: 16px; }
.st-link span { flex: 1; }
.st-link b { color: #8a96ad; font-size: 20px; line-height: 1; }
.st-out { display: block; width: 100%; margin-top: 4px; padding: 12px; border-radius: 12px; border: 1px solid rgba(255, 110, 90, .45); background: rgba(255, 80, 60, .08); color: #ff9a88; font: 800 14.5px Inter, sans-serif; cursor: pointer; }
.st-out:hover { background: rgba(255, 80, 60, .16); }
.st-login { display: block; width: 100%; margin-top: 4px; }
.st-empty { text-align: center; padding: 26px 10px; color: #c7d0e0; }
/* colecția mea */
.coll-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding-bottom: 4px; }
.coll-cats::-webkit-scrollbar { display: none; }
.coll-cats button { min-width: 0; display: block; overflow: hidden; text-overflow: ellipsis; text-align: center; padding: 8px 6px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: #d6deec; font: 700 13px Inter, sans-serif; cursor: pointer; white-space: nowrap; }
.coll-cats button span { margin-right: 5px; }
.coll-it { overflow: hidden; }
.coll-cats button.on { border-color: #f2b632; background: rgba(242, 182, 50, .16); color: #ffe39a; }
.coll-count { margin: 10px 2px 8px; font-size: 12.5px; color: #9aa6bd; }
.coll-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.coll-it { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 10px 8px 9px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); color: #eef3ff; cursor: pointer; font: inherit; text-align: center; transition: transform .12s, border-color .12s; }
.coll-it:hover { transform: translateY(-2px); border-color: rgba(242, 182, 50, .5); }
.coll-it.eq { border-color: #4fd36b; background: rgba(79, 211, 107, .08); box-shadow: 0 0 0 1px rgba(79, 211, 107, .35); }
.coll-it .prev { height: 64px; }
.coll-it .prev.emo { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle at 40% 30%, #6a3fd0, #2a0f63); box-shadow: 0 0 0 2px #ffe48f; }
.coll-it .prev.emo .emo-e { font-size: 34px; }
.coll-it .nm { font-size: 12.5px; font-weight: 700; line-height: 1.25; min-height: 2.5em; display: flex; align-items: center; justify-content: center; }
.coll-on, .coll-use, .coll-own { font: 800 11.5px Inter, sans-serif; padding: 5px 8px; border-radius: 8px; }
.coll-on { background: #2e9e4f; color: #fff; }
.coll-use { background: rgba(242, 182, 50, .16); color: #ffd66b; border: 1px solid rgba(242, 182, 50, .45); }
.coll-own { background: rgba(255, 255, 255, .08); color: #c7d0e0; }
.coll-more { justify-content: center; border-style: dashed; border-color: rgba(242, 182, 50, .55); background: rgba(242, 182, 50, .05); min-height: 150px; }
.coll-plus { font-size: 30px; line-height: 1; color: #f2b632; }
.coll-sub { font-size: 11.5px; color: #9aa6bd; }
@media (max-width: 420px) { .coll-cats { gap: 5px; } .coll-cats button { font-size: 11.5px; padding: 8px 3px; } .coll-cats button span { margin-right: 3px; } .coll-grid { grid-template-columns: repeat(2, 1fr); } .st-row select { max-width: 55%; } }

/* ---------- bara de derulare a ferestrelor: subțire, discretă, în interiorul colțurilor rotunjite ---------- */
.modal-card::-webkit-scrollbar { width: 10px; }
.modal-card::-webkit-scrollbar-track { background: transparent; margin: 18px 0; }
.modal-card::-webkit-scrollbar-thumb { background: rgba(242, 182, 50, .28); border-radius: 99px; border: 3px solid transparent; background-clip: padding-box; }
.modal-card::-webkit-scrollbar-thumb:hover { background-color: rgba(242, 182, 50, .55); }
.modal-card::-webkit-scrollbar-corner { background: transparent; }
@supports (-moz-appearance: none) { .modal-card { scrollbar-width: thin; scrollbar-color: rgba(242, 182, 50, .35) transparent; } }

/* ---------- VIP ---------- */
.vip-crown { display: inline-block; margin-left: 4px; font-size: .9em; line-height: 1; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); vertical-align: 1px; }
.vip-nm { background: linear-gradient(180deg, #fff1b8 0%, #f2c14e 45%, #c98a12 100%); -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent; font-weight: 800; }
.pname .vip-crown { font-size: 12px; margin-left: 3px; }
.pf-tag.vip { background: linear-gradient(135deg, #3a2a05, #6b4a0b); border-color: #f2c14e; color: #ffe39a; font-weight: 800; }
/* cardul VIP din Setări */
.st-vip { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 14px; margin: 0 0 12px; border-radius: 16px; cursor: pointer; text-align: left; color: #fff;
  border: 1.5px solid rgba(242, 193, 78, .75); background: radial-gradient(ellipse 70% 120% at 0% 0%, rgba(255, 214, 102, .28), transparent 60%), linear-gradient(135deg, #2a1a52, #120a2e);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .12); font: inherit; transition: transform .12s; }
.st-vip:hover { transform: translateY(-1px); }
.st-vip-c { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-size: 22px; background: radial-gradient(circle at 35% 30%, #ffe9a6, #d99a17); box-shadow: 0 0 14px rgba(242, 193, 78, .55); }
.st-vip-t { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.st-vip-t b { font-size: 15px; color: #ffe39a; }
.st-vip-t small { font-size: 12px; color: #c9c3e6; }
.st-vip-go { font-size: 22px; color: #f2c14e; }
/* magazin + colecție */
.shop-rib.vip { background: linear-gradient(135deg, #f7d77c, #c98a12); color: #2a1a00; }
.shop-item.vip { border-color: rgba(242, 193, 78, .6); }
.btn.vip-btn { background: linear-gradient(180deg, #ffe08a, #d99a17); color: #2a1a00; border: 0; font-weight: 800; }
.btn.vip-btn.sm { padding: 6px 12px; font-size: 13px; margin-left: auto; margin-right: 8px; }
.coll-it.vip { border-color: rgba(242, 193, 78, .45); }
.coll-vip { position: absolute; top: 6px; left: 6px; z-index: 3; padding: 2px 7px; border-radius: 99px; font: 800 10.5px Inter, sans-serif; font-style: normal; background: linear-gradient(135deg, #f7d77c, #c98a12); color: #2a1a00; }
.vip-daily { margin: 4px 0 10px; text-align: center; font-weight: 800; color: #ffe39a; }
/* fereastra VIP */
#modal[data-kind="vip"] .modal-card { width: min(540px, 100%); padding: 0 0 16px; max-height: 92vh; overflow: hidden auto; border-color: rgba(242, 193, 78, .8); }
.vip-hero { position: relative; padding: 26px 20px 20px; text-align: center; border-radius: 20px 20px 0 0;
  background: radial-gradient(ellipse 80% 90% at 50% 0%, rgba(255, 214, 102, .35), transparent 65%), linear-gradient(180deg, #2c1a5c, #150b35); }
.vip-hero .st-x { position: absolute; top: 12px; right: 12px; z-index: 3; }
.vip-crown-big { position: relative; z-index: 1; pointer-events: none; }
.vip-hero h2 { margin: 6px 0 4px; font-size: 26px; background: linear-gradient(180deg, #fff3c4, #f2c14e 55%, #c98a12); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.vip-hero p { margin: 0; color: #d9d3f2; }
.vip-hero p b { color: #ffe39a; }
.vip-crown-big { font-size: 46px; line-height: 1; filter: drop-shadow(0 4px 14px rgba(242, 193, 78, .6)); animation: vipFloat 3s ease-in-out infinite; }
@keyframes vipFloat { 50% { transform: translateY(-5px) rotate(-4deg); } }
.vip-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 16px 4px; }
.vip-perks > div { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.vip-perks span { flex: none; font-size: 20px; line-height: 1.2; }
.vip-perks p { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.vip-perks b { font-size: 13.5px; color: #fff; }
.vip-perks small { font-size: 11.5px; color: #aab4cc; line-height: 1.3; }
.vip-h { display: flex; align-items: baseline; gap: 8px; margin: 14px 16px 6px !important; font-size: 16px; }
.vip-h small { font-size: 12px; font-weight: 500; color: #aab4cc; }
.vip-frames { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 4px 16px 6px; }
.vip-fr { position: relative; display: grid; place-items: center; aspect-ratio: 1; padding: 0; border-radius: 14px; border: 1.5px solid transparent; background: rgba(255, 255, 255, .04); cursor: pointer; }
.vip-fr:hover { border-color: rgba(242, 193, 78, .5); }
.vip-fr.eq { border-color: #4fd36b; background: rgba(79, 211, 107, .1); }
.vip-fr .avatar { width: 46%; height: 46%; font-size: 14px; }
.vip-fr > i { position: absolute; top: 4px; right: 6px; font-style: normal; font-weight: 800; color: #4fd36b; font-size: 13px; }
.vip-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 16px 4px; }
.vip-plan { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px 12px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); }
.vip-plan.best { border-color: #f2c14e; background: rgba(242, 193, 78, .1); }
.vip-plan > i { position: absolute; top: -9px; padding: 2px 8px; border-radius: 99px; font: 800 10px Inter, sans-serif; font-style: normal; background: #f2c14e; color: #2a1a00; white-space: nowrap; }
.vip-plan b { font-size: 15px; }
.vip-plan span { font-size: 13px; color: #ffe39a; font-weight: 700; }
.btn.vip-buy { display: block; width: calc(100% - 32px); margin: 12px 16px 0; padding: 13px; font-size: 16px; font-weight: 800; border: 0; border-radius: 14px; background: linear-gradient(180deg, #ffe08a, #d99a17); color: #2a1a00; }
.btn.vip-buy:disabled { opacity: .55; cursor: default; }
.vip-note { margin: 8px 16px 0; text-align: center; font-size: 12.5px; color: #aab4cc; }
.vip-fair { margin: 12px 16px 0; text-align: center; font-size: 11.5px; color: #8f9ab3; }
@media (max-width: 420px) { .vip-perks { grid-template-columns: 1fr; } .vip-frames { grid-template-columns: repeat(4, 1fr); } }

/* ---------- VIP la masă: cartonaș auriu + avatar (cu rama) mai mare, ca rama să se vadă ---------- */
#game .seats-bar .pcard.vip { z-index: 2; overflow: visible; border-color: rgba(242, 193, 78, .85);
  background: linear-gradient(110deg, transparent 38%, rgba(255, 232, 160, .16) 50%, transparent 62%) 0 0 / 260% 100% no-repeat,
    linear-gradient(160deg, rgba(74, 54, 14, .94), rgba(28, 21, 9, .95) 55%, rgba(13, 15, 28, .96));
  box-shadow: 0 0 0 1px rgba(242, 193, 78, .22), 0 0 16px rgba(242, 193, 78, .22), 0 6px 16px rgba(0, 0, 0, .4);
  animation: vipSheen 5s linear infinite; }
#game .seats-bar .pcard.vip.turn { border-color: #ffe08a; box-shadow: 0 0 0 2px rgba(255, 224, 138, .55), 0 0 22px rgba(242, 193, 78, .45), 0 6px 16px rgba(0, 0, 0, .4); }
@keyframes vipSheen { from { background-position: 160% 0, 0 0; } to { background-position: -60% 0, 0 0; } }
/* avatar mai mare (spațiu real în rând, nu doar mărit), ca rama să nu acopere numele; pe verticală iese puțin din cartonaș */
#game .seats-bar .pcard.vip .avatar.framed { position: relative; z-index: 3; flex: none; width: 50px; height: 50px; margin: -5px 7px -5px 9px; font-size: 17px; border-color: transparent; }
@media (max-width: 760px) and (orientation: portrait), (max-width: 600px) {
  #game .seats-bar .pcard.vip .avatar.framed { width: 38px; height: 38px; margin: -5px 5px -5px 6px; font-size: 13px; }
  #game .seats-bar .pcard.vip .pname .flag, #game .seats-bar .pcard.vip .pclub { display: none; }
}
@media (max-height: 560px) and (orientation: landscape) {
  #game .seats-bar .pcard.vip .avatar.framed { width: 34px; height: 34px; margin: -6px 5px -6px 7px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { #game .seats-bar .pcard.vip { animation: none; } }


/* ---------- căutare jucători: globul care se rotește ---------- */
.mmg { position: relative; width: 128px; height: 128px; margin: 6px auto 16px; }
.mmg-halo { position: absolute; inset: -14px; border-radius: 50%; border: 1.5px dashed rgba(255, 224, 138, .4); animation: mmSpin 10s linear infinite; }
.mmg-ball { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 35% 30%, #4aa3ff, #1d4fd1 55%, #0b1f66);
  box-shadow: inset -14px -10px 24px rgba(0, 0, 0, .55), 0 0 30px rgba(74, 163, 255, .45); }
.mmg-ball::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 15px, rgba(255, 255, 255, .18) 15px 16px); animation: mmgRot 3s linear infinite; }
.mmg-ball::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 21px, rgba(255, 255, 255, .14) 21px 22px); }
.mmg-land { position: absolute; inset: 0; opacity: .85; background-size: 200% 100%; animation: mmgLand 6s linear infinite;
  background-image: radial-gradient(ellipse 18% 12% at 30% 35%, #3fbf6a 98%, transparent), radial-gradient(ellipse 14% 20% at 60% 55%, #3fbf6a 98%, transparent), radial-gradient(ellipse 12% 8% at 75% 30%, #3fbf6a 98%, transparent), radial-gradient(ellipse 10% 14% at 20% 70%, #3fbf6a 98%, transparent); }
@keyframes mmgRot { to { background-position: 32px 0; } }
@keyframes mmgLand { to { background-position: -200% 0; } }
.mmg-pin { position: absolute; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: #ffe08a; box-shadow: 0 0 10px #ffe08a; opacity: 0; transition: opacity .3s; }
.mmg-pin.on { opacity: 1; }
.mmg-pin.on::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #ffe08a; animation: mmgPing 1.4s ease-out infinite; }
@keyframes mmgPing { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
.mmg-flag { position: absolute; opacity: 0; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .5)); }
.mmg-flag .flag { width: 28px; height: auto; border-radius: 3px; display: block; }
.mmg-flag.on { animation: mmgFlag .5s cubic-bezier(.2, .9, .3, 1.5) forwards; }
@keyframes mmgFlag { 0% { opacity: 0; transform: translateY(10px) scale(.4); } 100% { opacity: 1; transform: none; } }
.mm-seat.ok .avatar { animation: mmgJoin .55s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes mmgJoin { 0% { transform: scale(0) rotate(-30deg); } 100% { transform: scale(1) rotate(0); } }
.mm.found h2 { color: #7dff9a; animation: mmgFound .5s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes mmgFound { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
.mm.found .mmg-ball::before, .mm.found .mmg-land { animation-play-state: paused; }
.mm-cancel:disabled { opacity: .45; cursor: default; }
@media (max-height: 560px) and (orientation: landscape) { .mmg { width: 76px; height: 76px; margin: 4px auto 8px; } .mmg-flag .flag { width: 20px; } }
@media (prefers-reduced-motion: reduce) { .mmg-halo, .mmg-ball::before, .mmg-land { animation: none; } }

/* ---------- credite muzică ---------- */
.credits ul { margin: 10px 0 12px; padding-left: 20px; display: grid; gap: 6px; }
.credits a { color: #ffd66b; }

/* meniul din joc: „Sunet de fundal” pe un rând, lista de alegere îngustă în dreapta */
.gm-amb .gm-tx b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-amb select { flex: none; width: auto; min-width: 0; max-width: 150px; }

/* ---------- calendarul lunii (în fereastra de bonus zilnic) ---------- */
.mo { margin: 14px 0 6px; padding: 12px 14px 10px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.mo-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 13.5px; }
.mo-h b { font-size: 15px; } .mo-h span { color: #c9d3ea; } .mo-h span b { color: #ffe39a; font-size: 14px; }
.mo-bar { position: relative; height: 10px; margin: 26px 16px 38px; border-radius: 99px; background: rgba(0, 0, 0, .35); }
.mo-bar > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, #f2b632, #ffe08a); }
.mo-ms { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); background: #1b2440;
  display: grid; place-items: center; padding: 0; cursor: default; color: #fff; font: inherit; }
.mo-ms b { font-size: 16px; line-height: 1; } .mo-ms small { position: absolute; top: 38px; white-space: nowrap; font-size: 10.5px; font-weight: 700; color: #a9bbe4; }
.mo-ms.got { background: #2e9e4f; border-color: #4fd36b; }
.mo-ms.can { cursor: pointer; background: linear-gradient(180deg, #ffe08a, #d99a17); border-color: #fff3c4; animation: moPulse 1.2s ease-in-out infinite; }
@keyframes moPulse { 50% { box-shadow: 0 0 0 6px rgba(255, 224, 138, .25), 0 0 18px rgba(255, 224, 138, .6); } }
.mo-next { margin: 0; font-size: 13px; color: #dfe7fb; text-align: center; } .mo-next b { color: #ffe39a; }
/* cadoul de revenire */
.cb { text-align: center; } .cb-ic { font-size: 54px; animation: vipFloat 2.4s ease-in-out infinite; }
.cb h2 { margin: 6px 0 4px; } .cb p b { color: #ffe39a; }
.cb-gift { display: flex; gap: 10px; justify-content: center; margin: 14px 0 6px; flex-wrap: wrap; }
.cb-gift span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 14px; font-weight: 900; font-size: 20px; background: rgba(242, 182, 50, .14); border: 1px solid rgba(242, 182, 50, .5); color: #ffe39a; }

/* misiunile săptămânii: aceeași listă, cu un accent auriu */
.missions.weekly .mis { border-color: rgba(242, 182, 50, .35); background: rgba(242, 182, 50, .07); }
.missions.weekly .mcoins em { font-style: normal; font-size: 12px; color: #ffe39a; margin-left: 4px; white-space: nowrap; }

/* ---------- statisticile mele (profil) ---------- */
.pf-chart { padding: 12px 14px 8px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.pf-chart-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: #a9bbe4; font-weight: 700; margin-bottom: 6px; }
.pf-chart-h b { font-size: 20px; } .pf-chart-h small { font-size: 12px; }
.pf-chart svg { display: block; width: 100%; height: 110px; }
.pf-chart-ax { display: flex; justify-content: space-between; font-size: 11px; color: #7f8aa6; font-weight: 700; margin-top: 2px; }
.pf-h4 { margin: 14px 0 6px; font-size: 14px; color: #dfe7fb; }
.pf-best, .pf-opp { display: grid; gap: 6px; }
.pf-bm, .pf-op { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.pf-bm > div, .pf-op { display: flex; flex-direction: column; } .pf-op { cursor: pointer; align-items: flex-start; }
.pf-bm small, .pf-op small { color: #a9bbe4; font-size: 12px; font-weight: 700; }
/* sugestii / probleme (Setări) și distribuire */
.fb h2 { margin: 0 0 6px; } .fb-sub { margin: 0 0 14px; color: var(--muted, #aab4c8); font-size: 14px; line-height: 1.45; }
.fb-kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.fb-kinds button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: inherit; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.fb-kinds button span { font-size: 22px; line-height: 1; }
.fb-kinds button.on { border-color: #f2c14e; background: rgba(242,193,78,.14); box-shadow: 0 0 0 1px #f2c14e inset; }
.fb textarea, .fb input { width: 100%; box-sizing: border-box; padding: 11px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(0,0,0,.25); color: inherit; font: inherit; font-size: 15px; resize: vertical; margin-bottom: 8px; }
.fb textarea:focus, .fb input:focus { outline: none; border-color: #f2c14e; }
.fb-note { margin: 0 0 4px; font-size: 12px; color: var(--muted, #aab4c8); min-height: 0; }
.share-in { width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); background: rgba(0,0,0,.25); color: inherit; font: inherit; margin: 6px 0 4px; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; } .share-row .btn { flex: 1; min-width: 100px; text-decoration: none; text-align: center; }
