/* ClipOnTap — tři plochy s tvrdým řezem: černá (stream), žlutá (peníze), šedý papír (čtení).
   Jedno písmo Archivo: zúžené 900 jako titulky v klipu, normální šířka na čtení. */
@font-face { font-family: Archivo; src: url(../fonts/archivo-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Archivo; src: url(../fonts/archivo-latin.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --k: #000; --y: #ffd400; --p: #ededed; --w: #fff; --red: #ff3b2f; --green: #12a150;
  --mut-k: #a3a3a3; --mut-p: #4d4d4d; --line-k: #2e2e2e; --line-p: #c4c4c4; --panel-k: #121212;
  --font: Archivo, "Arial Narrow", Arial, sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --bar-h: 60px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); }
body { margin: 0; background: var(--k); color: var(--w); font: 420 17px/1.5 var(--font); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: .08em; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 2px; }
.s-y :focus-visible, .on-y :focus-visible { outline-color: var(--k); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--y); color: var(--k); padding: 10px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }
[hidden] { display: none !important; }

/* Titulkové písmo: zúžené, těžké, verzálky */
.cap, h1, h2 { font-stretch: 62%; font-weight: 900; text-transform: uppercase; line-height: .95; letter-spacing: -.005em; }
.num { font-stretch: 62%; font-weight: 900; font-variant-numeric: tabular-nums; line-height: .9; }
.tc { font-variant-numeric: tabular-nums; font-weight: 600; font-stretch: 88%; letter-spacing: .01em; }

/* ---------- tlačítka ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border: 2px solid transparent; border-radius: 0; background: none; cursor: pointer; text-decoration: none;
  font-weight: 800; font-stretch: 88%; font-size: 16px; line-height: 1.1; white-space: nowrap; transition: transform .12s ease; }
.btn:active { transform: translateY(1px); }
.btn-y { background: var(--y); color: var(--k); border-color: var(--y); }
.btn-y:hover { background: var(--w); border-color: var(--w); }
.btn-k { background: var(--k); color: var(--w); border-color: var(--k); }
.btn-k:hover { background: var(--w); color: var(--k); }
.btn-o { border-color: currentColor; }
.btn-o:hover { background: var(--k); color: var(--w); border-color: var(--k); }
.s-k .btn-o:hover, .hero .btn-o:hover { background: var(--w); color: var(--k); border-color: var(--w); }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .5; cursor: wait; }
.btn-s { min-height: 38px; padding: 0 14px; font-size: 14px; }
.play-i { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

/* ---------- horní lišta ---------- */
.bar { position: sticky; top: 0; z-index: 50; height: var(--bar-h); display: flex; align-items: center; gap: 28px;
  padding: 0 var(--gut); background: var(--k); color: var(--w); border-bottom: 1px solid var(--line-k); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-stretch: 62%; font-weight: 900; font-size: 27px; letter-spacing: .01em; line-height: 1; }
.mark { width: 28px; height: 28px; flex: none; }
.nav { display: flex; align-items: center; gap: 4px 26px; margin-left: auto; font-size: 15px; font-weight: 550; }
.nav a { text-decoration: none; padding: 8px 0; }
.nav a:not(.btn):hover, .nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--y); }
.nav-auth { display: inline-flex; align-items: center; gap: 22px; margin-left: 10px; }
.nav a.lang { font-size: 13px; font-weight: 750; padding: 3px 7px; box-shadow: inset 0 0 0 1px #5a5a5a; }
.nav a.lang:hover { box-shadow: inset 0 0 0 1px var(--y); color: var(--y); }
.nav .btn { min-height: 38px; padding: 0 16px; font-size: 15px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; }
.burger i { display: block; width: 24px; height: 3px; background: var(--w); margin: 6px auto; transition: transform .18s ease; }
.burger[aria-expanded=true] i:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded=true] i:last-child { transform: translateY(-4.5px) rotate(-45deg); }
@media (max-width: 1100px) {
  .burger { display: block; }
  .nav { display: none; position: absolute; top: var(--bar-h); left: 0; right: 0; background: var(--k); flex-direction: column;
    align-items: stretch; gap: 0; padding: 8px var(--gut) 22px; border-bottom: 1px solid var(--line-k); font-size: 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line-k); }
  .nav a:not(.btn):hover, .nav a[aria-current] { box-shadow: none; color: var(--y); }
  .nav-auth { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav a.lang { box-shadow: none; padding: 13px 0; font-size: 20px; font-weight: 550; }
  .nav .btn { margin-top: 16px; min-height: 50px; border-bottom: 2px solid var(--y); font-size: 17px; }
}

/* ---------- sekce ---------- */
.s { padding: clamp(64px, 9vw, 132px) var(--gut); position: relative; }
.s-k { background: var(--k); color: var(--w); }
.s-p { background: var(--p); color: var(--k); }
.s-y { background: var(--y); color: var(--k); }
.s-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: clamp(36px, 5vw, 72px); max-width: 1500px; }
.s-head h2 { font-size: clamp(46px, 8.4vw, 132px); text-wrap: balance; }
.s-head p { max-width: 58ch; font-size: clamp(17px, 1.35vw, 21px); }
.s-p .s-head p, .s-p .muted { color: var(--mut-p); }
.s-k .s-head p, .s-k .muted { color: var(--mut-k); }
.chapter { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }
.chapter::before { content: ""; width: 26px; height: 2px; background: currentColor; }

/* ---------- úvod: stream ---------- */
.hero { position: relative; background: var(--k); min-height: max(620px, calc(100svh - var(--bar-h))); display: grid;
  grid-template-rows: auto 1fr auto; overflow: hidden; isolation: isolate; }
#stream { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.live { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 18px var(--gut) 0; font-size: 14px; color: var(--mut-k); }
.live b { color: var(--w); display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-stretch: 88%; }
.live b::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.hero-copy { padding: clamp(10px, 2.2vh, 30px) var(--gut) 0; max-width: min(1080px, 72vw); align-self: start; }
.hero h1 { font-size: clamp(56px, min(8.3vw, 14vh), 168px); margin-bottom: clamp(16px, 2.4vh, 30px); }
.hero h1 .w { display: inline-block; padding: 0 .07em; margin: 0 -.07em; }
.hero h1 .w.hl { background: var(--y); color: var(--k); }
.hero-sub { max-width: 47ch; font-size: clamp(17px, 1.4vw, 21px); color: #d6d6d6; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(18px, 2.8vh, 34px); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0; padding: 0 var(--gut) 22px; align-self: end; margin-top: 204px; }
.hero-facts div { display: flex; align-items: baseline; gap: 10px; padding-right: 26px; margin-right: 26px; border-right: 1px solid var(--line-k); font-size: 14px; color: var(--mut-k); }
.hero-facts div:last-child { border: 0; margin: 0; padding: 0; }
.hero-facts b { font-size: 30px; color: var(--w); }
@media (max-width: 760px) {
  .hero-copy { max-width: none; }
  .hero-facts { margin-top: 222px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
  .hero-facts div { border: 0; padding: 0; margin: 0; }
  .hero-facts b { font-size: 24px; }
}

/* ---------- jak to funguje: čtyři kroky ---------- */
.steps-rows { border-top: 2px solid var(--k); }
.step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 90px); padding: clamp(28px, 4vw, 56px) 0;
  border-bottom: 1px solid var(--line-p); align-items: center; }
