/* Thrillfinity — Golden Wave aesthetic
   Deep emerald, near-black, rich gold, glass, luminous ripples.
   data-mode="private" restrains the glow; data-mode="open" warms it. */

:root {
  --bg-0: #06140f;
  --bg-1: #0a1c15;
  --bg-2: #10261d;
  --emerald: #165c45;
  --emerald-mid: #1f7a5a;
  --emerald-soft: rgba(48, 160, 120, 0.38);
  --gold: #d4b15a;
  --gold-bright: #f0e0a0;
  --gold-deep: #8a6a24;
  --gold-ink: #102018;
  --cream: #f6eccf;
  --cream-dim: #cbbd90;
  --muted: #8ea58f;
  --line: rgba(224, 195, 106, 0.4);
  --glass: rgba(10, 32, 24, 0.55);
  --danger-soft: #d7c08a;
  --glow: 0 0 70px rgba(232, 196, 80, 0.28);
  --glow-strong: 0 0 90px rgba(80, 230, 190, 0.18);
  --radius: 18px;
  --header-h: 72px;
  --tile-h: 168px;
  --font-display: "Cinzel", "Palatino Linotype", Palatino, serif;
  --font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-ui: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.68, 0, 1);
  color-scheme: dark;
}

[data-mode="private"] {
  --gold: #c4a35a;
  --gold-bright: #d7c48a;
  --glow: 0 0 28px rgba(196, 163, 90, 0.1);
  --glow-strong: 0 0 40px rgba(196, 163, 90, 0.14);
  --emerald-soft: rgba(26, 72, 56, 0.28);
}

[data-mode="open"] {
  --gold: #d4b15a;
  --gold-bright: #f0e0a0;
  --glow: 0 0 60px rgba(232, 196, 80, 0.26);
  --glow-strong: 0 0 90px rgba(240, 214, 130, 0.32);
  --emerald-soft: rgba(48, 140, 102, 0.38);
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  background: var(--bg-0);
  color: var(--cream);
  line-height: 1.5;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

button, input, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

a { color: var(--gold-bright); }

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  background: var(--gold);
  color: var(--gold-ink);
  padding: 8px 14px;
  border-radius: 8px;
}

.skip-link:focus { top: 12px; }

.visually-hidden,
.sr-live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.aurora {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(36, 90, 68, 0.45), transparent 55%),
    radial-gradient(ellipse 40% 35% at 80% 20%, rgba(180, 140, 50, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(20, 70, 52, 0.28), transparent 55%),
    radial-gradient(ellipse 80% 50% at 50% 110%, rgba(201, 168, 76, 0.08), transparent 50%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0) 40%, #040806);
}

[data-mode="open"] .aurora {
  background:
    radial-gradient(ellipse 70% 46% at 50% -4%, rgba(50, 120, 88, 0.5), transparent 58%),
    radial-gradient(ellipse 42% 38% at 82% 18%, rgba(220, 176, 64, 0.2), transparent 52%),
    radial-gradient(ellipse 50% 40% at 16% 86%, rgba(30, 90, 66, 0.35), transparent 55%),
    radial-gradient(ellipse 80% 50% at 50% 112%, rgba(232, 196, 80, 0.14), transparent 50%),
    linear-gradient(180deg, #0a1812, var(--bg-0) 42%, #040806);
}

[data-mode="private"] .aurora {
  background:
    radial-gradient(ellipse 55% 32% at 50% 0%, rgba(24, 64, 50, 0.32), transparent 55%),
    radial-gradient(ellipse 30% 24% at 72% 18%, rgba(160, 130, 60, 0.07), transparent 50%),
    linear-gradient(180deg, #060d0a, #050907 50%, #040706);
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.45) 100%);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header,
main,
.site-footer { position: relative; z-index: 1; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px 10px;
  min-height: var(--header-h);
}

.brand {
  display: grid;
  justify-items: center;
  gap: 1px;
  color: var(--gold-bright);
  text-align: center;
  flex: 1;
}

.brand-wave {
  width: 76px;
  height: 16px;
  color: var(--gold);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
}

.brand-tag {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.header-nav {
  position: absolute;
  right: 12px;
  top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-nav .text-btn { font-size: 0.78rem; }

.header-total {
  display: none;
  margin: 0;
  font-size: 0.75rem;
  color: var(--gold-bright);
  letter-spacing: 0.06em;
}

.mode-switch {
  display: flex;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.mode-switch button {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding: 6px 10px;
  border-radius: 999px;
}

.mode-switch button[aria-pressed="true"] {
  background: linear-gradient(180deg, rgba(232, 212, 139, 0.18), rgba(201, 168, 76, 0.12));
  color: var(--gold-bright);
}

.icon-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
}

.icon-btn[aria-pressed="true"] {
  background: rgba(201, 168, 76, 0.16);
  color: var(--gold-bright);
}

@media (max-width: 859px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 8px;
  }
  .header-nav {
    position: static;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    order: 3;
    margin-top: 6px;
  }
  .mode-switch button { font-size: 0.62rem; padding: 5px 8px; }
}

@media (min-width: 860px) {
  .brand { flex: none; justify-items: start; text-align: left; }
  .site-header { padding-inline: 36px; }
  .header-total { display: block; }
  .header-nav { position: static; }
}

/* Footer */
.site-footer {
  margin-top: auto;
  text-align: center;
  padding: 28px 20px 36px;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-demo {
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.62rem;
  color: var(--cream-dim);
  opacity: 0.7;
  margin-bottom: 8px;
}

.footer-marks {
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.62rem;
  color: var(--gold);
  margin-top: 10px;
}

/* Views */
.view {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 8px 0 48px;
  animation: rise 0.7s var(--ease) both;
}

@keyframes rise {
  from { opacity: 0; }
  to { opacity: 1; }
}

.eyebrow,
.play-kicker {
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--gold);
  text-align: center;
  margin: 8px 0 14px;
}

h1[tabindex="-1"]:focus { outline: none; }

h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 8vw, 3.8rem);
  line-height: 1.12;
  text-align: center;
  color: var(--gold-bright);
  margin: 0 0 16px;
  text-wrap: balance;
}

h2 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--gold-bright);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.lede {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  line-height: 1.45;
  text-align: center;
  color: var(--cream);
  margin: 0 auto 22px;
  max-width: 38rem;
}

.trust-line,
.mini-note {
  text-align: center;
  color: var(--cream-dim);
  font-size: 0.86rem;
}

.trust-line { margin: 16px 0 0; }
.trust-line.compact { margin-top: 18px; font-size: 0.8rem; }
.mini-note { font-size: 0.78rem; color: var(--muted); }

/* Buttons */
.text-btn {
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
  padding: 8px 6px;
}

.text-btn:hover { color: var(--gold-bright); }

.btn-gold,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  width: 100%;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.86rem;
  border-radius: 8px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, opacity 0.2s;
}

.btn-gold {
  background: linear-gradient(180deg, #f3e0a1 0%, #d4af4a 46%, #b8892d 100%);
  color: var(--gold-ink);
  border: 1px solid #f7e7b0;
  box-shadow: var(--glow), 0 8px 22px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  clip-path: polygon(3% 0, 97% 0, 100% 50%, 97% 100%, 3% 100%, 0 50%);
}

.btn-gold:hover { transform: translateY(-1px); box-shadow: var(--glow-strong), 0 10px 26px rgba(0, 0, 0, 0.4); }
.btn-gold:disabled,
.btn-outline:disabled { opacity: 0.38; cursor: not-allowed; transform: none; }

.btn-gold-lg {
  width: min(360px, 100%);
  margin: 10px auto 0;
  display: flex;
  min-height: 58px;
  font-size: 0.95rem;
}

.btn-outline {
  background: transparent;
  color: var(--gold-bright);
  border: 1px solid var(--gold);
  clip-path: polygon(3% 0, 97% 0, 100% 50%, 97% 100%, 3% 100%, 0 50%);
}

.btn-outline:hover { background: rgba(201, 168, 76, 0.08); }

.stack-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

/* Gate */
.mode-cards {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.mode-card {
  text-align: left;
  padding: 22px 22px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: var(--glow);
  backdrop-filter: blur(16px);
  display: grid;
  gap: 8px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.mode-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--glow-strong);
}

.mode-kicker {
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.62rem;
  color: var(--gold);
}

.mode-card-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--gold-bright);
}

.mode-card-copy {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--cream);
}

.mode-card-cta {
  margin-top: 8px;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
}

.mode-card-private {
  background: linear-gradient(180deg, rgba(12, 22, 18, 0.8), rgba(8, 14, 12, 0.9));
}

.mode-card-open {
  background: linear-gradient(180deg, rgba(22, 42, 32, 0.72), rgba(10, 20, 16, 0.88));
  box-shadow: 0 0 40px rgba(201, 168, 76, 0.12);
}

@media (min-width: 760px) {
  .mode-cards { grid-template-columns: 1fr 1fr; }
}

/* Reels */
.reels-frame {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: linear-gradient(180deg, #16140f, #0a0a08);
  border: 1.5px solid var(--gold);
  border-radius: 20px;
  box-shadow:
    inset 0 0 0 1px rgba(122, 98, 48, 0.7),
    inset 0 0 30px rgba(0, 0, 0, 0.55),
    var(--glow);
  overflow: hidden;
  margin: 8px 0 10px;
}

.reel {
  height: var(--tile-h);
  border: 0;
  border-right: 1px solid rgba(180, 146, 60, 0.45);
  background: transparent;
  padding: 0;
  position: relative;
}

.reel:last-child { border-right: 0; }

.reel-window {
  display: block;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.reel-window::before,
.reel-window::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 28px;
  z-index: 1;
  pointer-events: none;
}

.reel-window::before { top: 0; background: linear-gradient(180deg, rgba(0,0,0,0.55), transparent); }
.reel-window::after { bottom: 0; background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent); }

.reel-strip {
  display: block;
  will-change: transform;
}

.reel-tile {
  height: var(--tile-h);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  padding: 8px;
}

.reel-mark {
  color: var(--gold);
  font-size: 0.95rem;
  opacity: 0.9;
  display: grid;
  place-items: center;
}
.reel-icon {
  width: 28px;
  height: 28px;
}
.reel-icon svg {
  width: 100%;
  height: 100%;
}
[data-mode="private"] .reel-icon {
  opacity: 0.82;
}
[data-mode="open"] .reel-icon {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 6px rgba(232, 196, 80, 0.35));
}
[data-mode="private"] .reel-word {
  letter-spacing: 0.08em;
}
[data-mode="open"] .reel-word {
  letter-spacing: 0.03em;
}

.reel-word {
  font-family: var(--font-display);
  color: var(--gold-bright);
  font-size: clamp(0.78rem, 3.1vw, 1.12rem);
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.2;
}

.reel.has-result { cursor: pointer; }
.reel.has-result:hover .reel-word { color: #fff4c8; }


/* Increment + jars */
.increment-bar {
  text-align: center;
  padding: 12px 12px 4px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(201, 168, 76, 0.06);
}

.increment-prompt {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.increment-value {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-bright);
}

.increment-math {
  margin: 0 0 6px;
  color: var(--cream-dim);
  font-size: 0.82rem;
}

.jars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.jar {
  text-align: center;
  padding: 16px 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 16, 13, 0.55);
  display: grid;
  gap: 6px;
  justify-items: center;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.jar-visual {
  width: 72px;
  height: 84px;
  position: relative;
  display: grid;
  place-items: end center;
}

.jar-glass {
  position: absolute;
  inset: 10px 14px 8px;
  border: 1.5px solid rgba(232, 212, 139, 0.55);
  border-radius: 8px 8px 12px 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(201,168,76,0.05));
  box-shadow: inset 0 0 12px rgba(232, 212, 139, 0.12);
}

.jar-glass::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 22px;
  height: 10px;
  transform: translateX(-50%);
  border: 1.5px solid rgba(232, 212, 139, 0.55);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.jar-fill {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 12px;
  height: 12%;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #f0d78c, #b8892d);
  box-shadow: 0 0 16px rgba(232, 196, 80, 0.45);
  transition: height 0.6s var(--ease);
}

.jar-glow {
  position: absolute;
  inset: auto 0 0;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(232, 196, 80, 0.28), transparent 70%);
}

.jar-name {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold-bright);
}

.jar-desc {
  font-size: 0.72rem;
  color: var(--cream-dim);
  line-height: 1.35;
}

.jar-amount {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.05rem;
}

.jar-cta {
  display: none;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.jars.awaiting .jar {
  border-color: var(--gold);
  box-shadow: var(--glow);
  animation: pulse-jar 1.8s ease-in-out infinite;
}

.jars.awaiting .jar-cta { display: block; }


.jar.just-received .jar-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(232, 212, 139, 0.7);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: ripple-out 0.9s ease-out forwards;
}

@keyframes ripple-out {
  to { width: 110px; height: 46px; opacity: 0; }
}

.jar.just-received {
  box-shadow: var(--glow-strong);
  border-color: var(--gold-bright);
}

@keyframes pulse-jar {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(201, 168, 76, 0.08); }
}

.skip-wave { display: block; margin: 8px auto 0; }

.combined {
  text-align: center;
  margin: 20px 0 8px;
}

.combined-label {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.combined-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  color: var(--gold-bright);
  font-weight: 500;
  margin: 4px 0;
}

/* Denoms */
.denoms {
  border: 0;
  margin: 18px 0 8px;
  padding: 0;
}

.denoms legend {
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  margin: 0 auto 10px;
  padding: 0;
  max-width: 36rem;
}

.denom-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.denom-chip,

.denom-chip[aria-pressed="true"] {
  background: linear-gradient(180deg, rgba(243, 224, 161, 0.2), rgba(201, 168, 76, 0.16));
  border-color: var(--gold);
  color: var(--gold-bright);
}



/* Actions */
.action-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

body[data-view="play"] .view-play {
  padding-bottom: 108px;
}

body[data-view="play"] .action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 calc(14px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(5, 10, 8, 0) 0%, #050a08 24%, #050a08 100%);
}

@media (max-width: 700px) {
  .view-play .trust-line.compact { display: none; }
}


/* Summary / pay / about */
.summary-card,
.pay-form,
.about-prose {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  backdrop-filter: blur(12px);
}

.summary-card dl { margin: 0; display: grid; gap: 12px; }
.summary-card div {
  display: grid;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}
.summary-card div:last-child { border: 0; padding: 0; }
.summary-card dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.summary-card dd { margin: 0; font-family: var(--font-serif); font-size: 1.2rem; }

.pay-form { display: grid; gap: 14px; }
.pay-form label,
.edit-form label,
.dialog label {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  color: var(--cream-dim);
}

.optional { color: var(--muted); font-size: 0.78rem; }

input[type="text"],
input[type="number"],
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--cream);
}

.fake-card {
  border-radius: 14px;
  padding: 18px 20px;
  background: linear-gradient(145deg, #1c2a22, #0c1410 55%, #1a1810);
  border: 1px solid var(--line);
  display: grid;
  gap: 8px;
}

.fake-card-label,
.fake-card-meta { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.fake-card-num { font-family: var(--font-display); letter-spacing: 0.16em; font-size: 1.15rem; }

.pay-amount { text-align: center; margin: 4px 0 0; }
.thanks-personal {
  font-family: var(--font-serif);
  text-align: center;
  font-size: 1.25rem;
  color: var(--gold-bright);
}

.sound-opt {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 22px;
  color: var(--cream-dim);
  font-size: 0.86rem;
}

.placeholder-flag {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px dashed var(--line);
  padding: 8px;
  border-radius: 8px;
}

.about-prose p {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  margin: 0 0 1rem;
}

.about-mode-blurb {
  font-family: var(--font-serif);
  font-style: italic;
  text-align: center;
  color: var(--gold-bright);
  font-size: 1.2rem;
}


.faq { display: grid; gap: 10px; margin: 12px 0 8px; }

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  background: rgba(8, 16, 13, 0.45);
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  color: var(--gold-bright);
  letter-spacing: 0.03em;
}

.faq details p {
  margin: 10px 0 4px;
  color: var(--cream);
  font-size: 0.95rem;
}

/* Overlays */
[hidden] { display: none !important; }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(3, 7, 5, 0.72);
  display: grid;
  place-items: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.dialog {
  width: min(440px, 100%);
  background: linear-gradient(180deg, #101c17, #0a120f);
  border: 1px solid var(--gold);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: var(--glow-strong);
  text-align: center;
}

.dialog p { font-family: var(--font-serif); font-size: 1.15rem; }

.edit-form { text-align: left; display: grid; gap: 12px; }
.edit-combined { text-align: center; font-size: 1rem; }

.combo-dialog h2 {
  font-size: 1.8rem;
  margin: 8px 0;
}



/* Celebration */
.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 30;
}

.wave-wash {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 25;
  opacity: 0;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(232, 196, 80, 0.55), transparent 55%),
    linear-gradient(180deg, transparent, rgba(201, 168, 76, 0.18) 40%, rgba(20, 60, 44, 0.35));
}

.wave-wash.play {
  animation: wash 2.4s var(--ease) forwards;
}

@keyframes wash {
  0% { opacity: 0; transform: translateY(30%); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-8%); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .jars.awaiting .jar { animation: none; }
  .wave-wash.play { animation: none; opacity: 0.4; }
}

/* Small screens */
@media (max-width: 420px) {
  :root { --tile-h: 128px; }
  .site-header { padding-top: 10px; padding-bottom: 4px; }
  .header-nav .text-btn { letter-spacing: 0.04em; }
  .jar { padding: 10px 8px 8px; }
  .jar-visual { width: 58px; height: 68px; }
  .jar-desc { font-size: 0.64rem; }
  .combined { margin: 10px 0 2px; }
  .denoms { margin-top: 10px; }
  .denoms legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .btn-gold, .btn-outline { letter-spacing: 0.1em; font-size: 0.72rem; min-height: 48px; padding: 10px 12px; }
}

@media (min-width: 720px) {
  :root { --tile-h: 190px; }
  .view { padding-top: 18px; }
}


.footer-hub { margin-top: 12px; }
.footer-hub a { color: var(--gold); text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; }
.footer-hub a:hover { color: var(--gold-bright); }
h1[tabindex="-1"]:focus { outline: none; }


