/* Wybrane filmy na stronie głównej. */
.intro-link{display:inline-block;margin-top:18px;font:10px/1.4 'Courier New',monospace;text-decoration:underline;text-underline-offset:4px}
.featured-navigator{width:350px;max-width:100%}.featured-top{display:grid;grid-template-columns:54px minmax(0,1fr);gap:16px;align-items:baseline}.featured-counter{font:700 10px 'Courier New',monospace;white-space:nowrap}.selected-film.featured-navigator h2{font:11px/1.4 'Courier New',monospace;margin:0;text-transform:uppercase;letter-spacing:0}.featured-bottom{display:flex;align-items:center;gap:20px;margin-top:16px}.featured-progress{display:flex;flex:1;gap:3px;align-items:center;min-width:0}.featured-progress button{position:relative;flex:1;height:25px;background:none;padding:10px 0}.featured-progress button::before{content:'';display:block;width:100%;height:3px;border-radius:5px;background:#ffffff55;transition:background .3s}.featured-progress button[aria-pressed=true]::before{background:#fff}.featured-arrows{display:flex;gap:10px}.featured-arrows button{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eee;color:#262925;padding:7px;transition:background .2s,transform .2s}.featured-arrows button:hover{background:#fff;transform:scale(1.08)}.featured-arrows .icon{width:16px;height:16px}.featured-arrows button:first-child svg{transform:rotate(180deg)}.selected-film.featured-navigator>p:not(.sr-only){font-size:10px;line-height:1.5;margin-top:13px;max-width:350px}.selected-film.featured-navigator>#film-facts{display:block;font-size:9px;opacity:.7;margin-top:10px}
/* Odtwarzacz: duży tytuł na obrazie, centralna pauza, cienka dolna belka. */
#film-dialog[open]{display:block}#cinema-shell{display:block;height:100dvh;background:#000;overflow:hidden}.player-heading{position:absolute;left:0;right:0;top:0;height:92px;padding:18px 26px;z-index:4;align-items:flex-start;pointer-events:none}.player-heading h2{position:absolute;left:26px;top:76px;font:700 clamp(38px,5.7vw,100px)/.98 Oswald,'Arial Narrow',sans-serif;letter-spacing:-.045em;max-width:min(55vw,850px);text-wrap:balance;z-index:2;pointer-events:none;transition:opacity .3s}.player-heading>.brand{top:22px;font-size:17px}.player-heading .close-player{position:absolute;right:26px;top:24px;pointer-events:auto;width:40px;height:40px}.cinema-stage{position:absolute;top:88px;bottom:92px;left:0;right:0;background:#000;transition:opacity .4s}#film-dialog .film-player{position:relative;margin:0;width:min(100%,calc((100dvh - 180px)*16/9));max-height:100%;aspect-ratio:16/9;min-height:0}.cinema-center{position:absolute!important;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;width:192px;min-height:54px;transition:opacity .25s}.cinema-center:hover{transform:translate(-50%,-50%)}.cinema-center:disabled{opacity:0;pointer-events:none}.cinema-center .play-inner{background:#0003;font-size:10px}.player-controls{position:absolute;bottom:0;left:0;right:0;z-index:3;padding:0 24px 14px;background:#000;transition:opacity .3s}.timeline-row{min-height:33px;gap:8px}.timeline-row .icon-button{width:26px;height:30px;padding:6px}.timeline-row .icon{width:14px;height:14px}#film-timeline{height:2px;padding:0;background:#ffffff25;cursor:pointer}#film-timeline::-webkit-slider-thumb{width:5px;height:5px}#film-time{font-size:9px}.player-bottom{display:grid;grid-template-columns:1fr auto 1fr;gap:25px;padding-top:3px;min-height:39px}.player-signature{font:9px 'Courier New',monospace;letter-spacing:.02em}.player-tools{justify-content:center}.player-tools .icon-button{width:34px;height:34px;padding:8px}.player-tools .icon{width:17px;height:17px}.info-toggle{justify-self:end;font-size:9px;font-weight:400;padding:13px 18px;margin:0}.info-toggle>.icon{display:none}.info-open .cinema-stage{opacity:.2}.info-open .player-heading h2{opacity:.1}.info-open .cinema-center{visibility:hidden}.info-open .player-controls{opacity:.15;pointer-events:none}
/* Panel danych projektu bez niepotwierdzonych wyróżnień. */
#film-dialog .film-info{position:absolute;z-index:6;left:0;right:0;bottom:0;width:100%;max-width:none;max-height:64dvh;padding:32px 34px 26px;border-radius:0;background:#e1e2e7;color:#171a19;box-shadow:none;overflow:auto;animation:project-sheet-in .45s cubic-bezier(.2,.7,.2,1) both}.film-info.is-closing{animation:project-sheet-out .3s ease both!important}.film-info .info-heading{margin-bottom:16px;gap:30px;align-items:start}.film-info .info-heading h3{font:700 13px/1.3 Arial,Helvetica,sans-serif;letter-spacing:0;text-transform:uppercase;margin:0;padding-right:45px}.film-info .info-heading button{width:34px;height:34px;position:sticky;top:0;border:1px solid #5557;flex:none;margin-top:-6px}.film-info #info-description{font:13px/1.5 'Courier New',monospace;max-width:850px;max-height:150px;overflow:auto;white-space:pre-line;margin:0 0 30px;padding-right:15px}.credit-heading,.film-info h4{font:700 11px/1.4 Arial,Helvetica,sans-serif;margin:0 0 14px}.film-info dl{grid-template-columns:repeat(6,minmax(0,1fr));gap:25px 30px;margin:0 0 25px;font:12px/1.5 'Courier New',monospace;overflow-wrap:anywhere}.film-info dt{color:#54585b;opacity:1}.film-info dd{margin:0}.film-info>a{font-size:9px}.film-info #info-honors{margin-bottom:25px}.film-info #info-honors p{font:11px/1.5 'Courier New',monospace;white-space:pre-line}.film-info button:hover{background:#0001}.film-info button:focus-visible,.film-info a:focus-visible{outline:2px solid #171a19;outline-offset:3px}
@keyframes project-sheet-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes project-sheet-out{from{transform:translateY(0)}to{transform:translateY(100%)}}
@media(max-width:1000px){.intro p{margin-top:0}.featured-navigator{width:270px}.featured-top{gap:10px;grid-template-columns:48px 1fr}.film-info dl{grid-template-columns:repeat(3,minmax(0,1fr))}.player-heading h2{max-width:65vw}}
@media(max-width:600px){.intro-link{font-size:8px;margin-top:10px}.intro>div>p{margin:0;font-size:9px;line-height:1.4}.featured-navigator{width:100%;padding-top:15px}.featured-top{grid-template-columns:48px 1fr;gap:14px}.selected-film.featured-navigator h2{font-size:11px}.featured-counter{font-size:9px}.featured-bottom{margin-top:8px;gap:20px}.featured-arrows{gap:8px}.featured-arrows button{width:27px;height:27px}.selected-film.featured-navigator>p:not(.sr-only){font-size:9px;line-height:1.4;margin-top:9px}.selected-film.featured-navigator>#film-facts{font-size:8px;margin-top:7px}.hero-rail{gap:20px;bottom:80px}.hero-bottom{font-size:7px}.player-heading{height:70px;padding:16px}.player-heading>.brand{display:block;font-size:13px;top:24px}.player-heading .close-player{right:16px;top:18px;width:34px;height:34px}.player-heading h2{left:18px;top:82px;font-size:clamp(31px,9vw,48px);max-width:83vw;line-height:1;overflow-wrap:anywhere}.cinema-stage{top:145px;bottom:110px}#film-dialog .film-player{width:100%;min-height:0}.cinema-center{width:155px;min-height:45px}.cinema-center .play-inner{font-size:8px;padding:10px 15px}.player-controls{padding:0 12px 16px}.player-bottom{display:flex;justify-content:space-between;gap:8px;min-height:42px}.player-signature{display:none}.player-tools{justify-content:start;gap:0}.player-tools .icon-button{width:32px;height:32px}.player-tools>a{font-size:8px;margin-left:5px}.info-toggle{font-size:8px;padding:12px 14px;margin:0}.timeline-row{min-height:35px}#film-time{font-size:8px}.film-info dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 18px;font-size:12px}#film-dialog .film-info{padding:24px 18px;max-height:72dvh}.film-info #info-description{font-size:13px;max-height:155px;margin-bottom:25px}.film-info .info-heading h3{font-size:12px;padding-right:0}.film-info .info-heading button{margin-top:-5px}.credit-heading{font-size:10px}.info-open .player-heading h2{opacity:0}}
@media(max-height:650px) and (max-width:600px){.hero-rail{gap:13px;bottom:62px}.hero-rail .play-button{margin:0;min-height:46px}.intro-link{margin-top:5px}.selected-film.featured-navigator>p:not(.sr-only){display:none}.selected-film.featured-navigator{padding-top:10px}.hero-bottom{bottom:14px}.hero-rail .intro{grid-template-columns:70px 1fr}.hero-name{padding-top:20px}.cinema-stage{top:112px;bottom:90px}.player-heading h2{top:68px;font-size:30px}}
@media(max-height:500px) and (min-width:601px){.cinema-stage{top:45px;bottom:80px}.player-heading h2{top:50px;font-size:40px;max-width:40vw}.player-heading>.brand{top:15px}.player-heading .close-player{top:12px}.player-controls{padding-bottom:5px}.film-info dl{grid-template-columns:repeat(4,minmax(0,1fr))}#film-dialog .film-info{max-height:80dvh}}
@media(prefers-reduced-motion:reduce){.film-info,.film-info.is-closing{animation:none!important}.cinema-stage,.player-heading h2{transition:none}}
.film-info .source-notes{font:10px/1.5 'Courier New',monospace;margin:0 0 20px;max-width:900px}.source-notes summary{cursor:pointer;width:fit-content;text-decoration:underline;text-underline-offset:4px}.source-notes p{white-space:pre-line;max-height:220px;overflow:auto;margin:18px 0 0}.source-notes summary:focus-visible{outline:2px solid #171a19;outline-offset:4px}
#film-timeline{height:20px;background:linear-gradient(to right,#f3f2ed var(--progress),#ffffff35 var(--progress)) center / 100% 2px no-repeat}.film-info .info-heading{position:sticky;top:-32px;z-index:1;background:#e1e2e7;padding-top:32px;padding-bottom:10px;margin-top:-32px}
@media(max-width:600px){.film-info .info-heading{top:-24px;padding-top:24px;margin-top:-24px}}
/* Quiet close control with a full touch target. */
#film-dialog #close-film{width:44px;height:44px;min-width:44px;padding:12px;border:1px solid #ffffff40;border-radius:0;background:transparent;color:#f3f2ed;display:grid;place-items:center;transition:background .18s,border-color .18s,color .18s}
#film-dialog #close-film .icon{width:18px;height:18px}
#film-dialog #close-film:hover{background:#ffffff0d;border-color:#ffffffa6}
#film-dialog #close-film:active{background:#ffffff1a}
/* Matching close control on the light information sheet. */
#film-dialog #close-info{width:44px;height:44px;min-width:44px;padding:12px;border:1px solid #171a1940;border-radius:0;background:transparent;color:#171a19;display:grid;place-items:center;transition:background .18s,border-color .18s,color .18s}
#film-dialog #close-info .icon{width:18px;height:18px}
#film-dialog #close-info:hover{background:#171a190d;border-color:#171a19a6}
#film-dialog #close-info:active{background:#171a191a}
