/* ==========================================================================
   Hot Cocoa: Day 1 of #everyday
   Art direction: matte "clay" miniature, forest green × terracotta × cream, Fraunces serif
   ========================================================================== */
:root {
  --bg: #1d3830;
  --bg-deep: #152a23;
  --surface: #24453b;
  --surface-2: #2a4d42;
  --sunken: #18302a;
  --cream: #f2e2c9;
  --cream-hi: #fbf2e4;
  --cream-dim: rgba(242, 226, 201, .64);
  --cream-line: rgba(242, 226, 201, .14);
  --terra: #b4533c;
  --terra-hi: #c4634a;
  --terra-lo: #8a3a2a;
  --copper: #c8714f;
  --gold: #d9a066;
  --sage: #8fae96;
  --ink-dark: #3b2a20;
  --serif: 'Fraunces', 'Cairo', Georgia, serif;
  --sans: 'DM Sans', 'Cairo', system-ui, sans-serif;
  --radius: 26px;
  --clay: 0 22px 44px -22px rgba(4, 12, 9, .75), inset 0 1px 0 rgba(255, 255, 255, .05), inset 0 -3px 0 rgba(0, 0, 0, .12);
  --sunk: inset 0 5px 14px rgba(0, 0, 0, .38), inset 0 -1px 0 rgba(255, 255, 255, .05);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--cream);
  background:
    radial-gradient(1100px 650px at 50% 12%, #2b4c41 0%, rgba(43, 76, 65, 0) 70%),
    radial-gradient(800px 500px at 100% 70%, rgba(180, 83, 60, .07), transparent 70%),
    linear-gradient(180deg, #1f3c33 0%, var(--bg) 40%, #172e27 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* subtle matte paper/clay grain */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a { color: var(--gold); }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--terra); color: var(--cream-hi); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--cream); color: var(--ink-dark); padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 8px; }
.muted { color: var(--cream-dim); }
.center { text-align: center; }
.small { font-size: .85rem; }
.kicker { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--copper); font-size: 1.05rem; margin: 0 0 6px; letter-spacing: .01em; }
.label { display: block; font-weight: 600; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-dim); margin: 18px 0 9px; }
.label small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.pill { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 99px; background: var(--terra); color: var(--cream-hi); font-family: var(--sans); font-size: .8rem; font-weight: 700; vertical-align: middle; }
.ornament-line { position: relative; width: 150px; height: 1px; margin: 16px auto; background: rgba(242, 226, 201, .45); }
.ornament-line::before, .ornament-line::after { content: ''; position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; border: 1px solid rgba(242, 226, 201, .55); }
.ornament-line::before { left: -10px; }
.ornament-line::after { right: -10px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

#snow { position: fixed; inset: 0; z-index: 2; pointer-events: none; }
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 10000; pointer-events: none; }
main, .footer { position: relative; z-index: 1; }

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--cream-line); background: rgba(242, 226, 201, .06);
  font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--cream);
  transition: transform .18s ease, background .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); background: rgba(242, 226, 201, .12); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-primary {
  background: linear-gradient(180deg, var(--terra-hi), #a4472f); color: var(--cream-hi); border-color: transparent;
  box-shadow: 0 12px 24px -12px rgba(138, 58, 42, .95), inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -2px 0 rgba(0, 0, 0, .16);
}
.btn-primary:hover { background: linear-gradient(180deg, #cf6e53, #ad4d35); }
.btn-ghost { background: transparent; }
.btn-sm { padding: 7px 14px; font-size: .84rem; }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.wide { width: 100%; margin-top: 12px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--cream-line); background: rgba(242, 226, 201, .05); display: grid; place-items: center; color: var(--cream); transition: background .2s; }
.icon-btn:hover { background: rgba(242, 226, 201, .12); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .toggle {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 999px; font-size: .86rem; font-weight: 500;
  background: rgba(242, 226, 201, .06); border: 1px solid var(--cream-line); color: var(--cream);
  text-decoration: none; transition: transform .15s, background .2s, color .2s;
}
.chip:hover, .toggle:hover { transform: translateY(-2px); background: rgba(242, 226, 201, .12); }
.chip.on, .toggle[aria-pressed="true"] { background: var(--cream); color: var(--ink-dark); border-color: var(--cream); }
.chips.small .chip { font-size: .78rem; padding: 5px 11px; }
.chip .dot { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(242, 226, 201, .4); }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 32px; height: 32px; border-radius: 50%; border: none; padding: 0; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15), 0 4px 8px -4px rgba(0, 0, 0, .5); transition: transform .15s, box-shadow .15s; }
.swatch:hover { transform: scale(1.1); }
.swatch.on { transform: scale(1.08); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--gold); }
.swatch.auto { background: conic-gradient(var(--terra), var(--gold), var(--sage), var(--cream), var(--terra)); font-weight: 700; font-size: .75rem; color: var(--ink-dark); }

.panel {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(242, 226, 201, .07); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--clay);
}
.panel h3 { font-size: 1.25rem; }

input, textarea, select {
  width: 100%; padding: 11px 14px; border-radius: 14px;
  border: 1px solid rgba(242, 226, 201, .1); background: var(--sunken); color: var(--cream);
  box-shadow: var(--sunk); outline: none; transition: border-color .2s;
}
input::placeholder, textarea::placeholder { color: rgba(242, 226, 201, .35); }
input:focus, textarea:focus, select:focus { border-color: rgba(217, 160, 102, .7); }
textarea { resize: vertical; line-height: 1.55; }
select option { background: var(--cream-hi); color: var(--ink-dark); }
.country-select {
  width: auto; max-width: 100%; border-radius: 999px; padding: 9px 38px 9px 16px; font-weight: 500;
  appearance: none; -webkit-appearance: none; border: none; cursor: pointer;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%233b2a20' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center / 14px;
  color: var(--ink-dark); box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .7), inset 0 -2px 0 rgba(0, 0, 0, .08);
}
.country-select.big { width: 100%; font-size: 1.05rem; padding: 14px 44px 14px 20px; margin: 10px 0 18px; }
.row { display: flex; gap: 10px; align-items: center; }
.row.two { display: grid; grid-template-columns: 1fr 1fr; }
.row label { font-weight: 600; font-size: .72rem; letter-spacing: .14em; color: var(--cream-dim); text-transform: uppercase; display: grid; gap: 7px; }
.row input { text-transform: none; letter-spacing: 0; font-size: .95rem; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px clamp(14px, 4vw, 44px); transition: background .3s, box-shadow .3s;
}
.scrolled .nav { background: rgba(26, 50, 43, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8); }
.logo { display: inline-flex; align-items: center; text-decoration: none; border-radius: 50%; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { color: var(--cream-dim); text-decoration: none; padding: 8px 14px; font-size: .88rem; font-weight: 500; border-radius: 999px; transition: color .2s, background .2s; position: relative; }
.nav-links a + a::before { content: ''; position: absolute; left: -1px; top: 50%; width: 1px; height: 14px; margin-top: -7px; background: var(--cream-line); }
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-links a.active::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--copper); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-cta { padding: 9px 20px; }

/* ==========================================================================
   HERO: clay village diorama
   ========================================================================== */
.hero { position: relative; padding: 112px 0 30px; text-align: center; overflow: hidden; }
.hero-head { position: relative; z-index: 3; padding: 0 18px; }
.hero-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.9rem, 8.2vw, 5.6rem); line-height: 1; letter-spacing: -.025em; color: var(--cream); text-shadow: 0 3px 0 rgba(0, 0, 0, .14); }
.word-main span { display: inline-block; animation: letter-in .9s cubic-bezier(.2, .9, .3, 1) both; animation-delay: calc(var(--i) * 38ms); transition: transform .3s, color .3s; }
.word-main span:hover { transform: translateY(-6px); color: var(--gold); }
.word-main span.w { animation: none; white-space: nowrap; }
.word-main span.w:hover { transform: none; color: inherit; }

