/* Strona startowa: scena z panelem, oś czasu, karty do odwracania, pasek zakupu. */
.scena { padding-top: 40px; }
.panel { position: relative; max-width: 460px; background: #1e2129; border: 1px solid #3a3f4b; border-radius: 18px; padding: 22px 26px 24px; margin: 8px 0 18px; overflow: hidden; }
.panel-tytul { margin: 0; color: #9aa0ad; font-size: 18px; }
.panel-kwota { margin: 6px 0 14px; font-size: clamp(44px, 12vw, 68px); font-weight: 800; letter-spacing: -1px; line-height: 1; font-variant-numeric: tabular-nums; }
.panel-status { display: inline-block; margin: 0; padding: 6px 18px; border-radius: 999px; background: #2ea043; color: #fff; font-weight: 700; font-size: 17px; }
.panel-krecha { position: absolute; left: 6%; right: 6%; top: 52%; height: 6px; background: var(--akcent); border-radius: 3px; transform: rotate(-4deg) scaleX(0); transform-origin: left center; transition: transform .6s ease-out; }
.panel.skreslony .panel-krecha { transform: rotate(-4deg) scaleX(1); }
.panel.skreslony .panel-status { background: #5a5f6b; text-decoration: line-through; }
.po-panelu { font-family: var(--szeryf); font-style: italic; font-size: 22px; color: var(--akcent); margin: 0 0 22px; opacity: 0; transition: opacity .8s ease .3s; }
.po-panelu.widoczny { opacity: 1; }
.tytul-sceny { font-size: clamp(30px, 6.5vw, 50px); }
.tytul-sceny span { display: block; margin-top: 14px; font-size: .62em; color: var(--tekst2); font-weight: 400; }
.pytanie { font-size: 20px; margin: 0 0 6px; }
ol.os { list-style: none; padding: 0; margin: 24px 0 0; border-left: 2px solid var(--linia); }
ol.os li { position: relative; padding: 0 0 22px 24px; color: var(--tekst2); opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s; }
ol.os li.widoczny { opacity: 1; transform: none; }
ol.os li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--linia); }
ol.os li b { display: block; color: var(--tekst); font-size: 15px; letter-spacing: 1px; text-transform: uppercase; }
ol.os li.mocny { color: var(--tekst); font-size: 20px; }
ol.os li.mocny::before { background: var(--akcent); }
ol.os li.ostrzezenie::before { background: #fab219; }
ol.os li.zakryte span { filter: blur(6px); user-select: none; }
.dopisek { color: var(--tekst2); margin-top: 18px; }
.odwr { font: inherit; color: inherit; text-align: left; cursor: pointer; background: var(--panel); border: 1px solid var(--linia); border-radius: 12px; padding: 20px; min-height: 150px; display: block; width: 100%; }
.odwr small { display: block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; color: var(--tekst2); }
.odwr .przod { display: block; font-family: var(--szeryf); font-size: 21px; }
.odwr .tyl { display: none; font-size: 17px; }
.odwr .tyl small { color: var(--akcent); }
.odwr[aria-expanded="true"] { border-color: var(--akcent); }
.odwr[aria-expanded="true"] .przod { display: none; }
.odwr[aria-expanded="true"] .tyl { display: block; }
.odwr:focus-visible { outline: 3px solid var(--akcent); outline-offset: 2px; }
.film-start { display: grid; gap: 24px; align-items: center; }
.film-start video { max-width: 300px; }
@media (min-width: 760px) { .film-start { grid-template-columns: 1fr 300px; } }
.pasek-kup { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 16px; background: rgba(15,17,22,.96); border-top: 1px solid var(--linia); font-size: 15px; }
.pasek-kup .przycisk { padding: 10px 16px; }
@media (min-width: 760px) { .pasek-kup { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .panel-krecha, .po-panelu, ol.os li { transition: none; }
  ol.os li { opacity: 1; transform: none; }
}
.pasek-kup[hidden] { display: none; }
.pasek-kup span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pasek-kup .przycisk { white-space: nowrap; flex: none; }
@media (max-width: 759px) { body[data-strona="index"] footer { padding-bottom: 96px; } }
