:root {
  --gold-bg: #1a0b2e;
  --gold-panel: #2d1b4e;
  --gold-lime: #b7f34b;
  --gold-accent: #ffd76a;
  --gold-soft: #ffe9aa;
  --gold-ink: #21162e;
}

* { box-sizing: border-box; }
.golden-page { min-height: 100vh; margin: 0; color: #fff; background: radial-gradient(ellipse at 80% 0%, rgba(255,215,106,.16), transparent 28rem), linear-gradient(145deg,#1a0b2e,#2d1b4e); font-family: "Trebuchet MS","Segoe UI",sans-serif; }
.golden-page::before { position: fixed; inset: 0; z-index: 0; pointer-events: none; content: ""; opacity: .08; background-image: radial-gradient(rgba(255,255,255,.42) .6px,transparent .6px); background-size: 5px 5px; }
.golden-shell { position: relative; z-index: 1; width: min(100% - 32px,720px); min-height: 100vh; margin: 0 auto; padding: max(28px,env(safe-area-inset-top)) 0 156px; }
.golden-header { display: flex; align-items: center; gap: 15px; min-height: 96px; margin-bottom: 12px; }
.golden-header h1 { margin: 0; font-size: clamp(2rem,8vw,3rem); letter-spacing: -.055em; line-height: 1; }
.golden-header h1.is-gold-friday { color: #FFD700; }
.event-title-sparkle { color: #fff; }
.golden-kicker,.golden-eyebrow { margin: 0 0 7px; color: var(--gold-accent); font-size: .66rem; font-weight: 950; letter-spacing: .16em; text-transform: uppercase; }
.event-hint { margin: 7px 0 0; color: rgba(255,255,255,.72); font-size: .9rem; }
.golden-back { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; color: #fff; font-size: 2rem; line-height: 1; text-decoration: none; }
.golden-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 0 0 18px; padding: 6px; border-radius: 16px; background: rgba(231,223,250,.86); }
.golden-tab { min-height: 48px; border: 0; border-radius: 12px; background: transparent; color: #655b7a; font: inherit; font-weight: 850; cursor: pointer; }
.golden-tab.is-active { color: #4c19a5; background: #fff; box-shadow: 0 3px 10px rgba(31,17,55,.15); }
.golden-tab:focus-visible,.golden-page button:focus-visible,.golden-back:focus-visible,.golden-history summary:focus-visible { outline: 3px solid var(--gold-lime); outline-offset: 3px; }
.golden-status { padding: 24px; color: rgba(255,255,255,.82); text-align: center; }
.golden-status.is-error { color: #ffd0da; }
.golden-panel[hidden],.golden-waiting[hidden],.golden-unlocked[hidden],.golden-received-empty[hidden],.golden-history[hidden] { display: none; }
.golden-waiting { position: relative; overflow: hidden; padding: clamp(24px,6vw,42px); border: 1px solid rgba(255,215,106,.43); border-radius: 27px; background: radial-gradient(ellipse at 50% 0%,rgba(255,206,91,.21),transparent 60%),linear-gradient(145deg,#19101f,#100b18 80%); box-shadow: 0 0 0 1px rgba(255,215,106,.08),0 20px 55px rgba(0,0,0,.32),0 0 46px rgba(255,202,76,.12); text-align: center; }
.golden-waiting::before { position: absolute; inset: 10px; border: 1px solid rgba(255,215,106,.11); border-radius: 20px; content: ""; pointer-events: none; }
.gold-heart-mark { display: inline-grid; width: 56px; height: 56px; place-items: center; border: 1px solid rgba(255,215,106,.36); border-radius: 18px; background: rgba(255,215,106,.12); font-size: 1.8rem; box-shadow: 0 0 25px rgba(255,215,106,.13); }
.golden-waiting .golden-eyebrow { margin-top: 20px; }
.golden-waiting h2,.section-intro h2 { margin: 0; font-size: clamp(1.55rem,6vw,2.15rem); letter-spacing: -.04em; line-height: 1.1; }
.waiting-subtitle { max-width: 35ch; margin: 11px auto 0; color: rgba(255,255,255,.72); line-height: 1.45; }
.golden-countdown { display: flex; align-items: center; justify-content: center; gap: clamp(6px,3vw,17px); margin: 27px 0 22px; }
.golden-countdown div { min-width: clamp(54px,16vw,83px); display: grid; gap: 4px; padding: 12px 7px; border: 1px solid rgba(255,215,106,.23); border-radius: 15px; background: rgba(255,255,255,.045); }
.golden-countdown strong { color: #fff1c8; font-size: clamp(1.5rem,7vw,2.2rem); font-variant-numeric: tabular-nums; line-height: 1; }
.golden-countdown span { color: rgba(255,255,255,.58); font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.golden-countdown > b { color: var(--gold-accent); font-size: 1.2rem; }
.waiting-footnote { margin: 0 auto 22px; color: #ffe9aa; font-size: .88rem; line-height: 1.4; }
.golden-primary { min-height: 50px; padding: 0 18px; border: 0; border-radius: 14px; background: var(--gold-lime); color: #24340e; font: inherit; font-weight: 950; cursor: pointer; box-shadow: 0 8px 24px rgba(183,243,75,.18); transition: transform .16s ease,filter .16s ease; }
.golden-primary:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.04); }
.golden-primary:disabled { opacity: .62; cursor: wait; }
.section-intro { margin: 12px 2px 18px; }
.section-intro p { margin: 8px 0 0; color: rgba(255,255,255,.7); line-height: 1.45; }
.section-intro .golden-eyebrow { display: block; }
.golden-list { display: grid; gap: 12px; }
.golden-person-card,.received-heart-card { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 14px; padding: 17px; border: 1px solid rgba(255,215,106,.22); border-radius: 20px; background: linear-gradient(135deg,rgba(255,255,255,.09),rgba(255,255,255,.045)); box-shadow: 0 12px 30px rgba(8,2,18,.17); }
.golden-avatar { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(255,215,106,.45); border-radius: 17px; background: linear-gradient(145deg,rgba(255,215,106,.22),rgba(255,215,106,.07)); color: #fff1c8; font-size: 1.35rem; font-weight: 950; }
.golden-person-copy { min-width: 0; }
.golden-person-copy h3 { margin: 1px 0 0; font-size: 1.03rem; }
.golden-person-copy > p { margin: 5px 0 0; color: rgba(255,255,255,.72); font-size: .86rem; line-height: 1.35; }
.golden-question-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.golden-question-chip { padding: 5px 9px; border: 1px solid rgba(255,215,106,.2); border-radius: 20px; background: rgba(255,215,106,.1); color: #ffe9aa; font-size: .72rem; font-weight: 800; }
.golden-question-chip[hidden] { display: none; }
.golden-chip-toggle { padding: 4px 3px; border: 0; background: transparent; color: #ffe9aa; font: inherit; font-size: .72rem; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.golden-person-action { grid-column: 1 / -1; justify-self: stretch; min-height: 46px; }
.golden-person-action.is-sent { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: rgba(255,255,255,.63); box-shadow: none; }
.hearted-back-note { grid-column: 1 / -1; margin: -2px 0 0; color: #ffe9aa; font-size: .82rem; }
.golden-empty { margin-top: 12px; padding: 28px 22px; border: 1px solid rgba(255,215,106,.25); border-radius: 23px; background: rgba(12,8,19,.46); text-align: center; }
.golden-empty > span { display: block; margin-bottom: 12px; font-size: 2.4rem; }
.golden-empty h2 { margin: 0; font-size: 1.4rem; }
.golden-empty p { max-width: 38ch; margin: 9px auto 18px; color: rgba(255,255,255,.7); line-height: 1.45; }
.golden-empty .golden-primary { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.poll-wait-message { margin-bottom: 0 !important; color: #ffe9aa !important; font-size: .86rem; }
.received-intro { margin-bottom: 17px; }
.received-heart-card { grid-template-columns: 1fr; }
.received-open-button,.received-opened-content { display: grid; width: 100%; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; }
.received-open-button { cursor: pointer; }
.received-open-button:disabled { opacity: .7; cursor: wait; }
.received-open-button:focus-visible { outline: 2px solid #ffd76a; outline-offset: 4px; border-radius: 10px; }
.received-gold-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,215,106,.16); font-size: 1.55rem; }
.received-copy h3 { margin: 1px 0 4px; font-size: 1rem; }
.received-copy p { margin: 5px 0 0; color: rgba(255,255,255,.72); font-size: .86rem; line-height: 1.4; }
.received-copy .thank-you-message { color: #ffe9aa; font-style: italic; }
.received-copy time { display: block; margin-top: 9px; color: rgba(255,255,255,.52); font-size: .75rem; }
.reaction-button { grid-column: 1 / -1; min-height: 39px; border: 1px solid rgba(255,215,106,.4); border-radius: 12px; background: transparent; color: #ffe9aa; font: inherit; font-size: .83rem; font-weight: 850; cursor: pointer; }
.reaction-button:disabled { border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.56); cursor: default; }
.golden-history { margin-top: 22px; border: 1px solid rgba(255,215,106,.2); border-radius: 17px; background: rgba(255,255,255,.045); }
.golden-history summary { display: flex; justify-content: space-between; padding: 16px; color: #ffe9aa; cursor: pointer; font-weight: 900; list-style: none; }
.golden-history summary::-webkit-details-marker { display: none; }
.golden-history .golden-list { padding: 0 12px 12px; }
.golden-opened-note { margin: 14px 0 0; color: rgba(255,255,255,.68); text-align: center; font-size: .88rem; }
.golden-sent-folder { margin-top: 16px; }
.golden-folder-count { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,233,170,.76); font-size: .78rem; }
.golden-folder-count::after { content: "⌄"; font-size: 1.1rem; transition: transform .18s ease; }
.golden-sent-folder[open] .golden-folder-count::after { transform: rotate(180deg); }
.golden-toast { position: fixed; z-index: 10; left: 50%; bottom: 104px; width: min(90%,480px); transform: translateX(-50%); margin: 0; padding: 13px 16px; border: 1px solid rgba(255,215,106,.35); border-radius: 14px; background: #170f21; color: #fff; text-align: center; box-shadow: 0 12px 34px rgba(0,0,0,.35); }
.golden-dialog { width: min(92vw,460px); max-width: 460px; padding: 0; border: 1px solid rgba(255,215,106,.43); border-radius: 24px; background: transparent; color: #fff; box-shadow: 0 24px 85px rgba(0,0,0,.55); }
.golden-dialog::backdrop { background: rgba(8,4,15,.78); backdrop-filter: blur(4px); }
.golden-boost-sheet { position:fixed; inset:50% auto auto 50%; transform:translate(-50%,-50%); width:min(calc(100% - 28px),520px); max-width:100%; max-height:min(88dvh,760px); margin:0; padding:28px 22px calc(22px + env(safe-area-inset-bottom)); overflow-y:auto; border:1px solid rgba(196,181,253,.28); border-radius:26px; background:#150A2E; color:#fff; box-shadow:0 -18px 60px rgba(0,0,0,.42); }
.golden-boost-sheet::backdrop { background:rgba(8,3,18,.68); backdrop-filter:blur(5px); }
.golden-boost-close { position:absolute; top:12px; right:14px; width:38px; height:38px; border:0; border-radius:50%; background:rgba(255,255,255,.1); color:#fff; font-size:1.4rem; }
.golden-boost-state { display:flex; flex-direction:column; align-items:stretch; gap:12px; text-align:center; }
.golden-boost-state[hidden] { display:none; }
.golden-boost-state h2 { margin:0; color:#fff; font-size:clamp(1.35rem,6vw,1.8rem); line-height:1.12; }
.golden-boost-state p { margin:0; color:#C4B5FD; line-height:1.45; }
.golden-boost-flame { font-size:2.7rem; filter:drop-shadow(0 0 18px rgba(255,120,30,.55)); }
.golden-boost-eyebrow { color:#A3E635!important; font-size:.68rem; font-weight:950; letter-spacing:.15em; }
.golden-boost-preview { display:flex; justify-content:center; align-items:center; gap:10px; color:#FFD700; font-size:2.4rem; font-weight:950; }
.golden-boost-preview span { font-variant-numeric:tabular-nums; }
.golden-boost-cost { padding:12px; border:1px solid rgba(196,181,253,.2); border-radius:14px; background:rgba(255,255,255,.06); color:#fff!important; font-size:.88rem; }
.golden-boost-primary { width:100%; min-height:54px; border:0; border-radius:16px; background:#A3E635; color:#111; font:inherit; font-weight:950; font-size:.98rem; box-shadow:0 0 22px rgba(163,230,53,.2); }
.golden-boost-primary:disabled { opacity:.6; }
.golden-boost-secondary { min-height:42px; border:0; background:transparent; color:#C4B5FD; font:inherit; font-weight:750; }
.golden-boost-progress-copy { display:flex; justify-content:space-between; color:#C4B5FD; font-size:.8rem; font-weight:800; }
#golden-boost-progress { width:100%; height:12px; accent-color:#A3E635; }
.golden-boost-offer { display:flex; flex-direction:column; gap:9px; padding:13px; border:1px solid rgba(163,230,53,.28); border-radius:16px; background:rgba(163,230,53,.07); color:#fff; }
.golden-boost-offer strong { font-size:.78rem; }
.golden-boost-offer small { color:#C4B5FD; line-height:1.35; }
.golden-boost-earn { display:block; padding:11px; border:1px solid rgba(196,181,253,.48); border-radius:14px; color:#fff; font-weight:850; text-decoration:none; }
.golden-boost-success-timer { color:#D9FF91; font-variant-numeric:tabular-nums; }
.golden-dialog-card { padding: 25px; border-radius: inherit; background: linear-gradient(145deg,#251935,#120d1c); }
.golden-dialog-card h2 { margin: 17px 0 9px; font-size: 1.5rem; line-height: 1.15; }
.dialog-message,.dialog-privacy { color: rgba(255,255,255,.76); font-size: .91rem; line-height: 1.5; }
.dialog-privacy { color: #ffe9aa; }
.golden-reveal-disclosure { color: #ffd700; }
.golden-reveal-first { display: block; margin: 7px auto 12px; padding: 8px 12px; border: 1px solid rgba(255,215,106,.45); border-radius: 12px; background: rgba(255,215,106,.1); color: #ffd700; font: inherit; font-size: .85rem; font-weight: 850; cursor: pointer; }
.golden-reveal-first[hidden] { display: none; }
.dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.golden-secondary { min-height: 50px; border: 1px solid rgba(255,255,255,.37); border-radius: 14px; background: transparent; color: #fff; font: inherit; font-weight: 850; cursor: pointer; }
.bottom-nav {
  position: fixed;
  z-index: 15;
  left: 50%;
  bottom: max(10px, env(safe-area-inset-bottom));
  width: min(680px, calc(100% - 28px));
  min-height: 76px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(48,25,85,.08);
  border-radius: 25px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 12px 36px rgba(12,4,28,.28);
  backdrop-filter: blur(14px);
}
.bottom-nav-item {
  min-width: 0;
  min-height: 58px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  padding: 4px 2px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: #756d83;
  font-size: .75rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
}
.bottom-nav-item.active { color: #4c19a5; background: transparent; font-weight: 900; }
.bottom-nav-item.placeholder { opacity: .62; cursor: default; }
.bottom-nav-item:focus-visible { outline: 3px solid var(--gold-lime); outline-offset: 3px; }
.bottom-nav-icon { min-height: 27px; display: grid; place-items: center; font-size: 1.55rem; line-height: 1; }
.polls-nav-icon { letter-spacing: -5px; padding-right: 5px; }
.profile-nav-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.profile-nav-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 760px) { .golden-shell { padding-top: 40px; } .golden-person-card { grid-template-columns: auto minmax(0,1fr) 220px; align-items: center; } .golden-person-action { grid-column: 3; grid-row: 1; } .hearted-back-note { grid-column: 2 / -1; } }
@media (max-width: 460px) { .golden-shell { width: calc(100% - 24px); padding-top: max(20px,env(safe-area-inset-top)); padding-bottom: 160px; } .golden-header { min-height: 82px; } .golden-header h1 { font-size: 2rem; } .golden-kicker { font-size: .57rem; } .golden-waiting { padding: 23px 14px; border-radius: 22px; } .golden-countdown { gap: 4px; } .golden-countdown div { min-width: 54px; padding: 11px 4px; } .golden-person-card,.received-heart-card { padding: 14px; gap: 11px; } .golden-avatar { width: 48px; height: 48px; border-radius: 15px; } .golden-person-action { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .golden-primary { transition: none; } }
.golden-hide-button{justify-self:end;min-width:38px;min-height:36px;border:1px solid #3B2A66;border-radius:11px;background:#150A2E;color:#f5edff;font-size:1.15rem;font-weight:900;cursor:pointer}.golden-hide-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,520px);max-width:none;padding:0;border:1px solid #3B2A66;border-bottom:0;border-radius:24px 24px 0 0;background:#1E1038;color:#fff;box-shadow:0 -20px 70px #0008}.golden-hide-sheet::backdrop{background:#080314aa;backdrop-filter:blur(3px)}.golden-hide-content{display:grid;gap:12px;padding:12px 22px calc(24px + env(safe-area-inset-bottom))}.golden-sheet-handle{justify-self:center;width:42px;height:4px;margin:0 0 6px;border-radius:9px;background:#76658f}.golden-hide-content h2,.golden-hide-content p{margin:0}.golden-hide-content p{color:#d2c6df;font-size:.85rem;line-height:1.45}.golden-hide-content button{min-height:48px;padding:12px;border:1px solid #3B2A66;border-radius:14px;background:#35152e;color:#ff8298;font:inherit;font-weight:850}.golden-hide-content #golden-hide-keep{background:#b9f553;color:#263312}.golden-undo{margin-left:12px;padding:0;border:0;background:transparent;color:#b9f553;font:inherit;font-weight:900;cursor:pointer}.received-heart-card.is-hiding,.golden-person-card.is-hiding{transition:transform .24s ease,opacity .24s ease;transform:translateX(-110%);opacity:0}
.golden-hide-sheet{inset:50% auto auto 50%;width:min(calc(100% - 32px),440px);max-height:82dvh;margin:0;transform:translate(-50%,-50%);border-bottom:1px solid #3B2A66;border-radius:24px;overflow:auto}.golden-hide-content{padding:22px;text-align:center}.golden-sent-hide{grid-column:3;grid-row:2}.golden-sent-folder .golden-person-card{position:relative;padding-right:52px}
@media(max-width:460px){.golden-sent-hide{grid-column:1/-1;grid-row:auto}}
