/* The Designer's Christmas - "How your book works" video page.
   Colors and fonts follow the sales site: red velvet, gold, cream paper; Fraunces, Lexend, Caveat. */
:root {
  --red-950: #3a060d;
  --red-900: #5c0c16;
  --red-800: #7d1220;
  --red-700: #a3121f;
  --red-600: #c41e30;
  --gold: #e9c77f;
  --gold-2: #f7e2ad;
  --gold-deep: #8a6417;
  --paper: #fff8ef;
  --paper-2: #f6ebdc;
  --white: #fffefa;
  --ink: #26130f;
  --ink-2: #45312d;
  --line: #e6d5c1;
  --field: #7b665c;
  --ok-bg: #e3f3e8;
  --ok-ink: #0f2e22;
  --focus-dark: #1d4ed8;
  --radius: 22px;
  --gutter: 16px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Lexend", "Helvetica Neue", Arial, sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --fs: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (min-width: 760px) { :root { --gutter: 32px; --fs: 21px; } }
@media (min-width: 1100px) { :root { --fs: 22px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--fs)/1.6 var(--sans); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.12; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 .9em; text-wrap: pretty; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 4px solid var(--focus-dark); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.skip { position: absolute; left: 10px; top: -80px; z-index: 99; background: #fff; color: var(--ink); padding: 14px 20px; border-radius: 12px; font-weight: 700; }
.skip:focus { top: 10px; }
.sr-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- lights (same string as the sales site) ---------- */
.lights-wrap { position: absolute; left: 0; right: 0; pointer-events: none; z-index: 3; }
.lights-wrap--top { top: 0; height: 30px; }
.lights-wrap--foot { top: 0; height: 30px; }
.lights { width: 100%; height: 100%; }
.bulb.b0 { fill: #f6d27a; } .bulb.b1 { fill: #ff7a6b; } .bulb.b2 { fill: #8fe0ad; } .bulb.b3 { fill: #ffd98f; } .bulb.b4 { fill: #fff; }
.bulb { animation: twinkle 2.4s ease-in-out infinite; }
.bulb.b1 { animation-delay: .4s; } .bulb.b2 { animation-delay: .9s; } .bulb.b3 { animation-delay: 1.4s; } .bulb.b4 { animation-delay: 1.9s; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

/* ---------- hero: red velvet ---------- */
.hero { position: relative; color: var(--paper); padding-bottom: 36px;
  background: radial-gradient(90% 70% at 50% 30%, #b3213a 0%, var(--red-800) 34%, var(--red-900) 68%, var(--red-950) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); }
.snow { position: absolute; left: 0; top: 0; width: 100%; height: min(100%, 560px); pointer-events: none; z-index: 1;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.bar, .hero-in { position: relative; z-index: 2; }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-top: 44px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-height: 56px; border-radius: 14px; }
.brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--gold); }
.brand-t { display: flex; flex-direction: column; line-height: 1.25; }
.brand-t b { font-family: var(--display); font-size: 1.1em; font-weight: 900; }
.brand-t small { font-size: .78em; color: #f3dfc9; }
.back { display: inline-flex; align-items: center; min-height: 56px; padding: 8px 22px; border-radius: 999px; border: 2px solid var(--gold); color: var(--gold-2);
  text-decoration: none; font-weight: 600; font-size: .9em; }
.back:hover { background: rgba(233, 199, 127, .16); }
.hero :focus-visible { outline-color: #fff; }
.hero-in { padding-top: 14px; }
.kicker { display: inline-block; margin: 0 0 12px; padding: 6px 16px; border-radius: 999px; background: rgba(233, 199, 127, .16); color: var(--gold); font-weight: 600; font-size: .86em; }
.hero h1 { font-size: clamp(38px, 6.4vw, 66px); margin-bottom: 14px; }
.lede { max-width: 760px; font-size: 1.04em; color: #f6e9dc; margin-bottom: 26px; }

/* ---------- the player ---------- */
.player { position: relative; max-width: 1040px; margin: 0 auto; background: #000; border-radius: var(--radius); color: #fff;
  box-shadow: 0 0 0 3px var(--gold), 0 34px 60px -24px rgba(0, 0, 0, .7); }
.player:focus { outline: none; }
.player :focus-visible { outline: 4px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 8px rgba(0, 0, 0, .85); }
.stage { position: relative; aspect-ratio: var(--ar, 16 / 9); max-height: 80vh; max-height: 80svh; background: #000; border-radius: var(--radius); overflow: hidden;
  container-type: inline-size; cursor: pointer; }
.stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.player[data-state="error"] .stage { cursor: default; }

/* captions drawn by the page, never by the browser */
.cc { position: absolute; left: 4%; right: 4%; bottom: calc(var(--ch, 0px) + 3%); display: flex; flex-direction: column; align-items: center; gap: 4px;
  pointer-events: none; text-align: center; z-index: 2; transition: bottom .2s var(--ease);
  --cc-min: 34px; --cc-vw: 3cqw; font-size: max(var(--cc-min), var(--cc-vw)); }
.player[data-cc-size="small"] .cc { --cc-min: 28px; --cc-vw: 2.4cqw; }
.player[data-cc-size="large"] .cc { --cc-min: 42px; --cc-vw: 3.8cqw; }
.player[data-controls="hide"] .cc { bottom: 4%; }
.cc .ln { display: inline-block; max-width: 100%; padding: .14em .5em .18em; border-radius: .38em; background: rgba(0, 0, 0, .84); color: #fff;
  font-weight: 600; line-height: 1.32; text-wrap: balance; }

.big-play { position: absolute; left: 50%; top: 50%; z-index: 3; width: 124px; height: 124px; margin: -62px 0 0 -62px; border-radius: 50%; border: 6px solid var(--gold);
  background: rgba(92, 12, 22, .88); color: var(--gold-2); display: grid; place-items: center; padding: 0; transition: transform .15s ease, background .15s ease; }
.big-play svg { width: 62px; height: 62px; margin-left: 6px; }
.big-play::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 3px solid var(--gold); opacity: 0; animation: pulse 2.8s ease-out infinite; pointer-events: none; }
.big-play:hover { background: var(--red-800); transform: scale(1.05); }
@keyframes pulse { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(1.4); opacity: 0; } }
.player[data-state="playing"] .big-play, .player[data-state="error"] .big-play, .player[data-resume="1"] .big-play { display: none; }
.player[data-started="1"][data-state="paused"] .big-play { display: none; }
@media (max-width: 699px) { .big-play { width: 96px; height: 96px; margin: -48px 0 0 -48px; border-width: 5px; } .big-play svg { width: 48px; height: 48px; } }

.spinner { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; pointer-events: none; background: rgba(0, 0, 0, .28); }
.spinner[hidden], .oops[hidden], .resume[hidden], .menu[hidden], .status[hidden], .err[hidden] { display: none; }
.ring { width: 68px; height: 68px; border-radius: 50%; border: 7px solid rgba(255, 255, 255, .3); border-top-color: var(--gold); animation: spin 1s linear infinite; }
.spin-t { font-weight: 600; font-size: 1.05em; text-shadow: 0 1px 6px #000; }
@keyframes spin { to { transform: rotate(360deg); } }

.oops { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; padding: 24px; text-align: center; background: rgba(58, 6, 13, .96); cursor: default; }
.oops p { max-width: 560px; margin: 0; font-size: 1.15em; font-weight: 600; line-height: 1.5; }
.oops a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }

.resume { position: absolute; left: 50%; top: 50%; z-index: 5; width: min(86%, 440px); transform: translate(-50%, -50%); padding: 20px; text-align: center; cursor: default;
  background: rgba(58, 6, 13, .94); border: 3px solid var(--gold); border-radius: 20px; }
.resume p { margin: 0 0 14px; font-size: 1.04em; font-weight: 600; line-height: 1.4; }
.resume-b { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pill { min-height: 56px; padding: 10px 26px; border-radius: 999px; border: 2px solid var(--gold); background: transparent; color: var(--gold-2); font-weight: 700; font-size: 1em; }
.pill:hover { background: rgba(233, 199, 127, .18); }
.pill--gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--red-950); border-color: var(--gold); }
.pill--gold:hover { filter: brightness(1.06); background: linear-gradient(180deg, var(--gold-2), var(--gold)); }

/* control bar: floats over the picture on wide screens, sits under it on phones */
.controls { position: absolute; left: 0; right: 0; bottom: 0; z-index: 7; padding: 34px 14px 10px; border-radius: 0 0 var(--radius) var(--radius);
  background: linear-gradient(to top, rgba(14, 3, 5, .94) 0%, rgba(14, 3, 5, .82) 60%, rgba(14, 3, 5, 0) 100%); transition: opacity .25s ease, transform .25s ease; cursor: default; }
.player[data-controls="hide"] .controls { opacity: 0; transform: translateY(8px); pointer-events: none; }
.player[data-controls="hide"][data-state="playing"] .stage { cursor: none; }

.seek-row { padding: 0 6px; }
.seek { position: relative; height: 44px; display: flex; align-items: center; cursor: pointer; touch-action: none; border-radius: 10px; }
.seek-track { position: relative; width: 100%; height: 14px; border-radius: 7px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.seek-buf, .seek-played { position: absolute; left: 0; top: 0; bottom: 0; width: 0; }
.seek-buf { background: rgba(255, 255, 255, .52); }
.seek-played { background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.seek-ticks { position: absolute; inset: 0; }
.seek-ticks i { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--red-900); }
.seek-thumb { position: absolute; top: 50%; left: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--gold-2); border: 5px solid var(--red-800);
  box-shadow: 0 0 0 2px var(--gold-2), 0 2px 8px rgba(0, 0, 0, .6); pointer-events: none; transition: transform .12s ease; }
.seek:hover .seek-thumb, .seek.is-drag .seek-thumb { transform: scale(1.18); }
.seek-tip { position: absolute; bottom: calc(100% + 4px); left: 0; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 0; padding: 6px 14px; border-radius: 12px;
  background: #fff8ef; color: var(--ink); font-size: 18px; line-height: 1.3; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .5); }
.seek-tip span { font-size: 16px; color: var(--ink-2); max-width: 280px; overflow: hidden; text-overflow: ellipsis; }
.seek-tip span:empty { display: none; }
.seek-tip b { font-variant-numeric: tabular-nums; }
.seek.is-tip .seek-tip { display: flex; }

.ctl-row { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; }
.grp { display: flex; align-items: center; gap: 4px; }
.grp--r { gap: 6px; }
.ib { min-width: 56px; min-height: 56px; padding: 0 10px; border: 0; border-radius: 16px; background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 3px; font-weight: 700; font-size: 20px; line-height: 1; -webkit-tap-highlight-color: transparent; }
.ib:hover { background: rgba(255, 255, 255, .16); }
.ib:active { background: rgba(255, 255, 255, .26); }
.ib svg { width: 32px; height: 32px; flex: none; }
.ib--txt svg { width: 28px; height: 28px; }
.ib .i-pause, .ib .i-mute, .ib .i-fsx { display: none; }
.player[data-state="playing"] #btnPlay .i-play { display: none; }
.player[data-state="playing"] #btnPlay .i-pause { display: block; }
.player.is-muted #btnMute .i-vol { display: none; }
.player.is-muted #btnMute .i-mute { display: block; }
.player.is-fs #btnFS .i-fs { display: none; }
.player.is-fs #btnFS .i-fsx { display: block; }
#btnPlay { min-width: 64px; background: rgba(233, 199, 127, .2); }
#btnPlay:hover { background: rgba(233, 199, 127, .34); }
#btnPlay svg { width: 36px; height: 36px; }
.time { padding: 0 8px; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.time .sl { color: #e7d2c0; }

.vol { display: flex; align-items: center; gap: 2px; }
#volume { -webkit-appearance: none; appearance: none; width: 120px; height: 56px; margin: 0 8px 0 0; background: transparent; cursor: pointer; --v: 100%; }
#volume::-webkit-slider-runnable-track { height: 10px; border-radius: 5px; background: linear-gradient(to right, var(--gold) var(--v), rgba(255, 255, 255, .34) var(--v)); }
#volume::-moz-range-track { height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .34); }
#volume::-moz-range-progress { height: 10px; border-radius: 5px; background: var(--gold); }
#volume::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -9px; border-radius: 50%; background: var(--gold-2); border: 5px solid var(--red-800); box-shadow: 0 0 0 2px var(--gold-2); }
#volume::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--gold-2); border: 5px solid var(--red-800); box-shadow: 0 0 0 2px var(--gold-2); }

#btnCC { flex-direction: column; gap: 2px; min-width: 62px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 14px; }
#btnCC .cc-ic { font-size: 21px; letter-spacing: .02em; }
#btnCC::after { content: "OFF"; font-size: 13px; letter-spacing: .06em; }
#btnCC[aria-pressed="true"] { background: var(--gold); color: var(--red-950); border-color: var(--gold); }
#btnCC[aria-pressed="true"]::after { content: "ON"; }
.ib--a { min-width: 56px; padding: 0 6px; }
.ib--a span { font-size: 21px; }
.ib--big span { font-size: 29px; }
.ib:disabled { opacity: .38; cursor: default; }
.ib:disabled:hover { background: transparent; }
.ib--sp { min-width: 68px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 14px; font-size: 21px; font-variant-numeric: tabular-nums; }

.speed { position: relative; }
.menu { position: absolute; right: 0; bottom: calc(100% + 10px); z-index: 10; min-width: 250px; margin: 0; padding: 8px; list-style: none; border-radius: 18px; background: #2b0a10; border: 3px solid var(--gold); box-shadow: 0 16px 40px rgba(0, 0, 0, .7); }
.menu li { margin: 0; }
.menu button { width: 100%; min-height: 56px; padding: 6px 16px 6px 46px; border: 0; border-radius: 12px; background: transparent; color: #fff; text-align: left; display: flex; align-items: baseline; gap: 10px; position: relative; font-size: 21px; font-weight: 700; }
.menu button small { font-size: 16px; font-weight: 400; color: #ecd9c8; }
.menu button:hover { background: rgba(255, 255, 255, .14); }
.menu button[aria-checked="true"] { color: var(--gold-2); }
.menu button[aria-checked="true"]::before { content: ""; position: absolute; left: 18px; top: 50%; width: 9px; height: 17px; margin-top: -12px; border: solid var(--gold); border-width: 0 4px 4px 0; transform: rotate(45deg); }

/* phones: the bar goes under the picture so nothing covers it */
@media (max-width: 699px) {
  .player { border-radius: 18px; }
  .stage { border-radius: 18px 18px 0 0; max-height: 72vh; max-height: 72svh; }
  .controls { position: static; padding: 6px 4px 12px; border-radius: 0 0 18px 18px; background: #14070a; }
  .player[data-controls="hide"] .controls { opacity: 1; transform: none; pointer-events: auto; }
  .seek-row { padding: 0 8px; }
  .ctl-row { gap: 6px; }
  .grp--l { width: 100%; justify-content: flex-start; }
  .grp--r { width: 100%; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
  .vol { display: contents; }
  #volume { display: none; }
  .grp--r .ib, .speed .ib { min-width: 0; width: 100%; padding: 0 2px; }
  .speed { display: block; }
  .ib--sp { font-size: 18px; letter-spacing: -.02em; }
  .menu { right: 0; left: auto; }
  .cc { bottom: 3% !important; }
}
.player.is-fs { display: flex; flex-direction: column; width: 100%; height: 100%; max-width: none; border-radius: 0; box-shadow: none; }
.player.is-fs .stage { flex: 1; aspect-ratio: auto; max-height: none; border-radius: 0; }
.player.is-fs .controls { position: absolute; padding: 34px 14px 12px; border-radius: 0; background: linear-gradient(to top, rgba(14, 3, 5, .94) 0%, rgba(14, 3, 5, .82) 60%, rgba(14, 3, 5, 0) 100%); }
.player.is-fs[data-controls="hide"] .controls { opacity: 0; transform: translateY(8px); pointer-events: none; }
.player.is-fs .cc { bottom: calc(var(--ch, 0px) + 3%) !important; }
.player.is-fs[data-controls="hide"] .cc { bottom: 5% !important; }
@media (max-width: 699px) {
  .player.is-fs .grp--l { width: auto; }
  .player.is-fs .grp--r { display: flex; width: auto; }
  .player.is-fs .grp--r .ib { width: auto; min-width: 56px; padding: 0 10px; }
  .player.is-fs .ctl-row { justify-content: space-between; }
}

.keys { margin: 14px auto 0; max-width: 1040px; font-size: .78em; color: #f3dfc9; text-align: center; }
.keys kbd { display: inline-block; min-width: 1.9em; padding: 0 .45em; border-radius: 8px; border: 2px solid var(--gold); color: var(--gold-2); font: 700 .95em/1.5 var(--sans); }
@media (pointer: coarse), (max-width: 699px) { .keys { display: none; } }

/* ---------- paper sections ---------- */
.paper { position: relative; padding: 60px 0; }
.paper--2 { background: var(--paper-2); }
.paper h2 { font-size: clamp(30px, 4.4vw, 44px); margin-bottom: 8px; color: var(--red-900); }
.sub { color: var(--ink-2); margin-bottom: 22px; }
.two { display: grid; gap: 34px; }
@media (min-width: 900px) { .two { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; gap: 48px; } .buy { position: sticky; top: 24px; } }

.chap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: ch; }
.chap { width: 100%; min-height: 64px; display: flex; align-items: center; gap: 16px; padding: 10px 18px 10px 12px; text-align: left; background: var(--white); border: 2px solid var(--line); border-radius: 18px; color: var(--ink); font-size: 1em; font-weight: 500; transition: background .15s ease, border-color .15s ease; }
.chap:hover { border-color: var(--gold-deep); background: #fff; }
.chap .num { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--red-800); color: #fff; font-weight: 700; font-size: .86em; }
.chap .ct { flex: 1; min-width: 0; line-height: 1.3; }
.chap .cs { flex: none; font-size: .86em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.chap[aria-current="true"] { background: #fbeccd; border-color: var(--red-800); box-shadow: inset 6px 0 0 var(--red-800); font-weight: 700; }
.chap[aria-current="true"] .num { background: var(--gold); color: var(--red-950); box-shadow: 0 0 0 3px var(--red-800); }
.chap-empty { color: var(--ink-2); }

.buy-card { padding: 28px 24px 24px; border-radius: 26px; color: var(--paper); text-align: center; border: 3px solid var(--gold);
  background: radial-gradient(120% 90% at 50% 0%, #a3121f 0%, var(--red-800) 40%, var(--red-950) 100%); box-shadow: 0 24px 40px -22px rgba(58, 6, 13, .8); }
.buy-card h2 { color: var(--paper); font-size: clamp(26px, 3.4vw, 32px); margin-bottom: 10px; }
.buy-card p { color: #f6e9dc; }
.hand { font: 700 30px/1.1 var(--hand); color: var(--gold); margin-bottom: 6px; }
.gold-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 72px; padding: 14px 26px; border: 0; border-radius: 999px; text-decoration: none; text-align: center;
  background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--red-950); font: 700 24px/1.2 var(--sans); box-shadow: 0 3px 0 #b38d3e, 0 16px 30px -12px rgba(0, 0, 0, .5);
  transition: transform .12s ease, filter .15s ease; -webkit-tap-highlight-color: transparent; }
.gold-btn:hover { filter: brightness(1.06); }
.gold-btn:active { transform: translateY(2px); }
.buy-card .gold-btn:focus-visible { outline-color: #fff; }
.fine { margin: 14px 0 0; font-size: .86em; font-weight: 600; color: var(--gold-2) !important; }

/* ---------- reviews ---------- */
.review-list { display: grid; gap: 14px; margin: 18px 0 34px; }
.empty { margin: 0; padding: 30px 24px; text-align: center; font-size: 1.1em; color: var(--ink); background: var(--white); border: 2px dashed var(--field); border-radius: 20px; }
.rv { padding: 22px 24px; background: var(--white); border: 2px solid var(--line); border-radius: 20px; }
.rv-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 8px; }
.rv-stars { display: inline-flex; gap: 2px; }
.rv-stars svg { width: 28px; height: 28px; }
.rv-stars .on { fill: #f2b632; stroke: #8a5a00; stroke-width: 1.6; }
.rv-stars .off { fill: none; stroke: var(--field); stroke-width: 1.6; }
.rv-name { font-weight: 700; }
.rv-date { color: var(--ink-2); font-size: .84em; }
.rv p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }

.rev-form-card { padding: 30px 26px; background: var(--white); border: 2px solid var(--line); border-radius: 26px; box-shadow: 0 18px 30px -24px rgba(58, 6, 13, .5); }
.rev-form-card h3 { font-size: clamp(26px, 3.4vw, 32px); color: var(--red-900); margin-bottom: 6px; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
legend, .field > label { display: block; padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 1em; }
.opt { font-weight: 400; color: var(--ink-2); }
.field { margin-bottom: 20px; }
.f-row { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .f-row { grid-template-columns: 1fr 1fr; } }
input[type="text"], textarea { display: block; width: 100%; min-height: 60px; padding: 12px 16px; border: 2px solid var(--field); border-radius: 14px; background: #fff; color: var(--ink); font-size: 1em; line-height: 1.5; }
textarea { resize: vertical; min-height: 150px; }
input[type="text"]:focus-visible, textarea:focus-visible { outline: 4px solid var(--focus-dark); outline-offset: 2px; border-color: var(--ink); }
[aria-invalid="true"] { border-color: var(--red-700) !important; border-width: 3px !important; }
.hint { margin: 6px 0 0; font-size: .82em; color: var(--ink-2); }
.err { margin: 8px 0 0; font-weight: 600; font-size: .9em; color: var(--red-700); }
.err::before { content: "\26A0\FE0E  "; }
.honest { font-weight: 600; color: var(--ink); margin: 4px 0 18px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.star-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.star { position: relative; width: 64px; height: 64px; }
.star input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
.star label { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 0; cursor: pointer; border-radius: 14px; }
.star svg { width: 52px; height: 52px; fill: none; stroke: var(--field); stroke-width: 1.6; stroke-linejoin: round; transition: transform .12s ease; }
.star.on svg { fill: #f2b632; stroke: #8a5a00; }
.star:hover svg { transform: scale(1.1); }
.star input:focus-visible + label { outline: 4px solid var(--focus-dark); outline-offset: 0; }
.star-say { flex-basis: 100%; margin: 6px 0 0 4px; font-weight: 600; color: var(--ink); }
@media (min-width: 640px) { .star-say { flex-basis: auto; margin: 0 0 0 12px; } }

.status { margin: 18px 0 0; padding: 16px 20px; border-radius: 16px; font-weight: 600; line-height: 1.5; background: var(--ok-bg); color: var(--ok-ink); border: 2px solid #1f4d39; }
.status.is-err { background: #fde8e6; color: #7a0f1a; border-color: var(--red-700); }
.status a { color: inherit; font-weight: 700; overflow-wrap: anywhere; }
.status:focus { outline: 4px solid var(--focus-dark); outline-offset: 3px; }
.gum { margin: 26px 0 0; padding-top: 18px; border-top: 2px solid var(--line); color: var(--ink-2); }
.gold-btn--form { background: linear-gradient(180deg, var(--red-600), var(--red-700)); color: #fff; box-shadow: 0 3px 0 var(--red-900), 0 14px 26px -12px rgba(94, 12, 22, .6); max-width: 420px; }
.gold-btn--form:disabled { opacity: .6; cursor: default; }

/* ---------- footer ---------- */
.foot { position: relative; background: var(--red-950); color: #f2d9d4; padding: 66px 0 48px; text-align: center; }
.foot-motto { font: italic 600 clamp(24px, 3.4vw, 30px)/1.35 var(--display); color: var(--gold); margin: 0 0 14px; }
.foot p { margin: 0 0 4px; }
.foot a { display: inline-flex; align-items: center; min-height: 56px; padding: 0 12px; color: var(--gold-2); font-weight: 600; text-underline-offset: 4px; overflow-wrap: anywhere; }
.foot :focus-visible { outline-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .snow { display: none; }
  .ring { border-top-color: var(--gold); border-right-color: var(--gold); }
}

@media (max-width: 479px) { .star { width: 54px; height: 54px; } .star svg { width: 44px; height: 44px; } .star-row { gap: 2px; } }