.step:last-child { border-bottom: 2px solid var(--k); }
.step h3 { font-stretch: 62%; font-weight: 900; text-transform: uppercase; line-height: .96; font-size: clamp(34px, 4.4vw, 68px); margin: 12px 0 14px; text-wrap: balance; }
.step p { max-width: 46ch; color: var(--mut-p); }
.step .tc { font-size: 15px; }
.fig { background: var(--k); color: var(--w); padding: clamp(16px, 2.2vw, 30px); min-width: 0; }
.fig-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-k); font-size: 15px; }
.fig-row:first-child { padding-top: 0; }
.fig-row:last-child { border: 0; padding-bottom: 0; }
.fig-row small { display: block; color: var(--mut-k); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fig-row b { font-weight: 700; }
.pf { width: 34px; height: 34px; display: grid; place-items: center; background: var(--w); color: var(--k); font-weight: 900; font-stretch: 62%; font-size: 17px; }
.tag { display: inline-block; padding: 3px 8px; font-size: 12px; font-weight: 800; font-stretch: 88%; background: var(--w); color: var(--k); white-space: nowrap; }
.tag-ok { background: var(--y); }
.tag-no { background: none; color: var(--mut-k); box-shadow: inset 0 0 0 1px var(--line-k); }
.tag-fail { background: #ff9f43; } .tag-glitch { background: #7ad3ff; } .tag-rage { background: var(--red); color: var(--w); } .tag-wow { background: #6fe39a; }
.wave { display: block; width: 100%; height: 170px; }
.fig-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.fig-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; margin-top: 14px; font-size: 13px; color: var(--mut-k); }
.fig-clip { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 30px); align-items: center; }
.fig-clip ul { display: grid; gap: 0; font-size: 15px; }
.fig-clip li { padding: 10px 0; border-bottom: 1px solid var(--line-k); display: flex; gap: 10px; }
.fig-clip li:last-child { border: 0; }
.fig-clip li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 7px; background: var(--y); }
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.slot { min-width: 0; }
.slot .tc { display: block; font-size: 14px; margin-bottom: 6px; }
.slot span { display: block; font-size: 12px; color: var(--mut-k); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fig-approve { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-k); font-size: 14px; color: var(--mut-k); }
@media (max-width: 860px) { .step { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .fig-clip { grid-template-columns: minmax(0, 120px) minmax(0, 1fr); } .fig-clip ul { font-size: 14px; } }

/* Klip na výšku s titulky (sdílené: kroky, ukázka, přihlášení) */
.clip { position: relative; aspect-ratio: 9 / 16; background: #1a1a1a center / cover no-repeat; overflow: hidden; container-type: inline-size; }
.clip-hook { position: absolute; left: 6%; right: 6%; top: 5%; background: var(--w); color: var(--k); font-stretch: 62%; font-weight: 900; text-transform: uppercase;
  font-size: 9.5cqw; line-height: 1; padding: .22em .3em; text-align: center; }
.clip-sub { position: absolute; left: 4%; right: 4%; top: 36%; text-align: center; font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: 13cqw; line-height: 1.02;
  color: var(--w); -webkit-text-stroke: .09em var(--k); paint-order: stroke fill; text-shadow: 0 .06em 0 var(--k); }
.clip-sub mark { background: none; color: var(--y); }
.clip-credit { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6em .6em .6em; font-size: 5.6cqw; font-weight: 700; text-align: center;
  background: linear-gradient(transparent, rgba(0,0,0,.82)); }

/* ---------- peníze: kalkulačka ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.presets button { background: none; border: 2px solid var(--k); padding: 8px 14px; cursor: pointer; font-weight: 750; font-size: 15px; }
.presets button[aria-pressed=true] { background: var(--k); color: var(--y); }
.preset-note { min-height: 3em; font-size: 15px; margin: -10px 0 22px; max-width: 52ch; }
.field-r { padding: 16px 0; border-top: 2px solid var(--k); }
.field-r:last-of-type { border-bottom: 2px solid var(--k); }
.field-r label { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; font-weight: 650; }
.field-r output { font-size: clamp(30px, 3.4vw, 46px); white-space: nowrap; }
.field-r small { display: block; font-size: 14px; margin-top: 4px; max-width: 56ch; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: none; margin: 4px 0 0; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; background: linear-gradient(var(--k), var(--k)) 0 / var(--fill, 50%) 100% no-repeat, rgba(0,0,0,.2); }
input[type=range]::-moz-range-track { height: 6px; background: rgba(0,0,0,.2); }
input[type=range]::-moz-range-progress { height: 6px; background: var(--k); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 30px; background: var(--k); margin-top: -12px; border: 0; }
input[type=range]::-moz-range-thumb { width: 22px; height: 30px; background: var(--k); border: 0; border-radius: 0; }
.result { background: var(--k); color: var(--w); padding: clamp(20px, 2.6vw, 38px); position: sticky; top: calc(var(--bar-h) + 20px); }
.result-main { display: block; font-size: clamp(64px, 8.6vw, 142px); color: var(--y); white-space: nowrap; }
.result-main.neg { color: var(--w); }
.result-label { color: var(--mut-k); font-size: 15px; margin: 8px 0 22px; max-width: 40ch; }
.result dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; font-size: 15px; }
.result dt, .result dd { margin: 0; padding: 10px 0; border-top: 1px solid var(--line-k); }
.result dd { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.result .sum dt, .result .sum dd { border-top: 2px solid var(--w); font-weight: 800; }
.result select { background: var(--k); color: var(--w); border: 1px solid #5a5a5a; border-radius: 0; padding: 3px 6px; margin-left: 8px; font-size: 14px; }
.result-even { margin-top: 18px; font-size: 15px; color: #d6d6d6; }
.result-even b { color: var(--y); white-space: nowrap; }
.truth { margin-top: clamp(40px, 5vw, 76px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 96px); border-top: 2px solid var(--k); padding-top: 26px; }
.truth h3 { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 50px); line-height: .92; margin-bottom: 14px; }
.truth p { max-width: 44ch; }
.truth p + p { margin-top: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid rgba(0,0,0,.28); vertical-align: top; }
.tbl thead th { font-size: 13px; font-weight: 650; border-bottom: 2px solid var(--k); }
.tbl td:nth-child(2) { font-weight: 800; white-space: nowrap; }
.tbl caption { caption-side: bottom; text-align: left; font-size: 13px; padding-top: 12px; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 900px) { .calc, .truth { grid-template-columns: minmax(0, 1fr); } .result { position: static; } }

/* ---------- co běží samo ---------- */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 0; border-top: 2px solid var(--w); }
.split > div { padding: 26px 0 0; min-width: 0; }
.split > div + div { border-left: 1px solid var(--line-k); padding-left: clamp(18px, 3vw, 48px); margin-left: clamp(18px, 3vw, 48px); }
.split h3 { font-size: 15px; font-weight: 650; color: var(--mut-k); margin-bottom: 8px; }
.split li { padding: 13px 0; border-bottom: 1px solid var(--line-k); font-size: clamp(18px, 1.7vw, 24px); font-weight: 600; font-stretch: 88%; display: flex; gap: 14px; align-items: baseline; }
.split li span { color: var(--mut-k); font-size: 14px; font-weight: 420; font-stretch: 100%; margin-left: auto; text-align: right; }
.split .auto li::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--y); transform: translateY(-2px); }
.split .you li::before { content: ""; flex: none; width: 10px; height: 10px; box-shadow: inset 0 0 0 2px var(--w); transform: translateY(-2px); }
.auto-cols { columns: 2; column-gap: clamp(18px, 3vw, 48px); }
.auto-cols li { break-inside: avoid; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split > div + div { border-left: 0; padding-left: 0; margin-left: 0; margin-top: 30px; }
  .auto-cols { columns: 1; } .split li span { display: none; } }

