/* v5: a refined "museum / old book" look — dark ink glass, gold hairlines with an inner rule and corner
   brackets, lighter serif weights with letter-spacing, and the ending film. */
:root {
  --gold: #e2c78e;
  --gold-hi: #f4e3b8;
  --hl: rgba(226, 199, 142, .62);
  --hl2: rgba(226, 199, 142, .2);
  --text: #efe4c9;
  --muted: #bfae8a;
  --wine: #6e1a17;
  --ink-fill: linear-gradient(180deg, rgba(24, 17, 11, .9), rgba(11, 8, 6, .93));
  /* four small corner brackets, layered over a panel's fill */
  --orn:
    linear-gradient(var(--gold), var(--gold)) left .32rem top .32rem / .8rem 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left .32rem top .32rem / 1px .8rem no-repeat,
    linear-gradient(var(--gold), var(--gold)) right .32rem top .32rem / .8rem 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right .32rem top .32rem / 1px .8rem no-repeat,
    linear-gradient(var(--gold), var(--gold)) left .32rem bottom .32rem / .8rem 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left .32rem bottom .32rem / 1px .8rem no-repeat,
    linear-gradient(var(--gold), var(--gold)) right .32rem bottom .32rem / .8rem 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right .32rem bottom .32rem / 1px .8rem no-repeat;
}
body { color: var(--text); font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h2, h3, b { font-weight: 700; }
/* screens that are not on show are out of sight entirely (after their fade) */
.screen { visibility: hidden; transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s; }
.screen.active, .screen.overlay { visibility: visible; transition: opacity .35s ease, transform .35s ease, visibility 0s; }

/* ---------- panels: ink glass, a gold hairline, an inner rule and corner brackets ---------- */
.panel, .menu-card, .bubble, .fp-hero, .fp-bio, .verdict, #st-sub.subtitle.top {
  border: 1px solid var(--hl); border-radius: .35rem; border-image: none;
  background: var(--orn), var(--ink-fill);
  outline: 1px solid var(--hl2); outline-offset: -5px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
}
.panel { padding: 1.05rem 1.15rem; }
.modal-box { padding: 1.2rem 1.15rem; }
#toast { padding: .65rem .9rem; }
#toast b { font-weight: 500; letter-spacing: .2em; }
#toast span { font-weight: 600; letter-spacing: .04em; }

/* ---------- buttons ---------- */
.btn { font-weight: 600; letter-spacing: .08em; color: #f6ead0; text-shadow: 0 1px 2px rgba(0, 0, 0, .85);
  background: linear-gradient(180deg, #7e231e 0%, #5b1613 58%, #44100e 100%);
  border: 1px solid var(--hl); border-radius: .3rem; outline: 1px solid rgba(226, 199, 142, .2); outline-offset: -4px;
  box-shadow: inset 0 1px 0 rgba(255, 226, 172, .16), 0 6px 16px rgba(0, 0, 0, .45); }
.btn.alt { background: linear-gradient(180deg, rgba(32, 23, 15, .94), rgba(15, 10, 7, .95)); }
.btn.back, .tab-arrow { border-radius: 50%; outline: none; font-weight: 400; background: rgba(14, 10, 7, .78); color: var(--gold-hi); }
.btn.small { letter-spacing: .06em; }
@media (hover: hover) { .btn:hover, .menu-card:hover, .fg-card:hover, .period-card:hover, .ev-card:hover, .ch-card:hover, .ga-row:hover { filter: brightness(1.14); } }
.focus { outline: 2px solid var(--gold-hi) !important; outline-offset: 3px !important; filter: brightness(1.14); transform: scale(1.02);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 0 20px rgba(226, 199, 142, .45) !important; }

/* ---------- title ---------- */
#t-prompt { font-weight: 500; letter-spacing: .38em; padding: .45rem 1.4rem .45rem 1.78rem; font-size: 1.25rem; color: var(--gold-hi);
  background: linear-gradient(90deg, transparent, rgba(10, 7, 5, .7) 18%, rgba(10, 7, 5, .7) 82%, transparent); border-radius: 0;
  text-shadow: 0 1px 2px #000, 0 0 14px rgba(226, 199, 142, .55); }
#t-keyhint { letter-spacing: .12em; }

/* ---------- bars and section headings ---------- */
.bar h2 { font-weight: 600; letter-spacing: .2em; font-size: 1.28rem; color: var(--gold-hi); padding: 0 0 .35rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .95); background: linear-gradient(90deg, transparent, var(--hl), transparent) center bottom / 80% 1px no-repeat; }
.sub-head { font-weight: 500; letter-spacing: .14em; }
.sec-title, .fg-era { display: flex; align-items: center; gap: .65rem; font-size: .88rem; font-weight: 600; letter-spacing: .24em; color: var(--gold); text-shadow: 0 1px 2px #000; }
.sec-title::before, .sec-title::after, .fg-era::before, .fg-era::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--hl)); }
.sec-title::after, .fg-era::after { background: linear-gradient(90deg, var(--hl), transparent); }
.fg-era span { flex: none; }

