/* Still Lit - Chanukah in eight nights. A firelit room: one continuous dark
   ground, the lamps as the only control, gold doing its one job (persistence). */

.eightnights-page {
  --en-ground: #0b0806;
  --en-ember: #1a110a;
  --en-cream: #f1e6cf;
  --en-dim: rgba(241, 230, 207, 0.66);
  --en-rule: rgba(199, 162, 75, 0.28);
  background: var(--en-ground);
  color: var(--en-cream);
}
.eightnights-page footer { background: transparent; color: var(--en-dim); border-top: 1px solid var(--en-rule); }
.eightnights-page footer .fine, .eightnights-page footer .wordmark { color: var(--en-dim) !important; }

.en-main {
  max-width: 1120px; margin: 0 auto; padding: 0 20px 72px;
  background:
    radial-gradient(ellipse 70% 38% at 50% 24%, rgba(255, 150, 60, 0.13), transparent 70%),
    radial-gradient(ellipse 90% 30% at 50% 0%, var(--en-ember), transparent 75%);
}

.en-hero { text-align: center; padding: 44px 0 10px; }
.en-kicker { font: 700 0.95rem/1 var(--display); letter-spacing: 0.5em; text-transform: uppercase; color: var(--gold); margin-right: -0.5em; }
.en-hero h1 { font: 700 clamp(2rem, 6.4vw, 3.5rem)/1.08 var(--display); margin: 16px auto 14px; max-width: 16ch; color: var(--en-cream); }
.en-lede { font: 400 1.08rem/1.55 var(--body); color: var(--en-dim); max-width: 38rem; margin: 0 auto; }

/* ---- the lamps: eight clay lamps, lit from the right ---- */
.en-lamps { margin: 34px auto 0; max-width: 44rem; }
.en-lamps ol { list-style: none; display: flex; flex-direction: row-reverse; justify-content: center; gap: clamp(2px, 1.6vw, 14px); border-bottom: 2px solid var(--en-rule); padding-bottom: 2px; }
.en-lamp {
  appearance: none; background: none; border: 0; cursor: pointer; color: inherit;
  width: clamp(36px, 10.4vw, 68px); padding: 0 0 4px; display: grid; justify-items: center; gap: 2px;
  font: 600 0.7rem/1 var(--utility); letter-spacing: 0.06em;
}
.en-lamp svg { width: 100%; height: auto; overflow: visible; }
.en-lamp .flame { opacity: 0; transform-origin: 50% 100%; transition: opacity 0.5s ease; }
.en-lamp .bowl { fill: #2a1c10; stroke: var(--gold); stroke-width: 1.5; opacity: 0.55; transition: opacity 0.4s ease; }
.en-lamp.is-lit .flame { opacity: 1; animation: en-flicker 2.6s ease-in-out infinite; }
.en-lamp.is-lit .bowl { opacity: 1; }
.en-lamp .num { color: var(--en-dim); padding-top: 4px; }
.en-lamp[aria-current="true"] .num { color: var(--gold-soft); }
.en-lamp[aria-current="true"] .num::after { content: ""; display: block; height: 2px; margin-top: 4px; background: var(--gold); }
.en-lamp:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; border-radius: 6px; }
.en-lamps-hint { text-align: center; font: 400 0.8rem/1.4 var(--utility); color: var(--en-dim); margin-top: 10px; }
@keyframes en-flicker { 0%, 100% { transform: scale(1, 1); } 35% { transform: scale(0.94, 1.06); } 70% { transform: scale(1.04, 0.95); } }
@media (prefers-reduced-motion: reduce) { .en-lamp.is-lit .flame { animation: none; } .en-lamp .flame { transition: none; } }

