/* Dvojlov: karty na stole. Vlastní teplá paleta (papír, inkoust, zlato), text a tlačítka z brand kitu (--lv-*, rodina games).
   Karta se škáluje jednou proměnnou --card (px šířky): vše na ní je v em (1em = 1/100 šířky karty). Pohyb jen přes --lv-dur-*. */
:root {
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px); --sal: env(safe-area-inset-left, 0px); --sar: env(safe-area-inset-right, 0px);
  --dv-bg1: #fff6e0; --dv-bg2: #ffd99a; --dv-surface: rgba(255, 255, 255, .9); --dv-surface-2: #fff0cc; --dv-line: rgba(120, 80, 20, .18);
  --dv-ink: #1c2230; --dv-ink2: #5b5446; --dv-card: #fffdf8; --dv-card-2: #f6ecd6; --dv-edge: #e3b04b;
  --dv-primary: #c8501a; --dv-primary2: #e0752b; --dv-on-primary: #fff; --dv-gold: #f5b82e; --dv-bad: #d6334a; --dv-ok: #1f8f4e;
  --dv-ice: #bfe6ff; --dv-ice2: #7cc3f2; --dv-w: 560px; --dur: var(--lv-dur-base, 220ms);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --dv-bg1: #141a2b; --dv-bg2: #232b48; --dv-surface: rgba(32, 40, 66, .92); --dv-surface-2: #2b3558; --dv-line: rgba(255, 255, 255, .14); --dv-ink: #f4efe6; --dv-ink2: #b9b4c8; --dv-primary: #e0752b; --dv-on-primary: #1b1208; }
}
:root[data-theme="dark"] { --dv-bg1: #141a2b; --dv-bg2: #232b48; --dv-surface: rgba(32, 40, 66, .92); --dv-surface-2: #2b3558; --dv-line: rgba(255, 255, 255, .14); --dv-ink: #f4efe6; --dv-ink2: #b9b4c8; --dv-primary: #e0752b; --dv-on-primary: #1b1208; }

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: var(--lv-font-rounded, ui-rounded, system-ui, sans-serif); color: var(--dv-ink); background: linear-gradient(180deg, var(--dv-bg1), var(--dv-bg2)) fixed; -webkit-tap-highlight-color: transparent; overscroll-behavior: none; }
html[data-screen="game"], html[data-screen="game"] body { height: 100%; overflow: hidden; user-select: none; -webkit-user-select: none; }
html[data-screen="game"] .lv-topbar, html[data-screen="game"] .lv-topfix { display: none; }
button { font: inherit; color: inherit; }
button:focus-visible, input:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--lv-focus, #2563eb); outline-offset: 2px; }
#dv-root { min-height: 100dvh; display: flex; justify-content: center; align-items: flex-start; padding: calc(var(--sat) + 10px) calc(var(--sar) + 16px) calc(var(--sab) + 18px) calc(var(--sal) + 16px); }
html[data-screen="game"] #dv-root { padding: 0; height: 100%; min-height: 0; align-items: stretch; }

