/* The acquisition film and the studio (src/ui/film.js, src/ui/studio.js).
   Film text stands on the open scene: white, on a corner shade (UX_ONTWERP.md 5.4). */
#journey #scr-film { padding: 0; display: block; }
#journey #scr-film[hidden] { display: none; }
body.filmrun #ui .title { opacity: 0; }
#ui .title { transition: opacity var(--d-3); }
.filmshade { position: absolute; left: 0; bottom: 0; width: 60vw; height: 46vh; pointer-events: none; opacity: 0; transition: opacity 600ms;
  background: radial-gradient(120% 120% at 0% 100%, rgba(8, 40, 80, .30), transparent 62%); }
.film.fb1 .filmshade { opacity: 1; }
.filmtext { position: absolute; left: 64px; bottom: 84px; max-width: 46vw; color: #fff; text-shadow: 0 2px 18px rgba(4, 30, 70, .45); }
.filmtext > *, .fkick span, .ffacts span { opacity: 0; transform: translateY(12px); transition: opacity 300ms var(--e-out), transform 300ms var(--e-out); }
.fkick { margin: 0; display: grid; font: 600 18px/24px var(--font); letter-spacing: .14em; text-transform: uppercase; opacity: 1 !important; transform: none !important; }
.fkick span { grid-area: 1 / 1; }
.fname { margin: 6px 0 0; font: 700 52px/58px var(--font); letter-spacing: -.02em; }
.fblurb { margin: 8px 0 0; font: 500 18px/26px var(--font); }
.ffacts { margin: 18px 0 0; display: flex; gap: 8px; flex-wrap: wrap; min-height: 36px; opacity: 1 !important; transform: none !important; }
.ffacts span { height: 36px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: var(--r-pill); background: rgba(246, 251, 254, .86); color: #0b2a45; text-shadow: none; font: 600 18px/1 var(--font); box-shadow: 0 2px 10px rgba(10, 60, 110, .14); }
.film.fb1:not(.fb3) .fnew, .film.fb3 .fcls, .film.fb2 .fname, .film.fb4 .fblurb, .film.fb5 .ffacts span:nth-child(1), .film.fb6 .ffacts span:nth-child(2), .film.fb7 .ffacts span:nth-child(3) { opacity: 1; transform: none; }
.filmskip { position: absolute; right: 24px; bottom: 64px; margin: 0; color: #fff; font: 500 14px/20px var(--font); text-shadow: 0 1px 10px rgba(4, 30, 70, .6); opacity: 0; transition: opacity 300ms; }
.filmskip kbd { margin-right: 4px; }
.film.fhint .filmskip { opacity: .9; }
/* the salute: a breath of light over the boat, with the ripple rings on the water */
.filmglint { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(60% 70% at 62% 56%, rgba(255, 255, 255, .55), transparent 70%); }
.film.fglint .filmglint { animation: fglint 900ms ease-out; }
@keyframes fglint { 0% { opacity: 0; } 22% { opacity: .5; } 100% { opacity: 0; } }
.filmcard { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
.filmcard[hidden] { display: none; }
.film.in .filmcard .jcard { animation: swell var(--d-3) var(--e-swell) backwards; }
.film.in .filmcard .jcard > * { animation: swell var(--d-3) var(--e-swell) backwards; }
.film.in .filmcard .jcard > :nth-child(2) { animation-delay: 40ms; } .film.in .filmcard .jcard > :nth-child(3) { animation-delay: 80ms; }
.film.in .filmcard .jcard > :nth-child(4) { animation-delay: 120ms; } .film.in .filmcard .jcard > :nth-child(5) { animation-delay: 160ms; } .film.in .filmcard .jcard > :nth-child(6) { animation-delay: 200ms; }
.filmcard .tlink { align-self: center; margin-top: 4px; }
.filmsub { display: none; } .film.freduced .filmsub { display: block; }
.film.in .jcol { animation: none; }
@media (max-width: 1340px), (max-height: 800px) {
  .filmtext { left: 48px; bottom: 64px; } .fname { font: 700 44px/48px var(--font); }
}
@media (prefers-reduced-motion: reduce) { .filmtext > *, .fkick span, .ffacts span { transition: opacity 150ms; transform: none; } .film.in .filmcard .jcard, .film.in .filmcard .jcard > * { animation: none; } .film.fglint .filmglint { animation: none; } }

/* ---- the studio: one sheet on the left, the boat is the preview ---- */
.st-card { gap: 10px; padding-bottom: 20px; }
.st-card > .tlink { margin: -6px 0 -4px; }
.st-card > .sub { margin-top: -6px; font-size: 13px; }
.st-card .jtabs { align-self: flex-start; flex: none; }
.st-body { display: flex; flex-direction: column; gap: 14px; min-height: 236px; overflow-y: auto; padding: 4px 2px 0; margin: 0 -2px; flex: 0 1 auto; }
.st-row { display: flex; flex-direction: column; gap: 6px; }
.st-lbl { margin: 0; display: flex; align-items: center; gap: 8px; font: 600 11px/14px var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.st-lbl b { font: 500 13px/14px var(--font); letter-spacing: 0; text-transform: none; color: var(--ink); margin-left: auto; }
.st-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sea); flex: none; }
.st-row input, .st-row select { height: 42px; padding: 0 12px; border-radius: var(--r-1); border: 1px solid var(--line); background: var(--foam); color: var(--navy); font: 400 16px/1 var(--font); user-select: text; box-sizing: border-box; width: 100%; }
.st-row input:focus, .st-row select:focus { outline: 2px solid var(--sea); outline-offset: -1px; }
#stNumber { width: 120px; } #stText { text-transform: uppercase; }
.st-country { display: flex; align-items: center; gap: 10px; }
.st-flag { width: 34px; height: 22px; border-radius: 4px; flex: none; box-shadow: 0 0 0 1px var(--line); }
.st-note, .st-how, .st-shut { margin: 0; font-size: 13px; line-height: 18px; color: var(--ink-2); }
.st-shut { display: flex; align-items: center; gap: 8px; }
.st-how { min-height: 18px; }
.st-card .swatches { gap: 10px; align-items: center; }
.st-sw { width: 32px; height: 32px; position: relative; display: grid; place-items: center; flex: none; }
.st-sw.st-pattern, .st-sw.st-pennant { width: 44px; border-radius: 8px; }
.st-sw.locked { opacity: .45; }
.st-sw.locked:hover, .st-sw.locked:focus-visible { opacity: .8; }
.st-sw.locked .ic { width: 13px; height: 13px; padding: 2px; border-radius: 50%; background: rgba(246, 251, 254, .9); color: #0b2a45; }
.st-sw:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; }
.st-more { font-size: 12.5px; color: var(--ink-3); }
.st-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 2px; padding-top: 14px; border-top: 1px solid var(--line); flex: none; }
.st-foot .tlink { align-self: center; } .st-foot .tlink[disabled] { color: var(--ink-3); cursor: default; text-decoration: none; }
.st-foot.ask p { margin: 0 auto 0 0; font-weight: 600; }
.st-hint { position: absolute; right: var(--gutter); bottom: 64px; margin: 0; padding: 6px 14px; font-size: 13px; line-height: 18px; color: var(--ink-2); }
