/* Angielski z Friends: wygląd QuickSpeak (fiolet, limonka), tryb seansu zawsze ciemny i pod kciuk. */

:root {
	--purple: #4845B6;
	--purple-2: #5B58D6;
	--lime: #DAFB47;
	--navy: #1A2238;
	--blue: #8FA8F6;
	--green: #2FA77A;
	--amber: #F5A524;
	--pink: #FF7AB6;
	--sky: #E9EEFF;
	--mint: #E5F8EF;
	--sun: #FFF4C9;
	--red: #D9484D;
	--ink: #1A2238;
	--muted: #667085;
	--line: #E4E6EF;
	--bg: #F4F5FB;
	--card: #FFFFFF;
	--soft: #F1F2FA;
	--shadow: 0 6px 24px rgba(26, 34, 56, .08);
	--r: 20px;
	--hd-h: 56px;
	--safe: env(safe-area-inset-top, 0px);
	--safe-b: env(safe-area-inset-bottom, 0px);
}
:root[data-theme="dark"] {
	--ink: #EEF0F6;
	--muted: #9AA3B6;
	--line: #2C3142;
	--bg: #11131A;
	--card: #1A1D27;
	--soft: #222634;
	--sky: #232A45;
	--mint: #1C3329;
	--sun: #3A3420;
	--shadow: 0 6px 24px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
	font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 16px; line-height: 1.5;
	padding-top: calc(var(--hd-h) + var(--safe));
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; font-family: 'Poppins', sans-serif; }
p { margin: 0 0 10px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.hd {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	height: calc(var(--hd-h) + var(--safe)); padding: var(--safe) 12px 0;
	display: flex; align-items: center; gap: 10px;
	background: var(--purple); color: #fff; font-family: 'Poppins', sans-serif; font-size: 14px;
}
.hd__back { color: #fff; text-decoration: none; font-weight: 600; padding: 8px 10px; border-radius: 10px; white-space: nowrap; }
.hd__back:hover { background: rgba(255, 255, 255, .12); }
.hd__title { flex: 1 1 auto; min-width: 0; text-align: center; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd__sync { min-width: 60px; text-align: right; font-size: 12px; opacity: .8; }

.main { max-width: 680px; margin: 0 auto; padding: 16px 16px calc(40px + var(--safe-b)); }

.hero { background: var(--purple); color: #fff; border-radius: 24px; padding: 22px; margin-bottom: 16px; position: relative; overflow: hidden; box-shadow: 0 12px 34px rgba(72, 69, 182, .35); }
.hero::before { content: "☕ 🛋️ 📺"; position: absolute; right: 16px; bottom: 10px; font-size: 22px; letter-spacing: 6px; opacity: .55; }
.hero::after { content: ""; position: absolute; right: -50px; top: -50px; width: 170px; height: 170px; border-radius: 50%; background: rgba(218, 251, 71, .16); }
.hero p { padding-bottom: 22px; }
.eyebrow { font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.hero h1 { font-size: 28px; margin: 4px 0 8px; color: var(--lime); }
.hero p { margin: 0; opacity: .95; position: relative; z-index: 1; }

.sec { font-size: 20px; margin: 22px 0 10px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); margin-bottom: 12px; }
.card h2 { font-size: 20px; margin-bottom: 8px; }
.card h3 { font-size: 16px; margin-bottom: 4px; }

.lv { display: grid; gap: 8px; }
.lv button { text-align: left; border: 2px solid var(--line); background: var(--card); border-radius: 16px; padding: 12px 14px; }
.lv button b { font-family: 'Poppins', sans-serif; }
.lv button span { display: block; font-size: 14px; color: var(--muted); }
.lv button.on { border-color: var(--purple); background: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; }
.chip.on { background: var(--purple); color: #fff; border-color: var(--purple); }

.ep { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); margin-bottom: 8px; text-decoration: none; }
.ep__n { flex: 0 0 44px; height: 44px; border-radius: 14px; background: var(--purple); color: var(--lime); display: grid; place-items: center; font-family: 'Poppins', sans-serif; font-weight: 800; }
.ep__b { flex: 1 1 auto; min-width: 0; }
.ep__b b { display: block; font-family: 'Poppins', sans-serif; font-size: 15px; line-height: 1.3; }
.ep__b span { font-size: 13px; color: var(--muted); }
.ep--soon { opacity: .55; pointer-events: none; }
.ep--plan .ep__n { background: var(--soft); color: var(--purple); }
.ep__b em { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-style: normal; font-size: 13px; line-height: 1.4; color: var(--ink); margin-top: 4px; opacity: .85; }
.ep--soon .ep__n { background: var(--soft); color: var(--muted); }
.ticks { font-size: 13px; letter-spacing: 2px; white-space: nowrap; }

.step { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; }
.step__i { flex: 0 0 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--soft); font-size: 24px; }
.step--a .step__i { background: var(--sun); }
.step--b .step__i { background: var(--sky); }
.step--c .step__i { background: var(--mint); }
a.card.step { transition: transform .15s; }
a.card.step:active { transform: scale(.98); }
.step.done .step__i { background: var(--green); color: #fff; }
.step__b { flex: 1 1 auto; }
.step__b span { color: var(--muted); font-size: 14px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; padding: 13px 18px; font-family: 'Poppins', sans-serif; font-weight: 700; background: var(--purple); color: #fff; text-decoration: none; min-height: 48px; }
.btn:disabled { opacity: .45; cursor: default; }
.btn--lime { background: var(--lime); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn--wide { width: 100%; }
.row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.prog { height: 6px; border-radius: 6px; background: var(--soft); overflow: hidden; margin-bottom: 14px; }
.prog i { display: block; height: 100%; background: var(--purple); border-radius: 6px; transition: width .3s; }

.ctx { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.play { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; border-radius: 16px; padding: 14px 16px; background: var(--soft); font-weight: 700; }
.play::before { content: "▶"; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--purple); color: #fff; font-size: 13px; }
.play.on::before { content: "❚❚"; }
.lines { margin-top: 10px; display: grid; gap: 6px; }
.ln { padding: 10px 12px; border-radius: 14px; background: var(--soft); max-width: 92%; }
.ln--m { justify-self: end; background: rgba(72, 69, 182, .1); }
.ln__d { display: none; }
.ln--hide .ln__t { display: none; }
.ln--hide .ln__d { display: block; font-size: 17px; font-weight: 700; letter-spacing: .08em; color: var(--muted); user-select: none; }
.tt { display: inline; border: 0; background: rgba(218, 251, 71, .55); border-radius: 6px; padding: 0 3px; font-weight: 600; }
:root[data-theme="dark"] .tt { background: rgba(218, 251, 71, .28); }
.tt.on { outline: 2px solid var(--purple); }
.phrase { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 22px; line-height: 1.3; }
.tip { font-size: 14px; color: var(--muted); margin-top: 8px; }

.opts { display: grid; gap: 8px; margin-top: 10px; }
.opt { text-align: left; border: 2px solid var(--line); background: var(--card); border-radius: 14px; padding: 12px 14px; font-weight: 600; min-height: 52px; }
.opt.ok { border-color: var(--green); background: rgba(47, 167, 122, .12); animation: pop .35s; }
.opt.bad { border-color: var(--red); background: rgba(217, 72, 77, .1); }
.fb { margin-top: 10px; font-weight: 600; }

.kult { display: grid; gap: 8px; }
.kult > div { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: var(--soft); }
.kult__e { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--card); }
.kult b { display: block; font-family: 'Poppins', sans-serif; }

.bubble { position: fixed; z-index: 90; max-width: min(320px, calc(100vw - 32px)); background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 12px; font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.toast { position: fixed; left: 50%; bottom: calc(20px + var(--safe-b)); transform: translateX(-50%); z-index: 95; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; max-width: calc(100vw - 32px); }

.keys { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.keys span { background: var(--lime); color: var(--navy); border-radius: 10px; padding: 4px 10px; font-weight: 700; }
.heard { margin-top: 8px; font-size: 14px; padding: 8px 12px; border-radius: 12px; background: var(--soft); }
.mic { width: 72px; height: 72px; border-radius: 50%; border: 0; background: var(--purple); color: #fff; font-size: 28px; }
.mic.on { background: var(--red); animation: pulse 1s infinite; }
@keyframes pulse { 50% { transform: scale(1.06); } }

.order { display: grid; gap: 8px; }
.order button { text-align: left; border: 2px solid var(--line); background: var(--card); border-radius: 14px; padding: 12px 14px; font-weight: 600; box-shadow: var(--shadow); }
.order .n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--purple); color: #fff; font-size: 13px; font-weight: 700; margin-right: 8px; }

.note { font-size: 13px; color: var(--muted); margin-top: 22px; }

/* ---------- Tryb seansu: pełny ekran, ciemny, odpowiedzi na dole pod kciukiem ---------- */
body.watch { padding-top: 0; background: #07080C; color: #E9EBF2; }
body.watch .hd { display: none; }
body.watch .main { max-width: 560px; padding: 0; }
.w { position: fixed; inset: 0; display: flex; flex-direction: column; padding: calc(10px + var(--safe)) 14px calc(14px + var(--safe-b)); background: #07080C; color: #E9EBF2; }
.w__top { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #8B92A6; min-height: 40px; }
.w__top button { border: 0; background: #151824; color: #C9CEDC; border-radius: 10px; padding: 8px 12px; font-size: 13px; font-weight: 600; }
.w__top .sp { flex: 1; }
.w__bar { height: 4px; border-radius: 4px; background: #151824; overflow: hidden; margin: 4px 0 10px; }
.w__bar i { display: block; height: 100%; background: #5B58D6; transition: width .3s; }
.w__mid { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-start; gap: 14px; min-height: 0; overflow: auto; padding-bottom: 12px; }
.w__prev { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #6E7489; opacity: .8; }
.w__prev b { display: block; color: #9AA1B5; font-weight: 600; }
.w__mk { flex: 0 0 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: #1B1F2E; }
.w__mk--ok { background: #1F6E50; color: #fff; }
.w__mk--bad { background: #7A2A2E; color: #fff; }
.w__now { background: #12151F; border: 1px solid #262B3D; border-radius: 20px; padding: 16px 16px 18px; }
.w__next { font-size: 14px; color: #6E7489; padding: 0 4px; }
.w__next small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #565C70; }
.w__ans--ear .w__a { font-size: 18px; }
.w__trophy { font-size: 56px; margin-bottom: 6px; }
.w__m { font-size: 14px; color: var(--lime); opacity: .85; margin-bottom: 8px; }
.w__q { font-family: 'Poppins', sans-serif; font-size: 23px; font-weight: 700; line-height: 1.25; color: #fff; }
.w__hear { font-family: 'Poppins', sans-serif; font-size: 30px; font-weight: 800; line-height: 1.2; color: var(--lime); }
.w__pl { margin-top: 10px; border: 0; background: none; color: #8B92A6; font-size: 14px; padding: 6px 0; text-decoration: underline dotted; }
.w__ans { display: grid; gap: 10px; }
.w__a { width: 100%; min-height: 74px; border: 0; border-radius: 18px; background: #1B1F2E; color: #F2F4FA; font-size: 19px; font-weight: 600; text-align: left; padding: 14px 18px; }
.w__a:active { background: #2A2F45; }
.w__a.ok { background: #1F6E50; animation: pop .35s; }
.w__a.bad { background: #7A2A2E; }
.w__big { min-height: 132px; font-size: 26px; font-family: 'Poppins', sans-serif; font-weight: 800; text-align: center; background: #4845B6; color: #fff; }
.w__skip { min-height: 56px; border: 0; border-radius: 16px; background: transparent; color: #8B92A6; font-size: 16px; font-weight: 600; border: 1px solid #23273A; }
.w__wait .w__a, .w__wait .w__skip { pointer-events: none; opacity: .6; }
.w__list { position: fixed; inset: 0; z-index: 60; background: #07080C; padding: calc(14px + var(--safe)) 14px calc(14px + var(--safe-b)); overflow: auto; }
.w__list h2 { font-size: 18px; margin-bottom: 10px; color: #fff; }
.w__list button.s { display: block; width: 100%; text-align: left; border: 0; border-radius: 14px; background: #151824; color: #E9EBF2; padding: 14px; margin-bottom: 8px; font-size: 16px; }
.w__list button.s b { color: var(--lime); margin-right: 8px; }
.w__list button.s.cur { outline: 2px solid #5B58D6; }
.w__end { text-align: center; }
.w__end h2 { color: var(--lime); font-size: 26px; margin-bottom: 10px; }
.w__miss { text-align: left; margin-top: 14px; display: grid; gap: 8px; }
.w__miss div { background: #151824; border-radius: 14px; padding: 12px 14px; font-size: 15px; color: #9AA1B5; }
.w__miss b { display: block; color: #F2F4FA; }
.w__miss small { display: block; color: #8B92A6; }
.clip { margin-top: 12px; }
.clip .play::before { content: "🎬"; background: transparent; font-size: 20px; }
.play--clip { background: var(--soft); box-shadow: inset 0 0 0 2px var(--lime); }
.clip p { margin: 8px 2px 0; }

@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.03); } 100% { transform: scale(1); } }
.eyebrow--c { display: inline-flex; align-items: center; gap: 6px; background: var(--soft); color: var(--purple); opacity: 1; border-radius: 999px; padding: 4px 10px; margin-bottom: 8px; }
:root[data-theme="dark"] .eyebrow--c { color: #B9B7FF; }

/* Układanie z klocków (jak w Starcie) */
.kslots { min-height: 58px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; padding: 10px; margin: 12px 0; border-radius: 16px; border: 2px dashed var(--line); background: var(--soft); }
.kslots.is-ok { border-style: solid; border-color: var(--green); background: rgba(47, 167, 122, .1); }
.kslots.is-bad { border-color: var(--amber); animation: kshake .4s; }
.kpool { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ktile { min-height: 48px; padding: 8px 16px; border-radius: 14px; border: 2px solid var(--line); background: var(--card); color: var(--ink); font-weight: 700; font-size: 17px; box-shadow: var(--shadow); }
.ktile:disabled { opacity: .25; box-shadow: none; }
.ktile--in { border-color: var(--purple); box-shadow: none; }
.kdone { font: 800 20px 'Poppins', sans-serif; text-align: center; }
.kmsg { text-align: center; color: var(--amber); font-weight: 600; margin: 10px 0 0; }
@keyframes kshake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* ===================== Runda 3 (2026-11-04): żywszy wygląd, kultura w akordeonie, sceny z odcinka ===================== */
.hd { background: var(--purple); box-shadow: 0 4px 18px rgba(72, 69, 182, .25); }
.card { border: 0; border-radius: 22px; box-shadow: 0 1px 0 rgba(26, 34, 56, .04), 0 10px 30px rgba(26, 34, 56, .07); }
:root[data-theme="dark"] .card { border: 1px solid var(--line); }
a.card.step { position: relative; padding-right: 40px; }
a.card.step::after { content: "\203A"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--muted); opacity: .6; }
a.card.step:hover { transform: translateY(-1px); }
.ep { border: 0; box-shadow: 0 6px 20px rgba(26, 34, 56, .06); }
.hero--po { background: var(--navy); box-shadow: 0 12px 34px rgba(26, 34, 56, .3); }
.hero--po::before { content: "🎬 🗣️ 🎙️"; }

/* Kultura: rozwijane karty */
.acc { display: grid; gap: 8px; margin-top: 6px; }
.acc details { background: var(--soft); border-radius: 16px; overflow: hidden; transition: background .2s; }
.acc details[open] { background: var(--sky); }
.acc summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; font-family: 'Poppins', sans-serif; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary b { flex: 1; font-size: 16px; }
.acc__e { flex: 0 0 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 22px; background: var(--card); box-shadow: var(--shadow); }
.acc__ch { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--card); position: relative; transition: transform .2s; }
.acc__ch::before { content: ""; position: absolute; left: 9px; top: 8px; width: 8px; height: 8px; border-right: 2.5px solid var(--purple); border-bottom: 2.5px solid var(--purple); transform: rotate(45deg); }
.acc details[open] .acc__ch { transform: rotate(180deg); }
.acc details p { margin: 0; padding: 0 16px 14px 68px; color: var(--ink); font-size: 15px; animation: fadein .25s; }
@keyframes fadein { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Wprowadzenie do seansu: mini podgląd układu */
.wdemo { margin: 14px 0 6px; padding: 12px; border-radius: 18px; background: #0B0D14; display: grid; gap: 6px; }
.wdemo__r { border-radius: 12px; padding: 8px 12px; font-size: 13px; color: #8B92A6; border: 1px dashed #23283A; }
.wdemo__r i { display: block; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #5C6378; margin-bottom: 2px; }
.wdemo__r--now { background: #1B1F35; color: #fff; border: 1px solid rgba(218, 251, 71, .35); }
.wdemo__r--now i { color: var(--lime); }
.wdemo__ans { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.wdemo__ans span { background: #1B1F2E; color: var(--lime); border-radius: 10px; padding: 8px; text-align: center; font-weight: 800; font-size: 13px; }
.how { margin: 10px 0 8px; padding: 0; list-style: none; display: grid; gap: 8px; }
.how li { font-size: 14px; color: var(--muted); }
.how b { color: var(--ink); }

/* Tryb seansu: głębia, czytelne „Było / Teraz / Za chwilę” */
.w__bar i { background: var(--lime); }
.w__mid { gap: 12px; }
.w__lbl { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #5C6378; margin-bottom: 6px; }
.w__lbl--now { color: var(--lime); }
.w__tm { letter-spacing: 0; text-transform: none; font-weight: 700; font-size: 12px; color: #C9CEDC; background: rgba(255, 255, 255, .07); border-radius: 999px; padding: 2px 8px; }
.w__lbl--now .w__tm { background: rgba(218, 251, 71, .14); color: var(--lime); }
.w__prev { display: block; opacity: 1; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px dashed #23283A; }
.w__row { display: flex; gap: 10px; align-items: flex-start; }
.w__pv { flex: 1; text-align: left; border: 0; background: none; padding: 0; color: #7D8399; font-size: 14px; line-height: 1.35; }
.w__pv b { display: block; color: #B6BCCD; font-weight: 700; margin-top: 2px; }
.w__now { position: relative; background: #1A1D33; border: 1px solid rgba(218, 251, 71, .28); border-radius: 22px; padding: 14px 16px 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 0 4px rgba(91, 88, 214, .08); animation: wIn .3s ease-out; }
@keyframes wIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.w__m { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 0; font-size: 14px; color: #AEB4C8; margin-bottom: 10px; line-height: 1.35; }
.w__q { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 0; font-family: 'Poppins', sans-serif; font-size: 23px; font-weight: 700; line-height: 1.3; color: #fff; }
.w__m.on, .w__q.on, .w__pv.on { outline: none; text-decoration: underline dotted rgba(218, 251, 71, .7); text-underline-offset: 5px; }
.w__gap { display: inline-block; width: 64px; height: .9em; vertical-align: -2px; border-bottom: 3px solid var(--lime); margin: 0 2px; }
.w__next { padding: 10px 12px; border-radius: 16px; border: 1px dashed #23283A; color: #7D8399; font-size: 14px; line-height: 1.35; }
.w__next .w__gap, .w__pv .w__gap { width: 40px; border-bottom-color: #4A5068; }
.w__new { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #07080C; background: #8FA8F6; border-radius: 6px; padding: 1px 6px; margin-right: 4px; }
.w__a { display: flex; align-items: center; gap: 14px; background: #1B1F2E; font-size: 18px; line-height: 1.3; }
.w__ab { flex: 0 0 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: var(--lime); font: 800 15px 'Poppins', sans-serif; }
.w__a.ok .w__ab { background: rgba(255, 255, 255, .2); color: #fff; }
.w__ans--ear .w__a { font-size: 16px; min-height: 64px; }
.w__list button.s em { font-style: normal; font-size: 12px; color: #8B92A6; margin-right: 8px; }
.w__miss button { display: block; width: 100%; text-align: left; border: 0; background: #151824; border-radius: 14px; padding: 12px 14px; font-size: 15px; color: #9AA1B5; }
.w__miss button b { display: block; color: #F2F4FA; }
.w__miss button small { display: block; color: #8B92A6; }
body.watch .bubble { background: var(--lime); color: var(--navy); font-weight: 600; }

/* Sceny z odcinka */
.scene { position: relative; margin: 12px 0 10px; border-radius: 18px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.scene video { width: 100%; height: 100%; display: block; object-fit: contain; }
.scene__btn { position: absolute; inset: 0; border: 0; background: rgba(0, 0, 0, .22); display: grid; place-items: center; transition: opacity .2s; }
.scene__btn span { width: 66px; height: 66px; border-radius: 50%; background: var(--lime); color: var(--navy); display: grid; place-items: center; font-size: 24px; padding-left: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.scene.on .scene__btn { opacity: 0; pointer-events: none; }
.sp__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sp__top > .muted { flex: 0 0 auto; white-space: nowrap; }
.sp__top + .muted.small { margin: -2px 0 10px; }
.sp__top .eyebrow--c { margin-bottom: 0; }
.say { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 21px; line-height: 1.35; margin-top: 4px; }
.say__dots { font-size: 20px; font-weight: 800; letter-spacing: .1em; color: var(--muted); margin: 6px 0 0; }
.tt--line { background: none; padding: 0; font-weight: inherit; text-decoration: underline dotted var(--purple); text-underline-offset: 5px; text-align: left; }
.tt--plain { background: none; padding: 0; font-weight: 600; text-align: left; }
.row--tight { margin-top: 8px; }
.pill { border: 0; border-radius: 999px; padding: 8px 14px; background: var(--soft); font-weight: 700; font-size: 14px; }
.turn { margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: var(--sun); font-size: 15px; }
.microw { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.pl-big { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 600; margin: 12px 0 8px; }
.qline { font-size: 19px; font-weight: 600; margin: 10px 0 0; }
.done-card { text-align: center; }
.done-card__i { font-size: 54px; }

/* Dopasuj po dźwięku (jak quiz w QuickSpeak Movies) */
.mq__board { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.mq__h { font: 800 11px 'Poppins', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.mq__col { display: grid; gap: 8px; align-content: start; }
.mq__it { border: 2px solid var(--line); background: var(--card); border-radius: 14px; padding: 8px 10px 10px; cursor: pointer; transition: border-color .15s, transform .1s; min-height: 78px; }
.mq__it:active { transform: scale(.98); }
.mq__it--film { background: var(--soft); }
.mq__it.is-sel { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(72, 69, 182, .18); }
.mq__it.is-ok { border-color: var(--green); background: rgba(47, 167, 122, .1); cursor: default; }
.mq__it.is-bad { border-color: var(--red); animation: kshake .4s; }
.mq__top { display: flex; align-items: center; gap: 4px; }
.mq__b { flex: 0 0 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--purple); color: #fff; font: 800 13px 'Poppins', sans-serif; margin-right: auto; }
.mq__it--film .mq__b { background: var(--navy); color: var(--lime); }
.mq__ic { border: 0; background: var(--soft); border-radius: 9px; width: 32px; height: 30px; font-size: 15px; }
.mq__t { margin-top: 8px; font-size: 14px; line-height: 1.35; }
.mq__bar { display: block; height: 10px; border-radius: 6px; background: var(--line); margin-top: 6px; }

/* Tryb testera */
body.is-tester::after { content: "🧪 tester"; position: fixed; right: 10px; bottom: calc(10px + var(--safe-b)); z-index: 80; background: var(--navy); color: var(--lime); font: 700 11px 'Poppins', sans-serif; padding: 4px 9px; border-radius: 999px; opacity: .8; pointer-events: none; }
body.watch.is-tester::after { display: none; }
.w__nw { white-space: nowrap; }
:root .tt--line, :root .tt--plain, :root[data-theme="dark"] .tt--line, :root[data-theme="dark"] .tt--plain { background: none; }
[hidden] { display: none !important; }

/* ===================== Runda 4 (2026-11-04): płaskie kolory, tempo, odstępy, koniec seansu ===================== */
/* Środek seansu wyśrodkowany, ale bez ucinania góry, gdy treść jest dłuższa niż ekran. */
.w__mid > :first-child { margin-top: auto; }
.w__mid > :last-child { margin-bottom: auto; }
.w__end { text-align: center; }
.w__trophy { font-size: 44px; margin-bottom: 0; }
.w__end h2 { font-size: 24px; margin-bottom: 6px; }
.w__end > p { margin: 0 0 6px; color: #C9CEDC; }
.w__foot { display: grid; gap: 6px; padding-top: 10px; }
.w__go { min-height: 56px; border: 0; border-radius: 16px; background: var(--lime); color: var(--navy); font: 700 17px Poppins, sans-serif; }
.w__go:active { transform: scale(.98); }
.w__back { min-height: 44px; border: 0; background: none; color: #8B92A6; font-size: 15px; font-weight: 600; }
/* Pod sceną: powtórka i tempo w jednym rzędzie */
.scene { margin: 0 0 10px; }
.sp__ctl { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.spd { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--soft); }
.spd button { border: 0; background: none; border-radius: 999px; padding: 6px 11px; min-width: 40px; font-size: 14px; font-weight: 700; color: var(--muted); }
.spd button.on { background: var(--purple); color: #fff; }
.say { margin: 0 0 4px; }
.say__dots { margin: 0 0 4px; }
.turn { margin-top: 10px; }
[data-ans] { margin-top: 14px; }
.qline { margin: 10px 0 4px; }
.pl-big { margin: 0 0 8px; }
.card > .row:last-child { margin-top: 16px; }
.card h3 + .scene { margin-top: 10px; }
/* Płasko: bez półprzezroczystego koła w rogu (na fiolecie i zieleni dawało efekt gradientu). */
.hero::after { display: none; }
:root[data-theme="dark"] .hero--po { background: #2A2E6E; }

/* Runda 5: tekst na żądanie, cel układania */
.say__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 0; }
.say__row .say__dots { margin: 0; }
.pill--show { flex: none; }
.ktarget { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; padding: 10px 14px; border-radius: 16px; background: var(--soft); font-weight: 600; }
.kplay { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--purple); color: #fff; font-size: 15px; }
.mw { margin: 12px 0 10px; }
.mwl { display: grid; gap: 8px; }
.mwr { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 2px solid transparent; border-radius: 16px; padding: 10px 14px; background: var(--soft); color: inherit; }
.mwr.on { border-color: var(--purple); }
.mwr__i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--purple); color: #fff; font-size: 13px; }
.mwr.done .mwr__i { background: var(--green); }
.mwr__b { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mwr__b [hidden] { display: none !important; }
.mwr__d { font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.mwr__t b { font-family: 'Poppins', sans-serif; font-size: 16px; }
.mwr__t small { display: block; color: var(--muted); font-size: 13px; }
.mwr em { font-style: normal; font-size: 12px; color: var(--muted); }
.mwr mark { background: var(--lime); color: #1A1D33; border-radius: 6px; padding: 0 4px; }

/* Runda 5: tryb seansu */
.mode__h { margin: 18px 0 10px; }
.mode { display: grid; gap: 10px; }
.mode__b { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: center; text-align: left; width: 100%; border: 2px solid var(--line); border-radius: 18px; padding: 14px 16px; background: var(--soft); color: inherit; }
.mode__b b { font-family: 'Poppins', sans-serif; font-size: 17px; }
.mode__b span:not(.mode__i) { grid-column: 2; color: var(--muted); font-size: 14px; line-height: 1.35; }
.mode__i { grid-row: span 2; font-size: 30px; text-align: center; }
.mode__b--full { border-color: var(--lime); }
/* Ściąga na seans */
.sci__d { color: #8B92A6; font-size: 14px; margin: 0 0 12px; }
.sci { background: #151824; border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; }
.sci__w { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--lime); margin-bottom: 4px; }
.sci__en { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 0; color: #E9EBF2; font-size: 17px; line-height: 1.4; font-family: inherit; }
.sci__en.on { text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 4px; }
.w__top { gap: 6px; }
.w__top button, .w__top .sp { white-space: nowrap; }
.w__top button { padding: 8px 10px; }
.disc p { font-size: 15px; line-height: 1.5; margin: 0; }
.disc h3 { margin: 0 0 6px; line-height: 1.35; }

/* ===================== Nauka kwestii: drabinka zapamiętywania (2026-11-23) ===================== */
.lad__tg { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px; padding: 10px 12px; border-radius: 16px; background: var(--soft); }
.lad__tg > span { flex: 1 1 auto; }
.lad__pl { flex: none; background: var(--card); }
.lad { font-family: 'Poppins', sans-serif; font-size: 21px; font-weight: 600; line-height: 1.5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; margin: 4px 0 16px; }
.lad__t { display: inline-flex; align-items: center; white-space: nowrap; }
.lad__ok { color: var(--green); font-weight: 700; }
.lad__gap { display: inline-flex; align-items: center; justify-content: flex-start; height: 38px; padding: 0 8px; border-radius: 10px; border: 2px dashed var(--line); background: var(--card); color: var(--muted); font-weight: 700; }
.lad__gap.on { border-style: solid; border-color: var(--purple); background: var(--soft); }
.lad--ch { gap: 8px; }
.lad--ch .lad__ok { background: rgba(47, 167, 122, .12); border-radius: 10px; padding: 2px 8px; }
.lad__in { height: 38px; padding: 0 8px; border-radius: 10px; border: 2px solid var(--purple); background: var(--card); color: var(--ink); font: 600 20px 'Poppins', sans-serif; outline: none; min-width: 44px; }
.lad__in::placeholder { color: var(--muted); opacity: .9; }
.lad__in.is-bad { border-color: var(--red); animation: kshake .4s; }
.ktile--bad { border-color: var(--red); animation: kshake .4s; }
.glos { display: grid; gap: 8px; margin-top: 6px; }
.glos__r { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--soft); }
.glos__t { flex: 1 1 auto; min-width: 0; text-align: left; border: 0; background: none; padding: 0; color: inherit; }
.glos__t b { display: block; font-family: 'Poppins', sans-serif; font-size: 17px; line-height: 1.35; }
.glos__t .say__dots { display: block; font-size: 17px; }
.glos__t small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
@media (max-width: 420px) { .lad { font-size: 19px; } .lad__in { font-size: 18px; } }

/* ===================== Bloki, Powtórki i listy w stylu Grammar Packa (2026-11-23, wersja 2) ===================== */
.zlist { display: grid; gap: 8px; margin: 12px 0 0; }
.zrow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 2px solid var(--line); background: var(--card); text-decoration: none; color: var(--ink); }
.zrow__n { flex: 0 0 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--purple); color: var(--lime); font: 800 15px 'Poppins', sans-serif; }
.zrow__e { flex: 0 0 34px; font-size: 24px; line-height: 1; text-align: center; }
.zrow__t { flex: 1 1 auto; min-width: 0; }
.zrow__t b { display: block; font-family: 'Poppins', sans-serif; font-size: 15px; line-height: 1.3; }
.zrow__t small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.zrow__go { flex: none; color: var(--purple-2); font-weight: 800; font-size: 18px; }
.zrow--done .zrow__n { background: var(--green); color: #fff; }
.zrow--done .zrow__t small { color: var(--green); }
.zrow--off { opacity: .6; }
.zrow--off .zrow__n { background: var(--soft); color: var(--purple); }
.card > .zlist:last-child { margin-bottom: 0; }
.bigc { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; text-decoration: none; background: var(--purple); color: #fff; margin: 0 0 12px; }
.bigc b { display: block; font-family: 'Poppins', sans-serif; font-size: 16px; line-height: 1.3; }
.bigc small { display: block; font-size: 13px; line-height: 1.4; opacity: .9; }
.bigc > span:nth-child(2) { flex: 1 1 auto; min-width: 0; }
.bigc__e { flex: none; font-size: 28px; line-height: 1; }
.bigc--lime { background: var(--lime); color: var(--navy); }
.bigc--lime .zrow__go { color: var(--navy); }
.bigc--card { background: var(--card); color: var(--ink); border: 2px solid var(--line); }
.bigc--card small { color: var(--muted); opacity: 1; }
.zlist .bigc { margin: 0; }

.mhead { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.mhead > span { font-size: 40px; line-height: 1; }
.mhead h1 { font-size: 26px; }
.mhead p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.goal__n { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.goal__n b { font: 800 36px 'Poppins', sans-serif; color: var(--purple); line-height: 1; }
.goal__n span { font-size: 15px; }
.goal .prog { margin-bottom: 12px; }
.goal .prog i { background: var(--green); }
.gst { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.gst span { padding: 6px 10px; border-radius: 999px; background: var(--soft); font-size: 13px; font-weight: 600; }
.done-card .gst { justify-content: center; }
.rv__ep { margin: -4px 0 8px; font-size: 13px; font-weight: 700; color: var(--purple); }
.self { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 10px; }
.self .btn { padding: 12px 6px; font-size: 14px; }
.tester { background: var(--sun); }
:root[data-theme="dark"] .goal__n b, :root[data-theme="dark"] .rv__ep { color: #A9A7FF; }
:root[data-theme="dark"] .zrow__go { color: #A9A7FF; }
:root[data-theme="dark"] .bigc--lime .zrow__go { color: var(--navy); }
:root[data-theme="dark"] .tester { color: var(--ink); }
@media (max-width: 330px) { .self { grid-template-columns: 1fr; } }

/* ===================== Wersja 3 (Jacek 23.11): mniej tekstu, „?” z dymkiem, równe odstępy ===================== */
.qm { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-left: 8px; padding: 0; border-radius: 50%; border: 2px solid var(--line); background: var(--card); color: var(--purple); font: 800 13px 'Poppins', sans-serif; vertical-align: middle; line-height: 1; flex: none; }
.qm.on { background: var(--purple); border-color: var(--purple); color: #fff; }
.hero .qm, .mhead .qm { border-color: rgba(255, 255, 255, .5); background: transparent; color: inherit; }
.mhead .qm { border-color: var(--line); color: var(--purple); }
.chips { align-items: center; margin-bottom: 14px; }
.chips .qm { width: 30px; height: 30px; margin-left: 2px; }
.bigc { margin: 0 0 14px; }
.zlist + .bigc, .card + .bigc { margin-top: 14px; }
.card .step + .zlist { margin-top: 14px; }
.card .step h3 { display: flex; align-items: center; flex-wrap: wrap; }
.sec--q { display: flex; align-items: center; }
.card h2 .qm { margin-left: 6px; }
.bubble { max-width: min(340px, calc(100vw - 32px)); line-height: 1.45; }
.glos__r.on { outline: 2px solid var(--purple); }
.glos__t small + small { margin-top: 4px; }
.glos__t .tt { text-align: left; }
:root[data-theme="dark"] .ep--plan .ep__n { color: #A9A7FF; }
:root[data-theme="dark"] .qm { color: #A9A7FF; }
:root[data-theme="dark"] .qm.on { color: #fff; }
:root[data-theme="dark"] .bubble { border: 1px solid #3A4060; }

/* v4 (Jacek 23.11): kadr ze sceny przy ćwiczeniach i powtórkach, szybka powtórka na ekranie głównym. */
.frame { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 14px; margin: 4px 0 12px; background: #000; }
/* Na szerokim ekranie pasek 170 px ucina kadr; twarze są zwykle w górnej części ujęcia (łatka z The Office, 24.11). */
.thumb { object-position: center 25%; }
.thumb { flex: 0 0 auto; width: 64px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: var(--soft); }
.powt-more { display: block; margin: -6px 0 16px; padding: 0 4px; font-size: 13px; color: var(--muted); text-decoration: none; }
.powt-more:hover { color: inherit; }
@media (max-width: 360px) { .thumb { width: 52px; } }
/* Dymek w sekcjach: etykieta po lewej, krótki tekst po prawej. */
.bubble--rows { padding: 10px 12px; display: grid; grid-template-columns: max-content 1fr; gap: 8px 10px; align-items: baseline; }
.tip__r { display: contents; }
.tip__r b { font-family: 'Poppins', sans-serif; font-size: 13px; color: var(--lime); white-space: nowrap; }
.tip__f { grid-column: 1 / -1; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 13px; opacity: .9; }

/* Darmowa wersja (demo): baner na ekranie głównym i kłódki na zamkniętych odcinkach. */
.demo { background: var(--soft); }
.demo p { margin: 0; }
.demo .btn { margin-top: 10px; }
.demo-choice .qsb-choice { margin: 12px 0 2px; }
.btn--sm { padding: 8px 14px; font-size: 14px; }
.ep--lock .ep__n { font-size: 18px; }

/* v5 (Jacek 24.11): najpierw pamięć, klip jako nagroda; sytuacja zamiast tekstu; żywe przyciski Play. */
.lad__kto { font-weight: 600; line-height: 1.4; }
.ask { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 10px 12px; border-radius: 16px; border: 1.5px solid var(--soft); }
.ask > span { flex: 1 1 auto; min-width: 0; }
.ask small { display: block; font-size: 12px; color: var(--muted); }
.ask .tt { font-family: 'Poppins', sans-serif; font-size: 15px; text-align: left; }
.kplay--sm { width: 34px; height: 34px; font-size: 13px; }
.say__sit { display: block; font-size: 15px; font-weight: 600; line-height: 1.4; }
.say__sit .say__dots { display: block; margin: 4px 0 0; font-size: 16px; }
.say__row { align-items: flex-start; }
.wsit { display: block; font-size: 14px; line-height: 1.4; }

/* Przyciski odtwarzania: wciśnięcie, ładowanie (kręcący się pierścień), granie (pulsowanie). */
.kplay, .play::before, .mq__ic, .scene__btn span { transition: transform .12s ease; }
.kplay:active, .mq__ic:active, .play:active::before, .scene__btn:active span { transform: scale(.88); }
.kplay, .mq__ic { position: relative; }
.kplay.is-load, .mq__ic.is-load, .play.is-load::before { color: transparent; }
.kplay.is-load::after, .mq__ic.is-load::after, .scene.is-load::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
	border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: qspin .7s linear infinite;
}
.mq__ic.is-load::after { border-color: rgba(72, 69, 182, .25); border-top-color: var(--purple); }
.scene.is-load::after { width: 34px; height: 34px; margin: -17px 0 0 -17px; border-width: 3px; }
.play.is-load::before { content: "…"; color: #fff; }
.kplay.is-on, .play.is-on::before, .mq__ic.is-on { background: var(--lime); color: var(--navy); animation: qbeat .9s ease-in-out infinite; }
@keyframes qspin { to { transform: rotate(360deg); } }
@keyframes qbeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .kplay.is-on, .play.is-on::before, .mq__ic.is-on, .play.is-load::before { animation: none; } }
.pill.is-on, .btn.is-on { background: var(--lime); color: var(--navy); border-color: var(--lime); }
.pill.is-load, .btn.is-load { opacity: .7; }

/* v6 (Jacek 24.11): szybka powtórka jako lista kart z kadrem, samoocena, zakładki. */
.ftabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; margin: 4px 0 12px; border-radius: 16px; background: var(--soft); }
.ftabs button { border: 0; border-radius: 12px; padding: 10px 8px; background: transparent; color: inherit; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; }
.ftabs button span { display: inline-block; min-width: 22px; margin-left: 4px; padding: 1px 7px; border-radius: 99px; background: rgba(127, 127, 127, .18); font-size: 12px; }
.ftabs button.on { background: var(--purple); color: #fff; }
.ftabs button.on span { background: rgba(255, 255, 255, .22); }
.ftabs button.pulse { animation: tabpulse .7s ease-out 2; }
@keyframes tabpulse { 0% { transform: scale(1); } 35% { transform: scale(1.06); background: var(--lime); color: var(--navy); } 100% { transform: scale(1); } }
.fcl { display: grid; gap: 10px; margin-bottom: 8px; }
.fcl__empty { text-align: center; padding: 14px 8px; }
.fc { display: grid; grid-template-columns: 112px 1fr auto; grid-template-areas: "img b play" "g g g"; gap: 10px 12px; align-items: center; padding: 10px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); overflow: hidden;
	transition: transform .36s ease, opacity .36s ease, max-height .36s ease, padding .36s ease, margin .36s ease; max-height: 400px; }
.fc__img { grid-area: img; width: 112px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: var(--soft); }
.fc__img--none { display: grid; place-items: center; font-size: 22px; }
.fc__b { grid-area: b; min-width: 0; }
.fc__ref { display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.fc__ref b { color: var(--purple-2); font-weight: 700; }
.fc__kto { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; }
.fc__en { display: block; margin-top: 6px; }
.fc__en .tt { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 700; text-align: left; }
.fc__play { grid-area: play; }
.fc__g { grid-area: g; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fc__g .btn { padding: 10px 8px; font-size: 14px; }
.fc--out { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: -10px; pointer-events: none; }
.fc--right { transform: translateX(60%); }
.fc--left { transform: translateX(-60%); }
.fc--in { animation: fcin .4s ease-out; }
@keyframes fcin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 360px) { .fc { grid-template-columns: 88px 1fr auto; } .fc__img { width: 88px; } }
@media (prefers-reduced-motion: reduce) { .fc, .ftabs button.pulse, .fc--in { transition: none; animation: none; } }

/* v7 (Jacek 24.11): samoocena bez zaznaczenia, podpowiedź i pominięcie wyróżnione, miejsce na klawiaturę */
:root { --rose: #FDECEC; }
:root[data-theme="dark"] { --rose: #3A2226; }
.btn--g { color: var(--ink); border: 2px solid transparent; transition: transform .12s ease; }
.btn--g:active { transform: scale(.97); }
.btn--g2 { background: var(--mint); border-color: rgba(47, 167, 122, .45); }
.btn--g1 { background: var(--sun); border-color: rgba(245, 165, 36, .5); }
.btn--g0 { background: var(--rose); border-color: rgba(217, 72, 77, .4); }
.lad__help { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.btn--hint { flex: 1 1 auto; background: var(--sun); color: var(--ink); border: 2px solid rgba(245, 165, 36, .5); }
.btn--quiet { margin-left: auto; background: transparent; color: var(--muted); border: 0; min-height: 44px; padding: 10px 8px; font-weight: 600; font-size: 14px; }
.btn--quiet:active { color: var(--ink); }
.selfchk { margin: 12px 0 0; padding: 10px 14px; border-radius: 14px; background: var(--soft); font-size: 14px; }
body.kb { padding-bottom: 60vh; }

/* v8 (Jacek 24.11, test The Office): pierścień ładowania w środku kółka, trójkąt Play optycznie w środku, efekt wyboru w samoocenie */
.kplay.is-load::after, .mq__ic.is-load::after, .scene.is-load::after { box-sizing: border-box; }
.kplay { padding: 0 0 0 3px; line-height: 1; }
.kplay.is-load { padding: 0; }
.play::before { padding-left: 2px; box-sizing: border-box; }
.btn--g.is-pick { animation: pop .35s ease; }
.btn--g2.is-pick { background: var(--green); border-color: var(--green); color: #fff; }
.btn--g1.is-pick { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.btn--g0.is-pick { background: var(--red); border-color: var(--red); color: #fff; }
.btn--g.is-dim { opacity: .4; transition: opacity .2s ease; }

/* ---------- Jacek 25.11 (przeniesione z Phrasal verbs) ---------- */
/* Dolny panel: Dalej i ▶ po prawej, pod kciukiem. */
.row.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0 auto; max-width: 680px; flex-wrap: nowrap; padding: 10px 16px calc(10px + var(--safe-b)); background: var(--card); border-top: 1px solid var(--line); }
.row.dock > .btn { flex: 1 1 0; min-width: 0; width: auto; }
.row.dock > .dock__play { flex: 0 0 64px; padding: 0; font-size: 20px; background: var(--lime); color: var(--navy); }
body.has-dock .main { padding-bottom: calc(96px + var(--safe-b)); }
body.has-dock .toast { bottom: calc(86px + var(--safe-b)); }
/* Rozmowy: kwestia, która leci, ma ramkę i lekko pulsuje. Tekst pod „Pokaż tekst”. */
.ln { transition: outline-color .2s; outline: 2px solid transparent; outline-offset: 0; }
.ln.ln--now { outline-color: var(--purple); animation: lnpulse 1.1s ease-in-out infinite; }
@keyframes lnpulse { 50% { transform: scale(1.025); } }
.zw__show { margin: 8px 0 0; }
/* Szybka powtórka: etykieta stanu z poziomem 1-3, tekst pod „Pokaż tekst”. */
.fc__st { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 6px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--soft); color: var(--ink); }
.fc__st--now { background: var(--purple); color: #fff; }
.fc__st--no { background: rgba(255, 140, 66, .18); }
.fc__st--ok { background: rgba(46, 160, 90, .16); }
.fc__dots { display: inline-flex; gap: 3px; }
.fc__dots i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .25; }
.fc__dots i.on { opacity: 1; }
.fc__show { display: inline-block; margin-top: 6px; border: 0; background: none; padding: 0; font: 600 13px 'Inter', sans-serif; color: var(--purple); cursor: pointer; }
:root[data-theme="dark"] .fc__show { color: var(--lime); }

/* Rewind 26.11 (Jacek, wzór z Movies): pełny kadr w ramce 16:9, pasek kroków z segmentami, „‹ Wstecz” o jeden ekran, napisy na wideo. */
.segs { display: flex; gap: 3px; margin: 0 0 6px; }
.segs .seg { flex: 1 1 0; min-width: 0; height: 20px; display: flex; align-items: center; padding: 0; border: 0; background: none; cursor: default; }
.segs .seg::before { content: ''; display: block; width: 100%; height: 7px; border-radius: 4px; background: var(--line); }
.segs .seg.done::before { background: var(--purple); }
.segs .seg.cur::before { background: var(--purple); opacity: .45; }
.segs a.seg, .segs button.seg { cursor: pointer; }
.segs a.seg:hover::before, .segs button.seg:hover::before { opacity: .7; }
.back1 { display: inline-block; margin: 0 0 8px; padding: 6px 2px; border: 0; background: none; color: var(--muted); font: 600 14px/1.2 'Inter', sans-serif; text-decoration: none; cursor: pointer; }
.back1:hover { color: var(--ink); }
.scene__sub { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; text-align: center; pointer-events: none; }
.scene__sub button { pointer-events: auto; border: 0; padding: 4px 12px; border-radius: 8px; background: rgba(0, 0, 0, .78); color: #fff; font: 600 19px/1.4 'Inter', sans-serif; cursor: pointer; }
.sp__btns { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.pill.subs.on { background: var(--purple); color: #fff; }

/* Akordeon ze znaczeniem i przykładami (k.pl, k.ex), od 26.11 w silniku (wcześniej łatki ACC_* w paczkach). */
.acc .acc__in { padding: 0 14px 14px; animation: fadein .25s; }
.acc .acc__in p { margin: 0 0 6px; padding: 0; font-size: 15px; }
.acc .acc__in .acc__pl { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 16px; }
.acc__ex { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.acc .acc__s, :root[data-theme="dark"] .acc .acc__s { display: block; width: 100%; text-align: left; border: 0; background: var(--card); color: var(--ink); border-radius: 12px; padding: 10px 12px; font: 500 15px/1.45 'Inter', sans-serif; cursor: pointer; }
.acc__hl { background: rgba(218, 251, 71, .55); border-radius: 6px; padding: 0 3px; font-weight: 700; }
:root[data-theme="dark"] .acc__hl { background: rgba(218, 251, 71, .25); }
.acc .acc__in .acc__hint { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
/* Przykład: najpierw ▶ i kropki, „Pokaż tekst” po odsłuchu (Jacek 26.11). */
.acc__ex li.exs { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 12px; padding: 6px 8px; }
.exs .exs__play { flex: 0 0 40px; width: 40px; height: 40px; }
.exs__b { flex: 1; min-width: 0; }
.exs__dots { color: var(--muted); letter-spacing: 2px; font-size: 15px; }
.acc .exs .acc__s, :root[data-theme="dark"] .acc .exs .acc__s { padding: 4px 2px; background: transparent; }
.exs .exs__show { flex: 0 0 auto; white-space: nowrap; }
.exs [hidden] { display: none !important; }

/* Napisy jak w rolkach i wzór z CapCuta (Jacek 26.11): Montserrat ExtraBold, biały, bez tła, ciemny obrys i cień,
   około 5% wysokości kadru. Pierwsza fraza żółta, druga zielona. Na górze pigułka z tytułem filmu (k.film). */
.scene { container-type: inline-size; }
.scene__sub button { background: transparent; padding: 0 4px; color: #fff; font: 800 clamp(18px, 4cqw, 32px)/1.25 'Montserrat', 'Poppins', sans-serif; letter-spacing: .01em; -webkit-text-stroke: 5px rgba(0, 0, 0, .9); paint-order: stroke fill; text-shadow: 0 2px 8px rgba(0, 0, 0, .75); text-wrap: balance; }
.scene__sub .sub__k { color: #F2F200; }
.scene__sub .sub__k2 { color: #2EE62E; }
.scene__film { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); z-index: 2; max-width: 80%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 3px 8px; border-radius: 4px; background: #4845B6; color: #fff; font: 700 12px/1.3 'Montserrat', 'Poppins', sans-serif; pointer-events: none; }
.subs__hint { margin: 6px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
/* Tłumaczenie awaryjne pod sceną. */
.pill.trb.on { background: var(--purple); color: #fff; }
.trl { margin: 8px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--soft); color: var(--ink); font-size: 15px; animation: fadein .2s; }
.glos__r .trb--s { flex: none; padding: 4px 8px; }
.glos > .trl { margin: 0; }

/* Zapas pod klawiaturą = jej wysokość (kbPad w app.js), zamiast stałych 60vh, które dawały „niekończące się” przewijanie. */
body.kb { padding-bottom: var(--kbh, 0px); }