/* ---------- fér hra ---------- */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--k); border-bottom: 2px solid var(--k); }
.rules article { padding: clamp(22px, 3vw, 44px) clamp(16px, 2.4vw, 36px) clamp(22px, 3vw, 44px) 0; min-width: 0; }
.rules article + article { border-left: 1px solid var(--line-p); padding-left: clamp(16px, 2.4vw, 36px); }
.rules h3 { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(38px, 5vw, 78px); line-height: .96; margin-bottom: 16px; text-wrap: balance; }
.rules p { color: var(--mut-p); max-width: 38ch; }
@media (max-width: 820px) { .rules { grid-template-columns: minmax(0, 1fr); } .rules article + article { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-p); } }

/* ---------- video ---------- */
.film { position: relative; background: var(--k); }
.film video { width: 100%; aspect-ratio: 16 / 9; background: #0c0c0c; }
.film-wrap { max-width: 1500px; }
.film-note { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 14px; font-size: 14px; color: var(--mut-k); }
dialog.video { border: 0; padding: 0; background: var(--k); width: min(1280px, 96vw); max-width: none; color: var(--w); }
dialog.video::backdrop { background: rgba(0,0,0,.86); }
dialog.video video { width: 100%; aspect-ratio: 16 / 9; }
dialog.video form { position: absolute; top: 0; right: 0; }
dialog.video button { background: var(--y); color: var(--k); border: 0; width: 44px; height: 44px; font-size: 22px; font-weight: 900; cursor: pointer; }

/* ---------- ceník ---------- */
.period { display: inline-flex; border: 2px solid var(--k); margin-bottom: 26px; max-width: 100%; }
.period button { background: none; border: 0; padding: 10px 16px; cursor: pointer; font-weight: 750; font-size: 15px; }
.period button.on { background: var(--k); color: var(--w); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--k); border-bottom: 2px solid var(--k); }
.plan { padding: clamp(22px, 2.6vw, 38px) clamp(16px, 2.2vw, 34px); min-width: 0; display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--line-p); }
.plan-hot { background: var(--y); }
.plan h3 { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(38px, 4vw, 60px); line-height: .9; }
.plan-for { color: var(--mut-p); margin: 8px 0 22px; min-height: 3em; }
.plan-hot .plan-for { color: #222; }
.plan-price b { font-stretch: 62%; font-weight: 900; font-size: clamp(64px, 7.4vw, 116px); line-height: .86; font-variant-numeric: tabular-nums; }
.plan-price span { font-weight: 650; white-space: nowrap; }
.plan-bill { font-size: 14px; color: var(--mut-p); margin: 8px 0 22px; min-height: 2.9em; }
.plan-hot .plan-bill { color: #222; }
.plan .btn { align-self: stretch; }
.plan ul { margin-top: 24px; font-size: 15.5px; }
.plan li { padding: 10px 0; border-top: 1px solid rgba(0,0,0,.2); }
.plan li em { font-style: normal; font-size: 12px; font-weight: 700; margin-left: 6px; padding: 2px 6px; box-shadow: inset 0 0 0 1px currentColor; white-space: nowrap; }
.plans-note { margin-top: 20px; max-width: 76ch; color: var(--mut-p); font-size: 15px; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan + .plan { border-left: 0; border-top: 1px solid var(--line-p); }
  .plan-for, .plan-bill { min-height: 0; } }

/* ---------- otázky ---------- */
.faq { max-width: 1040px; border-top: 2px solid var(--k); }
.faq details { border-bottom: 1px solid var(--line-p); }
.faq details:last-child { border-bottom: 2px solid var(--k); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 46px 20px 0; position: relative; font-size: clamp(20px, 2vw, 27px); font-weight: 750; font-stretch: 88%; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-52%); font-size: 34px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { padding: 0 0 24px; max-width: 68ch; color: var(--mut-p); }

/* ---------- závěr ---------- */
.end { text-align: left; }
.end h2 { font-size: clamp(56px, 11.6vw, 208px); margin-bottom: clamp(22px, 3vw, 40px); text-wrap: balance; }
.end p { max-width: 50ch; margin-bottom: 26px; font-size: clamp(17px, 1.35vw, 21px); }

/* ---------- přehrávač dole (kapitoly stránky) ---------- */
.scrub { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--k); color: var(--w); border-top: 1px solid var(--line-k);
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px; padding: 0 var(--gut); height: 46px; font-size: 13px;
  transform: translateY(100%); transition: transform .25s ease; }
.scrub.on { transform: none; }
.scrub-time { color: var(--mut-k); white-space: nowrap; }
.scrub-time b { color: var(--w); font-weight: 600; }
.scrub-track { position: relative; height: 46px; display: flex; }
.scrub-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: var(--line-k); }
.scrub-fill { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; background: var(--y); width: 100%; transform-origin: 0 50%; transform: scaleX(0); }
.scrub-track a { position: relative; flex: var(--w, 1) 1 0; min-width: 0; display: flex; align-items: center; text-decoration: none; color: var(--mut-k);
  padding-left: 8px; white-space: nowrap; overflow: hidden; }
.scrub-track a::before { content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 14px; margin-top: -7px; background: var(--k); box-shadow: 0 0 0 1px var(--k); }
.scrub-track a span { position: relative; background: var(--k); padding: 2px 8px 2px 4px; }
.scrub-track a:hover, .scrub-track a.on { color: var(--w); }
.scrub-track a.on span { color: var(--y); }
.p-uvod .foot { padding-bottom: 86px; }
@media (max-width: 900px) { .scrub { height: 4px; padding: 0; border: 0; top: var(--bar-h); bottom: auto; transform: none; position: fixed; background: none; }
  .scrub-time, .scrub-track a { display: none; } .scrub-track { height: 4px; } .scrub-track::before { background: none; } .p-uvod .foot { padding-bottom: 40px; } }

