/* ============================ značka ============================ */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand strong, .brand small { display: block; line-height: 1.15; }
.brand strong { font-size: 15px; letter-spacing: -.01em; }
.brand small { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; background: #000000; position: relative; flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.brand-mark::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 2.5px solid #ea0029; }
.brand-mark::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; }
.brand--sm .brand-mark { width: 32px; height: 32px; border-radius: 10px; }
.brand--sm .brand-mark::before { inset: 8px; }
/* logo Kia ako maska – farbu preberá z textu (biele na tmavom, tmavé na svetlom) */
.kia-logo { display: inline-block; flex: none; height: 22px; aspect-ratio: 1590 / 374; background: currentColor;
  -webkit-mask: url(../assets/brand/kia-logo-white.png) center / contain no-repeat; mask: url(../assets/brand/kia-logo-white.png) center / contain no-repeat; }
.brand .kia-logo { height: 24px; }
.brand--sm .kia-logo { height: 18px; }
.brand-txt { display: grid; padding-left: 14px; border-left: 1px solid var(--line-strong, rgba(255,255,255,.2)); }
.kia-logo--xl { height: 110px; opacity: .85; }
.brand-mark--xl { width: 120px; height: 120px; border-radius: 34px; }
.brand-mark--xl::before { inset: 30px; border-width: 6px; }
.brand-mark--xl::after { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
.fatal { max-width: 640px; margin: 15vh auto; padding: 24px; }

/* úvodná stránka: css/landing.css */

/* ============================ prihlásenie / nastavenie ============================ */
.join, .setup { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(100% 80% at 80% 0%, var(--surface-3), var(--bg) 60%); }
.join-card, .setup-card { width: min(560px, 100%); padding: clamp(22px, 4vw, 38px); border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-3); display: grid; gap: 18px; }
.setup-card { width: min(660px, 100%); }
.join-card h1, .setup-card h1 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.03em; }
.join-alt { display: grid; gap: 8px; text-align: center; }
.setup-mode { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 14px; border-radius: 14px; background: var(--warn-soft); }
.setup-mode.is-live { background: var(--ok-soft); }
.setup-mode .dot { margin-top: 6px; }
.setup-mode small { display: block; color: var(--ink-2); margin-top: 4px; line-height: 1.5; }
.setup-adv summary { cursor: pointer; font-size: 13px; color: var(--muted); font-weight: 700; }
.setup-adv form { margin-top: 10px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ============================ účastník ============================ */
.pv { min-height: 100vh; display: flex; flex-direction: column; }
.pv-top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 14px; padding: 10px var(--gutter); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.pv-where { display: grid; min-width: 0; flex: 1; }
.pv-where strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-tools { display: flex; gap: 8px; align-items: center; }
.pv-status { display: inline-flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); max-width: 240px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-follow-sw span { font-size: 13px; }
.pv-tools .count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; display: inline-grid; place-items: center; }
.pv-banner { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 10px var(--gutter); background: var(--cyan-soft); border-bottom: 1px solid var(--line); font-size: 14px; }
.pv-body { flex: 1; display: grid; grid-template-columns: 300px minmax(0, 1fr); max-width: 1440px; width: 100%; margin: 0 auto; }
.pv-nav { position: sticky; top: 61px; align-self: start; max-height: calc(100vh - 61px); overflow-y: auto; padding: 22px 16px 40px var(--gutter); border-right: 1px solid var(--line); }
.pv-mods { display: flex; gap: 6px; }
.pv-mods button { flex: 1; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 800; color: var(--muted); }
.pv-mods button.is-on { background: var(--mc); border-color: var(--mc); color: #fff; }
.pv-mod-title { margin: 14px 0 8px; font-weight: 750; font-size: 14px; }
.pv-secs { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pv-secs button { width: 100%; display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; text-align: left; padding: 8px 8px; border-radius: 10px; border: 0; background: none; font-size: 13.5px; color: var(--ink-2); line-height: 1.3; }
.pv-secs button:hover { background: var(--surface-3); }
.pv-secs button.is-on { background: var(--ink); color: var(--bg); }
.pv-secs button.is-break { opacity: .6; font-style: italic; }
.pv-sn { font-size: 11px; font-weight: 800; color: var(--faint); }
.pv-secs button.is-on .pv-sn { color: var(--accent); }
.pv-here { color: var(--accent); font-size: 12px; animation: pulse 1.5s infinite; }
.pv-main { padding: clamp(20px, 3.4vw, 44px) var(--gutter) 80px; min-width: 0; max-width: 980px; }
.pv-deck { margin-bottom: 24px; height: min(56vw, 520px); }
.pv-foot { margin-top: 40px; display: grid; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.pv-notes .textarea { min-height: 90px; }
.pv-bottom { display: none; }
.workbook-pre { white-space: pre-wrap; font-size: 13px; max-height: 60vh; overflow: auto; padding: 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.qa-form { margin-bottom: 16px; }
.qa-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.qa { display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding: 10px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.qa.is-answered { opacity: .55; }
.qa.is-pinned { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.qa.is-hidden { opacity: .35; }
.qa-vote { display: grid; justify-items: center; align-content: center; gap: 0; height: 48px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 11px; color: var(--muted); }
.qa-vote b { font-size: 16px; color: var(--ink); }
.qa-vote.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.qa-vote.is-on b { color: #fff; }
.qa-body p { margin: 0 0 4px; font-weight: 600; line-height: 1.4; }
.qa-body small { color: var(--muted); font-size: 12px; }
.qa-actions { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }

/* ============================ lektor ============================ */
.route-lektor, .route-platno { background: var(--bg); }
.pc { height: 100vh; display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.pc-top { display: flex; align-items: center; gap: 16px; padding: 8px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.pc-room { display: grid; line-height: 1.1; }
.pc-code { border: 0; background: none; padding: 0; font-size: 22px; font-weight: 800; letter-spacing: .08em; color: var(--accent); text-align: left; }
.pc-status, .pc-people { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.pc-people b { color: var(--ink); font-size: 16px; }
.pc-clock { margin-left: auto; display: grid; text-align: right; line-height: 1.1; }
.pc-clock span { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pc-clock small { font-size: 11px; color: var(--muted); }
.pc-clock small.is-late { color: var(--warn); font-weight: 700; }
.pc-top-actions { display: flex; gap: 6px; }
.pc-body { display: grid; grid-template-columns: 290px minmax(0, 1fr) 380px; min-height: 0; }
.pc-agenda { overflow-y: auto; padding: 14px 12px 40px; border-right: 1px solid var(--line); background: var(--surface); }
.pc-mods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pc-mods button { height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); font-weight: 800; font-size: 13px; color: var(--muted); position: relative; }
.pc-mods button.is-on { background: var(--mc); border-color: var(--mc); color: #fff; }
.pc-mods button.is-live::after { content: ""; position: absolute; right: 4px; top: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.pc-mod-head { display: grid; margin: 12px 4px 8px; }
.pc-mod-head strong { font-size: 14px; line-height: 1.3; }
.pc-mod-head small { color: var(--muted); font-size: 12px; }
.pc-secs { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pc-sec { width: 100%; display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; text-align: left; padding: 7px 8px; border-radius: 10px; border: 0; background: none; }
.pc-sec:hover { background: var(--surface-3); }
.pc-sec.is-live { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.pc-sec.is-break { opacity: .65; }
.pc-sn { font-size: 11px; font-weight: 800; color: var(--faint); }
.pc-st { display: grid; line-height: 1.25; min-width: 0; }
.pc-st b { font-size: 13px; font-weight: 650; }
.pc-st small { font-size: 11px; color: var(--muted); }
.pc-live { color: var(--accent); font-size: 11px; animation: pulse 1.5s infinite; }
.pc-main { overflow-y: auto; min-width: 0; }
.pc-screenbar { position: sticky; top: 0; z-index: 10; display: grid; gap: 8px; padding: 10px 20px; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.pc-nav { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; }
.pc-now { display: grid; min-width: 0; }
.pc-now strong { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-screen-modes { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pc-screen-modes .seg button { font-size: 12px; padding: 5px 10px; }
.pc-screen-modes .switch { margin-left: auto; font-size: 13px; }
.pc-section { padding: 22px 26px 80px; max-width: 1000px; }
.pc-section .sec-head h2 { font-size: clamp(26px, 2.6vw, 38px); }
.pc-side { display: grid; grid-template-rows: auto 1fr; min-height: 0; border-left: 1px solid var(--line); background: var(--surface); }
.pc-side .tabs { padding: 0 8px; }
.pc-side-body { overflow-y: auto; padding: 16px; }
.notes { display: grid; gap: 14px; }
.note, .note-goal, .note-trans, .note-next { padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.note ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; line-height: 1.5; }
.note-goal { background: var(--accent-soft); border-color: transparent; }
.note-goal p, .note-trans p, .note-next p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; }
.note--say { border-left: 3px solid var(--cyan); }
.note--ask { border-left: 3px solid var(--violet); }
.note--tips { border-left: 3px solid var(--ok); }
.note--watch { border-left: 3px solid var(--warn); }
.note--answers { border-left: 3px solid var(--accent); }
.note-trans { background: var(--ok-soft); border-color: transparent; }
.note-next { opacity: .8; }
.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.people li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: var(--surface-2); }
.people small { display: block; color: var(--muted); font-size: 12px; }
.deck-tab { display: grid; gap: 12px; }
.deck-drop { display: grid; gap: 4px; padding: 18px; border-radius: 16px; border: 2px dashed var(--line-strong); text-align: center; cursor: pointer; }
.deck-drop:hover { border-color: var(--accent); background: var(--accent-soft); }
.deck-drop small { color: var(--muted); }
.deck-meta { display: grid; }
.deck-meta small { color: var(--muted); }
.deck-preview { height: 200px; }
.tools .card h3 { font-size: 14px; }
.tools .switch { display: flex; margin-top: 8px; }
.join-qr { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: center; }
.join-code { font-size: 48px; font-weight: 800; letter-spacing: .1em; color: var(--accent); }
.qe { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.qe-left { display: grid; gap: 12px; align-content: start; }
.qe-q { border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; gap: 8px; margin: 0; }
.qe-q legend { font-weight: 800; font-size: 13px; padding: 0 6px; }
.qe-opt { display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: center; }
.qe-opt input[type="radio"] { accent-color: var(--ok); width: 18px; height: 18px; }
.qe-right { display: grid; gap: 10px; align-content: start; position: sticky; top: 0; }
.qe-pages { max-height: 60vh; overflow: auto; font-size: 12.5px; color: var(--muted); padding: 10px; border-radius: 12px; background: var(--surface-2); }

/* ============================ prezentácia (PDF) ============================ */
.deck { position: relative; background: #000; border-radius: 16px; overflow: hidden; }
.deck-stage { position: absolute; inset: 0; display: grid; place-items: center; }
.deck-stage canvas { display: none; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.deck-msg { position: absolute; inset: 0; display: grid; place-items: center; color: #9c9ca8; font-size: 14px; gap: 8px; text-align: center; padding: 20px; }

/* ============================ plátno ============================ */
.scr { --mc: var(--accent); position: relative; height: 100vh; overflow: hidden; background: radial-gradient(110% 90% at 80% 0%, #111115, #000000 60%); color: #f4f4f6; display: grid; }
.scr-bg { position: absolute; inset: 0; opacity: .55; pointer-events: none; }
.scr-bg .three-canvas { width: 100% !important; height: 100% !important; }
.scr[data-mode="activity"] .scr-bg, .scr[data-mode="content"] .scr-bg, .scr[data-mode="deck"] .scr-bg { opacity: .14; }
.scr-stage { position: relative; z-index: 1; overflow-y: auto; padding: clamp(28px, 4vw, 64px) clamp(28px, 5vw, 90px); display: grid; align-content: center; }
.scr[data-mode="content"] .scr-stage, .scr[data-mode="activity"] .scr-stage { align-content: start; }
.scr-intro { max-width: 1400px; }
.scr-kicker { display: flex; gap: 22px; font-size: clamp(13px, 1vw, 17px); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #9c9ca8; }
.scr-kicker span:first-child { color: var(--mc); }
.scr-intro h1 { font-size: clamp(48px, 7vw, 120px); font-weight: 800; letter-spacing: -.05em; line-height: .95; margin: 24px 0; text-shadow: 0 10px 50px rgba(0,0,0,.5); }
.scr-question { font-size: clamp(22px, 2.4vw, 40px); color: var(--mc); font-weight: 650; line-height: 1.25; max-width: 1200px; }
.scr-break h1 { color: #fff; }
.scr-q h1 { font-size: clamp(40px, 5vw, 80px); }
.scr-content { max-width: 1500px; display: grid; gap: 18px; }
.scr-content h2 { font-size: clamp(36px, 4vw, 64px); letter-spacing: -.04em; }
.scr-lead { font-size: clamp(18px, 1.6vw, 26px); color: #d6d6dc; max-width: 1200px; line-height: 1.5; }
.scr-content .sec-blocks { gap: 22px; zoom: 1.12; }
.scr .point, .scr .cmp--bad, .scr ol.steps li, .scr .flow-node, .scr .layer, .scr .b-quote, .scr .table-wrap, .scr .loopviz { background: rgba(16,16,20, .85); border-color: #222228; color: #f4f4f6; }
.scr .point p, .scr ol.steps p, .scr .layer p { color: #d6d6dc; }
.scr .cmp--good { background: #f4f4f6; color: #000000; }
.scr .act { color: #f4f4f6; }
.scr-act { max-width: 1500px; width: 100%; }
.scr-deck { position: absolute; inset: 20px; }
.scr[data-mode="deck"] .scr-stage { padding: 0; }
.scr-join { display: grid; grid-template-columns: minmax(260px, 34vw) 1fr; gap: clamp(30px, 5vw, 90px); align-items: center; max-width: 1400px; }
.qr--big { padding: 22px; border-radius: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.scr-join h1 { font-size: clamp(40px, 5vw, 84px); letter-spacing: -.04em; line-height: 1; margin: 14px 0; }
.scr-code { font-size: clamp(60px, 9vw, 150px); font-weight: 800; letter-spacing: .08em; color: #ff2d4b; line-height: 1; }
.scr-url { font-size: clamp(16px, 1.6vw, 26px); color: #9c9ca8; word-break: break-all; }
.scr-count { font-size: 22px; font-weight: 800; }
.scr-blank { display: grid; place-items: center; height: 100%; opacity: .7; }
.scr-timer { position: absolute; right: 28px; top: 24px; z-index: 5; }
.big-timer { display: grid; justify-items: center; gap: 6px; padding: 12px; border-radius: 26px; background: rgba(0,0,0,.85); border: 1px solid #222228; backdrop-filter: blur(8px); }
.big-timer .ring > span { background: #0e0e11; color: #fff; font-size: 34px; }
.big-timer.is-low .ring { background: conic-gradient(#ff2d4b calc(var(--p) * 1%), #222228 0); }
.big-timer:not(.is-low) .ring { background: conic-gradient(#3ad08a calc(var(--p) * 1%), #222228 0); }
.big-timer small { font-size: 13px; color: #9c9ca8; max-width: 160px; text-align: center; }
.scr-corner { position: absolute; right: 22px; bottom: 22px; z-index: 5; }
.scr-mini { display: flex; gap: 12px; align-items: center; padding: 8px 14px 8px 8px; border-radius: 18px; background: rgba(0,0,0,.85); border: 1px solid #222228; backdrop-filter: blur(8px); }
.scr-mini .qr { width: 74px; padding: 5px; border-radius: 10px; }
.scr-mini small { display: block; font-size: 11px; color: #9c9ca8; letter-spacing: .1em; text-transform: uppercase; }
.scr-mini b { font-size: 24px; letter-spacing: .08em; color: #ff2d4b; }
.scr-bc { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; font-size: 22px; }
.scr-fs { position: absolute; left: 14px; bottom: 14px; z-index: 6; width: 36px; height: 36px; border-radius: 10px; border: 1px solid #222228; background: rgba(0,0,0,.6); color: #9c9ca8; opacity: 0; transition: opacity .2s; }
.scr:hover .scr-fs { opacity: 1; }

/* ============================ responzívnosť ============================ */
@media (max-width: 1280px) {
  .pc-body { grid-template-columns: 250px minmax(0, 1fr) 330px; }
}
@media (max-width: 1050px) {
  .pc { height: auto; overflow: visible; }
  .pc-body { grid-template-columns: 1fr; }
  .pc-agenda { border-right: 0; border-bottom: 1px solid var(--line); max-height: 300px; }
  .pc-side { border-left: 0; border-top: 1px solid var(--line); }
  .pc-top { flex-wrap: wrap; }
  .pv-body { grid-template-columns: 1fr; }
  .pv-nav { position: fixed; z-index: 80; left: 0; top: 0; bottom: 0; width: min(320px, 88vw); max-height: none; background: var(--surface); transform: translateX(-102%); transition: transform .25s var(--ease); box-shadow: var(--shadow-3); padding-top: 22px; }
  body.nav-open .pv-nav { transform: none; }
  .pv-bottom { display: grid; grid-template-columns: repeat(3, 1fr); position: sticky; bottom: 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .pv-bottom button { border: 0; background: none; padding: 12px 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
  .pv-tools [data-open="workbook"], .pv-tools [data-open="qa"] { display: none; }
  .join-qr { grid-template-columns: 1fr; }
  .qe { grid-template-columns: 1fr; }
  .scr-join { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pv-top { gap: 8px; }
  .pv-status span:last-child { display: none; }
  .pv-follow-sw span { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .pv-foot .row--between { display: grid; grid-template-columns: 1fr 1fr; }
  .pv-foot [data-done] { grid-column: 1 / -1; grid-row: 1; }
}

/* ============================ zobrazenie prezentujúceho (◱ Prezentovať) ============================ */
.pc-elapsed { flex: none; font: 700 13px var(--mono); padding: 6px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pc-elapsed.is-over { color: #fff; background: var(--bad); border-color: var(--bad); }
.pc.is-focus .pc-body { grid-template-columns: minmax(0, 1fr) 420px; }
.pc.is-focus .pc-agenda, .pc.is-focus .pc-side .tabs, .pc.is-focus .pc-screen-modes, .pc.is-focus .pc-fullsec { display: none; }
.pc.is-focus .pc-side { grid-template-rows: 1fr; }
.pc.is-focus .pc-side-body { padding: 22px; font-size: 16px; }
.pc.is-focus .pc-side-body .note li { margin-bottom: 6px; line-height: 1.5; }
.pc.is-focus .pc-slides { grid-template-columns: minmax(0, 1fr) 320px; }
.pc.is-focus .pc-now strong { font-size: 20px; }
.pc.is-focus .pc-main { padding-top: 4px; }
.pc.is-focus .btn--focus, .btn--focus:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 1280px) { .pc.is-focus .pc-body { grid-template-columns: minmax(0, 1fr) 340px; } .pc.is-focus .pc-slides { grid-template-columns: minmax(0, 1fr) 240px; } }
