/* StoryDrop host pages (/host/…): sign-in, the registration form and the host's own pages.
   On top of landing.css. As the prototype: teal actions, soft fields, a step list beside the form. */

:root { --gold: #F2C879; --teal: #9ACBC2; --teal-hover: #AED5CE; --on-teal: #17181C; --field: rgba(255, 255, 255, 0.07); --field-on: rgba(255, 255, 255, 0.17); }

/* ── The host area: a sidebar app, as the prototype's host shell ── */
.ha { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; background-image: linear-gradient(90deg, #141519 264px, transparent 264px); }
.ha__side { position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; gap: var(--space-5); padding: 24px 16px; background: #141519; border-right: 1px solid rgba(255, 255, 255, 0.06); overflow-y: auto; z-index: 40; }
.ha__logo img { height: 34px; width: auto; display: block; }
.ha__logo--side { padding: 0 8px; }
.ha__top { display: none; }
.ha__ctx { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: #1E1F24; }
.ha__ctx-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: rgba(154, 203, 194, 0.15); color: var(--teal); }
.ha__ctx-k { display: block; font-size: 12px; color: var(--text-muted); }
.ha__ctx-n { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.ha__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ha__link, .ha__btn { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--text-muted); text-decoration: none; font: 500 15px var(--font-body); }
.ha__link:hover, .ha__btn:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.ha__link:focus-visible, .ha__btn:focus-visible, .ha__langs a:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.ha__link[aria-current="page"], .ha__btn[aria-current="page"] { background: rgba(154, 203, 194, 0.14); color: #fff; }
.ha__link[aria-current="page"] svg, .ha__btn[aria-current="page"] svg { color: var(--teal); }
.ha__foot { margin-top: auto; display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.ha__foot form { margin: 0; }
.ha__btn { width: 100%; border: 0; background: rgba(255, 255, 255, 0.1); color: var(--text); font-weight: 600; cursor: pointer; }
.ha__btn:hover { background: rgba(255, 255, 255, 0.16); }
.ha__langs { display: flex; gap: 2px; width: fit-content; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); }
.ha__langs a { display: grid; place-items: center; min-width: 40px; min-height: 32px; border-radius: 999px; color: var(--text-muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.ha__langs a:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.ha__langs a[aria-current="true"] { background: #F9F6F1; color: #17181C; }
.ha__main { min-width: 0; display: flex; flex-direction: column; }
.ha__main > main > .landing { max-width: 1240px; width: 100%; margin: 0 auto; }
.ha__main .ln-section { padding: 0 40px; }
.ha__flash { display: flex; align-items: center; gap: 10px; max-width: 1160px; width: calc(100% - 80px); margin: 24px auto 0; padding: 14px 18px; border-radius: 14px; background: rgba(154, 203, 194, 0.12); color: var(--text); }
.ha__flash p { margin: 0; }
/* Waiting for approval, as the prototype's hs-wait banner. */
.ha__wait { display: flex; align-items: flex-start; gap: 12px; max-width: 1160px; width: calc(100% - 80px); margin: 24px auto 0; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); }
.ha__wait > svg { color: var(--gold, #F2C879); flex: none; margin-top: 2px; }
.ha__wait > div { flex: 1; min-width: 0; }
.ha__wait p { margin: 0; color: var(--text-muted); }
.ha__wait .ha__wait-t { color: var(--text); font-weight: 700; margin-bottom: 2px; }
.ha__wait--info > svg { color: #EC8A70; }
@media (max-width: 720px) { .ha__wait { width: calc(100% - 32px); flex-wrap: wrap; } }
.ha__flash svg { color: var(--teal); flex: none; }
.ha__flash--error { background: rgba(236, 138, 112, 0.14); }
.ha__flash--error svg { color: #EC8A70; }
.ha__scrim[hidden] { display: none; }
@media (max-width: 900px) {
  .ha { display: block; background-image: none; }
  .ha__top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #141519; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .ha__burger { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, 0.06); color: var(--text); cursor: pointer; }
  .ha__side { position: fixed; left: 0; top: 0; bottom: 0; width: min(300px, 86vw); transform: translateX(-100%); transition: transform 0.2s ease; z-index: 60; }
  .ha__side.is-open { transform: none; box-shadow: 0 0 60px rgba(0, 0, 0, 0.6); }
  .ha__side:not(.is-open) { visibility: hidden; }
  .ha__scrim { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, 0.5); }
  .ha__main .ln-section { padding: 0 16px; }
  .ha__flash { width: calc(100% - 32px); }
}
@media (prefers-reduced-motion: reduce) { .ha__side { transition: none; } }
/* Without script the menu button can't open the sidebar, so on phones it simply sits above the page. */
@media (max-width: 900px) { html:not(.js) .ha__side { position: static; transform: none; visibility: visible; width: auto; height: auto; } html:not(.js) .ha__burger { display: none; } }

.pn__link--button { border: 0; background: none; font: inherit; cursor: pointer; }

.ln-btn--teal { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.ln-btn--teal:hover { background: var(--teal-hover); border-color: var(--teal-hover); }
.ln-btn--gold { background: var(--gold); border-color: var(--gold); color: var(--on-teal); }
.ln-btn--gold:hover { background: #F6D79A; border-color: #F6D79A; }

/* ── Sign in ── */
.auth { display: grid; justify-items: center; gap: var(--space-4); max-width: 420px; margin: 0 auto; padding-top: clamp(32px, 10vh, 120px); padding-bottom: var(--space-8); text-align: center; }
.auth__logo { height: 40px; width: auto; }
.auth__title { margin: 0; font: 700 26px/1.2 var(--font-display); letter-spacing: -0.01em; }
.auth__lede { text-align: center; }
.auth__form { display: grid; gap: var(--space-4); width: 100%; text-align: left; }
.auth__go { width: 100%; min-height: 52px; border-radius: 12px; }
.auth__or { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-3); margin: 0; color: var(--text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.auth__or::before, .auth__or::after { content: ""; height: 1px; background: rgba(255, 255, 255, 0.14); }
.auth__pw { display: grid; gap: var(--space-4); }
.auth__pw summary { cursor: pointer; font-weight: 600; text-align: center; list-style: none; padding: 8px; color: var(--text-muted); }
.auth__pw summary::-webkit-details-marker { display: none; }
.auth__pw[open] summary { color: var(--text); }
.auth__pw > .co__field { margin-bottom: var(--space-3); }
.auth__links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); margin: 0; font-size: 15px; }
.auth__links a, .auth__linkbtn { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.auth__links--quiet a { color: var(--text-muted); font-size: 14px; }
.auth__links--start { justify-content: flex-start; margin-top: var(--space-4); }
.auth__linkbtn { border: 0; background: none; padding: 0; font: inherit; cursor: pointer; }
.auth__code { font: 700 24px/1 var(--font-body); letter-spacing: 0.3em; text-align: center; }
.auth__steps { display: grid; gap: var(--space-3); margin: 0; padding-left: 1.3em; text-align: left; color: var(--text-muted); }

/* ── Fields, as the prototype: no borders, soft fill, brighter when focused ── */
.reg-tp .co__input, .hs .co__input { background: var(--field); border-radius: 14px; }
.reg-tp .co__input:focus, .hs .co__input:focus { background: var(--field-on); outline: none; }
.reg-tp .co__input[readonly] { color: var(--text-muted); }
.rg-area { height: auto; min-height: 96px; padding: 14px 18px; line-height: 1.5; }
.rg-file { color: var(--text-muted); }

/* ── The registration form ── */
.reg { display: grid; grid-template-columns: minmax(0, 640px) minmax(260px, 340px); justify-content: space-between; gap: var(--space-7); align-items: start; margin-top: var(--space-6); }
.reg__body { display: grid; gap: var(--space-5); min-width: 0; }
.reg__form { display: grid; gap: var(--space-5); }
.reg__head { display: grid; gap: var(--space-2); }
.reg__h1 { margin: 0; font: 700 clamp(28px, 3vw, 36px)/1.15 var(--font-display); letter-spacing: -0.02em; }
.reg__note { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4) var(--space-5); border-radius: 14px; background: rgba(255, 255, 255, 0.05); font-weight: 600; }
.reg__note p { margin: 0; }
.reg__note .ic { color: var(--accent); flex: none; margin-top: 2px; }
.reg__group { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: var(--space-3); }
.reg__group > legend { padding: 0; margin-bottom: var(--space-3); }
.reg__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); padding-top: var(--space-2); }
.reg__actions .ln-btn { min-height: 52px; }
.reg__later { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 8px 4px; color: var(--text-muted); font: 600 15px var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; justify-self: start; }
.reg__later:hover { color: var(--text); }

.reg__steps { position: sticky; top: 100px; padding: var(--space-5); border-radius: 20px; background: rgba(255, 255, 255, 0.05); }
.reg__count { margin: 0 0 var(--space-4); font-size: 13px; font-weight: 600; color: var(--text-muted); }
.rg-stepper { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.rg-stepper li { display: flex; align-items: center; gap: var(--space-3); color: var(--text-muted); }
.rg-stepper__dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.4); font-size: 13px; font-weight: 600; flex: none; }
.rg-stepper .is-current { color: var(--text); font-weight: 700; }
.rg-stepper .is-current .rg-stepper__dot { background: var(--teal); border-color: var(--teal); color: var(--on-teal); box-shadow: 0 0 0 3px rgba(154, 203, 194, 0.25); }
.rg-stepper .is-done .rg-stepper__dot { background: rgba(154, 203, 194, 0.2); border-color: var(--teal); color: var(--teal); }

/* Chips: country, yes or no */
.rg-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.rg-chip { position: relative; cursor: pointer; }
.rg-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rg-chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-weight: 600; }
.rg-chip span .ic { display: none; }
.rg-chip input:checked + span { background: var(--teal); color: var(--on-teal); }
.rg-chip input:checked + span .ic { display: inline; }
.rg-chip input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.rg-chip input:disabled + span { opacity: 0.6; }
.rg-net__name { margin-top: var(--space-2); }
.rg-net:has(input[value="false"]:checked) .rg-net__name { display: none; }
.rg-method__pw { padding: var(--space-2) 0 0; }
.rg-method:has(input[name="Method"][value="code"]:checked) .rg-method__pw { display: none; }

/* Cards, as the checkout's choices */
.reg-tp .co__opt, .hs .co__opt { background: rgba(255, 255, 255, 0.06); }
.reg-tp .co__opt:has(input:checked) { background: rgba(255, 255, 255, 0.17); }
.reg-tp .co__opt input { accent-color: var(--teal); }
.co__opt.is-off { opacity: 0.55; cursor: not-allowed; }
.rg-film { align-items: center; }
.rg-film__poster { width: 48px; height: 72px; border-radius: 4px; object-fit: cover; flex: none; }
.rg-film__syn { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; }
.rg-check { display: flex; gap: var(--space-3); align-items: flex-start; font-weight: 600; cursor: pointer; }
.rg-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--teal); flex: none; }

.agreement { max-height: 420px; overflow-y: auto; padding: var(--space-4) var(--space-5); border-radius: 16px; background: rgba(255, 255, 255, 0.05); display: grid; gap: var(--space-4); font-size: 15px; line-height: 24px; }
.agreement:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.agreement p { margin: 0; }
.agreement__h { margin: 0 0 var(--space-1); font: 700 17px/24px var(--font-display); }
.agreement__list { margin: var(--space-2) 0 0; padding-left: 1.3em; display: grid; gap: var(--space-2); }

.rg-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); align-items: start; }
.rg-row--street { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.rg-narrow .co__input { max-width: 260px; }
.rg-shows { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.rg-shows__row { display: grid; gap: var(--space-3); padding: var(--space-4); border-radius: 16px; background: rgba(255, 255, 255, 0.04); }
.rg-shows__n, .rg-shows__count { margin: 0; font-weight: 600; }
.rg-shows input[type="date"], .rg-shows input[type="time"] { color-scheme: dark; }

/* Check and send */
.rv-sec { display: grid; gap: var(--space-3); padding-top: var(--space-4); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.rv-sec__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); }
.rv-sec__head a { font-weight: 600; }
.rv-dl { margin: 0; display: grid; gap: var(--space-4); }
.rv-dl dt { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.rv-dl dd { margin: 2px 0 0; max-width: 70ch; }

/* ── Sent ── */
.rs-done { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--space-8); align-items: start; margin-top: var(--space-6); }
.rs-done__msg { display: grid; gap: var(--space-5); justify-items: start; }
.rs-done__h { font-size: clamp(30px, 3.6vw, 44px); }
.rs-done__next { display: grid; gap: var(--space-4); }
.rs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.rs-steps li { display: flex; gap: var(--space-3); align-items: flex-start; }
.rs-steps p { margin: 0; }
.rs-steps__dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.35); font-size: 13px; font-weight: 700; flex: none; }
.rs-steps .is-done .rs-steps__dot { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.rs-steps .is-next .rs-steps__dot { border-color: var(--teal); color: var(--teal); }
.rs-steps__t { font-weight: 700; display: flex; gap: var(--space-2); align-items: center; }
.rs-steps__tag { padding: 2px 10px; border-radius: 999px; background: rgba(154, 203, 194, 0.18); color: var(--teal); font-size: 12px; }
.rs-card { display: grid; gap: var(--space-4); padding: var(--space-5); border-radius: 24px; background: var(--surface-card); }
.rs-card__poster { width: 120px; height: 180px; object-fit: cover; border-radius: 12px; }
.rs-card__film { margin: 0; font: 700 22px/1.2 var(--font-display); }
.rs-card__facts { margin: 0; display: grid; gap: var(--space-3); }
.rs-card__facts dt { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.rs-card__facts dd { margin: 2px 0 0; }
.rs-card__stub { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); padding-top: var(--space-4); border-top: 2px dashed rgba(255, 255, 255, 0.14); }
.rs-card__stub p { margin: 0; }
.rs-card__status { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.rs-card__pulse { width: 10px; height: 10px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 4px rgba(217, 162, 94, 0.25); }
.rs-card__sent { grid-column: 1 / -1; }

/* ── Your registration ── */
.hs__narrow { display: grid; gap: var(--space-6); max-width: 720px; padding-top: var(--space-6); }
.hs__head { display: grid; gap: var(--space-4); }
.hs-bar { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.hs-bar li { display: flex; align-items: center; gap: var(--space-2); color: var(--text-muted); font-weight: 600; }
.hs-bar__dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.35); font-size: 13px; }
.hs-bar .is-done .hs-bar__dot { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.hs-bar .is-current { color: var(--text); }
.hs-bar .is-current .hs-bar__dot { border-color: var(--teal); color: var(--teal); box-shadow: 0 0 0 3px rgba(154, 203, 194, 0.2); }
.hs__sec { display: grid; gap: var(--space-3); }
.hs__label { margin: 0; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.hs-msg { max-width: 520px; padding: var(--space-3) var(--space-4); border-radius: 16px 16px 16px 4px; background: rgba(91, 189, 178, 0.14); display: grid; gap: 4px; line-height: 1.5; white-space: pre-line; }
.hs-msg p { margin: 0; }
.hs-msg__from { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #8FD3CB; }

@media (max-width: 960px) {
  .reg, .rs-done { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .reg__steps { order: -1; position: static; padding: var(--space-4); }
  .rg-stepper { display: none; }
  .reg__count { margin: 0; }
}
@media (max-width: 600px) {
  .rg-row, .rg-row--street { grid-template-columns: minmax(0, 1fr); }
  .reg__actions .ln-btn { flex: 1 1 100%; }
}
.rs-card .tk__no { font-size: 20px; letter-spacing: 0.02em; }

/* ── The screening page, once approved (prototype HostDashboard) ── */
.hd { display: grid; gap: var(--space-7); padding-top: var(--space-5); }
.hd--narrow { max-width: 760px; gap: var(--space-5); }
.hd__sec { display: grid; gap: var(--space-3); }

.hh { position: relative; overflow: hidden; border-radius: 24px; background: #23252C; }
.hh__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(40px) saturate(1.2); opacity: 0.35; transform: scale(1.2); }
.hh__in { position: relative; display: flex; justify-content: space-between; align-items: center; gap: var(--space-6); padding: clamp(24px, 4vw, 48px); }
.hh__text { display: grid; gap: var(--space-3); min-width: 0; }
.hh__title { margin: 0; font: 700 clamp(28px, 4.4vw, 52px)/1.08 var(--font-display); letter-spacing: -0.02em; }
.hh__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); color: var(--text-muted); }
.hh__meta li { display: inline-flex; align-items: center; gap: 6px; }
.hh__stats { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.hh__stats > div { padding: 12px 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); }
.hh__stats p { margin: 0; }
.hh__n { font: 700 20px/1.2 var(--font-display); }
.hh__of { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.hh__k { font-size: 13px; color: var(--text-muted); }
.hh__poster { width: 170px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); flex: none; }

.hp { display: grid; gap: var(--space-3); }
.hp__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-3); cursor: pointer; list-style: none; }
.hp__head::-webkit-details-marker { display: none; }
.hp__head > span:first-child { display: grid; gap: 2px; }
.hp__title { font: 700 20px/1.3 var(--font-display); }
.hp__count { font-size: 14px; color: var(--text-muted); }
.hp__toggle { font-size: 14px; font-weight: 600; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.hp:not([open]) .hp__hide, .hp[open] .hp__show { display: none; }
.hp__bar { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.hp__bar span { display: block; height: 100%; background: var(--teal); }
.hp__list { list-style: none; margin: 0; padding: 0; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, 0.04); }
.hp__item { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: var(--space-3); align-items: center; padding: var(--space-4); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.hp__item:first-child { border-top: 0; }
.hp__mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.35); font-size: 13px; font-weight: 700; }
.hp__item.is-done .hp__mark { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.hp__item.is-late { background: rgba(242, 200, 121, 0.08); box-shadow: inset 3px 0 0 var(--gold); }
.hp__item.is-late .hp__mark { background: var(--gold); border-color: var(--gold); color: var(--on-teal); }
.hp__item.is-action .hp__mark { border-color: var(--teal); color: var(--teal); }
.hp__item.is-waiting .hp__mark { border-style: dashed; }
.hp__body { display: grid; gap: 2px; min-width: 0; }
.hp__body p { margin: 0; }
.hp__t { font-weight: 700; }
.hp__d { color: var(--text-muted); font-size: 15px; }
.hp__meta { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.hp__item.is-late .hp__meta { color: var(--gold); }
.hp__why { font-size: 13px; color: var(--text-muted); }
.hp__end { display: flex; align-items: center; gap: var(--space-3); justify-content: flex-end; }
.hp__state { font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.hp__item.is-late .hp__state { color: var(--gold); font-weight: 600; }
.hp__foot { font-size: 14px; }

.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.copy-row__input { flex: 1 1 260px; min-width: 0; height: 44px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--field); color: var(--text); font: 15px var(--font-body); }
.hk__key { flex: 0 1 320px; font: 700 20px/1 ui-monospace, Menlo, monospace; letter-spacing: 0.06em; }

.hd-shows { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.hd-show { display: grid; gap: var(--space-2); padding: var(--space-4) var(--space-5); border-radius: 18px; background: rgba(255, 255, 255, 0.04); }
.hd-show p { margin: 0; }
.hd-show__when { font-weight: 700; font-size: 17px; }
.hd-show__places { font-weight: 600; font-size: 14px; }
.hd-show__bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.hd-show__bar span { display: block; height: 100%; background: var(--teal); }
.hd__access { max-width: 640px; }

/* ── The screening page, as the prototype's: the next step, then the steps beside a column of cards ── */
.hd--app { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); padding-top: var(--space-6); }
.hd--app > *, .ss { min-width: 0; }
.nu { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 28px 32px; border-radius: 20px; background: linear-gradient(120deg, rgba(154, 203, 194, 0.16), rgba(154, 203, 194, 0.04)); box-shadow: inset 0 0 0 1px rgba(154, 203, 194, 0.25); }
.nu--late { background: linear-gradient(120deg, rgba(242, 200, 121, 0.16), rgba(242, 200, 121, 0.04)); box-shadow: inset 0 0 0 1px rgba(242, 200, 121, 0.3); }
.nu--calm { background: var(--surface-card); box-shadow: none; grid-template-columns: auto minmax(0, 1fr); }
.nu__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(154, 203, 194, 0.18); color: var(--teal); }
.nu--late .nu__ic { background: rgba(242, 200, 121, 0.18); color: #F2C879; }
.nu__body p { margin: 0; }
.nu__k { font-size: 13px; font-weight: 600; color: var(--teal); letter-spacing: 0.02em; }
.nu--late .nu__k, .nu--late .nu__m { color: #F2C879; }
.nu__count { color: var(--text-muted); font-weight: 500; }
.nu__t { margin: 4px 0; font: 700 24px/1.2 var(--font-display); }
.nu__d { color: var(--text-muted); }
.nu__m { display: flex; align-items: center; gap: 6px; margin-top: 8px !important; font-size: 14px; color: var(--text-muted); }
.nu__act .ln-btn { min-height: 48px; }
.nu--late .nu__act .ln-btn--teal { background: #F2C879; border-color: #F2C879; color: #17181C; }

.hd__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.hd__main { display: grid; gap: var(--space-5); min-width: 0; }
.hd__side { position: sticky; top: 24px; display: grid; gap: var(--space-4); }
.hd-card { display: grid; gap: var(--space-3); padding: 24px; border-radius: 20px; background: var(--surface-card); }
.hd-card p { margin: 0; }
.hd-card__h { margin: 0; font: 700 20px/1.3 var(--font-display); }
.hd-card__small { font-size: 14px; }
.hd-card .hd-show { padding: 0; background: none; }
.hd-card .hd-show p { font-size: 14px; }
.hd-card .hd-show__when { font-size: 15px; }
.hd-card .hd-shows { gap: 16px; }
.hd-card .copy-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.hd-card .copy-row__input { flex: 1 1 160px; min-width: 0; }
.hd-card .co__choice { gap: var(--space-2); }
.hd-card .ln-actions { gap: 8px; }
.hd-lic__top { display: flex; align-items: center; gap: 12px; }
.hd-lic__ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: rgba(154, 203, 194, 0.15); color: var(--teal); }
.hd-lic__dl { margin: 0; display: grid; gap: 8px; }
.hd-lic__dl > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; font-size: 14px; }
.hd-lic__dl dt { color: var(--text-muted); }
.hd-lic__dl dd { margin: 0; }
.hd-key { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: rgba(154, 203, 194, 0.08); box-shadow: inset 0 0 0 1px rgba(154, 203, 194, 0.2); }
.hd-key__k { font-size: 13px; font-weight: 600; color: var(--teal); }
.hd-key__code { width: 100%; padding: 0; border: 0; background: none; color: var(--text); font: 700 17px/1.4 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.04em; }
.hd-key__code:focus { outline: none; }
.hd-key__copy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* Several screenings: pick which one the page shows */
.ss { display: grid; gap: 10px; }
.ss p { margin: 0; }
.ss__k { font-size: 14px; font-weight: 600; }
.ss__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ss__item, .ss__add { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 16px 8px 8px; border-radius: 16px; background: var(--surface-card); color: var(--text); text-decoration: none; white-space: nowrap; }
.ss__add { padding-left: 16px; gap: 8px; font-weight: 600; }
.ss__item:hover, .ss__add:hover { background: #2B2C33; }
.ss__item:focus-visible, .ss__add:focus-visible, .ss__toggle:focus-visible, .ht__tab:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.ss__item[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--teal); background: rgba(154, 203, 194, 0.1); }
.ss__item.is-past { opacity: 0.6; }
.ss__img { width: 36px; height: 48px; flex: none; border-radius: 6px; object-fit: cover; }
.ss__txt { display: grid; line-height: 1.3; }
.ss__date { font-size: 13px; color: var(--text-muted); }
.ss__film { font-weight: 600; }
.ss__tag { padding: 2px 8px; border-radius: 999px; background: rgba(154, 203, 194, 0.18); color: var(--teal); font-size: 12px; font-weight: 700; }
.ss__tag--past { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); }
.ss__item--wait { opacity: 0.8; }
.ss__tag--wait { background: rgba(242, 200, 121, 0.16); color: var(--gold); }
.ss__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ss__toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--text-muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.ss__toggle:hover { color: var(--text); }
.ss__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.ss__done { display: grid; gap: 10px; padding-top: 6px; }
.ss__done .ss__k { font-weight: 500; }

.hp__quiet { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.copy-row--stack { display: grid !important; gap: 10px; }
.copy-row--stack .copy-row__input { width: 100%; flex: none; }
.copy-row--stack .ln-btn { justify-self: start; }
.hd-access legend { font: 600 15px var(--font-body); margin-bottom: var(--space-2); }
/* The host's own ticket price, a row per showing still to come. */
.hd-price { display: grid; gap: var(--space-2); padding-top: var(--space-3); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.hd-price__h { margin: 0; font: 600 15px var(--font-body); }
.hd-price__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 10px; }
.hd-price__when { grid-column: 1 / -1; font-size: 14px; font-weight: 600; }
.hd-price__field { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hd-price__cur { color: var(--text-muted); font-weight: 600; }
.hd-price__field .co__input { width: 100%; min-width: 0; }
.hd-price__field .co__input[readonly] { opacity: .6; }
.hd-price__hint { grid-column: 1 / -1; }
.hd-access .co__opt { border: 0; background: rgba(255, 255, 255, 0.04); border-radius: 14px; }
.hd-access .co__opt:has(input:checked) { background: rgba(154, 203, 194, 0.08); box-shadow: inset 0 0 0 2px var(--teal); }
.hd-access input[type="radio"] { accent-color: var(--gold); }
html.js .hd-access__save { display: none; }

/* Help: how StoryDrop works, and the Player */
.ht ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ht__tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--surface-card); color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.ht__tab:hover { color: var(--text); }
.ht__tab[aria-current="page"] { background: rgba(154, 203, 194, 0.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(154, 203, 194, 0.35); }
.ht__tab[aria-current="page"] svg { color: var(--teal); }

@media (max-width: 1100px) {
  .hd__grid { grid-template-columns: minmax(0, 1fr); }
  .hd__side { position: static; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
}
@media (max-width: 640px) {
  .nu { grid-template-columns: auto minmax(0, 1fr); padding: 22px 20px; }
  .nu__act { grid-column: 1 / -1; }
  .nu__act .ln-btn { width: 100%; justify-content: center; }
  .hd__side { grid-template-columns: minmax(0, 1fr); }
}
.ln-banner--info { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
.ln-banner--info .ic { color: var(--accent); }

/* Who shows the film */
.op:not(:has(input[name="Who"][value="other"]:checked)) .op__other { display: none; }
.op__other { display: grid; gap: var(--space-4); padding-top: var(--space-2); }

/* Installing the Player, with Windows' warning drawn in HTML */
.ig { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
.ig__step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: var(--space-4); }
.ig__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-weight: 700; }
.ig__body { display: grid; gap: var(--space-2); }
.ig__t { margin: 0; font: 700 18px/1.3 var(--font-display); }
.ig__body p { margin: 0; }
.winbox { max-width: 420px; padding: 18px 20px; background: #0E4A84; color: #fff; font-family: "Segoe UI", system-ui, sans-serif; display: grid; gap: 10px; }
.winbox__title { font-size: 20px; font-weight: 600; }
.winbox__body, .winbox__meta { font-size: 13px; line-height: 1.45; }
.winbox__link { text-decoration: underline; font-size: 13px; }
.winbox__btns { display: flex; justify-content: flex-end; gap: 8px; }
.winbox__btn { padding: 6px 18px; border: 1px solid #fff; font-size: 13px; }
.winbox .is-mark { outline: 3px solid #F4C74E; outline-offset: 3px; }
.rh-list { margin: 0; padding-left: 1.4em; display: grid; gap: var(--space-2); }

/* Documents */
.dc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.dc-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-4); align-items: center; padding: var(--space-4) var(--space-5); border-radius: 18px; background: rgba(255, 255, 255, 0.04); }
.dc-row p { margin: 0; }
.dc-row__t { font-weight: 700; }
.doc-wrap { max-width: 860px; gap: var(--space-4); }
.doc-actions { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.doc { background: #FFFFFF; color: #1B1D23; padding: clamp(28px, 5vw, 56px); border-radius: 6px; display: grid; gap: var(--space-5); font-size: 15px; line-height: 1.55; }
.doc__head img { filter: brightness(0.3); }
.doc__head { display: flex; align-items: center; gap: var(--space-4); padding-bottom: var(--space-4); border-bottom: 2px solid #1B1D23; }
.doc__title { margin: 0; font: 700 26px/1.2 var(--font-display); }
.doc__id { font-weight: 400; color: #5A5F6B; }
.doc__muted { margin: 0; color: #5A5F6B; font-size: 13px; }
.doc__issuer { white-space: pre-line; font-size: 12px; }
.doc__dl { margin: 0; display: grid; gap: var(--space-3); }
.doc__dl > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--space-4); padding-bottom: var(--space-3); border-bottom: 1px solid #E4DED4; }
.doc__dl dt { font-weight: 700; font-size: 14px; }
.doc__dl dd { margin: 0; }
.doc__no { font: 700 18px ui-monospace, Menlo, monospace; }
.doc__plain { list-style: none; margin: 0 0 4px; padding: 0; }
.doc__foot { display: flex; justify-content: flex-end; padding-top: var(--space-5); }
.doc__sign { min-width: min(240px, 100%); border-top: 1px solid #1B1D23; padding-top: 8px; }
.doc__signname { margin: 0; font-weight: 700; }
.doc .agreement { max-height: none; overflow: visible; padding: 0; background: none; color: inherit; }
/* The film licence certificate's styles are in licence.css, loaded by _LicenceCertificate (host and console). */

@media (max-width: 760px) {
  .hh__in { flex-direction: column-reverse; align-items: flex-start; }
  .hh__poster { width: 120px; }
  .hp__item { grid-template-columns: 32px minmax(0, 1fr); }
  .hp__end { grid-column: 2; justify-content: flex-start; }
  .doc__dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .dc-row { grid-template-columns: minmax(0, 1fr); }
}

@media print {
  body { background: #fff !important; }
  .pn, .sf, .skip, .ha__side, .ha__top, .ha__flash, .doc-actions, .notice, dialog { display: none !important; }
  .ha, .landing, .ln-page, .ln-section, .doc-wrap { padding: 0 !important; margin: 0 !important; max-width: none !important; background: #fff !important; }
  .doc { padding: 0; border-radius: 0; }
  @page { size: A4; margin: 18mm; }
}

/* ── Films ── */
.hd-empty { max-width: 640px; }
.rg-chips a.rg-chip { text-decoration: none; color: var(--text); }
.rg-chip[aria-current="page"] span { background: var(--teal); color: var(--on-teal); }
.rg-chip[aria-current="page"] span .ic { display: inline; }
.fg__chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-size: 12px; font-weight: 600; white-space: nowrap; }
.fg__chip.is-on { background: rgba(154, 203, 194, 0.18); color: var(--teal); }
.fg__chip.is-wait { background: rgba(217, 162, 94, 0.18); color: var(--accent); }
.fg__chip.is-off { color: var(--text-muted); }
.ln-btn--quiet { background: transparent; border-color: rgba(255, 255, 255, 0.25); color: var(--text); }
.ln-btn--quiet:hover { background: rgba(255, 255, 255, 0.06); }

/* ── Guest list ── */
.guest__head p { margin: 0; }
.guest__film { font-weight: 700; font-size: 18px; }
.guest__scroll { overflow-x: auto; border-radius: 16px; background: rgba(255, 255, 255, 0.04); }
.guest__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.guest__table th, .guest__table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.guest__table th { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.guest__table .num { text-align: right; }
.guest__box { display: inline-block; width: 20px; height: 20px; border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 4px; }

/* ── After the screening and account ── */
.af__ok { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--teal); font-weight: 600; }
.upload-row { display: grid; gap: 6px; }
.ac__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-3); }

@media (max-width: 760px) {
  .fp__head { grid-template-columns: minmax(0, 1fr); }
  .fp__art { width: 160px; }
  .fg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
}

@media print {
  .no-print, .rg-chips { display: none !important; }
  .guest, .guest * { color: #000 !important; background: #fff !important; }
  .guest__table th, .guest__table td { border-bottom: 1px solid #999; }
  .guest__box { border-color: #000; }
}

/* Report uploads, a row per file */
.upload-list { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.upload-row { display: grid; gap: 6px; padding: var(--space-3) var(--space-4); border-radius: 14px; background: rgba(255, 255, 255, 0.04); }
.upload-row p { margin: 0; }
.upload-row__name { font-weight: 600; word-break: break-all; }
.upload-row .reg__later { justify-self: start; }

/* The night card */
.nc-wrap { max-width: 720px; }
.doc__h2 { margin: 0 0 var(--space-2); font: 700 17px/1.3 var(--font-display); }
.nc__list { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.nc__help { margin: 0; padding: var(--space-3) var(--space-4); border-radius: 8px; background: #F3F1EC; font-weight: 700; }
.rg-google { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.rg-google p { margin: 0; }
@media print { .nc { page: card; } @page card { size: A5; margin: 12mm; } }

/* Registration, film step: several films, each with its language */
.rg-search { display: flex; gap: var(--space-2); max-width: 640px; }
.rg-search .co__input { flex: 1; }
.rg-pick { display: grid; gap: var(--space-3); }
.rg-pick[hidden] { display: none; }
.rg-pick__langs { margin: 0 0 var(--space-3) var(--space-6); padding: 0; border: 0; display: grid; gap: var(--space-2); min-width: 0; }
.rg-pick__langs > legend { padding: 0; margin-bottom: var(--space-2); font-size: 14px; }
.rg-pick:not(:has(> .rg-film input:checked)) .rg-pick__langs { display: none; }
.reg-tp .rg-film input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--teal); flex: none; }
@media (max-width: 600px) { .rg-pick__langs { margin-left: var(--space-3); } }
.rg-film__season { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--teal); }

/* ── Films, as the prototype's host catalogue: a featured film, rows that scroll sideways, poster cards and a side drawer ── */
.hf { gap: var(--space-6); padding-top: var(--space-6); grid-template-columns: minmax(0, 1fr); }
.hf > * { min-width: 0; }
.hff { position: relative; overflow: hidden; border-radius: 24px; background: var(--surface-card); isolation: isolate; }
.hff__bg { position: absolute; inset: -40px; z-index: -2; background-size: cover; background-position: center; filter: blur(40px) saturate(1.2); opacity: 0.55; transform: scale(1.1); }
.hff::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 21, 25, 0.94) 0%, rgba(20, 21, 25, 0.7) 55%, rgba(20, 21, 25, 0.25) 100%); }
.hff__in { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 48px; }
.hff__text { display: grid; gap: var(--space-3); max-width: 620px; }
.hff__text p { margin: 0; }
.hff__t { margin: 0; font: 700 clamp(28px, 4vw, 52px)/1.05 var(--font-display); letter-spacing: -0.02em; }
.hff__meta { color: var(--text-muted); }
.hff__syn { font-size: 17px; line-height: 1.55; }
.hff__acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-2); }
.hff__acts form { margin: 0; }
.hff .hh__poster { flex: none; width: 220px; }
.ln-hc-more { display: inline-flex; align-items: center; gap: 4px; min-height: 48px; padding: 0 var(--space-3); border-radius: 999px; color: var(--text); font-weight: 600; text-decoration: none; }
.ln-hc-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.ln-hc-more svg { transition: transform 0.2s; }
.ln-hc-more:hover svg { transform: translateX(3px); }

.hf__top { display: grid; gap: var(--space-3); }
.hf__head { display: grid; gap: 4px; }
.hf__head p { margin: 0; }
.hf__n { font: 500 16px var(--font-body); }
.hf__bar { align-items: center; gap: 10px; }
.hf__q { flex: 1 1 320px; max-width: none; height: 44px; border: 0; background: rgba(255, 255, 255, 0.06); }
/* The prototype's filter pills: the label sits inside, before the choice. */
.hf__bar .ln-sel { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding-left: 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); font-size: 12px; font-weight: 500; }
.hf__bar .ln-sel:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.hf__bar .ln-sel select { height: 44px; min-width: 0; padding: 0 34px 0 0; border: 0; background-color: transparent; font: 600 13px var(--font-body); }
.hf__bar .ln-sel select:focus { outline: none; }
.hf__count { margin: 0; font-size: 14px; }
html.js .hf__go { display: none; }

.hc-sec { display: grid; gap: var(--space-3); }
.hc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hc-all { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--teal); font-weight: 600; text-decoration: none; }
.hc-all:hover { background: rgba(154, 203, 194, 0.14); }
.hc-row { display: flex; gap: 16px; margin: 0; padding: 4px 2px 12px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hc-row::-webkit-scrollbar { display: none; }
.hc-row > li { flex: 0 0 236px; scroll-snap-align: start; }
.hc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.hc { position: relative; }
.hc__saveform { margin: 0; }
.hc__save { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(15, 16, 19, 0.7); backdrop-filter: blur(6px); color: #fff; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.hc__save:hover { background: rgba(15, 16, 19, 0.9); transform: scale(1.06); }
.hc__save.is-on { background: var(--teal); color: var(--on-teal); }
.hc__save.is-on svg path { fill: currentColor; }
.hc__btn { display: grid; gap: 6px; color: var(--text); text-decoration: none; }
.hc__btn:focus-visible, .hc__save:focus-visible, .hc-all:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 14px; }
.hc__art { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 14px; background: var(--surface-card); }
.hc__art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.hc__hover { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border-radius: 10px; background: var(--teal); color: var(--on-teal); font-size: 15px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity 0.2s, transform 0.2s; }
.hc__btn:hover .hc__art img, .hc__btn:focus-visible .hc__art img { transform: scale(1.04); }
.hc__btn:hover .hc__hover, .hc__btn:focus-visible .hc__hover { opacity: 1; transform: none; }
.hc__t { font-weight: 600; font-size: 16px; line-height: 1.3; }
.hc__m { font-size: 13px; color: var(--text-muted); }
.hf__badges { position: absolute; top: 12px; left: 12px; right: 60px; display: flex; gap: 6px; flex-wrap: wrap; }
.hf__badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: rgba(15, 16, 19, 0.75); backdrop-filter: blur(6px); color: #fff; font-size: 12px; font-weight: 600; }
.hf__badge--ok { color: var(--teal); }

.hfd { gap: 14px; }
.hfd p { margin: 0; }
/* The whole poster, portrait as the cards, never cropped to a band. */
.hfd__img { justify-self: center; width: min(200px, 55%); height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 14px; background: var(--surface-card); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); }
.hfd__t { margin: 0; font: 700 28px/1.15 var(--font-display); }
.hfd__meta { color: var(--text-muted); }
.hfd__dl { display: grid; gap: 10px; margin: 0; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); }
.hfd__dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.hfd__dl dt { color: var(--text-muted); font-size: 14px; }
.hfd__dl dd { margin: 0; }
.hfd__acts { display: grid; gap: 8px; }
.hfd__acts form { margin: 0; }
.hfd__acts .ln-btn { width: 100%; justify-content: center; }
.fm--side .fm__head .ln-kicker { margin: 0; }
/* The film drawer, as the prototype's: flush to the right edge, no border or head line, sliding in over a blurred page. */
.fm.hfd-drawer { margin: 0 0 0 auto; height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; width: min(560px, 100vw); gap: 16px; padding: 24px; border: 0; border-radius: 0; background: #1D1E22; box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5); }
.hfd-drawer[open] { animation: hfd-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
.hfd-drawer::backdrop { background: rgba(8, 8, 10, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hfd-drawer .fm__head { align-items: flex-start; padding: 0; border: 0; }
.hfd-drawer .fm__head .ln-kicker { padding-top: 4px; }
.hfd-drawer .fm__body { padding: 0 0 24px; gap: 14px; align-content: start; }
.hfd-drawer .fm__close:focus { outline: none; }
.hfd-drawer .fm__close:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.hfd-drawer .ln-btn--grey { border-color: transparent; background: rgba(255, 255, 255, 0.1); color: var(--text); }
.hfd-drawer .ln-btn--grey:hover { background: rgba(255, 255, 255, 0.16); }
.hfd__link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; justify-self: center; color: var(--teal); font-weight: 600; }
.hfd__link span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.hfd__link:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 8px; }
@keyframes hfd-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes hfd-up { from { transform: translateY(100%); } to { transform: none; } }
@media (max-width: 760px) {
  .fm.hfd-drawer { margin: auto 0 0; width: 100vw; max-width: 100vw; height: auto; max-height: 85vh; max-height: 85dvh; border-radius: 24px 24px 0 0; }
  .hfd-drawer[open] { animation-name: hfd-up; }
  .hfd__img { width: min(150px, 45%); }
}
@media (prefers-reduced-motion: reduce) { .hfd-drawer[open] { animation: none; } }

@media (prefers-reduced-motion: reduce) { .hc__art img, .hc__hover, .hc__save, .ln-hc-more svg { transition: none; } }
@media (max-width: 760px) {
  .hff__in { flex-direction: column-reverse; align-items: flex-start; padding: 28px 20px; }
  .hff .hh__poster { width: 140px; }
  .hc-row > li { flex-basis: 180px; }
  .hc-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
}
.hfd__t:focus { outline: none; }

/* ── One film, as the prototype's HostFilm ── */
.fp { gap: var(--space-6); padding-top: var(--space-6); max-width: 1160px; }
.fp__back { color: var(--teal); font-size: 15px; }
.fp__head { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
.fp__art { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 3; padding: 16px; overflow: hidden; border-radius: 14px; background: radial-gradient(120% 90% at 85% 0%, #D9A25E 0%, rgba(217, 162, 94, 0) 55%), linear-gradient(180deg, #8A5A22 0%, #5A3A18 60%, #3A2814 100%); background-position: center; background-size: cover; background-repeat: no-repeat; isolation: isolate; }
.fp__art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 21, 25, 0) 35%, rgba(20, 21, 25, 0.85) 100%); }
.fp__art--poster { aspect-ratio: 2 / 3; padding: 0; background-color: var(--surface-card); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.fp__art--poster::before { content: none; }
.fp__art p { margin: 0; color: #fff; }
.fp__art-t { font: 700 24px/1.2 var(--font-display); }
.fp__art-m { font-size: 13px; color: rgba(255, 255, 255, 0.8) !important; }
.fp__text { display: grid; gap: 14px; align-content: start; }
.fp__text p { margin: 0; }
.fp__title { margin: 0; font: 700 clamp(28px, 3.4vw, 40px)/1.1 var(--font-display); letter-spacing: -0.01em; }
.fp__meta { font-size: 16px; }
.fp__lede { font-size: 18px; line-height: 1.5; }
.fp__dl { display: grid; gap: 14px; margin: 0; }
.fp__dl > div { display: grid; gap: 2px; }
.fp__dl dt { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.fp__dl dd { margin: 0; font-size: 16px; }
.fp__save { margin: 0; }
.fp__savebtn { justify-self: start; min-height: 40px; padding: 0 6px; border: 0; background: none; font: inherit; font-weight: 600; cursor: pointer; }
.fp__savebtn.is-on svg path { fill: currentColor; }
.fp__box { display: grid; gap: 16px; padding: 24px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.06); background: #2C2E36; }
.fp__box p { margin: 0; }
.fp__h2 { margin: 0; font: 700 24px/1.25 var(--font-display); }
.fp__keyrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.fp__key { margin: 0; font: 600 clamp(20px, 2.4vw, 26px)/1.3 var(--font-body); font-variant-numeric: tabular-nums; letter-spacing: 0.06em; white-space: nowrap; }
.fp__file { display: grid; gap: 8px; }
.fp__sub { font-size: 17px; font-weight: 600; }
.fp__tr { display: grid; gap: 14px; }
.fp__thumb { position: relative; display: grid; place-items: center; width: 100%; max-width: 560px; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 14px; background: radial-gradient(120% 90% at 85% 0%, #D9A25E 0%, rgba(217, 162, 94, 0) 55%), linear-gradient(180deg, #8A5A22 0%, #5A3A18 60%, #3A2814 100%); background-position: center; background-size: cover; background-repeat: no-repeat; cursor: pointer; isolation: isolate; overflow: hidden; }
.fp__thumb::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20, 21, 25, 0.35); }
div.fp__thumb { cursor: default; }
/* The poster whole in the trailer's frame, over the card colour, not cropped to a band. */
.fp__thumb[style*="url("] { background: var(--surface-card); background-position: center; background-size: contain; background-repeat: no-repeat; }
.fp__play { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #F9F6F1; color: #17181C; transition: transform 0.2s; }
.fp__thumb:hover .fp__play { transform: scale(1.06); }
.fp__thumb:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.fp__note { margin: 0; font-size: 14px; }
@media (max-width: 760px) { .fp__head { grid-template-columns: minmax(0, 1fr); } .fp__art { max-width: 420px; } .fp__art--poster { max-width: 220px; } }
.ss__list > li { min-width: 0; max-width: 100%; }
.ss__item { max-width: 100%; }
.ss__txt { min-width: 0; }
.ss__film { overflow: hidden; text-overflow: ellipsis; }

/* ── Notifications, as the prototype's NotifBell: a bell beside the church (or in the phone's top bar) opening a small panel ── */
.ha__ctx-txt { flex: 1; min-width: 0; }
.nbw { position: relative; display: inline-flex; flex: none; }
.nbw > summary { list-style: none; }
.nbw > summary::-webkit-details-marker { display: none; }
.nb { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--text-muted); cursor: pointer; transition: background 0.15s, color 0.15s; }
.nb:hover, .nbw[open] > .nb { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.nb:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }
.nb__n { position: absolute; top: 1px; right: -3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #E1C79F; color: #17181C; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; box-shadow: 0 0 0 2px #1E1F24; }
.nbp { position: absolute; top: calc(100% + 8px); right: 0; z-index: 90; width: min(400px, calc(100vw - 32px)); max-height: min(560px, 70vh); display: flex; flex-direction: column; border-radius: 16px; background: #2A2B32; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 48px rgba(0, 0, 0, 0.5); overflow: hidden; text-align: left; }
/* Beside the sidebar: fixed, so the sidebar's scrolling doesn't cut it off. */
.nbw--side .nbp { position: fixed; top: 72px; left: 280px; right: auto; }
.nbp__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.nbp__head form { margin: 0; }
.nbp__t { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--text); }
.nbp__c { padding: 2px 8px; border-radius: 999px; background: rgba(194, 156, 107, 0.18); color: #E1C79F; font-size: 11px; font-weight: 600; }
.nbp__all { min-height: 32px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent; color: var(--teal); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.nbp__all:hover { background: rgba(154, 203, 194, 0.08); }
.nbp__empty { padding: 20px 16px; margin: 0; }
.nb__list { margin: 0; padding: 6px; list-style: none; display: grid; gap: 2px; overflow-y: auto; min-height: 0; flex: 1; }
.nb__list--page { padding: 0; }
.nb__i { display: grid; grid-template-columns: 32px minmax(0, 1fr) 8px; gap: 10px; align-items: start; padding: 10px; border-radius: 12px; color: var(--text); text-decoration: none; transition: background 0.15s; }
.nb__i:hover { background: rgba(255, 255, 255, 0.04); }
.nb__i:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.nb__i.is-new { background: rgba(154, 203, 194, 0.05); }
.nb__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: rgba(154, 203, 194, 0.12); color: var(--teal); }
.nb__ic.is-wait { background: rgba(194, 156, 107, 0.14); color: #E1C79F; }
.nb__b { display: grid; gap: 2px; min-width: 0; }
.nb__t { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.nb__d { font-size: 12.5px; color: var(--text-muted); }
.nb__w { font-size: 12px; color: var(--text-muted); opacity: 0.85; }
.nb__dot { width: 8px; height: 8px; margin-top: 6px; border-radius: 999px; background: var(--teal); }
.nbw--top { display: none; margin-left: auto; margin-right: 6px; }
@media (max-width: 900px) { .nbw--side { display: none; } .nbw--top { display: inline-flex; } .nbw--top .nbp { right: -52px; } }

/* ── Need help with your key? ── */
.kh-wrap { display: grid; gap: 8px; }
.kh-wrap > summary { list-style: none; }
.kh-wrap > summary::-webkit-details-marker { display: none; }
.kh__open { display: inline-flex; align-items: center; gap: 6px; justify-self: start; min-height: 40px; padding: 0 4px; color: var(--teal); font-size: 14px; font-weight: 600; cursor: pointer; }
.kh__open:hover { text-decoration: underline; text-underline-offset: 3px; }
.kh__open:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
.kh { display: grid; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); }
.kh p { margin: 0; }
.kh__t { margin: 0; padding: 0; font-weight: 600; font-size: 15px; }
.kh__reasons { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.kh__reasons legend { margin-bottom: 6px; }
.kh__opt { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 14px; cursor: pointer; }
.kh__opt input { accent-color: var(--teal); width: 18px; height: 18px; }
.kh .ln-label { display: block; margin-bottom: 6px; font-size: 13px; }
.kh__date { display: none; }
.kh:has(input[name="reason"][value="date"]:checked) .kh__date { display: block; }
.kh__err { display: flex; align-items: center; gap: 6px; color: #EC8A70; font-size: 14px; }
.kh--wait { display: flex; gap: 10px; align-items: flex-start; color: #E1C79F; background: rgba(194, 156, 107, 0.1); }
.kh--wait .kh__t { color: var(--text); }
.kh__done { display: flex; align-items: center; gap: 6px; }

/* ── Guest list, as the prototype's: summary cards, a film filter, ten rows a page, everyone when printed ── */
.gs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gs__card { display: grid; gap: 2px; align-content: start; padding: 18px 20px; border-radius: 18px; background: var(--surface-card); }
.gs__card p { margin: 0; }
.gs__ic { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 8px; border-radius: 10px; background: rgba(154, 203, 194, 0.15); color: var(--teal); }
.gs__n { font: 700 30px/1.1 var(--font-display); }
.gs__n--wait { font-size: 20px; line-height: 36px; color: var(--text-muted); }
.gs__k { font-weight: 600; }
.gs__s { font-size: 13px; color: var(--text-muted); }
.gs__s a { color: var(--teal); font-weight: 600; }
.guest__when { font-size: 13px; }
.guest__table tr.is-off { display: none; }
.guest__print { display: grid; gap: 8px; justify-items: start; }
.guest__print p { margin: 0; font-size: 14px; }
.pg { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pg p { margin: 0; font-size: 14px; }
.pg__btns { display: flex; gap: 4px; flex-wrap: wrap; }
.pg__b { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 10px; background: var(--surface-card); color: var(--text); font-weight: 600; text-decoration: none; }
a.pg__b:hover { background: #2F3037; }
.pg__b:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.pg__b[aria-current="page"] { background: var(--teal); color: var(--on-teal); }
.pg__b.is-disabled { opacity: 0.35; }
@media (max-width: 760px) { .gs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media print { .guest__table tr.is-off { display: table-row; } .gs, .pg, .hf__bar { display: none !important; } }

/* ── After the screening, as the prototype's: cards, what people said, the report, follow-up, play report, tickets, export ── */
.af { gap: var(--space-5); padding-top: var(--space-6); grid-template-columns: minmax(0, 1fr); }
.af > * { min-width: 0; }
.af__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.af__title { display: grid; gap: 6px; max-width: 640px; }
.af__title p { margin: 0; }
.af__cols { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.af__col { display: grid; gap: 16px; min-width: 0; }
.af-card { gap: 14px; }
.af-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.af-chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.af-chip--ok { background: rgba(154, 203, 194, 0.18); color: var(--teal); }
.af-chip--wait { background: rgba(242, 200, 121, 0.16); color: var(--gold); }
.afb { display: grid; gap: 6px; }
.afb__top { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.afb__n { font-weight: 600; }
.afb__track { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.afb__fill { display: block; height: 100%; border-radius: 999px; }
.afb__fill--paid { background: var(--teal); }
.afb__fill--code { background: var(--gold); }
.afb__fill--free { background: #8FA7E6; }
.af-quote { margin: 0; padding: 14px 16px; border-left: 3px solid var(--teal); border-radius: 0 12px 12px 0; background: rgba(154, 203, 194, 0.06); font-style: italic; }
.af-quote footer { margin-top: 8px; font-style: normal; }
.af-kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.af-kind { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.af-kind span { color: var(--text-muted); font-weight: 500; }
.af-kind:hover { background: rgba(255, 255, 255, 0.1); }
.af-kind[aria-current="true"] { background: var(--teal); color: var(--on-teal); }
.af-kind[aria-current="true"] span { color: var(--on-teal); }
.af-kind:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.af-said { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.af-said li { display: flex; gap: 14px; padding: 14px 4px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.af-said li:first-child { border-top: 0; }
.af-said li[hidden] { display: none; }
.af-said__av { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 999px; background: rgba(154, 203, 194, 0.16); color: var(--teal); font-weight: 700; }
.af-said__b { display: grid; gap: 6px; min-width: 0; }
.af-said__b p { margin: 0; }
.af-said__top { display: flex; align-items: baseline; gap: 10px; }
.af-said__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.af-said__note { line-height: 1.5; }
.af-said__note--clip { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.af-said__phone a { color: var(--teal); }
.af-tag { padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, 0.07); }
.af-tag--talk { background: rgba(154, 203, 194, 0.16); color: var(--teal); }
.af-tag--pray { background: rgba(242, 200, 121, 0.16); color: var(--gold); }
.af-tag--visit { background: rgba(143, 167, 230, 0.18); color: #B4C5F2; }
.af-tag--more { background: rgba(194, 156, 107, 0.2); color: #E0BF93; }
.af-funnel { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.af-funnel li { position: relative; display: flex; align-items: baseline; gap: 10px; padding: 10px 12px; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, 0.03); isolation: isolate; }
.af-funnel__n { font: 700 22px var(--font-display); min-width: 34px; }
.af-funnel__bar { position: absolute; left: 0; top: 0; bottom: 0; z-index: -1; background: rgba(154, 203, 194, 0.14); border-radius: 12px; }
.af-form { gap: 20px; }
.af-form__part { display: grid; gap: 14px; margin: 0; padding: 18px; border: 0; border-radius: 16px; background: rgba(255, 255, 255, 0.03); min-width: 0; }
.af-form__part legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; padding: 0; margin: 0 0 14px; font-weight: 700; }
.af-form__part legend + * { clear: both; }
.af-form__part legend span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: var(--teal); color: var(--on-teal); font-size: 13px; }
.af-form__part legend em { font-style: normal; font-weight: 500; font-size: 13px; color: var(--text-muted); }
.af-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.af-form__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.af-form__foot p { margin: 0; }
.af-sent { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.af-sent > div { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); }
.af-sent p { margin: 0; }
.af-sub { margin: 0; font-size: 14px; font-weight: 700; color: var(--text-muted); }
.af-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.af-thumbs li { display: grid; gap: 4px; min-width: 0; }
.af-thumb { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #3B524D, #2F323B); }
.af-thumb--video { background: linear-gradient(135deg, #5A4630, #2F323B); }
.af-thumb__n { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.af-keycode { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.03em; }
.af-keyd summary { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; list-style: none; cursor: pointer; }
.af-keyd summary::-webkit-details-marker { display: none; }
.af-keyd[open] summary .af-keycode { display: none; }
.af-keyd[open] summary .af-eye { display: none; }
.af-eye { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: var(--teal); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.af-eye:hover { background: rgba(154, 203, 194, 0.14); }
.af-eye--big { min-height: 44px; padding: 0 14px; font-size: 14px; flex: none; }
.sdw__tools { display: flex; gap: 8px; align-items: center; }
.sdw__q { flex: 1; min-width: 0; height: 44px; }
.af-said--full li { padding: 16px 4px; }
.sdw__contact { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.sdw__num { font-weight: 600; font-variant-numeric: tabular-nums; }
.sdw.is-hidden .sdw__num { filter: blur(6px); user-select: none; }
.sdw__wa { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--teal); color: var(--on-teal); font-size: 13px; font-weight: 700; text-decoration: none; }
.ex { width: min(1000px, calc(100vw - 32px)); padding: 24px; border: 0; border-radius: 24px; background: #23242A; }
.ex[open] { gap: 20px; }
.ex form { display: contents; }
.ex .fm__head { padding: 0; border: 0; align-items: flex-start; }
.ex .fm__head p { margin: 4px 0 0; }
.ex .fm__close { width: 44px; height: 44px; }
.ex .fm__close:focus { outline: none; }
.ex .fm__close:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.ex__t { margin: 0; font: 700 26px/1.2 var(--font-display); }
.ex__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ex__box { display: grid; align-content: start; gap: 14px; margin: 0; padding: 18px; border: 0; border-radius: 16px; background: rgba(255, 255, 255, 0.05); min-width: 0; }
.ex__box p { margin: 0; }
.ex__lg { float: left; width: 100%; padding: 0; margin: 0 0 14px; font-weight: 700; font-size: 15px; }
.ex__lg + * { clear: both; }
.ex__presets { display: flex; flex-wrap: wrap; gap: 6px; }
.ex__date { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.ex__date input { width: 100%; min-width: 0; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: var(--text); font: inherit; font-weight: 500; color-scheme: dark; }
.ex__date input:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.ex__list { font-size: 13px; line-height: 1.45; }
.ex__check { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; cursor: pointer; }
.ex__check + .ex__check { margin-top: 12px; }
.ex__check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.ex__box2 { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35); color: transparent; }
.ex__check input:checked + .ex__box2 { background: var(--teal); box-shadow: none; color: var(--on-teal); }
.ex__check input:focus-visible + .ex__box2 { outline: 2px solid var(--teal); outline-offset: 2px; }
.ex__checkt { display: grid; gap: 4px; font-size: 15px; font-weight: 500; line-height: 1.4; }
.ex__checkt .ln-muted { font-size: 13.5px; font-weight: 400; }
.ex__fmts { display: grid; gap: 8px; }
.ex__fmt { position: relative; cursor: pointer; }
.ex__fmt input { position: absolute; opacity: 0; }
.ex__fmt > span { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
.ex__fmt > span > span { display: grid; gap: 2px; }
.ex__fmt strong { font-size: 15px; }
.ex__fmt .ln-muted { font-size: 13px; line-height: 1.4; }
.ex__fmt svg { color: var(--teal); flex: none; margin-top: 2px; }
.ex__fmt input:checked + span { box-shadow: inset 0 0 0 2px var(--teal); background: rgba(154, 203, 194, 0.08); }
.ex__fmt input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.ex__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ex__foot p { margin: 0; }
.ex__acts { display: flex; gap: 8px; }
.ex[open]:not(:modal) { position: relative; inset: auto; margin: 0 auto; display: flex; }
@media (max-width: 1000px) { .af__cols { grid-template-columns: minmax(0, 1fr); } .ex__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .af-form__row, .af-sent { grid-template-columns: minmax(0, 1fr); } }
.ex__t:focus { outline: none; }

/* ── Help, as the prototype's help centre ── */
.hl { gap: var(--space-7); padding-top: var(--space-6); grid-template-columns: minmax(0, 1fr); }
.hl > * { min-width: 0; }
.hl-sec { display: grid; gap: var(--space-4); }
.hl-sec[hidden] { display: none; }
.hl-h2 { margin: 0; font: 700 24px/1.25 var(--font-display); }
.hl-hero { display: grid; gap: 24px; padding: 40px; border-radius: 24px; background: linear-gradient(135deg, rgba(154, 203, 194, 0.16), rgba(154, 203, 194, 0.03) 60%), var(--surface-card); }
.hl-hero__text { display: grid; gap: var(--space-3); }
.hl-hero__text p { margin: 0; }
.hl-hero__t { margin: 0; font: 700 clamp(28px, 4vw, 48px)/1.05 var(--font-display); }
.hl-hero__lede { max-width: 680px; font-size: 18px; line-height: 1.55; }
.hl-q { max-width: 620px; height: 52px; border: 0; background: rgba(255, 255, 255, 0.08); }
.hl-phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.hl-phase { padding: 20px; border-radius: 20px; background: var(--surface-card); }
.hl-phase__t { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-weight: 700; }
.hl-phase__t span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--teal); color: var(--on-teal); font-size: 14px; }
.hl-steps { display: grid; margin: 0; padding: 0; list-style: none; }
.hl-steps li { position: relative; display: flex; gap: 12px; padding: 0 0 18px; }
.hl-steps li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 4px; width: 2px; background: rgba(154, 203, 194, 0.2); }
.hl-steps__ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: rgba(154, 203, 194, 0.15); color: var(--teal); }
.hl-steps__b { display: grid; gap: 4px; min-width: 0; }
.hl-steps__b p { margin: 0; }
.hl-steps__b .ln-muted { font-size: 14px; line-height: 1.5; }
.hl-steps__t { font-weight: 600; }
.hl-steps__go { display: inline-flex; align-items: center; gap: 2px; min-height: 32px; color: var(--teal); font-size: 14px; font-weight: 600; text-decoration: none; }
.hl-steps__go:hover { text-decoration: underline; }
.hl-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.hl-pages a { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--surface-card); color: var(--text); text-decoration: none; }
.hl-pages a:hover { background: #2B2C33; }
.hl-pages a:focus-visible, .hl-steps__go:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.hl-pages a > span:last-child { display: grid; gap: 2px; }
.hl-pages a .ln-muted { font-size: 14px; }
.hl-pages__t { font-weight: 600; }
.hl-pages__ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: rgba(255, 255, 255, 0.06); color: var(--teal); }
.hl-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; align-items: start; }
.hl-topics[hidden], .hl-topic-g[hidden], .hl-qa details[hidden] { display: none; }
.hl-topic-g { display: grid; gap: 10px; }
.hl-topic { margin: 0; font-size: 15px; font-weight: 700; color: var(--teal); }
.hl-qa { display: grid; gap: 8px; }
.hl-qa details { border-radius: 16px; background: var(--surface-card); }
.hl-qa summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 20px; cursor: pointer; font-weight: 600; list-style: none; }
.hl-qa summary::-webkit-details-marker { display: none; }
.hl-qa summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 16px; }
.hl-qa summary svg { flex: none; transition: transform 0.2s; }
.hl-qa details[open] summary svg { transform: rotate(180deg); }
.hl-qa details p { margin: 0; padding: 0 20px 18px; line-height: 1.55; }
.hl-contact { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px; border-radius: 20px; background: linear-gradient(120deg, rgba(154, 203, 194, 0.16), rgba(154, 203, 194, 0.04)); }
.hl-contact p { margin: 4px 0 0; max-width: 560px; }
.hl-contact__ways { display: grid; gap: 6px; }
.hl-contact__ways p { display: flex; align-items: center; gap: 8px; margin: 0; }
.hl-contact__ways svg { color: var(--teal); }
@media (max-width: 1000px) { .hl-phases, .hl-topics { grid-template-columns: minmax(0, 1fr); } .hl-hero { padding: 28px 20px; } }
@media (prefers-reduced-motion: reduce) { .hl-qa summary svg { transition: none; } }

/* ── Account, as the prototype's HostAccount (app.css 1708-1720, 2183-2199): cards with their details, and Edit opens the form. ── */
.ac { max-width: 760px; gap: var(--space-5); }
.ac__intro { display: grid; gap: var(--space-2); }
.ac-card { display: grid; gap: var(--space-4); padding: 24px 28px; border-radius: 20px; background: #24252B; scroll-margin-top: 96px; }
.ac-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ac-card__h { margin: 0; font: 700 20px/1.3 var(--font-display); }
.ac-card > p, .ac-card > form > p { margin: 0; }
.ac-dl { display: grid; gap: 14px; margin: 0; }
.ac-dl[hidden] { display: none; }
.ac-dl > div { display: grid; grid-template-columns: 180px 1fr; gap: 12px; }
.ac-dl dt { color: var(--text-muted); font-size: 14px; }
.ac-dl dd { margin: 0; }
.ac-form { display: grid; gap: var(--space-4); }
.ac-form[hidden], [data-ac-view][hidden] { display: none; }
.ac-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.ac-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.ac-err { display: flex; align-items: flex-start; gap: 6px; margin: 0; font-size: 14px; font-weight: 600; color: var(--text); }
.ac-err .ic { flex: none; margin-top: 1px; color: var(--accent); }
.ac .co__input[aria-invalid="true"] { border: 2px solid var(--text); }
.ac-strong { margin: 0; font-weight: 600; }
.ac-small { font-size: 14px; }
.ac-card .dc-row .fg__chip { justify-self: start; }
.ac-card .dc-list { margin: 0; }

/* The bank account: empty, saved, and its form. */
.ac-bank-empty { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: 16px; background: rgba(154, 203, 194, 0.08); box-shadow: inset 0 0 0 1px rgba(154, 203, 194, 0.22); }
.ac-bank-empty__t { flex: 1 1 240px; display: grid; gap: 4px; }
.ac-bank-empty p, .ac-bank p { margin: 0; }
.ac-bank__ic { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: rgba(154, 203, 194, 0.14); color: #9ACBC2; }
.ac-bank { display: grid; gap: 18px; padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); }
.ac-bank__top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ac-bank__top > div { flex: 1 1 160px; }
.ac-bank__st { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(194, 156, 107, 0.16); color: #E1C79F; }
.ac-bank__st.is-ok { background: rgba(154, 203, 194, 0.16); color: #9ACBC2; }
.ac-bank__st.is-main { background: rgba(255, 255, 255, 0.12); color: var(--text); }
.ac-bank__chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.ac-bank__kind { margin-left: 6px; font-size: 13px; font-weight: 500; color: var(--text-muted); }
.ac-banks-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ac-bank .ac-actions form { display: contents; }
.ac-methods { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; }
.ac-methods .co__opt { background: rgba(255, 255, 255, 0.06); }
.ac-methods .co__opt:has(input:checked) { background: rgba(255, 255, 255, 0.17); }
.ac-methods .co__opt > span > span { font-weight: 400; }
.ac-bank__num { margin-right: 10px; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.ac-bank .ac-dl dd { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.ac-eye { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; }
.ac-eye:hover { background: rgba(255, 255, 255, 0.1); }

/* Earnings' Withdraw: Account's fields and payout card, kept to a readable width. */
.ea-form { max-width: 560px; }
.ea-form .ac-bank__chips { align-items: center; }
.ac-banks { border: 0; margin: 0; padding: 0; }
.ac-banks__opts { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.ac-bank-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ac-bank-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); font-weight: 600; cursor: pointer; }
.ac-bank-opt input:checked + span { background: rgba(154, 203, 194, 0.16); box-shadow: inset 0 0 0 2px #9ACBC2; }
.ac-bank-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.ac-bank-form [data-ac-other][hidden], .ac-bank-form [data-pay-for][hidden], .ac-bank-form [data-pay-only][hidden] { display: none; }
.ac-bok { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; cursor: pointer; }
.ac-bok input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: #9ACBC2; }
.ac-lock { display: flex; align-items: center; gap: 8px; }
.ac-bank__rm { margin-left: auto; }
.ac-file { color: var(--text-muted); font: inherit; }

/* Delete account. */
.ac-card--danger { background: rgba(240, 120, 110, 0.05); box-shadow: inset 0 0 0 1px rgba(240, 120, 110, 0.3); }
.ac-card--danger .ac-card__h { color: #F3A39B; }
.ac-danger { background: transparent; border-color: rgba(240, 120, 110, 0.6); color: #F3A39B; }
.ac-danger--solid { background: #E5675C; border-color: #E5675C; color: #FFF; }
@media (max-width: 600px) {
  .ac-card { padding: 20px; }
  .ac-dl > div { grid-template-columns: 1fr; gap: 2px; }
  .ac-row { grid-template-columns: minmax(0, 1fr); }
  .ac-bank__rm { margin-left: 0; }
}

/* Account: answering what the team asked about a request for another screening */
.ac-ask { padding: 16px; border-radius: 16px; background: rgba(194,156,107,.12); margin-bottom: 8px; }
.ac-ask__t { margin: 0; font-weight: 600; }
.ac-ask__q { margin: 0; padding: 10px 14px; border-left: 3px solid #d9a25e; background: rgba(255,255,255,.04); border-radius: 0 10px 10px 0; white-space: pre-line; }
.ac-ask__a { min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.ac-note { margin: 0 0 8px; padding: 10px 14px; border-radius: 12px; background: rgba(154,203,194,.14); color: #9ACBC2; }

/* Photos of the room (registration step 4 and Account), as the prototype's VenueMedia */
.vm { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 10px; }
.vm:focus { outline: none; }
.vm legend { padding: 0; margin-bottom: 4px; }
.vm__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.vm__list:empty { display: none; }
.vm__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; background: rgba(255,255,255,.04); }
.vm__thumb { flex: none; display: grid; place-items: center; width: 56px; height: 44px; border-radius: 8px; overflow: hidden; background: #2a2b31; color: #9ACBC2; }
.vm__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vm__name { flex: 1; min-width: 0; display: grid; gap: 2px; }
.vm__name > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm__bar { display: block; height: 6px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.vm__bar > span { display: block; width: 0; height: 100%; background: var(--teal); transition: width .2s; }
@media (prefers-reduced-motion: reduce) { .vm__bar > span { transition: none; } }
.vm__x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--text-muted); cursor: pointer; }
.vm__x:hover { background: rgba(255,255,255,.08); color: var(--text); }
.vm__drop { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 16px; border: 1.5px dashed rgba(255,255,255,.2); border-radius: 14px; text-align: center; color: var(--text-muted); }
.vm__drop[hidden] { display: none; }
.vm__drop.is-drag { border-color: #9ACBC2; background: rgba(154,203,194,.06); }
.vm.has-error .vm__drop { border-color: #f3a39b; }
.vm__pick { cursor: pointer; }
.vm__pick:focus-within { outline: 2px solid #9ACBC2; outline-offset: 2px; }
.vm[aria-busy="true"] .vm__drop { opacity: .6; }

/* The kind of place (registration step 4, Account): pills with an icon, the chosen one teal */
.vt { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 10px; }
.vt__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.vt__opt { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--text); font-size: 15px; font-weight: 600; cursor: pointer; transition: background .15s; }
.vt__opt:hover { background: rgba(255,255,255,.1); }
.vt__opt input { position: absolute; opacity: 0; pointer-events: none; }
.vt__opt svg { color: var(--text-muted); flex: none; }
.vt__opt:has(input:checked) { background: #9ACBC2; color: #17181c; }
.vt__opt:has(input:checked) svg { color: #17181c; }
.vt__opt:has(input:focus-visible) { outline: 2px solid #9ACBC2; outline-offset: 2px; }
.ac-err[hidden] { display: none; }

/* The key's state on Licence and key (used up, days ended, withdrawn), and Other keys made by hand */
.kh__state { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(242,200,121,.1); color: #f2d9a6; font-size: 14px; line-height: 20px; }
.kh__state svg { flex: none; margin-top: 2px; }
.hd-other__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 16px; }
.hd-other__i { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.06); }
.hd-other__i:first-child { padding-top: 0; border-top: 0; }
.hd-other__film { margin: 0; }

/* Registration step 3: the prototype's poster grid, "I'll choose later" first. */
.rgf { margin: 0; padding: 0; border: 0; min-width: 0; }
.rgf__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.rgf__card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 8px; border: 1.5px solid rgba(255,255,255,0.1); border-radius: 14px; background: rgba(255,255,255,0.03); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.rgf__card[hidden] { display: none; }
.rgf__card:hover { border-color: rgba(255,255,255,0.28); }
.rgf__card:has(input:checked) { border-color: var(--teal); background: rgba(154,203,194,0.08); }
.rgf__card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rgf__card:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 3px; }
.rgf__poster { display: block; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; background: #17181c; }
.rgf__poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rgf__t { font-weight: 600; font-size: 14px; line-height: 1.3; padding: 0 2px; }
.rgf__d { font-size: 13px; color: var(--text-muted); line-height: 1.4; padding: 0 2px 4px; }
.rgf__later { display: grid; place-items: center; aspect-ratio: 2 / 3; max-height: 140px; border-radius: 8px; border: 1.5px dashed rgba(255,255,255,0.2); color: var(--teal); }
.rgf__tick { position: absolute; top: 14px; right: 14px; display: none; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: var(--teal); color: #17181c; }
.rgf__card:has(input:checked) .rgf__tick { display: grid; }
.rg-pick__langs[hidden] { display: none; }

/* Step 1's Google card and step 2's draft note. */
.rg-method__google { align-items: center; }
.rg-method__g { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,0.4); }
.reg__note--draft svg { color: var(--gold, #F2C879); }

/* Step 4's province: the prototype's Combo. */
.cb { position: relative; }
.cb__list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; max-height: 280px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: #2b2c31; border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); scrollbar-width: thin; }
.cb__list[hidden] { display: none; }
.cb__opt { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--text); cursor: pointer; }
.cb__opt.is-active, .cb__opt:hover { background: rgba(255, 255, 255, 0.08); }
.cb__opt[aria-selected="true"] { font-weight: 600; }
.cb__opt[aria-selected="true"]::after { content: "✓"; margin-left: auto; color: var(--teal); }

/* The Player page's downloads: the newest for Windows and Mac side by side, older ones that are still on folded under. */
.pl-dl { display: flex; flex-wrap: wrap; gap: 10px; }
.pl-older { margin-top: 10px; }
.pl-older summary { cursor: pointer; color: var(--teal); font-weight: 600; }
.pl-older ul { margin: 8px 0 0; padding-left: 1.2em; display: grid; gap: 6px; }
.pl-older a { color: inherit; }

/* Promote your screening, as the prototype's */
.pm { display: grid; gap: 40px; }
.pm .small { font-size: 13px; }
.pm__sec { display: grid; gap: 16px; }
.pm__head { display: flex; align-items: center; gap: 20px; padding: 18px; border-radius: 18px; background: rgba(255,255,255,0.04); }
.pm__head p, .pm__head h2 { margin: 0; }
.pm__facts { display: grid; gap: 6px; }
.pm__poster { flex: none; width: 84px; aspect-ratio: 2 / 3; border-radius: 10px; object-fit: cover; }
.pm__eyebrow { font-size: 13px; font-weight: 600; color: var(--teal); }
.pm__inv { margin: 0; padding: 16px 18px; border-radius: 4px 14px 14px 14px; background: #233a33; color: #f1f5f3; line-height: 1.6; max-width: 640px; }
.pm__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pm__rules { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: rgba(194,156,107,0.1); color: #ecd3b0; font-size: 14px; line-height: 1.5; }
.pm__rules p { margin: 0; }
.pm__rules svg { flex: none; margin-top: 2px; }
.pk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; align-items: start; }
.pk { display: grid; gap: 12px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,0.04); }
.pk__prev { display: flex; align-items: center; justify-content: center; height: 300px; border-radius: 10px; background: #0c0d0f; overflow: hidden; }
.pk__prev img { width: auto; height: auto; max-width: 100%; max-height: 100%; display: block; box-shadow: 0 0 0 1px rgba(255,255,255,0.08); }
.pk__prev--btn { position: relative; width: 100%; padding: 0; border: 0; cursor: zoom-in; }
.pk__prev--btn:disabled { cursor: default; }
.pk__prev--btn:disabled .pk__zoom { display: none; }
.pk__prev--btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.pk__zoom { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(17,18,20,0.85); color: #f4f1ea; font-size: 13px; font-weight: 600; opacity: 0; transition: opacity 0.15s; }
.pk__prev--btn:hover .pk__zoom, .pk__prev--btn:focus-visible .pk__zoom { opacity: 1; }
@media (hover: none) { .pk__zoom { opacity: 1; } }
.pk__load { width: 60%; height: 80%; border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.09), rgba(255,255,255,0.04)); background-size: 200% 100%; animation: pk-sh 1.2s linear infinite; }
@keyframes pk-sh { to { background-position: -200% 0; } }
.pk__body { display: grid; gap: 4px; padding: 0 4px 4px; }
.pk__t, .pf__t { margin: 0; font-weight: 600; }
.pk__s, .pf__s { margin: 0 0 8px; font-size: 13px; color: var(--text-muted); }
.pk__dl { display: inline-flex; align-items: center; justify-content: center; gap: 8px; justify-self: start; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; }
.pk__dl:hover { background: rgba(154,203,194,0.12); border-color: var(--teal); }
.pk__dl:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.pk__dl.is-off { opacity: 0.5; pointer-events: none; }
.pk__dl--pri { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.pk__dl--pri:hover { background: var(--teal-hover); }
.pf-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pf-list li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,0.04); }
.pf__ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: rgba(154,203,194,0.12); color: var(--teal); overflow: hidden; }
.pf__ic--img img { width: 100%; height: 100%; object-fit: cover; }
.pf__ic--logo img { width: 40px; height: auto; }
.pf__b { flex: 1; min-width: 0; }
.pf__b .pf__s { margin: 2px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pfp { position: relative; display: grid; gap: 8px; max-width: 460px; }
.pfp__lbl { margin: 0; font-size: 14px; font-weight: 600; }
.pfp__btn { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 6px 14px 6px 6px; border: 1.5px solid rgba(255,255,255,0.14); border-radius: 14px; background: rgba(255,255,255,0.04); color: var(--text); cursor: pointer; list-style: none; }
.pfp__btn::-webkit-details-marker { display: none; }
.pfp__btn:hover { border-color: rgba(255,255,255,0.28); }
.pfp__d[open] .pfp__btn, .pfp__btn:focus-visible { border-color: var(--teal); outline: none; }
.pfp__btn img, .pfp__o img { flex: none; width: 34px; height: 48px; border-radius: 6px; object-fit: cover; }
.pfp__v { flex: 1; min-width: 0; display: grid; gap: 2px; font-weight: 600; }
.pfp__v > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pfp__v .small { font-weight: 400; }
.pfp__pop { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; display: grid; gap: 6px; padding: 8px; border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; background: #232429; box-shadow: 0 18px 40px rgba(0,0,0,0.45); }
.pfp__search { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 10px; background: #17181c; color: var(--text-muted); }
.pfp__search[hidden] { display: none; }
.pfp__search input { flex: 1; min-height: 44px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 15px; outline: none; }
.pfp__search:focus-within { box-shadow: 0 0 0 2px var(--teal); }
.pfp__list { margin: 0; padding: 0; list-style: none; max-height: 340px; overflow-y: auto; scrollbar-width: thin; }
.pfp__o { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 4px 10px 4px 4px; border-radius: 10px; color: inherit; text-decoration: none; }
.pfp__o:hover, .pfp__o:focus-visible { background: rgba(255,255,255,0.06); }
.pfp__o[aria-current="true"] { color: var(--teal); }
.pfp__o > svg { color: var(--teal); flex: none; }
.pfp__none { padding: 14px; color: var(--text-muted); font-size: 14px; }
.pkv { width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 20px; border: 0; border-radius: 16px; background: #232429; color: var(--text); }
.pkv[open] { display: flex; flex-direction: column; gap: 14px; }
.pkv::backdrop { background: rgba(0,0,0,0.7); }
.pkv__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pkv__head h2, .pkv__head p { margin: 0; }
.pkv__x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(255,255,255,0.06); color: var(--text); cursor: pointer; }
.pkv__fig { position: relative; flex: 1; min-height: 0; margin: 0; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #0c0d0f; padding: 16px; }
.pkv__fig img { max-width: 100%; max-height: calc(100vh - 220px); max-height: calc(100dvh - 220px); width: auto; height: auto; display: block; }
.pkv__nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(17,18,20,0.85); color: #f4f1ea; cursor: pointer; }
.pkv__nav.is-prev { left: 10px; }
.pkv__nav.is-next { right: 10px; }
.pkv__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (max-width: 900px) { .pk-grid { grid-template-columns: 1fr; } .pk__prev { height: 260px; } }
@media (max-width: 560px) { .pm__head { align-items: flex-start; } .pf-list li { flex-wrap: wrap; } .pf-list .pk__dl { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .pk__load { animation: none; } }

/* ── Phones: long titles wrap, less padding, and the Export dialog takes the screen. Last in the file, so these follow every
   base rule above. ── */
.hh__title, .hff__t, .fp__title, .hfd__t, .reg__h1, .hl-hero__t, .rs-card__film { overflow-wrap: break-word; }
.af-said__top { flex-wrap: wrap; }
@media (max-width: 600px) {
  .hd-card, .hl-contact { padding: var(--space-5) var(--space-4); }
  .ex:modal { width: 100%; max-width: 100%; height: 100%; max-height: none; margin: 0; padding: var(--space-4); border-radius: 0; overflow-y: auto; }
  .ex__acts { flex-wrap: wrap; width: 100%; }
  .ex__acts > * { flex: 1 1 100%; justify-content: center; }
}
/* Small phones (320–400px): label columns stack, the key and licence number wrap, chips get smaller. */
@media (max-width: 400px) {
  .fp__key { font-size: 18px; white-space: normal; overflow-wrap: anywhere; }
  .rs-card__stub { grid-template-columns: minmax(0, 1fr); }
  .hd-lic__dl > div, .hfd__dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .rg-search { flex-wrap: wrap; }
  .rg-search > * { flex: 1 1 100%; }
  .hh__stats > div { padding: 10px 14px; }
  .gs__card { padding: 14px 16px; }
  .gs__n { font-size: 24px; }
  .ss__list > li, .ss__item { width: 100%; }
}

/* The confirm page (/host/confirm/{token}): change it, under what staff filled in. */
.hc-change { margin: 8px 0 32px; }
.hc-change .ln-link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }

/* What it costs (_Costs): told to hosts while they register, information only. */
.cs { display: grid; gap: var(--space-3); padding: var(--space-5); border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.cs h2 { display: flex; gap: var(--space-2); align-items: center; margin: 0; }
.cs p { margin: 0; }
.cs__films { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.cs__ways { display: grid; gap: var(--space-2); margin: 0; }
.cs__ways div { display: grid; grid-template-columns: minmax(130px, 180px) 1fr; gap: var(--space-3); }
.cs__ways dt { font-weight: 600; }
.cs__ways dd { margin: 0; }
.cs__est { padding: var(--space-3) var(--space-4); border-radius: 12px; background: rgba(242, 200, 121, 0.12); font-weight: 600; }
@media (max-width: 600px) { .cs__ways div { grid-template-columns: 1fr; gap: 2px; } }