/* ---------- patička ---------- */
.foot { background: var(--k); color: var(--w); padding: clamp(40px, 5vw, 72px) var(--gut) 40px; border-top: 1px solid var(--line-k); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)); gap: 32px clamp(20px, 4vw, 70px); }
.foot-brand p { color: var(--mut-k); max-width: 34ch; margin-top: 14px; }
.foot h2 { font: 650 13px/1.3 var(--font); font-stretch: 100%; text-transform: none; letter-spacing: 0; color: var(--mut-k); margin-bottom: 10px; }
.foot li { padding: 4px 0; }
.foot a { text-decoration: none; overflow-wrap: anywhere; }
.foot nav { min-width: 0; }
.foot a:hover { text-decoration: underline; }
.foot-note, .foot-legal { color: var(--mut-k); font-size: 13px; max-width: 110ch; margin-top: 30px; }
.foot-note a { color: var(--w); text-decoration: underline; }
.foot-legal { margin-top: 10px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* ---------- listy (návody, právní, správa) ---------- */
.sheet { background: var(--p); color: var(--k); padding: clamp(36px, 5vw, 80px) var(--gut) clamp(60px, 7vw, 110px); min-height: 70vh; }
.sheet.narrow { max-width: none; }
.sheet-head { margin-bottom: clamp(26px, 4vw, 56px); }
.sheet h1 { font-size: clamp(48px, 8vw, 124px); text-wrap: balance; margin-bottom: 16px; }
.sheet-head p, .lead { font-size: clamp(18px, 1.5vw, 22px); max-width: 58ch; color: var(--mut-p); }
.sheet h2 { font-size: clamp(30px, 3.2vw, 46px); margin: 44px 0 14px; }
.guides { border-top: 2px solid var(--k); counter-reset: g; max-width: 1200px; }
.guides li { border-bottom: 1px solid var(--line-p); counter-increment: g; }
.guides a { display: grid; grid-template-columns: 3.2ch minmax(0, 5fr) minmax(0, 6fr) auto; gap: 8px 22px; align-items: baseline; padding: 18px 0; text-decoration: none; }
.guides a::before { content: counter(g, decimal-leading-zero); font-variant-numeric: tabular-nums; color: var(--mut-p); font-size: 14px; }
.guides b { font-size: clamp(20px, 2vw, 28px); font-weight: 800; font-stretch: 88%; line-height: 1.15; }
.guides span { color: var(--mut-p); font-size: 15.5px; }
.guides i { font-style: normal; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.guides a:hover b { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--y); }
@media (max-width: 760px) { .guides a { grid-template-columns: 3.2ch minmax(0, 1fr) auto; } .guides span { grid-column: 2 / -1; } }

.doc { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: clamp(24px, 5vw, 90px); align-items: start; }
.doc-side { position: sticky; top: calc(var(--bar-h) + 24px); font-size: 15px; }
.doc-side h2 { font: 650 13px/1.3 var(--font); font-stretch: 100%; text-transform: none; color: var(--mut-p); margin: 0 0 10px; }
.doc-side h2 a { text-decoration: none; }
.doc-side li a { display: block; padding: 7px 0 7px 12px; border-left: 2px solid var(--line-p); text-decoration: none; color: var(--mut-p); }
.doc-side li a:hover { color: var(--k); }
.doc-side li a[aria-current] { border-left-color: var(--k); color: var(--k); font-weight: 700; }
.doc-main { min-width: 0; max-width: 820px; }
.doc-main h1 { font-size: clamp(42px, 6vw, 92px); }
.doc-facts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 18px; font-size: 14px; }
.doc-facts span { padding: 4px 10px; box-shadow: inset 0 0 0 1px var(--k); }
.doc-toc { margin: 30px 0 0; padding: 16px 0; border-top: 2px solid var(--k); border-bottom: 1px solid var(--line-p); font-size: 15px; }
.doc-toc ul { columns: 2; column-gap: 30px; }
.doc-toc li { padding: 3px 0; break-inside: avoid; }
.doc-next { display: block; margin-top: 50px; padding: 20px 0; border-top: 2px solid var(--k); border-bottom: 2px solid var(--k); text-decoration: none; }
.doc-next span { display: block; font-size: 14px; color: var(--mut-p); }
.doc-next b { font-size: clamp(24px, 2.6vw, 36px); font-stretch: 62%; font-weight: 900; text-transform: uppercase; line-height: 1; }
.doc-next:hover b { background: var(--y); }
@media (max-width: 860px) { .doc { grid-template-columns: minmax(0, 1fr); } .doc-side { position: static; order: 2; border-top: 2px solid var(--k); padding-top: 20px; }
  .doc-toc ul { columns: 1; } }

.prose { margin-top: 34px; font-size: 17.5px; line-height: 1.6; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-stretch: 88%; font-weight: 850; text-transform: none; font-size: clamp(25px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.01em; margin: 2em 0 0; padding-top: .8em; border-top: 1px solid var(--line-p); }
.prose h3 { font-size: 19px; font-weight: 800; margin-top: 1.7em; }
.prose a { text-decoration: underline; text-decoration-color: var(--k); }
.prose a:hover { background: var(--y); }
.prose ul { list-style: none; }
.prose ul > li { position: relative; padding-left: 1.3em; margin-top: .45em; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--k); }
.prose ol { counter-reset: n; }
.prose ol > li { position: relative; padding-left: 2.5em; margin-top: .7em; counter-increment: n; }
.prose ol > li::before { content: counter(n); position: absolute; left: 0; top: .05em; width: 1.7em; height: 1.7em; display: grid; place-items: center;
  background: var(--k); color: var(--w); font-weight: 800; font-size: .86em; font-variant-numeric: tabular-nums; }
.prose ol.steps > li::before { background: var(--y); color: var(--k); }
.prose code { font: 600 .92em/1.3 ui-monospace, Consolas, monospace; background: rgba(0,0,0,.08); padding: .1em .35em; overflow-wrap: anywhere; }
.prose pre { background: var(--k); color: var(--w); padding: 18px 20px; overflow-x: auto; white-space: pre-wrap; font: 500 15px/1.55 ui-monospace, Consolas, monospace; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--line-p); vertical-align: top; min-width: 120px; }
.prose thead th { border-bottom: 2px solid var(--k); font-size: 14px; }
.note, .warn { padding: 16px 20px; border-left: 6px solid var(--k); background: var(--w); font-size: 16px; }
.note > * + *, .warn > * + * { margin-top: .6em; }
.warn { border-left-color: var(--red); }
.doc-main > header .warn { margin-top: 20px; }
.grid-table { border-collapse: collapse; font-size: 14.5px; width: 100%; }
.grid-table th, .grid-table td { text-align: left; padding: 8px 16px 8px 0; border-bottom: 1px solid var(--line-p); white-space: nowrap; }

/* ---------- přihlášení a registrace ---------- */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100svh - var(--bar-h)); background: var(--p); color: var(--k); }
.auth-side { background: var(--k); color: var(--w); padding: clamp(28px, 4vw, 64px) var(--gut); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; overflow: hidden; }
.auth-side h2 { font-size: clamp(44px, 6.2vw, 104px); }
.auth-side ul { display: grid; gap: 0; max-width: 46ch; }
.auth-side li { padding: 12px 0; border-top: 1px solid var(--line-k); color: #d6d6d6; display: flex; gap: 12px; }
.auth-side li::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--y); margin-top: 8px; }
.auth-box { padding: clamp(28px, 4vw, 64px) var(--gut); max-width: 620px; width: 100%; align-self: center; }
.auth > .auth-box:only-child { grid-column: 1 / -1; justify-self: center; }
.auth-box h1 { font-size: clamp(44px, 5.4vw, 84px); margin-bottom: 12px; }
.auth-lead { color: var(--mut-p); margin-bottom: 26px; max-width: 46ch; }
.form { display: grid; gap: 16px; }
.f label, .f > span { display: block; font-weight: 650; font-size: 15px; margin-bottom: 6px; }
.f input[type=text], .f input[type=email], .f input[type=password], .f select { width: 100%; height: 52px; padding: 0 14px; background: var(--w); border: 2px solid var(--k); border-radius: 0; font-size: 17px; }
.f input:focus-visible { outline: 3px solid var(--y); outline-offset: 0; }
.f small { display: block; margin-top: 6px; font-size: 14px; color: var(--mut-p); }
.f-pw { position: relative; }
.f-pw button { position: absolute; right: 2px; top: 2px; height: 48px; padding: 0 12px; background: var(--w); border: 0; cursor: pointer; font-size: 14px; font-weight: 650; }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; line-height: 1.4; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; border: 2px solid var(--k); background: var(--w); margin: 0; cursor: pointer; display: grid; place-items: center; }
.check input:checked { background: var(--k); }
.check input:checked::after { content: ""; width: 12px; height: 6px; border-left: 3px solid var(--y); border-bottom: 3px solid var(--y); transform: rotate(-45deg) translate(1px, -1px); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 12px 14px; font-size: 15px; font-weight: 600; background: var(--k); color: var(--w); border-left: 6px solid var(--red); }
.form-msg.ok { border-left-color: var(--green); }
.auth-alt { margin-top: 22px; font-size: 15px; color: var(--mut-p); }
.auth-alt a { color: var(--k); font-weight: 700; }
.meter { height: 6px; background: rgba(0,0,0,.14); margin-top: 8px; }
.meter i { display: block; height: 100%; width: 0; background: var(--k); transition: width .15s ease; }
@media (max-width: 860px) { .auth { grid-template-columns: minmax(0, 1fr); } .auth-side { display: none; } }