/* ---- the film ---- */
.en-stage { display: grid; gap: 22px; margin-top: 30px; justify-items: center; }
.en-frame { width: min(100%, 380px); aspect-ratio: 9 / 16; background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--en-rule), 0 30px 80px rgba(255, 140, 50, 0.12); }
.en-frame.is-landscape { width: min(100%, 860px); aspect-ratio: 16 / 9; }
.en-frame video { width: 100%; height: 100%; display: block; background: #000; }
.en-about { text-align: center; max-width: 36rem; }
.en-night { font: 700 0.74rem/1 var(--utility); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.en-about h2 { font: 700 clamp(1.6rem, 5vw, 2.3rem)/1.12 var(--display); margin: 10px 0 10px; color: var(--en-cream); }
.en-hook { font: italic 400 1.2rem/1.45 var(--body); color: var(--en-cream); }
.en-format { margin-top: 14px; }
.en-step { display: flex; justify-content: center; gap: 26px; margin-top: 14px; flex-wrap: wrap; }
.en-linkbtn { appearance: none; background: none; border: 0; padding: 10px 2px; min-height: 44px; cursor: pointer; font: 600 0.86rem/1 var(--utility); color: var(--gold-soft); border-bottom: 1px solid transparent; }
.en-linkbtn:hover { border-bottom-color: var(--gold-soft); }
.en-linkbtn:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
.en-linkbtn[disabled] { opacity: 0.35; cursor: default; border-bottom-color: transparent; }

@media (min-width: 900px) {
  .en-stage:not(.is-landscape) { grid-template-columns: 380px minmax(0, 30rem); align-items: center; justify-content: center; gap: 56px; }
  .en-stage:not(.is-landscape) .en-about { text-align: left; }
  .en-stage:not(.is-landscape) .en-step { justify-content: flex-start; }
}

/* ---- the record: no boxes, three ruled columns ---- */
.en-record { display: grid; gap: 26px; margin: 54px auto 0; max-width: 62rem; border-top: 1px solid var(--en-rule); padding-top: 28px; }
@media (min-width: 760px) { .en-record { grid-template-columns: 1fr 1fr; gap: 40px; } }
.en-col h3 { font: 700 0.74rem/1 var(--utility); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.en-col p, .en-col li { font: 400 1rem/1.55 var(--body); color: var(--en-dim); }
.en-col ul { list-style: none; }
.en-col li + li { margin-top: 4px; }
.en-col strong { color: var(--en-cream); font-weight: 500; }
.en-read { margin: 34px auto 0; max-width: 62rem; }
.en-read h3 { font: 700 0.74rem/1 var(--utility); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.en-read ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.en-read a { font: 400 1rem/1.55 var(--body); color: var(--en-cream); }
.en-col .en-caveat { display: block; margin-top: 8px; font-size: 0.9rem; font-style: italic; }
.en-main a { color: var(--gold-soft); text-decoration: underline; text-decoration-color: var(--en-rule); text-underline-offset: 3px; }
.en-main a:hover { text-decoration-color: var(--gold-soft); }

/* ---- join + honesty ---- */
.en-join, .en-honest { margin: 60px auto 0; max-width: 40rem; text-align: center; }
.en-join h2, .en-honest h2 { font: 700 1.6rem/1.2 var(--display); color: var(--en-cream); margin-bottom: 10px; }
.en-join p, .en-honest p { font: 400 1rem/1.6 var(--body); color: var(--en-dim); }
.en-form { margin-top: 18px; text-align: left; }
.en-form label { display: block; font: 600 0.76rem/1 var(--utility); letter-spacing: 0.08em; text-transform: uppercase; color: var(--en-dim); margin-bottom: 8px; }
.en-form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.en-form input { flex: 1 1 14rem; min-height: 48px; padding: 0 14px; font: 400 1rem var(--utility); color: var(--en-cream); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--en-rule); border-radius: 8px; }
.en-form button { min-height: 48px; padding: 0 20px; font: 700 0.9rem var(--utility); color: #1a1208; background: var(--gold); border: 0; border-radius: 8px; cursor: pointer; }
.en-form input[disabled], .en-form button[disabled] { opacity: 0.5; cursor: not-allowed; }
.en-form-note { margin-top: 10px; font: italic 400 0.9rem/1.4 var(--body); color: var(--gold-soft); text-align: center; }
.en-follow { margin-top: 16px; font-size: 0.92rem !important; }
.en-honest { border-top: 1px solid var(--en-rule); padding-top: 34px; }
.en-honest h2 { font-size: 1.2rem; }
.en-honest p { font-size: 0.95rem; }

/* ---- desktop gallery: eight miniatures, then the detail ---- */
.en-gallery, .en-back { display: none; }
.en-flash { margin: 22px auto 0; max-width: 40rem; padding: 12px 18px; text-align: center; font: 500 1rem/1.45 var(--body); color: #1a1208; background: var(--gold-soft); border-radius: 10px; }
@media (min-width: 900px) {
  body[data-en-view="gallery"] .en-gallery { display: block; margin-top: 38px; }
  body[data-en-view="gallery"] .en-detail { display: none; }
  body[data-en-view="detail"] .en-back { display: block; text-align: center; margin-top: 22px; }
  .en-gallery ol { list-style: none; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
  .en-tile { appearance: none; background: none; border: 0; padding: 0; width: 100%; cursor: pointer; color: inherit; text-align: center; display: grid; gap: 8px; }
  .en-tile .ph { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 8px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--en-rule); transition: transform 0.25s ease, box-shadow 0.25s ease; }
  .en-tile img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.86; transition: opacity 0.25s ease; }
  .en-tile .ph::after { content: ""; position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: rgba(11, 8, 6, 0.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%23e3c87e'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: 0 0 0 1px var(--en-rule); }
  .en-tile:hover .ph, .en-tile:focus-visible .ph { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--gold), 0 18px 40px rgba(255, 140, 50, 0.18); }
  .en-tile:hover img, .en-tile:focus-visible img { opacity: 1; }
  .en-tile:focus-visible { outline: none; }
  .en-tile .n { font: 700 0.66rem/1 var(--utility); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
  .en-tile .t { font: 700 0.98rem/1.2 var(--display); color: var(--en-cream); }
}
@media (prefers-reduced-motion: reduce) { .en-tile .ph, .en-tile img { transition: none; } .en-tile:hover .ph { transform: none; } }

/* ---- sign-up form additions ---- */
.en-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.en-consent { display: flex !important; gap: 10px; align-items: flex-start; margin: 14px 0 0 !important; font: 400 0.95rem/1.45 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--en-dim) !important; cursor: pointer; }
.en-consent input { flex: none; width: 22px; height: 22px; min-height: 0; margin-top: 1px; accent-color: var(--gold); }
.en-form-note:empty { display: none; }
.en-form-note.is-ok { color: var(--gold-soft); font-style: normal; font-weight: 500; }
.en-form-note.is-err { color: #f0a38f; font-style: normal; }
.en-form button[aria-busy="true"] { opacity: 0.6; cursor: progress; }

/* ---- privacy notice ---- */
.en-notice { max-width: 44rem; padding-top: 48px; }
.en-notice h1 { font: 700 clamp(1.8rem, 5vw, 2.6rem)/1.12 var(--display); margin: 14px 0 6px; }
.en-notice h2 { font: 700 1.25rem/1.25 var(--display); margin: 34px 0 8px; color: var(--en-cream); }
.en-notice p, .en-notice li { font: 400 1.05rem/1.62 var(--body); color: var(--en-dim); }
.en-notice p + p { margin-top: 12px; }
.en-notice ul { padding-left: 1.2em; }
.en-notice .en-kicker { text-align: left; }
.en-updated { font: 500 0.8rem/1 var(--utility) !important; letter-spacing: 0.06em; }
.en-todo { background: #f0a38f; color: #1a1208; padding: 1px 6px; border-radius: 4px; font-family: var(--utility); font-size: 0.9em; }

/* Sign-up: say plainly what joining means (films now, occasional emails after). */
.en-join-list { list-style: none; margin: 14px auto 22px; padding: 0; max-width: 34rem; text-align: left; }
.en-join-list li { font: 400 1rem/1.6 var(--body); color: var(--en-dim); margin-bottom: 10px; padding-left: 1.1rem; position: relative; }
.en-join-list li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--en-cream); opacity: 0.6; }
.en-join-list strong { color: var(--en-cream); font-weight: 600; }
.en-consent-note { margin: 14px 0 0 !important; font: 400 0.92rem/1.45 var(--body) !important; color: var(--en-dim); }
.en-consent-note a { color: inherit; text-decoration: underline; }

/* ---- tonight line, peek link, catch-up, share ---- */
.en-tonight { margin: 18px auto 0; max-width: 38rem; text-align: center; font: 500 1rem/1.5 var(--body); color: var(--en-cream); }
.en-tonight .en-linkbtn { display: inline; padding: 0 2px; min-height: 0; }
.en-peek { margin-top: 12px; }
.en-peek a { font: 600 0.86rem/1 var(--utility); letter-spacing: 0.04em; color: var(--gold-soft); text-decoration: none; border-bottom: 1px solid var(--en-rule); padding-bottom: 2px; }
.en-peek a:hover { border-bottom-color: var(--gold-soft); }
.en-catchup { margin-top: 12px; font: 400 0.95rem/1.5 var(--body); color: var(--en-dim); }
.en-catchup .en-linkbtn { display: inline; padding: 0 2px; min-height: 0; }
.en-share { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 18px; margin-top: 14px; justify-content: center; }
.en-share-label { font: 700 0.7rem/1 var(--utility); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.en-share .en-linkbtn { text-decoration: none; }
.en-share-status { flex-basis: 100%; text-align: center; font: 400 0.82rem/1.3 var(--utility); color: var(--en-dim); word-break: break-all; min-height: 1.2em; }
@media (min-width: 900px) { .en-stage:not(.is-landscape) .en-share { justify-content: flex-start; } .en-stage:not(.is-landscape) .en-share-status { text-align: left; } }

/* watched dot under a lamp's number */
.en-lamp.is-watched .num::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: var(--gold); vertical-align: middle; }

/* ---- end-of-film card ---- */
.en-frame { position: relative; }
.en-end[hidden] { display: none; }
.en-end { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 18px 16px; text-align: center; background: radial-gradient(ellipse at 50% 30%, rgba(40, 22, 8, 0.94), rgba(8, 5, 3, 0.97)); z-index: 2; }
.en-end-k { font: 700 0.74rem/1 var(--utility); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.en-end-next { appearance: none; display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: center; text-align: left; width: min(100%, 300px); padding: 10px; cursor: pointer; background: rgba(241, 230, 207, 0.06); border: 1px solid var(--en-rule); border-radius: 10px; color: var(--en-cream); }
.en-end-next:hover, .en-end-next:focus-visible { background: rgba(241, 230, 207, 0.12); border-color: var(--gold-soft); outline: none; }
.en-end-next img { width: 74px; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 6px; display: block; }
.en-end-lab { display: grid; gap: 4px; }
.en-end-lab-k { font: 700 0.66rem/1 var(--utility); letter-spacing: 0.18em; text-transform: uppercase; color: var(--en-dim); }
.en-end-lab strong { font: 700 1.05rem/1.2 var(--display); }
.en-end-lab-go { font: 600 0.8rem/1 var(--utility); color: var(--gold-soft); }
.en-end-row { display: grid; gap: 4px; justify-items: center; }
.en-end-mail, .en-end-again { appearance: none; background: none; border: 0; cursor: pointer; padding: 10px 6px; min-height: 44px; font: 600 0.86rem/1.2 var(--utility); color: var(--gold-soft); border-bottom: 1px solid var(--en-rule); }
.en-end-again { color: var(--en-dim); border-bottom-color: transparent; font-weight: 500; }
.en-end-mail:hover, .en-end-mail:focus-visible { border-bottom-color: var(--gold-soft); outline: none; }
.en-end-again:hover, .en-end-again:focus-visible { color: var(--en-cream); outline: none; }
.en-frame.is-landscape .en-end { flex-direction: row; flex-wrap: wrap; gap: 14px 26px; }
.en-frame.is-landscape .en-end-k { flex-basis: 100%; }
.en-frame.is-landscape .en-end-next { width: 340px; }

/* ---- the real thing ---- */
.en-thing { margin: 54px auto 0; max-width: 62rem; border-top: 1px solid var(--en-rule); padding-top: 28px; }
.en-thing h3, .en-door h3 { font: 700 0.74rem/1 var(--utility); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.en-thing-grid { display: grid; gap: 18px; align-items: start; }
@media (min-width: 760px) { .en-thing-grid { grid-template-columns: minmax(0, 28rem) minmax(0, 1fr); gap: 40px; } }
.en-fig { margin: 0; }
.en-fig img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; box-shadow: 0 0 0 1px var(--en-rule), 0 18px 50px rgba(0, 0, 0, 0.45); background: #1a110a; }
.en-fig figcaption { margin-top: 10px; font: 400 0.82rem/1.45 var(--utility); color: var(--en-dim); }
.en-fig-what { color: var(--en-cream); }
.en-thing-text p { font: 400 1.05rem/1.6 var(--body); color: var(--en-dim); }
.en-thing-text .en-caveat { display: block; margin-top: 8px; font-size: 0.92rem; font-style: italic; }
.en-thing-text a { color: var(--en-cream); }

/* ---- go deeper ---- */
.en-door { margin: 40px auto 0; max-width: 62rem; }
.en-door-card { display: grid; grid-template-columns: 1fr; border: 1px solid var(--en-rule); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; background: rgba(241, 230, 207, 0.04); transition: border-color 0.2s ease, transform 0.2s ease; }
.en-door-card:hover, .en-door-card:focus-visible { border-color: var(--gold-soft); transform: translateY(-1px); outline: none; }
.en-door-card img { display: block; width: 100%; height: 190px; object-fit: cover; background: #1a110a; }
.en-door-body { display: grid; gap: 8px; padding: 16px 18px 18px; align-content: center; }
.en-door-body strong { font: 700 1.25rem/1.2 var(--display); color: var(--en-cream); }
.en-door-body > span:not(.en-door-go) { font: 400 1rem/1.5 var(--body); color: var(--en-dim); }
.en-door-go { font: 700 0.78rem/1 var(--utility); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-soft); }
@media (min-width: 640px) { .en-door-card { grid-template-columns: 260px 1fr; } .en-door-card img { height: 100%; min-height: 170px; } }
.en-also { margin-top: 12px; font: 400 0.95rem/1.5 var(--body); color: var(--en-dim); }
.en-also a { color: var(--en-cream); }

/* ---- the sources, folded ---- */
.en-sources-box summary { cursor: pointer; font: 700 0.74rem/1 var(--utility); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); padding: 6px 0; min-height: 32px; }
.en-sources-box summary:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 4px; }
.en-sources-box ul { list-style: none; margin-top: 10px; }
.en-sources-box li { font: 400 1rem/1.55 var(--body); color: var(--en-dim); }
.en-sources-box li + li { margin-top: 4px; }

/* fixes: the site's global link underline must not run through the door card; share label on its own line on phones */
.en-main a.en-door-card, .en-main a.en-door-card:hover, .en-main a.en-door-card * { text-decoration: none; }
.en-door-body strong { border-bottom: 0; }
@media (max-width: 899px) { .en-share-label { flex-basis: 100%; text-align: center; margin-bottom: 4px; } }

/* ---- the short sign-up at the top ---- */
.en-quick { max-width: 30rem; margin: 22px auto 0; text-align: center; }
.en-quick label { margin-bottom: 8px; color: var(--en-cream); }
.en-quick .en-form-row { flex-wrap: nowrap; }
.en-quick input { flex: 1 1 auto; min-width: 0; }
.en-quick button { flex: none; }
.en-quick .en-consent-note { margin: 10px 0 0 !important; font-size: 0.85rem !important; line-height: 1.4 !important; }

/* ---- tighter top of page, so the lamps and the film start on the first screen ---- */
.en-hero { padding: 30px 0 4px; }
.en-hero h1 { margin: 12px auto 10px; }
.en-lede { font-size: 1.02rem; line-height: 1.5; }
.en-tonight { margin-top: 12px; }
.en-quick { margin-top: 14px; }
.en-quick label { margin-bottom: 6px; }
.en-lamps { margin-top: 18px; }
@media (max-width: 899px) {
  .en-hero { padding-top: 18px; }
  .en-kicker { font-size: 0.8rem; }
  .en-hero h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); max-width: 20ch; margin: 8px auto 8px; }
  .en-lede { font-size: 0.98rem; }
  .en-quick .en-consent-note { font-size: 0.8rem !important; margin-top: 6px !important; }
  .en-stage { margin-top: 18px; }
}
@media (min-width: 900px) { .en-hero h1 { max-width: 24ch; font-size: clamp(2rem, 4.2vw, 3rem); } .en-hero { padding-top: 26px; } .en-back { margin-top: 10px; } }

/* Compact first screen (owner, 2026-12-03): the film must show on first load, so the
   headline and sign-up take a thin band and the lamps sit tight beneath it. */
.en-hero { padding: 12px 0 0; }
.en-kicker { font-size: 0.7rem; }
.en-hero h1 { font-size: clamp(1.3rem, 4.6vw, 1.9rem); line-height: 1.15; max-width: none; margin: 6px auto 0; }
.en-lede { display: none; }
.en-tonight { margin-top: 4px; font-size: 0.88rem; line-height: 1.35; }
.en-quick { max-width: 34rem; margin: 8px auto 0; }
.en-quick label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.en-quick input, .en-quick button { min-height: 40px; }
.en-quick .en-form-row { gap: 8px; }
.en-quick .en-consent-note { margin: 4px 0 0 !important; font-size: 0.74rem !important; line-height: 1.3 !important; }
.en-lamps { margin-top: 8px; }
.en-lamps-hint { display: none; }
.en-lamps ol li, .en-lamps ol button { transform-origin: bottom center; }
body[data-en-view="detail"] .en-back { margin-top: 4px; }
body[data-en-view="gallery"] .en-gallery { margin-top: 14px; }
.en-lamp { width: clamp(30px, 7vw, 46px); padding-bottom: 2px; }
.en-lamp .num { padding-top: 2px; }
.en-lamps ol { gap: clamp(2px, 1.2vw, 10px); }
/* The portrait film shrinks to fit the screen height, so the whole player shows on first load. */
.en-frame:not(.is-landscape) { width: min(100%, 380px, max(240px, calc((100vh - 290px) * 0.5625))); width: min(100%, 380px, max(240px, calc((100svh - 290px) * 0.5625))); }
@media (min-width: 900px) { .en-stage:not(.is-landscape) { grid-template-columns: auto minmax(0, 30rem); gap: 48px; } }
.en-detail { position: relative; }
body[data-en-view="detail"] .en-back { position: absolute; top: 4px; left: 0; margin: 0; z-index: 1; }
.en-back .en-linkbtn { font-size: 0.8rem; }
@media (max-width: 700px) { body[data-en-view="detail"] .en-back { position: static; margin-top: 2px; } }
