/* ═══════════════════════════════════════════════
   PRZEŁOM — design system
   Paleta: głęboki kosmos + świt (amber) + sygnał (teal)
   ═══════════════════════════════════════════════ */
:root {
  --bg: #07090f;
  --bg-2: #0b0e18;
  --bg-3: #10131f;
  --paper: #f4efe6;
  --ink: #e8eaf2;
  --ink-dim: #9aa1b5;
  --ink-faint: #7d86a3; /* rozjaśnione z #5c6378: kontrast na --bg z 3.3:1 do ~5.4:1 (WCAG AA) */
  --amber: #f5a623;
  --amber-hot: #ff7a3d;
  --teal: #35d0ba;
  --magenta: #c86bfa;
  --danger: #ff5470;
  --grad-dawn: linear-gradient(120deg, #ff7a3d 0%, #f5a623 45%, #ffd66b 100%);
  --grad-cosmic: linear-gradient(135deg, #c86bfa 0%, #6b7bfa 50%, #35d0ba 100%);
  --radius: 18px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-quote: 'Crimson Pro', Georgia, serif;
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
::selection { background: var(--amber); color: #1a1206; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.01em; }
a { color: inherit; }
em { font-style: italic; }
button { font-family: inherit; cursor: pointer; }

/* ── scroll reveal ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: rgba(7,9,15,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s;
}
.nav-logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  text-decoration: none; letter-spacing: .04em;
}
.nav-logo span { background: var(--grad-dawn); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { text-decoration: none; font-size: .88rem; color: var(--ink-dim); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 7px 16px; border-radius: 999px;
  background: var(--grad-dawn); color: #1a1206 !important; font-weight: 600;
}
.nav-cta:hover { filter: brightness(1.08); }
@media (max-width: 760px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 110px 24px 80px;
  background:
    radial-gradient(1100px 500px at 50% 118%, rgba(255,122,61,.22), transparent 60%),
    radial-gradient(900px 480px at 82% -10%, rgba(107,123,250,.16), transparent 60%),
    var(--bg);
}
#stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; max-width: 880px; z-index: 2; }
.hero-kicker {
  display: inline-block; margin-bottom: 26px;
  font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(245,166,35,.35); border-radius: 999px;
  padding: 8px 18px; background: rgba(245,166,35,.07);
}
.hero-title {
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  font-weight: 700; margin-bottom: 26px;
}
.hero-title em {
  font-style: italic;
  background: var(--grad-dawn);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  max-width: 640px; margin: 0 auto 38px;
  color: var(--ink-dim); font-size: 1.08rem;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; text-decoration: none;
  transition: transform .15s, filter .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad-dawn); color: #1a1206; box-shadow: 0 8px 30px rgba(245,166,35,.35); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { border: 1px solid rgba(255,255,255,.22); color: var(--ink); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }

.hero-ticker {
  margin-top: 60px; font-size: .92rem; color: var(--ink-faint);
  min-height: 1.6em; font-family: var(--font-display);
}
.hero-ticker strong { color: var(--teal); }
.hero-deflate {
  margin-top: 16px; font-size: .82rem; color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.hero-deflate b { color: var(--amber); font-weight: 600; }
.scroll-hint {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: var(--ink-faint); animation: bob 2s infinite ease-in-out; font-size: 1.2rem;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0);} 50% { transform: translate(-50%,8px);} }

/* ═══════════ SEKCJE ═══════════ */
.section { padding: 110px 24px; max-width: var(--maxw); margin: 0 auto; }
.section-alt {
  max-width: none;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.section-alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-dark {
  max-width: none;
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(255,84,112,.08), transparent 60%),
    #05060b;
}
.section-dark > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-paper {
  max-width: none;
  background: var(--paper); color: #23201a;
}
.section-paper > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-game {
  max-width: none;
  background:
    radial-gradient(1000px 500px at 85% 10%, rgba(200,107,250,.12), transparent 60%),
    var(--bg-2);
}
.section-game > * { max-width: 900px; margin-left: auto; margin-right: auto; }

.section-head { margin-bottom: 56px; max-width: 760px; }
.section-num {
  font-family: var(--font-display); font-size: .9rem; letter-spacing: .3em;
  color: var(--amber);
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 10px 0 18px; }
.section-lead { color: var(--ink-dim); font-size: 1.06rem; }
.section-paper .section-lead { color: #5a5348; }
.section-paper .section-num { color: #b0651c; }

.glass {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.pull-quote {
  margin: 70px auto 0; max-width: 680px; text-align: center;
  font-family: var(--font-quote); font-size: 1.45rem; font-style: italic;
  color: var(--ink); line-height: 1.5;
}
.pull-quote cite { display: block; margin-top: 14px; font-size: .95rem; font-style: normal; color: var(--ink-faint); font-family: var(--font-body); }

/* ═══════════ 01 SOCZEWKI ═══════════ */
.lens-switch { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.lens-btn {
  padding: 11px 22px; border-radius: 999px; font-size: .95rem; font-weight: 600;
  background: transparent; color: var(--ink-dim);
  border: 1px solid rgba(255,255,255,.16); transition: all .25s;
}
.lens-btn:hover { color: var(--ink); border-color: rgba(255,255,255,.4); }
.lens-btn.active[data-lens="fear"] { background: rgba(255,84,112,.14); border-color: var(--danger); color: #ff8fa3; }
.lens-btn.active[data-lens="hope"] { background: rgba(245,166,35,.14); border-color: var(--amber); color: #ffd66b; }
.lens-btn.active[data-lens="both"] { background: rgba(53,208,186,.12); border-color: var(--teal); color: var(--teal); }

.lens-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.lens-card {
  border-radius: var(--radius); padding: 26px;
  background: var(--bg-3); border: 1px solid rgba(255,255,255,.08);
  transition: border-color .3s, transform .2s;
}
.lens-card:hover { transform: translateY(-3px); }
.lens-fact {
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 12px;
}
.lens-fact b { color: var(--teal); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: .95rem; display: block; margin-top: 4px; }
.lens-view { font-size: 1rem; }
.lens-view.fear { color: #ffb3c0; }
.lens-view.hope { color: #ffe3ad; }
.lens-view .tag { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; display: block; margin-bottom: 6px; }
.lens-both .lens-view + .lens-view { margin-top: 14px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.14); }
.lens-synthesis {
  margin-top: 16px; padding: 12px 14px; border-radius: 10px;
  background: rgba(53,208,186,.08); border: 1px solid rgba(53,208,186,.25);
  color: #b8f2e8; font-size: .95rem;
}

/* ═══════════ 02 6D ═══════════ */
.sixd-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .sixd-wrap { grid-template-columns: 1fr; } }
.sixd-track { display: flex; flex-direction: column; gap: 6px; }
.sixd-step {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 14px 16px; border-radius: 12px; border: 1px solid transparent;
  background: transparent; color: var(--ink-dim); font-size: 1rem; transition: all .2s;
}
.sixd-step:hover { background: rgba(255,255,255,.04); color: var(--ink); }
.sixd-step.active { background: rgba(245,166,35,.1); border-color: rgba(245,166,35,.4); color: var(--ink); }
.sixd-step .d {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06);
}
.sixd-step.active .d { background: var(--grad-dawn); color: #1a1206; }
.sixd-detail { padding: 34px; min-height: 320px; }
.sixd-detail h3 { font-size: 1.5rem; margin-bottom: 6px; }
.sixd-detail .sixd-tag { color: var(--amber); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.sixd-detail p { color: var(--ink-dim); margin-top: 14px; }
.sixd-example {
  margin-top: 20px; padding: 16px 18px; border-radius: 12px;
  background: rgba(53,208,186,.07); border-left: 3px solid var(--teal);
  font-size: .96rem; color: #c9ece6;
}
.sixd-example b { color: var(--teal); }

/* demonetyzacja */
.demonet { margin-top: 90px; }
.demonet h3 { font-size: 1.4rem; margin-bottom: 26px; }
.demonet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.demonet-card {
  padding: 24px; border-radius: var(--radius);
  background: var(--bg-3); border: 1px solid rgba(255,255,255,.08);
}
.demonet-card .what { font-size: .9rem; color: var(--ink-dim); margin-bottom: 12px; min-height: 2.6em; }
.demonet-card .then { font-size: .85rem; color: var(--ink-faint); text-decoration: line-through; }
.demonet-card .now {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 700;
  background: var(--grad-dawn); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.demonet-card .factor { font-size: .8rem; color: var(--teal); margin-top: 6px; }
.demonet-note { margin-top: 26px; color: var(--ink-dim); max-width: 720px; }

/* ═══════════ 03 SŁOWNIK ═══════════ */
.glossary-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.g-card { perspective: 1200px; height: 240px; cursor: pointer; }
.g-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform .6s cubic-bezier(.3,.8,.3,1);
}
.g-card.flipped .g-inner { transform: rotateY(180deg); }
.g-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.g-front { background: var(--bg-3); border: 1px solid rgba(255,255,255,.09); }
.g-front .g-abbr { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; }
.g-front .g-full { color: var(--ink-dim); font-size: .92rem; }
.g-front .g-hint { font-size: .78rem; color: var(--ink-faint); }
.g-back {
  transform: rotateY(180deg);
  background: linear-gradient(150deg, rgba(245,166,35,.14), rgba(200,107,250,.1)), var(--bg-3);
  border: 1px solid rgba(245,166,35,.35);
  overflow-y: auto; justify-content: flex-start; gap: 10px;
}
.g-back p { font-size: .86rem; color: var(--ink); line-height: 1.5; }
.g-back .g-why { font-size: .82rem; color: #ffd66b; }
.g-back .g-why b { text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; display: block; opacity: .8; }

/* ═══════════ 04 CIEŃ ═══════════ */
.shadow-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.shadow-card {
  border-radius: var(--radius); padding: 30px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,84,112,.2);
}
.shadow-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.shadow-card .sh-icon { font-size: 1.8rem; }
.shadow-card > p { color: var(--ink-dim); font-size: .96rem; margin-top: 12px; }
.shadow-list { margin: 16px 0 0; padding-left: 18px; color: var(--ink-dim); font-size: .93rem; }
.shadow-list li { margin-bottom: 8px; }
.shadow-hope {
  margin-top: 20px; padding: 14px 16px; border-radius: 12px;
  background: rgba(53,208,186,.07); border: 1px solid rgba(53,208,186,.22);
  font-size: .92rem; color: #b8f2e8;
}
.shadow-hope b { color: var(--teal); text-transform: uppercase; font-size: .72rem; letter-spacing: .1em; display: block; margin-bottom: 4px; }

/* ═══════════ 05 CZŁOWIEK (paper) ═══════════ */
.section-paper h2, .section-paper h3, .section-paper h4 { color: #1d1a14; }
.phil-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.phil-card {
  background: #fffdf8; border: 1px solid #e3dccb; border-radius: var(--radius);
  padding: 30px; box-shadow: 0 4px 18px rgba(90,70,30,.06);
}
.phil-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.phil-card p { font-size: .95rem; color: #4a443a; }
.phil-card p + p { margin-top: 12px; }
.phil-punch {
  padding: 12px 14px; border-radius: 10px; background: #f7edd8;
  border-left: 3px solid var(--amber); color: #6b4d12 !important;
}
.ikigai { margin-top: 60px; background: #fffdf8; border: 1px solid #e3dccb; border-radius: var(--radius); padding: 40px; }
.ikigai h3 { font-size: 1.35rem; margin-bottom: 14px; }
.ikigai > p { color: #4a443a; max-width: 800px; }
.evening-questions { margin-top: 28px; padding: 26px 30px; border-radius: 14px; background: #182030; color: var(--ink); }
.evening-questions h4 { color: #ffd66b; margin-bottom: 14px; font-size: 1.05rem; }
.evening-questions ol { padding-left: 22px; }
.evening-questions li { margin-bottom: 10px; font-family: var(--font-quote); font-size: 1.12rem; }

/* ═══════════ 06 GRA ═══════════ */
.game-shell { padding: 44px; min-height: 460px; display: flex; flex-direction: column; }
@media (max-width: 640px) { .game-shell { padding: 26px 20px; } }
.game-progress { display: flex; gap: 6px; margin-bottom: 30px; }
.game-progress span { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); transition: background .4s; }
.game-progress span.done { background: var(--grad-dawn); }
.game-year { font-family: var(--font-display); color: var(--magenta); letter-spacing: .2em; font-size: .9rem; margin-bottom: 10px; }
.game-scene-text { font-size: 1.25rem; line-height: 1.55; margin-bottom: 30px; font-family: var(--font-quote); }
.game-choices { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.game-choice {
  text-align: left; padding: 16px 20px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  color: var(--ink); font-size: .98rem; line-height: 1.5; transition: all .2s;
}
.game-choice:hover { background: rgba(245,166,35,.12); border-color: var(--amber); transform: translateX(4px); }
.game-echo {
  padding: 14px 18px; border-radius: 12px; margin-bottom: 24px;
  background: rgba(200,107,250,.08); border-left: 3px solid var(--magenta);
  color: #dcc2f5; font-size: .95rem; font-style: italic;
}
.game-start-btn, .game-restart {
  align-self: center; margin-top: 20px;
  padding: 16px 38px; border-radius: 999px; border: none;
  background: var(--grad-dawn); color: #1a1206; font-weight: 700; font-size: 1.05rem;
  box-shadow: 0 8px 30px rgba(245,166,35,.35); transition: transform .15s;
}
.game-start-btn:hover, .game-restart:hover { transform: translateY(-2px) scale(1.02); }
.game-intro { text-align: center; margin: auto 0; }
.game-intro .big { font-size: 3rem; margin-bottom: 10px; }
.game-intro p { color: var(--ink-dim); max-width: 520px; margin: 0 auto; }

/* wynik gry */
.game-result { text-align: center; }
.game-result .arch-emoji { font-size: 4rem; }
.game-result h3 {
  font-size: 2.2rem; margin: 8px 0 4px;
  background: var(--grad-cosmic); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.game-result .arch-tagline { color: var(--ink-dim); font-style: italic; margin-bottom: 24px; }
.game-result .arch-desc { text-align: left; color: var(--ink); max-width: 620px; margin: 0 auto 20px; }
.arch-traits { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.arch-traits span {
  padding: 6px 14px; border-radius: 999px; font-size: .82rem;
  background: rgba(53,208,186,.1); border: 1px solid rgba(53,208,186,.3); color: var(--teal);
}
.arch-moves { text-align: left; max-width: 620px; margin: 0 auto; padding: 20px 24px; border-radius: 14px; background: rgba(255,255,255,.04); }
.arch-moves h4 { color: var(--amber); margin-bottom: 10px; font-size: .95rem; letter-spacing: .06em; }
.arch-moves ul { padding-left: 20px; color: var(--ink-dim); font-size: .94rem; }
.arch-moves li { margin-bottom: 8px; }
.game-share-row { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.game-share {
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  background: rgba(200,107,250,.15); border: 1px solid var(--magenta); color: #e3c8f8;
}
.game-share:hover { background: rgba(200,107,250,.28); }
.game-restart { background: transparent; border: 1px solid rgba(255,255,255,.25); color: var(--ink); box-shadow: none; font-weight: 600; font-size: .95rem; padding: 13px 26px; margin-top: 0; }

/* ═══════════ 07 KOMPAS ═══════════ */
.compass-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.compass-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px; border-radius: var(--radius);
  background: var(--bg-3); border: 1px solid rgba(255,255,255,.08);
  transition: border-color .25s, transform .2s;
}
.compass-card:hover { border-color: rgba(245,166,35,.5); transform: translateY(-3px); }
.compass-day {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(245,166,35,.12); color: var(--amber); border: 1px solid rgba(245,166,35,.3);
}
.compass-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.compass-card p { font-size: .9rem; color: var(--ink-dim); }

/* ═══════════ FOOTER ═══════════ */
.footer {
  border-top: 1px solid rgba(255,255,255,.07);
  background:
    radial-gradient(800px 300px at 50% 130%, rgba(245,166,35,.13), transparent 60%),
    #05060b;
  padding: 90px 24px 60px; text-align: center;
}
.footer-inner { max-width: 700px; margin: 0 auto; }
.footer-title { font-size: 1.9rem; margin-bottom: 30px; }
.manifesto { list-style: none; margin-bottom: 46px; }
.manifesto li {
  font-family: var(--font-quote); font-size: 1.25rem; padding: 13px 0;
  border-bottom: 1px dashed rgba(255,255,255,.1);
}
.manifesto li:last-child { border-bottom: none; }
.manifesto em { color: var(--amber); }
.footer-note { color: var(--ink-faint); font-size: .88rem; line-height: 1.8; }

/* ═══════════ PERSPEKTYWY (iteracja 2) ═══════════ */
.persona-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(4,5,10,.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.persona-overlay.open { display: flex; }
.persona-modal {
  max-width: 720px; width: 100%; max-height: 92svh; overflow-y: auto;
  background: linear-gradient(160deg, #10131f, #0b0e18);
  border: 1px solid rgba(245,166,35,.3); border-radius: 24px;
  padding: 42px 40px; text-align: center;
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
}
@media (max-width: 640px) { .persona-modal { padding: 30px 20px; } }
.persona-kicker { color: var(--amber); font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.persona-modal h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); margin-bottom: 12px; }
.persona-sub { color: var(--ink-dim); font-size: .98rem; max-width: 540px; margin: 0 auto 30px; }
.persona-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 22px; }
.persona-opt {
  padding: 22px 18px; border-radius: 16px; text-align: left;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  color: var(--ink); transition: all .2s;
}
.persona-opt:hover { border-color: var(--amber); background: rgba(245,166,35,.08); transform: translateY(-3px); }
.persona-opt.selected { border-color: var(--amber); background: rgba(245,166,35,.12); }
.persona-opt .p-icon { font-size: 1.9rem; display: block; margin-bottom: 8px; }
.persona-opt .p-name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; display: block; margin-bottom: 6px; }
.persona-opt .p-desc { font-size: .84rem; color: var(--ink-dim); line-height: 1.45; }
.persona-skip { background: none; border: none; color: var(--ink-faint); font-size: .9rem; text-decoration: underline; }
.persona-skip:hover { color: var(--ink); }

.persona-fab {
  position: fixed; left: 18px; bottom: 18px; z-index: 90;
  padding: 11px 18px; border-radius: 999px;
  background: rgba(16,19,31,.92); color: var(--ink);
  border: 1px solid rgba(245,166,35,.45);
  font-size: .86rem; font-weight: 600;
  box-shadow: 0 6px 24px rgba(0,0,0,.45);
  transition: transform .15s, border-color .2s;
}
.persona-fab:hover { transform: translateY(-2px); border-color: var(--amber); }

.persona-note {
  display: none; margin: -26px 0 46px; max-width: 760px;
  padding: 18px 22px; border-radius: 14px;
  background: linear-gradient(140deg, rgba(245,166,35,.1), rgba(200,107,250,.07));
  border: 1px solid rgba(245,166,35,.35);
  font-size: .96rem; line-height: 1.6; color: var(--ink);
}
.persona-note.on { display: block; }
.persona-note .pn-tag {
  display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 6px; font-weight: 700;
}
.section-paper .persona-note { background: #182030; border-color: rgba(245,166,35,.5); color: var(--ink); }

/* ═══════════ DOWODY (iteracja 2) ═══════════ */
.lab-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.lab-filter {
  padding: 10px 20px; border-radius: 999px; font-size: .92rem; font-weight: 600;
  background: transparent; color: var(--ink-dim);
  border: 1px solid rgba(255,255,255,.16); transition: all .22s;
}
.lab-filter:hover { color: var(--ink); border-color: rgba(255,255,255,.4); }
.lab-filter.active { background: rgba(53,208,186,.14); border-color: var(--teal); color: var(--teal); }
.lab-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 20px; }
.lab-card {
  border-radius: var(--radius); padding: 26px;
  background: var(--bg-3); border: 1px solid rgba(255,255,255,.09);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s, border-color .25s;
}
.lab-card:hover { transform: translateY(-4px); border-color: rgba(53,208,186,.5); }
.lab-card .lab-icon { font-size: 2rem; }
.lab-card h3 { font-size: 1.12rem; }
.lab-card .lab-what { font-size: .92rem; color: var(--ink-dim); }
.lab-card .lab-why { font-size: .92rem; color: var(--ink); padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.04); border-left: 3px solid var(--magenta); }
.lab-card .lab-spark {
  margin-top: auto; font-size: .9rem; color: #ffe3ad;
  padding: 12px 14px; border-radius: 10px;
  background: rgba(245,166,35,.08); border-left: 3px solid var(--amber);
}
.lab-card .lab-spark b, .lab-card .lab-why b { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .75; margin-bottom: 4px; }
.lab-card.hidden { display: none; }

/* ═══════════ GŁOSY (iteracja 4) ═══════════ */
.voices-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.voice-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px; border-radius: var(--radius);
  background: var(--bg-3); border: 1px solid rgba(255,255,255,.09);
  text-decoration: none; color: var(--ink);
  transition: transform .2s, border-color .25s;
}
.voice-card:hover { transform: translateY(-4px); border-color: rgba(245,166,35,.55); }
.voice-type {
  align-self: flex-start; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(200,107,250,.12); border: 1px solid rgba(200,107,250,.35); color: #dcc2f5;
}
.voice-card h3 { font-size: 1.08rem; }
.voice-card p { font-size: .9rem; color: var(--ink-dim); }
.voice-go { margin-top: auto; font-size: .88rem; font-weight: 600; color: var(--amber); }
.voice-card:hover .voice-go { text-decoration: underline; }

/* nagłówek kompasu per persona */
.compass-mode {
  margin: -30px 0 30px; font-size: .92rem; color: var(--ink-dim);
}
.compass-mode b { color: var(--amber); }

/* ═══════════ DOSTĘPNOŚĆ (iteracja 5) ═══════════ */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  padding: 12px 22px; border-radius: 0 0 12px 0;
  background: var(--amber); color: #1a1206; font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 0; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ═══════════ DEBATA (iteracja 6) ═══════════ */
.debate { margin-top: 90px; padding: 40px; }
@media (max-width: 640px) { .debate { padding: 26px 18px; } }
.debate-kicker { color: var(--magenta); font-size: .8rem; letter-spacing: .18em; margin-bottom: 8px; }
.debate h3 { font-size: 1.6rem; margin-bottom: 12px; }
.debate-intro { color: var(--ink-dim); max-width: 720px; margin-bottom: 34px; }
.debate-sliders { display: flex; flex-direction: column; gap: 22px; margin-bottom: 26px; }
.dslider .ds-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dslider .ds-label { font-weight: 600; font-size: 1rem; }
.dslider .ds-val { font-family: var(--font-display); font-weight: 700; color: var(--amber); min-width: 74px; text-align: right; }
.dslider .ds-desc { font-size: .85rem; color: var(--ink-faint); margin: 2px 0 8px; }
.dslider input[type="range"] {
  width: 100%; accent-color: var(--amber); height: 6px; cursor: pointer;
}
.debate-sumrow { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.debate-sumbar { flex: 1; height: 10px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
#debateSumFill { height: 100%; width: 100%; border-radius: 999px; background: var(--grad-dawn); transition: width .2s, background .2s; }
#debateSumFill.over { background: var(--danger); }
.debate-sum { font-family: var(--font-display); font-weight: 700; white-space: nowrap; }
.debate-sum.bad { color: var(--danger); }
.debate-go {
  padding: 15px 34px; border-radius: 999px; border: none;
  background: var(--grad-dawn); color: #1a1206; font-weight: 700; font-size: 1rem;
  box-shadow: 0 8px 30px rgba(245,166,35,.3); transition: transform .15s, opacity .2s;
}
.debate-go:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }
.debate-go:not(:disabled):hover { transform: translateY(-2px); }
.debate-result { margin-top: 34px; padding: 30px; border-radius: 16px;
  background: rgba(200,107,250,.07); border: 1px solid rgba(200,107,250,.3); }
.debate-result h4 { font-size: 1.5rem; margin: 6px 0 14px;
  background: var(--grad-cosmic); -webkit-background-clip: text; background-clip: text; color: transparent; }
.debate-result .dr-emoji { font-size: 2.6rem; }
.debate-result p { color: var(--ink); margin-bottom: 14px; }
.debate-result .dr-shadow { padding: 14px 16px; border-radius: 12px;
  background: rgba(255,84,112,.08); border-left: 3px solid var(--danger); color: #ffc9d2; font-size: .95rem; }
.debate-result .dr-echo { padding: 14px 16px; border-radius: 12px;
  background: rgba(53,208,186,.08); border-left: 3px solid var(--teal); color: #b8f2e8; font-size: .95rem; }
.debate-result .dr-steel { margin-top: 16px; font-family: var(--font-quote); font-style: italic;
  font-size: 1.08rem; color: var(--ink-dim); }
.debate-result .dr-mix { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.debate-result .dr-mix span { font-size: .82rem; padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); color: var(--ink-dim); }

/* ═══════════ TRYB WYKŁADU (iteracja 7) ═══════════ */
.hero-lecture {
  margin-top: 26px; background: none; border: none;
  color: var(--ink-faint); font-size: .88rem; text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-lecture:hover { color: var(--amber); }
.lecture {
  position: fixed; inset: 0; z-index: 400; display: none;
  flex-direction: column; align-items: center; justify-content: center;
  background:
    radial-gradient(1200px 600px at 50% 120%, rgba(255,122,61,.16), transparent 60%),
    #05060b;
  padding: 6vh 6vw;
}
.lecture.open { display: flex; }
.lecture-close {
  position: absolute; top: 22px; right: 26px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2);
  color: var(--ink); font-size: 1.1rem;
}
.lecture-close:hover { background: rgba(255,255,255,.14); }
.lecture-slide { max-width: 1100px; text-align: center; }
.lecture-slide .lk {
  color: var(--amber); letter-spacing: .22em; text-transform: uppercase;
  font-size: clamp(.8rem, 1.4vw, 1rem); margin-bottom: 3vh; display: block;
}
.lecture-slide .lbig {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 4.2rem); line-height: 1.15; margin-bottom: 4vh;
}
.lecture-slide .lsub {
  font-family: var(--font-quote); font-size: clamp(1.05rem, 2.2vw, 1.6rem);
  color: var(--ink-dim); max-width: 860px; margin: 0 auto; line-height: 1.5;
}
.lecture-bottom { display: flex; align-items: center; gap: 26px; margin-top: 7vh; }
.lecture-nav {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(245,166,35,.12); border: 1px solid rgba(245,166,35,.45);
  color: var(--amber); font-size: 1.3rem;
}
.lecture-nav:hover { background: rgba(245,166,35,.25); }
.lecture-dots { display: flex; gap: 8px; }
.lecture-dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.18); cursor: pointer; transition: background .2s, transform .2s;
}
.lecture-dots span.on { background: var(--amber); transform: scale(1.3); }
.lecture-hint {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: var(--ink-faint); font-size: .8rem;
}

/* mobile: wykład bez podpowiedzi klawiaturowej */
@media (max-width: 700px) {
  .lecture-hint { display: none; }
  .lecture { padding: 4vh 6vw 2vh; }
}

/* ═══════════ PYTANIA SCEPTYKA (iteracja 11) ═══════════ */
.skeptic { margin-top: 90px; }
.skeptic h3 { font-size: 1.6rem; margin-bottom: 10px; }
.skeptic-intro { color: var(--ink-dim); max-width: 720px; margin-bottom: 30px; }
.skeptic-list { display: flex; flex-direction: column; gap: 12px; }
.skeptic-item {
  border: 1px solid rgba(255,255,255,.1); border-radius: 14px;
  background: rgba(255,255,255,.03); overflow: hidden;
}
.skeptic-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  transition: background .2s;
}
.skeptic-item summary::-webkit-details-marker { display: none; }
.skeptic-item summary:hover { background: rgba(255,255,255,.04); }
.skeptic-item summary::after { content: "+"; font-size: 1.4rem; color: var(--amber); flex-shrink: 0; transition: transform .25s; }
.skeptic-item[open] summary::after { transform: rotate(45deg); }
.skeptic-body { padding: 0 22px 20px; display: grid; gap: 12px; }
.skeptic-right, .skeptic-miss { padding: 14px 16px; border-radius: 12px; font-size: .95rem; }
.skeptic-right { background: rgba(53,208,186,.07); border-left: 3px solid var(--teal); color: #c9ece6; }
.skeptic-miss { background: rgba(245,166,35,.07); border-left: 3px solid var(--amber); color: #ffe9c4; }
.skeptic-right b, .skeptic-miss b {
  display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  opacity: .8; margin-bottom: 5px;
}

/* ═══════════ CHECK-IN EMOCJONALNY (iteracja 12) ═══════════ */
.emo {
  max-width: none;
  background: linear-gradient(180deg, #0b0e18, var(--bg));
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 70px 24px;
}
.emo-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.emo-title { font-size: clamp(1.35rem, 3vw, 1.9rem); margin-bottom: 10px; }
.emo-sub { color: var(--ink-dim); font-size: .96rem; margin-bottom: 28px; }
.emo-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.emo-chip {
  padding: 12px 20px; border-radius: 999px; font-size: .96rem; font-weight: 600;
  background: rgba(255,255,255,.04); color: var(--ink);
  border: 1px solid rgba(255,255,255,.14); transition: all .2s;
}
.emo-chip:hover { border-color: var(--amber); transform: translateY(-2px); }
.emo-chip.active { background: rgba(245,166,35,.14); border-color: var(--amber); color: #ffd66b; }
.emo-card {
  margin-top: 26px; text-align: left;
  padding: 26px 28px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(245,166,35,.3);
  animation: emoIn .4s cubic-bezier(.2,.7,.3,1);
}
@keyframes emoIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.emo-card p { font-size: .97rem; margin-bottom: 12px; }
.emo-card .e-valid { color: var(--ink); }
.emo-card .e-move { color: var(--ink-dim); }
.emo-card .e-start {
  display: inline-block; margin-top: 6px; padding: 11px 22px; border-radius: 999px;
  background: var(--grad-dawn); color: #1a1206; font-weight: 700; font-size: .92rem;
  text-decoration: none; transition: transform .15s;
}
.emo-card .e-start:hover { transform: translateY(-2px); }
.emo-card .e-tag {
  display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 4px; font-weight: 700;
}

/* ═══════════ ŚCIĄGI DO ROZMÓW (iteracja 13) ═══════════ */
.talks { margin-top: 90px; }
.talks h3 { font-size: 1.6rem; margin-bottom: 10px; }
.talks-intro { color: var(--ink-dim); max-width: 720px; margin-bottom: 26px; }
.talks-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.talks-tab {
  padding: 11px 20px; border-radius: 999px; font-size: .93rem; font-weight: 600;
  background: transparent; color: var(--ink-dim);
  border: 1px solid rgba(255,255,255,.16); transition: all .22s;
}
.talks-tab:hover { color: var(--ink); border-color: rgba(255,255,255,.4); }
.talks-tab.active { background: rgba(200,107,250,.14); border-color: var(--magenta); color: #e3c8f8; }
.talk-card {
  padding: 30px; border-radius: var(--radius);
  background: var(--bg-3); border: 1px solid rgba(255,255,255,.09);
  animation: emoIn .35s cubic-bezier(.2,.7,.3,1);
}
.talk-card .t-goal { color: var(--ink); margin-bottom: 14px; }
.talk-card .t-dont {
  padding: 13px 16px; border-radius: 12px; margin-bottom: 20px; font-size: .93rem;
  background: rgba(255,84,112,.08); border-left: 3px solid var(--danger); color: #ffc9d2;
}
.talk-steps { display: grid; gap: 12px; margin-bottom: 20px; }
@media (min-width: 860px) { .talk-steps { grid-template-columns: repeat(3, 1fr); } }
.talk-step {
  padding: 16px 18px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  font-size: .9rem; color: var(--ink-dim);
}
.talk-step b { display: block; color: var(--amber); margin-bottom: 6px; font-size: .93rem; }
.talk-lines { margin-bottom: 18px; }
.talk-lines .t-line {
  font-family: var(--font-quote); font-size: 1.06rem; font-style: italic;
  padding: 10px 0 10px 18px; border-left: 3px solid var(--teal); margin-bottom: 10px; color: #c9ece6;
}
.talk-trap { font-size: .92rem; color: #ffe9c4; padding: 13px 16px; border-radius: 12px;
  background: rgba(245,166,35,.07); border-left: 3px solid var(--amber); }
.talk-copy {
  margin-top: 18px; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  background: rgba(200,107,250,.15); border: 1px solid var(--magenta); color: #e3c8f8;
}
.talk-copy:hover { background: rgba(200,107,250,.28); }

/* ═══════════ DRUK (iteracja 15) ═══════════ */
@media print {
  /* ukryj wszystko, co interaktywne lub dekoracyjne */
  .nav, #stars, .hero-actions, .hero-lecture, .hero-ticker, .hero-deflate, .scroll-hint,
  .persona-overlay, .persona-fab, .lecture, .emo, .lens-switch, .lab-filters,
  .game-shell, .debate-sliders, .debate-sumrow, .debate-go, .talks-tabs,
  .talk-copy, .game-share-row, .skip-link, .g-hint {
    display: none !important;
  }
  body { background: #fff !important; color: #111 !important; font-size: 11pt; }
  .hero { min-height: auto; padding: 30px 0; background: none !important; }
  .hero-title, .hero-title em { color: #111 !important; -webkit-text-fill-color: #111; background: none !important; }
  .hero-kicker { color: #7a5200; border-color: #7a5200; background: none; }
  .hero-sub, .section-lead, p { color: #222 !important; }
  .section, .section-alt, .section-dark, .section-paper, .section-game, .footer {
    background: none !important; color: #111 !important; padding: 24px 0 !important;
    max-width: 100% !important; border: none !important;
  }
  h1, h2, h3, h4 { color: #000 !important; break-after: avoid; }
  .section-num { color: #7a5200; }
  /* karty: obrys zamiast ciemnych teł, bez łamania w środku */
  .lens-card, .lab-card, .g-face, .shadow-card, .phil-card, .compass-card, .voice-card,
  .talk-card, .talk-step, .skeptic-item, .demonet-card, .sixd-detail, .ikigai, .debate-result {
    background: #fff !important; color: #111 !important;
    border: 1px solid #999 !important; box-shadow: none !important;
    break-inside: avoid;
  }
  .lens-view, .lens-synthesis, .lens-fact b, .sixd-example, .shadow-hope, .shadow-list,
  .skeptic-right, .skeptic-miss, .talk-trap, .t-dont, .t-line, .lab-why, .lab-spark,
  .g-back p, .g-why, .phil-punch, .evening-questions, .demonet-card * , .persona-note {
    color: #111 !important; background: none !important;
  }
  .evening-questions { border: 1px solid #999; }
  .evening-questions h4 { color: #111 !important; }
  /* flip-karty słownika: pokaż obie strony jedna pod drugą */
  .g-card { height: auto; }
  .g-inner { transform: none !important; }
  .g-face { position: static; backface-visibility: visible; -webkit-backface-visibility: visible; transform: none !important; margin-bottom: 6px; }
  /* linki źródeł z pełnym adresem */
  .voice-card .voice-go::after { content: " " attr(href); }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8.5pt; color: #555; word-break: break-all; }
  .pull-quote, .manifesto li { color: #111 !important; }
  .footer-note::after { content: " · wydrukowano z PRZEŁOM — wróć po interaktywną wersję."; }
}

/* ═══════════ PULS PRZEŁOMU (iteracja 16) ═══════════ */
.pulse { margin-top: 90px; }
.pulse h3 { font-size: 1.6rem; margin-bottom: 10px; }
.pulse-intro { color: var(--ink-dim); max-width: 720px; margin-bottom: 40px; }
.pulse-line { position: relative; padding-left: 34px; }
.pulse-line::before {
  content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), var(--amber));
}
.pulse-item { position: relative; padding: 0 0 34px 18px; }
.pulse-item::before {
  content: ""; position: absolute; left: -31px; top: 6px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--amber);
  box-shadow: 0 0 12px rgba(245,166,35,.5);
}
.pulse-item:last-child { padding-bottom: 0; }
.pulse-year {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--amber); letter-spacing: .06em;
}
.pulse-item h4 { font-size: 1.15rem; margin: 4px 0 8px; }
.pulse-item .p-what { color: var(--ink-dim); font-size: .95rem; max-width: 720px; }
.pulse-item .p-changed {
  margin-top: 10px; max-width: 720px; padding: 11px 14px; border-radius: 10px;
  background: rgba(53,208,186,.07); border-left: 3px solid var(--teal);
  font-size: .92rem; color: #c9ece6;
}
.pulse-item .p-changed b { color: var(--teal); text-transform: uppercase; font-size: .7rem; letter-spacing: .12em; display: block; margin-bottom: 3px; }
@media print { .pulse-item::before { box-shadow: none; } }

/* ═══════════ QUIZ SŁOWNIKA (iteracja 17) ═══════════ */
.gquiz { margin-top: 60px; padding: 40px; }
@media (max-width: 640px) { .gquiz { padding: 26px 18px; } }
.gquiz h3 { font-size: 1.5rem; margin-bottom: 10px; }
.gquiz-intro { color: var(--ink-dim); max-width: 680px; margin-bottom: 26px; }
.gq-start, .gq-again {
  padding: 14px 32px; border-radius: 999px; border: none;
  background: var(--grad-dawn); color: #1a1206; font-weight: 700; font-size: 1rem;
  box-shadow: 0 8px 26px rgba(245,166,35,.3); transition: transform .15s;
}
.gq-start:hover, .gq-again:hover { transform: translateY(-2px); }
.gq-def {
  font-family: var(--font-quote); font-size: 1.18rem; line-height: 1.55;
  padding: 18px 22px; border-radius: 14px; margin-bottom: 18px;
  background: rgba(255,255,255,.04); border-left: 3px solid var(--magenta);
}
.gq-opts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.gq-opt {
  padding: 14px 16px; border-radius: 12px; text-align: left; font-size: .95rem; font-weight: 600;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  color: var(--ink); transition: all .18s;
}
.gq-opt:hover:not(:disabled) { border-color: var(--amber); transform: translateY(-2px); }
.gq-opt:disabled { cursor: default; opacity: .55; }
.gq-opt.good { background: rgba(53,208,186,.18); border-color: var(--teal); color: #b8f2e8; opacity: 1; }
.gq-opt.bad { background: rgba(255,84,112,.16); border-color: var(--danger); color: #ffc9d2; opacity: 1; }
.gq-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px;
  font-family: var(--font-display); font-size: .9rem; color: var(--ink-faint); }
.gq-meta b { color: var(--amber); }
.gq-next { margin-top: 16px; padding: 11px 26px; border-radius: 999px; font-weight: 600;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); color: var(--ink); }
.gq-next:hover { background: rgba(255,255,255,.12); }
.gq-result { text-align: center; padding: 10px 0; }
.gq-result .gq-score { font-family: var(--font-display); font-size: 3rem; font-weight: 700;
  background: var(--grad-cosmic); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gq-result p { color: var(--ink-dim); max-width: 560px; margin: 10px auto 20px; }

/* ═══════════ PRZEPISY (iteracja 19) ═══════════ */
.recipes { margin-top: 90px; }
.recipes h3 { font-size: 1.6rem; margin-bottom: 10px; }
.recipes-intro { color: var(--ink-dim); max-width: 720px; margin-bottom: 30px; }
.recipes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.recipe-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px; border-radius: var(--radius);
  background: var(--bg-3); border: 1px solid rgba(255,255,255,.09);
  transition: border-color .25s;
}
.recipe-card:hover { border-color: rgba(53,208,186,.5); }
.recipe-cat { align-self: flex-start; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(53,208,186,.1); border: 1px solid rgba(53,208,186,.3); color: var(--teal); }
.recipe-card h4 { font-size: 1.05rem; }
.recipe-p {
  font-size: .86rem; line-height: 1.55; color: var(--ink-dim);
  padding: 14px 16px; border-radius: 10px;
  background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.16);
}
.recipe-p b { color: var(--amber); font-weight: 600; }
.recipe-copy {
  margin-top: auto; align-self: flex-start;
  padding: 9px 20px; border-radius: 999px; font-weight: 600; font-size: .86rem;
  background: rgba(245,166,35,.12); border: 1px solid rgba(245,166,35,.4); color: #ffd66b;
}
.recipe-copy:hover { background: rgba(245,166,35,.22); }
@media print { .recipe-copy { display: none; } .recipe-p { border-style: solid; } }

/* ═══════════ MENU MOBILNE (iteracja 20) ═══════════ */
.nav-burger {
  display: none; width: 44px; height: 44px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px; color: var(--ink); font-size: 1.25rem;
}
@media (max-width: 760px) {
  .nav-burger { display: grid; place-items: center; }
  .nav-links {
    position: fixed; top: 63px; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7,9,15,.97);
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 8px 0 18px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a:not(.nav-cta) { display: block !important; padding: 13px 28px; font-size: 1.02rem; }
  .nav-cta { margin: 12px 28px 0; text-align: center; padding: 12px 16px; }
}

/* ═══════════ PRZEŁĄCZNIK JĘZYKA (iteracja 29) ═══════════ */
.nav-lang {
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  font-weight: 700; font-size: .8rem !important; letter-spacing: .08em;
}
.nav-lang:hover { border-color: var(--amber); color: var(--amber) !important; }
@media (max-width: 760px) {
  .nav-lang { margin: 10px 28px 0; text-align: center; }
}

/* ═══════════ MASZYNOWNIA (iteracja 33) ═══════════ */
.token-demo { padding: 36px; margin-bottom: 40px; }
@media (max-width: 640px) { .token-demo { padding: 24px 18px; } }
.token-demo h3 { font-size: 1.4rem; margin-bottom: 10px; }
.td-intro { color: var(--ink-dim); max-width: 700px; margin-bottom: 24px; }
.td-line {
  font-family: var(--font-quote); font-size: 1.5rem; line-height: 1.5;
  min-height: 2.2em; margin-bottom: 18px;
}
.td-line .td-new { color: var(--amber); }
.td-opts { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.td-opt {
  padding: 10px 18px; border-radius: 12px; font-size: 1rem; font-weight: 600;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16);
  color: var(--ink); transition: all .18s;
}
.td-opt:hover { border-color: var(--amber); transform: translateY(-2px); }
.td-opt .p { font-size: .74rem; color: var(--teal); margin-left: 8px; font-family: var(--font-display); }
.td-note { color: #c9ece6; font-size: .95rem; max-width: 720px;
  padding: 12px 16px; border-radius: 10px; background: rgba(53,208,186,.07);
  border-left: 3px solid var(--teal); min-height: 1em; }
.td-note:empty { display: none; }
.td-reset { margin-top: 14px; padding: 10px 22px; border-radius: 999px; font-weight: 600;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); color: var(--ink); }
.td-reset:hover { background: rgba(255,255,255,.12); }
#engineList .skeptic-item summary::after { color: var(--magenta); }
#engineList .skeptic-body { padding: 0 22px 20px; color: var(--ink-dim); font-size: .96rem; line-height: 1.65; }
#engineList .skeptic-body b { color: var(--ink); }

/* ═══════════ BABEL (iteracja 34) ═══════════ */
.babel { padding: 36px; margin-top: 70px; margin-bottom: 20px; }
@media (max-width: 640px) { .babel { padding: 24px 18px; } }
.babel h3 { font-size: 1.5rem; margin-bottom: 10px; }
.babel-intro { color: var(--ink-dim); max-width: 720px; margin-bottom: 24px; }
.babel-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.babel-talk {
  padding: 16px 30px; border-radius: 999px; border: none;
  background: var(--grad-dawn); color: #1a1206; font-weight: 700; font-size: 1.02rem;
  box-shadow: 0 8px 26px rgba(245,166,35,.3); transition: transform .15s;
}
.babel-talk:hover { transform: translateY(-2px); }
.babel-talk.listening { background: var(--danger); color: #fff; animation: pulse 1.2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,84,112,.5);} 50% { box-shadow: 0 0 0 14px rgba(255,84,112,0);} }
.babel-status { color: var(--ink-dim); font-size: .92rem; }
.babel-or { color: var(--ink-faint); font-size: .86rem; margin: 16px 0 6px; }
.babel-input {
  width: 100%; max-width: 560px; padding: 12px 16px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.18);
  color: var(--ink); font-family: inherit; font-size: .98rem;
}
.babel-input:focus { outline: 2px solid var(--amber); border-color: transparent; }
.babel-heard {
  margin-top: 16px; font-family: var(--font-quote); font-size: 1.3rem; color: var(--ink);
}
.babel-heard:empty { display: none; }
.babel-pick { margin-top: 18px; color: var(--ink-dim); font-size: .92rem; }
.babel-targets { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.babel-tgt {
  padding: 11px 20px; border-radius: 999px; font-size: .95rem; font-weight: 600;
  background: rgba(53,208,186,.1); border: 1px solid rgba(53,208,186,.35); color: var(--teal);
  transition: all .2s;
}
.babel-tgt:hover { background: rgba(53,208,186,.22); transform: translateY(-2px); }
.babel-out {
  margin-top: 18px; font-family: var(--font-quote); font-size: 1.35rem; color: #ffd66b;
  min-height: 1.4em;
}
.babel-out:empty { display: none; }
@media print { .babel { display: none; } }

/* ═══════════ WIRTUALNY STARTUP (iteracja 35) ═══════════ */
.startup { padding: 36px; margin-top: 40px; }
@media (max-width: 640px) { .startup { padding: 24px 18px; } }
.startup h3 { font-size: 1.5rem; margin-bottom: 10px; }
.su-intro { color: var(--ink-dim); max-width: 720px; margin-bottom: 22px; }
.su-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 24px; }
.su-stat { padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.su-stat .n { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.su-stat .bar { height: 7px; border-radius: 99px; background: rgba(255,255,255,.08); margin-top: 6px; overflow: hidden; }
.su-stat .bar i { display: block; height: 100%; border-radius: 99px; background: var(--grad-dawn); transition: width .5s cubic-bezier(.2,.7,.3,1); }
.su-stat.low .bar i { background: var(--danger); }
.su-q { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; margin-bottom: 14px; }
.su-opts { display: grid; gap: 10px; }
.su-opt { text-align: left; padding: 14px 18px; border-radius: 12px; font-size: .96rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: var(--ink); transition: all .18s; }
.su-opt:hover { border-color: var(--teal); transform: translateX(4px); }
.su-note { margin: 14px 0 0; padding: 12px 16px; border-radius: 10px; font-size: .92rem;
  background: rgba(53,208,186,.07); border-left: 3px solid var(--teal); color: #c9ece6; font-style: italic; }
.su-end { text-align: center; padding: 10px 0; }
.su-end .icon { font-size: 3.2rem; }
.su-end h4 { font-size: 1.7rem; margin: 8px 0 12px;
  background: var(--grad-cosmic); -webkit-background-clip: text; background-clip: text; color: transparent; }
.su-end p { color: var(--ink); max-width: 620px; margin: 0 auto 12px; }
.su-end .lesson { color: #ffe3ad; padding: 12px 16px; border-radius: 10px;
  background: rgba(245,166,35,.08); border-left: 3px solid var(--amber); text-align: left; max-width: 620px; margin: 0 auto 20px; }
@media print { .startup { display: none; } }

/* ═══════════ FIZYKA (iteracja 36) ═══════════ */
.phys { padding: 36px; margin-top: 60px; }
@media (max-width: 640px) { .phys { padding: 24px 18px; } }
.phys h3 { font-size: 1.5rem; margin-bottom: 10px; }
.phys-intro { color: var(--ink-dim); max-width: 740px; margin-bottom: 22px; }
.phys-controls { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.phys-ctl { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; color: var(--ink-dim); min-width: 170px; }
.phys-ctl b { color: var(--amber); font-family: var(--font-display); }
.phys-ctl input[type="range"] { accent-color: var(--amber); }
.phys-worlds { display: flex; gap: 8px; }
.phys-world { padding: 9px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); color: var(--ink-dim); }
.phys-world.active { background: rgba(200,107,250,.16); border-color: var(--magenta); color: #e3c8f8; }
.phys-launch { padding: 13px 28px; border-radius: 999px; border: none;
  background: var(--grad-dawn); color: #1a1206; font-weight: 700; font-size: .98rem;
  box-shadow: 0 8px 24px rgba(245,166,35,.3); transition: transform .15s; }
.phys-launch:hover { transform: translateY(-2px); }
#physCanvas { width: 100%; border-radius: 14px; background: linear-gradient(180deg, #0a0d18 0%, #10131f 78%, #1a1f30 78%, #141827 100%);
  border: 1px solid rgba(255,255,255,.09); }
.phys-stats { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 14px;
  font-family: var(--font-display); color: var(--ink-dim); font-size: .92rem; }
.phys-stats b { color: var(--teal); font-size: 1.05rem; }
.phys-stats .cmp { color: #ffd66b; font-family: var(--font-body); font-size: .88rem; width: 100%; }
.phys-note { margin-top: 16px; padding: 13px 16px; border-radius: 10px; font-size: .92rem;
  background: rgba(245,166,35,.07); border-left: 3px solid var(--amber); color: #ffe9c4; max-width: 760px; }
@media print { .phys { display: none; } }

/* ═══════════ MOSTEK AIMI (iteracja 37) ═══════════ */
.footer-eco {
  margin-top: 22px; padding-top: 18px; border-top: 1px dashed rgba(255,255,255,.12);
  color: var(--ink-faint); font-size: .85rem; max-width: 560px; margin-left: auto; margin-right: auto;
}
.footer-eco a { color: var(--teal); text-decoration: none; font-weight: 600; }
.footer-eco a:hover { text-decoration: underline; }

/* ═══════════ WYKŁAD: talie (iteracja 39) ═══════════ */
.lecture-decks { display: flex; gap: 10px; margin-bottom: 4vh; }
.lecture-deck {
  padding: 9px 18px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.18); color: var(--ink-dim);
}
.lecture-deck.active { background: rgba(245,166,35,.14); border-color: var(--amber); color: #ffd66b; }

/* ═══════════ DUETY (iteracja 45) ═══════════ */
.arch-duo {
  max-width: 620px; margin: 18px auto 0; padding: 14px 18px; border-radius: 12px;
  background: rgba(200,107,250,.08); border-left: 3px solid var(--magenta);
  color: #dcc2f5; font-size: .95rem; text-align: left;
}
.arch-duo b { color: #e3c8f8; }

/* ═══════════ CO NOWEGO (iteracja 46) ═══════════ */
.whatsnew {
  max-width: 560px; margin: 0 auto 26px; padding: 16px 20px; border-radius: 14px;
  background: rgba(53,208,186,.06); border: 1px solid rgba(53,208,186,.22); text-align: left;
}
.whatsnew .wn-tag { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); font-weight: 700; margin-bottom: 8px; }
.whatsnew ul { list-style: none; }
.whatsnew li { font-size: .88rem; color: var(--ink-dim); padding: 3px 0; }

/* ═══════════ PYTANIE WIECZORNE (iteracja 51) ═══════════ */
.evening-questions .evening-extra {
  color: #ffd66b; border-top: 1px dashed rgba(255,214,107,.3);
  margin-top: 10px; padding-top: 12px;
}

/* ═══════════ PODZIEL SIĘ (iteracja 52) ═══════════ */
.share-page {
  margin: 0 auto 26px; display: block;
  padding: 13px 30px; border-radius: 999px; border: none;
  background: var(--grad-dawn); color: #1a1206; font-weight: 700; font-size: .96rem;
  box-shadow: 0 8px 26px rgba(245,166,35,.3); transition: transform .15s;
}
.share-page:hover { transform: translateY(-2px); }
@media print { .share-page { display: none; } }

/* ═══════════ DRUK: uzupełnienie (iteracja 73) ═══════════ */
@media print {
  .gquiz, .token-demo, .lecture-decks { display: none !important; }
}