/* ---------- účet ---------- */
.acct-top { background: var(--k); color: var(--w); padding: clamp(28px, 4vw, 56px) var(--gut) clamp(24px, 3vw, 40px); }
.acct-top h1 { font-size: clamp(44px, 7vw, 108px); }
.acct-state { display: flex; flex-wrap: wrap; gap: 0; margin-top: 26px; border-top: 1px solid var(--line-k); }
.acct-state div { padding: 14px 30px 0 0; margin-right: 30px; border-right: 1px solid var(--line-k); min-width: 0; }
.acct-state div:last-child { border: 0; }
.acct-state span { display: block; font-size: 13px; color: var(--mut-k); }
.acct-state b { font-stretch: 62%; font-weight: 900; font-size: clamp(26px, 3vw, 40px); text-transform: uppercase; line-height: 1.05; }
.banner { background: var(--y); color: var(--k); padding: 12px var(--gut); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-weight: 600; font-size: 15px; }
.banner button { background: var(--k); color: var(--w); border: 0; padding: 8px 14px; cursor: pointer; font-weight: 700; }
.acct { background: var(--p); color: var(--k); display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); padding: clamp(28px, 4vw, 60px) var(--gut) 100px; align-items: start; }
.acct-nav { position: sticky; top: calc(var(--bar-h) + 24px); display: grid; font-size: 16px; }
.acct-nav a, .acct-nav button { text-align: left; padding: 9px 0 9px 12px; border: 0; border-left: 2px solid var(--line-p); background: none; text-decoration: none; cursor: pointer; color: var(--mut-p); font-weight: 600; }
.acct-nav a:hover, .acct-nav button:hover { color: var(--k); border-left-color: var(--k); }
.acct-main { min-width: 0; max-width: 1080px; }
.block { padding-bottom: clamp(40px, 5vw, 70px); }
.block > h2 { font-size: clamp(38px, 4.6vw, 68px); padding-top: 14px; border-top: 2px solid var(--k); margin-bottom: 8px; }
.block > p.muted { color: var(--mut-p); max-width: 62ch; margin-bottom: 22px; }
.todo { border-top: 1px solid var(--line-p); }
.todo li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-p); }
.todo input { appearance: none; -webkit-appearance: none; width: 28px; height: 28px; border: 2px solid var(--k); background: var(--w); margin: 0; cursor: pointer; display: grid; place-items: center; }
.todo input:checked { background: var(--k); }
.todo input:checked::after { content: ""; width: 13px; height: 7px; border-left: 3px solid var(--y); border-bottom: 3px solid var(--y); transform: rotate(-45deg) translate(1px, -1px); }
.todo b { display: block; font-weight: 750; font-size: 18px; font-stretch: 88%; }
.todo span { color: var(--mut-p); font-size: 15px; }
.todo li.done b { text-decoration: line-through; text-decoration-thickness: 2px; }
.progress { height: 8px; background: rgba(0,0,0,.14); margin: 0 0 20px; max-width: 420px; }
.progress i { display: block; height: 100%; background: var(--k); width: 0; transition: width .2s ease; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 4vw, 60px); }
.opt { padding: 16px 0; border-top: 1px solid var(--line-p); min-width: 0; }
.opt > span:first-child, .opt > label:first-child { display: block; font-weight: 700; margin-bottom: 8px; }
.opt > label.switch { display: flex; margin-bottom: 0; }
.opt small { display: block; color: var(--mut-p); font-size: 14px; margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 7px 12px; border: 2px solid var(--k); font-weight: 700; font-size: 14.5px; background: var(--w); }
.chips input:checked + span { background: var(--k); color: var(--y); }
.chips input:focus-visible + span { outline: 3px solid var(--y); outline-offset: 2px; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; }
.switch input { appearance: none; -webkit-appearance: none; width: 48px; height: 26px; border: 2px solid var(--k); background: var(--w); margin: 0; position: relative; cursor: pointer; flex: none; }
.switch input::after { content: ""; position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; background: var(--k); transition: transform .12s ease; }
.switch input:checked { background: var(--y); }
.switch input:checked::after { transform: translateX(22px); }
.opt input[type=text], .opt input[type=number], .opt input[type=password], .opt select { height: 46px; padding: 0 12px; background: var(--w); border: 2px solid var(--k); border-radius: 0; width: 100%; max-width: 420px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; }
.saved { font-size: 14px; color: var(--mut-p); }
.danger { border: 2px solid var(--red); padding: 18px 20px; margin-top: 26px; max-width: 640px; }
.danger h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.danger p { color: var(--mut-p); font-size: 15px; margin-bottom: 12px; }
.plan-now { background: var(--k); color: var(--w); padding: 20px 22px; margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: center; justify-content: space-between; }
.plan-now b { font-stretch: 62%; font-weight: 900; font-size: 34px; text-transform: uppercase; line-height: 1; color: var(--y); }
.plan-now p { color: var(--mut-k); font-size: 15px; max-width: 60ch; }
.block .plans-wrap .plan { padding-left: clamp(12px, 1.6vw, 22px); padding-right: clamp(12px, 1.6vw, 22px); }
.block .plan-price b { font-size: clamp(54px, 5.4vw, 84px); }
@media (max-width: 860px) { .acct { grid-template-columns: minmax(0, 1fr); } .acct-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); } .opts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- ukázka studia ---------- */
.demo-flag { background: var(--y); color: var(--k); padding: 10px var(--gut); font-size: 14.5px; font-weight: 600; display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; justify-content: space-between; }
.demo-flag a { font-weight: 800; }
.studio { background: var(--k); color: var(--w); padding: 22px var(--gut) 70px; }
.studio-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 30px; padding-bottom: 20px; border-bottom: 1px solid var(--line-k); }
.studio-top h1 { font-size: clamp(40px, 5.6vw, 84px); }
.clock { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 14px; color: var(--mut-k); }
.clock b { font-size: 34px; color: var(--w); min-width: 3.3ch; }
.clock button { background: none; border: 1px solid var(--line-k); color: var(--w); padding: 7px 12px; cursor: pointer; font-weight: 700; font-size: 14px; }
.clock button[aria-pressed=true] { background: var(--w); color: var(--k); border-color: var(--w); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line-k); }
.kpi { padding: 18px 20px 18px 0; min-width: 0; }
.kpi + .kpi { border-left: 1px solid var(--line-k); padding-left: 20px; }
.kpi span { display: block; font-size: 13px; color: var(--mut-k); }
.kpi b { display: block; font-size: clamp(34px, 4.6vw, 70px); white-space: nowrap; }
.kpi.money b { color: var(--y); }
.studio-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: clamp(18px, 2.4vw, 40px); padding-top: 24px; align-items: start; }
.col h2 { font-size: 26px; margin-bottom: 4px; }
.col > p { color: var(--mut-k); font-size: 14px; margin-bottom: 14px; }
.queue { display: grid; gap: 0; border-top: 1px solid var(--line-k); }
.q { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-k); cursor: pointer; }
.q.sel { box-shadow: inset 4px 0 0 var(--y); padding-left: 12px; }
.q .clip { width: 62px; }
.q b { display: block; font-weight: 750; font-stretch: 88%; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q small { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; color: var(--mut-k); font-size: 13px; margin-top: 5px; }
.q-act { display: flex; gap: 6px; }
.q-act button { width: 42px; height: 42px; border: 1px solid var(--line-k); background: none; color: var(--w); cursor: pointer; font-size: 18px; font-weight: 800; }
.q-act .yes { background: var(--y); color: var(--k); border-color: var(--y); }
.q-act button:hover { border-color: var(--w); }
.empty { padding: 26px 0; color: var(--mut-k); font-size: 15px; }
.preview .clip { max-width: 300px; margin: 0 auto; }
.preview-meta { margin-top: 12px; font-size: 14px; color: var(--mut-k); text-align: center; }
.sched { border-top: 1px solid var(--line-k); }
.sc { display: grid; grid-template-columns: 5.2ch 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line-k); font-size: 14px; }
.sc .clip { width: 34px; }
.sc.free { color: var(--mut-k); }
.sc.free .ph { width: 34px; aspect-ratio: 9 / 16; box-shadow: inset 0 0 0 1px var(--line-k); }
.sc b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.sc small { color: var(--mut-k); display: block; font-size: 12.5px; }
.sc .v { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.sc .v small { font-weight: 420; }
.sc.hit .v { color: var(--y); }
.assume { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-k); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; font-size: 14px; }
.assume label { display: block; color: var(--mut-k); }
.assume input { width: 100%; height: 42px; margin-top: 6px; background: var(--panel-k); border: 1px solid var(--line-k); padding: 0 10px; color: var(--w); border-radius: 0; }
.assume p { grid-column: 1 / -1; color: var(--mut-k); font-size: 13px; }
.assume a { color: var(--w); }
.studio-end { margin-top: 40px; padding-top: 26px; border-top: 2px solid var(--w); display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; }
.studio-end p { max-width: 60ch; color: #d6d6d6; }
@media (max-width: 1080px) { .studio-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .preview { display: none; } }
@media (max-width: 720px) { .studio-grid { grid-template-columns: minmax(0, 1fr); } .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi:nth-child(3) { border-left: 0; padding-left: 0; } .kpi:nth-child(n+3) { border-top: 1px solid var(--line-k); } }

/* ---------- drobnosti ---------- */
#toast { position: fixed; left: 16px; bottom: 62px; z-index: 80; max-width: min(460px, calc(100vw - 32px)); background: var(--w); color: var(--k); padding: 12px 16px; font-weight: 650;
  border-left: 6px solid var(--green); transform: translateY(20px); opacity: 0; pointer-events: none; transition: transform .18s ease, opacity .18s ease; }
