/* Loveree free game (mobile-first, evening palette) */
.play-body {
  background: #34040f radial-gradient(120% 70% at 50% 0%, #6a0c22 0%, #4a0716 55%, #34040f 100%) fixed;
  color: var(--on-dark); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
}
.play-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; max-width: 640px; width: 100%; margin: 0 auto; }
.play-brand { background: var(--cream); border-radius: 10px; padding: 6px 10px; line-height: 0; }
.play-brand img { width: 104px; height: auto; }
.mech-pill {
  display: flex; flex-direction: column; align-items: flex-end; gap: 1px; border: 1px solid rgba(230, 199, 137, .55);
  background: rgba(255, 255, 255, .05); color: var(--on-dark); border-radius: 10px; padding: 6px 10px; cursor: pointer; font: inherit;
}
.mech-pill-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
.mech-pill-count { font-size: 12.5px; }
.play-main { flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 8px 16px 28px; }
.play-foot { text-align: center; font-size: 13px; color: var(--on-dark-soft); padding: 18px 16px 24px; }
.play-foot a { color: var(--on-dark-soft); }

.pv[hidden] { display: none; }
.pv-eyebrow { font-size: 12.5px; letter-spacing: .2em; color: var(--gold-light); font-weight: 600; margin-top: 10px; }
.pv-title { font-family: var(--serif); font-size: clamp(30px, 8vw, 42px); line-height: 1.08; color: #fff8f0; margin-top: 8px; }
.pv-lead { margin-top: 12px; font-size: 18px; color: var(--on-dark); }
.pv-lead-sm { margin-top: 8px; font-size: 15px; color: var(--on-dark-soft); }
.pv-facts { list-style: none; padding: 0; margin: 18px 0 6px; display: grid; gap: 8px; }
.pv-facts li { position: relative; padding-left: 26px; font-size: 16px; }
.pv-facts li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(230, 199, 137, .2); }
.pv-form { margin-top: 18px; display: grid; gap: 8px; }
.pv-label { font-size: 14.5px; margin-top: 8px; color: var(--on-dark); }
.pv-input {
  width: 100%; min-height: 48px; border-radius: 9px; border: 1.5px solid transparent; background: #fffdf9; color: var(--ink);
  padding: 10px 14px; font-size: 16px; font-family: inherit;
}
.pv-input:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 1px; }
.pv-code { font-size: 26px; letter-spacing: .3em; text-align: center; text-transform: uppercase; font-weight: 600; }
.pv-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin-top: 6px; cursor: pointer; }
.pv-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); flex: none; }
.pv-note { font-size: 13.5px; color: var(--on-dark-soft); margin-top: 8px; line-height: 1.45; }
.pv-note a, .pv-hint a { color: var(--gold-light); }
.pv-hint { font-size: 13.5px; color: var(--on-dark-soft); margin-top: 8px; }
.pv-error { font-size: 14px; color: var(--error-on-dark); font-weight: 500; }
.pv-error[hidden], .pv-alert[hidden] { display: none; }
.pv-alert { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: rgba(255, 201, 196, .12); border: 1px solid rgba(255, 201, 196, .5); color: #ffe6e3; font-size: 14.5px; }
.pv .btn-block { margin-top: 16px; }
.btn-text { display: block; margin: 10px auto 0; background: none; border: 0; color: var(--on-dark-soft); text-decoration: underline; cursor: pointer; font: inherit; font-size: 15px; padding: 8px; }
.btn-ghost-light { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(251, 243, 234, .6); }
.btn-choice { background: #fffdf9; color: var(--burgundy); margin-top: 10px; }

.pv-steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 6px 0 4px; }
.pv-steps li { flex: 1; text-align: center; font-size: 12.5px; padding: 6px 0; border-bottom: 2px solid rgba(251, 243, 234, .25); color: var(--on-dark-soft); }
.pv-steps li.is-current { border-color: var(--gold-light); color: #fff; }
.pv-choices { display: grid; gap: 10px; margin-top: 16px; }
.pv-choice {
  position: relative; display: grid; gap: 4px; padding: 16px 16px 16px 48px; border-radius: 12px; cursor: pointer;
  border: 1.5px solid rgba(251, 243, 234, .4); background: rgba(255, 255, 255, .04);
}
.pv-choice input { position: absolute; left: 16px; top: 18px; width: 20px; height: 20px; accent-color: var(--gold); }
.pv-choice:has(input:checked) { border-color: var(--gold-light); background: rgba(230, 199, 137, .14); }
.pv-choice:has(input:focus-visible) { outline: 3px solid var(--gold-light); outline-offset: 2px; }
.pv-choice.is-locked { opacity: .55; cursor: not-allowed; }
.pv-choice-title { font-family: var(--serif); font-size: 21px; color: #fff8f0; }
.pv-choice-sub { font-size: 14px; color: var(--on-dark-soft); }
.pv-city { border: 0; padding: 0; margin: 18px 0 0; display: grid; gap: 4px; }
.pv-city legend { font-family: var(--serif); font-size: 21px; margin-bottom: 4px; }
.pv-toggles { display: grid; gap: 8px; margin-top: 16px; }
.pv-toggle { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .05); cursor: pointer; }
.pv-toggle-text { display: grid; gap: 2px; }
.pv-toggle-text b { font-weight: 600; font-size: 15.5px; }
.pv-toggle-text small { font-size: 13px; color: var(--on-dark-soft); }
.pv-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pv-switch { width: 46px; height: 26px; border-radius: 13px; background: rgba(251, 243, 234, .3); position: relative; flex: none; transition: background .15s; }
.pv-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; }
.pv-toggle input:checked + .pv-switch { background: var(--gold); }
.pv-toggle input:checked + .pv-switch::after { transform: translateX(20px); }
.pv-toggle input:focus-visible + .pv-switch { outline: 3px solid var(--gold-light); outline-offset: 2px; }

.lobby-code { margin-top: 20px; padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(230, 199, 137, .45); text-align: center; }
.lobby-code[hidden] { display: none; }
.lobby-code-value { font-size: 40px; letter-spacing: .28em; font-weight: 700; color: #fff8f0; padding-left: .28em; }
.lobby-wait, .g-wait { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-size: 15.5px; color: var(--on-dark); }
.lobby-wait[hidden], .g-wait[hidden] { display: none; }
.dot-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-light); animation: lvr-pulse 1.4s ease-in-out infinite; flex: none; }
@keyframes lvr-pulse { 0%, 100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .dot-pulse { animation: none; } }

