/* Scenes and the pirate skin. Loaded after style.css, so these rules win. */
:root {
  --sky1: #5dbbea; --sky2: #aee3f6; --sky3: #fdeab9;
  --wood-ink: #3a1d08;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --sky1: #060f20; --sky2: #10294a; --sky3: #2a5b86; }
}
body { background: var(--sky2); }

/* ---------- full-screen scenes ---------- */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; transition: opacity .8s ease; }
.bg-sea { background: linear-gradient(180deg, var(--sky1) 0%, var(--sky2) 55%, var(--sky3) 100%); }
body[data-scene="hold"] .bg-sea { opacity: 0; }
body[data-scene="sea"] .bg-hold { opacity: 0; }

.sun {
  position: absolute; top: 5%; right: 9%; width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, #fffbe0 0, #ffe27a 42%, rgba(255, 226, 122, 0) 72%);
  animation: glowpulse 6s ease-in-out infinite;
}
@keyframes glowpulse { 50% { transform: scale(1.08); opacity: .85; } }
.cloud { position: absolute; left: -200px; height: 34px; width: 130px; border-radius: 40px; background: #fff; opacity: .92; animation: cloud linear infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 56px; height: 56px; left: 20px; top: -26px; }
.cloud::after { width: 44px; height: 44px; left: 64px; top: -18px; }
.c1 { top: 13%; animation-duration: 95s; }
.c2 { top: 26%; scale: .7; animation-duration: 140s; animation-delay: -55s; }
.c3 { top: 8%; scale: .55; animation-duration: 170s; animation-delay: -110s; }
@keyframes cloud { to { transform: translateX(calc(100vw + 420px)); } }
.stars { position: absolute; inset: 0; opacity: 0; transition: opacity 1s;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 14%, #fff, transparent), radial-gradient(1.2px 1.2px at 27% 31%, #fff, transparent),
    radial-gradient(1.8px 1.8px at 44% 9%, #fff, transparent), radial-gradient(1.2px 1.2px at 58% 26%, #fff, transparent),
    radial-gradient(1.6px 1.6px at 73% 16%, #fff, transparent), radial-gradient(1.2px 1.2px at 86% 34%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 20% 44%, #fff, transparent), radial-gradient(1.4px 1.4px at 66% 46%, #fff, transparent); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .stars { opacity: .9; }
  :root:not([data-theme="light"]) .sun { background: radial-gradient(circle, #f4f8ff 0, #cfe0ff 38%, rgba(207, 224, 255, 0) 70%); }
  :root:not([data-theme="light"]) .cloud, :root:not([data-theme="light"]) .cloud::before, :root:not([data-theme="light"]) .cloud::after { background: #3a5576; opacity: .6; }
}

/* the treasure hold: dark ship's timber lit by two lanterns */
.bg-hold {
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(255, 185, 80, .2), transparent 70%),
    radial-gradient(ellipse 90% 40% at 50% 100%, rgba(0, 0, 0, .6), transparent 70%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .3) 0 3px, transparent 3px 92px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, #4d2f19, #2b190b);
}
.beam { position: absolute; left: 0; right: 0; height: 28px; background: linear-gradient(#2b170a, #1b0e05); box-shadow: 0 8px 14px rgba(0, 0, 0, .45); }
.b1 { top: 17%; } .b2 { top: 64%; }
.lantern { position: absolute; top: 9%; width: 30px; }
.lantern::before { content: ""; display: block; width: 2px; height: 34px; background: #1b0e05; margin: 0 auto; }
.lantern i {
  display: block; width: 28px; height: 38px; border-radius: 6px 6px 9px 9px; border: 3px solid var(--wood-ink);
  background: linear-gradient(#ffe08a, #ff9d1c); box-shadow: 0 0 34px 16px rgba(255, 165, 45, .4);
  animation: flicker 3.4s infinite;
}
.l1 { left: 7%; } .l2 { right: 7%; } .l2 i { animation-delay: -1.3s; }
@keyframes flicker { 0%, 100% { box-shadow: 0 0 34px 16px rgba(255, 165, 45, .4); } 30% { box-shadow: 0 0 40px 20px rgba(255, 175, 60, .5); } 55% { box-shadow: 0 0 30px 13px rgba(255, 150, 35, .34); } 80% { box-shadow: 0 0 38px 18px rgba(255, 170, 55, .46); } }

#scene { position: fixed; inset: 0; z-index: 3; pointer-events: none; }
body[data-screen="result"] #scene { z-index: 0; opacity: .55; } /* dimmer, so text scrolling over the piles stays readable */
body[data-scene="hold"] #app { padding-bottom: 210px; }
body[data-scene="hold"] .foot { display: none; }

/* ---------- title screen ---------- */
html, body { overflow-x: clip; }
#screen-title { padding-top: 14px; display: flex; flex-direction: column; min-height: calc(100dvh - 130px); }
.brand { text-shadow: 0 3px 0 rgba(255, 255, 255, .55), 0 6px 16px rgba(20, 70, 110, .25); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand { text-shadow: 0 3px 0 rgba(0, 0, 0, .5), 0 0 24px rgba(120, 180, 255, .3); } }
.tagline { margin-bottom: 10px; font-size: 20px; }

/* tiers as a compact row of chips */
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: none; margin: 18px auto 10px; }
.legend li { padding: 5px 12px; font-size: 15px; gap: 8px; }
.legend .pts { margin-left: 4px; }

/* the ship floats at the bottom of the page on a full-width ocean */
.ship-stage { position: relative; margin-top: auto; padding-top: 6px; }
.sunny-wrap { position: relative; z-index: 1; width: min(440px, 96vw, 56vh); margin: 0 auto; aspect-ratio: 360 / 270; }
.sunny { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform-origin: 50% 84%; animation: bob 6.5s ease-in-out infinite; filter: drop-shadow(0 8px 10px rgba(10, 50, 80, .3)); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.6deg); } 50% { transform: translateY(-10px) rotate(1.8deg); } }
.flag { transform-origin: 176px 32px; animation: flutter 1.1s ease-in-out infinite alternate; }
@keyframes flutter { from { transform: skewY(-5deg) scaleX(1); } to { transform: skewY(5deg) scaleX(.92); } }
.ship-waves { position: absolute; left: 50%; width: 100vw; margin-left: -50vw; bottom: -110px; height: 200px; z-index: 2; overflow: hidden; }
.sw { position: absolute; left: 0; width: 200%; height: 60px; }
.sw-back { top: 0; fill: var(--sea-wave-a); opacity: .95; animation: drift 9s linear infinite; }
.sw-front { top: 12px; fill: var(--sea-wave-b); animation: drift 6s linear infinite reverse; }
.water { position: absolute; left: 0; right: 0; top: 60px; bottom: 0; background: linear-gradient(var(--sea-wave-b), var(--sea-deep)); }
body[data-scene="sea"] #app { padding-bottom: 70px; }
body[data-scene="sea"] .foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; padding: 0 10px 8px; pointer-events: none; }
body[data-scene="sea"] .foot { text-align: center; }
body[data-scene="sea"] .foot p { display: inline-block; pointer-events: auto; padding: 3px 14px; font-size: 13px; background: rgba(6, 32, 46, .72); color: #e7f3f8; border-radius: 999px; }
body[data-scene="sea"] .foot .linkish { color: #fff; min-height: 0; font-size: 13px; padding: 0 2px; }

/* ---------- wooden buttons ---------- */
.btn { font-family: var(--font-display); font-weight: 400; font-size: 24px; letter-spacing: .04em; min-height: 54px; padding: 8px 32px; border-radius: 10px; border-width: 3px; border-color: var(--wood-ink); }
.btn.primary {
  color: #fff3d6; text-shadow: 0 2px 0 var(--wood-ink);
  background:
    radial-gradient(circle at 11px 50%, var(--wood-ink) 0 2.5px, transparent 3.2px),
    radial-gradient(circle at calc(100% - 11px) 50%, var(--wood-ink) 0 2.5px, transparent 3.2px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .09) 0 2px, transparent 2px 7px),
    linear-gradient(#bd7a38, #8a521f);
  box-shadow: inset 0 2px 0 rgba(255, 224, 160, .5), 0 5px 0 var(--wood-ink), 0 9px 14px rgba(0, 0, 0, .3);
  border-color: var(--wood-ink);
}
.btn.primary:hover { filter: brightness(1.1); box-shadow: inset 0 2px 0 rgba(255, 224, 160, .5), 0 6px 0 var(--wood-ink), 0 11px 16px rgba(0, 0, 0, .3); }
.btn.primary:active { transform: translateY(4px); box-shadow: inset 0 2px 0 rgba(255, 224, 160, .5), 0 1px 0 var(--wood-ink); }
.btn.ghost { font-family: var(--font-body); font-weight: 700; font-size: 18px; color: var(--wood-ink); background: rgba(255, 247, 224, .82); border-color: var(--wood-ink); box-shadow: 0 4px 0 rgba(58, 29, 8, .7); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.ghost { background: rgba(28, 42, 53, .85); color: #f1e6c8; border-color: #8a6a3a; box-shadow: 0 4px 0 rgba(0, 0, 0, .6); } }
.relax { color: var(--ink); font-weight: 500; }

/* ---------- parchment panel (play) ---------- */
.panel {
  position: relative;
  background:
    radial-gradient(circle at 10px 10px, #6b4a1f 0 3px, transparent 3.6px), radial-gradient(circle at calc(100% - 10px) 10px, #6b4a1f 0 3px, transparent 3.6px),
    radial-gradient(circle at 10px calc(100% - 10px), #6b4a1f 0 3px, transparent 3.6px), radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), #6b4a1f 0 3px, transparent 3.6px),
    var(--paper);
  border: 3px solid var(--wood-ink); border-radius: 14px; padding: 22px 20px 16px;
  box-shadow: inset 0 0 42px rgba(150, 95, 30, .3), 0 16px 36px rgba(0, 0, 0, .5);
  outline: 2px dashed rgba(90, 55, 20, .45); outline-offset: -10px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .panel { box-shadow: inset 0 0 42px rgba(0, 0, 0, .35), 0 16px 36px rgba(0, 0, 0, .6); } }
.next-in, #screen-result .streak { color: #f6e7c4; text-shadow: 0 2px 4px rgba(0, 0, 0, .6); }
.next-in b { color: #fff3d6; }
#screen-result .streak { color: #ffd36b; }

/* ---------- sound button ---------- */
.sound {
  position: fixed; top: 12px; right: 12px; z-index: 30; width: 48px; height: 48px; border-radius: 50%;
  border: 3px solid var(--wood-ink); background: linear-gradient(#bd7a38, #8a521f); color: #fff3d6; cursor: pointer;
  display: grid; place-items: center; box-shadow: inset 0 2px 0 rgba(255, 224, 160, .5), 0 4px 0 var(--wood-ink), 0 8px 12px rgba(0, 0, 0, .3);
  transition: transform .12s ease;
}
.sound:hover { filter: brightness(1.1); } .sound:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--wood-ink); }
.sound:focus-visible { outline: 3px solid #fff3d6; outline-offset: 3px; }
.sound svg { width: 25px; height: 25px; fill: currentColor; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.sound .wv, .sound .slash { fill: none; }
.sound .slash { opacity: 0; stroke: #ffb4a8; stroke-width: 2.4; }
.sound[aria-pressed="true"] .wv { opacity: 0; } .sound[aria-pressed="true"] .slash { opacity: 1; }

dialog .credits { font-size: 14px; color: var(--ink-soft); margin: 0 0 14px; }
dialog .credits a { color: inherit; }

/* shorter windows: a compact reveal card so it always clears the chest */
@media (max-height: 820px) {
  .panel { padding: 16px 18px 12px; }
  .hud { margin-bottom: 6px; } .timer { margin-bottom: 10px; }
  .prompt { font-size: clamp(30px, 7vw, 42px); margin: 4px 0 14px; }
  .seal { --size: 92px; margin-bottom: 6px; border-width: 4px; } .seal-pts { font-size: 38px; }
  .reveal { padding-top: 20px; } .tier-name { font-size: 30px; line-height: 1.1; } .reveal-name { font-size: 21px; margin-top: 2px; }
  .reveal-sub { font-size: 16px; margin: 0 0 4px; } .reveal-gain { font-size: 24px; margin: 0 0 10px; }
  .reveal .btn { min-height: 46px; padding-top: 4px; padding-bottom: 4px; }
  .skip-row { margin-top: 4px; } .linkish { min-height: 36px; }
  .eyebrow { margin-bottom: 2px; }
}
@media (max-width: 560px) { body[data-scene="hold"] #app { padding-top: 66px; } .sun { top: 36%; right: -30px; width: 130px; height: 130px; } }
.hud-bounty { white-space: nowrap; }
@media (max-width: 420px) { .pips { gap: 4px; } .pip { width: 20px; } .hud-bounty { font-size: 19px; } .btn { padding: 8px 22px; } .legend li { padding: 4px 9px; font-size: 14px; } }
@media (prefers-reduced-motion: reduce) {
  .sunny, .flag, .lantern i, .sun, .cloud, .sw { animation: none !important; }
}

/* ---------- name screen ---------- */
.name-wrap { display: grid; gap: 16px; justify-items: center; }
.name-frame, .poster-frame { background: #ead9a8; border: 4px solid var(--wood-ink); box-shadow: inset 0 0 22px rgba(120, 80, 30, .35); padding: 10px 8px 2px; }
.name-frame { width: min(190px, 56%); }
.name-frame svg, .poster-frame svg { display: block; width: 100%; height: auto; filter: sepia(.3) contrast(1.05); }
#name-form { display: grid; gap: 14px; width: 100%; max-width: 340px; }
#name-input { font: inherit; font-size: 24px; text-align: center; padding: 12px 14px; min-height: 56px; border-radius: 12px; border: 2px solid var(--ink); background: var(--field); color: var(--ink); }
.hint-soft { text-align: center; color: var(--ink-soft); font-size: 15px; margin: 12px 0 0; }
.panel .eyebrow b { color: var(--red); }

/* ---------- the wanted poster: always parchment, whatever the theme ---------- */
.poster { --ink: #2a1c10; --ink-soft: #5b4631; --paper: #f6ecd0; --paper-edge: #cdb98a; color: var(--ink); padding: 22px 20px 14px; }
.poster-top { font-size: clamp(56px, 16vw, 92px); }
.poster-tag { margin: 0 0 12px; font-style: italic; color: var(--ink-soft); font-size: 16px; }
.poster-frame { width: min(210px, 56%); margin: 0 auto 10px; }
.poster-name { font-family: var(--font-display); font-size: clamp(36px, 10.5vw, 52px); margin: 4px 0 0; line-height: 1.05; overflow-wrap: anywhere; }
.poster-bounty { font-size: clamp(34px, 10vw, 52px); margin: 0; }
.poster-squares { display: flex; gap: 6px; justify-content: center; margin: 4px 0 10px; }
.poster-squares i { width: 28px; height: 28px; border: 2px solid var(--wood-ink); border-radius: 4px; background: #2a3640; }
.poster-squares i[data-tier="0"] { background: var(--t0); } .poster-squares i[data-tier="1"] { background: var(--t1); }
.poster-squares i[data-tier="2"] { background: var(--t2); } .poster-squares i[data-tier="3"] { background: var(--t3); }
.poster-squares i[data-tier="4"] { background: var(--t4); }
.poster-rarest { font-weight: 700; margin: 0; font-size: 16px; }
.poster-foot { margin-top: 12px; }
.linkrow { text-align: center; margin: 4px 0 0; }
.linkish.light { color: #f6e7c4; text-shadow: 0 2px 4px rgba(0, 0, 0, .6); }

/* ---------- cards under the poster ---------- */
.card { margin-top: 18px; text-align: left; padding: 18px 18px 14px; }
.card h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; margin: 0 0 10px; letter-spacing: .02em; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.stats li { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; align-items: baseline; }
.stats .sl { color: var(--ink-soft); } .stats .sv { font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.stats .ss { grid-column: 1 / -1; font-size: 14px; color: var(--ink-soft); text-align: right; }
.tally { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tally span { padding: 3px 10px; border-radius: 999px; border: 2px solid var(--tier); font-weight: 700; font-size: 14px; }
.best { margin: 10px 0 0; font-size: 14px; color: var(--ink-soft); }
.hall { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hall li { border-left: 5px solid var(--tier); padding: 4px 10px; background: rgba(255, 255, 255, .35); border-radius: 0 8px 8px 0; }
.hall .a { display: block; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.hall .q { display: block; font-size: 14px; color: var(--ink-soft); line-height: 1.25; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hall li { background: rgba(255, 255, 255, .06); } }
body[data-scene="hold"] #app { padding-bottom: 120px; }
#screen-result .result-actions { margin-top: 18px; }

/* ---------- the room: portholes, ropes, barrels and crates (wide screens only) ---------- */
.porthole { position: absolute; top: 25%; width: 96px; height: 96px; border-radius: 50%; border: 9px solid #9a6a2a; overflow: hidden;
  box-shadow: 0 0 0 3px var(--wood-ink), inset 0 0 0 3px var(--wood-ink), inset 0 8px 16px rgba(0, 0, 0, .5);
  background: linear-gradient(#8fd6f5 0 50%, #1b82a3 50%); }
.porthole span { position: absolute; left: 0; bottom: 0; width: 200%; height: 52%; background: radial-gradient(circle at 20px 0, #1b82a3 13px, #0f6a8a 14px) 0 0 / 40px 100% repeat-x; animation: pwave 3.5s linear infinite; }
@keyframes pwave { to { transform: translateX(-40px); } }
.p1 { left: 14%; } .p2 { right: 14%; }
.rope { position: absolute; top: calc(17% + 26px); width: 7px; height: 96px; border-radius: 4px; background: repeating-linear-gradient(#b8935a 0 6px, #8a6a3a 6px 10px); opacity: .9; }
.r1 { left: 28%; } .r2 { right: 27%; }
.barrel { position: absolute; bottom: 38px; width: 64px; height: 80px; border-radius: 16px / 22px; border: 3px solid #24130a;
  background: linear-gradient(90deg, #4a2c15, #8a5428 45%, #4a2c15); }
.barrel::before, .barrel::after { content: ""; position: absolute; left: -3px; right: -3px; height: 8px; background: #3a2a14; border: 2px solid #24130a; }
.barrel::before { top: 14px; } .barrel::after { bottom: 14px; }
.bl1 { left: 1.5%; } .bl2 { left: calc(1.5% + 56px); width: 52px; height: 64px; bottom: 34px; }
.crate { position: absolute; width: 68px; height: 68px; border: 4px solid var(--wood-ink); bottom: 38px;
  background: linear-gradient(135deg, transparent 45%, var(--wood-ink) 45% 55%, transparent 55%), linear-gradient(45deg, transparent 45%, var(--wood-ink) 45% 55%, transparent 55%), #8a5a2b; }
.cr1 { right: 1.5%; } .cr2 { right: calc(1.5% + 74px); width: 56px; height: 56px; bottom: 34px; } .cr3 { right: 2%; bottom: 104px; width: 54px; height: 54px; }
@media (max-width: 1099px) { .porthole, .rope, .barrel, .crate { display: none; } }

/* ---------- sky life: gulls ---------- */
.gull { position: absolute; width: 30px; height: 12px; left: -60px; opacity: .7; animation: gull 40s linear infinite, flap .7s ease-in-out infinite alternate; }
.gull path { stroke: #2b3a4a; }
.g1 { top: 20%; animation-duration: 36s, .7s; } .g2 { top: 28%; scale: .8; animation-duration: 48s, .6s; animation-delay: -20s, 0s; }
.g3 { top: 16%; scale: .6; animation-duration: 60s, .8s; animation-delay: -41s, 0s; }
@keyframes gull { 0% { transform: translate(0, 0); } 25% { transform: translate(25vw, -14px); } 50% { transform: translate(55vw, 6px); } 75% { transform: translate(80vw, -12px); } 100% { transform: translate(calc(100vw + 100px), 0); } }
@keyframes flap { from { scale: 1 1; } to { scale: 1 .35; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gull path { stroke: #9db4d0; } }
@media (prefers-reduced-motion: reduce) { .gull, .porthole span, .foam, .spray, .sailg { animation: none !important; } }

/* ---------- Sunny: foam, spray and billowing sails ---------- */
.foam { stroke: #fff; fill: none; stroke-width: 3.5; stroke-linecap: round; opacity: .9; animation: foam 2.4s ease-in-out infinite alternate; }
@keyframes foam { from { transform: translateX(-6px); opacity: .6; } to { transform: translateX(6px); opacity: .95; } }
.spray circle { fill: #fff; opacity: .85; }
.spray { animation: spray 1.6s ease-in-out infinite; transform-box: fill-box; }
@keyframes spray { 0%, 100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(-8px); opacity: .4; } }
.sailg { transform-box: fill-box; transform-origin: left center; animation: billow 5s ease-in-out infinite alternate; }
@keyframes billow { from { transform: scaleX(1) skewY(0deg); } to { transform: scaleX(1.035) skewY(-1deg); } }

/* ---------- the pixel vault (these rules win over the older wooden-room ones above) ---------- */
.bg-hold { background: #1a1410; }
.beam, .lantern, .porthole, .rope, .barrel, .crate { display: none; }
#scene, #fx { position: fixed; inset: auto; left: 0; top: 0; pointer-events: none; image-rendering: pixelated; image-rendering: crisp-edges; }
#scene { z-index: 0; }
#fx { z-index: 3; }
body[data-screen="result"] #scene { z-index: 0; opacity: 1 !important; }
body[data-scene="hold"] #app { padding-bottom: 60px; }

/* the poster picture: a silhouette on a screentone */
.name-frame, .poster-frame { background: radial-gradient(circle, rgba(42, 28, 16, .17) 1.4px, transparent 1.9px) 0 0 / 9px 9px, #ead9a8; padding: 8px 8px 4px; }
.name-frame svg, .poster-frame svg { filter: none; }
.skip-row.tight { margin: 0; }

/* text sitting straight on the vault gets a dark pill so it stays readable */
.next-in { width: fit-content; margin: 16px auto 0; padding: 4px 16px; border-radius: 999px; background: rgba(20, 14, 8, .78); }
#screen-result .streak { width: fit-content; margin: 12px auto 0; padding: 3px 14px; border-radius: 999px; background: rgba(20, 14, 8, .78); }
.linkish.light { background: rgba(20, 14, 8, .78); border-radius: 999px; padding: 0 16px; text-decoration: none; }

/* the poster has no picture: a simple ornamental rule instead */
.poster-rule { display: flex; align-items: center; gap: 12px; margin: 14px auto 10px; max-width: 360px; }
.poster-rule i { flex: 1; height: 3px; background: var(--wood-ink); border-radius: 2px; }
.poster-rule b { color: #b3322a; font-size: 22px; line-height: 1; }
.poster-name { font-size: clamp(40px, 12vw, 60px); margin: 6px 0 2px; }

/* the little logo above the title */
.logo { display: block; width: 64px; height: 64px; margin: 0 auto 2px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3)); }
@media (max-height: 760px) { .logo { width: 46px; height: 46px; } }