#toast.on { transform: none; opacity: 1; }
#toast.err { border-left-color: var(--red); }
.lost { background: var(--k); color: var(--w); min-height: 72vh; padding: clamp(40px, 8vw, 120px) var(--gut); }
.lost h1 { font-size: clamp(70px, 17vw, 300px); }
.lost p { max-width: 44ch; margin: 18px 0 26px; color: #d6d6d6; font-size: 19px; }

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

/* ---------- stránka s videem: plakát a lišty ---------- */
.p-watch main, .rail { background: var(--k); color: var(--w); }
.bb { position: relative; min-height: max(560px, calc(100svh - var(--bar-h))); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.bb-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bb-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.7) 36%, rgba(0,0,0,0) 72%), linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 36%); }
.bb-copy { padding: 120px var(--gut) clamp(36px, 7vh, 88px); max-width: min(900px, 100%); }
.bb-kind { display: flex; align-items: center; gap: 10px; font-weight: 800; font-stretch: 88%; letter-spacing: .16em; text-transform: uppercase; font-size: 14px; margin-bottom: 14px; }
.bb-mark { width: 16px; height: 16px; background: var(--y); }
.bb h1 { font-size: clamp(44px, min(7.2vw, 12vh), 128px); margin-bottom: 16px; text-wrap: balance; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 650; margin-bottom: 14px; }
.tags span { padding: 3px 9px; box-shadow: inset 0 0 0 1px #8a8a8a; white-space: nowrap; }
.tags .tag-free { background: var(--y); color: var(--k); box-shadow: none; }
.bb-syn { max-width: 56ch; color: #e2e2e2; font-size: clamp(16px, 1.3vw, 20px); margin-bottom: 22px; text-wrap: pretty; }
.bb-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.bb-cta .btn { min-height: 56px; }
.btn-w { background: var(--w); color: var(--k); border-color: var(--w); padding: 0 32px; font-size: 19px; }
.btn-w:hover { background: var(--y); border-color: var(--y); }
.btn-g { background: rgba(125,125,125,.5); color: var(--w); }
.btn-g:hover { background: rgba(170,170,170,.6); }
.bb-mute { position: absolute; right: var(--gut); bottom: clamp(36px, 7vh, 88px); width: 48px; height: 48px; border: 2px solid var(--w); background: rgba(0,0,0,.45); cursor: pointer; display: grid; place-items: center; }
.bb-mute i, .pl-mute i { width: 24px; height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4'%3E%3Cpath fill='%23fff' d='M3 9h4l5-4v14l-5-4H3z'/%3E%3Cpath d='M16 9l5 6M21 9l-5 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.bb-mute[aria-pressed=true] i, .pl:not(.muted) .pl-mute i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4'%3E%3Cpath fill='%23fff' d='M3 9h4l5-4v14l-5-4H3z'/%3E%3Cpath d='M16 8.5a5 5 0 0 1 0 7M18.6 6a8.5 8.5 0 0 1 0 12'/%3E%3C/svg%3E"); }
.rail { padding: 22px 0 6px; }
.rail h2 { font-size: clamp(26px, 2.6vw, 38px); padding: 0 var(--gut); margin-bottom: 10px; }
.rail-track { display: flex; gap: 12px; overflow-x: auto; padding: 8px var(--gut) 22px; scroll-snap-type: x proximity; scroll-padding-left: var(--gut); scrollbar-width: thin; scrollbar-color: #4a4a4a transparent; }
.rail-track > * { flex: none; scroll-snap-align: start; position: relative; text-decoration: none; color: inherit; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; transition: transform .16s ease; }
.rail-track > *:hover, .rail-track > *:focus-visible { transform: translateY(-6px); }
.card16 { width: clamp(236px, 24vw, 340px); }
.card9 { width: clamp(156px, 15vw, 216px); }
.card16 img, .card9 img { width: 100%; object-fit: cover; background: var(--panel-k); }
.card16 img { aspect-ratio: 16 / 9; } .card9 img { aspect-ratio: 9 / 16; }
.card16:hover img, .card9:hover img, .card16:focus-visible img, .card9:focus-visible img { outline: 3px solid var(--y); outline-offset: -3px; }
.card16 b, .card9 b { display: block; margin-top: 8px; font-weight: 800; font-stretch: 88%; font-size: 17px; line-height: 1.2; }
.card16 > span, .card9 > span:last-child { display: block; color: var(--mut-k); font-size: 13.5px; margin-top: 2px; }
.num-ch { position: absolute; left: 10px; top: 4px; font-style: normal; font-stretch: 62%; font-weight: 900; font-size: 58px; line-height: 1; color: var(--w); -webkit-text-stroke: 5px var(--k); paint-order: stroke fill; }
.dur { position: absolute; right: 8px; top: 8px; font-style: normal; background: var(--k); padding: 2px 7px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.card9 em { position: absolute; left: 8px; top: 8px; font-style: normal; font-size: 12px; font-weight: 800; background: var(--y); color: var(--k); padding: 3px 7px; }
.card-play { position: absolute; left: 0; right: 0; top: 0; display: grid; place-items: center; pointer-events: none; }
.card9 .card-play { aspect-ratio: 9 / 16; } .film-tile .card-play { bottom: 0; }
.card-play .play-i { box-sizing: content-box; padding: 22px 22px 22px 28px; background: var(--y) content-box; border-left-color: var(--k); position: relative; }
.card-play::before { content: ""; grid-area: 1 / 1; width: 84px; height: 84px; background: var(--y); }
.card-play .play-i { grid-area: 1 / 1; padding: 0; margin-left: 6px; background: none; border-left: 26px solid var(--k); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.kcard { width: clamp(256px, 26vw, 380px); padding: 20px 22px 24px !important; box-shadow: inset 0 0 0 1px var(--line-k); background: var(--panel-k) !important; min-height: 196px; }
.kcard span { font-size: 13px; color: var(--mut-k); font-weight: 650; }
.kcard b { display: block; font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 2.8vw, 42px); line-height: .98; margin: 8px 0 10px; }
.kcard p { color: #cfcfcf; font-size: 15px; }
.kcard.kcard-y { background: var(--y) !important; color: var(--k); box-shadow: none; }
.kcard-y span { color: #262626; } .kcard-y p { color: #111; }
.film-tile { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--k); cursor: pointer; }
.film-tile img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.film-tile:hover img, .film-tile:focus-visible img { outline: 4px solid var(--y); outline-offset: -4px; }
@media (max-width: 700px) { .bb-shade { background: linear-gradient(0deg, #000 0%, rgba(0,0,0,.78) 46%, rgba(0,0,0,.2) 100%); } .bb-mute { bottom: auto; top: 16px; } }

/* ---------- přehrávač („kino“) ---------- */
.pl-lock { overflow: hidden; }
.pl { position: fixed; inset: 0; z-index: 200; background: var(--k); color: var(--w); display: none; outline: 0; user-select: none; -webkit-user-select: none; }
.pl.open { display: block; }
.pl.idle { cursor: none; }
.pl-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--k); }
.pl button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.pl-top, .pl-bot { position: absolute; left: 0; right: 0; padding: 16px var(--gut); transition: opacity .25s ease, transform .25s ease; }
.pl-top { top: 0; display: flex; align-items: center; gap: 16px; padding-bottom: 70px; background: linear-gradient(rgba(0,0,0,.82), rgba(0,0,0,0)); }
.pl-top b { display: block; font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(20px, 2.4vw, 30px); line-height: 1; }
.pl-top span { font-size: 14px; color: #d0d0d0; }
.pl-bot { bottom: 0; padding-top: 90px; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.9)); }
.pl.idle .pl-top, .pl.idle .pl-bot, .pl.idle .pl-skip { opacity: 0; pointer-events: none; }
.pl.idle .pl-top { transform: translateY(-10px); } .pl.idle .pl-bot { transform: translateY(10px); }
.pl-back { width: 48px; height: 48px; display: grid; place-items: center; flex: none; }
.pl-back i { width: 15px; height: 15px; border-left: 4px solid var(--w); border-bottom: 4px solid var(--w); transform: rotate(45deg); margin-left: 7px; }
.pl-big { position: absolute; inset: 16% 8% 24%; display: grid; place-items: center; }
.pl-big i { width: 112px; height: 112px; background: var(--y); display: grid; place-items: center; transition: transform .18s ease, opacity .2s ease; }
.pl-big i::after { content: ""; border-left: 36px solid var(--k); border-top: 22px solid transparent; border-bottom: 22px solid transparent; margin-left: 9px; }
.pl.playing .pl-big i { opacity: 0; transform: scale(1.35); }
.pl-bar { position: relative; height: 28px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.pl-segs { display: flex; gap: 4px; width: 100%; height: 6px; transition: height .12s ease; }
.pl-bar:hover .pl-segs, .pl-bar:focus-visible .pl-segs { height: 12px; }
.pl-segs i { background: rgba(255,255,255,.3); overflow: hidden; min-width: 0; }
.pl-segs b { display: block; height: 100%; background: var(--y); transform-origin: 0 50%; transform: scaleX(0); }
.pl-tip { position: absolute; bottom: 32px; transform: translateX(-50%); width: 180px; background: var(--k); box-shadow: 0 0 0 2px var(--w); pointer-events: none; }
.pl-tip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pl-tip b { display: block; padding: 6px 8px 0; font-size: 13px; line-height: 1.2; }
.pl-tip span { display: block; padding: 0 8px 7px; font-size: 12px; color: #bbb; font-variant-numeric: tabular-nums; }
.pl-row { display: flex; align-items: center; gap: 4px 12px; margin-top: 6px; flex-wrap: wrap; }
.pl-gap { flex: 1 1 0; }
.pl-play, .pl-mute, .pl-fs, .pl-b { height: 44px; min-width: 44px; display: grid; place-items: center; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.pl-row button:hover { color: var(--y); }
.pl-play i { border-left: 20px solid var(--w); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.pl.playing .pl-play i { border: 0; width: 18px; height: 22px; border-left: 6px solid var(--w); border-right: 6px solid var(--w); box-sizing: border-box; }
.pl-fs i { width: 22px; height: 18px; background: linear-gradient(var(--w), var(--w)) 0 0 / 8px 3px, linear-gradient(var(--w), var(--w)) 0 0 / 3px 8px, linear-gradient(var(--w), var(--w)) 100% 0 / 8px 3px, linear-gradient(var(--w), var(--w)) 100% 0 / 3px 8px,
  linear-gradient(var(--w), var(--w)) 0 100% / 8px 3px, linear-gradient(var(--w), var(--w)) 0 100% / 3px 8px, linear-gradient(var(--w), var(--w)) 100% 100% / 8px 3px, linear-gradient(var(--w), var(--w)) 100% 100% / 3px 8px; background-repeat: no-repeat; }
.pl-vol { width: 96px; }
.pl-vol::-webkit-slider-runnable-track { height: 4px; background: rgba(255,255,255,.75); }
.pl-vol::-moz-range-track { height: 4px; background: rgba(255,255,255,.75); }
.pl-vol::-webkit-slider-thumb { width: 14px; height: 20px; margin-top: -8px; background: var(--y); }
.pl-vol::-moz-range-thumb { width: 14px; height: 20px; background: var(--y); }
.pl-time { font-size: 14px; color: #e0e0e0; white-space: nowrap; }
.pl-seg { display: inline-flex; box-shadow: inset 0 0 0 1px #8a8a8a; }
.pl-seg button { height: 34px; padding: 0 12px; font-size: 13px; font-weight: 800; }
.pl-seg button[aria-pressed=true] { background: var(--w); color: var(--k) !important; }
.pl-skip { position: absolute; right: var(--gut); bottom: 132px; padding: 12px 20px !important; border: 2px solid var(--w) !important; background: rgba(0,0,0,.6) !important; font-weight: 800; transition: opacity .25s ease; }
.pl-skip:hover { background: var(--w) !important; color: var(--k) !important; }
.pl-cta { position: absolute; right: var(--gut); bottom: 132px; display: grid; grid-template-columns: auto auto; column-gap: 16px; align-items: center; padding: 14px 18px 14px 20px; background: var(--y); color: var(--k); text-decoration: none; }
.pl-cta span { grid-column: 1; font-size: 13px; font-weight: 650; } .pl-cta b { grid-column: 1; font-size: 20px; font-weight: 900; font-stretch: 88%; line-height: 1.1; }
.pl-cta i { grid-row: 1 / 3; grid-column: 2; width: 12px; height: 12px; border-right: 4px solid var(--k); border-top: 4px solid var(--k); transform: rotate(45deg); }
.pl-cta:hover { background: var(--w); }
.pl-end { position: absolute; inset: 0; background: rgba(0,0,0,.9); display: grid; align-content: center; justify-items: start; gap: 14px; padding: 0 var(--gut); }
.pl-end p { font-size: 17px; color: #d0d0d0; }
.pl-end h2 { font-size: clamp(44px, 7.4vw, 124px); max-width: 16ch; text-wrap: balance; }
.pl-end-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.pl-end .btn { min-height: 56px; } .pl-end .btn-o:hover { background: var(--w); color: var(--k); border-color: var(--w); }
.pl-end small { color: var(--mut-k); font-size: 14px; }
.pl.tall .pl-v { object-fit: contain; }
@media (max-width: 700px) { .pl-vol, .pl-b[data-skip] { display: none; } .pl-skip, .pl-cta { bottom: 150px; } .pl-big i { width: 84px; height: 84px; } }

/* plakát: video má vlastní velké titulky, proto hraje vpravo jako okno a text stojí vlevo na černé (nepřekrývají se) */
.bb { align-items: center; }
.bb-v { inset: auto; right: 0; top: 50%; width: min(64vw, 124vh); height: auto; aspect-ratio: 16 / 9; transform: translateY(-50%); object-fit: cover; }
.bb-shade { background: linear-gradient(90deg, #000 0%, #000 36%, rgba(0,0,0,.72) 46%, rgba(0,0,0,0) 62%), linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 22%); }
.bb-copy { padding-top: 40px; max-width: min(640px, 46vw); }
.bb h1 { font-size: clamp(44px, min(5.4vw, 10vh), 96px); }
@media (max-width: 900px) {
  .bb { min-height: 0; display: block; }
  .bb-v { position: relative; top: auto; transform: none; width: 100%; z-index: 0; display: block; }
  .bb-shade { display: none; }
  .bb-copy { max-width: none; padding: 22px var(--gut) 34px; }
  .bb-mute { top: 12px; right: 12px; bottom: auto; }
}
/* přehrávač: hlasitost má pevnou šířku, výzva a přeskočení leží nad spodním stínem */
.pl .pl-vol { width: 96px; flex: none; height: 30px; margin: 0; }
.pl .pl-vol::-webkit-slider-runnable-track { height: 4px; background: rgba(255,255,255,.8); }
.pl .pl-vol::-moz-range-track { height: 4px; background: rgba(255,255,255,.8); }
.pl .pl-vol::-webkit-slider-thumb { width: 14px; height: 20px; margin-top: -8px; background: var(--y); }
.pl .pl-vol::-moz-range-thumb { width: 14px; height: 20px; background: var(--y); }
.pl-cta, .pl-skip { z-index: 3; }
.pl-bot { z-index: 2; } .pl-top { z-index: 2; } .pl-end { z-index: 4; }
@media (max-width: 700px) { .pl .pl-vol { display: none; } }

/* plakát: okno s videem dál od textu; číslo kapitoly vedle názvu, ne přes titulky v náhledu */
@media (min-width: 901px) {
  .bb-v { width: min(57vw, 116vh); }
  .bb-shade { background: linear-gradient(90deg, #000 0%, #000 43%, rgba(0,0,0,.6) 50%, rgba(0,0,0,0) 60%), linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 20%); }
  .bb-copy { max-width: min(560px, 39vw); }
  .bb h1 { font-size: clamp(40px, min(4.6vw, 9vh), 84px); }
}
.num-ch { position: static; float: left; font-size: 46px; line-height: .9; margin: 8px 10px 0 0; color: var(--y); -webkit-text-stroke: 0; }

/* úvod: text se drží vlevo od klipů (šířku hlásí js/stream.js), fakta končí u „teď“, sekce GTA 6 */
.hero-copy { max-width: min(1180px, calc(100% - var(--stack-w, 0px))); }
@media (min-width: 760px) { .hero-facts { max-width: calc(var(--now-x, 100%) - 8px); } }
@media (min-width: 1100px) { .hero h1 { font-size: clamp(56px, min(7.1vw, 13.5vh), 168px); } }
.s-k .rules { border-color: var(--w); }
.s-k .rules article + article { border-color: var(--line-k); }
.s-k .rules p { color: #cfcfcf; }
.fine { margin-top: 22px; font-size: 13px; color: var(--mut-k); max-width: 100ch; }
.plan-now .row-b { display: flex; flex-wrap: wrap; gap: 8px; }

/* úvod se vždy vejde na obrazovku: velikosti se řídí i výškou okna a js/landing.js je případně ještě stáhne (--fit) */
.hero { min-height: max(500px, calc(100svh - var(--bar-h))); }
.live { padding-top: clamp(8px, 1.8vh, 18px); }
.hero h1 { font-size: calc(clamp(44px, min(8.3vw, 11.5vh), 168px) * var(--fit, 1)); margin-bottom: clamp(10px, 1.8vh, 26px); text-wrap: balance; }
@media (min-width: 1100px) { .hero h1 { font-size: calc(clamp(56px, min(7.1vw, 11vh), 168px) * var(--fit, 1)); } }
@media (max-width: 759px) { .hero h1 { font-size: calc(clamp(38px, min(13vw, 9vh), 96px) * var(--fit, 1)); } }
.hero-sub { font-size: clamp(15px, min(1.4vw, 2.3vh), 21px); max-width: 44ch; }
@media (max-width: 759px) { .hero-sub { font-size: clamp(15px, 2.2vh, 18px); } }
.hero-cta { margin-top: clamp(12px, 2.2vh, 30px); }
.hero-cta .btn { min-height: clamp(42px, 5.6vh, 48px); }
.hero-facts { margin-top: clamp(150px, 21vh, 204px); padding-bottom: clamp(10px, 2vh, 22px); }
@media (max-width: 760px) { .hero-facts { margin-top: clamp(190px, 26vh, 222px); } .live span:last-child { display: none; } }

/* nízký a úzký displej: čtyři fakta se nevejdou, místo nich zůstane jen pás streamu pod tlačítky */
@media (max-width: 759px) and (max-height: 700px) {
  .hero-facts { display: none; }
  .hero-copy { padding-bottom: 246px; }      /* pás streamu i se štítky je vysoký 236 px; tlačítka končí nad ním */
  .hero { min-height: calc(100svh - var(--bar-h)); }
}

/* úvod: každá věta nadpisu na vlastní řádek, text vyvážený, blok uprostřed volného místa nad pásem streamu */
.hero-copy { align-self: center; padding-top: 0; }
.hero h1 .ln { display: block; text-wrap: balance; }
.hero-sub { text-wrap: balance; max-width: 38ch; }

@media (max-width: 759px) and (max-height: 600px) { .hero-cta .btn-o { display: none; } }