.village-wrap { position: relative; display: flex; justify-content: center; perspective: 1400px; margin-top: -6px; }
.village { position: relative; flex: none; width: max(780px, min(1200px, 100%)); aspect-ratio: 1100 / 470; transform-style: preserve-3d; will-change: transform; }
.vl { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; will-change: transform; }
.vl-mid { z-index: 2; }
.vl-front { z-index: 3; }
.vl-float { z-index: 4; }
#workshop { pointer-events: auto; cursor: pointer; outline: none; transition: transform .35s cubic-bezier(.2, 1.4, .4, 1); transform-box: fill-box; transform-origin: 50% 100%; }
#workshop:hover, #workshop:focus-visible { transform: translateY(-4px) scale(1.01); }
.win .halo { animation: glow 3.2s ease-in-out infinite alternate; }
.win:nth-of-type(odd) .halo { animation-delay: -1.4s; }
.celebrate .win path { filter: brightness(1.25) saturate(1.2); }
.celebrate .halo { opacity: 1; animation: glow-burst .6s ease 3 alternate; }
.celebrate #workshop { animation: hop .6s cubic-bezier(.2, 1.5, .4, 1); }
.puff { fill: #f2e2c9; opacity: 0; transform-box: fill-box; transform-origin: center; animation: puff 4.5s ease-out infinite; }
.puff:nth-child(2) { animation-delay: 1.5s; }
.puff:nth-child(3) { animation-delay: 3s; }
.celebrate .puff { animation-duration: 1.4s; }
.twinkle-star { transform-box: fill-box; transform-origin: center; animation: twinkle-scale 2.6s ease-in-out infinite alternate; }
.popout { position: fixed; z-index: 9999; font-family: var(--serif); font-size: 1.9rem; pointer-events: none; animation: popout 1.6s cubic-bezier(.2, .7, .3, 1) both; }

.hero-sections { position: relative; z-index: 3; padding: 0 18px; }
.tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 2.6vw, 34px); }
.tile { width: 118px; display: grid; justify-items: center; gap: 5px; padding: 0; border: none; background: none; color: var(--cream); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.tile > .tile-icon { width: 104px; height: 104px; border-radius: 50%; background: var(--sunken); box-shadow: var(--sunk); display: grid; place-items: center; margin-bottom: 8px; transition: background .3s; }
.tile svg { transition: transform .45s cubic-bezier(.2, 1.4, .4, 1); filter: drop-shadow(0 6px 5px rgba(0, 0, 0, .3)); }
.tile:hover svg, .tile:focus-visible svg { transform: translateY(-9px) rotate(-6deg) scale(1.08); }
.tile:hover > .tile-icon { background: #1b352e; }
.tile b { font-family: var(--serif); font-weight: 500; font-size: 1rem; }
.tile.ring svg { animation: ring .9s ease; }
.pill-select { position: relative; flex: 0 1 230px; }
.pill-select.wide { flex: 1 1 380px; }
.pill-select::before, .pill-select::after { content: ''; position: absolute; top: 50%; width: 12px; height: 12px; margin-top: -6px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%233b2a20' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.pill-select::before { left: 20px; }
.pill-select::after { right: 20px; }
.pill-select select {
  appearance: none; -webkit-appearance: none; width: 100%; border: none; border-radius: 999px; cursor: pointer;
  padding: 14px 46px; text-align: center; text-align-last: center; font-weight: 500; font-size: .92rem;
  background: var(--cream); color: var(--ink-dark);
  box-shadow: 0 14px 26px -16px rgba(0, 0, 0, .8), inset 0 -3px 0 rgba(0, 0, 0, .07), inset 0 1px 0 rgba(255, 255, 255, .6);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: 110px clamp(14px, 4vw, 32px) 40px; max-width: 1220px; margin: 0 auto; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 40px; }
.section-head h2 { font-weight: 400; font-size: clamp(2.4rem, 6.4vw, 3.9rem); line-height: 1.02; letter-spacing: -.02em; }
.section-head .ornament-line { margin: 18px auto; }
.section-head p { color: var(--cream-dim); line-height: 1.65; margin: 0; }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- buy links + dock ---------- */
.buy-links { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 6px; }
.buy-links[hidden] { display: none; }
.bl-title { width: 100%; margin: 0 0 2px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-dim); }
.buy-links .chip { font-size: .8rem; padding: 5px 11px; }
.link-field { font-size: .78rem; font-family: ui-monospace, Menlo, monospace; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.dock {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 90;
  width: 66px; height: 66px; border-radius: 50%; border: none; padding: 0;
  background: radial-gradient(circle at 35% 28%, #fffaf0, var(--cream) 55%, #dcc5a1);
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .7), inset 0 -4px 0 rgba(0, 0, 0, .08);
  display: grid; place-items: center; transition: transform .25s cubic-bezier(.2, 1.4, .4, 1), box-shadow .25s;
}
.dock-icon { display: grid; place-items: center; }
.dock-count { position: absolute; top: -3px; right: -3px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; background: var(--terra); color: var(--cream-hi); font-weight: 700; font-size: .78rem; display: grid; place-items: center; transform: scale(0); transition: transform .3s cubic-bezier(.2, 1.5, .4, 1); box-shadow: 0 0 0 3px var(--bg); }
.dock.has-items .dock-count { transform: scale(1); }


/* ==========================================================================
   CARD STUDIO
   ========================================================================== */
.studio { display: grid; grid-template-columns: minmax(300px, 430px) 1fr; gap: 32px; align-items: start; }
.studio-preview { position: sticky; top: 88px; display: grid; justify-items: center; gap: 14px; }
.card-preview { width: min(380px, 84vw); perspective: 1600px; }
.preview-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; }
.stk-tools { display: flex; gap: 6px; align-items: center; }
.stk-tools[hidden] { display: none; }

.card3d {
  container-type: inline-size; position: relative; width: 100%; aspect-ratio: 3 / 4;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(calc(var(--ry, 0deg) + var(--flip, 0deg)));
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.card-preview.flipped .card3d, .card3d.flipped { --flip: 180deg; }
.card-inner { position: absolute; inset: 0; transform-style: preserve-3d; }
.card-face { position: absolute; inset: 0; border-radius: 3.5cqw; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 5cqw 9cqw -3cqw rgba(4, 12, 9, .7); }
.card-front { color: var(--ink); }
.card-head { position: absolute; top: 7%; left: 7%; right: 7%; text-align: center; font-family: var(--font); font-weight: var(--fw, 700); color: var(--ink); font-size: calc(11.5cqw * var(--fscale)); line-height: 1.08; text-shadow: 0 .4cqw 1cqw rgba(0, 0, 0, .25); overflow-wrap: anywhere; }
.stickers { position: absolute; inset: 0; }
.stk { position: absolute; transform: translate(-50%, -50%); font-size: calc(11cqw * var(--sc, 1)); line-height: 1; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none; filter: drop-shadow(0 .5cqw .8cqw rgba(0, 0, 0, .25)); transition: opacity .15s; }
.stk.glyph { color: var(--ink); font-family: 'Fraunces', serif; filter: drop-shadow(0 .3cqw .5cqw rgba(0, 0, 0, .2)); }
.stk.sel { outline: 1.5px dashed var(--gold); outline-offset: 4px; border-radius: 8px; }
.stk.leaving { opacity: .35; }
.card-back { transform: rotateY(180deg); background: var(--cream-hi); display: grid; place-items: center; padding: 12cqw 11cqw 10cqw; }
.card-back::before { content: ''; position: absolute; inset: 6cqw 4cqw 4cqw; border: .4cqw solid rgba(180, 83, 60, .3); pointer-events: none; }
.paper-strip { position: absolute; top: 0; left: 0; right: 0; height: 2.2cqw; background: repeating-linear-gradient(-45deg, var(--terra) 0 2cqw, var(--cream-hi) 2cqw 4cqw); }
.card-msg { margin: 0; font-family: var(--font); font-weight: var(--fw, 700); color: var(--ink-dark); text-align: center; white-space: pre-line; line-height: 1.35; font-size: calc(var(--ms) * 1cqw * var(--fscale) * .9); overflow-wrap: anywhere; }


.studio-tabs { display: flex; gap: 4px; background: var(--sunken); box-shadow: var(--sunk); padding: 5px; border-radius: 999px; margin-bottom: 8px; }
.studio-tabs [role="tab"] { flex: 1; padding: 10px 6px; border-radius: 999px; border: none; background: none; font-weight: 600; color: var(--cream-dim); transition: background .2s, color .2s; }
.studio-tabs [aria-selected="true"] { background: var(--cream); color: var(--ink-dark); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .6); }
.studio-panel { animation: fade-up .35s ease both; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--sunken); box-shadow: var(--sunk); margin: 14px 0 4px; }
.seg button { border: none; background: none; padding: 7px 18px; border-radius: 999px; font-weight: 600; color: var(--cream-dim); }
.seg button[aria-pressed="true"] { background: var(--terra); color: var(--cream-hi); }
.panel .row.two { margin-top: 10px; }
.msg-head { display: flex; justify-content: space-between; align-items: baseline; }
.msg-head span { font-size: .78rem; }
#headline { margin-bottom: 8px; }
[data-act="generate"].spin { animation: pop .45s cubic-bezier(.2, 1.5, .4, 1); }
.bg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bg-thumb { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; border: 2px solid transparent; background: none; container-type: inline-size; overflow: hidden; padding: 0; transition: transform .2s, border-color .2s; box-shadow: 0 10px 18px -10px rgba(0, 0, 0, .7); }
.bg-thumb:hover { transform: translateY(-3px); }
.bg-thumb.on { border-color: var(--gold); transform: translateY(-3px); }
.bg-thumb .bg-fill { position: absolute; inset: 0; }
.bg-thumb span:not(.bg-fill) { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; color: var(--cream); }
.bg-thumb small { position: absolute; left: 0; right: 0; bottom: 5px; font-size: .62rem; font-weight: 600; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.font-chip { font-size: 1.05rem !important; }
.sticker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: 6px; }
.stk-btn { aspect-ratio: 1; font-size: 1.35rem; border-radius: 50%; border: none; background: var(--sunken); box-shadow: var(--sunk); color: var(--cream); font-family: var(--serif); transition: transform .15s; }
.stk-btn:hover { transform: scale(1.12) rotate(-8deg); }
.send-hero { display: flex; gap: 18px; align-items: center; margin: 18px 0 8px; }
.send-hero p { margin: 0; color: var(--cream-dim); line-height: 1.55; font-size: .93rem; }
.envelope-mini { --env: #b4533c; position: relative; flex: none; width: 110px; height: 74px; border-radius: 10px; background: var(--env); box-shadow: 0 14px 22px -10px rgba(0, 0, 0, .7), inset 0 -3px 0 rgba(0, 0, 0, .12); display: grid; place-items: center; }
.envelope-mini::before { content: ''; position: absolute; inset: 0 0 35%; background: color-mix(in srgb, var(--env) 82%, white); clip-path: polygon(0 0, 100% 0, 50% 100%); border-radius: 10px 10px 0 0; }
.envelope-mini span { position: relative; width: 22px; height: 22px; margin-top: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #d97a5c, var(--terra-lo)); box-shadow: 0 2px 4px rgba(0, 0, 0, .3); }
.envelope-mini.sent { animation: send-off 1.3s cubic-bezier(.5, 0, .3, 1); }
.link-out { margin-top: 14px; padding: 16px; border-radius: 20px; background: var(--sunken); box-shadow: var(--sunk); animation: fade-up .4s both; }
.link-len { font-size: .78rem; margin: 8px 0 0; font-style: italic; font-family: var(--serif); }
.link-preview { margin-top: 10px; }

/* ==========================================================================
   RECEIVER
   ========================================================================== */
.receiver { position: fixed; inset: 0; z-index: 500; overflow-y: auto; padding: 40px 16px 60px; background: radial-gradient(ellipse at 50% 0%, #2f5346, #152a23 72%); display: grid; place-items: center; }
.receiver[hidden] { display: none; }
body.receiving { overflow: hidden; }
body.receiving #snow { z-index: 600; }
body.receiving .dock, body.receiving .nav { display: none; }
.rcv-inner { width: 100%; max-width: 720px; text-align: center; }
.rcv-hello { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 6vw, 2.7rem); line-height: 1.15; margin: 0 0 10px; animation: fade-up .8s both; }
.rcv-hello strong { color: var(--gold); font-weight: 400; font-style: italic; }
.rcv-hint { font-family: var(--serif); font-style: italic; color: var(--gold); animation: bob 2s ease-in-out infinite; }

.envelope { --w: min(360px, 86vw); position: relative; width: var(--w); height: calc(var(--w) * .66); margin: 60px auto 16px; perspective: 1100px; animation: env-float 3.2s ease-in-out infinite; }
.env-back { position: absolute; inset: 0; border-radius: 14px; background: var(--env); filter: brightness(.72); box-shadow: 0 40px 60px -24px rgba(0, 0, 0, .7); }
.env-card { position: absolute; left: 28%; width: 44%; bottom: 5%; z-index: 2; transition: transform 1s cubic-bezier(.3, .8, .3, 1); }
.env-card .card-face { box-shadow: 0 2cqw 4cqw rgba(0, 0, 0, .3); }
.env-pocket { position: absolute; inset: 0; z-index: 3; border-radius: 14px; background: var(--env); clip-path: polygon(0 0, 50% 55%, 100% 0, 100% 100%, 0 100%); box-shadow: inset 0 -10px 20px rgba(0, 0, 0, .15); }
.env-pocket::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .14), transparent 50%); }
.env-flap { position: absolute; left: 0; right: 0; top: 0; height: 60%; z-index: 4; background: color-mix(in srgb, var(--env) 86%, white); clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: top; transition: transform .7s cubic-bezier(.4, 0, .2, 1), z-index 0s .35s; border-radius: 14px 14px 0 0; }
.seal { position: absolute; left: 50%; top: 58%; z-index: 5; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; border: none; display: grid; place-items: center; background: radial-gradient(circle at 35% 32%, #d97a5c, var(--terra) 55%, #6e2a1d); box-shadow: 0 8px 16px rgba(0, 0, 0, .4), inset 0 -4px 8px rgba(0, 0, 0, .3), inset 0 2px 0 rgba(255, 255, 255, .2); animation: pulse-ring 1.8s infinite; }
.envelope.opening { animation: none; }
.envelope.opening .seal { animation: seal-pop .45s forwards; pointer-events: none; }
.envelope.opening .env-flap { transform: rotateX(180deg); z-index: 1; }
.envelope.pulled .env-card { transform: translateY(-78%); }
.envelope.gone { display: none; }
.rcv-stage { width: min(380px, 84vw); margin: 20px auto 0; perspective: 1600px; }
.rcv-stage.pop { animation: card-pop .9s cubic-bezier(.2, 1.3, .4, 1) both; }
.rcv-stage .card3d { cursor: pointer; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.rcv-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.rcv-actions[hidden] { display: none; }
.wish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; text-align: center; }
.wish-item { padding: 28px 14px 18px; border-radius: 28px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: var(--clay); display: grid; justify-items: center; gap: 8px; animation: card-in .5s both; animation-delay: calc(var(--i) * 70ms); }
.wish-item p { margin: 0; }
.wish-item .buy-links { justify-content: center; }

/* ---------- dev tip ---------- */
.tip-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: start; }
.code { margin: 0; padding: 22px; border-radius: 26px; overflow: auto; background: #13261f; color: #eadbc4; font: 13px/1.7 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; box-shadow: var(--sunk); }
.tip-grid > * { min-width: 0; }
.code.small { font-size: 11px; max-height: 240px; white-space: pre-wrap; overflow-wrap: anywhere; }
.code .k { color: #e0946f; }
.code .f { color: var(--gold); }
.code .s { color: #b9d3bf; }
.code .c { color: #7f9a8c; font-style: italic; }
.tip-notes ul { padding-left: 0; list-style: none; display: grid; gap: 12px; margin: 14px 0 0; }
.tip-notes li { line-height: 1.55; color: var(--cream-dim); padding-left: 18px; position: relative; }
.tip-notes li::before { content: '✦'; position: absolute; left: 0; color: var(--copper); font-size: .8rem; top: 2px; }
.tip-notes li b { color: var(--cream); font-weight: 600; }
.tip-notes code { background: var(--sunken); padding: 1px 6px; border-radius: 6px; font-size: .85em; color: var(--cream); }
.tip-live { margin-top: 20px; animation: fade-up .5s both; }
.tip-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; font-size: .82rem; }
.tip-stats span { padding: 6px 11px; border-radius: 999px; background: rgba(217, 160, 102, .12); border: 1px solid rgba(217, 160, 102, .3); }
.tip-stats b { font-family: var(--serif); font-weight: 500; color: var(--gold); }
.tip-stats i { font-style: normal; color: var(--copper); }

.footer { text-align: center; padding: 60px 16px 120px; }
.footer p { margin: 6px 0; font-size: .9rem; }
.footer-title { font-family: var(--serif); font-size: 1.15rem !important; }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 10001; transform: translate(-50%, 160%); opacity: 0; visibility: hidden; padding: 12px 22px; border-radius: 999px; background: var(--cream); color: var(--ink-dark); font-weight: 500; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .7); transition: transform .4s cubic-bezier(.2, 1.3, .4, 1), opacity .3s, visibility .3s; max-width: calc(100vw - 120px); text-align: center; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ==========================================================================
   KEYFRAMES
   ========================================================================== */
@keyframes twinkle { from { opacity: .3; } to { opacity: 1; } }
@keyframes twinkle-scale { from { opacity: .45; transform: scale(.75); } to { opacity: 1; transform: scale(1.1); } }
@keyframes glow { from { opacity: .55; } to { opacity: 1; } }
@keyframes glow-burst { from { opacity: 1; } to { opacity: .4; } }
@keyframes puff { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 15% { opacity: .55; } 100% { opacity: 0; transform: translate(14px, -70px) scale(2.2); } }
@keyframes bob-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hop { 0% { transform: none; } 40% { transform: translateY(-14px) scale(1.02, .98); } 70% { transform: translateY(0) scale(1.02, .97); } 100% { transform: none; } }
@keyframes ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(18deg); } 40% { transform: rotate(-16deg); } 60% { transform: rotate(10deg); } 80% { transform: rotate(-6deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes letter-in { from { opacity: 0; transform: translateY(40px) rotateX(-70deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes flip-num { from { transform: rotateX(-90deg); opacity: .2; } to { transform: none; opacity: 1; } }
@keyframes popout { 0% { transform: translate(-50%, -50%) scale(.2); opacity: 0; } 15% { opacity: 1; } 70% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--rot)) scale(1.3); opacity: 1; } 100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy) + 80px)) rotate(var(--rot)) scale(1); opacity: 0; } }
@keyframes bounce { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.25) rotate(-8deg); } 70% { transform: scale(.94); } }
@keyframes card-in { from { opacity: 0; transform: translateY(30px) rotateX(-20deg) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.88); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.3) rotate(-10deg); } 60% { transform: scale(.92) rotate(5deg); } 100% { transform: scale(1); } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(217, 160, 102, .5), 0 10px 20px rgba(0, 0, 0, .35); } 100% { box-shadow: 0 0 0 18px rgba(217, 160, 102, 0), 0 10px 20px rgba(0, 0, 0, .35); } }
@keyframes glow-pulse { from { opacity: .5; } to { opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes send-off { 0% { transform: none; } 35% { transform: translateY(-30px) rotate(-12deg) scale(1.08); } 60% { transform: translate(260px, -180px) rotate(20deg) scale(.4); opacity: 0; } 61% { transform: translateY(40px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes env-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
@keyframes seal-pop { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(0) rotate(90deg); opacity: 0; } }
@keyframes card-pop { from { opacity: 0; transform: translateY(80px) scale(.5) rotate(-8deg); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   RESPONSIVE + REDUCED MOTION
   ========================================================================== */
@media (max-width: 980px) {
  .studio, .tip-grid { grid-template-columns: minmax(0, 1fr); }
  .studio-preview { position: relative; top: 0; }
}
@media (max-width: 720px) {
  .nav { padding: 12px 14px; }
  .nav-links { display: none; }
  .nav-cta { padding: 8px 14px; font-size: .8rem; }
  .hero { padding-top: 96px; }
  .village { width: 760px; }
  .tiles { gap: 14px 6px; }
  .tile { width: 30%; max-width: 118px; }
  .tile > .tile-icon { width: 86px; height: 86px; }
  .tile svg { width: 54px; height: 54px; }
  .pill-select, .pill-select.wide { flex: 1 1 100%; }
  .section { padding-top: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* =====================================================================
   Artwork without emoji: Google Material Symbols + clay SVG + postal bits
   ===================================================================== */
.ms {
  font-family: 'Material Symbols Rounded'; font-weight: normal; font-style: normal; font-size: 1.25em; line-height: 1;
  letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr;
  font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased; font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  vertical-align: -.22em; user-select: none; -webkit-user-select: none; overflow: hidden; max-width: 1.2em;
}
.ms-sm { font-size: 1.05em; vertical-align: -.18em; }
.btn .ms { margin: 0 -2px; }
.chip .ms { color: var(--copper); }
.chip.on .ms { color: var(--terra); }
.back-btn { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; }
.flag { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; vertical-align: -2px; margin-right: 6px; box-shadow: 0 0 0 1px rgba(242, 226, 201, .25); }
.flag-ms { color: var(--sage); margin-right: 4px; }

/* ticket (basket total) */
.ticket-bar {
  display: grid; grid-template-columns: auto 1fr 1.2fr auto; align-items: center; margin: 14px 0 4px; color: var(--cream-hi);
  background: linear-gradient(135deg, #b8443a, #8f2a22);
  -webkit-mask: radial-gradient(circle 10px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 10px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  border-radius: 6px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35)); transform: rotate(-1deg);
}
.ticket-bar > div { padding: 12px 16px; display: grid; gap: 1px; }
.ticket-bar small { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.ticket-bar b { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.ticket-l { padding-left: 22px !important; }
.ticket-l .ms { font-size: 1.9rem; color: #f2e2c9; }
.ticket-m { border-left: 2px dashed rgba(251, 242, 228, .35); }
.ticket-r { border-left: 2px dashed rgba(251, 242, 228, .35); text-align: right; padding-right: 24px !important; }

/* stickers that are SVG (clay figures + postmarks) */
.stk.clay svg { width: calc(18cqw * var(--sc, 1)); height: auto; display: block; }
.stk.mark { color: var(--ink); filter: none; opacity: .92; }
.stk.mark svg { width: calc(22cqw * var(--sc, 1)); height: auto; display: block; transform: rotate(-8deg); }
.stk-btn { display: grid; place-items: center; padding: 4px; }
.stk-btn svg { width: 82%; height: auto; }
.stk-btn.mark { color: var(--cream); }
.stk-btn.mark svg { width: 92%; }

/* postage stamps */
.stamp { display: block; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .28)); }
.stamp-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.stamp-btn { background: none; border: none; padding: 4px; border-radius: 8px; transition: transform .2s; }
.stamp-btn:hover { transform: rotate(-4deg) translateY(-3px); }
.stamp-btn.on { outline: 2px solid var(--gold); outline-offset: 2px; transform: rotate(3deg); }
.card-post { position: absolute; top: 4cqw; right: 4cqw; width: 30cqw; height: 26cqw; pointer-events: none; }
.card-post .stamp { position: absolute; right: 0; top: 0; width: 14cqw; height: auto; transform: rotate(4deg); }
.card-post .postmark { position: absolute; right: 9cqw; top: 6cqw; width: 17cqw; height: auto; opacity: .85; transform: rotate(-12deg); }
.card-msg { padding-top: 22cqw !important; }
.mini-stamp { position: absolute; top: 6px; right: 7px; transform: rotate(5deg); z-index: 2; }
.mini-stamp .stamp { width: 22px; height: auto; filter: none; }
.env-post { position: absolute; right: 6%; bottom: 9%; width: 42%; height: 46%; }
.env-post .stamp { position: absolute; right: 0; bottom: 0; width: 34%; height: auto; transform: rotate(5deg); }
.env-post .postmark { position: absolute; right: 22%; bottom: 8%; width: 46%; height: auto; opacity: .85; transform: rotate(-14deg); }

/* village extras */
.bulb { animation: bulb 2.8s ease-in-out infinite; }
@keyframes bulb { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.ginger { transform-box: fill-box; transform-origin: 50% 100%; animation: ginger-sway 3.4s ease-in-out infinite; }
.celebrate .ginger { animation: hop .55s ease 4; }
@keyframes ginger-sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }

/* footer: gingham band + postmarks */
.footer { border-top: 0; }
.footer::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 18px; opacity: .55;
  background: repeating-linear-gradient(0deg, rgba(180, 83, 60, .7) 0 9px, transparent 9px 18px), repeating-linear-gradient(90deg, rgba(180, 83, 60, .7) 0 9px, transparent 9px 18px), var(--cream);
}
.footer-marks { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; margin: 10px auto 26px; opacity: .85; }
.footer-marks > :nth-child(odd) { transform: rotate(-10deg); }
.footer-marks > :nth-child(even) { transform: rotate(6deg); }
@media (max-width: 720px) {
  .footer-marks > :nth-child(n+4) { display: none; }
  .ticket-bar b { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .bulb, .ginger { animation: none; } }

/* =====================================================================
   COZY SECTIONS: full-bleed themed backgrounds + knitted dividers
   ===================================================================== */
.basket-sec, .cinema, .ideas { position: relative; isolation: isolate; }
.basket-sec::after, .cinema::after, .ideas::after {
  content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); width: 100vw; pointer-events: none;
}
/* knitted fair-isle band between sections */
.knit {
  position: relative; z-index: 1; height: 34px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='34'%3E%3Crect width='48' height='34' fill='%23a8322a'/%3E%3Cg fill='%23f2e2c9'%3E%3Crect x='2' y='3' width='4' height='3'/%3E%3Crect x='14' y='3' width='4' height='3'/%3E%3Crect x='26' y='3' width='4' height='3'/%3E%3Crect x='38' y='3' width='4' height='3'/%3E%3Crect x='2' y='28' width='4' height='3'/%3E%3Crect x='14' y='28' width='4' height='3'/%3E%3Crect x='26' y='28' width='4' height='3'/%3E%3Crect x='38' y='28' width='4' height='3'/%3E%3Cpath d='M22 10h4v3h4v3h4v3h-4v3h-4v3h-4v-3h-4v-3h-4v-3h4v-3h4z'/%3E%3C/g%3E%3Cg fill='%232f5d4c'%3E%3Crect x='22' y='16' width='4' height='3'/%3E%3Crect x='4' y='15' width='4' height='4'/%3E%3Crect x='40' y='15' width='4' height='4'/%3E%3C/g%3E%3C/svg%3E") repeat-x center / auto 34px;
  box-shadow: inset 0 3px 0 rgba(0, 0, 0, .18), inset 0 -3px 0 rgba(0, 0, 0, .18), 0 10px 24px -14px rgba(0, 0, 0, .7);
}

/* light "wool blanket" sections */
.basket-sec, .ideas {
  --cream: #3b2a20; --cream-dim: rgba(59, 42, 32, .66); --cream-line: rgba(59, 42, 32, .14);
  --surface: #fbf4e8; --surface-2: #fffaf3; --sunken: #f1e5d1;
  --sunk: inset 0 3px 8px rgba(120, 80, 40, .13), inset 0 -1px 0 rgba(255, 255, 255, .6);
  --clay: 0 24px 44px -28px rgba(90, 50, 20, .55), inset 0 1px 0 #fff;
  color: var(--cream); padding-bottom: 90px;
}
.basket-sec::after {
  background:
    radial-gradient(900px 420px at 50% 0%, #fffaf1, transparent 70%),
    repeating-linear-gradient(0deg, rgba(168, 50, 42, .045) 0 2px, transparent 2px 46px),
    repeating-linear-gradient(90deg, rgba(168, 50, 42, .045) 0 2px, transparent 2px 46px),
    #f5ead8;
}
.ideas::after {
  background: radial-gradient(rgba(122, 74, 51, .14) 1.2px, transparent 1.6px) 0 0 / 22px 22px, linear-gradient(180deg, #f8efe1, #f2e4cd);
}
:is(.basket-sec, .ideas) .ornament-line { background: rgba(59, 42, 32, .28); }
:is(.basket-sec, .ideas) .ornament-line::before, :is(.basket-sec, .ideas) .ornament-line::after { border-color: rgba(59, 42, 32, .35); }
:is(.basket-sec, .ideas) .btn:not(.btn-primary) { background: #fff; border-color: rgba(59, 42, 32, .12); box-shadow: 0 8px 16px -12px rgba(90, 50, 20, .55); }
:is(.basket-sec, .ideas) .btn:not(.btn-primary):hover { background: #fff7ec; }
:is(.basket-sec, .ideas) .chip { background: #fff; border-color: rgba(59, 42, 32, .1); }
:is(.basket-sec, .ideas) .chip:hover { background: #fff7ec; }
:is(.basket-sec, .ideas) .chip.on { background: var(--terra); border-color: var(--terra); color: #fffaf2; }
:is(.basket-sec, .ideas) .chip.on .ms { color: inherit; }
:is(.basket-sec, .ideas) input::placeholder { color: rgba(59, 42, 32, .4); }
:is(.basket-sec, .ideas) .pill-select select { background: #fff; }
.basket-sec .country-select { background-color: #fff; }
.basket-sec .swatch.on { box-shadow: 0 0 0 3px #fffaf3, 0 0 0 5px var(--terra); }
.basket-sec .link-out { background: #fff; }
.chips.center { justify-content: center; }

/* =====================================================================
   GIFT BASKET STUDIO
   ===================================================================== */
.wizard {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  max-width: 980px; margin: -8px auto 34px; padding: 10px; border-radius: 999px;
  background: #fff; box-shadow: 0 18px 36px -24px rgba(90, 50, 20, .6), inset 0 0 0 1px rgba(59, 42, 32, .06);
}
.wz-label { display: inline-flex; align-items: center; gap: 6px; padding: 0 8px 0 10px; font-family: var(--serif); font-style: italic; color: var(--terra); }
.wizard .pill-select { flex: 0 1 200px; }
.wizard .pill-select select { padding: 11px 40px; font-size: .88rem; background: #f6ecdc; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .05); }

.bs-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 28px; align-items: start; }
.bs-stage-col { position: sticky; top: 84px; }
.bench {
  position: relative; border-radius: 32px; overflow: hidden;
  background: radial-gradient(ellipse 70% 55% at 50% 42%, #fffaf0, #f3e4c9 68%, #e7d1ad);
  box-shadow: inset 0 0 0 1px rgba(120, 80, 40, .1), inset 0 -40px 60px -40px rgba(90, 50, 20, .25), 0 34px 60px -34px rgba(90, 50, 20, .6);
}
/* gingham blanket the basket sits on */
.bench::after {
  content: ''; position: absolute; left: -10%; right: -10%; bottom: -2%; height: 20%; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(168, 50, 42, .32) 0 12px, transparent 12px 24px), repeating-linear-gradient(90deg, rgba(168, 50, 42, .32) 0 12px, transparent 12px 24px), #f7eee0;
  transform: perspective(500px) rotateX(48deg); transform-origin: 50% 100%; border-top: 3px solid rgba(168, 50, 42, .35);
}
.bench-lights {
  position: absolute; left: 0; right: 0; top: 0; height: 44px; z-index: 2; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='44'%3E%3Cpath d='M0 6Q30 30 60 10T120 6' fill='none' stroke='%235c3626' stroke-width='1.6'/%3E%3Cg%3E%3Ccircle cx='18' cy='20' r='5' fill='%23ffcf7a'/%3E%3Ccircle cx='46' cy='17' r='5' fill='%23e0946f'/%3E%3Ccircle cx='78' cy='12' r='5' fill='%23fbf2e4'/%3E%3Ccircle cx='104' cy='9' r='5' fill='%23ffcf7a'/%3E%3C/g%3E%3C/svg%3E") repeat-x 0 0 / 120px 44px;
  filter: drop-shadow(0 0 6px rgba(255, 190, 110, .8)); animation: lights-glow 2.4s ease-in-out infinite alternate;
}
@keyframes lights-glow { from { filter: drop-shadow(0 0 2px rgba(255, 190, 110, .4)); } to { filter: drop-shadow(0 0 8px rgba(255, 190, 110, .95)); } }
.stage { position: relative; z-index: 1; aspect-ratio: 640 / 600; touch-action: none; outline: none; border-radius: 32px; transition: background .2s; }
.stage:focus-visible { box-shadow: inset 0 0 0 3px var(--gold); }
.stage.drop-hot { background: radial-gradient(ellipse at 50% 60%, rgba(179, 38, 45, .1), transparent 65%); box-shadow: inset 0 0 0 3px rgba(179, 38, 45, .4); }
.stage-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.stage .it { cursor: grab; }
.stage .it:active { cursor: grabbing; }
.stage .it:hover .it-anim { filter: brightness(1.05) drop-shadow(0 6px 6px rgba(90, 50, 20, .25)); }
.sel-box { fill: rgba(255, 255, 255, .12); stroke: #b3262d; stroke-width: 2; stroke-dasharray: 7 5; vector-effect: non-scaling-stroke; pointer-events: none; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.it.leaving { opacity: .35; }
.it-anim { transform-box: fill-box; transform-origin: 50% 100%; }
.it-anim.drop { animation: item-drop .75s cubic-bezier(.3, .8, .4, 1.15) both; }
@keyframes item-drop { 0% { transform: translateY(-280px) rotate(-14deg); opacity: 0; } 20% { opacity: 1; } 60% { transform: translateY(0) scale(1.08, .9); } 80% { transform: translateY(-14px); } 100% { transform: none; } }
.stage-empty { position: absolute; left: 0; right: 0; top: 24%; z-index: 2; display: grid; justify-items: center; gap: 4px; text-align: center; pointer-events: none; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: #7a4a33; }
.stage-empty .ms { font-size: 2.6rem; max-width: none; color: var(--terra); animation: bob 2s ease-in-out infinite; }
.stage-empty p { margin: 0; line-height: 1.5; }
.stage-empty[hidden] { display: none; }
.item-tools {
  position: absolute; left: 50%; top: 14px; z-index: 3; display: flex; align-items: center; gap: 1px; padding: 5px 6px 5px 16px;
  border-radius: 999px; background: #3b2a20; color: #fbf2e4; box-shadow: 0 16px 30px -14px rgba(40, 20, 10, .8);
  transform: translate(-50%, -160%); opacity: 0; pointer-events: none; transition: transform .35s cubic-bezier(.2, 1.3, .4, 1), opacity .2s;
}
.item-tools.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.item-tools button { width: 36px; height: 36px; border: none; border-radius: 50%; background: none; color: inherit; display: grid; place-items: center; }
.item-tools button:hover { background: rgba(255, 255, 255, .14); }
.item-tools [data-tool="del"] { color: #f2a08f; }
.it-name { font-family: var(--serif); font-style: italic; font-size: .86rem; margin-right: 6px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.ticket-bar { margin: 18px 4px 0; }
.ticket-bar .budget select { appearance: none; -webkit-appearance: none; width: auto; padding: 2px 8px; border: none; border-radius: 8px; background: rgba(0, 0, 0, .2); color: #fbf2e4; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; box-shadow: none; cursor: pointer; }
.ticket-bar .meter { margin-top: 6px; height: 5px; background: rgba(0, 0, 0, .25); }
.ticket-bar .meter i { background: #f2e2c9; }
.ticket-bar .meter.over i { background: #ffb39f; }
.ticket-r em { font-style: normal; font-size: .72rem; color: #ffd3c4; }

/* cellophane wrap */
.cello.wrapping { transform-box: fill-box; transform-origin: 50% 100%; animation: cello-in .85s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes cello-in { from { transform: scale(.92, .05); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
.cello-bow { transform-box: fill-box; transform-origin: 50% 30%; }
.cello-bow.wrapping { animation: bow-in .7s .65s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes bow-in { from { transform: scale(0) rotate(-50deg); } to { transform: none; } }
.tag-swing { transform-box: fill-box; transform-origin: 0 0; animation: tag-sway 4s ease-in-out infinite; }
@keyframes tag-sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(3deg); } }
.cello.unwrapping { transform-box: fill-box; transform-origin: 50% 0; animation: cello-off .9s cubic-bezier(.6, 0, .8, .4) forwards; }
@keyframes cello-off { to { transform: translateY(-110%) rotate(-10deg) scale(.5); opacity: 0; } }
.cello-bow.unwrapping { animation: bow-off .8s cubic-bezier(.5, 0, .7, .4) forwards; }
@keyframes bow-off { 25% { transform: scale(1.2); } to { transform: translateY(-420px) rotate(200deg) scale(.3); opacity: 0; } }

/* side panel: tabs, shop, pickers, list */
.studio-tabs, .bs-tabs { display: flex; gap: 4px; background: var(--sunken); box-shadow: var(--sunk); padding: 5px; border-radius: 999px; margin-bottom: 14px; }
.bs-tabs [role="tab"] { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 4px; border: none; border-radius: 999px; background: none; font-weight: 600; font-size: .88rem; color: var(--cream-dim); transition: background .2s, color .2s; }
.bs-tabs [role="tab"] .ms { font-size: 1.1em; }
.bs-tabs [aria-selected="true"] { background: #fff; color: var(--terra); box-shadow: 0 6px 14px -8px rgba(90, 50, 20, .5); }
.bs-panel { animation: fade-up .35s ease both; }
.bs-panel[hidden] { display: none; }
.cat-chips { margin-bottom: 14px; }
.chip-sep { width: 1px; align-self: stretch; margin: 2px 4px; background: var(--cream-line); }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; max-height: 640px; overflow-y: auto; padding: 4px 6px 10px 2px; margin-right: -6px; scrollbar-width: thin; }
.pcard {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 8px 8px 10px; border-radius: 20px; background: #fff; cursor: grab; user-select: none; -webkit-user-select: none;
  box-shadow: 0 12px 22px -16px rgba(90, 50, 20, .55), inset 0 0 0 1px rgba(120, 80, 40, .07);
  animation: card-in .5s cubic-bezier(.2, .9, .3, 1.1) both; transition: transform .25s cubic-bezier(.2, 1.4, .4, 1), box-shadow .25s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 20px 30px -18px rgba(90, 50, 20, .6), inset 0 0 0 1px rgba(120, 80, 40, .07); }
.pcard-img { display: grid; place-items: center; aspect-ratio: 1; width: 100%; min-width: 0; overflow: hidden; padding: 8px; border: none; border-radius: 14px; background: radial-gradient(circle at 50% 62%, #f9f1e4, #efe1ca); cursor: inherit; }
.pcard-img svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 6px rgba(90, 50, 20, .2)); transition: transform .35s cubic-bezier(.2, 1.4, .4, 1); }
.pcard:hover .pcard-img svg { transform: translateY(-5px) rotate(-4deg) scale(1.05); }
.pcard h4 { font-size: .88rem; font-weight: 500; line-height: 1.2; padding: 2px 2px 0; min-height: 2.1em; }
.pcard-row { display: flex; align-items: center; justify-content: space-between; padding: 0 2px; }
.pcard-price { font-family: var(--serif); font-weight: 600; font-size: .92rem; color: #a8322a; }
.add-btn { width: 30px; height: 30px; border: none; border-radius: 50%; display: grid; place-items: center; background: var(--terra); color: #fffaf2; box-shadow: 0 6px 12px -6px rgba(138, 58, 42, .9); transition: transform .2s; }
.add-btn:hover { transform: scale(1.12) rotate(90deg); }
.pcard-n { position: absolute; top: 6px; left: 6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; background: #2f5d4c; color: #fff; font-size: .72rem; font-weight: 700; z-index: 1; }
.p-ghost { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; filter: drop-shadow(0 18px 16px rgba(60, 30, 10, .35)); }
.p-ghost svg { width: 120px; height: 120px; overflow: visible; }
body.dragging-gift { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.pick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pick-tile { display: grid; justify-items: center; gap: 2px; padding: 6px 6px 10px; border-radius: 20px; border: 2px solid transparent; background: var(--sunken); transition: transform .2s, border-color .2s, background .2s; }
.pick-tile:hover { transform: translateY(-3px); }
.pick-tile.on { border-color: var(--terra); background: #fff; }
.pick-art { width: 100%; aspect-ratio: 640 / 380; overflow: hidden; display: block; }
.pick-art svg { width: 100%; height: auto; display: block; margin-top: -32%; }
.pick-tile small { font-family: var(--serif); font-size: .9rem; }
.fill-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; }
.fill-tissue { background: #fbf6ec; box-shadow: inset 0 0 0 1px #c9b48f; }
.fill-crinkle { background: repeating-linear-gradient(45deg, #c0392b 0 3px, #7a1a1d 3px 5px); }
.fill-woodwool { background: repeating-linear-gradient(45deg, #e0bb83 0 3px, #b8894c 3px 5px); }
.fill-snow { background: #fff; box-shadow: inset 0 0 0 1px #d8dde0; }
.fill-none { box-shadow: inset 0 0 0 1.5px currentColor; opacity: .5; }
#tag-form { margin-top: 0; }
.shop-list { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; max-height: 520px; overflow-y: auto; }
.li { display: grid; grid-template-columns: 50px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 18px; background: #fff; box-shadow: 0 8px 16px -14px rgba(90, 50, 20, .6); }
.li-img svg { width: 48px; height: 48px; overflow: visible; }
.li-info { display: grid; min-width: 0; }
.li-info strong { font-family: var(--serif); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-info span { font-size: .8rem; }
.li .buy-links { grid-column: 1 / -1; }

/* =====================================================================
   COZY CINEMA (warm theatre)
   ===================================================================== */
.cinema { --surface: #3d231c; --surface-2: #4a2a21; --sunken: #26130f; --cream-line: rgba(242, 226, 201, .12); padding-bottom: 90px; }
.cinema::after {
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(255, 170, 90, .16), transparent 70%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .16) 0 22px, rgba(255, 255, 255, .015) 22px 30px, rgba(0, 0, 0, 0) 30px 52px),
    linear-gradient(180deg, #3a1a15, #2a1310 55%, #24110e);
}
.bulbs { position: absolute; top: 14px; left: calc(50% - 50vw); width: 100vw; height: 22px; pointer-events: none; }
.bulbs::before, .bulbs::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle, #ffe2a0 0 4px, rgba(255, 196, 110, .45) 5px, transparent 10px) 0 50% / 64px 22px repeat-x;
  animation: bulbs 1.1s steps(2, jump-none) infinite alternate;
}
.bulbs::after { background-position: 32px 50%; animation-delay: -1.1s; }
@keyframes bulbs { from { opacity: .3; } to { opacity: 1; } }
.cinema .kicker { color: var(--gold); }
.cine-bar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: center; margin-bottom: 8px; }
.reel-count { font-family: var(--serif); font-style: italic; color: var(--gold); }
.reels {
  display: grid; gap: 8px; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; padding: 6px 0 10px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.reel { overflow: hidden; padding: 16px 0 18px; }
.reel-track { display: flex; width: max-content; animation: reel var(--dur, 120s) linear infinite; }
.reel.rev .reel-track { animation-direction: reverse; }
.reel:hover .reel-track, .reel:focus-within .reel-track { animation-play-state: paused; }
.reel-dup { display: contents; }
.reel .poster { margin-right: 18px; }
@keyframes reel { to { transform: translateX(-50%); } }

.pal-red { --a: #c4473a; --b: #7a1a1d; --ink: #fbf2e4; }
.pal-green { --a: #4b8a68; --b: #1f4434; --ink: #fbf2e4; }
.pal-navy { --a: #45648f; --b: #1b2a45; --ink: #fbf2e4; }
.pal-cream { --a: #fbf2e4; --b: #e4cfac; --ink: #7a1a1d; }
.pal-mustard { --a: #ebba55; --b: #b07a22; --ink: #3b1f12; }
.pal-plum { --a: #94506f; --b: #4a2238; --ink: #fbf2e4; }
.pal-kraft { --a: #d2ad7f; --b: #926b43; --ink: #33200f; }
.pal-sage { --a: #b4d0ba; --b: #6f927b; --ink: #1f3a2c; }
.poster {
  position: relative; flex: none; width: 176px; padding: 8px 8px 0; border: none; border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; text-align: left; color: #3b2a20;
  background: linear-gradient(180deg, #fffaf1, #f4e8d4);
  box-shadow: 0 22px 30px -18px rgba(0, 0, 0, .8), inset 0 -4px 0 var(--cc, #b4533c), inset 0 1px 0 #fff;
  transform: rotate(var(--tilt, 0deg)); transition: transform .4s cubic-bezier(.2, 1.4, .4, 1), box-shadow .3s;
}
.reel .poster:nth-child(3n) { --tilt: 1.4deg; }
.reel .poster:nth-child(3n+1) { --tilt: -1.2deg; }
.poster:hover, .poster:focus-visible { transform: translateY(-10px) rotate(-1.5deg) scale(1.04); box-shadow: 0 34px 40px -18px rgba(0, 0, 0, .9), inset 0 -4px 0 var(--cc, #b4533c), inset 0 1px 0 #fff; z-index: 2; }
/* image area: illustrated stand-in underneath, real poster on top */
.po-img { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .22), transparent 45%), radial-gradient(circle, rgba(255, 255, 255, .14) 1.3px, transparent 1.8px) 0 0 / 16px 16px, linear-gradient(170deg, var(--a), var(--b)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.po-art { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; padding: 12px; color: var(--ink); text-align: center; }
.po-art svg { width: 56%; max-width: 96px; height: auto; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .3)); }
.po-art b { font-family: var(--serif); font-weight: 600; font-size: .95rem; line-height: 1.15; }
.po-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.poster:hover .po-img img { transform: scale(1.05); }
.po-cat { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 4px 9px; border-radius: 999px; background: var(--cc); color: #fff; font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 4px 10px -3px rgba(0, 0, 0, .55); }
.po-cap { display: grid; gap: 3px; padding: 9px 4px 14px; }
.po-title { font-family: var(--serif); font-weight: 600; font-size: .98rem; line-height: 1.15; min-height: 2.3em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.po-title small { display: none; }
.po-line { font-size: .74rem; line-height: 1.3; color: rgba(59, 42, 32, .75); min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.po-meta { font-size: .66rem; font-weight: 600; letter-spacing: .02em; color: var(--cc); filter: brightness(.85); }
.ticket-body h3 small, .tonight-out h3 small, .db-title small { display: block; font-family: var(--sans); font-size: .58rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.po-saved { position: absolute; top: 4px; right: 16px; z-index: 1; width: 24px; height: 34px; padding-top: 7px; display: grid; justify-items: center; align-content: start; background: var(--gold); color: #3b2a20; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%); box-shadow: 0 4px 8px rgba(0, 0, 0, .4); }
.po-saved .ms { font-size: .9rem; }
/* colour-coded category bits */
.cat-pill { display: inline-block; padding: 3px 9px; margin-right: 6px; border-radius: 999px; background: var(--cc); color: #fff; font-size: .62rem; letter-spacing: .1em; vertical-align: 1px; }
.ticket-line { margin: -4px 0 8px; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: #7a4a33; }
.cat-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cc); box-shadow: 0 0 0 2px rgba(255, 255, 255, .18); }
.genre-chip.on { background: var(--cc); border-color: var(--cc); color: #fff; }
.genre-chip.on .cat-dot { background: #fff; }

/* details ticket */
.ticket-dialog { width: min(760px, 94vw); max-height: 92vh; padding: 0; border: none; background: none; color: #3b2a20; overflow-y: auto; }
.ticket-dialog::backdrop { background: rgba(24, 10, 7, .66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ticket-dialog[open] { animation: pop .45s cubic-bezier(.2, 1.3, .4, 1); }
.ticket {
  display: grid; grid-template-columns: 240px 1fr; border-radius: 22px; overflow: hidden; background: #fbf3e4;
  -webkit-mask: radial-gradient(circle 15px at 240px 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 15px at 240px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 15px at 240px 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 15px at 240px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.ticket-poster { display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 30%, #4a2a21, #24110e); }
.ticket-poster .poster { width: 100%; cursor: default; }
.ticket-poster .poster:hover { transform: rotate(-2deg); }
.ticket-body { position: relative; padding: 28px 28px 24px; border-left: 3px dashed rgba(122, 26, 29, .22); }
.ticket-x { position: absolute; top: 12px; right: 12px; color: #3b2a20; border-color: rgba(59, 42, 32, .15); background: none; }
.ticket-x:hover { background: rgba(59, 42, 32, .06); }
.ticket-kind { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #a8322a; }
.ticket-body h3 { font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1.05; margin: 8px 0 10px; padding-right: 40px; }
.ticket-body > p { line-height: 1.6; }
.chip.static { cursor: default; background: #f0e2cb; border-color: transparent; color: #7a4a33; }
.chip.static:hover { transform: none; background: #f0e2cb; }
.ticket-pair { font-size: .92rem; }
.ticket-dialog .ticket-pair { color: rgba(59, 42, 32, .78); }
.ticket-pair b { color: var(--gold); }
.ticket-dialog .ticket-pair b { color: #a8322a; }
.ticket-pair .ms { color: var(--copper); }
.ticket-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ticket-dialog .btn:not(.btn-primary) { color: #3b2a20; background: #fff; border-color: rgba(59, 42, 32, .16); }

/* tonight's pick + watchlist */
.cine-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; margin-top: 34px; align-items: start; }
.tonight h3, .watch h3 { display: flex; align-items: center; gap: 10px; font-size: 1.45rem; }
.tonight h3 .ms, .watch h3 .ms { color: var(--gold); }
.tonight-form { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 18px; }
.tonight-form .pill-select { flex: 1 1 150px; }
.tonight-form .pill-select select { padding: 11px 30px; font-size: .86rem; }
.tonight-form .pill-select::before { left: 14px; }
.tonight-form .pill-select::after { right: 14px; }
.tonight-body { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: center; }
.tonight-slot { display: grid; place-items: center; min-height: 380px; padding: 14px; border-radius: 22px; background: var(--sunken); box-shadow: var(--sunk); }
.tonight-slot .poster { width: 186px; }
.tonight-slot.rolling .poster { animation: flick .12s ease; }
.poster.landed { animation: pop .55s cubic-bezier(.2, 1.5, .4, 1); }
@keyframes flick { from { transform: translateY(-16px); opacity: .4; } to { transform: none; opacity: 1; } }
.slot-blank { display: grid; justify-items: center; gap: 8px; font-family: var(--serif); font-style: italic; color: var(--cream-dim); }
.tonight-out { animation: fade-up .5s both; }
.tonight-out .kicker { margin: 0; }
.tonight-out h3 { display: block; font-size: 1.8rem; line-height: 1.08; margin: 4px 0; }
.tonight-out p { line-height: 1.55; margin: 8px 0; }
.watch-stats { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; margin: 10px 0 12px; font-size: .82rem; color: var(--cream-dim); }
.watch-stats b { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; color: var(--gold); }
.watch-stats .meter { flex: 1 1 100%; }
.meter { display: block; height: 8px; border-radius: 99px; background: rgba(0, 0, 0, .28); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), #f3cd8e); transition: width .5s ease; }
.meter.over i { background: linear-gradient(90deg, #e0574c, #b3262d); }
.watchlist { list-style: none; padding: 0 4px 0 0; margin: 0; display: grid; gap: 8px; max-height: 380px; overflow-y: auto; scrollbar-width: thin; }
.wl { display: grid; grid-template-columns: auto 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 16px; background: var(--sunken); animation: fade-up .35s both; }
.wl.seen { opacity: .55; }
.wl.seen b { text-decoration: line-through; text-decoration-color: var(--gold); }
.wl-check { position: relative; cursor: pointer; }
.wl-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wl-check i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; border: 2px solid rgba(242, 226, 201, .3); color: transparent; transition: background .2s, border-color .2s; }
.wl-check input:checked ~ i { background: var(--gold); border-color: var(--gold); color: #3b2a20; }
.wl-check input:focus-visible ~ i { outline: 2px solid var(--gold); outline-offset: 2px; }
.wl-thumb { width: 40px; height: 52px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(170deg, var(--a), var(--b)); }
.wl-info { display: grid; min-width: 0; padding: 0; border: none; background: none; text-align: left; color: inherit; }
.wl-info b { font-family: var(--serif); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-info small { font-size: .74rem; color: var(--cream-dim); }
.wl .icon-btn { width: 32px; height: 32px; border: none; }
.watch-empty { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: var(--sunken); }
.watch-empty p { margin: 0; line-height: 1.5; }
.watch-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.watch-actions input { flex: 1 1 150px; width: auto; }

/* advent calendar */
.advent { margin-top: 70px; }
.sub-head { text-align: center; margin-bottom: 22px; }
.sub-head h3 { font-weight: 400; font-size: clamp(1.9rem, 4.5vw, 2.6rem); }
.sub-head p { margin: 8px 0 0; }
.advent-grid {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; padding: 20px; border-radius: 30px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 220, 170, .12), transparent 60%), linear-gradient(160deg, #7a4a33, #563122);
  box-shadow: inset 0 0 0 7px #8f5d40, inset 0 0 0 9px rgba(0, 0, 0, .2), inset 0 0 40px rgba(0, 0, 0, .45), 0 30px 50px -30px #000;
}
.door-cell { position: relative; aspect-ratio: 4 / 5; border-radius: 12px; perspective: 700px; animation: fade-up .5s both; animation-delay: calc(var(--i) * 25ms); }
.door-back { position: absolute; inset: 0; overflow: hidden; display: grid; justify-items: center; align-content: end; gap: 2px; padding: 6px 6px 8px 22%; border-radius: 12px; text-align: center; color: var(--ink); background: linear-gradient(170deg, var(--a), var(--b)); box-shadow: inset 0 5px 14px rgba(0, 0, 0, .5); }
.db-title { border: none; background: none; padding: 0; color: inherit; font-family: var(--serif); font-weight: 600; font-size: .8rem; line-height: 1.15; }
.db-title::after { content: ''; position: absolute; inset: 0; border-radius: 12px; }
.door-back small { font-size: .62rem; opacity: .8; }
.door {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 6px; border: none; border-radius: 12px;
  color: #7a1a1d; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .55), transparent 55%), #f3e6cf;
  box-shadow: inset 0 0 0 2px rgba(122, 26, 29, .14), inset 0 -4px 0 rgba(0, 0, 0, .08), 0 8px 12px -8px rgba(0, 0, 0, .7);
  transform-origin: 0 50%; transition: transform .9s cubic-bezier(.3, .9, .3, 1), box-shadow .9s;
}
.door-cell:nth-child(3n+2) .door { color: #fbf2e4; background-color: #a8322a; }
.door-cell:nth-child(3n) .door { color: #fbf2e4; background-color: #2f5d4c; }
.door-cell:nth-child(4n) .door { color: #3b2a20; background-color: #d9a066; }
.door::before { content: ''; position: absolute; inset: 5px; border: 1px dashed currentColor; border-radius: 8px; opacity: .3; }
.door::after { content: ''; position: absolute; right: 9px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: currentColor; opacity: .5; }
.door-n { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 2.2rem); font-weight: 600; line-height: 1; }
.door-art { position: absolute; left: 6px; bottom: 4px; }
.door-lock { position: absolute; top: 6px; right: 8px; opacity: .55; }
.door:hover:not(.open) { transform: rotateY(-16deg); }
.door.locked { filter: saturate(.7) brightness(.92); }
.door.open { transform: rotateY(-80deg); box-shadow: 12px 0 18px -10px rgba(0, 0, 0, .7); pointer-events: none; }
.door.nope { animation: nope .45s ease; }
@keyframes nope { 20% { transform: translateX(-6px) rotate(-2deg); } 40% { transform: translateX(5px) rotate(2deg); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.door-cell.today .door:not(.open) { box-shadow: 0 0 0 3px var(--gold), 0 0 26px rgba(255, 200, 120, .7); animation: today 1.4s ease-in-out infinite alternate; }
@keyframes today { to { box-shadow: 0 0 0 3px var(--gold), 0 0 8px rgba(255, 200, 120, .3); } }
.door-cell.big .door { background-color: #c9a050; color: #3b1f12; }

/* =====================================================================
   COZY IDEAS (Pinterest-style board)
   ===================================================================== */
.pins { columns: 4 230px; column-gap: 18px; margin-top: 26px; }
.pin { position: relative; break-inside: avoid; margin: 0 0 18px; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 16px 28px -20px rgba(90, 50, 20, .6); transition: transform .3s cubic-bezier(.2, 1.4, .4, 1), box-shadow .3s; animation: fade-up .6s both; animation-delay: calc(var(--i) * 35ms); }
.pin:hover { transform: translateY(-5px); box-shadow: 0 26px 36px -22px rgba(90, 50, 20, .7); }
.pin-art { display: grid; place-items: center; padding: 30px 16px; background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .4), transparent 60%), var(--pb); }
.pin.h1 .pin-art { padding: 50px 16px; }
.pin.h2 .pin-art { padding: 22px 16px; }
.pin-art svg { width: clamp(96px, 60%, 170px); height: auto; max-height: 190px; overflow: visible; filter: drop-shadow(0 14px 10px rgba(60, 30, 10, .25)); transition: transform .45s cubic-bezier(.2, 1.4, .4, 1); }
.pin:hover .pin-art svg { transform: rotate(-5deg) scale(1.07); }
.bg-cream { --pb: #f3e6cf; } .bg-sage { --pb: #cfe0d0; } .bg-blush { --pb: #f4d6cb; } .bg-kraft { --pb: #dcc3a0; } .bg-navy { --pb: #3c5a82; } .bg-mustard { --pb: #f1d38f; }
.pin-save { position: absolute; top: 12px; right: 12px; padding: 10px 18px; border: none; border-radius: 999px; background: #b3262d; color: #fff; font-weight: 700; font-size: .86rem; box-shadow: 0 8px 16px -8px rgba(122, 26, 29, .8); opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s, background .2s; }
.pin:hover .pin-save, .pin-save:focus-visible, .pin-save.on { opacity: 1; transform: none; }
.pin-save.on { background: #3b2a20; }
@media (hover: none) { .pin-save { opacity: 1; transform: none; } }
.pin-body { padding: 14px 16px 16px; }
.pin-body h4 { font-size: 1.08rem; font-weight: 600; color: #3b2a20; }
.pin-body p { margin: 6px 0 0; font-size: .88rem; line-height: 1.5; color: rgba(59, 42, 32, .72); }
.pin-add { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; padding: 6px 12px; border: none; border-radius: 999px; background: #f6ecdc; color: #7a1a1d; font-size: .76rem; font-weight: 600; text-align: left; }
.pin-add:hover { background: #f0e0c6; }
.pins-empty { text-align: center; column-span: all; padding: 30px 0; }

/* =====================================================================
   RECEIVER: basket + watchlist
   ===================================================================== */
.rcv-basket { max-width: 820px; }
.rcv-basket-stage { width: min(560px, 94vw); margin: 0 auto; cursor: pointer; }
.rcv-basket-stage svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .35)); }
.rcv-basket-stage:not(.unwrapped) .cello-bow { animation: bow-pulse 1.6s ease-in-out infinite; }
@keyframes bow-pulse { 0%, 100% { transform: none; } 50% { transform: scale(1.06) rotate(-3deg); } }
.rcv-basket-stage.unwrapped { cursor: default; }
.rcv-unwrapped { animation: fade-up .6s both; margin-top: 10px; }
.rcv-unwrapped h3 { font-size: 1.9rem; font-weight: 400; }
.rcv-unwrapped .pill-select { display: inline-block; width: 280px; max-width: 100%; margin: 14px auto 22px; }
.wish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; text-align: center; }
.wish-item { padding: 18px 14px 16px; border-radius: 26px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: var(--clay); display: grid; justify-items: center; gap: 6px; align-content: start; animation: card-in .6s both; animation-delay: calc(var(--i) * 60ms); }
.wi-img svg { width: 96px; height: 96px; overflow: visible; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .3)); }
.wish-item h4 { font-size: 1.05rem; }
.wish-item p { margin: 0; }
.wi-buy { width: 100%; }
.wi-buy summary { cursor: pointer; font-size: .85rem; color: var(--gold); list-style: none; }
.wi-buy summary::-webkit-details-marker { display: none; }
.wi-buy .buy-links { justify-content: center; }
.rcv-watch { max-width: 900px; }
.rcv-marquee { display: inline-flex; align-items: center; gap: 18px; text-align: left; }
.rcv-marquee .kicker { margin: 0; color: var(--gold); }
.rcv-posters { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 30px 0 10px; }
.rp { animation: card-in .6s both; animation-delay: calc(var(--i) * 70ms); }
.rp:nth-child(odd) .poster { --tilt: -2deg; }
.rp:nth-child(even) .poster { --tilt: 2deg; }
.rcv-posters .poster { width: 146px; }

/* =====================================================================
   RESPONSIVE (new sections)
   ===================================================================== */
@media (max-width: 980px) {
  .bs-layout, .cine-grid { grid-template-columns: minmax(0, 1fr); }
  .bs-stage-col { position: relative; top: 0; }
  .shop-grid { max-height: 560px; }
}
@media (max-width: 720px) {
  .wizard { border-radius: 26px; padding: 12px; }
  .wz-label { flex: 1 1 100%; justify-content: center; }
  .wizard .pill-select, .wizard .btn { flex: 1 1 100%; }
  .bench { border-radius: 24px; margin: 0 -6px; }
  .item-tools { padding: 4px; }
  .item-tools .it-name { display: none; }
  .item-tools button { width: 33px; height: 33px; }
  .stage-actions .btn { padding: 9px 13px; font-size: .86rem; }
  .ticket-bar .ticket-l { display: none; }
  .ticket-bar { grid-template-columns: 1fr 1.3fr auto; }
  .ticket-bar > div { padding: 10px 12px; }
  .ticket-m:nth-child(2) { border-left: 0; padding-left: 20px !important; }
  .bs-tabs [role="tab"] { font-size: .8rem; flex-direction: column; gap: 0; padding: 7px 2px; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #cine-filters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; width: 100%; padding: 2px 2px 8px; scrollbar-width: none; }
  #cine-filters .chip { flex: none; }
  .poster { width: 136px; padding: 11px 9px 12px; }
  .po-title { font-size: .9rem; }
  .reel .poster { margin-right: 14px; }
  .tonight-body { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .tonight-slot { min-height: 0; width: 100%; }
  .tonight-out .ticket-actions { justify-content: center; }
  .advent-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px; border-radius: 22px; }
  .db-title { font-size: .62rem; }
  .door-back small { display: none; }
  .db-art svg { width: 28px; height: 28px; }
  .door-art svg { width: 22px; height: 22px; }
  .pins { columns: 2; column-gap: 12px; }
  .pin { margin-bottom: 12px; border-radius: 18px; }
  .pin-art svg { width: clamp(70px, 62%, 120px); max-height: 130px; }
  .pin-body { padding: 10px 12px 12px; }
  .pin-body h4 { font-size: .95rem; }
  .pin-body p { font-size: .8rem; }
  .pin-save { padding: 7px 12px; font-size: .76rem; top: 8px; right: 8px; }
  .ticket { grid-template-columns: minmax(0, 1fr); -webkit-mask: none; mask: none; }
  .ticket-poster { padding: 18px; }
  .ticket-poster .poster { width: 140px; }
  .ticket-body { border-left: 0; border-top: 3px dashed rgba(122, 26, 29, .22); padding: 20px 18px; }
  .rcv-posters .poster { width: 128px; }
  .rcv-marquee { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .reel { overflow-x: auto; }
  .reel-dup { display: none; }
  .bench-lights, .bulbs::before, .bulbs::after, .tag-swing, .door-cell.today .door { animation: none; }
}

/* =====================================================================
   COZY LANDING: looking out of a warm window at the village
   ===================================================================== */
.hero {
  background:
    radial-gradient(ellipse 55% 38% at 50% 74%, rgba(255, 168, 88, .2), transparent 70%),
    linear-gradient(180deg, #1a332b 0%, #1e382f 38%, #283428 62%, #34291f 82%, #3b2b20 100%);
}
/* frosted window corners + a soft vignette, like lamplight in a dark room */
.hero::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: min(100%, 1060px); z-index: 4; pointer-events: none;
  background:
    radial-gradient(ellipse 26% 30% at 0 0, rgba(251, 242, 228, .2), rgba(251, 242, 228, .06) 55%, transparent 75%),
    radial-gradient(ellipse 26% 30% at 100% 0, rgba(251, 242, 228, .2), rgba(251, 242, 228, .06) 55%, transparent 75%),
    radial-gradient(ellipse 18% 22% at 0 100%, rgba(251, 242, 228, .08), transparent 70%),
    radial-gradient(ellipse 18% 22% at 100% 100%, rgba(251, 242, 228, .08), transparent 70%),
    radial-gradient(ellipse 95% 75% at 50% 45%, transparent 55%, rgba(18, 9, 4, .42));
}
.hero-title { text-shadow: 0 3px 0 rgba(0, 0, 0, .16), 0 14px 30px rgba(8, 4, 2, .45), 0 0 60px rgba(255, 176, 96, .22); }

/* warm lamplight behind the houses and deeper, softer shadows */
.village-glow { position: absolute; left: 50%; bottom: 4%; width: min(1100px, 110%); height: 70%; transform: translateX(-50%); z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 55% at 50% 75%, rgba(255, 170, 90, .28), rgba(255, 150, 70, .08) 55%, transparent 72%); filter: blur(10px); animation: lamplight 5s ease-in-out infinite alternate; }
@keyframes lamplight { from { opacity: .75; } to { opacity: 1; } }
.vl-mid, .vl-front { filter: drop-shadow(0 18px 22px rgba(10, 6, 3, .45)); }
.win .halo { filter: blur(2px); }


/* tiles: warm clay plates with soft shadows */
.tile > .tile-icon { background: radial-gradient(circle at 50% 30%, #4a3628, #2b1d15 75%); box-shadow: inset 0 4px 12px rgba(0, 0, 0, .45), inset 0 -2px 0 rgba(255, 210, 160, .08), 0 18px 26px -16px rgba(0, 0, 0, .8); }
.tile:hover > .tile-icon { background: radial-gradient(circle at 50% 30%, #5a4130, #33231a 75%); }
.scrolled .nav { background: rgba(38, 30, 22, .82); }

@media (max-width: 720px) {
}
/* =====================================================================
   HOT COCOA: soft, quiet landing (title, sleeps, village, six plates)
   ===================================================================== */
.logo .mug-mark { display: block; filter: drop-shadow(0 5px 8px rgba(0, 0, 0, .3)); transition: transform .4s cubic-bezier(.2, 1.4, .4, 1); transform-origin: 50% 90%; }
.logo:hover .mug-mark, .logo:focus-visible .mug-mark { transform: rotate(-8deg) translateY(-1px); }
.mm-steam { fill: none; stroke: #f2e2c9; stroke-width: 1.8; stroke-linecap: round; opacity: 0; animation: mug-steam 3.4s ease-in-out infinite; }
.mm-steam.s2 { animation-delay: 1.7s; }
@keyframes mug-steam { 0% { opacity: 0; transform: translateY(3px); } 40% { opacity: .8; } 100% { opacity: 0; transform: translateY(-3px); } }

.hero {
  padding-top: 128px;
  background:
    radial-gradient(ellipse 60% 34% at 50% 18%, rgba(255, 196, 140, .1), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 76%, rgba(255, 170, 96, .2), transparent 72%),
    linear-gradient(180deg, #1b3029 0%, #22372e 34%, #2d3328 58%, #362a20 80%, #3c2c21 100%);
}
.hero::before {
  background:
    radial-gradient(ellipse 30% 34% at 0 0, rgba(251, 242, 228, .13), rgba(251, 242, 228, .04) 55%, transparent 78%),
    radial-gradient(ellipse 30% 34% at 100% 0, rgba(251, 242, 228, .13), rgba(251, 242, 228, .04) 55%, transparent 78%),
    radial-gradient(ellipse 100% 80% at 50% 45%, transparent 60%, rgba(18, 9, 4, .3));
}
.hero-title {
  font-weight: 300; font-size: clamp(3.4rem, 10vw, 6.8rem); letter-spacing: -.035em; line-height: .95;
  font-variation-settings: 'SOFT' 100, 'WONK' 0; color: #fbf2e4;
  text-shadow: 0 2px 16px rgba(20, 10, 4, .3), 0 0 70px rgba(255, 176, 104, .26);
}
.word-main span:hover { color: #f6d2a4; }

.countdown {
  display: inline-flex; align-items: baseline; gap: 9px; margin: 24px 0 0; padding: 8px 22px 9px;
  border-radius: 999px; background: rgba(251, 242, 228, .07); border: 1px solid rgba(251, 242, 228, .1);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 16px 34px -22px rgba(0, 0, 0, .7);
  font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: rgba(251, 242, 228, .76);
}
.countdown b { font-style: normal; font-weight: 400; font-size: 1.55rem; line-height: 1; color: #f6d2a4; font-variant-numeric: tabular-nums; font-variation-settings: 'SOFT' 100; text-shadow: 0 0 20px rgba(255, 190, 120, .45); display: inline-block; }
.countdown b.tick { animation: flip-num .6s ease; }
.countdown.is-christmas b { display: none; }

.village-wrap { margin-top: 4px; }
/* a low warm haze where the village meets the plates */
.village-wrap::after { content: ''; position: absolute; left: 0; right: 0; bottom: -40px; height: 150px; z-index: 5; pointer-events: none;
  background: radial-gradient(ellipse 55% 100% at 50% 100%, rgba(255, 214, 172, .1), transparent 72%); filter: blur(14px); }

.hero-sections { margin-top: 30px; }
.tiles { gap: clamp(14px, 3vw, 40px); }
.tile { gap: 4px; }
.tile > .tile-icon {
  background: radial-gradient(circle at 50% 32%, rgba(255, 226, 190, .15), rgba(255, 226, 190, .04) 72%);
  border: 1px solid rgba(251, 242, 228, .08);
  box-shadow: inset 0 1px 0 rgba(255, 240, 220, .1), 0 22px 34px -22px rgba(0, 0, 0, .7);
  transition: background .4s, transform .4s cubic-bezier(.2, 1.4, .4, 1);
}
.tile:hover > .tile-icon, .tile:focus-visible > .tile-icon { background: radial-gradient(circle at 50% 32%, rgba(255, 214, 170, .24), rgba(255, 214, 170, .06) 72%); transform: translateY(-3px); }
.tile svg { filter: drop-shadow(0 8px 8px rgba(10, 5, 2, .28)); }
.tile b { font-weight: 400; font-style: italic; font-size: 1rem; color: rgba(251, 242, 228, .82); }

@media (prefers-reduced-motion: reduce) { .village-glow, .mm-steam { animation: none; } .mm-steam { opacity: .6; } }

/* currency picker */
.shop-top { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: -4px 0 10px; }
.shop-top .label { margin: 0; }
.mini-select { width: auto; padding: 6px 30px 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; appearance: none; -webkit-appearance: none; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%233b2a20' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center / 12px;
  box-shadow: 0 6px 14px -10px rgba(90, 50, 20, .6); border: 1px solid rgba(59, 42, 32, .1); }
.list-selects { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.list-selects .label { display: grid; gap: 6px; margin: 4px 0 0; }
.rcv-selects { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 14px auto 22px; }
.rcv-selects .pill-select { width: 240px; margin: 0; }

/* advent: the opened door reveals the poster */
.door-back .po-img { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 12px; }
.door-back .po-art b { display: none; }
.door-back::after { content: ''; position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(180deg, transparent 45%, rgba(20, 10, 6, .85)); pointer-events: none; }
.door-back .db-title, .door-back small { position: relative; z-index: 1; color: #fbf2e4; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.door-back { box-shadow: inset 0 5px 14px rgba(0, 0, 0, .5); }
/* watchlist thumbnail = mini poster */
.wl-thumb { overflow: hidden; background: none; }
.wl-thumb .po-img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 8px; }
.wl-thumb .po-art { padding: 2px; }
.wl-thumb .po-art b { display: none; }
.wl-thumb .po-art svg { width: 70%; }
@media (max-width: 720px) {
  .poster { width: 146px; padding: 6px 6px 0; }
  .po-cat { top: 11px; left: 11px; font-size: .54rem; padding: 3px 7px; }
  .po-title { font-size: .88rem; }
  .po-line { font-size: .68rem; }
  .tonight-slot { min-height: 0; }
  .door-back .db-title { font-size: .58rem; }
}