/* ---------- hub ---------- */
.hub-menu { gap: .75rem; }
.menu-card { gap: 1rem; padding: .85rem 1.1rem; min-height: 4.7rem; }
.menu-card img { width: 3rem; height: 3rem; padding: .3rem; border-radius: 50%; border: 1px solid var(--hl);
  background: radial-gradient(circle, rgba(226, 199, 142, .16), rgba(0, 0, 0, .35)); box-shadow: 0 0 0 .2rem rgba(10, 7, 5, .7); }
.menu-card > div { flex: 1; min-width: 0; }
.menu-card b { font-size: 1.2rem; font-weight: 600; letter-spacing: .14em; color: var(--gold-hi); text-shadow: 0 1px 3px #000; }
.menu-card small { letter-spacing: .04em; color: var(--muted); }
.menu-card::after { content: "›"; flex: none; font-size: 1.7rem; line-height: 1; color: var(--gold); opacity: .75; }

/* the chronicler's speech: a dark glass box with a name plate */
.bubble { margin-bottom: 16%; padding: 1.25rem 1rem .85rem; color: var(--text); }
.bubble::before { left: -.45rem; bottom: 1.4rem; width: .8rem; height: .8rem; border: 0; border-left: 1px solid var(--hl); border-bottom: 1px solid var(--hl);
  background: #120d09; transform: rotate(45deg); }
.bubble p { font-weight: 500; font-size: .95rem; line-height: 1.7; color: var(--text); }
.bubble small { color: var(--muted); letter-spacing: .06em; }
/* the name plate over a speech box: the chronicler in gold, a figure in wine */
.subtitle .who, .bubble .who { position: absolute; left: .9rem; top: -.78rem; display: inline-flex; align-items: center; gap: .4rem; margin: 0;
  padding: .16rem .8rem .2rem; border-radius: .15rem; font-size: .76rem; font-weight: 600; letter-spacing: .22em; line-height: 1.35; text-shadow: none; }
.who.nar { color: #1c1108; background: linear-gradient(180deg, #f3dfaa, #c7a057); border: 1px solid #fff1c9; box-shadow: 0 3px 8px rgba(0, 0, 0, .6); }
.who.fig { color: #f8ead0; background: linear-gradient(180deg, #8a2721, #551310); border: 1px solid var(--hl); box-shadow: 0 3px 8px rgba(0, 0, 0, .6); }
.who i { font-style: normal; font-size: .52rem; opacity: .75; }

/* the narrator over the story */
#st-sub.subtitle.top { left: 5%; right: 5%; top: 13.9rem; padding: 1.1rem 1.05rem .8rem; text-align: left; font-size: .96rem; font-weight: 500; line-height: 1.7;
  color: var(--text); text-shadow: none; }
#st-sub .line { display: block; }
.subtitle { font-weight: 500; letter-spacing: .04em; }

/* ---------- tabs ---------- */
.tab { border-radius: .25rem; font-weight: 500; letter-spacing: .1em; color: var(--muted); background: rgba(12, 8, 6, .68); border: 1px solid rgba(226, 199, 142, .28); }
.tab.on { color: var(--gold-hi); background: linear-gradient(180deg, rgba(126, 35, 30, .95), rgba(68, 16, 14, .95)); border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 4px 12px rgba(0, 0, 0, .5); }

/* ---------- figure select ---------- */
.fg-sub span { letter-spacing: .04em; }
.fg-sub .btn, .en-buttons .btn, .choice { letter-spacing: .02em; }
.fg-card { border-radius: .3rem; background: var(--ink-fill); border: 1px solid rgba(226, 199, 142, .28); box-shadow: 0 6px 14px rgba(0, 0, 0, .5); }
.fg-card.played { border-color: var(--hl); box-shadow: 0 0 14px rgba(226, 199, 142, .16), 0 6px 14px rgba(0, 0, 0, .5); }
.fg-pt img, .fg-card.played .fg-pt img { border: 1px solid var(--hl); box-shadow: 0 0 0 .2rem rgba(12, 8, 6, .95), 0 0 0 calc(.2rem + 1px) rgba(226, 199, 142, .3), 0 6px 14px rgba(0, 0, 0, .7); }
.fg-yr { font-weight: 600; letter-spacing: .05em; color: var(--gold-hi); background: rgba(12, 8, 6, .95); border: 1px solid var(--hl); border-radius: .2rem; }
.fg-nm { font-weight: 600; letter-spacing: .04em; color: var(--text); text-shadow: 0 1px 3px #000; }
.fg-pt .vo, .fp-pt .vo, .ch-pt .vo { background: rgba(12, 8, 6, .92); border: 1px solid var(--hl); }
.fg-pt .vo svg, .fp-pt .vo svg, .ch-pt .vo svg { fill: var(--gold); }
.prog { height: .22rem; background: rgba(226, 199, 142, .14); }

/* ---------- a figure's page ---------- */
.fp-hero { padding: 1rem 1.05rem; gap: 1.05rem; }
.fp-pt img, .en-pt, .st-portrait { border: 1px solid var(--hl); box-shadow: 0 0 0 .3rem rgba(10, 7, 5, .85), 0 0 0 calc(.3rem + 1px) rgba(226, 199, 142, .42), 0 12px 28px rgba(0, 0, 0, .85), 0 0 34px rgba(226, 199, 142, .16); }
.fp-info .ct, .ch-card .ct { font-weight: 500; letter-spacing: .16em; }
.fp-info .nm { font-weight: 700; letter-spacing: .08em; color: var(--gold-hi); text-shadow: 0 2px 8px rgba(0, 0, 0, .9); }
.fp-info .rl { color: #dccdaa; }
.fp-bio { margin-bottom: .9rem; padding: 1rem 1.15rem 1.1rem; }
.fp-bio .sec-title { margin: 0 0 .7rem; }
.fp-bio p { margin: 0; font-size: .98rem; line-height: 1.9; color: #ebdfc2; text-align: justify; }
.fp-bio p::first-letter { float: left; font-size: 2.6em; line-height: .95; margin: .1em .14em 0 0; font-weight: 700; color: var(--gold); text-shadow: 0 0 14px rgba(226, 199, 142, .3); }
.fp-ev, .ev-card, .ch-hero { border: 1px solid var(--hl); border-radius: .35rem; }
.fp-ev-in b, .ev-title { font-weight: 600; letter-spacing: .06em; }
.fp-ev-in small { font-weight: 500; letter-spacing: .14em; }
.fp-rule { border-radius: .3rem; background: rgba(12, 8, 6, .82); border: 1px solid rgba(226, 199, 142, .26); }
.fp-rule .ic { background: rgba(110, 26, 23, .9); border: 1px solid var(--hl); box-shadow: 0 0 0 .18rem rgba(10, 7, 5, .7); }
.fp-rule b { font-weight: 600; letter-spacing: .04em; }
.fp-rule.key { border-color: rgba(224, 96, 74, .45); background: linear-gradient(90deg, rgba(56, 12, 9, .88), rgba(12, 8, 6, .85)); }
.fp-rule.hid { border-color: rgba(226, 199, 142, .5); background: linear-gradient(90deg, rgba(52, 38, 14, .88), rgba(12, 8, 6, .85)); }
.fp-rule.hid .ic { background: linear-gradient(180deg, #f3dfaa, #b98a36); }
.period-card { border-radius: .35rem; border: 1px solid var(--hl); outline: 1px solid var(--hl2); outline-offset: -5px; box-shadow: 0 8px 18px rgba(0, 0, 0, .5); }
.period-card::after { font: italic 400 3.3rem/1 var(--font); color: rgba(244, 227, 184, .14); }
.period-card.p-rise { background: linear-gradient(90deg, rgba(30, 46, 33, .94), rgba(11, 15, 10, .94)); border-color: rgba(185, 201, 160, .7); }
.period-card.p-storm { background: linear-gradient(90deg, rgba(84, 22, 18, .94), rgba(18, 9, 6, .94)); border-color: var(--hl); }
.period-card.p-brink { background: linear-gradient(90deg, rgba(30, 35, 70, .94), rgba(10, 11, 24, .94)); border-color: rgba(169, 184, 236, .7); }
.pc-top b { font-weight: 600; letter-spacing: .14em; }
.pc-n { font-weight: 500; letter-spacing: .06em; border-radius: .2rem; }
.pc-span { font-weight: 500; letter-spacing: .08em; }

/* ---------- timeline and event lists ---------- */
.ev-year { font-weight: 600; letter-spacing: .08em; }
.ch-card { border-radius: .35rem; background: var(--ink-fill); border: 1px solid var(--hl); }
.ch-card .nm { font-weight: 600; letter-spacing: .06em; }
.ch-pt img, .st-top img, .ga-row img, .mh-pt { border: 1px solid var(--hl); box-shadow: 0 0 0 .16rem rgba(10, 7, 5, .9), 0 0 0 calc(.16rem + 1px) rgba(226, 199, 142, .3), 0 4px 10px rgba(0, 0, 0, .7); }

/* ---------- story ---------- */
.st-top b { font-weight: 600; letter-spacing: .08em; }
.st-top small { letter-spacing: .1em; }
.stat { background: rgba(12, 8, 6, .8); border: 1px solid rgba(226, 199, 142, .3); border-radius: .3rem; }
.stat .ic { font-weight: 500; letter-spacing: .04em; }
.stat .v { font-weight: 700; }
.stat.top { border-color: var(--gold); box-shadow: 0 0 10px rgba(226, 199, 142, .35); }
.st-tl { border-radius: .3rem; background: rgba(10, 7, 5, .75); border: 1px solid rgba(226, 199, 142, .3); }
.tag { border-radius: .2rem; font-weight: 600; letter-spacing: .14em; padding: .22rem .7rem; }
/* the date sits on a small plate, over the chronicler who stands behind it */
#st-act { position: relative; z-index: 2; padding: .16rem .6rem; letter-spacing: .08em; color: var(--muted); background: rgba(10, 7, 5, .74); border: 1px solid var(--hl2); border-radius: .2rem; }
.st-card h3 { font-weight: 600; letter-spacing: .12em; color: var(--gold); }
.st-card p { font-weight: 400; line-height: 1.85; color: #f1e6cc; }
.choice { font-weight: 500; background: linear-gradient(90deg, rgba(28, 19, 12, .94), rgba(13, 9, 7, .9)); border-color: rgba(226, 199, 142, .5); }
.choice::before { content: ""; flex: none; width: .42rem; height: .42rem; margin-right: .75rem; transform: rotate(45deg); border: 1px solid var(--gold); background: rgba(226, 199, 142, .2); transition: background .15s; }
.choice.focus::before, .choice:active::before { background: var(--gold); }
@media (hover: hover) { .choice:hover::before { background: var(--gold); } }
.choice.hid::before { border-color: #5a2a04; background: #5a2a04; }
.locked-opt::before { display: none; }
.choice .fx span { font-weight: 600; border-radius: .2rem; }

/* ---------- ending ---------- */
.en-no { font-weight: 500; letter-spacing: .3em; }
.en-title { font-weight: 700; letter-spacing: .06em; color: var(--gold-hi); text-shadow: 0 2px 10px rgba(0, 0, 0, .95), 0 0 18px rgba(226, 199, 142, .3); }
.verdict { padding: 1.05rem 1.1rem .95rem; }
.v-info small { font-weight: 500; letter-spacing: .3em; }
.v-name { font-weight: 600; letter-spacing: .08em; }
.v-next { border-top: 1px solid var(--hl2); font-weight: 500; letter-spacing: .04em; }
.sl-title { font-weight: 600; letter-spacing: .2em; }
.sl-body { border-radius: .3rem; background: rgba(12, 8, 6, .86); border: 1px solid rgba(226, 199, 142, .26); }
.sl-tag { font-weight: 600; letter-spacing: .14em; }
.sl-body p.sl-pick, .sl-body p.sl-h1, .sl-body p.sl-end { font-weight: 600; }
.en-badge, .en-new { font-weight: 600; letter-spacing: .14em; border-radius: .2rem; }

/* ---------- gallery, achievements, modal ---------- */
.ga-ev { font-weight: 500; letter-spacing: .18em; }
.ga-row, .ac-card { border-radius: .3rem; background: rgba(14, 10, 7, .86); border: 1px solid rgba(226, 199, 142, .24); }
.ga-row.done, .ac-card.on { border-color: var(--hl); }
.ac-card.on { background: linear-gradient(90deg, rgba(64, 20, 15, .92), rgba(14, 10, 7, .9)); }
.ga-row .nm, .ac-card b { font-weight: 600; letter-spacing: .04em; }
.modal-box h3, .mh h3 { font-weight: 600; letter-spacing: .1em; color: var(--gold-hi); }
.detail { border-radius: .3rem; border: 1px solid var(--hl2); background: rgba(0, 0, 0, .35); }
.detail h4 { font-weight: 600; letter-spacing: .08em; }
.modal-bio { margin: 0 0 .8rem; font-size: .9rem; line-height: 1.75; color: #e3d6b6; }

/* ======================= the ending film ======================= */
#cine { background: #000; }
#cine .cine-art { inset: -4%; transform: none; filter: brightness(.5); animation: none !important; transform-origin: 50% 45%;
  background-size: cover, cover; background-position: center 35%, center; transition: filter 1.2s ease; will-change: transform; }
#cine .cine-art.kb { animation: filmKB var(--kd, 9000ms) linear both !important; }
@keyframes filmKB { from { transform: scale(var(--s0, 1.05)) translate(var(--x0, 0), var(--y0, 0)); } to { transform: scale(var(--s1, 1.15)) translate(var(--x1, 0), var(--y1, 0)); } }
#cine .cine-art.g-doc { filter: sepia(.55) saturate(.75) brightness(.6) contrast(1.05); }
#cine .cine-art.g-era { filter: sepia(.35) saturate(.7) brightness(.36) blur(1px); }
#cine .cine-art.g-dim { filter: sepia(.2) saturate(.6) brightness(.3) blur(2px); }
#cine .cine-art.g-black { filter: saturate(.4) brightness(.13) blur(3px); }
#cine .cine-art.g-col { filter: grayscale(.85) sepia(.3) brightness(.48) contrast(1.15); }
#cine .cine-art.g-hid { filter: sepia(.35) saturate(1.2) brightness(.7) contrast(1.05); }
#cine .cine-art.g-same { filter: sepia(.65) saturate(.8) brightness(.6); }
#cine .cine-art.g-rw { filter: saturate(1.05) brightness(.68) contrast(1.08); }
#cine-amb { transition: opacity .8s ease; }
.cine-shade { background: radial-gradient(ellipse at 50% 45%, transparent 30%, rgba(0, 0, 0, .7) 100%), linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 25%, transparent 45%, rgba(0, 0, 0, .82) 76%, rgba(0, 0, 0, .95) 100%); }
#cine.film-col .cine-shade { background: radial-gradient(ellipse at 50% 45%, rgba(80, 0, 0, .08) 25%, rgba(60, 0, 0, .7) 100%), linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 25%, transparent 45%, rgba(0, 0, 0, .85) 76%, rgba(0, 0, 0, .96) 100%); }
/* film grain and a faint flicker */
.film-grain { position: absolute; inset: -50%; z-index: 2; pointer-events: none; opacity: .09; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .95  0 0 0 0 .85  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain .5s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(1%, 3%); } }
.film-black { position: absolute; inset: 0; z-index: 5; background: #000; opacity: 1; pointer-events: none; transition: opacity .5s ease; }
.film-black.off { opacity: 0; }
.cine-bar { z-index: 6; height: 8.5%; }
#cine-year { font-weight: 500; letter-spacing: .2em; font-size: .8rem; }
#film-hint { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font-size: .78rem; letter-spacing: .32em; color: var(--muted); opacity: 0; transition: opacity .8s ease; }
#film-hint.on { opacity: .7; animation: pulse 2.6s ease-in-out infinite; }
#cine .cine-skip { z-index: 7; font-weight: 500; letter-spacing: .24em; color: var(--gold-hi); background: rgba(12, 9, 6, .6); border-color: var(--hl); outline: none; box-shadow: none; }

/* the title card, and the bridge "at A, B chose…, and in the end it led to…" */
.film-card { position: absolute; left: 8%; right: 8%; top: 50%; z-index: 4; text-align: center; pointer-events: none;
  opacity: 0; transform: translateY(-46%); transition: opacity 1.1s ease, transform 1.6s cubic-bezier(.2, .8, .2, 1); }
.film-card.show { opacity: 1; transform: translateY(-50%); }
.film-card .fk { font-size: .84rem; font-weight: 500; letter-spacing: .5em; margin-right: -.5em; color: var(--muted); }
.film-card .rule { display: flex; align-items: center; gap: .7rem; width: 72%; margin: .95rem auto; color: var(--gold); font-size: .55rem; }
.film-card .rule::before, .film-card .rule::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--hl)); }
.film-card .rule::after { background: linear-gradient(90deg, var(--hl), transparent); }
.film-card .rule i { font-style: normal; }
.film-card .fy { font-size: 2.3rem; font-weight: 600; letter-spacing: .1em; line-height: 1.2; color: var(--gold-hi); text-shadow: 0 0 26px rgba(226, 199, 142, .35); }
.film-card .ft { margin-top: .55rem; font-size: 1.3rem; font-weight: 500; letter-spacing: .18em; line-height: 1.45; color: var(--text); }
.film-card.bridge { left: 9%; right: 9%; text-align: left; }
.film-card.bridge .ln { display: block; margin-bottom: .6rem; font-size: 1.28rem; font-weight: 500; line-height: 1.75; letter-spacing: .05em; color: var(--text);
  opacity: 0; transform: translateY(10px); filter: blur(4px); transition: opacity 1s ease, transform 1.2s cubic-bezier(.2, .8, .2, 1), filter 1s ease; }
.film-card.bridge .ln.on { opacity: 1; transform: none; filter: none; }
.film-card.bridge .ln.gold { margin-top: 1.2rem; font-size: 1.45rem; font-weight: 600; color: var(--gold-hi); text-shadow: 0 0 22px rgba(226, 199, 142, .4); }
#cine.film-col .film-card.bridge .ln.gold { color: #ffb6a4; text-shadow: 0 0 22px rgba(255, 90, 70, .45); }

/* the road here: the last choices, dated */
.film-path { position: absolute; left: 9%; right: 9%; top: 50%; z-index: 4; transform: translateY(-50%); pointer-events: none; opacity: 0; transition: opacity .8s ease; }
.film-path.show { opacity: 1; }
.film-path h4 { margin: 0 0 1.2rem; text-align: center; font-size: .9rem; font-weight: 500; letter-spacing: .45em; color: var(--gold); }
.film-path ol { position: relative; list-style: none; margin: 0; padding: 0 0 0 1.5rem; }
.film-path ol::before { content: ""; position: absolute; left: .37rem; top: .55rem; bottom: .9rem; width: 1px; background: linear-gradient(180deg, var(--hl), rgba(226, 199, 142, .08)); }
.film-path li { position: relative; margin-bottom: 1.15rem; opacity: 0; transform: translateX(-12px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.film-path li.on { opacity: 1; transform: none; }
.film-path li::before { content: ""; position: absolute; left: -1.36rem; top: .4rem; width: .48rem; height: .48rem; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 10px rgba(226, 199, 142, .6); }
.film-path small { display: block; font-size: .78rem; letter-spacing: .16em; color: var(--muted); }
.film-path span { display: block; margin-top: .18rem; font-size: 1.08rem; font-weight: 500; line-height: 1.55; color: var(--text); }

/* the figure, in an oval frame */
.film-pt { position: absolute; left: 50%; top: 17%; z-index: 4; width: 10.5rem; aspect-ratio: 4 / 5; pointer-events: none;
  opacity: 0; transform: translateX(-50%) scale(.94); transition: opacity 1.2s ease, transform 3s cubic-bezier(.2, .8, .2, 1); }
.film-pt.show { opacity: 1; transform: translateX(-50%) scale(1); }
.film-pt img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; border-radius: 50%; background: #120d09; filter: sepia(.25);
  border: 1px solid var(--hl); box-shadow: 0 0 0 .38rem rgba(8, 6, 4, .88), 0 0 0 calc(.38rem + 1px) rgba(226, 199, 142, .45), 0 22px 50px rgba(0, 0, 0, .85), 0 0 60px rgba(226, 199, 142, .14); }

/* the caption */
.film-cap { position: absolute; left: 7%; right: 7%; bottom: calc(8.5% + 1.7rem); z-index: 4; pointer-events: none;
  opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.film-cap.show { opacity: 1; transform: none; }
#film-k { display: flex; align-items: center; gap: .65rem; margin-bottom: .6rem; font-size: .8rem; font-weight: 500; letter-spacing: .3em; color: var(--gold); text-shadow: 0 1px 3px #000; }
#film-k::after { content: ""; flex: 0 0 2.6rem; height: 1px; background: var(--hl); }
#cine-res { margin: 0; min-height: 0; font-size: 1.1rem; font-weight: 500; line-height: 1.85; letter-spacing: .03em; color: var(--text); text-shadow: 0 1px 3px #000, 0 0 16px rgba(0, 0, 0, .9); }
.film-cap.sub { text-align: center; bottom: calc(8.5% + 2.6rem); }
.film-cap.sub #cine-res { font-size: 1rem; letter-spacing: .14em; color: var(--muted); }
.film-cap.big { text-align: center; bottom: calc(8.5% + 3.2rem); }
.film-cap.big #film-k { display: block; letter-spacing: .16em; line-height: 1.5; }
.film-cap.big #film-k::after { display: none; }
.film-cap.big #cine-res::before { content: "◆"; display: block; margin: .1rem 0 .55rem; font-size: .5rem; line-height: 1; letter-spacing: 0; color: var(--gold); text-shadow: none; }
.film-cap.big #cine-res { font-size: 1.55rem; font-weight: 600; line-height: 1.5; letter-spacing: .06em; color: var(--gold-hi); text-shadow: 0 2px 10px #000, 0 0 24px rgba(226, 199, 142, .3); }
#cine.film-col .film-cap.res #film-k { color: #ff9f86; }
#cine.film-col #film-k::after { background: rgba(255, 140, 120, .6); }

/* the verdict's stamp */
.cine-stamp { top: 30%; font-weight: 700; letter-spacing: .24em; border-width: .22rem; border-radius: .25rem; }
.cine-stamp.rw { color: #f4e9d4; border-color: #f4e9d4; background: rgba(110, 26, 23, .55); text-shadow: 0 0 14px rgba(255, 230, 200, .5), 0 3px 0 #000; box-shadow: 0 0 26px rgba(255, 230, 200, .25), inset 0 0 18px rgba(255, 230, 200, .18); }
