.film-controls { display:flex; align-items:center; gap:clamp(.8rem,2.5vw,2rem); }
.film-controls svg { flex:none; }
#open-voyage:hover { text-decoration:underline; text-underline-offset:5px; }
#voyage-panel { width:min(92vw,620px); padding:clamp(16px,4vw,30px); box-shadow:0 12px 60px #080a09bb; }
.voyage-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.voyage-heading form { margin:0; }
.voyage-close { display:grid; place-items:center; width:44px; height:44px; border:1px solid #777a72; font-size:1.5rem; line-height:1; }
.voyage-caption { font-size:.83rem; }
.voyage-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:1.15rem 0; border:solid #777a7266; border-width:1px 0; padding:.65rem 0; gap:.7rem .9rem; }
.voyage-grid dt { color:var(--muted); font-size:.8rem; }
.voyage-grid dd { margin:.11rem 0 0; font:.9rem/1.45 ui-monospace,monospace; overflow-wrap:anywhere; }
.voyage-wide { grid-column:1/-1; }
.voyage-options { display:flex; flex-wrap:wrap; column-gap:1.25rem; }
#voyage-panel .voyage-options label { display:flex; align-items:center; gap:.45rem; margin:0; min-height:44px; font-size:.86rem; cursor:pointer; }
#voyage-panel .voyage-options input { width:16px; height:16px; margin:0; accent-color:#d4d2c7; }
.voyage-actions { display:flex; flex-wrap:wrap; gap:.55rem; align-items:center; margin-top:.75rem; }
.voyage-actions a,.voyage-actions button { display:inline-flex; align-items:center; min-height:44px; padding:.3rem .65rem; border:1px solid #777a72; font-size:.86rem; }
.voyage-actions [hidden] { display:none; }
.voyage-actions a:hover,.voyage-actions button:hover,.voyage-close:hover { border-color:var(--ink); }
.voyage-status:empty { display:none; }
.voyage-status { font-size:.83rem; margin-top:.5rem; color:var(--muted); }
.voyage-discoveries { border-top:1px solid #777a7266; margin-top:.95rem; padding-top:.45rem; font-size:.86rem; }
.voyage-discoveries summary { cursor:pointer; padding:.45rem 0; }
.voyage-discoveries ul { margin-block:.5rem; padding-left:1.18rem; }
.voyage-discoveries button { min-height:44px; border:1px solid #777a72; padding:.25rem .6rem; }
.voyage-discoveries button:disabled { opacity:.5; cursor:default; }
.home[data-deck="true"] .title { top:clamp(120px,21vh,170px); transition:top .8s; }
.home[data-deck="true"] .title h1 { font-size:clamp(2.1rem,5vw,5.3rem); }
.home[data-deck="true"] .title p { margin-top:.65rem; }
.home[data-light="true"] .masthead,.home[data-light="true"] .title { color:#161817; text-shadow:none; }
.home[data-light="true"] .masthead { border-color:#1c201e66; }
.home[data-light="true"] .public-mark,.home[data-light="true"] .home-audio { color:#efeee7; }
.home[data-light="true"] .public-mark { background:#272b29; }
.home[data-light="true"] .masthead .language-switch { border-color:#1c201e66; }
.home[data-light="true"] .title p span { background:#272a275d; }
.home[data-light="true"]::after { background:linear-gradient(180deg,transparent 68%,#101312bd 100%); }
.home[data-light="true"] .masthead :focus-visible { outline-color:#151816; }
@media(max-width:540px) {
  .voyage-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .film-bar { gap:10px; }
  .film-controls button { gap:6px; }
  .home[data-deck="true"] .title { top:max(24%,148px); }
}
@media(max-width:360px) {
  .progress { width:30px; }
  .film-bar .time,.film-bar .film-controls button { gap:5px; letter-spacing:.02em; }
}
@media(prefers-reduced-motion:reduce) { .home[data-deck="true"] .title { transition:none; } }