/* ── stránky mimo hru: jedna šířka ── */
.dv-page { width: 100%; max-width: var(--dv-w); display: flex; flex-direction: column; gap: 12px; margin: 0 auto; }
.dv-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dv-brand { display: inline-flex; }
.dv-brand img { height: 22px; width: auto; }
.lv-logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lv-logo-light { display: none; } :root:not([data-theme="light"]) .lv-logo-dark { display: block; } }
:root[data-theme="dark"] .lv-logo-light { display: none; }
:root[data-theme="dark"] .lv-logo-dark { display: block; }
.dv-langs { display: flex; gap: 4px; margin-left: auto; }
.dv-flag { width: 44px; height: 34px; padding: 3px; border-radius: 10px; border: 2px solid transparent; background: transparent; cursor: pointer; opacity: .55; }
.dv-flag svg, .dv-flag .flag { display: block; width: 100%; height: 100%; border-radius: 4px; }
.dv-flag.on { opacity: 1; border-color: var(--dv-primary); background: var(--dv-surface); }
.dv-round { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; font-size: 18px; background: var(--dv-surface); box-shadow: 0 1px 4px rgba(40, 20, 0, .18); cursor: pointer; }
.dv-hero { text-align: center; }
.dv-title { display: flex; justify-content: center; gap: 2px; margin: 4px 0 0; font-size: clamp(38px, 12vw, 56px); font-weight: 900; letter-spacing: .02em; color: var(--dv-primary); }
.dv-title span { display: inline-block; animation: dvBob 2.8s ease-in-out infinite; animation-delay: calc(var(--i) * 110ms); }
.dv-title span:nth-child(3), .dv-title span:nth-child(7) { color: var(--dv-gold); text-shadow: 0 1px 0 rgba(120, 70, 0, .35); }
@keyframes dvBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.dv-tag { margin: 4px 0 0; text-align: center; font-size: 15px; line-height: 1.4; color: var(--dv-ink2); }
.dv-note-top { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--dv-surface); font-size: 14px; border: 1px solid var(--dv-line); }
.dv-off { margin: 0; padding: 10px 12px; border-radius: 12px; background: #fde4e7; color: #5d1220; font-size: 14px; line-height: 1.4; }
.dv-off[hidden] { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dv-off { background: #4a1d27; color: #ffd9de; } }
:root[data-theme="dark"] .dv-off { background: #4a1d27; color: #ffd9de; }
.dv-h { margin: 6px 0 2px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--dv-ink2); }
.dv-h2 { margin: 6px 0 0; font-size: 26px; text-align: center; }
.dv-set { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 20px; background: var(--dv-surface); border: 1px solid var(--dv-line); box-shadow: 0 6px 18px rgba(80, 50, 0, .08); }
.dv-chips, .dv-sub { display: flex; flex-wrap: wrap; gap: 8px; }
.dv-sub { align-items: center; padding-top: 4px; }
.dv-subtitle { width: 100%; font-size: 13px; color: var(--dv-ink2); }
.dv-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 14px; border: 2px solid var(--dv-line); border-radius: 16px; background: var(--dv-surface-2); font-weight: 700; font-size: 16px; cursor: pointer; }
.dv-chip.on { border-color: var(--dv-primary); background: var(--dv-surface); box-shadow: 0 0 0 3px rgba(224, 117, 43, .25); }
.dv-chip:disabled { opacity: .4; cursor: not-allowed; }
.dv-ic { font-style: normal; font-size: 20px; min-width: 26px; text-align: center; font-weight: 900; }
.dv-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; }
.dv-seg button { display: flex; flex-direction: column; align-items: center; gap: 1px; min-height: 52px; padding: 6px 4px; border: 2px solid var(--dv-line); border-radius: 14px; background: var(--dv-surface-2); cursor: pointer; }
.dv-seg button.on { border-color: var(--dv-primary); background: var(--dv-surface); box-shadow: 0 0 0 3px rgba(224, 117, 43, .25); }
.dv-seg b { font-size: 16px; } .dv-seg small { font-size: 12px; color: var(--dv-ink2); }
.dv-play { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; min-height: 66px; padding: 10px 16px; border: 0; border-radius: 20px; color: var(--dv-on-primary); background: linear-gradient(135deg, var(--dv-primary2), var(--dv-primary)); box-shadow: 0 6px 16px rgba(200, 80, 26, .35); cursor: pointer; }
.dv-play b { font-size: 24px; letter-spacing: .02em; } .dv-play small { font-size: 13px; font-weight: 600; opacity: .92; }
.dv-play:active { transform: scale(.98); } .dv-play:disabled { opacity: .5; cursor: not-allowed; }
.dv-btn { display: inline-flex; justify-content: center; align-items: center; width: 100%; min-height: 50px; padding: 10px 14px; border: 2px solid var(--dv-primary); border-radius: 16px; background: var(--dv-surface); font-weight: 800; font-size: 16px; cursor: pointer; color: var(--dv-ink); }
.dv-btn.primary { background: linear-gradient(135deg, var(--dv-primary2), var(--dv-primary)); color: var(--dv-on-primary); border-color: transparent; }
.dv-btn:disabled { opacity: .5; }
.dv-link { padding: 10px; border: 0; background: none; font-weight: 800; font-size: 15px; color: var(--dv-primary); cursor: pointer; text-decoration: underline; }
.dv-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dv-mode { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-height: 104px; padding: 12px; border: 1px solid var(--dv-line); border-radius: 18px; background: var(--dv-surface); text-align: left; cursor: pointer; box-shadow: 0 4px 12px rgba(80, 50, 0, .07); }
.dv-mode:disabled { opacity: .5; cursor: not-allowed; }
.dv-mode b { font-size: 16px; } .dv-mode small { font-size: 13px; line-height: 1.3; color: var(--dv-ink2); }
.dv-mi { font-size: 26px; line-height: 1; }
.dv-mode.robik { padding: 0; cursor: default; }
.dv-mode.robik > button { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 100%; padding: 12px 12px 4px; border: 0; background: none; text-align: left; cursor: pointer; }
.dv-mini { display: flex; gap: 4px; padding: 0 10px 10px; }
.dv-mini button { flex: 1; min-height: 32px; border: 1px solid var(--dv-line); border-radius: 10px; background: var(--dv-surface-2); font-size: 12px; font-weight: 700; cursor: pointer; }
.dv-mini button.on { border-color: var(--dv-primary); background: var(--dv-surface); }
.dv-flame { display: inline-block; margin-left: 4px; padding: 0 8px; border-radius: 999px; background: #ffe3b0; color: #6b3a00; font-size: 13px; }
.dv-flame.wait { opacity: .7; }
.dv-how { padding: 10px 14px; border-radius: 16px; background: var(--dv-surface); border: 1px solid var(--dv-line); }
.dv-how summary { font-weight: 800; cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.dv-how ol { margin: 8px 0 2px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.4; }

/* ── výsledky, parta ── */
.dv-hdone { margin: 6px 0 0; text-align: center; font-size: 28px; }
.dv-bigtime { margin: 0; text-align: center; font-size: clamp(52px, 17vw, 88px); font-weight: 900; font-variant-numeric: tabular-nums; color: var(--dv-primary); line-height: 1.05; }
.dv-big { margin: 0; text-align: center; font-size: 72px; line-height: 1.1; }
.dv-recline { margin: 0; text-align: center; font-weight: 800; }
.dv-recline.new { color: var(--dv-ok); }
.dv-meta, .dv-rank, .dv-streak, .dv-quote { margin: 0; text-align: center; font-size: 15px; color: var(--dv-ink2); }
.dv-rank { font-size: 20px; font-weight: 900; color: var(--dv-ink); }
.dv-quote { font-size: 18px; color: var(--dv-ink); }
.dv-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.dv-learn, .dv-nick { padding: 12px 14px; border-radius: 18px; background: var(--dv-surface); border: 1px solid var(--dv-line); }
.dv-learn h3, .dv-nick h3, .dv-sec { margin: 6px 0 6px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--dv-ink2); }
.dv-learn ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dv-learn li { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 18px; }
.dv-learn li span { color: var(--dv-ink2); } .dv-learn li small { margin-left: auto; font-size: 12px; color: var(--dv-ink2); }
.dv-board, .dv-players { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.dv-board li, .dv-players li { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 12px; border-radius: 12px; background: var(--dv-surface); border: 1px solid var(--dv-line); }
.dv-board li.me, .dv-players li.me { border-color: var(--dv-primary); background: var(--dv-surface-2); }
.dv-board li span { width: 34px; font-weight: 900; } .dv-board li b { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dv-board li em { font-style: normal; font-variant-numeric: tabular-nums; font-weight: 800; }
.dv-players li.off { opacity: .55; } .dv-players b { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dv-players em { font-style: normal; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--dv-surface-2); } .dv-players em.ok { color: var(--dv-ok); font-weight: 900; }
.dv-pdot { width: 10px; height: 10px; border-radius: 50%; background: var(--dv-ok); } .dv-players li.off .dv-pdot { background: #999; }
.dv-x { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; font-size: 15px; color: var(--dv-ink2); }
.dv-form { display: flex; flex-direction: column; gap: 10px; }
.dv-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.dv-form input, .dv-nickrow input { min-height: 50px; padding: 8px 14px; border: 2px solid var(--dv-line); border-radius: 14px; font: inherit; font-size: 18px; background: var(--dv-surface); color: var(--dv-ink); }
.dv-form.join { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--dv-line); }
.dv-form.join input { text-transform: uppercase; letter-spacing: .3em; text-align: center; font-weight: 900; }
.dv-nickrow { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; } .dv-nickrow input { flex: 1; min-width: 0; }
.dv-err { color: var(--dv-bad); font-size: 14px; font-weight: 700; }
.dv-fine { margin: 8px 0 0; font-size: 12px; color: var(--dv-ink2); } .dv-fine a { color: inherit; }
.dv-hint { margin: 0; font-size: 13px; color: var(--dv-ink2); }
.dv-lobby .dv-bubble { position: fixed; }
.dv-chip:disabled, .dv-seg button:disabled { opacity: .45; cursor: not-allowed; }
.dv-codebox { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 20px; background: var(--dv-surface); border: 1px solid var(--dv-line); }
.dv-codebox small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--dv-ink2); }
.dv-code { font-size: clamp(40px, 13vw, 60px); font-weight: 900; letter-spacing: .12em; color: var(--dv-primary); }
.dv-qr { width: 120px; height: 120px; flex: none; border-radius: 12px; padding: 6px; background: #fff; }
.dv-net { position: fixed; left: 50%; bottom: calc(var(--sab) + 10px); transform: translateX(-50%); z-index: 30; margin: 0; padding: 8px 14px; border-radius: 12px; background: var(--dv-ink); color: var(--dv-bg1); font-size: 14px; max-width: 92vw; }
.dv-net[hidden] { display: none; }

/* ── hra ── */
.dv-game { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; padding: var(--sat) var(--sar) var(--sab) var(--sal); }
.dv-hud { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 2px 8px; min-height: 40px; }
.dv-hud .dv-round { width: 36px; height: 36px; font-size: 16px; }
.dv-clock { font-size: 20px; font-weight: 900; font-variant-numeric: tabular-nums; }
.dv-game { --reserve: 50px; }
.dv-game[data-mode="robik"], .dv-game[data-mode="match"] { --reserve: 78px; }
.dv-seats { flex: 1; min-height: 0; display: flex; flex-direction: column; width: 100%; margin: 0 auto; }
/* karta: průměr z menšího z (šířka − 14 px, polovina výšky pod horní lištou); okraj na straně jen ~7 px */
.dv-seat { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  --card: min(calc(100vw - var(--sal) - var(--sar) - 14px), calc((100dvh - var(--sat) - var(--sab) - var(--reserve)) / 2), 760px); --fx: 0; --fy: 110%; }
.dv-seatinfo { position: absolute; left: 8px; top: 2px; z-index: 2; font-size: 12px; font-weight: 800; color: var(--dv-ink2); pointer-events: none; }
.dv-pair { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.dv-slot { position: relative; width: var(--card); height: var(--card); display: grid; place-items: center; }
.dv-seat.flip180 { transform: rotate(180deg); }
@media (min-aspect-ratio: 5/4) {
  .dv-game:not([data-mode="tablet"]) .dv-seat { --card: min(calc((100vw - var(--sal) - var(--sar) - 26px) / 2), calc(100dvh - var(--sat) - var(--sab) - var(--reserve) - 6px), 900px); --fx: 110%; --fy: 0; }
  .dv-game:not([data-mode="tablet"]) .dv-pair { flex-direction: row; gap: 12px; }
  .dv-game[data-mode="tablet"] .dv-hud { left: 10px !important; transform: translateY(-50%) !important; flex-direction: column; }
}
.dv-game[data-mode="tablet"] .dv-seat { --card: min(calc((100vw - var(--sal) - var(--sar) - 20px) / 2), calc(50dvh - 12px), 760px); --fx: 110%; --fy: 0; }
.dv-game[data-mode="tablet"] .dv-pair { flex-direction: row; gap: 8px; }
.dv-game[data-mode="tablet"] .dv-hud { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 5; gap: 14px; padding: 4px; min-height: 0; }
.dv-game[data-mode="tablet"] .dv-seat { padding: 4px 0; }
.dv-card { position: relative; width: var(--card); height: var(--card); border-radius: 50%; font-size: calc(var(--card) / 100); color: #1c2230;
  background: radial-gradient(circle at 34% 28%, #ffffff, var(--dv-card) 55%, var(--dv-card-2)); border: .55em solid var(--dv-edge);
  box-shadow: 0 .8em 2.4em rgba(60, 30, 0, .28), inset 0 0 0 .35em rgba(255, 255, 255, .85); }
.dv-slot.center .dv-card { border-color: #c9c3d6; }
.dv-card.empty { display: grid; place-items: center; font-size: calc(var(--card) / 4); background: var(--dv-surface-2); border-style: dashed; }
.dv-sym { position: absolute; display: grid; place-items: center; padding: 0; margin: 0; border: 0; border-radius: 50%; background: transparent; font: inherit; color: #1c2230; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.dv-slot.center .dv-sym { pointer-events: none; }
.dv-slot.mine .dv-sym:active { background: rgba(224, 117, 43, .22); transform: scale(.94); }
.dv-g { display: block; text-align: center; font-weight: 800; line-height: 1.06; white-space: nowrap; pointer-events: none; font-family: var(--lv-font-rounded, ui-rounded, system-ui, sans-serif); }
.dv-g.e { line-height: 1; font-weight: 400; }
.dv-sym.gold::after { content: ""; position: absolute; inset: 2%; border-radius: 50%; border: .8em solid var(--dv-gold); box-shadow: 0 0 1.6em rgba(245, 184, 46, .85), inset 0 0 1em rgba(245, 184, 46, .5); pointer-events: none; animation: dvGlow 2.4s ease-in-out infinite; }
@keyframes dvGlow { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.dv-card.flip { animation: dvFlip var(--dur) var(--lv-ease-enter, ease-out); }
.dv-card.deal { animation: dvDeal var(--dur) var(--lv-ease-enter, ease-out); }
@keyframes dvFlip { from { transform: translate(var(--fx), var(--fy)) scale(1.04) rotate(-10deg); opacity: .35; } to { transform: none; opacity: 1; } }
@keyframes dvDeal { from { transform: scale(.92); opacity: .25; } to { transform: none; opacity: 1; } }
.dv-card.bad { animation: dvBad .5s; } .dv-card.shake { animation: dvShake .3s; } .dv-card.tap { animation: dvTap .18s; }
@keyframes dvBad { 0%, 100% { transform: none; } 20% { transform: translateX(-3%); background: #ffd6dc; } 45% { transform: translateX(3%); } 70% { transform: translateX(-2%); } }
@keyframes dvShake { 0%, 100% { transform: none; } 30% { transform: translateX(-2%); } 70% { transform: translateX(2%); } }
@keyframes dvTap { 50% { transform: scale(.97); } }
.dv-ice { position: absolute; inset: 0; z-index: 3; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: calc(var(--card) / 100);
  background: radial-gradient(circle at 35% 30%, rgba(235, 248, 255, .95), rgba(150, 205, 245, .95)); color: #134a73; box-shadow: inset 0 0 3em rgba(255, 255, 255, .9); }
.dv-sym .dv-g.ex, .dv-sym .dv-g.num { grid-area: 1 / 1; }
.dv-card.reveal .dv-g.ex { animation: dvEx .35s ease forwards; }
.dv-card.reveal .dv-g.num { animation: dvNum .35s ease both; }
@keyframes dvEx { 0%, 30% { opacity: 1; scale: 1; } 70%, 100% { opacity: 0; scale: .55; } }
@keyframes dvNum { 0%, 30% { opacity: 0; scale: 1.6; } 75%, 100% { opacity: 1; scale: 1; } }
@media (prefers-reduced-motion: reduce) { .dv-card.reveal .dv-g.ex { display: none; } .dv-card.reveal .dv-g.num { animation: none; } }
.dv-ice small { font-size: 7em; font-weight: 800; opacity: .8; }
.dv-ice b { font-size: 24em; line-height: 1; } .dv-ice span { font-size: 14em; font-weight: 900; font-variant-numeric: tabular-nums; }
.dv-seat.frozen .dv-slot.mine .dv-sym { pointer-events: none; }
.dv-opp, .dv-opps { flex: none; display: flex; align-items: center; gap: 6px; margin: 0 auto; width: 100%; max-width: 560px; padding: 0 10px 2px; font-size: 12px; font-weight: 800; min-height: 22px; }
.dv-opp i { flex: 1; height: 8px; border-radius: 999px; background: var(--dv-surface-2); overflow: hidden; } .dv-opp i b { display: block; height: 100%; background: linear-gradient(90deg, var(--dv-gold), var(--dv-primary)); transition: width var(--dur); }
.dv-opp em { font-style: normal; font-size: 12px; color: var(--dv-ink2); min-width: 64px; text-align: right; }
.dv-opps { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
.dv-opps::-webkit-scrollbar { display: none; }
.dv-oppchip { flex: none; display: flex; align-items: center; gap: 5px; padding: 1px 8px; border-radius: 10px; background: var(--dv-surface); border: 1px solid var(--dv-line); font-size: 12px; }
.dv-oppchip b { max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dv-oppchip i { width: 32px; height: 6px; border-radius: 999px; background: var(--dv-surface-2); overflow: hidden; } .dv-oppchip u { display: block; height: 100%; background: var(--dv-primary); text-decoration: none; }
.dv-oppchip em { font-style: normal; font-weight: 900; font-variant-numeric: tabular-nums; }
.dv-oppchip.ice { background: var(--dv-ice); color: #134a73; } .dv-oppchip.off { opacity: .5; }
.dv-bubble { position: absolute; left: 50%; top: calc(var(--sat) + 40px); transform: translateX(-50%); z-index: 6; margin: 0; padding: 6px 12px; border-radius: 14px; background: var(--dv-ink); color: var(--dv-bg1); font-weight: 700; font-size: 14px; opacity: .96; pointer-events: none; max-width: 92vw; text-align: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.dv-bubble[hidden] { display: none; }
.dv-tabres { min-height: calc(100dvh - 30px); justify-content: space-between; } .dv-tabhalf.flip180 { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .dv-title span, .dv-sym.gold::after, .dv-card.flip, .dv-card.deal, .dv-card.bad, .dv-card.shake { animation: none; } }

/* ── odpočet před hrou a upoutávka (stejná komponenta jako Slovolov, js/promo-kit.js; žádné třídy „ad-“, „banner“) ── */
.dv-countdown { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0 12px;
  background: linear-gradient(180deg, var(--dv-bg1), var(--dv-bg2)); overflow: hidden; }
.dv-cdx { position: absolute; top: calc(var(--sat) + 10px); left: calc(var(--sal) + 10px); }
.dv-cdhint { margin: 0; font-size: 20px; font-weight: 800; color: var(--dv-ink2); text-align: center; }
.dv-cdnum { max-width: 100%; text-align: center; font-size: clamp(96px, 30vmin, 200px); line-height: 1; font-weight: 900; color: var(--dv-primary); text-shadow: 0 6px 0 rgba(255, 255, 255, .55); min-height: 1.1em; white-space: nowrap; }
.dv-cdnum.word { font-size: min(15vw, 22vmin, 120px); }   /* „Hrajeme!“ se vejde celé i na 320 px */
.dv-cdnum.pop { animation: dvCdPop .45s cubic-bezier(.2, 1.5, .4, 1); }
@keyframes dvCdPop { from { transform: scale(.55); opacity: 0; } }
.dv-promo { position: fixed; z-index: 51; top: calc(var(--sat) + 60px); left: 50%; transform: translateX(-50%);
  width: min(520px, calc(100% - 32px)); background: rgba(255, 255, 255, .95); border-radius: 22px; padding: 8px 12px 12px; color: #123a44;
  box-shadow: 0 16px 44px rgba(6, 36, 44, .32); backdrop-filter: blur(8px); text-align: left; animation: dv-promo-in .45s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes dv-promo-in { from { transform: translate(-50%, -24px); opacity: 0; } }
.dv-promo-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; font-size: 11.5px; color: #4d6b72; }
.dv-promo-label { font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding-top: 3px; }
.dv-promo-why { text-align: right; max-width: 70%; }
.dv-promo-why summary { cursor: pointer; text-decoration: underline; list-style: none; padding: 2px 0; }
.dv-promo-why summary::-webkit-details-marker { display: none; }
.dv-promo-why p { margin: 4px 0 6px; text-align: left; font-size: 12px; line-height: 1.35; color: #34545c; }
.dv-promo-body { display: flex; gap: 12px; align-items: center; margin-top: 4px; color: #123a44; text-decoration: none; }
/* zápas proti ostatním: obsah odpočtu (kdo proti komu) se pod kartičku posune */
html[data-promo] #dv-root { padding-top: max(calc(var(--sat) + 250px), var(--dv-promo-h, 0px)); }
@media (orientation: landscape) and (max-height: 500px) { html[data-promo] #dv-root { padding-top: max(calc(var(--sat) + 150px), var(--dv-promo-h, 0px)); } }
.dv-promo-img { width: clamp(96px, 30vw, 132px); height: auto; flex: none; filter: drop-shadow(0 6px 10px rgba(6, 36, 44, .18)); transform: rotate(-3deg); }
.dv-promo-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dv-promo-badge { align-self: flex-start; padding: 3px 11px 2px; border-radius: 999px; background: #ffd23f; color: #1a1033; font-weight: 900;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.25; box-shadow: 0 3px 0 #e0a800, 0 6px 14px rgba(255, 186, 0, .35);
  transform: rotate(-2deg); animation: dv-badge-pop .5s .25s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes dv-badge-pop { from { transform: rotate(-2deg) scale(.4); opacity: 0; } }
.dv-promo-headline { font-size: clamp(17px, 4.6vw, 22px); line-height: 1.15; font-weight: 900; }
.dv-promo-claim { font-size: 13.5px; line-height: 1.3; color: #34545c; }
.dv-promo-cta { align-self: flex-start; margin-top: 4px; padding: 9px 14px; min-height: 40px; border-radius: 999px; background: var(--dv-primary); color: #fff;
  font-weight: 900; font-size: 14px; line-height: 22px; box-shadow: 0 4px 0 #0a5a62; }
.dv-promo-skip { position: fixed; z-index: 51; left: 50%; bottom: calc(var(--sab) + 22px); transform: translateX(-50%); min-height: 48px; padding: 0 26px;
  border: 0; border-radius: 999px; background: rgba(6, 36, 44, .78); color: #fff; font: 900 17px var(--lv-font-rounded, system-ui); cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.dv-promo-skip:focus-visible, .dv-promo a:focus-visible, .dv-promo summary:focus-visible { outline: 3px solid #ffd23f; outline-offset: 2px; }
@media (orientation: landscape) and (max-height: 500px) {
  .dv-promo { top: calc(var(--sat) + 8px); width: min(560px, calc(100% - 140px)); padding: 6px 10px 8px; }
  .dv-promo-img { width: 76px; } .dv-promo-claim { display: none; } .dv-promo-skip { bottom: 12px; }
  .sl-cdnum { font-size: clamp(64px, 24vmin, 120px); }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .dv-promo { background: rgba(9, 40, 48, .95); }
  :root:not([data-theme="light"]) .dv-promo-body, :root:not([data-theme="light"]) .dv-promo-headline { color: #e8fbfa; }
  :root:not([data-theme="light"]) .dv-promo-claim, :root:not([data-theme="light"]) .dv-promo-why p { color: #bfe3e1; }
  :root:not([data-theme="light"]) .dv-promo-head { color: #9fd3d0; }
  :root:not([data-theme="light"]) .sl-cdnum { color: #8fe0dc; text-shadow: none; }
}
:root[data-theme="dark"] .dv-promo { background: rgba(9, 40, 48, .95); }
:root[data-theme="dark"] .dv-promo-body, :root[data-theme="dark"] .dv-promo-headline { color: #e8fbfa; }
:root[data-theme="dark"] .dv-promo-claim, :root[data-theme="dark"] .dv-promo-why p { color: #bfe3e1; }
:root[data-theme="dark"] .dv-promo-head { color: #9fd3d0; }
:root[data-theme="dark"] .sl-cdnum { color: #8fe0dc; text-shadow: none; }
@media (prefers-reduced-motion: reduce) { .dv-promo, .sl-cdnum.pop { animation: none; } .dv-promo-img { transform: none; } .dv-promo-badge { animation: none; } }