/* Hybrid — flowing light, rounded green glass, pill buttons */
.theme-hybrid .aurora {
  background:
    radial-gradient(ellipse 70% 46% at 50% -4%, rgba(50, 140, 100, 0.5), transparent 58%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(232, 196, 80, 0.22), transparent 52%),
    radial-gradient(ellipse 40% 50% at 10% 70%, rgba(40, 180, 150, 0.12), transparent 55%),
    linear-gradient(180deg, #0a1c15, #06140f 50%, #040c09);
}
.theme-hybrid .aurora::after {
  content: "";
  position: absolute;
  inset: 10% -10% auto;
  height: 55%;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(232,196,80,0.16), transparent 45%),
    radial-gradient(ellipse at 70% 40%, rgba(90,230,190,0.1), transparent 40%);
  filter: blur(8px);
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translateX(-4%) rotate(-2deg); }
  to { transform: translateX(4%) rotate(2deg); }
}
.brand-mono {
  width: 42px; height: 42px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  color: var(--gold-bright);
  margin-bottom: 4px;
  box-shadow: 0 0 18px rgba(232,196,80,0.25);
}
.reels-frame {
  border-radius: 28px;
  border-width: 3px;
  background: radial-gradient(circle at 50% 0%, #16382c, #07140f 70%);
  box-shadow: var(--glow), inset 0 0 40px rgba(20, 80, 55, 0.45);
}
.reel { border-right-color: rgba(224, 195, 106, 0.35); }
.reel-word { font-size: clamp(0.95rem, 3.4vw, 1.25rem); }

.jar-glass {
  inset: 22px 6px 8px;
  border-radius: 0 0 50% 50% / 0 0 70% 70%;
  background: linear-gradient(180deg, rgba(40,110,80,0.15), rgba(201,168,76,0.12));
}
.jar-glass::before {
  top: 8px; width: 48px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(232,212,139,0.45);
  background: transparent;
}
.jar-fill { border-radius: 0 0 50% 50% / 0 0 80% 80%; left: 10px; right: 10px; }

.btn-pill, .btn-pill-outline, .btn-pill-lg {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 36px; width: 100%;
  font-family: var(--font-display);
  letter-spacing: 0.22em; text-transform: uppercase;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn-pill {
  background: linear-gradient(180deg, #1c5a42, #0e2f24);
  color: var(--gold-bright);
  border: 2px solid var(--gold);
  box-shadow: 0 0 24px rgba(201,168,76,0.25), inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn-pill:hover { transform: translateY(-1px); box-shadow: var(--glow-strong); }
.btn-pill:disabled, .btn-pill-outline:disabled { opacity: 0.38; cursor: not-allowed; transform: none; }
.btn-pill-lg { width: min(280px, 100%); margin: 12px auto 0; display: flex; min-height: 56px; }
.btn-pill-outline {
  background: transparent;
  color: var(--gold-bright);
  border: 1.5px solid var(--gold);
}

.feature-row {
  list-style: none; padding: 28px 0 0; margin: 24px 0 0;
  display: grid; gap: 16px;
  border-top: 1px solid var(--line);
}
.feature-row li { text-align: center; color: var(--cream-dim); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.feature-row strong { display: block; font-weight: 500; color: var(--gold-bright); margin-top: 4px; font-family: var(--font-display); letter-spacing: 0.08em; font-size: 0.72rem; }
.feat-ico { color: var(--gold); font-size: 1.2rem; }
@media (min-width: 640px) { .feature-row { grid-template-columns: 1fr 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .theme-hybrid .aurora::after { animation: none; }
}

@media (max-width: 640px) {
  .btn-pill-outline { letter-spacing: 0.08em; font-size: 0.72rem; }
  .theme-hybrid .denom-chip { padding: 6px 10px; font-size: 0.78rem; }
}

/* v2 — one page: hero + game together, money under each reel */
.play-hero { text-align: center; margin: 0 0 10px; }
.play-hero .eyebrow, .play-hero .play-kicker { margin: 0 0 4px; }
.play-hero h1 { font-size: clamp(1.7rem, 5.4vw, 3rem); line-height: 1.05; margin: 0 0 6px; }
.play-lede { margin: 0 auto 6px; max-width: 38rem; font-size: 0.92rem; line-height: 1.4; color: var(--cream-dim); }
.reels-frame { margin-bottom: 0; }
.reel-amounts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 8px 0 4px; }
.reel-amount {
  margin: 0; display: grid; justify-items: center; gap: 2px; padding: 7px 4px 8px;
  border-radius: 0 0 14px 14px; border: 1px solid var(--line); border-top-width: 2px;
  background: var(--glass); position: relative; transition: box-shadow .3s, border-color .3s, transform .3s;
}
.reel-amount::before {
  content: ""; position: absolute; top: -9px; left: 50%; width: 0; height: 0; transform: translateX(-50%);
  border: 6px solid transparent; border-bottom-color: var(--gold);
}
.reel-amount-label { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.reel-amount-value { font-family: var(--font-display); font-size: clamp(1.05rem, 4.2vw, 1.55rem); color: var(--gold-bright); font-variant-numeric: tabular-nums; }
.reel-amount.is-rolling .reel-amount-value { opacity: .75; filter: blur(.4px); }
.reel-amount.is-settled { border-color: var(--gold); box-shadow: var(--glow-strong); animation: amtPop .45s var(--ease, ease); }
@keyframes amtPop { 0% { transform: scale(.92); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
.reel-sum { text-align: center; margin: 4px 0 6px; font-size: .86rem; color: var(--cream-dim); }
.reel-sum strong { color: var(--gold-bright); font-size: 1.05rem; }
.reel-sum span { color: var(--muted); font-size: .76rem; }
.view-play .feature-row { margin-top: 18px; }
@media (min-width: 720px) {
  :root { --tile-h: 170px; }
  .view { padding-top: 6px; }
}
@media (max-width: 700px) {
  .play-lede { display: none; }
  .play-hero h1 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .play-hero .neon-banner { display: none; }
}
@media (max-width: 420px) {
  :root { --tile-h: 118px; }
  .reel-amount { padding: 5px 2px 6px; }
  .reel-sum span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .reel-amount.is-settled { animation: none; } }
.theme-hybrid .reel-amount { border-radius: 0 0 22px 22px; background: radial-gradient(circle at 50% 0%, rgba(40,110,80,.35), rgba(7,20,15,.85)); }

/* ===== v3 — spin beside reels, inline reel amounts, trickle, editing, wall, monthly, currency ===== */
.reel-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 8px 0 6px;
}
.reel-stage .reels-frame { margin: 0; }
.reel {
  height: auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.reel-window { height: var(--tile-h); flex: none; }
.reel-amt {
  display: block;
  padding: 7px 2px 9px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.38);
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 3.4vw, 1.4rem);
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  transition: color 0.3s, text-shadow 0.3s;
}
.reel-amt.is-rolling { opacity: 0.7; filter: blur(0.3px); }
.reel-amt.is-settled { text-shadow: 0 0 14px rgba(232, 196, 80, 0.55); animation: amtPop 0.45s var(--ease, ease); }
@keyframes amtPop { 0% { transform: scale(0.86); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }

.reel-stage .spin-side {
  width: 108px;
  height: 108px;
  min-height: 0;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  clip-path: none;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  flex: none;
}
.reel-stage .spin-side:not(:disabled) { animation: spinBreath 2.6s ease-in-out infinite; }
@keyframes spinBreath { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }

@keyframes sumGlow { from { text-shadow: 0 0 10px rgba(232, 196, 80, 0.3); } to { text-shadow: 0 0 34px rgba(232, 196, 80, 0.8); } }

.jar { cursor: default; }
.jars.got-wave .jar-cta { display: block; }

.amt-editable { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; }
.amt-edit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 3px 10px;
  color: inherit;
  font: inherit;
  cursor: text;
  transition: border-color 0.2s, background 0.2s;
}
.amt-edit:hover, .amt-edit:focus-visible { border-color: var(--gold-bright); background: rgba(201, 168, 76, 0.1); }
.amt-edit .pencil { font-size: 0.85em; color: var(--gold); opacity: 0.85; }
.combined .amt-edit { padding: 4px 14px; }
.combined .combined-value { display: inline; }
.amt-input {
  width: 8.5em;
  max-width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--cream);
  background: rgba(0, 0, 0, 0.45);
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  padding: 5px 8px;
}
.combined .amt-input { font-size: 1.5rem; width: 7em; }
.amt-input[aria-invalid="true"] { border-color: #e88a7a; }
.amt-error, .join-error { display: block; color: #f0b3a6; font-size: 0.74rem; margin: 2px 0 0; text-align: center; }
.amt-error[hidden], .join-error[hidden] { display: none; }

.action-bar.send-bar { grid-template-columns: 1fr; }
.send-bar .send-main { width: min(380px, 100%); justify-self: center; }
@media (min-width: 760px) {
  body[data-view="play"] .action-bar.send-bar {
    position: static;
    width: auto;
    padding: 0;
    margin: 18px 0 6px;
    background: none;
  }
  body[data-view="play"] .view-play { padding-bottom: 48px; }
}

.trickle-layer { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.trickle-drop {
  position: fixed;
  width: 11px;
  height: 11px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff6d0, #e8c25a 55%, #9a7420);
  box-shadow: 0 0 10px rgba(232, 196, 80, 0.8);
  will-change: transform, opacity;
}

/* currency switch */
.cur-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.cur-btn {
  background: transparent;
  border: 0;
  color: var(--cream-dim);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  cursor: pointer;
}
.cur-btn[aria-pressed="true"] { background: rgba(201, 168, 76, 0.22); color: var(--gold-bright); }

/* wall of givers */
.givers, .celebrate {
  margin: 30px 0 10px;
  padding: 20px 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  text-align: center;
}
.celebrate { margin-top: 20px; }
.givers h2, .celebrate h2 { margin: 2px 0 6px; font-size: clamp(1.3rem, 4.4vw, 1.8rem); }
.givers .eyebrow { margin: 0; }
.givers-lede, .celebrate-lede { color: var(--cream-dim); font-size: 0.85rem; margin: 0 auto 12px; max-width: 34rem; }
.givers-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; text-align: left; }
.giver {
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid transparent;
}
.giver-rank { font-family: var(--font-display); color: var(--muted); font-variant-numeric: tabular-nums; }
.giver-who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.giver-name { color: var(--cream); font-weight: 500; overflow-wrap: anywhere; }
.giver-amount { font-family: var(--font-display); color: var(--gold-bright); font-variant-numeric: tabular-nums; white-space: nowrap; }
.giver.is-you { border-color: var(--gold-bright); box-shadow: var(--glow); }
.giver.is-you .giver-name::after { content: " · you"; color: var(--gold); font-size: 0.8em; }
.giver-top { padding: 11px 12px; }
.giver-top-1 { background: linear-gradient(90deg, rgba(232, 196, 80, 0.2), rgba(0, 0, 0, 0.2)); }
.giver-top-1 .giver-rank, .giver-top-2 .giver-rank, .giver-top-3 .giver-rank { color: var(--gold-bright); font-size: 1.1rem; }
.honor-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px 2px 3px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #241606;
  white-space: nowrap;
}
.honor-glyph {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  line-height: 1;
}
.honor-1 { background: linear-gradient(135deg, #fff1b8, #e3b53e 50%, #a8791c); box-shadow: 0 0 14px rgba(232, 196, 80, 0.7); animation: honorShine 2.8s ease-in-out infinite; }
.honor-2 { background: linear-gradient(135deg, #ffffff, #c9d1d8 50%, #8a96a0); box-shadow: 0 0 10px rgba(210, 220, 230, 0.5); }
.honor-3 { background: linear-gradient(135deg, #ffd9b0, #c98a4a 50%, #8a5426); box-shadow: 0 0 10px rgba(201, 138, 74, 0.5); }
@keyframes honorShine { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.18); } }
.giver-monthly {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  border-radius: 999px;
  padding: 1px 7px;
}
.giver-demo { font-size: 0.62rem; color: var(--muted); font-style: italic; opacity: 0.8; }
.monthly-teaser {
  margin-top: 14px;
  display: grid;
  gap: 8px;
  justify-items: center;
  font-size: 0.85rem;
  color: var(--cream-dim);
}
.monthly-teaser p { margin: 0; }
.monthly-teaser button { width: auto; min-width: 220px; }
.monthly-offer { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.monthly-offer h3 { margin: 0 0 4px; font-family: var(--font-display); color: var(--gold-bright); }
.monthly-offer p { margin: 0 0 6px; color: var(--cream-dim); font-size: 0.86rem; }

.join-form { display: grid; gap: 6px; justify-items: center; }
.join-form label { font-size: 0.8rem; color: var(--cream-dim); }
.join-row { display: flex; gap: 8px; width: min(440px, 100%); }
.join-row input, .monthly-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--cream);
  font: inherit;
}
.join-row button { width: auto; min-height: 44px; padding: 8px 16px; white-space: nowrap; letter-spacing: 0.08em; font-size: 0.8rem; }
.join-result { color: var(--gold-bright); font-size: 0.95rem; margin: 8px auto; max-width: 34rem; }

.monthly-form { display: grid; gap: 10px; }
.monthly-amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.monthly-chip {
  padding: 10px 6px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
  color: var(--cream);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.monthly-chip[aria-checked="true"] { border-color: var(--gold-bright); background: rgba(201, 168, 76, 0.2); color: var(--gold-bright); box-shadow: var(--glow); }

@media (max-width: 600px) {
  .reel-stage { gap: 8px; }
  .reel-stage .spin-side { width: 64px; height: 64px; font-size: 0.78rem; letter-spacing: 0.06em; }
  .reel-amt { padding: 5px 1px 7px; font-size: clamp(0.8rem, 3.6vw, 1rem); }
  .reel-word { font-size: clamp(0.66rem, 2.9vw, 0.9rem); }
  .giver { gap: 8px; padding: 8px 10px; }
  .honor-badge { font-size: 0.58rem; }
  .givers, .celebrate { padding: 16px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .reel-stage .spin-side:not(:disabled), .honor-1, .combined.is-flowing .combined-value, .reel-amt.is-settled { animation: none; }
}
@media (max-width: 480px) {
  .header-nav { gap: 8px; }
  .vip-chip { display: none; }
  .cur-btn { padding: 4px 8px; font-size: 0.68rem; }
}
/* Hybrid v3 flavour — warm green-gold */
.theme-hybrid .reel-amt { background: radial-gradient(circle at 50% 0%, rgba(40, 110, 80, 0.45), rgba(7, 20, 15, 0.85)); }
.theme-hybrid .reel-stage .spin-side { box-shadow: 0 0 0 3px rgba(224, 195, 106, 0.35), 0 0 34px rgba(80, 230, 190, 0.28); }
.theme-hybrid .honor-1 { background: linear-gradient(135deg, #fff3c2, #f0c95a 50%, #c08a2a); }
.theme-hybrid .honor-2 { background: linear-gradient(135deg, #e9fff4, #8fe0c0 50%, #3f9c7a); }
.theme-hybrid .honor-3 { background: linear-gradient(135deg, #ffe7c8, #f2a96a 50%, #b86a34); }
.theme-hybrid .givers, .theme-hybrid .celebrate { border-radius: 26px; }
.theme-hybrid .trickle-drop:nth-child(3n) { background: radial-gradient(circle at 35% 35%, #eafff6, #7dffc5 55%, #1b8a62); box-shadow: 0 0 10px rgba(125, 255, 197, 0.7); }

/* ===== v3.2 — single column, compact on laptops; Reset under Spin; scrollable givers board ===== */
.spin-col { display: grid; justify-items: center; gap: 8px; }
.reset-under {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--cream-dim);
  font: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  min-width: 72px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.reset-under:hover, .reset-under:focus-visible { border-color: var(--gold-bright); color: var(--gold-bright); }
.reset-under.is-armed { border-color: #e8a090; color: #ffd0c4; background: rgba(232, 120, 100, 0.12); }
.theme-thrill .reset-under { border-color: rgba(45, 226, 230, 0.6); color: #7ff6f8; font-family: "Rajdhani", var(--font-ui); font-weight: 700; }
.theme-thrill .reset-under.is-armed { border-color: #ff2ebd; color: #ff9bf0; background: rgba(255, 46, 189, 0.15); }
.theme-hybrid .reset-under { font-family: var(--font-display); }
.theme-golden .reset-under { font-family: var(--font-display); border-radius: 6px; }

.consent { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--cream-dim); cursor: pointer; text-align: left; }
.consent input { width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.theme-thrill .consent input { accent-color: #ff2ebd; }

.givers-count { margin: 4px 0 6px; font-size: 0.74rem; letter-spacing: 0.08em; color: var(--muted); }
.givers-scroll {
  position: relative;
  max-height: 19.5rem;              /* fallback ≈ 5 rows; JS fits it exactly to the 5th row */
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(0, 0, 0, 0.25);
  padding-right: 4px;
  -webkit-mask-image: none;
}
.givers-scroll:not(.has-more) { max-height: none !important; overflow: visible; }
.givers-scroll .givers-list { margin-top: 0; }
.givers-scroll.has-more:not(.at-end) {
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent);
  mask-image: linear-gradient(180deg, #000 82%, transparent);
}
.givers-scroll::-webkit-scrollbar { width: 6px; }
.givers-scroll::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.25); border-radius: 6px; }
.givers-scroll::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 6px; }
.theme-thrill .givers-scroll { scrollbar-color: #ff2ebd rgba(0, 0, 0, 0.3); }
.theme-thrill .givers-scroll::-webkit-scrollbar-thumb { background: linear-gradient(#ff2ebd, #2de2e6); }

@media (min-width: 1024px) {
  body[data-view="play"] .view-play { padding-top: 0; }
  .site-header { padding-top: 10px; padding-bottom: 2px; min-height: 0; }
  .view-play .play-hero { margin: 0 0 2px; }
  .view-play .play-hero h1 { font-size: clamp(1.6rem, 2.3vw, 2.2rem); margin: 0 0 2px; }
  .view-play .play-hero h1 br { display: none; }
  .view-play .play-hero h1 [data-copy="heroTitle2"]::before { content: " "; }
  .view-play .play-lede { font-size: 0.84rem; margin-bottom: 0; }
  .play-main .denoms { margin: 0 0 2px; }
  .play-main .denoms legend { margin-bottom: 2px; }
  .play-main .denom-chip { padding-top: 6px; padding-bottom: 6px; }
  .play-main .reel-stage { margin: 4px 0 2px; }
  .play-side .jars { gap: 12px; }
  .play-side .jar {
    grid-template-columns: auto 1fr;
    grid-template-areas: "vis name" "vis desc" "vis amt" "vis cta";
    justify-items: start;
    text-align: left;
    column-gap: 14px;
    row-gap: 2px;
    padding: 10px 14px;
  }
  .play-side .jar-visual { grid-area: vis; width: 56px; height: 66px; align-self: center; }
  .play-side .jar-name { grid-area: name; }
  .play-side .jar-desc { grid-area: desc; font-size: 0.66rem; }
  .play-side .jar .amt-editable { grid-area: amt; justify-content: flex-start; }
  .play-side .jar .amt-error { grid-column: 2; }
  .play-side .jar-cta { grid-area: cta; }
  .play-side .combined { margin: 10px 0 0; }
  .theme-thrill .play-side .combined { width: 200px; min-height: 200px; margin: 10px auto 0; padding: 12px; }
}
@media (min-width: 1024px) and (max-height: 920px) {
  :root { --tile-h: 128px; }
  .reel-stage .spin-side { width: 96px; height: 96px; }
  .theme-thrill .neon-banner { display: none; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .view-play .play-lede { display: none; }
  .play-side .jar-desc { display: none; }
}
@media (min-width: 1024px) and (min-height: 921px) {
  :root { --tile-h: 150px; }
}
.scale-range { margin: 2px 0 0; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .reel-amt { font-size: clamp(0.72rem, 3.3vw, 0.95rem); letter-spacing: 0; }
}

/* ===== v3 jar fix: liquid lives INSIDE the glass and is clipped by its shape ===== */
.jar-glass { overflow: visible; z-index: 1; }
.jar-liquid {
  position: absolute; inset: 0;
  overflow: hidden; border-radius: inherit;
  pointer-events: none;
}
.jar-liquid .jar-fill {
  position: absolute; left: 0; right: 0; bottom: 0; top: auto;
  max-height: 74%;            /* second guard: never full, whatever JS says */
  border-radius: 0;
  transition: height 0.6s ease;
}
.jar-visual { overflow: visible; }

/* ===== Brim-full jar + overflow + golden puddle (> 1M) ===== */
.jar { --spill: 0; position: relative; }
.jar.is-brim .jar-liquid .jar-fill,
.jar.is-uncapped .jar-liquid .jar-fill { max-height: none; }  /* t183u: uncap during an overflow pour so gold does not stall at 74% */
/* slight meniscus bulge at the rim */
.jar-brim {
  position: absolute; left: 7%; right: 7%; top: -4px; height: 9px; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, #fff3c4 0%, #f2c85a 55%, rgba(210, 150, 40, 0.85) 100%);
  box-shadow: 0 0 10px rgba(255, 210, 100, 0.85);
  opacity: 0; transform: scaleY(0.4); transition: opacity 0.5s ease, transform 0.6s ease; pointer-events: none;
}
.jar.is-brim .jar-brim { opacity: 1; transform: scaleY(1); }
/* drips running down the OUTSIDE of the glass into the puddle */
.jar-drip {
  position: absolute; width: 7px; height: 12px; border-radius: 50% 50% 55% 55%; top: 6%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle at 35% 30%, #fff6d0, #f2c85a 60%, #c99220);
  box-shadow: 0 0 8px rgba(255, 214, 96, 0.9);
}
.jar-drip.d1 { left: -5px; }
.jar-drip.d2 { right: -5px; }
.jar-drip.d3 { left: 46%; top: -2px; width: 6px; height: 10px; }
.jar.is-brim .jar-drip { animation: drip-run 3.2s ease-in infinite; }
.jar.is-brim .jar-drip.d2 { animation-delay: 1.1s; }
.jar.is-brim .jar-drip.d3 { animation-delay: 2.1s; animation-name: drip-front; }
.jar.spill-burst .jar-drip { animation-duration: 0.9s; animation-iteration-count: 3; }
@keyframes drip-run { 0% { opacity: 0; transform: translateY(0); } 12% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(var(--drip-fall, 78px)); } }
@keyframes drip-front { 0% { opacity: 0; transform: translateY(0); } 12% { opacity: 0.95; } 80% { opacity: 0.95; } 100% { opacity: 0; transform: translateY(calc(var(--drip-fall, 78px) + 10px)); } }

/* puddle: glowing gold, fades softly into the background (no stroke, no dark/black ring, no box-shadow) */
.jar-spill {
  position: absolute; left: 50%; bottom: -16px;
  width: 150%; height: 36px; z-index: 0;
  transform: translateX(-50%) scale(calc(0.7 + 0.3 * var(--spill)), calc(0.75 + 0.25 * var(--spill)));
  transform-origin: 50% 55%;
  border-radius: 50%;
  opacity: 0; pointer-events: none; border: 0; box-shadow: none; outline: 0;
  transition: opacity 0.5s ease, transform 0.8s ease;
  background: radial-gradient(closest-side, #fff6cf 0%, rgba(255, 220, 110, 0.98) 18%, rgba(247, 188, 52, 0.8) 42%, rgba(232, 160, 30, 0.38) 68%, rgba(232, 160, 30, 0) 100%);
}
.jar.has-spill .jar-spill { opacity: 1; animation: spill-shimmer 2.8s ease-in-out infinite; }
@keyframes spill-shimmer { 0%, 100% { filter: brightness(1) saturate(1); } 50% { filter: brightness(1.22) saturate(1.15); } }
.jar.spill-burst .jar-spill { animation: spill-burst 1.5s ease-out 1, spill-shimmer 2.8s ease-in-out 1.5s infinite; }
@keyframes spill-burst { 0% { filter: brightness(2); transform: translateX(-50%) scale(0.25, 0.3); } 100% { filter: brightness(1); } }
/* faint design-tinted halo, gold core stays */
.theme-hybrid .jar-spill { background: radial-gradient(closest-side, #fff6cf 0%, rgba(255, 218, 105, 0.98) 18%, rgba(247, 184, 52, 0.8) 42%, rgba(240, 160, 60, 0.38) 66%, rgba(150, 215, 150, 0.14) 84%, rgba(150, 215, 150, 0) 100%); }
.theme-thrill .jar-spill { background: radial-gradient(closest-side, #fff6cf 0%, rgba(255, 218, 105, 0.98) 18%, rgba(247, 184, 52, 0.82) 42%, rgba(255, 150, 120, 0.36) 66%, rgba(255, 70, 200, 0.16) 84%, rgba(255, 70, 200, 0) 100%); }
@media (prefers-reduced-motion: reduce) {
  .jar.has-spill .jar-spill, .jar.spill-burst .jar-spill, .jar.is-brim .jar-drip { animation: none; }
  .jar.is-brim .jar-drip { opacity: 0; }
  .jar-liquid .jar-fill, .jar-spill, .jar-brim { transition: none; }
}

/* ===== Breathing room between Spin and Reset ===== */
.spin-col { gap: 32px; }
@media (max-width: 720px) { .spin-col { gap: 22px; } }

/* ===== Intro block (eyebrow + headline + lead) always visible at the very top of the play page ===== */
.view-play .play-hero { order: -1; }
.view-play .play-hero .play-lede { display: block !important; margin: 2px auto 4px; max-width: 46rem; font-size: 0.86rem; line-height: 1.35; }
@media (min-width: 1024px) and (max-height: 820px) {
  .view-play .play-hero .play-lede { font-size: 0.8rem; margin: 0 auto 2px; }
}
@media (max-width: 720px) {
  .view-play .play-hero .play-lede { font-size: 0.8rem; line-height: 1.35; padding: 0 6px; }
}

/* ===== Scale picker as a vertical column LEFT of the reels (row: scale | reels | spin+reset) ===== */
.reel-stage { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "scale reels spin"; }
.reel-stage > .denoms-side { grid-area: scale; }
.reel-stage > .reels-frame { grid-area: reels; }
.reel-stage > .spin-col { grid-area: spin; }
.denoms.denoms-side {
  margin: 0; padding: 0; border: 0; min-width: 0;
  display: flex; flex-direction: column; align-items: stretch; align-self: center;
  width: 7.2rem;
}
.denoms-side legend {
  float: left; width: 100%;
  margin: 0 0 6px !important; padding: 0;
  position: static !important; clip: auto !important; height: auto !important; overflow: visible !important;
  font-size: 0.66rem; line-height: 1.3; text-align: center; color: var(--muted, var(--cream-dim));
}
.denoms-side .denom-row {
  clear: both;
  display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch;
  gap: 5px; padding: 0; overflow: visible; justify-content: flex-start;
}
.denoms-side .denom-chip {
  width: 100%; margin: 0; min-height: 0;
  padding: 4px 8px !important; font-size: 0.8rem; line-height: 1.25; text-align: center;
}
.denoms-side .denom-chip[aria-pressed="true"] { box-shadow: 0 0 0 1px currentColor, 0 0 14px rgba(232, 196, 80, 0.45); transform: scale(1.04); }
.theme-thrill .denoms-side .denom-chip[aria-pressed="true"] { box-shadow: 0 0 0 1px #ff2ebd, 0 0 16px rgba(255, 46, 189, 0.6), 0 0 26px rgba(45, 226, 230, 0.3); }
.theme-hybrid .denoms-side .denom-chip[aria-pressed="true"] { box-shadow: 0 0 0 1px currentColor, 0 0 16px rgba(240, 170, 80, 0.5); }
.denoms-side .scale-range { margin: 6px 0 0; font-size: 0.62rem; line-height: 1.3; letter-spacing: 0.02em; }

/* narrow screens: a side column does not fit -> compact horizontal row above the reels */
@media (max-width: 720px) {
  .reel-stage { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "scale scale" "reels spin"; row-gap: 8px; }
  .denoms.denoms-side { width: auto; }
  .denoms-side legend { font-size: 0.72rem; margin: 0 0 4px !important; }
  .denoms-side .denom-row { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 5px; }
  .denoms-side .denom-chip { width: auto; padding: 5px 9px !important; font-size: 0.76rem; }
  .denoms-side .denom-chip[aria-pressed="true"] { transform: none; }
  .denoms-side .scale-range { margin: 4px 0 0; font-size: 0.7rem; }
}

/* ===== Slim, non-blocking header: intro title sits at the very top (t73u) ===== */
.site-header .brand-tag { display: none !important; }
.site-header .brand {
  display: inline-flex !important; flex-direction: row !important; align-items: center !important;
  gap: 10px; padding: 0; margin: 0; text-align: left; min-height: 0;
}
.site-header .brand-name { font-size: 0.92rem !important; letter-spacing: 0.16em; line-height: 1; margin: 0 !important; white-space: nowrap; }
.theme-thrill .site-header .brand-name { font-size: 1.55rem !important; letter-spacing: 0; }
.site-header .brand-mono { width: 32px !important; height: 32px !important; font-size: 0.9rem !important; margin: 0 !important; flex: none; }
.site-header .brand-wave { width: 44px !important; height: auto !important; margin: 0 !important; flex: none; }
.site-header .brand-infinity { width: 40px !important; height: auto !important; margin: 0 !important; flex: none; }
.site-header { min-height: 0 !important; }

@media (min-width: 900px) {
  body[data-view="play"] .site-header {
    position: absolute !important; top: 0; left: 0; right: 0; z-index: 30;
    display: flex; flex-direction: row; justify-content: space-between; align-items: center;
    padding: 14px 28px 0 !important; background: none; border: 0; box-shadow: none;
    pointer-events: none;
  }
  body[data-view="play"] .site-header > * { pointer-events: auto; }
  body[data-view="play"] .view-play { padding-top: 18px !important; }
  body[data-view="play"] .view-play .play-hero { margin-top: 0 !important; padding-top: 0 !important; }
  body[data-view="play"] main { padding-top: 0 !important; margin-top: 0 !important; }
}

@media (max-width: 899px) {
  .site-header {
    display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important;
    justify-content: space-between !important; align-items: center !important;
    gap: 8px; padding: 8px 12px !important; text-align: left;
  }
  .site-header .brand-name { font-size: 0.74rem !important; letter-spacing: 0.1em; }
  .theme-thrill .site-header .brand-name { font-size: 1.2rem !important; }
  .site-header .brand-mono { width: 26px !important; height: 26px !important; font-size: 0.75rem !important; }
  .site-header .brand-wave { width: 30px !important; }
  .site-header .brand-infinity { width: 30px !important; }
  .site-header .header-nav { gap: 6px !important; flex-wrap: nowrap; margin: 0 !important; }
  .site-header .vip-chip { display: none !important; }
  .site-header .cur-btn { padding: 4px 7px !important; font-size: 0.68rem !important; }
  .site-header .header-nav .text-btn { font-size: 0.66rem !important; letter-spacing: 0.06em; padding: 4px 2px !important; white-space: nowrap; }
  .site-header .icon-btn { width: 30px !important; height: 30px !important; }
  .site-header .header-total { display: none !important; }
  body[data-view="play"] .view-play { padding-top: 6px !important; }
  body[data-view="play"] .view-play .play-hero { margin-top: 0 !important; padding-top: 0 !important; }
  body[data-view="play"] main { padding-top: 0 !important; margin-top: 0 !important; }
}
.view-play .play-hero .play-kicker, .view-play .play-hero h1 { width: fit-content; max-width: 100%; margin-left: auto !important; margin-right: auto !important; }
@media (max-width: 899px) {
  .site-header .brand { flex: none; gap: 7px; }
  .site-header .brand-name { white-space: normal; line-height: 1.15; max-width: 7.5em; font-size: 0.66rem !important; }
  .theme-thrill .site-header .brand-name { max-width: none; white-space: nowrap; font-size: 1.15rem !important; }
  .site-header .header-nav { flex: 0 0 auto !important; width: auto !important; max-width: none; justify-content: flex-end !important; }
}

/* ===== Joypot carries the spin's sum (t74u): no separate "this spin proposes" block ===== */
.combined .combined-value { transition: transform 0.3s ease, text-shadow 0.3s ease; display: inline-block; }
.combined.is-live .combined-value { transform: scale(1.05); text-shadow: 0 0 22px rgba(232, 196, 80, 0.6); }
.combined.is-flowing .combined-value { animation: sumGlow 0.9s ease-in-out infinite alternate; }
.theme-thrill .combined.is-live .combined-value { text-shadow: 0 0 18px rgba(255, 46, 189, 0.7), 0 0 30px rgba(45, 226, 230, 0.35); }
@media (prefers-reduced-motion: reduce) { .combined.is-flowing .combined-value { animation: none; } .combined .combined-value { transition: none; } }

/* ===== t75u: breathing room under the intro + bigger jars ===== */
.view-play .play-hero { margin-bottom: 48px !important; }
@media (max-width: 899px) { .view-play .play-hero { margin-bottom: 24px !important; } }
.play-side .jar-visual, .jars .jar-visual { zoom: 2.1; }
@media (max-width: 899px) { .play-side .jar-visual, .jars .jar-visual { zoom: 1.85; } }
.jars .jar .jar-amount { font-size: 1.12rem; }

.play-side .jars, .play-main + .play-side .jars { margin-top: 20px !important; }
@media (max-width: 899px) { .play-side .jars { margin-top: 16px !important; } }

/* t77u: Joypot sits between the reel row and the jars, centered */
.play-side { display: flex; flex-direction: column; }
.play-side > .combined { order: 0; margin: 14px auto 0 !important; align-self: center; }
.play-side > .jars { order: 1; margin-top: 18px !important; }
@media (max-width: 899px) { .play-side > .combined { margin-top: 10px !important; } .play-side > .jars { margin-top: 12px !important; } }

/* t80u: reduced-motion landing fade */
.combined.is-landing { animation: potLand 0.35s ease-out; }
@keyframes potLand { from { opacity: 0.35; } to { opacity: 1; } }

/* t82u: keep jar text readable above the puddle */
.jar > .jar-name, .jar > .jar-desc, .jar > .amt-editable, .jar > .amt-error, .jar > .jar-cta { position: relative; z-index: 2; }
.jar-visual { z-index: 1; }
@media (max-width: 899px) { .jars .jar-visual { margin-bottom: 24px; } .jar-spill { width: 125%; } }
@media (min-width: 900px) { .play-side .jar { padding: 14px 18px 40px 40px !important; column-gap: 22px !important; } .jars .jar-amount { font-size: 1.2rem; } }

/* t87u: three-of-a-kind celebration (fireworks above the reels; never blocks clicks) */
.fireworks { position: fixed; inset: 0; z-index: 45; pointer-events: none; overflow: hidden; }
.fireworks[hidden] { display: none; }
.fireworks canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fireworks.is-sparkle { background: radial-gradient(ellipse at 50% 22%, rgba(255, 224, 138, 0.18), transparent 55%); animation: fwFade 2.2s ease-out both; }
.theme-hybrid .fireworks.is-sparkle { background: radial-gradient(ellipse at 50% 22%, rgba(255, 224, 138, 0.16), rgba(95, 224, 192, 0.08) 40%, transparent 60%); }
.theme-thrill .fireworks.is-sparkle { background: radial-gradient(ellipse at 50% 22%, rgba(255, 46, 189, 0.2), rgba(45, 226, 230, 0.1) 40%, transparent 60%); }
@keyframes fwFade { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
.reels-frame.triple-glow { animation: tripleGlow 0.9s ease-in-out 3; }
@keyframes tripleGlow { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.25) drop-shadow(0 0 16px rgba(242, 200, 90, 0.8)); } }
.theme-thrill .reels-frame.triple-glow { animation-name: tripleGlowNeon; }
@keyframes tripleGlowNeon { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.2) drop-shadow(0 0 16px rgba(255, 46, 189, 0.85)) drop-shadow(0 0 22px rgba(45, 226, 230, 0.5)); } }
.test-toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(10px); z-index: 60; padding: 6px 14px; border-radius: 999px; font-size: 0.78rem; letter-spacing: 0.06em; background: rgba(0, 0, 0, 0.7); color: #fff3c4; border: 1px solid rgba(242, 200, 90, 0.6); opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; }
.test-toast.show { opacity: 1; transform: translateX(-50%); }
@media (prefers-reduced-motion: reduce) { .reels-frame.triple-glow { animation-duration: 1.8s; animation-iteration-count: 1; } }

/* ===== t95u: continuous golden pour over the rim -> ripples in the puddle (no dark ring anywhere) ===== */
.jar-visual { --vh: 84px; }                                  /* visual height in its own units (set to 66px on the compact desktop jar below) */
@media (min-width: 1024px) { .jar-visual { --vh: 66px; } }
@media (max-width: 420px) { .jar-visual { --vh: 68px; } }
.jar-stream, .spill-ring, .spill-splash { display: none; position: absolute; pointer-events: none; font-style: normal; }
.jar.has-spill .jar-stream, .jar.has-spill .spill-ring, .jar.has-spill .spill-splash { display: block; }
.jar.has-spill .jar-glow, .jar.has-spill .jar-drip { display: none; }          /* no second blob / no separate drips while the stream pours */
/* the overflow (t100u): gold spills over the rim lips and runs down the OUTSIDE of the glass wall to the base centre, then one drip lands in the ripple centre */
.jar-stream { left: 0; top: 0; width: 100%; height: 100%; overflow: visible; z-index: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.jar-stream .flow-glow { stroke: rgba(255, 212, 96, 0.5); stroke-width: 4.4; filter: blur(2px); }
.jar-stream .flow-body { stroke: #f7cf66; stroke-width: 2.2; filter: drop-shadow(0 0 1.6px rgba(255, 214, 96, 0.95)); }
.jar-stream .flow-body.flow-l { stroke-width: 1.7; opacity: 0.88; }
.jar-stream .flow-drip { stroke: #ffe39a; stroke-width: 2.3; filter: drop-shadow(0 0 1.6px rgba(255, 214, 96, 0.95)); }
.jar-stream .flow-shine { stroke: rgba(255, 252, 226, 0.95); stroke-width: 1.1; stroke-dasharray: 1.6 7.5; animation: flow-run 0.9s linear infinite; }
.jar-stream .flow-shine.flow-l { stroke-width: 0.9; animation-duration: 1.15s; opacity: 0.85; }
.jar-stream .flow-lip { fill: #ffe9a8; stroke: none; filter: drop-shadow(0 0 2px rgba(255, 214, 96, 0.95)); }
@keyframes flow-run { to { stroke-dashoffset: -9.1; } }
/* concentric golden ripples, expanding from where the stream lands */
.spill-ring {
  left: 50%; top: calc(var(--vh) - 2px); width: 150%; height: calc(var(--vh) * 0.4); margin-left: -75%; margin-top: calc(var(--vh) * -0.2); z-index: 0; border-radius: 50%;
  border: 1px solid rgba(255, 228, 140, 0.95); box-shadow: 0 0 4px rgba(255, 212, 96, 0.8); background: transparent;
  opacity: 0; transform: scale(0.08); animation: ripple-out 3.2s ease-out infinite;
}
.spill-ring.r2 { animation-delay: 0.8s; } .spill-ring.r3 { animation-delay: 1.6s; } .spill-ring.r4 { animation-delay: 2.4s; }
@keyframes ripple-out { 0% { opacity: 0; transform: scale(0.08); } 12% { opacity: 0.95; } 70% { opacity: 0.35; } 100% { opacity: 0; transform: scale(1); } }
.spill-splash { left: 50%; top: calc(var(--vh) - 7px); width: 10px; height: 5px; margin-left: -5px; z-index: 3; border-radius: 50%;
  background: radial-gradient(circle, #fffbe0 0 25%, rgba(255, 224, 120, 0.8) 55%, transparent 75%); animation: splash 0.9s ease-out infinite; }
@keyframes splash { 0% { opacity: 0.2; transform: scale(0.6, 0.6); } 40% { opacity: 1; transform: scale(1.5, 1); } 100% { opacity: 0.2; transform: scale(0.7, 0.6); } }
/* puddle = soft gold light only; ripples carry the motion */
.jar.has-spill .jar-spill { animation: none; border: 0; outline: 0; box-shadow: none; filter: none; }
.jar.has-spill .jar-spill::before, .jar.has-spill .jar-spill::after { content: none; }
@media (max-width: 899px) { .spill-ring { width: 125%; margin-left: -62.5%; } }
@media (prefers-reduced-motion: reduce) {
  .jar-stream .flow-shine { animation: none; stroke-dasharray: 1.6 7.5; opacity: 0.6; }
  .spill-splash { animation: none; opacity: 0.8; }
  .spill-ring { animation: none; opacity: 0.45; transform: scale(0.45); }
  .spill-ring.r2 { opacity: 0.3; transform: scale(0.72); }
  .spill-ring.r3 { opacity: 0.18; transform: scale(1); }
  .spill-ring.r4 { display: none; }
}

/* ===== t102u: the "+ amount this wave" line always reserves its space (no layout jump when it appears/disappears) ===== */
.jar .jar-cta { display: block !important; visibility: hidden; min-height: 1.35em; line-height: 1.35; }
.jars.awaiting .jar .jar-cta, .jars.got-wave .jar .jar-cta { visibility: visible; }
/* t153u: the scale hint text is gone; the legend stays for screen readers only */
.denoms legend.visually-hidden, .denoms-side legend.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
@media (min-width: 721px) { .denoms.denoms-side { padding-top: 20px; } }   /* keeps the reel stage height the removed hint line used to give (badge stays clear of the intro) */

/* ===== t169u: modest squeeze of Suggested gift, the jar cards and Send with love so that block fits a typical laptop first screen. Portrait clearance (t175u–t177u) is unchanged. ===== */
@media (min-width: 900px) {
  .play-side > .combined { margin-top: 6px !important; }
  .play-side > .jars, .play-side .jars, .play-main + .play-side .jars { margin-top: 8px !important; }
  body[data-view="play"] .action-bar.send-bar { margin: 6px 0 0; }
  .play-side .jar { padding-bottom: 22px !important; }   /* keep top/side padding; glow and spill stay visible */
  .theme-thrill .play-side .combined { width: 100px; height: 100px; min-height: 0; padding: 6px; }
  .theme-thrill .play-side .combined-value { font-size: 1.25rem; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .play-side > .combined { margin-top: 2px !important; }
  .play-side > .jars, .play-side .jars, .play-main + .play-side .jars { margin-top: 4px !important; }
  body[data-view="play"] .action-bar.send-bar { margin: 4px 0 0; }
  .play-side .jar { padding-bottom: 8px !important; }
  .play-side .jar-visual, .jars .jar-visual { zoom: 1.8; }
  .play-side .combined-value { font-size: 1.6rem; }
  .theme-thrill .play-side .combined { width: 68px; height: 68px; min-height: 0; padding: 4px; }
  .theme-thrill .play-side .combined-value { font-size: 1rem; }
  .theme-thrill .send-bar .send-main { min-height: 40px; padding-top: 6px; padding-bottom: 6px; font-size: 0.95rem; }
}

/* ===== t170u: one Send with love under Suggested gift and above the jars; gift+button grouped and balanced in the gap between the reels and the jars. Revert last wave sits quietly next to Reset and takes no space when hidden. Portrait clearance is unchanged. ===== */
body[data-view="play"] .action-bar.send-bar,
body[data-view="play"] .play-side > .send-bar {
  position: static !important;
  left: auto;
  right: auto;
  bottom: auto;
  width: auto;
  padding: 0;
  background: none;
  margin: 6px auto 0;
}
body[data-view="play"] .view-play { padding-bottom: 48px; }

.spin-col, .reel-stage { overflow: visible; }
.spin-actions {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.spin-actions .skip-wave {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 0 0 8px;
  min-width: 0;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  white-space: nowrap;
  z-index: 3;
}
.spin-actions .skip-wave[hidden] { display: none !important; }

@media (min-width: 900px) {
  .play-side > .combined { margin-top: 8px !important; }
  .play-side > .jars, .play-side .jars, .play-main + .play-side .jars { margin-top: 8px !important; }
  body[data-view="play"] .action-bar.send-bar { margin: 6px auto 0; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .play-side > .combined { margin-top: 4px !important; }
  .play-side > .jars, .play-side .jars, .play-main + .play-side .jars { margin-top: 4px !important; }
  body[data-view="play"] .action-bar.send-bar { margin: 4px auto 0; }
}

/* ===== t171u: amount lives inside one glowing Send with love control; Suggested gift label and the separate send button are gone. Revert last wave is removed. Portrait clearance is unchanged. ===== */
.play-side > .combined.send-gift {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  justify-items: center;
  width: min(340px, 92%);
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0;
  height: auto !important;
  min-height: 0 !important;
  border-radius: 999px;
  background: none;
  text-align: center;
}
.theme-thrill .play-side .combined.send-gift,
.theme-thrill .play-side > .combined.send-gift {
  width: min(340px, 92%) !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border-radius: 999px;
  display: grid;
}
.send-gift .send-gift-btn {
  grid-row: 1 / -1;
  grid-column: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  padding: 58px 28px 12px;
  margin: 0;
  border-radius: 999px;
  box-sizing: border-box;
  --sg-glow: 0 0 18px rgba(232, 196, 80, 0.32), 0 0 42px rgba(201, 168, 76, 0.18);
  --sg-glow-on: 0 0 26px rgba(255, 214, 120, 0.5), 0 0 58px rgba(232, 196, 80, 0.28);
  box-shadow: var(--sg-glow), inset 0 1px 0 rgba(255, 240, 200, 0.28);
  transition: box-shadow 0.35s ease, filter 0.25s ease;
}
.send-gift .send-gift-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
  pointer-events: none;
}
.send-gift .amt-editable {
  grid-row: 1;
  grid-column: 1;
  z-index: 2;
  position: relative;
  margin: 0;
  padding: 10px 12px 0;
}
.send-gift .amt-edit {
  padding: 2px 10px;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.send-gift .combined-value {
  font-size: clamp(1.7rem, 3.2vw, 2.15rem);
  line-height: 1.1;
  margin: 0;
}
.send-gift .amt-error { grid-column: 1; grid-row: 3; z-index: 2; }
.send-gift .send-gift-btn:disabled {
  opacity: 1;
  filter: saturate(0.85);
  box-shadow: 0 0 10px rgba(232, 196, 80, 0.16), 0 0 22px rgba(201, 168, 76, 0.08), inset 0 1px 0 rgba(255, 240, 200, 0.16);
  cursor: default;
}
.send-gift:not(:has(#btnSend:disabled)) .send-gift-btn {
  box-shadow: var(--sg-glow-on), inset 0 1px 0 rgba(255, 240, 200, 0.35);
  animation: sendGiftGlow 3.4s ease-in-out infinite;
}
@keyframes sendGiftGlow {
  0%, 100% { box-shadow: var(--sg-glow), inset 0 1px 0 rgba(255, 240, 200, 0.28); }
  50% { box-shadow: var(--sg-glow-on), inset 0 1px 0 rgba(255, 240, 200, 0.4); }
}
@media (prefers-reduced-motion: reduce) {
  .send-gift:not(:has(#btnSend:disabled)) .send-gift-btn { animation: none; }
}

/* Golden Wave: calmer, more elegant glow */
.theme-golden .send-gift .send-gift-btn,
body:not(.theme-hybrid):not(.theme-thrill) .send-gift .send-gift-btn {
  --sg-glow: 0 0 12px rgba(232, 196, 80, 0.2), 0 0 28px rgba(201, 168, 76, 0.1);
  --sg-glow-on: 0 0 18px rgba(255, 220, 150, 0.36), 0 0 40px rgba(201, 168, 76, 0.16);
}
/* Thrillfinity: brighter, more vivid */
.theme-thrill .send-gift .send-gift-btn {
  --sg-glow: 0 0 16px rgba(255, 46, 189, 0.4), 0 0 32px rgba(45, 226, 230, 0.25), 0 0 20px rgba(255, 210, 90, 0.2);
  --sg-glow-on: 0 0 26px rgba(255, 46, 189, 0.62), 0 0 48px rgba(45, 226, 230, 0.38), 0 0 28px rgba(255, 220, 120, 0.32);
  border-color: rgba(255, 140, 220, 0.7);
}
/* Christmas: warm amber glow that sits with the snow, not ice or neon red */
html[data-theme="christmas"] .send-gift .send-gift-btn {
  --sg-glow: 0 0 18px rgba(255, 196, 90, 0.36), 0 0 40px rgba(180, 90, 30, 0.1);
  --sg-glow-on: 0 0 26px rgba(255, 210, 120, 0.48), 0 0 54px rgba(232, 150, 60, 0.2);
}
html[data-theme="christmas"].theme-thrill .send-gift .send-gift-btn,
html[data-theme="christmas"] .theme-thrill .send-gift .send-gift-btn {
  --sg-glow: 0 0 16px rgba(255, 80, 180, 0.28), 0 0 28px rgba(255, 196, 90, 0.28), 0 0 22px rgba(45, 226, 230, 0.16);
  --sg-glow-on: 0 0 24px rgba(255, 80, 180, 0.4), 0 0 44px rgba(255, 210, 120, 0.32), 0 0 30px rgba(45, 226, 230, 0.22);
}

@media (min-width: 900px) {
  .play-side > .combined.send-gift { margin-top: 10px !important; }
  .play-side > .jars, .play-side .jars, .play-main + .play-side .jars { margin-top: 12px !important; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .play-side > .combined.send-gift { margin-top: 6px !important; width: min(300px, 86%); }
  .play-side > .jars, .play-side .jars, .play-main + .play-side .jars { margin-top: 8px !important; }
  .send-gift .send-gift-btn { padding: 48px 22px 10px; }
  .send-gift .combined-value { font-size: 1.55rem; }
  .theme-thrill .play-side .combined.send-gift { width: min(300px, 86%) !important; height: auto !important; }
  .theme-thrill .play-side .send-gift .combined-value { font-size: 1.45rem; }
}
@media (max-width: 899px) {
  .play-side > .combined.send-gift { width: min(320px, 94%); margin-top: 12px !important; }
  .send-gift .send-gift-btn { padding: 52px 22px 12px; }
}

body[data-view="play"] .action-bar.send-bar { display: none; }

/* ===== t172u: the amount sits in its own dark box; the glowing Send with love button frames it with visible padding. At $0 the surrounding button stays fully styled (not greyed). Portrait clearance is unchanged. ===== */
.send-gift .send-gift-btn {
  padding: 14px 22px 12px;
  padding-top: 76px;
  animation: sendGiftGlow 3.4s ease-in-out infinite;
  box-shadow: var(--sg-glow-on), inset 0 1px 0 rgba(255, 240, 200, 0.35);
}
.send-gift .amt-editable {
  margin: 14px 18px 0;
  padding: 0;
  justify-self: center;
}
.send-gift .amt-edit {
  background: rgba(5, 10, 8, 0.62);
  border: 1px dashed rgba(232, 201, 106, 0.7);
  border-radius: 10px;
  padding: 6px 18px;
  color: inherit;
  cursor: text;
  box-shadow: none;
  filter: none;
}
.send-gift .amt-edit:hover,
.send-gift .amt-edit:focus-visible {
  border-color: var(--gold-bright, #f2c85a);
  background: rgba(5, 10, 8, 0.78);
}
.send-gift .combined-value {
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  line-height: 1.15;
  margin: 0;
}
/* At $0 the button must still look like the same fully glowing control — never greyed or faded */
.send-gift .send-gift-btn:disabled,
.send-gift .send-gift-btn.btn-pill:disabled,
.send-gift .send-gift-btn.btn-gold:disabled,
.send-gift .send-gift-btn.btn-neon:disabled,
.send-gift .send-gift-btn.btn-neon-outline:disabled {
  opacity: 1 !important;
  filter: none !important;
  color: inherit;
  -webkit-text-fill-color: inherit;
  cursor: default;
  transform: none;
  box-shadow: var(--sg-glow-on), inset 0 1px 0 rgba(255, 240, 200, 0.35);
  animation: sendGiftGlow 3.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .send-gift .send-gift-btn,
  .send-gift .send-gift-btn:disabled { animation: none; }
}
.theme-thrill .send-gift .amt-edit {
  background: rgba(8, 0, 18, 0.72);
  border-color: rgba(45, 226, 230, 0.55);
}
html[data-theme="christmas"] .send-gift .amt-edit {
  background: rgba(6, 10, 6, 0.66);
  border-color: rgba(255, 210, 120, 0.7);
}
@media (min-width: 1024px) and (max-height: 820px) {
  .send-gift .send-gift-btn { padding: 12px 18px 10px; padding-top: 66px; }
  .send-gift .amt-editable { margin: 12px 14px 0; }
  .send-gift .amt-edit { padding: 4px 14px; }
  .send-gift .combined-value { font-size: 1.45rem; }
}
@media (max-width: 899px) {
  .send-gift .send-gift-btn { padding: 14px 20px 12px; padding-top: 72px; }
  .send-gift .amt-editable { margin: 14px 16px 0; }
}


/* ===== t173u: amount box and Send with love are two separate controls. The dark dashed amount box sits above a distinct Send button with a little space between them. At $0 the button is greyed and does not send; with an amount it is fully glowing. The group is vertically centered in the gap between the reels and the jars. Portrait clearance is unchanged. The displayed gift/jar amounts use the short form ($10K, $67M). ===== */
.play-side > .combined.send-gift,
.theme-thrill .play-side .combined.send-gift,
.theme-thrill .play-side > .combined.send-gift {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: min(260px, 90%) !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 0;
  background: none;
  gap: 0;
}
.send-gift .amt-editable {
  grid-row: auto;
  grid-column: auto;
  z-index: auto;
  position: relative;
  order: 1;
  margin: 0 0 8px;
  padding: 0;
  justify-self: center;
}
.send-gift .amt-edit {
  background: rgba(5, 10, 8, 0.62);
  border: 1px dashed rgba(232, 201, 106, 0.7);
  border-radius: 10px;
  padding: 6px 18px;
  color: inherit;
  cursor: text;
  box-shadow: none;
  filter: none;
}
.send-gift .amt-edit:hover,
.send-gift .amt-edit:focus-visible {
  border-color: var(--gold-bright, #f2c85a);
  background: rgba(5, 10, 8, 0.78);
}
.send-gift .combined-value {
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  line-height: 1.15;
  margin: 0;
}
.send-gift .amt-error {
  grid-row: auto;
  grid-column: auto;
  order: 2;
  z-index: auto;
  margin: 0 0 6px;
}
.send-gift .send-gift-btn {
  grid-row: auto;
  grid-column: auto;
  order: 3;
  position: relative;
  z-index: auto;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 10px 22px;
  margin: 0;
  min-height: 42px;
  border-radius: 999px;
  box-sizing: border-box;
  animation: none;
  --sg-glow: 0 0 18px rgba(232, 196, 80, 0.32), 0 0 42px rgba(201, 168, 76, 0.18);
  --sg-glow-on: 0 0 26px rgba(255, 214, 120, 0.5), 0 0 58px rgba(232, 196, 80, 0.28);
  box-shadow: var(--sg-glow), inset 0 1px 0 rgba(255, 240, 200, 0.28);
  transition: box-shadow 0.35s ease, filter 0.25s ease;
}
.send-gift .send-gift-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
  pointer-events: none;
}
/* At $0 the separate Send button is clearly greyed / disabled-looking, still recognizable, and does not send. */
.send-gift .send-gift-btn:disabled,
.send-gift .send-gift-btn.btn-pill:disabled,
.send-gift .send-gift-btn.btn-gold:disabled,
.send-gift .send-gift-btn.btn-neon:disabled,
.send-gift .send-gift-btn.btn-neon-outline:disabled {
  opacity: 0.4 !important;
  filter: saturate(0.65);
  color: inherit;
  -webkit-text-fill-color: inherit;
  cursor: default;
  transform: none;
  animation: none !important;
  box-shadow: 0 0 8px rgba(232, 196, 80, 0.12), inset 0 1px 0 rgba(255, 240, 200, 0.12);
}
/* With a real amount, the button is fully styled and glowing (site-specific language from t171/t172). */
.send-gift .send-gift-btn:not(:disabled),
.send-gift .send-gift-btn.btn-pill:not(:disabled),
.send-gift .send-gift-btn.btn-gold:not(:disabled),
.send-gift .send-gift-btn.btn-neon:not(:disabled) {
  opacity: 1 !important;
  filter: none;
  box-shadow: var(--sg-glow-on), inset 0 1px 0 rgba(255, 240, 200, 0.35);
  animation: sendGiftGlow 3.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .send-gift .send-gift-btn,
  .send-gift .send-gift-btn:not(:disabled),
  .send-gift .send-gift-btn:disabled { animation: none !important; }
}
.theme-thrill .send-gift .amt-edit {
  background: rgba(8, 0, 18, 0.72);
  border-color: rgba(45, 226, 230, 0.55);
}
html[data-theme="christmas"] .send-gift .amt-edit {
  background: rgba(6, 10, 6, 0.66);
  border-color: rgba(255, 210, 120, 0.7);
}

/* Equal space above the group (below the reels) and below the group (above the jars). */
@media (min-width: 900px) {
  .play-side > .combined.send-gift { margin-top: 12px !important; }
  .play-side > .jars, .play-side .jars, .play-main + .play-side .jars { margin-top: 12px !important; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .play-side > .combined.send-gift { margin-top: 8px !important; width: min(240px, 86%) !important; }
  .play-side > .jars, .play-side .jars, .play-main + .play-side .jars { margin-top: 8px !important; }
  .send-gift .send-gift-btn { padding: 8px 18px; min-height: 38px; }
  .send-gift .amt-editable { margin-bottom: 6px; }
  .send-gift .amt-edit { padding: 4px 14px; }
  .send-gift .combined-value { font-size: 1.35rem; }
}
@media (max-width: 899px) {
  .play-side > .combined.send-gift { width: min(260px, 92%) !important; margin-top: 12px !important; }
  .send-gift .send-gift-btn { padding: 10px 20px; }
  .send-gift .amt-editable { margin-bottom: 8px; }
}

/* t173u: inline amount editor keeps the display's size so the page does not jump when editing. */
.amt-editable.is-editing { display: inline-flex; align-items: center; justify-content: center; }
.amt-editable .amt-input,
.send-gift .amt-input,
.combined.send-gift .amt-input,
.jars .amt-input {
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
  font-size: inherit;
  font-family: inherit;
  line-height: 1.15;
  padding: 4px 8px;
  margin: 0;
}

/* t173u: drop Thrillfinity's old neon-circle ring around the group so the amount box and Send button stay two separate controls. */
.theme-thrill .combined.send-gift,
.theme-thrill .play-side .combined.send-gift,
.theme-thrill .play-side > .combined.send-gift {
  border: 0 !important;
  box-shadow: none !important;
  background: none !important;
  border-radius: 0 !important;
  outline: none;
}


/* ===== t174u: Send with love surrounds the dark amount box with visible space between them (two clear shapes, not a button underneath and not a fused face). At $0 the outer button is greyed and stays greyed on hover. With an amount it is fully styled at rest and the gold glow intensifies on hover. Short-form amounts, vertical centering, and no edit-scroll from t173 stay. Portrait clearance is unchanged. ===== */
.play-side > .combined.send-gift,
.theme-thrill .play-side .combined.send-gift,
.theme-thrill .play-side > .combined.send-gift {
  display: grid;
  grid-template-rows: auto auto;
  justify-items: center;
  align-items: stretch;
  width: min(340px, 92%) !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 0;
  background: none;
  gap: 0;
  flex-direction: unset;
}
.send-gift .send-gift-btn {
  grid-row: 1 / -1;
  grid-column: 1;
  order: 0;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  padding: 16px 24px 14px;
  padding-top: 78px;
  margin: 0;
  border-radius: 999px;
  box-sizing: border-box;
  --sg-glow: 0 0 18px rgba(232, 196, 80, 0.32), 0 0 42px rgba(201, 168, 76, 0.18);
  --sg-glow-on: 0 0 26px rgba(255, 214, 120, 0.5), 0 0 58px rgba(232, 196, 80, 0.28);
  --sg-glow-hover: 0 0 38px rgba(255, 220, 130, 0.8), 0 0 80px rgba(232, 196, 80, 0.5), inset 0 1px 0 rgba(255, 245, 210, 0.55);
  box-shadow: var(--sg-glow), inset 0 1px 0 rgba(255, 240, 200, 0.28);
  transition: box-shadow 0.35s ease, filter 0.25s ease;
  animation: none;
}
.send-gift .send-gift-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
  pointer-events: none;
}
.send-gift .amt-editable {
  grid-row: 1;
  grid-column: 1;
  z-index: 2;
  position: relative;
  order: 0;
  margin: 16px 22px 0;
  padding: 0;
  justify-self: center;
  width: auto;
}
.send-gift .amt-edit {
  display: inline-flex;
  background: rgba(5, 10, 8, 0.62);
  border: 1px dashed rgba(232, 201, 106, 0.7);
  border-radius: 10px;
  padding: 6px 18px;
  color: inherit;
  cursor: text;
  box-shadow: none;
  filter: none;
}
.send-gift .amt-edit:hover,
.send-gift .amt-edit:focus-visible {
  border-color: var(--gold-bright, #f2c85a);
  background: rgba(5, 10, 8, 0.78);
}
.send-gift .combined-value {
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  line-height: 1.15;
  margin: 0;
}
.send-gift .amt-error {
  grid-column: 1;
  grid-row: 3;
  z-index: 2;
  order: 0;
  margin: 4px 0 0;
}

/* At $0 the surrounding button is greyed and stays greyed on hover — no send, no golden hover glow. */
.send-gift .send-gift-btn:disabled,
.send-gift .send-gift-btn.btn-pill:disabled,
.send-gift .send-gift-btn.btn-gold:disabled,
.send-gift .send-gift-btn.btn-neon:disabled,
.send-gift .send-gift-btn.btn-neon-outline:disabled,
.send-gift .send-gift-btn:disabled:hover,
.send-gift .send-gift-btn.btn-pill:disabled:hover,
.send-gift .send-gift-btn.btn-gold:disabled:hover,
.send-gift .send-gift-btn.btn-neon:disabled:hover,
.send-gift .send-gift-btn.btn-neon-outline:disabled:hover {
  opacity: 0.4 !important;
  filter: saturate(0.65) !important;
  color: inherit;
  -webkit-text-fill-color: inherit;
  cursor: default;
  transform: none !important;
  animation: none !important;
  box-shadow: 0 0 8px rgba(232, 196, 80, 0.12), inset 0 1px 0 rgba(255, 240, 200, 0.12);
}

/* With an amount: fully styled at rest; hover intensifies the gold glow. */
.send-gift .send-gift-btn:not(:disabled),
.send-gift .send-gift-btn.btn-pill:not(:disabled),
.send-gift .send-gift-btn.btn-gold:not(:disabled),
.send-gift .send-gift-btn.btn-neon:not(:disabled) {
  opacity: 1 !important;
  filter: none;
  box-shadow: var(--sg-glow-on), inset 0 1px 0 rgba(255, 240, 200, 0.35);
  animation: sendGiftGlow 3.4s ease-in-out infinite;
}
.send-gift .send-gift-btn:not(:disabled):hover,
.send-gift .send-gift-btn.btn-pill:not(:disabled):hover,
.send-gift .send-gift-btn.btn-gold:not(:disabled):hover,
.send-gift .send-gift-btn.btn-neon:not(:disabled):hover {
  box-shadow: var(--sg-glow-hover);
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .send-gift .send-gift-btn,
  .send-gift .send-gift-btn:not(:disabled),
  .send-gift .send-gift-btn:disabled { animation: none !important; }
}

.theme-golden .send-gift .send-gift-btn,
body:not(.theme-hybrid):not(.theme-thrill) .send-gift .send-gift-btn {
  --sg-glow: 0 0 12px rgba(232, 196, 80, 0.2), 0 0 28px rgba(201, 168, 76, 0.1);
  --sg-glow-on: 0 0 18px rgba(255, 220, 150, 0.36), 0 0 40px rgba(201, 168, 76, 0.16);
  --sg-glow-hover: 0 0 28px rgba(255, 230, 170, 0.62), 0 0 64px rgba(201, 168, 76, 0.3), inset 0 1px 0 rgba(255, 245, 210, 0.55);
}
.theme-thrill .send-gift .send-gift-btn {
  --sg-glow: 0 0 16px rgba(255, 46, 189, 0.4), 0 0 32px rgba(45, 226, 230, 0.25), 0 0 20px rgba(255, 210, 90, 0.2);
  --sg-glow-on: 0 0 26px rgba(255, 46, 189, 0.62), 0 0 48px rgba(45, 226, 230, 0.38), 0 0 28px rgba(255, 220, 120, 0.32);
  --sg-glow-hover: 0 0 36px rgba(255, 46, 189, 0.85), 0 0 64px rgba(45, 226, 230, 0.5), 0 0 40px rgba(255, 220, 120, 0.5), inset 0 1px 0 rgba(255, 245, 210, 0.45);
  border-color: rgba(255, 140, 220, 0.7);
}
html[data-theme="christmas"] .send-gift .send-gift-btn {
  --sg-glow: 0 0 18px rgba(255, 196, 90, 0.36), 0 0 40px rgba(180, 90, 30, 0.1);
  --sg-glow-on: 0 0 26px rgba(255, 210, 120, 0.48), 0 0 54px rgba(232, 150, 60, 0.2);
  --sg-glow-hover: 0 0 36px rgba(255, 220, 140, 0.72), 0 0 72px rgba(232, 150, 60, 0.36), inset 0 1px 0 rgba(255, 245, 210, 0.5);
}
html[data-theme="christmas"].theme-thrill .send-gift .send-gift-btn,
html[data-theme="christmas"] .theme-thrill .send-gift .send-gift-btn {
  --sg-glow: 0 0 16px rgba(255, 80, 180, 0.28), 0 0 28px rgba(255, 196, 90, 0.28), 0 0 22px rgba(45, 226, 230, 0.16);
  --sg-glow-on: 0 0 24px rgba(255, 80, 180, 0.4), 0 0 44px rgba(255, 210, 120, 0.32), 0 0 30px rgba(45, 226, 230, 0.22);
  --sg-glow-hover: 0 0 34px rgba(255, 80, 180, 0.55), 0 0 58px rgba(255, 210, 120, 0.48), 0 0 40px rgba(45, 226, 230, 0.32);
}
.theme-thrill .send-gift .amt-edit {
  background: rgba(8, 0, 18, 0.72);
  border-color: rgba(45, 226, 230, 0.55);
}
html[data-theme="christmas"] .send-gift .amt-edit {
  background: rgba(6, 10, 6, 0.66);
  border-color: rgba(255, 210, 120, 0.7);
}

/* Keep the group itself frameless (Thrillfinity's old neon circle must not wrap the capsule). */
.theme-thrill .combined.send-gift,
.theme-thrill .play-side .combined.send-gift,
.theme-thrill .play-side > .combined.send-gift {
  border: 0 !important;
  box-shadow: none !important;
  background: none !important;
  outline: none;
}

/* Equal space above the surrounding control (below the reels) and below it (above the jars). */
@media (min-width: 900px) {
  .play-side > .combined.send-gift { margin-top: 12px !important; }
  .play-side > .jars, .play-side .jars, .play-main + .play-side .jars { margin-top: 12px !important; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .play-side > .combined.send-gift { margin-top: 8px !important; width: min(300px, 86%) !important; }
  .play-side > .jars, .play-side .jars, .play-main + .play-side .jars { margin-top: 8px !important; }
  .send-gift .send-gift-btn { padding: 12px 18px 10px; padding-top: 66px; min-height: 0; }
  .send-gift .amt-editable { margin: 12px 16px 0; }
  .send-gift .amt-edit { padding: 4px 14px; }
  .send-gift .combined-value { font-size: 1.35rem; }
}
@media (max-width: 899px) {
  .play-side > .combined.send-gift { width: min(320px, 94%) !important; margin-top: 12px !important; }
  .send-gift .send-gift-btn { padding: 14px 20px 12px; padding-top: 72px; }
  .send-gift .amt-editable { margin: 14px 16px 0; }
}


/* ===== t175u: restore the t173 two-control layout. The amount is its own dark dashed box; Send with love is a separate button just under it, with a little clear space. The button does not surround or frame the amount. At $0 the button is greyed and does not send; with an amount it is fully glowing. The group is vertically centered in the gap between the reels and the jars. Short-form amounts and no edit-scroll stay. Portrait clearance is unchanged. ===== */
.play-side > .combined.send-gift,
.theme-thrill .play-side .combined.send-gift,
.theme-thrill .play-side > .combined.send-gift {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: min(260px, 90%) !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 0;
  background: none;
  gap: 0;
  grid-template-rows: none;
}
.send-gift .amt-editable {
  grid-row: auto;
  grid-column: auto;
  z-index: auto;
  position: relative;
  order: 1;
  margin: 0 0 8px;
  padding: 0;
  justify-self: center;
  width: auto;
}
.send-gift .amt-edit {
  display: inline-flex;
  background: rgba(5, 10, 8, 0.62);
  border: 1px dashed rgba(232, 201, 106, 0.7);
  border-radius: 10px;
  padding: 6px 18px;
  color: inherit;
  cursor: text;
  box-shadow: none;
  filter: none;
}
.send-gift .amt-edit:hover,
.send-gift .amt-edit:focus-visible {
  border-color: var(--gold-bright, #f2c85a);
  background: rgba(5, 10, 8, 0.78);
}
.send-gift .combined-value {
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  line-height: 1.15;
  margin: 0;
}
.send-gift .amt-error {
  grid-row: auto;
  grid-column: auto;
  order: 2;
  z-index: auto;
  margin: 0 0 6px;
}
.send-gift .send-gift-btn {
  grid-row: auto;
  grid-column: auto;
  order: 3;
  position: relative;
  z-index: auto;
  width: 100%;
  height: auto;
  min-height: 42px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 10px 22px;
  margin: 0;
  border-radius: 999px;
  box-sizing: border-box;
  animation: none;
  --sg-glow: 0 0 18px rgba(232, 196, 80, 0.32), 0 0 42px rgba(201, 168, 76, 0.18);
  --sg-glow-on: 0 0 26px rgba(255, 214, 120, 0.5), 0 0 58px rgba(232, 196, 80, 0.28);
  box-shadow: var(--sg-glow), inset 0 1px 0 rgba(255, 240, 200, 0.28);
  transition: box-shadow 0.35s ease, filter 0.25s ease;
}
.send-gift .send-gift-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
  pointer-events: none;
}
/* At $0 the separate Send button is clearly greyed and does not send; stay greyed on hover. */
.send-gift .send-gift-btn:disabled,
.send-gift .send-gift-btn.btn-pill:disabled,
.send-gift .send-gift-btn.btn-gold:disabled,
.send-gift .send-gift-btn.btn-neon:disabled,
.send-gift .send-gift-btn.btn-neon-outline:disabled,
.send-gift .send-gift-btn:disabled:hover,
.send-gift .send-gift-btn.btn-pill:disabled:hover,
.send-gift .send-gift-btn.btn-gold:disabled:hover,
.send-gift .send-gift-btn.btn-neon:disabled:hover,
.send-gift .send-gift-btn.btn-neon-outline:disabled:hover {
  opacity: 0.4 !important;
  filter: saturate(0.65) !important;
  color: inherit;
  -webkit-text-fill-color: inherit;
  cursor: default;
  transform: none !important;
  animation: none !important;
  box-shadow: 0 0 8px rgba(232, 196, 80, 0.12), inset 0 1px 0 rgba(255, 240, 200, 0.12);
}
/* With a real amount, the button is fully styled and glowing. */
.send-gift .send-gift-btn:not(:disabled),
.send-gift .send-gift-btn.btn-pill:not(:disabled),
.send-gift .send-gift-btn.btn-gold:not(:disabled),
.send-gift .send-gift-btn.btn-neon:not(:disabled) {
  opacity: 1 !important;
  filter: none;
  box-shadow: var(--sg-glow-on), inset 0 1px 0 rgba(255, 240, 200, 0.35);
  animation: sendGiftGlow 3.4s ease-in-out infinite;
}
.send-gift .send-gift-btn:not(:disabled):hover,
.send-gift .send-gift-btn.btn-pill:not(:disabled):hover,
.send-gift .send-gift-btn.btn-gold:not(:disabled):hover,
.send-gift .send-gift-btn.btn-neon:not(:disabled):hover {
  box-shadow: var(--sg-glow-on), inset 0 1px 0 rgba(255, 240, 200, 0.35);
}
@media (prefers-reduced-motion: reduce) {
  .send-gift .send-gift-btn,
  .send-gift .send-gift-btn:not(:disabled),
  .send-gift .send-gift-btn:disabled { animation: none !important; }
}
.theme-golden .send-gift .send-gift-btn,
body:not(.theme-hybrid):not(.theme-thrill) .send-gift .send-gift-btn {
  --sg-glow: 0 0 12px rgba(232, 196, 80, 0.2), 0 0 28px rgba(201, 168, 76, 0.1);
  --sg-glow-on: 0 0 18px rgba(255, 220, 150, 0.36), 0 0 40px rgba(201, 168, 76, 0.16);
}
.theme-thrill .send-gift .send-gift-btn {
  --sg-glow: 0 0 16px rgba(255, 46, 189, 0.4), 0 0 32px rgba(45, 226, 230, 0.25), 0 0 20px rgba(255, 210, 90, 0.2);
  --sg-glow-on: 0 0 26px rgba(255, 46, 189, 0.62), 0 0 48px rgba(45, 226, 230, 0.38), 0 0 28px rgba(255, 220, 120, 0.32);
  border-color: rgba(255, 140, 220, 0.7);
}
html[data-theme="christmas"] .send-gift .send-gift-btn {
  --sg-glow: 0 0 18px rgba(255, 196, 90, 0.36), 0 0 40px rgba(180, 90, 30, 0.1);
  --sg-glow-on: 0 0 26px rgba(255, 210, 120, 0.48), 0 0 54px rgba(232, 150, 60, 0.2);
}
html[data-theme="christmas"].theme-thrill .send-gift .send-gift-btn,
html[data-theme="christmas"] .theme-thrill .send-gift .send-gift-btn {
  --sg-glow: 0 0 16px rgba(255, 80, 180, 0.28), 0 0 28px rgba(255, 196, 90, 0.28), 0 0 22px rgba(45, 226, 230, 0.16);
  --sg-glow-on: 0 0 24px rgba(255, 80, 180, 0.4), 0 0 44px rgba(255, 210, 120, 0.32), 0 0 30px rgba(45, 226, 230, 0.22);
}
.theme-thrill .send-gift .amt-edit {
  background: rgba(8, 0, 18, 0.72);
  border-color: rgba(45, 226, 230, 0.55);
}
html[data-theme="christmas"] .send-gift .amt-edit {
  background: rgba(6, 10, 6, 0.66);
  border-color: rgba(255, 210, 120, 0.7);
}

/* Keep Thrillfinity's old neon-circle ring off the group so the two controls stay visually separate. */
.theme-thrill .combined.send-gift,
.theme-thrill .play-side .combined.send-gift,
.theme-thrill .play-side > .combined.send-gift {
  border: 0 !important;
  box-shadow: none !important;
  background: none !important;
  border-radius: 0 !important;
  outline: none;
}

/* Equal space above the group (below the reels) and below the group (above the jars). */
@media (min-width: 900px) {
  .play-side > .combined.send-gift { margin-top: 12px !important; }
  .play-side > .jars, .play-side .jars, .play-main + .play-side .jars { margin-top: 12px !important; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .play-side > .combined.send-gift { margin-top: 8px !important; width: min(240px, 86%) !important; }
  .play-side > .jars, .play-side .jars, .play-main + .play-side .jars { margin-top: 8px !important; }
  .send-gift .send-gift-btn { padding: 8px 18px; min-height: 38px; padding-top: 8px; }
  .send-gift .amt-editable { margin: 0 0 6px; }
  .send-gift .amt-edit { padding: 4px 14px; }
  .send-gift .combined-value { font-size: 1.35rem; }
}
@media (max-width: 899px) {
  .play-side > .combined.send-gift { width: min(260px, 92%) !important; margin-top: 12px !important; }
  .send-gift .send-gift-btn { padding: 10px 20px; padding-top: 10px; min-height: 42px; }
  .send-gift .amt-editable { margin: 0 0 8px; }
}

/* ===== t177u: center the amount + Send group in the visual gap between the bottom of the three reel units (reels-frame, including each reel's amount) and the top of the jar cards. The left-column "Each reel" caption is not the top edge. Portrait clearance is unchanged. The t175 two-control layout is unchanged. ===== */
@media (min-width: 900px) {
  .play-side > .combined.send-gift {
    position: relative;
  }
}

/* ===== t178u: the Wall of Gratitude shows names and ranks, with the existing labels for the first three, and no money amounts. ===== */
.givers-list .giver { grid-template-columns: 2.4em minmax(0, 1fr); }

/* ===== t178u: the gift sentence in the play tagline, including “place.”, stays on one line at 1280 and 1440. The tagline may use a little more width than the game column. ===== */
@media (min-width: 1280px) {
  .view-play .play-hero .play-lede {
    max-width: min(calc(100vw - 64px), 72rem);
    width: max-content;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* t178u: monthly and yearly buttons sit together on the wall card, wrapping cleanly on narrower widths. */
.recurring-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: center;
  align-items: center;
}
.monthly-teaser .recurring-actions button,
.monthly-offer .recurring-actions button {
  width: auto;
  min-width: 220px;
  margin: 0;
}

/* ===== t179u: undo the t169u laptop squeeze that shrank the jars and clipped the overflow waves.
   t169u cut padding-bottom from 40px to 22px (and to 8px under 820px-tall viewports) and dropped
   the illustration zoom from 2.1 to 1.8. The boxes felt smaller, and the glowing ripples ran past
   the card’s bottom edge. Keep a slightly fuller jar at every desktop height, with enough padding
   inside the card that the lowest wave sits clearly above the bottom border. Do not shrink the
   jars again just because the window is 800px tall. ===== */
@media (min-width: 900px) {
  .play-side .jar-visual,
  .jars .jar-visual { zoom: 2.2; }
  .play-side .jar,
  .jars .jar {
    padding: 14px 20px 48px 40px !important;
    overflow: visible;
  }
  .play-side .jars,
  .jars { overflow: visible; }
}
@media (min-width: 900px) and (max-height: 820px) {
  .play-side .jar-visual,
  .jars .jar-visual { zoom: 2.2; }
  .play-side .jar,
  .jars .jar { padding: 14px 20px 48px 40px !important; }
  /* reclaim a little room above the game so the taller cards still fit 1280×800 and 1440×800 */
  .view-play .play-hero { margin-bottom: 24px !important; }
}

/* ===== t182u: the "Each reel: $1,000 – $10,000" caption wraps to two lines; shorter
   scales ("Each reel: $1M – $10M") stay on one. That 13px height change grew the
   reel-stage row, dropped the three reels ~6.5px and the jar cards ~13px. Reserve
   two line-boxes so switching scale does not move the reels or the jars. ===== */
.denoms-side .scale-range,
.denoms.denoms-side .scale-range {
  min-height: calc(2 * 1.3em);
  box-sizing: content-box;
}

/* ===== t183u: during a wave that will overflow, .is-uncapped lifts the 74% max-height
   guard so the gold rises in one continuous motion through halfway to the brim.
   Overflow visuals still start only when the liquid reaches the rim. Non-overflow
   waves stay capped at 74%. ===== */


/* ===== t191u: Give monthly / yearly uses one custom amount field, not suggested tiles. ===== */
.monthly-amounts {
  display: flex;
  justify-content: center;
  grid-template-columns: none;
  gap: 0;
}
.dialog .monthly-amount-wrap,
.monthly-amount-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  width: min(280px, 100%);
  box-sizing: border-box;
  padding: 6px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
  color: var(--cream);
}
.monthly-amount-wrap:focus-within {
  border-color: var(--gold-bright);
  box-shadow: var(--glow);
}
.monthly-amount-prefix,
.monthly-amount-suffix {
  color: var(--gold-bright);
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.95rem;
}
.dialog .monthly-amount-wrap input,
.monthly-form .monthly-amount-wrap input {
  flex: 1 1 auto;
  min-width: 4em;
  width: 0;
  height: 40px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-align: center;
  box-shadow: none;
}
.monthly-form .monthly-amount-wrap input:focus {
  outline: none;
}
.monthly-form .monthly-amount-wrap input[aria-invalid="true"],
.monthly-amount-wrap:has(input[aria-invalid="true"]) {
  border-color: #ffbdb0;
}
.monthly-amount-wrap:has(input[aria-invalid="true"]) {
  box-shadow: 0 0 0 2px rgba(255, 140, 120, 0.35);
}


/* ===== t191u: on phones, center Spin+Reset against the reel box (not in the portrait
   clearance above it) and keep both buttons fully on screen. Desktop is unchanged:
   there the whole reel-stage row already shares one padding-top. ===== */
@media (max-width: 1023px) {
  .reel-stage > .spin-col {
    /* Same top clearance as the reel box; stretch only the reel-box band, then center the buttons in it.
       The column's own box stays level with the reels (t175/lay175 measure .spin-col vs .reels-frame). */
    align-self: stretch;
    align-content: center;
    justify-self: end;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    margin-top: 128px;
  }
  html[data-theme="christmas"] .reel-stage > .spin-col {
    margin-top: 140px;
  }
  .reel-stage .reset-under { min-width: 0; }
  .reel-stage .spin-side { max-width: 100%; }
}

/* ===== Theme system (t88u): Christmas. Decorations exist only while data-theme="christmas". ===== */
.theme-switch { position: fixed; left: 12px; bottom: 12px; z-index: 48; display: inline-flex; padding: 2px; border-radius: 999px; background: rgba(8, 14, 12, 0.72); border: 1px solid rgba(242, 200, 90, 0.38); backdrop-filter: blur(6px); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); }
.theme-btn { appearance: none; border: 0; background: transparent; color: rgba(255, 244, 214, 0.78); font: inherit; font-size: 0.68rem; letter-spacing: 0.06em; padding: 5px 11px; border-radius: 999px; cursor: pointer; }
.theme-btn[aria-pressed="true"] { background: rgba(242, 200, 90, 0.9); color: #1b1608; font-weight: 600; }
.theme-btn:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
html[data-theme="christmas"] .theme-btn[aria-pressed="true"] { background: #d9282c; color: #fff; }
@media (max-width: 600px) { .theme-switch { left: 8px; bottom: 74px; } .theme-btn { font-size: 0.62rem; padding: 4px 9px; } }

.xmas-lights { position: absolute; top: 0; left: 0; right: 0; height: 22px; z-index: 35; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 120 22%22%3E%3Cpath d=%22M0 3Q15 11 30 3T60 3T90 3T120 3%22 stroke=%22%232c4a3d%22 stroke-width=%221.6%22 fill=%22none%22/%3E%3Cg%3E%3Ccircle cx=%2215%22 cy=%2211%22 r=%223.6%22 fill=%22%23ff4d4d%22/%3E%3Ccircle cx=%2245%22 cy=%2211%22 r=%223.6%22 fill=%22%23ffd45e%22/%3E%3Ccircle cx=%2275%22 cy=%2211%22 r=%223.6%22 fill=%22%233fd68c%22/%3E%3Ccircle cx=%22105%22 cy=%2211%22 r=%223.6%22 fill=%22%235aa8ff%22/%3E%3C/g%3E%3C/svg%3E") repeat-x 0 0 / 120px 22px; animation: xmasTwinkle 2.4s ease-in-out infinite; }
@keyframes xmasTwinkle { 0%, 100% { filter: brightness(1) saturate(1); } 50% { filter: brightness(1.45) saturate(1.2) drop-shadow(0 0 3px rgba(255, 220, 140, 0.7)); } }
html[data-theme="christmas"] .reels-frame { box-shadow: 0 0 0 1px rgba(217, 40, 44, 0.35), 0 0 26px rgba(217, 40, 44, 0.16); }
html[data-theme="christmas"] .jars .jar:first-child { box-shadow: 0 0 0 1px rgba(63, 214, 140, 0.22), 0 0 20px rgba(63, 214, 140, 0.1); }
html[data-theme="christmas"] .jars .jar:last-child { box-shadow: 0 0 0 1px rgba(217, 40, 44, 0.26), 0 0 20px rgba(217, 40, 44, 0.1); }

/* snowy world lives behind the UI: flakes + hills + pines sit under main/header (z-index 1), visible in the margins */
.xmas-snow { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
.xmas-hills { position: fixed; left: 0; right: 0; bottom: 0; height: clamp(110px, 17vh, 190px); z-index: 0; pointer-events: none; }
.xmas-hills svg { width: 100%; height: 100%; display: block; max-width: none; }
.xmas-pines { position: fixed; bottom: 6px; width: clamp(120px, 15vw, 230px); z-index: 0; pointer-events: none; opacity: 0.95; }
.xmas-pines svg { width: 100%; height: auto; display: block; }
.xmas-pines-l { left: 0; } .xmas-pines-r { right: 0; transform: scaleX(-1); }
@media (max-width: 700px) { .xmas-pines { width: 96px; opacity: 0.7; } }
.xmas-santa { --sw: 220px; --ar: 0.997; --below: 0.235; grid-area: reels; align-self: start; justify-self: end; position: relative; z-index: 6; width: var(--sw); height: 0; margin: 0 3% 0 0; pointer-events: none; animation: santaBob 3.4s ease-in-out infinite; }
.xmas-santa img { position: absolute; left: 0; bottom: calc(var(--sw) * var(--ar) * var(--below) * -1 + 3px); display: block; width: 100%; height: auto; max-width: none; filter: drop-shadow(0 5px 6px rgba(0, 0, 0, 0.4)); }
.xmas-santa::after { content: ""; position: absolute; left: 6%; top: calc(var(--sw) * var(--ar) * (var(--below) - 0.83) - 12px); width: 18px; height: 18px; background: radial-gradient(circle, #fff 0 18%, rgba(255, 244, 190, 0.9) 30%, transparent 62%); animation: santaGlint 2.2s ease-in-out infinite; }
.xmas-santa.is-still, .xmas-santa.is-still::after { animation: none; }
@keyframes santaBob { 0%, 100% { transform: translateY(0) rotate(-0.6deg); } 50% { transform: translateY(-3px) rotate(0.8deg); } }
@keyframes santaGlint { 0%, 55%, 100% { opacity: 0; transform: scale(0.4); } 70% { opacity: 1; transform: scale(1.25); } }
@media (min-width: 1024px) { html[data-theme="christmas"] .play-main .reel-stage { padding-top: 112px; } }
@media (max-width: 1023px) { html[data-theme="christmas"] .reels-frame { margin-top: 124px; } .xmas-santa { --sw: 150px; margin: 124px 2% 0 0; } }
@media (prefers-reduced-motion: reduce) { .xmas-lights { animation: none; } .xmas-santa, .xmas-santa::after { animation: none; } }

/* ===== t97u: reel frame clips everything to its rounded border (all designs, both themes) ===== */
.reels-frame { --frame-r: 20px; --frame-bw: 1.5px; overflow: hidden; isolation: isolate; transform: translateZ(0); -webkit-transform: translateZ(0); }
.theme-hybrid .reels-frame { --frame-r: 28px; --frame-bw: 3px; }
.theme-thrill .reels-frame { --frame-r: 22px; --frame-bw: 3px; }
.reels-frame > .reel:first-child { border-top-left-radius: calc(var(--frame-r) - var(--frame-bw)); border-bottom-left-radius: calc(var(--frame-r) - var(--frame-bw)); }
.reels-frame > .reel:last-child { border-top-right-radius: calc(var(--frame-r) - var(--frame-bw)); border-bottom-right-radius: calc(var(--frame-r) - var(--frame-bw)); }
.reels-frame > .reel:first-child .reel-amt { border-bottom-left-radius: calc(var(--frame-r) - var(--frame-bw)); }
.reels-frame > .reel:last-child .reel-amt { border-bottom-right-radius: calc(var(--frame-r) - var(--frame-bw)); }
.reels-frame > .reel:first-child .reel-window { border-top-left-radius: calc(var(--frame-r) - var(--frame-bw)); }
.reels-frame > .reel:last-child .reel-window { border-top-right-radius: calc(var(--frame-r) - var(--frame-bw)); }

/* ===== t102u: background snow stays strictly BEHIND every card — cards are solid in Christmas ===== */
html[data-theme="christmas"] .theme-golden .jar, html[data-theme="christmas"] .theme-hybrid .jar { background-color: #08100d; }
html[data-theme="christmas"] .theme-thrill .jar, html[data-theme="christmas"] .theme-thrill .givers { background-color: #0c001c; }
html[data-theme="christmas"] .theme-golden .givers { background-color: #0a1812; }
html[data-theme="christmas"] .theme-hybrid .givers { background-color: #0a2018; }
html[data-theme="christmas"] .jar, html[data-theme="christmas"] .givers { position: relative; z-index: 2; }
html[data-theme="christmas"] .xmas-hills, html[data-theme="christmas"] .xmas-pines, html[data-theme="christmas"] .xmas-snow { z-index: 0; }

/* ===== About Seti: strengths wheel (t93u) ===== */
.view-about { width: min(1180px, calc(100% - 28px)); text-align: center; }
.view-about .about-intro { margin: 4px auto 6px; max-width: 40rem; color: var(--cream-dim); font-size: 0.9rem; line-height: 1.45; }
.view-about .about-note { margin: 6px auto 0; font-size: 0.68rem; letter-spacing: 0.06em; color: var(--muted); }
.view-about #aboutViz, .view-creation #creationViz { --ab-a: #c9a84c; --ab-b: #f0e0a0; --ab-hub1: #15402f; --ab-hub2: #07110d; --ab-text: #f3e6c4; --ab-active1: #f0dc94; --ab-active2: #c9a84c; --ab-active-ink: #231805; --ab-star1: #fff0b0; --ab-star2: #d9a932;
  --seg0: rgba(27, 92, 69, 0.62); --seg1: rgba(20, 61, 48, 0.78); --seg2: rgba(27, 92, 69, 0.62); --seg3: rgba(20, 61, 48, 0.78); --seg4: rgba(36, 110, 82, 0.62); --seg-line: rgba(201, 168, 76, 0.55); margin-top: 8px; }
.theme-hybrid .view-about #aboutViz, .theme-hybrid .view-creation #creationViz { --ab-a: #5fe0c0; --ab-b: #f2c85a; --ab-hub1: #1c6a50; --ab-hub2: #0a1c15; --ab-star1: #fff3c0; --ab-star2: #f0b94a;
  --seg0: rgba(31, 122, 90, 0.6); --seg1: rgba(212, 177, 90, 0.26); --seg2: rgba(48, 160, 120, 0.5); --seg3: rgba(212, 177, 90, 0.2); --seg4: rgba(31, 122, 90, 0.56); --seg-line: rgba(240, 224, 160, 0.55); }
.theme-thrill .view-about #aboutViz, .theme-thrill .view-creation #creationViz { --ab-a: #ff2ebd; --ab-b: #2de2e6; --ab-hub1: #3a1257; --ab-hub2: #0b0616; --ab-text: #fff; --ab-active1: #ff7be5; --ab-active2: #2de2e6; --ab-active-ink: #0b0616; --ab-star1: #ffe680; --ab-star2: #ffb020;
  --seg0: rgba(255, 46, 189, 0.3); --seg1: rgba(45, 226, 230, 0.24); --seg2: rgba(255, 210, 74, 0.2); --seg3: rgba(255, 46, 189, 0.24); --seg4: rgba(45, 226, 230, 0.3); --seg-line: rgba(255, 255, 255, 0.4); }

.about-stage { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "s1 s2" "wheel wheel" "s3 s3"; gap: 10px 14px; align-items: start; justify-items: center; }
.about-wheel-wrap { grid-area: wheel; width: min(100%, 560px); }
.about-star.star-1 { grid-area: s1; } .about-star.star-2 { grid-area: s2; } .about-star.star-3 { grid-area: s3; }
.about-wheel { width: 100%; height: auto; overflow: visible; font-family: var(--font-display, inherit); }
.about-cards { display: grid; gap: 12px; margin: 10px auto 0; max-width: 640px; text-align: left; }
.about-card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; backdrop-filter: blur(10px); animation: aboutCardIn 0.35s ease both; }
.about-card[hidden], .about-card:empty { display: none; }
@keyframes aboutCardIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.about-hint { margin: 0; color: var(--muted); font-size: 0.82rem; text-align: center; }
.card-kicker { margin: 0 0 2px; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ab-a, var(--gold)); }
.card-title { margin: 0 0 6px; font-size: 1.25rem; font-weight: 500; letter-spacing: 0.04em; color: var(--ab-text, var(--cream)); }
.card-text { margin: 0; font-size: 0.92rem; line-height: 1.55; color: var(--cream-dim); }

/* stars */
.about-star { appearance: none; background: transparent; border: 0; color: var(--cream); font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 220px; padding: 6px 8px; border-radius: 16px; text-align: center; }
.about-star svg { width: 64px; height: 64px; overflow: visible; filter: drop-shadow(0 0 8px rgba(240, 190, 70, 0.55)); transition: transform 0.35s ease, filter 0.35s ease; }
.about-star path { fill: url(#abStarFill); fill: var(--ab-star2); stroke: var(--ab-star1); stroke-width: 2.5; stroke-linejoin: round; }
.about-star .star-label { font-size: 0.84rem; line-height: 1.3; color: var(--cream); }
.about-star:hover svg, .about-star:focus-visible svg { transform: scale(1.1) rotate(8deg); }
.about-star.is-open svg { transform: scale(1.18) rotate(-6deg); filter: drop-shadow(0 0 16px rgba(255, 220, 110, 0.95)); animation: starPulse 1.8s ease-in-out infinite; }
.about-star.is-open .star-label { color: var(--ab-star1); text-decoration: none; }
.about-star:focus-visible, .strength-seg:focus-visible { outline: 2px solid var(--ab-b, #fff); outline-offset: 3px; }
@keyframes starPulse { 0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 220, 110, 0.8)); } 50% { filter: drop-shadow(0 0 22px rgba(255, 235, 150, 1)); } }

/* wheel */
.wheel-halo { fill: none; stroke: var(--ab-a); stroke-opacity: 0.12; stroke-width: 36; }
.strength-seg { cursor: pointer; outline: none; }
.strength-seg .seg-shape { stroke: var(--seg-line); stroke-width: 1.5; stroke-linejoin: round; transition: fill 0.3s ease, filter 0.3s ease, transform 0.3s ease; transform-origin: 360px 360px; }
.seg-0 .seg-shape { fill: var(--seg0); } .seg-1 .seg-shape { fill: var(--seg1); } .seg-2 .seg-shape { fill: var(--seg2); } .seg-3 .seg-shape { fill: var(--seg3); } .seg-4 .seg-shape { fill: var(--seg4); }
.strength-seg:hover .seg-shape { filter: brightness(1.35); }
.strength-seg.is-active .seg-shape { fill: var(--ab-active2); fill-opacity: 0.95; stroke: #fff; stroke-width: 2.5; filter: drop-shadow(0 0 14px var(--ab-a)); transform: scale(1.025); }
.strength-seg:focus-visible .seg-shape { stroke: #fff; stroke-width: 3.5; }
.seg-rank { font-size: 17px; fill: var(--ab-a); opacity: 0.95; pointer-events: none; font-family: var(--font-ui, inherit); }
.seg-name { font-size: 22px; fill: var(--ab-text, var(--cream)); letter-spacing: 0.03em; pointer-events: none; }
.strength-seg.is-active .seg-rank, .strength-seg.is-active .seg-name { fill: var(--ab-active-ink); }
.hub { fill: url(#abHub); stroke: var(--ab-a); stroke-width: 2; }
.hub-title text { fill: var(--gold-bright, var(--gold, var(--ab-a))); text-rendering: geometricPrecision; }   /* t178u: the page heading now lives in the hub, site gold */
.hub-title .hub-t1 { font-family: var(--font-display, inherit); font-size: 28px; font-weight: 700; letter-spacing: 0.02em; }
.hub-title .hub-t2 { font-family: var(--font-ui, inherit); font-size: 22px; font-weight: 600; letter-spacing: 0.01em; }
.hub-text { font-size: 22px; fill: var(--cream-dim); letter-spacing: 0.12em; font-family: var(--font-ui, inherit); }
.crown circle { fill: var(--ab-hub2); stroke: url(#abRing); stroke: var(--ab-b); stroke-width: 3; }
.crown text { font-size: 24px; fill: var(--ab-b); letter-spacing: 0.04em; }
.crown-icon { fill: var(--ab-b); stroke: var(--ab-a); stroke-width: 1.5; stroke-linejoin: round; }
.crown { filter: drop-shadow(0 0 10px var(--ab-a)); }
.flow-arc { fill: none; stroke: var(--ab-a); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 2 11; animation: flowDash 1.6s linear infinite; opacity: 0.95; }
@keyframes flowDash { to { stroke-dashoffset: -13; } }
.flow-pill rect { fill: var(--ab-hub2); stroke: var(--ab-a); stroke-width: 2; }
.flow-pill text { font-size: 19px; fill: var(--ab-b); letter-spacing: 0.08em; font-family: var(--font-ui, inherit); text-transform: uppercase; }
.flow-comet { fill: #fff; }

/* desktop: stars flank the wheel at 10 / 2 / 6 o'clock; the wheel stays on the page centre line, cards sit centred below (t123u) */
@media (min-width: 1100px) {
  .about-stage { grid-template-columns: 1fr minmax(0, 520px) 1fr; grid-template-areas: "s1 wheel s2" ". s3 ."; }
  .about-stage .about-star.star-1 { align-self: start; margin-top: 70px; justify-self: end; }
  .about-stage .about-star.star-2 { align-self: start; margin-top: 70px; justify-self: start; }
  .about-star { max-width: 190px; }
  .about-cards { margin: 14px auto 0; max-width: 680px; }
}
@media (max-width: 600px) {
  .seg-name { font-size: 24px; }
  .seg-rank { font-size: 19px; }
  .flow-pill text { font-size: 21px; letter-spacing: 0.04em; }
  .about-star svg { width: 52px; height: 52px; }
  .about-star .star-label { font-size: 0.76rem; }
  .about-star.star-3 { margin-top: -2px; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-arc { animation: none; }
  .about-star.is-open svg { animation: none; }
  .about-card { animation: none; }
  .strength-seg .seg-shape, .about-star svg { transition: none; }
}

.about-caption { margin: 0 auto 14px; max-width: 46ch; text-align: center; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.55; color: var(--muted); text-wrap: balance; }


/* ===== t192u: strength descriptions open in a centered pop-up; no below-the-circle strength panel. ===== */
.about-strength-modal, .about-strength-dialog { --ab-a: #c9a84c; --ab-b: #f0e0a0; --ab-text: #f3e6c4; --ab-active-ink: #231805; }
.theme-hybrid .about-strength-modal, .theme-hybrid .about-strength-dialog { --ab-a: #5fe0c0; --ab-b: #f2c85a; }
.theme-thrill .about-strength-modal, .theme-thrill .about-strength-dialog { --ab-a: #ff2ebd; --ab-b: #2de2e6; --ab-text: #fff; --ab-active-ink: #0b0616; }
.about-strength-dialog { width: min(640px, 100%); text-align: left; }
.about-strength-dialog #strengthCard { background: none; border: 0; padding: 4px 8px 8px; box-shadow: none; backdrop-filter: none; animation: none; }
.about-strength-dialog #strengthCard:empty { display: none; }
@media (max-width: 760px) {
  .about-strength-dialog { width: min(100%, 640px); }
  .about-strength-dialog #strengthCard { padding: 2px 2px 6px; }
}

/* ===== Creation page (t96u) ===== */
.view-creation { width: min(1180px, calc(100% - 28px)); text-align: center; }
.view-creation .about-intro { margin: 4px auto 14px; max-width: 46rem; color: var(--cream-dim); font-size: 0.92rem; line-height: 1.5; }
.cre-flow { position: relative; padding: 4px 0; text-align: left; }
.cre-links { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; max-width: none; }
.cre-link { fill: none; stroke: var(--ab-b); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 2 10; animation: creFlow 1.3s linear infinite; }
.cre-link-glow { fill: none; stroke: var(--ab-a); stroke-width: 7; stroke-opacity: 0.2; stroke-linecap: round; filter: blur(3px); }
@keyframes creFlow { to { stroke-dashoffset: -12; } }
.cre-jar { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0 auto 58px; width: max-content; }
/* t126u: the main page's full overflowing jar (same .jar component), static; neutralise the .jar card chrome and size it for this page */
html .view-creation .jar.cre-jar-full, html[data-theme="christmas"] .view-creation .jar.cre-jar-full { display: block; padding: 0; margin: 0; background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0; transform: none; animation: none; margin-top: -34px !important; }
.view-creation .cre-jar-full .jar-visual { width: 56px; height: 66px; --vh: 66px; zoom: 2.6; margin: 0 auto; display: block; }
@media (max-width: 760px) { html .view-creation .jar.cre-jar-full, html[data-theme="christmas"] .view-creation .jar.cre-jar-full { margin-top: -8px !important; } .view-creation .cre-jar-full .jar-visual { zoom: 1.9; } .cre-jar { gap: 8px; margin-bottom: 46px; } }
.cre-jar-name { font-family: var(--font-display, inherit); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem; color: var(--ab-b); }
.cre-cats { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 2.3fr) repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.cre-col { display: flex; flex-direction: column; gap: 0; }
.cre-subs { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 0 28px; }
.cre-subs.is-wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 30px; row-gap: 10px; margin: 30px 0 0; }
.cre-node { appearance: none; position: relative; width: 100%; display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 11px 13px; color: var(--cream); font: inherit; cursor: pointer;
  background: var(--glass); border: 1px solid var(--line); border-radius: 14px; backdrop-filter: blur(8px); transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s; }
.cre-node:hover { border-color: var(--ab-b); transform: translateY(-1px); }
.cre-node:focus-visible { outline: 2px solid var(--ab-b); outline-offset: 3px; }
.cre-node.is-active { border-color: var(--ab-b); box-shadow: 0 0 0 1px var(--ab-b), 0 0 22px var(--ab-a); background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), var(--glass)); }
.cre-cat .cre-name { font-family: var(--font-display, inherit); font-size: 1.1rem; letter-spacing: 0.04em; color: var(--ab-text, var(--cream)); }
.cre-kicker { font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ab-a); }
.cre-theme { font-size: 0.74rem; color: var(--cream-dim); line-height: 1.3; }
.cre-sub { padding: 8px 12px; border-radius: 12px; }
.cre-sub .cre-name { font-size: 0.86rem; line-height: 1.3; padding-right: 3.2em; }
.cre-count { position: absolute; top: 8px; right: 10px; font-size: 0.68rem; color: var(--ab-b); font-variant-numeric: tabular-nums; }
.cre-sub .cre-count { top: 50%; transform: translateY(-50%); }
.is-bonus .cre-cat { border-style: dashed; }
.cre-detail { max-width: 680px; margin: 22px auto 0; text-align: left; }
.cre-chip { display: inline-block; margin: 0 0 8px; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.72rem; color: var(--ab-b); }
.cre-votes { display: flex; align-items: center; gap: 12px; margin: 10px 0 0; font-size: 0.86rem; color: var(--ab-b); }
.cre-open, .cre-submit { appearance: none; cursor: pointer; font: inherit; font-size: 0.82rem; letter-spacing: 0.06em; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--ab-b, #f0e0a0); color: var(--ab-b, #f0e0a0); background: transparent; }
.cre-open[aria-expanded="true"] { background: rgba(255, 255, 255, 0.08); }
.cre-submit { background: linear-gradient(135deg, var(--ab-b, #f0e0a0), var(--ab-a, #c9a84c)); color: var(--ab-active-ink, #231805); font-weight: 600; border-color: transparent; }
.cre-open:focus-visible, .cre-submit:focus-visible, .cre-form input:focus-visible, .cre-form textarea:focus-visible { outline: 2px solid var(--ab-b, #f0e0a0); outline-offset: 2px; }
.cre-form { margin: 12px 0 0; display: grid; gap: 10px; }
.cre-field { display: grid; gap: 4px; font-size: 0.78rem; color: var(--cream-dim); }
.cre-field b { color: var(--ab-a); }
.cre-field input, .cre-field textarea { width: 100%; font: inherit; font-size: 0.92rem; color: var(--cream); padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.06); resize: vertical; }
.cre-check { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--cream-dim); }
.cre-submit { justify-self: start; }
.cre-msg { margin: 0; min-height: 1.2em; font-size: 0.84rem; }
.cre-msg.is-ok { color: #a6e8b2; } .cre-msg.is-err { color: #ffbdb0; }
.cre-privacy { margin: 0; font-size: 0.7rem; line-height: 1.4; color: var(--muted); }
.cre-recent { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: 0.82rem; color: var(--cream-dim); }
.cre-recent b { color: var(--cream); font-weight: 500; }
.cre-ideas { max-width: 680px; margin: 28px auto 0; padding: 16px 18px; text-align: left; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); }
.cre-ideas h2 { margin: 0 0 2px; font-size: 1.15rem; letter-spacing: 0.04em; }
.cre-ideas-lede { margin: 0 0 6px; font-size: 0.84rem; color: var(--cream-dim); }
.cre-admin { margin: 18px 0 0; }
@media (max-width: 899px) {
  .cre-subs.is-wide { display: flex; margin: 16px 0 0 34px; }
  .cre-cats { grid-template-columns: minmax(0, 1fr); padding-left: 22px; row-gap: 22px; }
  .cre-subs { margin-left: 34px; }
}
@media (prefers-reduced-motion: reduce) { .cre-link { animation: none; } .cre-node { transition: none; } }

/* header fits one more nav item (Creation) on phones */
@media (max-width: 430px) {
  .site-header { padding-left: 10px !important; padding-right: 10px !important; gap: 6px !important; }
  .site-header .header-nav { gap: 3px !important; }
  .site-header .brand { gap: 5px !important; }
  .site-header .cur-btn { padding: 4px 5px !important; font-size: 0.62rem !important; }
  .site-header .header-nav .text-btn { font-size: 0.6rem !important; letter-spacing: 0.02em !important; padding: 4px 1px !important; }
  .site-header .icon-btn { width: 26px !important; height: 26px !important; }
  .site-header .brand-name { max-width: 6.2em !important; }
  .theme-thrill .site-header .brand-name { max-width: none !important; font-size: 1rem !important; }
}

.cre-jump { color: var(--ab-b); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; text-decoration-thickness: 1.5px; cursor: pointer; }
.cre-jump:hover, .cre-jump:focus-visible { text-decoration-style: solid; }
.cre-jump:focus-visible { outline: 2px solid var(--ab-b); outline-offset: 3px; border-radius: 3px; }
.cre-ideas { scroll-margin-top: calc(var(--hdr-h, 56px) + 14px); }

/* ===== t152u: topics as flip cards (front: icon, title, tagline; back: subtopics + voting) ===== */
.cre-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.cre-flip { display: block; perspective: 1600px; }
.cre-flip-inner { position: relative; display: grid; height: 100%; transform-style: preserve-3d; transition: transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1); }
.cre-flip.is-flipped .cre-flip-inner { transform: rotateY(180deg); }
.cre-face { grid-area: 1 / 1; min-height: 240px; display: flex; flex-direction: column; padding: 16px; border-radius: 20px; border: 1px solid var(--line); -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background: radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, 0.07), transparent 60%), linear-gradient(160deg, rgba(10, 34, 30, 0.92), rgba(6, 18, 18, 0.94)); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 236, 170, 0.05); }
.theme-thrill .cre-face { background: radial-gradient(110% 90% at 0% 0%, rgba(255, 46, 189, 0.14), transparent 60%), linear-gradient(160deg, rgba(22, 4, 44, 0.94), rgba(10, 0, 24, 0.95)); }
.cre-back { transform: rotateY(180deg); gap: 10px; }
.is-bonus .cre-face { border-style: dashed; }
.cre-face .cre-node { -webkit-backdrop-filter: none; backdrop-filter: none; }
.cre-flip-btn { appearance: none; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px 8px; text-align: center; font: inherit; color: var(--cream); background: none; border: 0; border-radius: 14px; cursor: pointer; }
.cre-flip-btn:focus-visible { outline: 2px solid var(--ab-b); outline-offset: 2px; }
.cre-icon { display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: 4px; border-radius: 50%; color: var(--ab-b); background: radial-gradient(circle, rgba(255, 220, 120, 0.14), transparent 70%); box-shadow: 0 0 0 1px var(--line), 0 0 26px rgba(240, 200, 90, 0.18); transition: transform 0.35s ease, box-shadow 0.35s ease; }
.cre-flip-btn:hover .cre-icon, .cre-flip-btn:focus-visible .cre-icon { transform: scale(1.06) rotate(-4deg); box-shadow: 0 0 0 1px var(--ab-b), 0 0 34px rgba(240, 200, 90, 0.35); }
.cre-front-name { font-family: var(--font-display, inherit); font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: 0.04em; color: var(--ab-text, var(--cream)); }
.cre-front-theme { font-size: 0.9rem; color: var(--cream-dim); }
.cre-front-meta { display: flex; gap: 14px; align-items: center; margin-top: 8px; font-size: 0.74rem; }
.cre-front .cre-count { position: static; transform: none; }
.cre-flip-cue { color: var(--ab-a); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.66rem; }
.cre-back .cre-cat { padding-right: 3.6em; }
.cre-back .cre-subs, .cre-back .cre-subs.is-wide { margin: 0; }
.cre-back .cre-subs.is-wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; row-gap: 8px; }
.cre-flip-back { appearance: none; align-self: flex-end; margin-top: auto; padding: 6px 14px; font: inherit; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--ab-b); background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.cre-flip-back:hover { border-color: var(--ab-b); }
.cre-flip-back:focus-visible { outline: 2px solid var(--ab-b); outline-offset: 2px; }
@media (max-width: 899px) {
  .cre-cats { grid-template-columns: minmax(0, 1fr); }
  .cre-face { min-height: 200px; }
  .cre-back .cre-subs.is-wide { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .cre-flip-inner, .cre-flip.is-flipped .cre-flip-inner { transition: none; transform: none; }
  .cre-back { transform: none; opacity: 0; transition: opacity 0.25s ease; }
  .cre-front { transition: opacity 0.25s ease; }
  .cre-flip.is-flipped .cre-back { opacity: 1; } .cre-flip.is-flipped .cre-front { opacity: 0; }
  .cre-icon { transition: none; }
}
.cre-flip:not(.is-flipped) .cre-back, .cre-flip.is-flipped .cre-front { pointer-events: none; }
/* t167u: the topic's own words on the back of each card; without JS both faces show, stacked (readable static text) */
.cre-back-desc { margin: 0; font-size: 0.86rem; line-height: 1.45; color: var(--cream-dim, rgba(243, 234, 210, 0.78)); }
html:not(.js) .cre-flip-inner { display: block; transform: none !important; }
html:not(.js) .cre-face { -webkit-backface-visibility: visible; backface-visibility: visible; min-height: 0; }
html:not(.js) .cre-back { transform: none; opacity: 1; pointer-events: auto; margin-top: 10px; }
html:not(.js) .cre-flip-back, html:not(.js) .cre-flip-cue { display: none; }
/* ===== t185u: the Legacy jar in the middle, the topic cards around it; gold flows out of the jar's ripples toward each card =====
   desktop: two cards left, two right, jar centred between them (spans both rows); phone/tablet: two cards above, jar, two below. */
.cre-flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 300px) minmax(0, 1fr); grid-template-areas: "c1 jar c2" "c3 jar c4"; column-gap: 30px; row-gap: 26px; align-items: stretch; padding: 8px 0 4px; }
.cre-flow > .cre-cats { display: contents; }
.cre-flow > .cre-jar { grid-area: jar; align-self: center; justify-self: center; margin: 0; width: auto; }
.cre-cats > .cre-col:nth-child(1) { grid-area: c1; } .cre-cats > .cre-col:nth-child(2) { grid-area: c2; }
.cre-cats > .cre-col:nth-child(3) { grid-area: c3; } .cre-cats > .cre-col:nth-child(4) { grid-area: c4; }
.cre-flow .cre-col { position: relative; z-index: 1; min-width: 0; align-self: start; }
/* the card's size comes from its front; the back is laid over it and, when flipped, the card grows to fit the back (JS sets min-height) */
html.js .cre-flow .cre-back { position: absolute; left: 0; right: 0; top: 0; min-height: 100%; }
.cre-flow .cre-flip-inner { transition: transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1), min-height 0.35s ease; }
.cre-flow .cre-back .cre-subs.is-wide { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .cre-flow .cre-jar-full .jar-visual { zoom: 3.1; } .cre-flow > .cre-jar { gap: 22px; } }
@media (min-width: 1200px) { .cre-flow .cre-back .cre-subs.is-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .cre-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; grid-template-areas: "c1 c2" "jar jar" "c3 c4"; column-gap: 14px; row-gap: 18px; padding-left: 0; }
  .cre-flow > .cre-jar { padding: 6px 0 16px; }
  html .view-creation .jar.cre-jar-full, html[data-theme="christmas"] .view-creation .jar.cre-jar-full { margin-top: -6px !important; }
  .cre-flow .cre-face { min-height: 184px; padding: 12px 10px; border-radius: 16px; }
  .cre-flow .cre-icon { width: 56px; height: 56px; }
  .cre-flow .cre-icon svg { width: 34px; height: 34px; }
  .cre-flow .cre-front-name { font-size: 1.08rem; }
  .cre-flow .cre-front-theme { font-size: 0.78rem; }
  .cre-flow .cre-front-meta { flex-direction: column; gap: 4px; }
  .cre-flow .cre-back { gap: 8px; }
  .cre-flow .cre-back .cre-cat { padding-right: 0.6em; }
  .cre-flow .cre-back .cre-cat .cre-count { position: static; transform: none; display: block; margin-top: 2px; }
  .cre-flow .cre-back-desc { font-size: 0.78rem; }
  .cre-flow .cre-sub { padding: 8px 9px; font-size: 0.82rem; }
  .cre-flow .cre-flip-back { align-self: stretch; text-align: center; }
}

.cre-field-note { font-style: normal; font-size: 0.72em; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-left: 4px; }   /* t186u */

/* ===== t169u: topic / subtopic vote pop-up (same card family as Meet Seti / Q&A / story); form is visible at once ===== */
.cre-vote-dialog { width: min(640px, 100%); max-height: min(760px, calc(100dvh - 28px)); overflow-y: auto; overscroll-behavior: contain; }
.cre-vote-dialog .card-title { margin: 0 0 8px; text-align: center; }
.cre-vote-dialog .card-kicker, .cre-vote-dialog .cre-chip, .cre-vote-dialog .cre-votes { text-align: center; }
.cre-vote-dialog .card-text { margin: 0 0 4px; }
@media (max-width: 760px) { .cre-vote-dialog { padding: 34px 18px 22px; border-radius: 20px; max-height: calc(100dvh - 16px); } }

/* ===== t191u: Creation pop-ups sit outside #creationViz, so give them the same --ab-* as the Creation view.
   Send my vote and More ideas? reuse the existing .cre-submit gold-to-mint (or site equivalent) pill. ===== */
.cre-vote-modal, .cre-ideas-modal { --ab-a: #c9a84c; --ab-b: #f0e0a0; --ab-active-ink: #231805; }
.theme-hybrid .cre-vote-modal, .theme-hybrid .cre-ideas-modal { --ab-a: #5fe0c0; --ab-b: #f2c85a; }
.theme-thrill .cre-vote-modal, .theme-thrill .cre-ideas-modal { --ab-a: #ff2ebd; --ab-b: #2de2e6; --ab-active-ink: #0b0616; }
.cre-field input[aria-invalid="true"], .cre-field textarea[aria-invalid="true"] { border-color: #ffbdb0; box-shadow: 0 0 0 2px rgba(255, 140, 120, 0.35); }
.cre-ideas-btn { position: relative; z-index: 2; margin-top: 46px; justify-self: center; }
.cre-flow > .cre-jar .cre-ideas-btn { align-self: center; }
.cre-ideas-dialog .cre-ideas { max-width: none; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; }
.cre-ideas-dialog #creIdeasTitle, .cre-ideas-dialog .cre-ideas-lede, .cre-ideas-dialog .card-title { text-align: center; }

/* ===== t101u: sticky header with a translucent blurred backdrop (t130u: no centred title; the small name fades in next to the logo after the hero) ===== */
.theme-golden { --hdr-bg: rgba(8, 8, 6, 0.76); --hdr-line: rgba(201, 168, 76, 0.2); }
.theme-hybrid { --hdr-bg: rgba(6, 18, 14, 0.74); --hdr-line: rgba(201, 168, 76, 0.2); }
.theme-thrill { --hdr-bg: rgba(10, 0, 24, 0.74); --hdr-line: rgba(255, 46, 189, 0.3); }
html { scroll-padding-top: calc(var(--hdr-h, 56px) + 8px); }
.site-header { position: sticky !important; top: 0; z-index: 42 !important; background: var(--hdr-bg); -webkit-backdrop-filter: blur(12px) saturate(1.15); backdrop-filter: blur(12px) saturate(1.15); border-bottom: 1px solid var(--hdr-line); }
.amt-editable, .jar, .combined, .reels-frame, .givers { scroll-margin-top: calc(var(--hdr-h, 56px) + 12px); }
html[data-theme="christmas"] .xmas-lights { z-index: 60; }
@media (prefers-reduced-motion: reduce) { .site-header .brand-name { transition: opacity 0.01s !important; transform: none !important; } }
/* desktop play page: the bar overlays the top of the page (intro stays at the very top, no height reserved); it gains its backdrop once the page scrolls */
@media (min-width: 900px) {
  body[data-view="play"] .site-header {
    position: sticky !important; top: 0; left: auto; right: auto; box-sizing: border-box; height: 52px; margin-bottom: -52px; padding: 14px 28px 0 !important; align-items: flex-start !important;
    transition: background-color 0.25s ease, border-color 0.25s ease;
  }
  body[data-view="play"] .site-header:not(.is-stuck) { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  body[data-view="play"] .site-header.is-stuck { pointer-events: auto; }
}

/* t112u: hybrid logo (overflowing golden bowl) replaces the monogram */
.site-header .brand-logo { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; margin: 0 !important; contain: paint; }
.site-header .brand-logo-svg { width: 100%; height: 100%; display: block; }
@media (max-width: 430px) { .site-header .brand-logo { width: 32px; height: 32px; } }

/* t129u/t130u: wordmark appears only after the hero headline has scrolled away (its space stays reserved, so nothing jumps) */
.site-header .brand-name { transition: opacity 0.35s ease, transform 0.35s ease; }
.site-header.name-hidden .brand-name { opacity: 0; transform: translateX(-8px); pointer-events: none; }

.site-header .header-nav { margin-left: auto; }
/* t166u: header brand + About/Creation are real links now; keep the exact button look */
.site-header a.brand, .site-header a.text-btn { text-decoration: none; font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.site-header a.text-btn { display: inline-block; line-height: normal; }

.noscript-note { max-width: 46rem; margin: 18px auto; padding: 0 20px; text-align: center; line-height: 1.6; color: var(--cream, #f3ead2); }
.noscript-note a { color: var(--gold-bright, #f0e0a0); }
/* t182u: links styled as buttons (GEO real <a href> links: Back to play, header brand / About / Creation) never show the browser's
   default link underline, in any state. Inline text links (.cre-jump, skip link) keep theirs on purpose. */
:is(a.btn-pill, a.btn-gold, a.btn-neon), :is(a.btn-pill, a.btn-gold, a.btn-neon):is(:link, :visited, :hover, :focus, :focus-visible, :active),
.site-header :is(a.brand, a.text-btn), .site-header :is(a.brand, a.text-btn):is(:link, :visited, :hover, :focus, :focus-visible, :active) { text-decoration: none; }
:is(a.btn-pill, a.btn-gold, a.btn-neon) { display: inline-flex; align-items: center; justify-content: center; text-align: center; }

/* ===== t118u: illustrated portrait of Seti + "Meet Seti" card ===== */
.seti-portrait { --sz: 160px; --ring: #c9a84c; --ring2: rgba(201, 168, 76, 0.24); --glow: rgba(240, 224, 160, 0.34); position: relative; display: block; width: var(--sz); height: var(--sz); flex: none; margin: 0; border-radius: 50%; overflow: hidden; border: 2px solid var(--ring); box-shadow: 0 0 0 5px var(--ring2), 0 0 32px var(--glow); background: #07110d; isolation: isolate; transform: translateZ(0); }
.theme-hybrid .seti-portrait { --ring: #f2c85a; --ring2: rgba(95, 224, 192, 0.26); --glow: rgba(242, 200, 90, 0.4); }
.theme-thrill .seti-portrait { --ring: #ff2ebd; --ring2: rgba(45, 226, 230, 0.34); --glow: rgba(255, 46, 189, 0.5); }
.seti-portrait video, .seti-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.seti-portrait video[hidden] { display: none; }
.meet-seti { --mv-gold: var(--gold-bright, #e8d48b); position: relative; max-width: 1000px; margin: 34px auto 10px; padding: 40px 48px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px 46px; align-items: center; text-align: left; overflow: hidden; isolation: isolate; background: radial-gradient(120% 90% at 0% 0%, rgba(232, 201, 106, 0.10), transparent 55%), var(--glass); border: 1px solid var(--line); border-radius: calc(var(--radius, 16px) + 6px); box-shadow: inset 0 0 0 1px rgba(255, 236, 170, 0.06), 0 10px 40px rgba(0, 0, 0, 0.28); }
.meet-seti::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; pointer-events: none; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 120' preserveAspectRatio='none'><g fill='none' stroke='%23e8c96a' stroke-width='1.2' stroke-linecap='round'><path d='M0 70 C75 30 150 110 225 70 S375 30 450 70 S560 100 600 62' opacity='.55'/><path d='M0 88 C75 48 150 128 225 88 S375 48 450 88 S560 118 600 80' opacity='.38'/><path d='M0 106 C75 66 150 146 225 106 S375 66 450 106 S560 136 600 98' opacity='.22'/></g></svg>") center bottom / 100% 100% no-repeat; opacity: 0.5; -webkit-mask-image: linear-gradient(to top, #000 10%, transparent); mask-image: linear-gradient(to top, #000 10%, transparent); }
.meet-copy { min-width: 0; max-width: 66ch; }
.meet-seti .eyebrow { margin: 0 0 8px; font-size: 0.72rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--mv-gold); opacity: 0.9; }
.meet-seti h2 { margin: 0 0 16px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.14; letter-spacing: 0.02em; color: var(--cream, #f6eccf); text-wrap: balance; }
.meet-gold, .meet-shine { background: linear-gradient(100deg, #fff1b8 0%, #f2c85a 38%, #c99a2e 70%, #f6dc8a 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #f2c85a; }
.meet-seti p { margin: 0 0 14px; line-height: 1.68; color: var(--cream-dim, inherit); font-size: 1rem; }
.meet-seti .meet-lead { font-size: 1.14rem; line-height: 1.6; color: var(--cream, inherit); margin-bottom: 12px; }
.meet-visions { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; }
.meet-visions li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 14px 8px 10px; border-radius: 12px; background: rgba(255, 236, 170, 0.045); border: 1px solid rgba(232, 201, 106, 0.16); color: var(--cream, inherit); line-height: 1.4; font-size: 1rem; }
.meet-visions .mv-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #f2c85a; background: radial-gradient(circle at 35% 30%, rgba(255, 236, 170, 0.22), rgba(201, 168, 76, 0.10)); border: 1px solid rgba(232, 201, 106, 0.4); }
.meet-visions .mv-ico svg { width: 16px; height: 16px; }
.meet-seti .meet-drive { font-style: italic; font-size: 1.05rem; color: var(--cream, inherit); padding-left: 16px; border-left: 2px solid rgba(232, 201, 106, 0.55); margin: 0 0 14px; }
.meet-seti .meet-close { margin-bottom: 4px; }
.meet-seti .meet-links { display: flex; flex-wrap: wrap; gap: 12px 14px; margin: 22px 0 0; }
.meet-seti .meet-links > button { white-space: nowrap; min-width: 190px; padding: 12px 26px; border-radius: 999px; }
.meet-portrait { display: flex; justify-content: center; }
.meet-seti .seti-portrait { --sz: 240px; }
.theme-thrill .meet-seti { --mv-gold: #ffd24a; border-color: rgba(255, 46, 189, 0.55); background: radial-gradient(110% 90% at 0% 0%, rgba(255, 46, 189, 0.16), transparent 55%), radial-gradient(90% 80% at 100% 100%, rgba(45, 226, 230, 0.12), transparent 60%), rgba(12, 0, 28, 0.72); box-shadow: 0 0 34px rgba(255, 46, 189, 0.16), inset 0 0 0 1px rgba(45, 226, 230, 0.14); }
.theme-thrill .meet-seti::before { filter: hue-rotate(-60deg) saturate(1.8); }
.theme-thrill .meet-gold, .theme-thrill .meet-shine { background-image: linear-gradient(100deg, #ff9bf0 0%, #ff2ebd 35%, #ffd24a 75%, #fff2b0 100%); }
.theme-thrill .meet-visions li { border-color: rgba(45, 226, 230, 0.28); background: rgba(45, 226, 230, 0.05); }
.theme-thrill .meet-visions .mv-ico { color: #7ff6f8; border-color: rgba(45, 226, 230, 0.6); background: rgba(45, 226, 230, 0.1); }
.theme-thrill .meet-seti .meet-drive { border-left-color: #ff2ebd; }
@media (max-width: 900px) {
  .meet-seti { grid-template-columns: 200px minmax(0, 1fr); gap: 18px 30px; padding: 32px 30px; }
  .meet-seti .seti-portrait { --sz: 200px; }
}
.about-portrait { display: flex; justify-content: center; margin: 4px 0 20px; }
.about-portrait .seti-portrait { --sz: 200px; }
html[data-theme="christmas"] .theme-golden .meet-seti { background-color: #0a1812; } html[data-theme="christmas"] .theme-hybrid .meet-seti { background-color: #0a2018; } html[data-theme="christmas"] .theme-thrill .meet-seti { background-color: #0c001c; }
html[data-theme="christmas"] .meet-seti { z-index: 2; }
@media (max-width: 760px) {
  .meet-seti { grid-template-columns: minmax(0, 1fr); padding: 28px 18px 26px; gap: 20px; text-align: left; margin: 26px 4px 6px; }
  .meet-seti .seti-portrait { --sz: 170px; margin: 0 auto; }
  .meet-copy { max-width: none; }
  .meet-seti .eyebrow, .meet-seti h2 { text-align: center; }
  .meet-seti .meet-lead { font-size: 1.06rem; }
  .meet-visions li { font-size: 0.97rem; padding: 8px 12px 8px 8px; }
  .meet-seti .meet-links { flex-direction: column; align-items: stretch; margin-top: 20px; }
  .meet-seti .meet-links > button { width: 100%; min-width: 0; }
  .about-portrait .seti-portrait { --sz: 160px; }
}

/* ===== t131u/t132u: round portrait next to Santa opens the Meet Seti card in a modal (the card lives only in the modal) ===== */
.seti-badge-wrap { grid-area: reels; align-self: start; justify-self: stretch; position: relative; z-index: 6; height: 0; margin: 0; pointer-events: none; }   /* t145u: spans the reels cell so the badge can sit centred (original) or well left of Santa (Christmas) */
.seti-badge { position: absolute; left: 50%; margin-left: -56px; bottom: 18px; display: block; padding: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; pointer-events: auto; font: inherit; color: inherit; transition: transform 0.25s ease; -webkit-tap-highlight-color: transparent; }
.seti-badge .seti-portrait { --sz: 112px; animation: badgeGlow 3.6s ease-in-out infinite; transition: box-shadow 0.25s ease; }
.seti-badge:hover { transform: scale(1.06); }
.seti-badge:hover .seti-portrait, .seti-badge:focus-visible .seti-portrait { animation: none; box-shadow: 0 0 0 7px var(--ring2), 0 0 46px var(--glow), 0 0 18px var(--glow); }
.seti-badge:focus-visible { outline: 3px solid var(--ring); outline-offset: 5px; }
.seti-badge-cap { position: absolute; left: 50%; bottom: -13px; transform: translateX(-50%); padding: 3px 11px; border-radius: 999px; white-space: nowrap; font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-bright, #f0e0a0); background: rgba(6, 14, 11, 0.92); border: 1px solid var(--ring); z-index: 2; }
.theme-thrill .seti-badge-cap { color: #ffd24a; background: rgba(12, 0, 28, 0.95); }
@keyframes badgeGlow { 0%, 100% { box-shadow: 0 0 0 5px var(--ring2), 0 0 24px var(--glow); } 50% { box-shadow: 0 0 0 8px var(--ring2), 0 0 42px var(--glow); } }
@media (min-width: 1024px) { .play-main .reel-stage { padding-top: 62px; } html[data-theme="christmas"] .play-main .reel-stage { padding-top: 112px; } }
@media (max-width: 1023px) {
  .seti-badge { bottom: 16px; margin-left: -44px; }
  .seti-badge .seti-portrait { --sz: 88px; }
  .play-main .reel-stage .reels-frame { margin-top: 112px; }
  html[data-theme="christmas"] .play-main .reel-stage .reels-frame { margin-top: 124px; }
}
@media (prefers-reduced-motion: reduce) { .seti-badge .seti-portrait { animation: none; } .seti-badge { transition: none; } .seti-badge:hover { transform: none; } }
/* the modal */
html.meet-open { overflow: hidden; padding-right: var(--sbw, 0px); overflow-anchor: none; }   /* t183u: no scroll-anchoring jump behind the pop-up */
.meet-modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-start; justify-content: center; padding: 28px 16px; overflow-y: auto; overscroll-behavior: contain; background: rgba(2, 6, 4, 0.74); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); opacity: 0; transition: opacity 0.25s ease; }
.meet-modal[hidden] { display: none; }
.meet-modal.is-open { opacity: 1; }
.meet-dialog { position: relative; width: min(1000px, 100%); margin: auto; transform: translateY(10px) scale(0.965); transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.25, 1); }
.meet-modal.is-open .meet-dialog { transform: none; }
.meet-dialog .meet-seti { margin: 0; max-width: none; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55); }
.theme-thrill .meet-modal { background: rgba(8, 0, 20, 0.78); }
.meet-x { position: absolute; top: 12px; right: 12px; z-index: 5; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border-radius: 50%; cursor: pointer; color: var(--gold-bright, #f0e0a0); background: rgba(6, 14, 11, 0.85); border: 1px solid var(--line, rgba(232, 201, 106, 0.4)); transition: background 0.2s, transform 0.2s; }
.meet-x:hover { background: rgba(232, 201, 106, 0.18); transform: scale(1.06); }
.meet-x:focus-visible { outline: 3px solid var(--gold-bright, #f0e0a0); outline-offset: 2px; }
.theme-thrill .meet-x { color: #ffd24a; border-color: rgba(255, 46, 189, 0.6); background: rgba(12, 0, 28, 0.9); }
@media (max-width: 760px) { .meet-modal { padding: 14px 8px; } .meet-x { top: 8px; right: 8px; } }
@media (prefers-reduced-motion: reduce) { .meet-modal, .meet-dialog { transition: none; transform: none; } }

/* t145u: Christmas — the portrait moves well left of Santa and his bag (about a fifth of the way along the reels frame) */
html[data-theme="christmas"] .seti-badge { left: 20%; }
@media (max-width: 1023px) { html[data-theme="christmas"] .seti-badge { left: 17%; } }

/* ===== Seti's story (t144u, pop-up since t148u): readable column inside a Meet-Seti-style card ===== */
.seti-story, .seti-story-teaser { --st-a: var(--gold-bright, #e8d48b); --st-b: var(--gold, #c9a84c); --st-ink: #231805; --st-glow: rgba(240, 200, 90, 0.28); }
.theme-hybrid .seti-story, .theme-hybrid .seti-story-teaser { --st-a: #f2c85a; --st-b: #5fe0c0; --st-glow: rgba(95, 224, 192, 0.26); }
.theme-thrill .seti-story, .theme-thrill .seti-story-teaser { --st-a: #ff7be5; --st-b: #2de2e6; --st-ink: #0b0616; --st-glow: rgba(255, 46, 189, 0.28); }
.story-dialog { width: min(760px, 100%); }
.story-dialog .seti-story { position: relative; margin: 0; padding: 40px 52px 34px; text-align: left; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 0% 0%, rgba(232, 201, 106, 0.10), transparent 55%), var(--glass); border: 1px solid var(--line); border-radius: calc(var(--radius, 16px) + 6px);
  box-shadow: inset 0 0 0 1px rgba(255, 236, 170, 0.06), 0 24px 80px rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.theme-golden .story-dialog .seti-story { background-color: #0a1812; } .theme-hybrid .story-dialog .seti-story { background-color: #0a2018; }
.theme-thrill .story-dialog .seti-story { border-color: rgba(255, 46, 189, 0.55); background: radial-gradient(110% 90% at 0% 0%, rgba(255, 46, 189, 0.16), transparent 55%), radial-gradient(90% 80% at 100% 100%, rgba(45, 226, 230, 0.12), transparent 60%), #0c001c; box-shadow: 0 0 34px rgba(255, 46, 189, 0.16), inset 0 0 0 1px rgba(45, 226, 230, 0.14), 0 24px 80px rgba(0, 0, 0, 0.55); }
/* About page: portrait + heading open the story */
.about-portrait .story-portrait-btn { display: inline-block; padding: 0; margin: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; font: inherit; color: inherit; transition: transform 0.25s ease; -webkit-tap-highlight-color: transparent; }
.about-portrait .story-portrait-btn:hover { transform: scale(1.04); }
.about-portrait .story-portrait-btn:hover .seti-portrait, .about-portrait .story-portrait-btn:focus-visible .seti-portrait { box-shadow: 0 0 0 7px var(--ring2, rgba(232, 201, 106, 0.35)), 0 0 46px var(--glow, rgba(240, 200, 90, 0.5)); }
.about-portrait .story-portrait-btn:focus-visible { outline: 3px solid var(--gold-bright, #f0e0a0); outline-offset: 5px; }
.seti-story-teaser { margin: 18px auto 26px; text-align: center; }
.seti-story-teaser h2 { margin: 0; }
.story-head-btn { appearance: none; border: 0; background: none; padding: 2px 10px; cursor: pointer; font-family: var(--font-display, inherit); font-weight: 600; font-size: clamp(1.45rem, 3.2vw, 1.9rem); letter-spacing: 0.04em; color: var(--st-a); text-shadow: 0 0 18px var(--st-glow); border-radius: 10px; transition: text-shadow 0.25s ease, transform 0.25s ease; }
.story-head-btn:hover { text-shadow: 0 0 26px var(--st-glow), 0 0 8px var(--st-glow); transform: translateY(-1px); }
.story-head-btn:focus-visible { outline: 2px solid var(--st-a); outline-offset: 4px; }
.story-hint { margin: 4px 0 0; cursor: pointer; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-dim, #cbbd90); opacity: 0.85; transition: color 0.2s ease, opacity 0.2s ease; }
.story-hint span { display: inline-block; transition: transform 0.25s ease; }
.story-hint:hover, .seti-story-teaser:has(.story-head-btn:hover) .story-hint { color: var(--st-a); opacity: 1; }
.story-hint:hover span, .seti-story-teaser:has(.story-head-btn:hover) .story-hint span { transform: translateX(4px); }
.seti-story .story-orn, .seti-story-teaser .story-orn { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 6px; color: var(--st-a); font-size: 0.8rem; }
.seti-story .story-orn span, .seti-story-teaser .story-orn span { flex: 0 0 auto; height: 1px; width: 120px; max-width: 26%; background: linear-gradient(90deg, transparent, var(--st-b)); opacity: 0.8; }
.seti-story .story-orn span:last-child, .seti-story-teaser .story-orn span:last-child { background: linear-gradient(270deg, transparent, var(--st-b)); }
.seti-story .story-orn i, .seti-story-teaser .story-orn i { font-style: normal; text-shadow: 0 0 10px var(--st-glow); }
.seti-story h2 { margin: 0 0 14px; text-align: center; font-family: var(--font-display, inherit); font-weight: 600; font-size: clamp(1.45rem, 3.2vw, 1.9rem); letter-spacing: 0.04em; color: var(--st-a); text-shadow: 0 0 18px var(--st-glow); }
.seti-story .story-text { font-family: var(--font-serif, Georgia, serif); font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.72; color: var(--cream, #f3e6c4); }
.seti-story .story-text p { margin: 0 0 1.05em; hyphens: manual; text-wrap: pretty; }
.seti-story .story-text p:first-child::first-letter { float: left; font-family: var(--font-display, inherit); font-weight: 700; font-size: 3.5em; line-height: 0.82; padding: 0.06em 0.12em 0 0; color: var(--st-a); text-shadow: 0 0 16px var(--st-glow); }
.seti-story .story-text p:last-child { margin-bottom: 0; }
.seti-story .story-close { margin: 22px 0 0; padding: 18px 20px; text-align: center; border-radius: var(--radius, 18px); border: 1px solid var(--st-b); background: linear-gradient(135deg, var(--glass, rgba(10, 32, 24, 0.55)), rgba(255, 255, 255, 0.04)); box-shadow: 0 0 28px var(--st-glow), inset 0 0 22px rgba(255, 255, 255, 0.03); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.seti-story .story-close-line { font-family: var(--font-serif, Georgia, serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.4; color: var(--st-a); }
.seti-story .story-close .btn-pill { align-self: center; display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 190px; max-width: 100%; min-height: 46px; padding: 10px 30px; font-size: 0.95rem; }
@media (max-width: 760px) { .story-dialog .seti-story { padding: 34px 22px 24px; } }
@media (max-width: 480px) { .seti-story .story-text { line-height: 1.66; } .seti-story .story-close { padding: 16px 14px; } }
@media (prefers-reduced-motion: reduce) { .about-portrait .story-portrait-btn, .story-head-btn, .story-hint span { transition: none; transform: none !important; } }
/* ===== t175u/t176u/t177u: breathing room around Seti's portrait. The hover effect is unchanged (scale 1.06 / 1.04 + ring + glow);
   the portrait and the whole game row (scale + reels + Spin/Reset) move down so the enlarged portrait never touches the copy. ===== */
.seti-badge { bottom: 30px; }                                                     /* Meet Seti label sits clear of the reels frame */
@media (min-width: 1024px) {
  .play-main .reel-stage { padding-top: 104px; }                                  /* whole row moves down: was 62px */
  .theme-golden .play-main .reel-stage, body:not(.theme-hybrid):not(.theme-thrill) .play-main .reel-stage { padding-top: 118px; }   /* Golden Wave's lede sits lower; never touch it */
  html[data-theme="christmas"] .play-main .reel-stage { padding-top: 128px; }     /* was 112px: the extra space goes to the game, the portrait keeps its distance from Santa */
}
@media (max-width: 1023px) {
  .seti-badge { bottom: 28px; }
  .play-main .reel-stage .reels-frame { margin-top: 128px; }                      /* was 112px */
  html[data-theme="christmas"] .play-main .reel-stage .reels-frame { margin-top: 140px; }   /* was 124px */
}
.about-portrait { margin: 30px 0 34px; }                                          /* About: was 4px / 20px — room for the hover above and below */
/* ===== t183u: FAQ in a quiet pop-up (same family as Meet Seti / Seti's story), opened from a small footer "Q&A" link ===== */
.footer-faq { margin: 8px 0 0; }
.footer-link { padding: 2px 4px; border: 0; background: none; font: inherit; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold, #c9a84c); cursor: pointer; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.footer-link:hover { color: var(--gold-bright, #f0e0a0); }
.footer-link:focus-visible { outline: 2px solid var(--gold-bright, #f0e0a0); outline-offset: 3px; border-radius: 4px; }
.theme-thrill .footer-link { color: #ffd24a; } .theme-thrill .footer-link:hover { color: #fff1a8; }
.faq-dialog { width: min(760px, 100%); padding: 40px 48px 32px; border-radius: 26px; border: 1px solid var(--gold, #c9a84c); background: radial-gradient(110% 80% at 0% 0%, rgba(232, 201, 106, 0.1), transparent 55%), #0a1c15; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55); text-align: left; }
.theme-golden .faq-dialog { background-color: #0a1812; } .theme-hybrid .faq-dialog { background-color: #0a2018; }
.theme-thrill .faq-dialog { border-color: rgba(255, 46, 189, 0.55); background: radial-gradient(110% 90% at 0% 0%, rgba(255, 46, 189, 0.16), transparent 55%), radial-gradient(90% 80% at 100% 100%, rgba(45, 226, 230, 0.12), transparent 55%), #12042a; }
.faq-dialog .story-orn { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 6px; color: var(--gold-bright, #e8d48b); font-size: 0.8rem; }
.faq-dialog .story-orn span { flex: 0 0 auto; height: 1px; width: 120px; max-width: 26%; background: linear-gradient(90deg, transparent, var(--gold, #c9a84c)); opacity: 0.8; }
.faq-dialog .story-orn span:last-child { background: linear-gradient(270deg, transparent, var(--gold, #c9a84c)); }
.faq-dialog #faqTitle { margin: 0 0 14px; text-align: center; }
.faq-dialog .faq { margin: 0; }
@media (max-width: 760px) { .faq-dialog { padding: 34px 18px 22px; border-radius: 20px; } }
/* t183u/GEO: the FAQ dialog is never hidden from the document (no hidden / aria-hidden / display:none on it). With JS it is moved out of
   sight until opened (clip), then presented like the other pop-ups; without JS it simply reads as a section at the end of the page. */
.faq-modal:not(.is-shown) { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; pointer-events: none; }   /* no clip / clip-path: iPhone Safari kept the dialog clipped after opening (only the blurred backdrop showed) */
html:not(.js) .faq-modal { position: static; width: auto; height: auto; margin: 0; padding: 24px 16px 40px; overflow: visible; clip: auto; clip-path: none; opacity: 1; pointer-events: auto; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; display: flex; justify-content: center; }
html:not(.js) .faq-modal .meet-dialog { transform: none; }
html:not(.js) .faq-modal .meet-x { display: none; }
a.footer-link, a.footer-link:is(:link, :visited, :hover, :focus, :focus-visible, :active) { text-decoration: none; }
a.footer-link { display: inline-block; }
.faq-dialog:focus { outline: none; }

/* t176u: a quiet note if the story fragment cannot be loaded; does not change the usual story look. */
.seti-story .story-text .story-load-note { color: var(--muted, inherit); }
/* ===== t164u/t165u: Original theme background — a living canvas (tools/sky.js) tailored per site; the CSS gradient is the static fallback ===== */
.seti-sky { position: absolute; inset: 0; overflow: hidden; display: none; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(31, 72, 62, 0.85), transparent 70%),
    radial-gradient(ellipse 60% 40% at 70% 95%, rgba(190, 140, 50, 0.10), transparent 70%),
    linear-gradient(170deg, #123a35 0%, #0c2a27 38%, #08191a 72%, #051112 100%); }
.theme-golden .seti-sky, body:not(.theme-hybrid):not(.theme-thrill) .seti-sky { background: radial-gradient(ellipse 70% 55% at 50% 38%, rgba(30, 60, 48, 0.7), transparent 70%), linear-gradient(170deg, #0d1f1a 0%, #08150f 45%, #030806 100%); }
.theme-thrill .seti-sky { background: radial-gradient(ellipse 60% 50% at 30% 30%, rgba(255, 46, 189, 0.16), transparent 70%), radial-gradient(ellipse 60% 50% at 75% 70%, rgba(45, 226, 230, 0.12), transparent 70%), linear-gradient(170deg, #2a0a46 0%, #1a0631 40%, #070114 100%); }
html:not([data-theme="christmas"]) .seti-sky { display: block; }
html:not([data-theme="christmas"]) .aurora { display: none; }
html:not([data-theme="christmas"]) body { background: #08191a; }
html:not([data-theme="christmas"]) body.theme-thrill { background: #0f0322; }
html:not([data-theme="christmas"]) body:not(.theme-hybrid):not(.theme-thrill) { background: #050c09; }
.seti-sky .sky-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
html:not([data-theme="christmas"]) .atmosphere .vignette { opacity: 0.9; }
/* t173u: sharp, modern base on the Original theme — the CSS gradient is the base (full resolution), no film grain over it */
html:not([data-theme="christmas"]) .atmosphere .grain { display: none; }
.seti-sky .sky-canvas { -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.6) 70%, #000 100%); mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.6) 70%, #000 100%); }   /* calm reading column: the lights soften in the middle; the base stays one clean gradient (no dark ramp = no banding) */

/* ===== t186u: Privacy Policy + Terms of Service pages, and a quiet legal footer group ===== */
.footer-legal { margin: 10px 0 0; }
.footer-legal .footer-link { margin: 0; }
.footer-sep { color: var(--muted, rgba(255, 244, 214, 0.55)); letter-spacing: 0.08em; }
.footer-copy { margin: 8px 0 0; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--muted); }
.footer-tax { margin: 0 0 2px; }

.view-legal { width: min(760px, calc(100% - 32px)); text-align: center; }
.view-legal .legal-updated { margin: 0 auto 18px; max-width: 40rem; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted); }
.view-legal .legal-body { margin: 0 auto; max-width: 40rem; text-align: left; color: var(--cream-dim); font-size: 0.92rem; line-height: 1.6; }
.view-legal .legal-body h2 { margin: 1.35em 0 0.4em; font-family: var(--font-display, inherit); font-size: 1.05rem; font-weight: 600; letter-spacing: 0.04em; color: var(--cream, #f4e7c5); }
.view-legal .legal-body p { margin: 0 0 0.85em; }
.view-legal .legal-body p:last-child { margin-bottom: 0; }
.view-legal .stack-actions { margin-top: 28px; text-align: center; }
.view-legal .legal-body h3 { margin: 1.1em 0 0.35em; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.03em; color: var(--cream, #f4e7c5); }
.view-legal .legal-body ul { margin: 0 0 0.85em; padding-left: 1.2em; }
.view-legal .legal-body li { margin: 0 0 0.35em; }
.view-legal .legal-body a { color: var(--gold, #c9a84c); }
.view-legal .legal-body a:hover { color: var(--gold-bright, #f0e0a0); }
.legal-table-wrap { margin: 0 0 1em; overflow-x: auto; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; line-height: 1.45; }
.legal-table th, .legal-table td { border: 1px solid var(--line, rgba(242, 200, 90, 0.28)); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal-table th { color: var(--cream, #f4e7c5); font-weight: 600; letter-spacing: 0.02em; }

/* Monthly/yearly pop-up: tick box on the same line as its text (two boxes: board + reminders) */
#monthlyForm label.consent { display: flex; align-items: center; gap: 0.55rem; text-align: left; margin-top: 0.4rem; }
#monthlyForm label.consent input { flex: 0 0 auto; margin: 0; }


/* Wall of Gratitude consent: impossible to overlook (one-time thank-you form + monthly/yearly pop-up) */
label.consent:has(#joinConsent), label.consent:has(#monthlyConsent) {
  display: flex; align-items: center; gap: 0.7rem;
  margin: 0.8rem 0 0.4rem; padding: 0.75rem 1rem;
  border: 1.5px solid var(--gold, #c4a35a); border-radius: 14px;
  background: rgba(212, 177, 90, 0.12);
  color: var(--cream, #f3e6c4); font-size: 1rem; font-weight: 600; text-align: left;
  box-shadow: 0 0 18px rgba(240, 195, 86, 0.18);
}
label.consent:has(#joinConsent) input, label.consent:has(#monthlyConsent) input {
  width: 22px; height: 22px; flex: 0 0 22px; margin: 0; accent-color: var(--gold, #c4a35a); cursor: pointer;
}
.wall-ask {
  margin: 0.6rem 0; padding: 0.85rem 1rem; border-radius: 14px;
  border: 1.5px solid var(--gold-bright, #f0e0a0); background: rgba(10, 42, 32, 0.92);
  color: var(--cream, #f3e6c4); text-align: center;
}
.wall-ask p { margin: 0 0 0.6rem; font-size: 0.98rem; }
.wall-ask-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; align-items: center; }


/* Under Send with love: reassurance that the click does not charge anything yet */
.send-gift .send-note { order: 4; margin: 0.45rem auto 0; max-width: 22rem; font-size: 0.78rem; line-height: 1.35; color: var(--cream-dim, #d9cfb0); opacity: 0.9; text-align: center; }
.send-gift .send-error { order: 5; margin: 0.35rem auto 0; max-width: 24rem; text-align: center; }


/* Seti's story: while the text is still arriving, the card keeps its full size (no small flash) */
#storyModal .story-text:empty { min-height: 60vh; border-radius: 12px; background: linear-gradient(100deg, rgba(240,195,86,0.06) 30%, rgba(240,195,86,0.14) 50%, rgba(240,195,86,0.06) 70%); background-size: 220% 100%; animation: storyShimmer 1.4s ease-in-out infinite; }
@keyframes storyShimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { #storyModal .story-text:empty { animation: none; } }


/* Very large gift: parts card */
.plan-dialog .plan-parts { list-style: none; margin: 0.8rem auto; padding: 0; max-width: 22rem; text-align: left; }
.plan-dialog .plan-parts li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0.8rem; border-radius: 10px; }
.plan-dialog .plan-parts li.is-next { border: 1.5px solid var(--gold, #c4a35a); background: rgba(212, 177, 90, 0.12); }
.plan-dialog .plan-parts li.is-paid { opacity: 0.6; }
#nextPartWrap { flex-direction: column; align-items: center; gap: 0.4rem; }


/* Thank-you form: clear space between the name field and "Add me to the wall"; stacked on phones */
#joinForm .join-row { gap: 14px; align-items: stretch; }
@media (max-width: 560px) { #joinForm .join-row { flex-direction: column; gap: 12px; } #joinForm .join-row button { width: 100%; } }


/* Returning supporter already on the Wall of Gratitude */
.returning-box { margin: 0.8rem auto; max-width: 30rem; padding: 0.9rem 1.1rem; border-radius: 14px;
  border: 1.5px solid var(--gold, #c4a35a); background: rgba(212, 177, 90, 0.12); text-align: center; }
.returning-box .returning-text { margin: 0 0 0.75rem; line-height: 1.5; }
.returning-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }


/* Thank-you lede: each sentence on its own line */
#thanksBody { white-space: pre-line; }
#view-thanks .celebrate-lede { white-space: pre-line; }
#joinResult, #monthlyDoneText, .returning-text { white-space: pre-line; }


/* Party avatar: top-right of the Wall of Gratitude (main page + thank-you page) */
#giversMain, #celebrate { position: relative; }
.party-avatar { position: absolute; top: 14px; right: 14px; z-index: 3; width: 50px; height: 50px; padding: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; background: radial-gradient(circle at 35% 30%, #1f5a45, #0a2a20 70%);
  border: 1.5px solid var(--gold, #c4a35a); box-shadow: 0 0 14px rgba(240, 195, 86, 0.35); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.party-avatar:hover, .party-avatar:focus-visible { transform: scale(1.1) rotate(-8deg); box-shadow: 0 0 22px rgba(240, 195, 86, 0.6); }
.party-avatar:focus-visible { outline: 2px solid var(--gold-bright, #f0e0a0); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .party-avatar { animation: partyWiggle 6s ease-in-out infinite; }
  .party-avatar.is-popping { animation: partyPop 0.6s ease-out; }
}
@keyframes partyWiggle { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-12deg); } 92% { transform: rotate(10deg); } 95% { transform: rotate(-6deg); } }
@keyframes partyPop { 0% { transform: scale(1); } 40% { transform: scale(1.3) rotate(-14deg); } 100% { transform: scale(1); } }
@media (max-width: 560px) { .party-avatar { top: 10px; right: 10px; width: 42px; height: 42px; } .party-avatar svg { width: 25px; height: 25px; } }


/* One-tap votes: hearts on the topic card, red when it's yours, outlined while waiting for the email confirmation */
.cre-vote-start { margin-top: 12px; }
.cre-votes[data-item] { flex-direction: column; justify-content: center; gap: 6px; margin: 14px 0 4px; }
.cre-heart { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; padding: 0;
  background: rgba(255, 255, 255, 0.04); border: 1.5px solid var(--line); color: var(--cream-dim); transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease; }
.cre-heart svg path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; transition: fill 0.2s ease; }
.cre-heart:hover { transform: scale(1.06); border-color: #e0566b; color: #ff7d8f; }
.cre-heart:active { transform: scale(0.94); }
.cre-heart:focus-visible { outline: 2px solid var(--ab-b, #f0e0a0); outline-offset: 3px; }
.cre-heart.is-mine { color: #e3001b; border-color: #e3001b; background: rgba(227, 0, 27, 0.14); }
.cre-heart.is-mine svg path { fill: #e3001b; stroke: #e3001b; }
.cre-heart.is-pending { color: #ff8fa0; border-color: #ff8fa0; border-style: dashed; }
.cre-heart.is-pending svg path { fill: rgba(255, 143, 160, 0.35); }
.cre-heart-note { font-size: 0.78rem; color: var(--cream-dim); }
.cre-count .cre-h { color: #f0c356; display: inline-block; }
.cre-count.is-mine .cre-h { color: #e3001b; }
.cre-count.is-pending .cre-h { color: #e3001b; opacity: 0.5; }
@media (prefers-reduced-motion: no-preference) { .cre-count.is-mine .cre-h, .cre-count.is-pending .cre-h { animation: creHeartPop 0.35s ease-out; } }
.cre-confirm-note { margin: 0; font-size: 0.82rem; color: var(--cream-dim); white-space: normal; }
@media (prefers-reduced-motion: no-preference) {
  .cre-heart.is-mine svg { animation: creHeartPop 0.35s ease-out; }
}
@keyframes creHeartPop { 0% { transform: scale(0.7); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* "Play is free…" sits right under the three reels (all screen sizes) */
.view-play .trust-line.play-free { display: block; margin: 12px 0 0; }
.cre-join-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 16px; }
/* "Vote for your favorites" sits close under "More ideas?" (about 12px apart; the jar column's gap varies by width) */
.cre-flow > .cre-jar .cre-vote-start, .cre-jar .cre-vote-start { margin-top: -2px; }
@media (min-width: 900px) { .cre-flow > .cre-jar .cre-vote-start { margin-top: -10px; } }
@media (max-width: 760px) { .cre-flow > .cre-jar .cre-vote-start, .cre-jar .cre-vote-start { margin-top: 4px; } }

/* News ticker under the menu (shows after scrolling a little) */
.wave-ticker { position: fixed; left: 0; right: 0; top: 0; z-index: 41; height: 30px; overflow: hidden; cursor: pointer;
  background: rgb(6, 20, 15);   /* solid: a blur behind a moving strip made iPhones drop parts of it */
  border-bottom: 1px solid rgba(201, 168, 76, 0.35); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; }
.wave-ticker.is-on:not(.is-empty) { opacity: 1; transform: none; pointer-events: auto; }
.tk-track { display: flex; width: max-content; height: 100%; align-items: center; animation: tkScroll var(--tk-dur, 40s) linear infinite; will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.wave-ticker:hover .tk-track, .wave-ticker:focus-within .tk-track { animation-play-state: paused; }
.tk-half { display: inline-flex; align-items: center; white-space: nowrap; }
.tk-item { display: inline-flex; align-items: center; gap: 6px; padding: 0 4px; font-size: 0.8rem; color: #f3ead2; }
.tk-item b { font-weight: 600; color: #fff6dc; }
.tk-rank { color: #e8c96a; font-variant-numeric: tabular-nums; }
.tk-glyph { color: #f0c356; }
.tk-label { font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; border: 1px solid rgba(232, 201, 106, 0.55); color: #e8c96a; }
.tk-top-1 .tk-label:not(.tk-rec):not(.tk-new) { background: linear-gradient(135deg, #fff1b8, #e3b53e 50%, #a8791c); color: #1d1404; border-color: transparent; }
.tk-new { background: #2fbf8f; color: #04241a; border-color: transparent; font-weight: 700; }
.tk-sep { color: rgba(232, 201, 106, 0.55); padding: 0 18px; font-size: 0.7rem; }
@keyframes tkScroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .tk-track { animation: none; } }
@media (max-width: 600px) { .wave-ticker { height: 28px; } .tk-item { font-size: 0.74rem; } }
.cre-count .cre-h svg { display: block; width: 1.05em; height: 1.05em; }
.cre-count .cre-h { vertical-align: -0.15em; }

/* Privacy + Terms: the title and "Back to play" stay pinned under the menu; only the text scrolls */
.legal-head { position: sticky; top: var(--hdr-h, 64px); z-index: 30; display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  margin: 0 calc(50% - 50vw) 14px; padding: 12px calc(50vw - 50% + 16px);
  background: rgba(6, 18, 14, 0.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(201, 168, 76, 0.28); }
.legal-head h1 { margin: 0; }
.legal-head .legal-back { flex: 0 0 auto; width: auto !important; min-height: 0 !important; height: auto !important; padding: 9px 20px !important; font-size: 0.74rem; }
.legal-head h1 { font-size: clamp(1.4rem, 5vw, 2.2rem); line-height: 1.1; }
@media (max-width: 600px) { .legal-head { gap: 10px; padding-top: 8px; padding-bottom: 8px; } .legal-head h1 { font-size: 1.5rem; } .legal-head .legal-back { padding: 7px 14px !important; font-size: 0.68rem; } }
.page-head .page-head-titles { text-align: center; }
.page-head .page-head-titles .eyebrow { margin: 0 0 2px; }
.view .legal-head { scroll-margin-top: 0; }
.page-head .about-intro { margin: 8px auto 0; max-width: 40rem; font-size: 0.86rem; line-height: 1.5; }
@media (max-width: 600px) { .page-head .about-intro { font-size: 0.78rem; line-height: 1.4; margin-top: 6px; } }
/* About: once the big portrait scrolls away, a small one appears next to the pinned title */
#aboutTitle { display: flex; align-items: center; justify-content: center; gap: 0; transition: gap 0.3s ease; }
.head-mini { width: 0; height: 44px; padding: 0; border: 0; background: none; overflow: hidden; opacity: 0; cursor: pointer; flex: 0 0 auto;
  transition: width 0.3s ease, opacity 0.3s ease; }
.head-mini img { display: block; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--gold, #c9a84c); box-shadow: 0 0 10px rgba(232, 201, 106, 0.35); }
.page-head.show-mini #aboutTitle { gap: 12px; }
.page-head.show-mini .head-mini { width: 44px; opacity: 1; }
@media (max-width: 600px) { .head-mini, .head-mini img { height: 36px; } .head-mini img { width: 36px; } .page-head.show-mini .head-mini { width: 36px; } }
@media (prefers-reduced-motion: reduce) { #aboutTitle, .head-mini { transition: none; } }
/* About wheel: the centre is a button that swaps between the title and Seti's portrait */
.hub-btn { cursor: pointer; outline: none; }
.hub-btn .hub-photo { opacity: 0; transition: opacity 0.45s ease; pointer-events: none; }
.hub-btn .hub-title { transition: opacity 0.35s ease; }
.hub-btn.is-photo .hub-photo { opacity: 1; }
.hub-btn.is-photo .hub-title { opacity: 0; }
.hub-btn:hover .hub, .hub-btn:focus-visible .hub { stroke: var(--gold-bright, #e8d48b); stroke-width: 3; }
.hub-btn:focus-visible .hub { filter: drop-shadow(0 0 8px rgba(232, 212, 139, 0.6)); }
@media (prefers-reduced-motion: reduce) { .hub-btn .hub-photo, .hub-btn .hub-title { transition: none; } }
.hub-btn { transform-box: fill-box; transform-origin: 50% 50%; }
.hub-btn.is-spinning { animation: hubCoin 0.6s cubic-bezier(0.45, 0, 0.55, 1); }
.hub-btn.is-spinning .hub-photo, .hub-btn.is-spinning .hub-title { transition: none; }
@keyframes hubCoin { 0% { transform: scaleX(1); } 50% { transform: scaleX(0.02); } 100% { transform: scaleX(1); } }
/* Normal arrow over plain text (no typing cursor); clickable things keep the hand, form fields keep the text cursor */
html { cursor: default; }
p, span, b, strong, i, em, small, h1, h2, h3, h4, h5, h6, li, dd, dt, td, th, blockquote, label, legend, figcaption, text, tspan { cursor: inherit; }
a, button, summary, [role="button"], [data-nav], select { cursor: pointer; }
input:not([type="checkbox"]):not([type="radio"]), textarea, [contenteditable="true"] { cursor: text; }
/* ===== Manage my gift page ===== */
.manage-main { width: min(640px, calc(100% - 32px)); margin: 28px auto 60px; }
.manage-card { text-align: center; }
.manage-card h1 { margin: 2px 0 14px; }
.manage-lede { color: var(--cream-dim); margin: 0 0 18px; }
.manage-box { text-align: left; margin: 0 0 16px; padding: 18px 20px; border: 1px solid var(--line, rgba(201,168,76,.3)); border-radius: 18px; background: rgba(8, 24, 18, 0.7); }
.manage-box h2 { margin: 0 0 8px; font-size: 1.05rem; letter-spacing: 0.06em; color: var(--cream, #f4e7c5); }
.manage-big { font-size: 1.6rem; margin: 0 0 4px; color: #f0c356; }
.manage-muted { color: var(--cream-dim); opacity: 0.85; margin: 0 0 8px; }
.manage-muted.small { font-size: 0.78rem; }
.manage-note { color: #ffb4a8; margin: 0 0 10px; }
.manage-row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin: 12px 0 6px; }
.manage-row .cre-field { flex: 1 1 180px; margin: 0; }
.manage-form { display: grid; gap: 10px; text-align: left; }
.manage-check { display: flex; gap: 8px; align-items: center; margin: 12px 0; color: var(--cream-dim); cursor: pointer; }
.manage-actions { margin-top: 8px; }
.manage-link { background: none; border: 0; padding: 0; margin-top: 4px; color: #e8c96a; text-decoration: underline; font: inherit; font-size: 0.82rem; cursor: pointer; }
.manage-list { list-style: none; margin: 0; padding: 0; }
.manage-list li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid rgba(201,168,76,.15); color: var(--cream-dim); }
.manage-list li b { color: var(--cream, #f4e7c5); }
.manage-page .test-toast.show { opacity: 1; transform: translateX(-50%); }
/* Pop-ups like "A monthly wave": they scroll themselves (tall forms on phones), sit above the menu and ticker, and the page behind stays still */
.overlay { z-index: 92; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; place-items: start center; padding: 24px 16px calc(24px + env(safe-area-inset-bottom, 0px)); }
.overlay > .dialog, .overlay > * { margin: auto 0; }
html.overlay-open { overflow: hidden; }
.manage-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.cre-vote-hint { text-align: center; margin: 4px auto 18px; max-width: 34rem; font-size: 0.86rem; line-height: 1.5; color: var(--cream-dim); }
.cre-vote-hint span { color: #f0c356; margin-right: 4px; }

/* ===== Bigger, easier-to-tap menu: currency switch, About Seti, Creation, music note ===== */
html body .site-header .cur-btn { font-size: 0.82rem !important; padding: 7px 13px !important; letter-spacing: 0.05em; }
html body .site-header .header-nav .text-btn { font-size: 0.86rem !important; padding: 7px 6px !important; letter-spacing: 0.06em !important; }
html body .site-header .header-nav { gap: 12px !important; }
html body .site-header #soundToggle { width: 42px !important; height: 42px !important; font-size: 1.25rem; border-color: rgba(240, 195, 86, 0.75); color: var(--gold-bright); background: rgba(201, 168, 76, 0.12); box-shadow: 0 0 12px rgba(240, 195, 86, 0.35); }
html body .site-header #soundToggle[aria-pressed="false"] { animation: noteCall 2.6s ease-in-out infinite; }
html body .site-header #soundToggle[aria-pressed="true"] { background: rgba(201, 168, 76, 0.3); box-shadow: 0 0 16px rgba(240, 195, 86, 0.6); }
@keyframes noteCall { 0%, 100% { box-shadow: 0 0 8px rgba(240, 195, 86, 0.3); } 50% { box-shadow: 0 0 20px rgba(240, 195, 86, 0.75); } }
/* Phones: everything on one row (logo, currency, About Seti, Creation, music), a little closer and smaller */
@media (max-width: 600px) {
  html body .site-header { flex-wrap: nowrap !important; gap: 6px !important; padding-left: 8px !important; padding-right: 8px !important; }
  html body .site-header .brand-name { display: none !important; }
  html body .site-header .header-nav { gap: 5px !important; flex-wrap: nowrap !important; margin-left: auto !important; }
  html body .site-header .cur-btn { font-size: 0.72rem !important; padding: 7px 8px !important; letter-spacing: 0.02em !important; }
  html body .site-header .header-nav .text-btn { font-size: 0.72rem !important; padding: 7px 2px !important; letter-spacing: 0.03em !important; }
  html body .site-header #soundToggle { width: 36px !important; height: 36px !important; font-size: 1.1rem !important; flex: none; }
}
@media (max-width: 360px) {
  html body .site-header .cur-btn { font-size: 0.66rem !important; padding: 6px 6px !important; }
  html body .site-header .header-nav .text-btn { font-size: 0.66rem !important; letter-spacing: 0.01em !important; }
  html body .site-header #soundToggle { width: 32px !important; height: 32px !important; }
}
@media (prefers-reduced-motion: reduce) { html body .site-header #soundToggle { animation: none !important; } }

/* Music button next to Santa's bell (Christmas theme) */
.xmas-music { position: absolute; z-index: 7; pointer-events: auto; cursor: pointer;
  left: calc(6% - 62px); top: calc(var(--sw) * var(--ar) * (var(--below) - 0.83) - 30px);
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid #f0c356; padding: 0;
  background: radial-gradient(circle at 35% 30%, #2a5a43, #0d2a1f); color: #ffe08a; font-size: 1.2rem; line-height: 1;
  display: grid; place-items: center; box-shadow: 0 0 16px rgba(240, 195, 86, 0.6), 0 4px 10px rgba(0, 0, 0, 0.4);
  -webkit-tap-highlight-color: transparent; }
.xmas-music::after { content: "Music"; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 4px; font-family: inherit; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: #ffe08a; white-space: nowrap; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8); }
.xmas-music.is-on::after { content: "Music on"; }
.xmas-music:not(.is-on) { animation: noteBounce 2.2s ease-in-out infinite; }
.xmas-music.is-on { background: radial-gradient(circle at 35% 30%, #f6d77a, #b8860b); color: #10241a; }
.xmas-music:hover { transform: scale(1.08); }
@keyframes noteBounce { 0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 0 10px rgba(240, 195, 86, 0.45), 0 4px 10px rgba(0, 0, 0, 0.4); } 50% { transform: translateY(-5px) scale(1.06); box-shadow: 0 0 26px rgba(240, 195, 86, 0.9), 0 6px 12px rgba(0, 0, 0, 0.4); } }
@media (max-width: 1023px) { .xmas-music { width: 36px; height: 36px; font-size: 1.05rem; left: calc(6% - 52px); } }
@media (prefers-reduced-motion: reduce) { .xmas-music { animation: none !important; } }

/* Party avatar stands out: bigger, glowing, "Celebrate" label and a one-time "Tap me!" bubble */
.party-avatar { width: 58px; height: 58px; border-width: 2px; border-color: #f0c356; overflow: visible; }
.party-avatar svg { width: 34px; height: 34px; }
.party-label { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 5px; font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: #ffe08a; white-space: nowrap; pointer-events: none; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8); }
.party-hint { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); white-space: nowrap; pointer-events: none;
  background: #f0c356; color: #1d1404; font-size: 0.78rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35); }
.party-hint::after { content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-left-color: #f0c356; }
@media (prefers-reduced-motion: no-preference) {
  .party-avatar { animation: partyWiggle 6s ease-in-out infinite, partyGlow 2.4s ease-in-out infinite; }
  .party-avatar.is-popping { animation: partyPop 0.6s ease-out; }
  .party-hint { animation: hintNudge 2.4s ease-in-out infinite; }
}
@keyframes partyGlow { 0%, 100% { box-shadow: 0 0 10px rgba(240, 195, 86, 0.4); } 50% { box-shadow: 0 0 28px rgba(240, 195, 86, 0.95); } }
@keyframes hintNudge { 0%, 100% { transform: translate(0, -50%); } 50% { transform: translate(-5px, -50%); } }
@media (max-width: 560px) { .party-avatar { width: 48px; height: 48px; } .party-avatar svg { width: 28px; height: 28px; } .party-hint { font-size: 0.7rem; padding: 4px 8px; } }
/* The bigger menu buttons stay inside the 52px header bar, so the news ticker below doesn't touch them */
@media (min-width: 601px) {
  html body[data-view="play"] .site-header { padding-top: 5px !important; padding-bottom: 5px !important; }
  html body .site-header #soundToggle { width: 40px !important; height: 40px !important; }
}

/* Phones: slim fixed title bar under the menu (appears once the big headline has scrolled away) */
.phone-title { display: none; }
@media (max-width: 600px) {
  body[data-view="play"] .phone-title { display: block; position: fixed; left: 0; right: 0; top: 52px; z-index: 40; pointer-events: none;
    padding: 5px 10px 7px; text-align: center; font-family: var(--font-display); font-size: 1.12rem; letter-spacing: 0.04em; line-height: 1.15; color: var(--gold-bright, #f0e0a0);
    background: rgba(6, 18, 14, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    opacity: 0; transform: translateY(-6px); transition: opacity 0.25s ease, transform 0.25s ease; }
  body[data-view="play"] .phone-title.is-on { opacity: 1; transform: none; }
}
/* Phones: Santa sits close to Seti's portrait, so the music button moves to the free space right of his hat */
@media (max-width: 600px) { .xmas-music { left: calc(var(--sw) * 0.8); top: calc(var(--sw) * var(--ar) * (var(--below) - 0.83) - 22px); } }
@media (max-width: 600px) { .xmas-music::after { top: auto; bottom: 100%; margin: 0 0 4px; } }
/* Tablets (Christmas): the reels sit lower to make room for Santa; move the scale down the same amount so both stay centred together */
@media (min-width: 601px) and (max-width: 1023px) { html[data-theme="christmas"] .reel-stage > .denoms-side { margin-top: 124px; } }
html body.hero-clear-nav[data-view="play"] .view-play .play-hero { padding-top: calc(var(--hdr-h, 52px) - 8px) !important; }
/* Pinned menu bar (and the phone title bar) are solid, so Santa and the page don't show through them */
html body .site-header.is-stuck { background: rgb(6, 18, 14) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
@media (max-width: 600px) { body[data-view="play"] .phone-title { background: rgb(6, 18, 14); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (max-width: 600px) { body[data-view="play"] .phone-title { border-top: 1px solid rgb(6, 18, 14); } }
/* The thin gold lines under the menu, phone title bar and ticker are solid colours, so nothing scrolling behind can shine through them */
html body .site-header.is-stuck { border-bottom-color: #2b3022 !important; }
@media (max-width: 600px) { body[data-view="play"] .phone-title { border-bottom-color: #2b3022; } }
.wave-ticker { border-bottom-color: #4a4527; }
/* Pinned bar: "Golden Waves of Abundance" centred in the bar (when there's room) */
html body .site-header.name-center .brand-name { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 1.05rem !important; letter-spacing: 0.16em; }
html body .site-header.name-center.name-hidden .brand-name { transform: translate(-50%, -20%); }
/* Normal screens, pinned bar: "Magic. Freedom. Happiness." to the right of the logo (name is centred) */
html body .site-header.name-center .brand-tag { display: block !important; position: absolute; left: 76px; top: 50%; transform: translateY(-50%); margin: 0; white-space: nowrap;
  font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold, #c9a84c);
  transition: opacity 0.35s ease; }
html body .site-header.name-center.name-hidden .brand-tag { opacity: 0; pointer-events: none; }

/* Subtopics: name side (tap = description) | heart side (tap = vote), divided by a thin line */
.cre-sub .cre-name { padding-right: 4.6em; }
.cre-sub .cre-count { top: 0 !important; bottom: 0; right: 0; transform: none !important; display: flex; align-items: center; gap: 4px; padding: 0 12px 0 11px;
  border-left: 1px solid rgba(201, 168, 76, 0.35); border-radius: 0 12px 12px 0; transition: background 0.15s ease; }
.cre-sub .cre-count:hover { background: rgba(240, 195, 86, 0.12); }
.cre-sub.has-tip { border-color: var(--ab-b); }
.cre-tip { position: fixed; z-index: 120; padding: 10px 13px; border-radius: 12px; background: rgb(10, 30, 22); border: 1px solid rgba(240, 195, 86, 0.6);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45); color: var(--cream, #f3ead2); font-size: 0.84rem; line-height: 1.45; display: grid; gap: 3px; }
.cre-tip b { color: var(--gold-bright, #f0e0a0); font-weight: 600; }
@media (max-width: 899px) { .cre-flow .cre-sub .cre-count { position: absolute !important; display: flex !important; } }

/* Monthly / yearly wave pop-up: a bit more compact, and the main button always stays visible at the bottom */
.monthly-dialog { padding: 22px 22px 0 !important; }
.monthly-dialog > .eyebrow { margin: 0 0 6px; }
.monthly-dialog > h2 { margin: 0 0 8px; }
.monthly-dialog > #monthlyLeadEl { font-size: 0.98rem; line-height: 1.45; margin: 0 0 12px; }
.monthly-dialog .monthly-form { gap: 8px; }
.monthly-dialog .monthly-form .mini-note { margin: 0; }
.monthly-dialog .stack-actions { position: sticky; bottom: 0; z-index: 2; margin: 2px -22px 0; padding: 18px 22px 14px;
  background: linear-gradient(to bottom, rgba(12, 21, 17, 0), rgba(12, 21, 17, 0.96) 34%); border-radius: 0 0 18px 18px; }
.monthly-dialog .monthly-done .stack-actions { position: static; background: none; margin: 0; padding: 0 0 18px; }

/* Jars: the glowing oval keeps the same proportions on every screen (it was a fixed size, so it looked small on phones) */
html body .jar-glass::before { top: 22% !important; width: 109% !important; height: 39% !important; }

/* Phones: the Wall card keeps a top row for the party avatar; a softly glowing golden wave decorates the free space to its left */
@media (max-width: 560px) {
  #giversMain, #celebrate { padding-top: 78px !important; }
  #giversMain::before, #celebrate::before { content: ""; position: absolute; top: 6px; left: 20px; right: 92px; height: 56px; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='24' viewBox='0 0 80 24'%3E%3Cpath d='M0 12 C10 2 30 2 40 12 S70 22 80 12' fill='none' stroke='%23f0c356' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 50% / 80px 24px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent);
    filter: drop-shadow(0 0 4px rgba(240, 195, 86, 0.9)) drop-shadow(0 0 10px rgba(240, 195, 86, 0.5)); opacity: 0.85; }
  #giversMain:has(.party-hint)::before, #celebrate:has(.party-hint)::before { right: 178px; }
}
@media (max-width: 560px) and (prefers-reduced-motion: no-preference) {
  #giversMain::before, #celebrate::before { animation: wallWave 6s linear infinite, wallGlow 3s ease-in-out infinite; }
}
@keyframes wallWave { to { background-position: 80px 50%; } }
@keyframes wallGlow { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
/* Ticker: moved by scrolling (see app.js), so the strip itself no longer animates */
.wave-ticker .tk-track { animation: none !important; will-change: auto !important; transform: none !important; }
.wave-ticker { scrollbar-width: none; }
.wave-ticker::-webkit-scrollbar { display: none; }
/* Meet Seti card: "Contact Seti" button under the two main links */
.meet-contact { margin: 22px 0 14px !important; display: flex; justify-content: center; }
.meet-contact .meet-contact-btn { width: auto; min-width: 220px; }
#contactModal textarea { min-height: 110px; }
/* Meet Seti card on wider screens: the two main buttons side by side and Contact Seti right under them, so everything fits without scrolling */
@media (min-width: 761px) {
  html body .meet-seti .meet-links { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px !important; margin-top: 18px !important; }
  html body .meet-seti .meet-links > button { width: 100% !important; min-width: 0 !important; padding: 11px 14px !important; min-height: 48px !important; }
  html body .meet-seti .meet-contact { margin: 12px 0 0 !important; }
}
/* Contact Seti form: a bit of air between the message field and the Send button */
#contactModal .cre-form .cre-submit { margin-top: 14px; }

/* Messages like "Thank you! Your message is on its way": a clear card near the top (under the menu), easy to read, stays 7 s, tap to close */
html body .test-toast { top: calc(var(--hdr-h, 52px) + 44px); bottom: auto; z-index: 130; display: flex; align-items: center; gap: 10px;
  max-width: min(92vw, 460px); width: max-content; padding: 13px 20px; border-radius: 16px; font-size: 1rem; letter-spacing: 0.01em; line-height: 1.4;
  background: rgb(14, 40, 30); color: #fff6dc; border: 1.5px solid #f0c356; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 22px rgba(240, 195, 86, 0.35);
  transform: translateX(-50%) translateY(-12px); pointer-events: none; cursor: pointer; }
html body .test-toast.show { transform: translateX(-50%); pointer-events: auto; }
html body .test-toast .toast-ico { color: #f0c356; font-size: 1.1rem; flex: none; }
/* Messages sit at the right edge (centred on phones, where there's no room beside) */
html body .test-toast { left: auto; right: 20px; transform: translateX(16px); }
html body .test-toast.show { transform: none; }
@media (max-width: 600px) { html body .test-toast { left: 50%; right: auto; transform: translateX(-50%) translateY(-12px); } html body .test-toast.show { transform: translateX(-50%); } }

/* "Tap me!" sits ABOVE the party avatar on tablets/desktops (beside it, it covered the Wall heading); phones keep it to the left in their own top row */
@media (min-width: 561px) {
  html body .party-hint { right: -4px; left: auto; top: auto; bottom: calc(100% + 10px); transform: none; }
  html body .party-hint::after { left: auto; right: 22px; top: 100%; transform: none; border: 6px solid transparent; border-top-color: #f0c356; border-left-color: transparent; }
}
@media (min-width: 561px) and (prefers-reduced-motion: no-preference) {
  html body .party-hint { animation: hintBob 2.4s ease-in-out infinite; }
}
@keyframes hintBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