/* game */
.g-act { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; letter-spacing: .04em; color: var(--gold-light); margin-top: 6px; }
.g-min { color: var(--on-dark-soft); white-space: nowrap; }
.g-progress { height: 4px; border-radius: 2px; background: rgba(251, 243, 234, .18); margin: 8px 0 14px; overflow: hidden; }
.g-progress span { display: block; height: 100%; background: var(--gold); width: 0; transition: width .3s; }
.g-audience { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .03em; padding: 6px 10px; border-radius: 20px; margin-bottom: 10px; }
.g-audience.is-private { background: #fff3d6; color: #6a3d00; }
.g-audience.is-both { background: rgba(251, 243, 234, .15); color: var(--on-dark); }
.g-card {
  background: linear-gradient(170deg, #fffaf0 0%, #f6ecd8 100%); color: var(--ink); border-radius: 16px; padding: 22px 20px 20px;
  box-shadow: 0 18px 40px rgba(10, 0, 4, .35);
}
.g-card.g-private, .g-card.g-conversation { box-shadow: 0 0 0 2px var(--gold), 0 18px 40px rgba(10, 0, 4, .35); }
.g-title { font-family: var(--serif); font-size: clamp(25px, 6.6vw, 32px); line-height: 1.12; color: var(--burgundy); }
.g-body p { margin-top: 12px; font-size: 18px; line-height: 1.5; }
.g-fallback { margin-top: 14px; font-size: 14.5px; color: var(--ink-soft); border-left: 3px solid var(--gold); padding-left: 10px; }
.g-fallback[hidden] { display: none; }
.g-answer { margin-top: 14px; min-height: 110px; resize: vertical; border-color: #d9cdb5; }
.g-answer-mine, .g-answer-partner { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #fff; font-size: 16.5px; }
.g-answer-partner { background: #fff3d6; }
.g-reveal-h { margin-top: 16px; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.g-locked-modes { margin-top: 16px; padding-top: 12px; border-top: 1px dashed #d9cdb5; }
.g-locked-tag { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); font-weight: 700; margin-top: 10px; }
.g-locked-item { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }
.g-teaser { background: linear-gradient(170deg, #2b0610 0%, #4c0a1c 100%); color: var(--on-dark); box-shadow: 0 0 0 1px rgba(230, 199, 137, .5); }
.g-teaser .g-title { color: var(--gold-light); }
.g-teaser .g-locked-tag { color: var(--gold-light); }
.g-revealed-item { margin-top: 12px; padding: 12px; border-radius: 10px; background: #fff; }
.g-revealed-item p { margin-top: 4px; font-size: 15.5px; }
.g-revealed-who { font-size: 12.5px !important; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); font-weight: 700; }
.g-revealed-title { font-family: var(--serif); font-size: 19px !important; color: var(--burgundy); }
.g-actions .btn-block { margin-top: 14px; }

.pv-phones-down { text-align: center; padding-top: 12vh; }
.pd-icon { font-size: 44px; color: var(--gold-light); }

.end-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.end-list li { padding: 12px 14px; border-radius: 10px; font-size: 16px; }
.end-done li { background: rgba(230, 199, 137, .16); }
.end-locked li { background: rgba(255, 255, 255, .05); color: var(--on-dark-soft); }
.end-list small { display: block; margin-top: 4px; font-size: 13px; color: var(--on-dark-soft); }
.end-h2 { font-family: var(--serif); font-size: 24px; margin-top: 24px; color: #fff8f0; }

.mech-sheet { position: fixed; inset: 0; background: rgba(20, 0, 6, .7); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.mech-sheet[hidden] { display: none; }
.mech-sheet-inner { width: 100%; max-width: 640px; max-height: 88vh; overflow: auto; background: #3c0613; border-radius: 18px 18px 0 0; padding: 22px 18px 26px; }
.mech-sheet h2 { font-family: var(--serif); font-size: 26px; color: #fff8f0; }
.mech-sub { color: var(--on-dark-soft); margin-top: 4px; }

/* adventures */
.pv-wide { max-width: 640px; }
.adv-grid { display: grid; gap: 12px; margin: 20px 0 6px; }
.adv-card { padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(230, 199, 137, .5); }
.adv-card.is-locked { border-style: dashed; }
.adv-card h2 { font-family: var(--serif); font-size: 24px; color: #fff8f0; }
.adv-time { color: var(--gold-light); font-size: 14px; margin-top: 2px; }
.adv-card p { margin-top: 8px; font-size: 15.5px; }
.adv-card .btn { margin-top: 12px; min-height: 44px; }
.adv-soon { display: inline-block; margin-top: 12px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); }

/* the hidden attribute always wins over component display rules */
.play-body [hidden] { display: none !important; }

/* secret role card (as in the ad): Guest burgundy + mask, Host dark green + key */
.g-card.g-role { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 20px 28px; color: var(--on-dark); }
.g-card.g-role .g-extra { order: -1; }
.g-card.role-guest { background: radial-gradient(120% 90% at 50% 20%, #7c1430 0%, #4f0a1d 70%, #3a0614 100%); box-shadow: 0 0 0 2px var(--gold), 0 18px 40px rgba(10, 0, 4, .45); }
.g-card.role-host { background: radial-gradient(120% 90% at 50% 20%, #1d5a45 0%, #0f3b2e 70%, #082319 100%); box-shadow: 0 0 0 2px var(--gold), 0 18px 40px rgba(0, 10, 6, .45); }
.g-role-eyebrow { font-size: 12.5px; letter-spacing: .24em; color: var(--gold-light); font-weight: 600; }
.g-role-icon { width: 92px; height: auto; margin: 16px auto 4px; }
.g-card.g-role .g-title { color: #fff3dc; font-size: clamp(30px, 8vw, 38px); margin-top: 6px; }
.g-card.g-role .g-body p { color: var(--on-dark); font-size: 19px; }

/* save it for tonight */
.later-link { margin-top: 18px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(230, 199, 137, .45); }
.later-url { margin-top: 6px; font-size: 14px; word-break: break-all; color: #fff3dc; }
.later-msg { margin-top: 10px; padding: 12px 14px; border-radius: 10px; background: #fffdf9; color: var(--ink); font-size: 16px; }

/* conversation rounds */
.g-question { margin-top: 14px; padding: 14px; border-radius: 12px; background: #fff; border: 1.5px solid var(--gold); }
.g-question-text { font-family: var(--serif); font-size: 21px; line-height: 1.3; color: var(--burgundy); }
.g-guess-set { margin-top: 14px; }
.g-guess-h { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.g-opt { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid #d9cdb5; background: #fff; color: var(--ink); font: inherit; font-size: 16px; text-align: left; cursor: pointer; }
.g-opt.is-picked { border-color: var(--burgundy); background: #fff3d6; font-weight: 600; }
.g-opt:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.g-guess-result { margin-top: 10px; font-weight: 600; }
.g-guess-result.is-right { color: #1f6b3d; }
.g-guess-result.is-wrong { color: var(--ink-soft); }
.g-card.g-guess { box-shadow: 0 0 0 2px var(--gold), 0 18px 40px rgba(10, 0, 4, .35); }

/* separate arrival */
.g-countdown { margin-top: 14px; font-family: var(--serif); font-size: 22px; color: var(--burgundy); text-align: center; }
.g-countdown.is-ready { font-family: inherit; font-size: 17px; font-weight: 700; }

/* premium path card */
.g-teaser-label { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }

/* end-screen feedback */
.end-fb { margin-bottom: 28px; }
.fb-hearts { display: flex; gap: 6px; margin: 10px 0 18px; }
.fb-heart { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); background: transparent; color: rgba(255, 255, 255, .45); font-size: 24px; line-height: 1; cursor: pointer; }
.fb-heart.is-on { color: #ff6f8f; border-color: #ff6f8f; }
.fb-heart:focus-visible, .fb-pill:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.fb-longer { display: flex; gap: 8px; margin: 10px 0 18px; }
.fb-pill { flex: 1; }
.fb-pill.is-picked { background: var(--gold); color: var(--burgundy); border-color: var(--gold); }
.fb-opt { font-weight: 400; opacity: .75; }
.fb-comment { resize: vertical; margin-bottom: 10px; }
.end-unlocked-title { font-size: 26px; }

/* adventures: planned tiers */
.adv-price { font-weight: 700; color: var(--gold); }
.adv-locked { list-style: none; margin: 10px 0 0; padding: 0; font-size: 14.5px; opacity: .85; }
.adv-locked li { margin-top: 4px; }
.adv-tier .btn { width: 100%; }

/* low-friction feedback */
.fb-private { font-size: 13px; letter-spacing: .02em; color: var(--gold-light); margin-bottom: 6px; }
.fb-chipbox { margin-bottom: 6px; }
.fb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.fb-chip { min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .35); background: transparent; color: var(--on-dark); font: inherit; font-size: 15px; cursor: pointer; }
.fb-chip.is-picked { background: var(--gold); border-color: var(--gold); color: var(--burgundy); font-weight: 600; }
.fb-chip:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.fb-comment { min-height: 48px; margin-bottom: 4px; }
.fb-status { min-height: 1.4em; font-size: 13px; color: var(--gold-light); margin-top: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* gift a night (interest only) */
.gift-pill { display: inline-block; padding: 6px 14px; border: 1.5px solid var(--gold); border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.gift-how { list-style: none; counter-reset: gh; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.gift-how li { counter-increment: gh; display: flex; align-items: center; gap: 12px; font-size: 17px; }
.gift-how li::before { content: counter(gh); width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-light); display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.gift-sample { margin: 22px 0 6px; display: grid; justify-items: center; gap: 6px; }
.gift-sample .gift-stage { width: 100%; border-radius: 12px; overflow: hidden; }
.gift-sample .gift-stage img { display: block; width: 100%; height: auto; -webkit-mask-image: none; mask-image: none; }
.gift-sample figcaption { font-size: 13px; color: var(--gold-light); opacity: .8; }
.gift-form { margin-top: 16px; }
.gift-meanwhile { margin-top: 18px; }
.gift-meanwhile a { color: var(--gold-light); font-weight: 600; }

/* story roulette */
.rl-title { margin-top: 6px; }
.rl-eyebrow { margin-top: 10px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
/* story drum — port of the approved prototype (_design/loveree-story-drum.html) */
.drum-stage { position: relative; width: 100%; height: 330px; perspective: 900px; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; margin-top: 6px; }
.drum-stage:active { cursor: grabbing; }
.drum-stage.is-guest { cursor: default; }
.drum-stage:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 6px; border-radius: 18px; }
.drum-housing { position: absolute; inset: 0; border-radius: 22px; background: linear-gradient(90deg, #120206 0%, #2A0712 12%, #2A0712 88%, #120206 100%);
  box-shadow: inset 0 0 0 2px rgba(226, 194, 122, .25), inset 0 30px 40px rgba(0, 0, 0, .6), inset 0 -30px 40px rgba(0, 0, 0, .6); }
.drum-cyl { position: absolute; left: 14px; right: 14px; top: 50%; height: 0; transform-style: preserve-3d; }
.drum-cyl .plate { position: absolute; left: 0; right: 0; height: var(--h); margin-top: calc(var(--h) / -2); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; align-items: center; gap: 12px; padding: 0 16px; box-sizing: border-box; border-radius: 6px;
  background: linear-gradient(180deg, #F6E6D2, #EBD3B8); color: #3A0715; border: 1px solid #C9A46A; }
.drum-cyl .plate .ico { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #8E1736; color: #E2C27A; }
.drum-cyl .plate .ico svg { width: 16px; height: 16px; }
.drum-cyl .plate .txt { display: flex; flex-direction: column; min-width: 0; text-align: left; }
.drum-cyl .plate .name { font-family: var(--serif); font-size: 20px; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drum-cyl .plate .sub { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #7A4A3E; }
.drum-cyl .plate.locked { background: linear-gradient(180deg, #D9CFC6, #C9BDB3); color: #5A4A48; border-color: #A99B90; }
.drum-cyl .plate.locked .ico { background: #6C5A57; color: #EFE4DA; }
.drum-window { position: absolute; left: 4px; right: 4px; top: 50%; height: calc(var(--h, 62px) + 14px); transform: translateY(-50%); pointer-events: none;
  border-top: 2px solid #E2C27A; border-bottom: 2px solid #E2C27A; }
.drum-pointer { position: absolute; top: 50%; width: 0; height: 0; border-top: 12px solid transparent; border-bottom: 12px solid transparent; transform: translateY(-50%); pointer-events: none; transition: transform .08s; }
.drum-pointer.l { left: -2px; border-left: 16px solid #E2C27A; }
.drum-pointer.r { right: -2px; border-right: 16px solid #E2C27A; }
/* the passing plate drags the pawl's tip in the direction the rim is moving */
.drum-pointer.down.l { transform: translateY(-50%) rotate(16deg); }
.drum-pointer.down.r { transform: translateY(-50%) rotate(-16deg); }
.drum-pointer.up.l { transform: translateY(-50%) rotate(-16deg); }
.drum-pointer.up.r { transform: translateY(-50%) rotate(16deg); }
.drum-fade { position: absolute; left: 0; right: 0; height: 42%; pointer-events: none; border-radius: 22px; }
.drum-fade.top { top: 0; background: linear-gradient(#120206, rgba(18, 2, 6, 0)); }
.drum-fade.bot { bottom: 0; background: linear-gradient(rgba(18, 2, 6, 0), #120206); }
.drum-swipe { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; font-size: 13px; color: #E2C27A; }
.drum-swipe svg { width: 18px; height: 18px; animation: drum-nudge 1.6s ease-in-out infinite; }
@keyframes drum-nudge { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
.rl-count { margin-top: 12px; text-align: center; font-size: 14px; color: var(--gold-light); }
.rl-actions { margin-top: 14px; }
.rl-result { margin-top: 16px; padding: 18px; border-radius: 14px; background: #fff8ec; color: var(--ink); text-align: center; box-shadow: 0 0 0 2px var(--gold); }
.rl-result-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--gold-ink); }
.rl-result-title { margin-top: 6px; font-family: var(--serif); font-size: 28px; color: var(--burgundy); }
.rl-result-teaser { margin-top: 6px; font-size: 16px; }
.rl-locked-card { margin-top: 14px; padding: 12px 14px; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, .35); }
.rl-locked-title { font-weight: 700; }
.rl-locked-note { margin-top: 6px; font-size: 13px; color: var(--gold-light); }
.rl-legend { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rl-legend-item { min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--gold); background: var(--gold); color: var(--burgundy); font: inherit; font-size: 13.5px; font-weight: 600; cursor: default; }
.rl-legend-item.is-locked { background: transparent; border-color: rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .7); font-weight: 400; cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
  .drum-swipe svg { animation: none; }
}
/* invite my partner */
.inv-when-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.pv-chip { position: relative; }
.pv-chip input { position: absolute; opacity: 0; inset: 0; }
.pv-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .35); font-size: 15.5px; cursor: pointer; }
.pv-chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--burgundy); font-weight: 700; }
.pv-chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.lobby-invite { margin-top: 16px; padding: 16px; border: 1.5px solid var(--gold); border-radius: 14px; }
.lobby-invite-when { font-family: var(--serif); font-size: 24px; }
.lobby-invite-status { margin: 4px 0 6px; color: var(--gold-light); font-weight: 600; }

/* role-coloured cards (Host green, Guest burgundy) on ANY step — arrival, role card, … — keep light text.
   Contrast on the darkest/lightest gradient stop: body #FFF7EE ≥ 9:1, title #F3D9A4 ≥ 7:1. */
.g-card.role-host, .g-card.role-guest { color: #FFF7EE; }
.g-card.role-host .g-title, .g-card.role-guest .g-title { color: #F3D9A4; }
.g-card.role-host .g-body p, .g-card.role-guest .g-body p { color: #FFF7EE; }
.g-card.role-host .g-fallback, .g-card.role-guest .g-fallback { color: #F7EBD6; border-left-color: #F3D9A4; }
.g-card.role-host .g-countdown, .g-card.role-guest .g-countdown { color: #F3D9A4; }
.g-card.role-host .g-countdown.is-ready, .g-card.role-guest .g-countdown.is-ready { color: #FFF7EE; }

/* game in progress: continue or start new */
.pv-confirm { margin-top: 14px; padding: 14px; border: 1.5px solid var(--gold); border-radius: 12px; }
.pv-confirm-line { font-weight: 600; color: #F3D9A4; margin-bottom: 4px; }

/* small gold labels on the cream cards need a darker gold (>= 4.5:1); on the dark teaser card a light gold */
.play-body { --gold-ink: #7a5618; }
.g-teaser .g-teaser-label { color: var(--gold-light); }
/* selected gold chips/pills: very dark text on gold (>= 6:1); prices on dark cards in light gold */
.fb-chip.is-picked, .fb-pill.is-picked, .pv-chip input:checked + span, .g-opt.is-picked { color: #3a0612; }
.adv-price { color: #F3D9A4; }

/* ---------- v3 heat ---------- */
.heat { display: flex; align-items: center; gap: 8px; margin: 2px 0 10px; color: #F3D9A4; }
.heat-ico { display: inline-flex; opacity: .9; }
.heat-ico-high { color: rgba(255, 247, 238, .45); }
.heat-ico-high.is-on, .heat-5 .heat-ico-high { color: #ff9a6b; }
.heat-bar { display: flex; gap: 4px; flex: 1; }
.heat-cell { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 247, 238, .18); }
.heat-cell.is-on { background: linear-gradient(90deg, #F3D9A4, #ff9a6b); }
.heat-row { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.heat-row .btn { flex: 1; width: auto; }
.btn-ghost-dark { background: #fff; color: #4a0716; border: 1.5px solid #c39a56; }
.heat-result { margin-top: 12px; font-weight: 700; font-size: 17px; color: #4a0716; }
.eye-timer { margin: 18px 0 6px; text-align: center; font-family: var(--serif); font-size: 64px; line-height: 1; color: #4a0716; }
.heat-score { display: flex; gap: 12px; margin-top: 12px; }
.heat-score p { flex: 1; padding: 12px; border-radius: 12px; background: #fff3d6; text-align: center; font-weight: 600; color: #3a0612; }
.bf-count { display: inline-flex; align-items: center; gap: 4px; color: #7a0f26; font-size: 20px; font-weight: 700; }
.match-list { margin-top: 12px; display: grid; gap: 10px; }
.match-card { padding: 12px; border-radius: 12px; background: #fff; border: 1px solid #e6d8bd; }
.match-text { font-size: 16.5px; color: #23212b; }
.match-btns { display: flex; gap: 6px; margin-top: 8px; }
.match-btn { flex: 1; min-height: 44px; border-radius: 10px; border: 1.5px solid #d9cdb5; background: #fff; color: #3a0612; font: inherit; font-weight: 600; cursor: pointer; }
.match-btn.is-picked[data-val=yes] { background: #1f6b3d; border-color: #1f6b3d; color: #fff; }
.match-btn.is-picked[data-val=maybe] { background: #c39a56; border-color: #c39a56; color: #3a0612; }
.match-btn.is-picked[data-val=no] { background: #4a4651; border-color: #4a4651; color: #fff; }
.match-btn:focus-visible, .dare-chip:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.match-h { margin-top: 14px; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.match-yes { margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: #e7f4ea; color: #14482a; font-weight: 600; }
.match-maybe { margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: #fff3d6; color: #5a3a08; }
.dare-chips { display: grid; gap: 8px; margin-top: 12px; }
.dare-chip { min-height: 46px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid #d9cdb5; background: #fff; color: #23212b; font: inherit; font-size: 15.5px; text-align: left; cursor: pointer; }
.dare-chip.is-picked { border-color: #7a0f26; background: #fff3d6; font-weight: 600; color: #3a0612; }
.dare-or { margin-top: 14px; font-weight: 600; color: #4a4651; }
.dare-own { margin-top: 6px; }
.dare-hint { margin-top: 6px; font-size: 14px; color: #4a4651; }
.dare-received { margin-top: 6px; padding: 14px; border-radius: 12px; background: #fff3d6; font-family: var(--serif); font-size: 22px; color: #4a0716; }
.finale-pick { margin-top: 6px; padding: 14px; border-radius: 12px; background: #fff3d6; font-family: var(--serif); font-size: 24px; color: #4a0716; }
.finale-opt { text-align: left; margin-top: 8px; }
.note-text { margin-top: 12px; }
.end-note { margin: 0 0 24px; padding: 16px; border: 1.5px solid var(--gold); border-radius: 14px; }
.end-note-when { font-family: var(--serif); font-size: 20px; color: #FFF7EE; margin: 6px 0; }
.heat-row .btn { flex: 1 1 140px; }
.rl-legend-item:not(.is-locked) { color: #3a0612; }
/* start page: the secret role preview before the email step */
.setup-role { margin: 18px 0 22px; }

/* waiting screen: the link first, the code second */
.lobby-code [data-send-link] { font-size: 15.5px; letter-spacing: .01em; padding: 0 12px; }
.lobby-code-label { margin-top: 18px; font-size: 14px; color: var(--on-dark-soft); text-align: center; }
.lobby-code-value.lobby-code-small { font-size: 30px; letter-spacing: .18em; margin-top: 4px; }
.lobby-later-link { display: block; margin: 14px auto 0; }
.lobby-later { margin-top: 14px; padding: 16px; border-radius: 14px; border: 1px solid rgba(230, 199, 137, .45); background: rgba(255, 255, 255, .05); text-align: left; }
.lobby-later-title { font-family: var(--serif); font-size: 22px; color: #fff3dc; }
.g-extra .pv-error { color: #9b1c1c; }
.g-extra .pv-check { margin-top: 12px; }
.save-link-note { word-break: break-all; }
.g-extra [data-finale-email] { margin-top: 10px; }

/* the lone host: plan it instead (2026-11-01) */
.lobby-plan { display: block; width: 100%; margin: 14px 0 6px; padding: 14px 16px; border: 1.5px solid #ecc98f; border-radius: 12px; background: #fbf4e6; color: #6e0f27; font: inherit; font-size: 16.5px; font-weight: 600; text-align: left; cursor: pointer; }
/* comfort on the drum, for a game that skipped the setup page */
.rl-comfort { margin: 6px 0 10px; text-align: center; font-size: 15.5px; color: #fbf4e6; }
.rl-comfort .rl-comfort-change { display: inline; width: auto; margin: 0; padding: 4px 2px; color: #ecc98f; font-size: 15.5px; text-decoration: underline; }
.rl-comfort-panel { display: grid; gap: 8px; margin: 0 0 14px; padding: 14px; border-radius: 12px; background: #fbf4e6; color: #2a1218; }
.rl-comfort-opt { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 16px; }
.rl-comfort-opt input { width: 20px; height: 20px; }

/* closer: one quiet line under the title */
.g-why { margin: 6px 0 10px; font-size: 14.5px; line-height: 1.4; font-weight: 500; }
.rl-why { margin: 6px 0 4px; text-align: center; color: var(--on-dark-soft); }

/* Round 2 and the ladder (2026-11-01) */
.ladder { margin: 12px 0 0; font-size: 15px; color: var(--on-dark-soft); }
.ladder b { color: var(--gold-light); font-weight: 700; }
.ladder a { color: var(--gold-light); }
[data-view=end].is-r2 { display: flex; flex-direction: column; }
[data-view=end].is-r2[hidden] { display: none; }
.is-r2 .end-head { order: -3; }
.is-r2 .end-note { order: -2; margin-bottom: 18px; }
.is-r2 .r2-next { order: 1; margin-top: 18px; }
.is-r2 .fb-longer-q, .is-r2 .fb-longer, .is-r2 .fb-comment, .is-r2 .end-full, .is-r2 [data-end-eyebrow] { display: none; }
.r2-next { display: grid; gap: 10px; }
.g-aloud .g-body p { font-family: var(--serif, Georgia, serif); font-size: 24px; line-height: 1.25; }
.is-r2 .end-head { margin-bottom: 14px; }
.is-r2 .end-note > .pv-hint:not([data-end-note-status]) { display: none; }
/* one phone: both notes, read together on the end screen */
.end-notes-to { margin: 14px 0 2px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #e6c37a; }
.end-notes-text { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.35; color: #fbf4e6; overflow-wrap: anywhere; }

/* a Daily surprise game: back to the questions instead of the adventures pitch */
[data-daily-back][hidden], .end-full[hidden] { display: none; }
/* a Daily surprise game ends with one main button (BACK TO YOUR QUESTIONS); the others read as text links */
.is-daily .btn:not([data-daily-back]):not(.fb-pill) { width: auto; min-height: 0; margin: 10px auto 0; padding: 6px; border: 0; background: none; box-shadow: none; color: var(--gold-light); font-weight: 600; text-decoration: underline; }
[data-end-ladder][hidden] { display: none; }
