:root {
  --gold: #D4AF37; --gold-light: #e8c94a; --teal: #2ec4b6; --violet: #b48cff; --sunset: #E05A33;
  --text: #ede8e0; --dim: #a09888; --card: rgba(18, 16, 13, 0.9); --line: rgba(255, 255, 255, 0.09);
  --love: #ff6b8a; --sure: #2ec4b6;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { font-family: 'DM Sans', system-ui, -apple-system, sans-serif; color: var(--text); line-height: 1.5; background: #0a0a0a; -webkit-font-smoothing: antialiased; padding-bottom: env(safe-area-inset-bottom); }
.bg { position: fixed; inset: 0; z-index: -1; background: url('/reel/19.jpeg') 63% top / cover no-repeat; }
.bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.85) 32%, rgba(10,10,10,0.95) 100%); }
a { color: var(--gold); }
button, input, textarea { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Hero */
.hero { max-width: 720px; margin: 0 auto; padding: 64px 20px 28px; text-align: center; }
.kicker { color: var(--gold-light); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.75rem; }
h1 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: 3px; color: var(--gold); font-size: clamp(3.2rem, 13vw, 5.6rem); line-height: 0.95; margin: 10px 0 6px; text-shadow: 0 4px 30px rgba(212,175,55,0.25); }
.hello { font-size: 1.3rem; font-weight: 700; }
.lede { color: rgba(237,232,224,0.82); margin: 10px auto 18px; max-width: 540px; }
.how { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; font-size: 0.9rem; color: var(--dim); }
.how li { display: flex; align-items: center; gap: 6px; }
.k { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 0.8rem; background: rgba(255,255,255,0.08); }
.k.love { color: var(--love); } .k.sure { color: var(--sure); } .k.help { font-size: 0.75rem; }
.who-field { display: grid; gap: 6px; max-width: 360px; margin: 22px auto 0; text-align: left; font-size: 0.9rem; color: var(--gold-light); }
[hidden] { display: none !important; }
.who-field.missing input { border-color: var(--sunset); }

/* Sticky bar */
.bar { position: sticky; top: 0; z-index: 10; background: rgba(10,10,10,0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar-in { max-width: 980px; margin: 0 auto; padding: 10px 16px; display: grid; gap: 8px; }
.progress { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--dim); white-space: nowrap; }
.track { flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,0.08); overflow: hidden; }
.fill { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--love)); transition: width 0.35s ease; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; font-size: 0.78rem; padding: 4px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); color: var(--c); text-decoration: none; }
.chips a b { font-weight: 500; color: var(--dim); margin-left: 4px; }

main { max-width: 980px; margin: 0 auto; padding: 22px 16px 80px; }
h2 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: 2px; font-size: 1.9rem; line-height: 1.1; color: var(--c, var(--gold)); }
.sec-sub { color: var(--dim); font-size: 0.92rem; margin: 2px 0 14px; }

/* Already happening */
.happening { margin-bottom: 30px; --c: #4cd18a; }
.done-list { list-style: none; display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.done-list li { flex: none; width: 220px; scroll-snap-align: start; padding: 12px 14px; border-radius: 12px; background: rgba(76,209,138,0.08); border: 1px solid rgba(76,209,138,0.28); font-size: 0.86rem; }
.done-list b { display: block; color: #fff; margin-bottom: 2px; }
.done-list b::before { content: '✓ '; color: #4cd18a; }
.done-list span { color: rgba(237,232,224,0.75); }

/* Theme sections and cards */
.theme { margin-bottom: 34px; }
.theme-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 2px solid color-mix(in srgb, var(--c) 50%, transparent); padding-bottom: 4px; margin-bottom: 14px; }
.theme-head small { color: var(--dim); font-size: 0.82rem; }
.theme-note { color: var(--dim); font-size: 0.9rem; margin: -6px 0 12px; font-style: italic; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); transition: border-color 0.2s, box-shadow 0.2s, opacity 0.2s, transform 0.2s; }
.card h3 { font-size: 1.02rem; color: #fff; padding-right: 74px; line-height: 1.3; }
.card p { font-size: 0.9rem; color: rgba(237,232,224,0.8); }
.card .from { font-size: 0.78rem; color: var(--c); }
.card .note { font-size: 0.8rem; color: var(--dim); }
.effort { position: absolute; top: 12px; right: 12px; font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); }
.effort.easy { color: #4cd18a; border-color: rgba(76,209,138,0.35); }
.effort.crew { color: var(--gold-light); border-color: rgba(232,201,74,0.35); }
.effort.big { color: #8fb4ff; border-color: rgba(143,180,255,0.35); }
.card[data-v="love"] { border-color: var(--love); box-shadow: 0 0 0 1px var(--love), 0 8px 30px rgba(255,107,138,0.18); }
.card[data-v="sure"] { border-color: color-mix(in srgb, var(--sure) 60%, transparent); }
.card[data-v="skip"] { opacity: 0.5; }
.card[data-v="skip"]:hover, .card[data-v="skip"]:focus-within { opacity: 0.85; }

.acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.seg { display: inline-flex; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--line); overflow: hidden; }
.seg button { border: 0; background: none; cursor: pointer; padding: 7px 11px; font-size: 0.82rem; color: var(--dim); min-height: 36px; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-pressed="true"][data-v="love"] { background: var(--love); color: #1a0a0e; font-weight: 700; }
.seg button[aria-pressed="true"][data-v="sure"] { background: var(--sure); color: #04201d; font-weight: 700; }
.seg button[aria-pressed="true"][data-v="skip"] { background: rgba(255,255,255,0.18); color: #fff; }
.pill-btn { border: 1px solid var(--line); background: rgba(255,255,255,0.05); border-radius: 999px; padding: 7px 11px; font-size: 0.82rem; color: var(--dim); cursor: pointer; min-height: 36px; }
.pill-btn[aria-pressed="true"] { background: var(--gold); color: #1a1405; border-color: var(--gold); font-weight: 700; }
.pill-btn.has { color: var(--gold-light); border-color: rgba(232,201,74,0.4); }
.card textarea { width: 100%; margin-top: 6px; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.025); } 100% { transform: scale(1); } }
.card.pop { animation: pop 0.28s ease; }

/* Panels */
.panel { padding: 20px 18px; margin-bottom: 18px; border-radius: 16px; background: var(--card); border: 1px solid rgba(212,175,55,0.2); }
input, textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.14); background: rgba(0,0,0,0.45); font-size: 16px; }
input:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.18); }
textarea { resize: vertical; }
.slots { list-style: none; display: grid; gap: 8px; margin-bottom: 14px; counter-reset: s; }
.slots li { counter-increment: s; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px; border-radius: 12px; border: 1px dashed rgba(255,255,255,0.18); color: var(--dim); }
.slots li::before { content: counter(s); font-family: 'Bebas Neue', sans-serif; font-size: 1.7rem; color: var(--gold); width: 18px; text-align: center; }
.slots li.on { border-style: solid; border-color: var(--gold); color: #fff; background: rgba(212,175,55,0.08); cursor: pointer; }
.slots li.on::after { content: '×'; margin-left: auto; color: var(--dim); font-size: 1.2rem; }
.pool { display: flex; flex-wrap: wrap; gap: 6px; }
.pool button { border: 1px solid rgba(255,107,138,0.4); background: rgba(255,107,138,0.08); color: #ffd3dc; border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 0.85rem; }
.pool button[disabled] { opacity: 0.35; cursor: default; }
.pool .empty { color: var(--dim); font-size: 0.9rem; }
.mine-row { display: grid; gap: 6px; margin-bottom: 12px; }
.mine-row label.run { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--dim); cursor: pointer; }
.mine-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--gold); }
.ghost { border: 1px solid rgba(212,175,55,0.4); background: none; color: var(--gold-light); border-radius: 999px; padding: 8px 16px; cursor: pointer; text-decoration: none; display: inline-block; }
.extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.extras label { display: grid; gap: 4px; }
.extras label.wide { grid-column: 1 / -1; }
.extras span { font-weight: 700; font-size: 0.92rem; }
.extras small { color: var(--dim); font-size: 0.8rem; }

/* Send */
.send { text-align: center; padding: 26px 0 0; }
.summary { color: var(--dim); margin-bottom: 14px; }
.primary { display: inline-block; border: 0; border-radius: 999px; padding: 15px 34px; font-size: 1.05rem; font-weight: 700; cursor: pointer; text-decoration: none; color: #1a1405; background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 10px 30px rgba(212,175,55,0.25); }
.primary[disabled] { opacity: 0.6; cursor: wait; }
.status { min-height: 1.5em; margin-top: 12px; font-size: 0.92rem; }
.status.err { color: #ff8f7a; }
.fine { color: var(--dim); font-size: 0.8rem; }

/* Thanks */
.thanks { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.thanks[hidden] { display: none; }
.thanks-in { width: min(460px, 100%); max-height: 90vh; overflow: auto; padding: 28px 24px; border-radius: 18px; background: #141210; border: 1px solid rgba(212,175,55,0.35); text-align: center; animation: pop 0.35s ease; }
.thanks-in h2 { font-size: 2.4rem; }
.thanks-in p { color: rgba(237,232,224,0.85); margin: 6px 0 12px; }
.thanks-in ul { list-style: none; display: grid; gap: 6px; margin-bottom: 20px; text-align: left; }
.thanks-in li { padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,0.05); font-size: 0.9rem; }
.thanks-in li b { color: var(--gold); margin-right: 6px; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

@media (max-width: 520px) {
  .hero { padding-top: 44px; }
  .cards { grid-template-columns: 1fr; }
  .seg button { padding: 7px 9px; }
  .acts { gap: 5px; }
  .pill-btn { padding: 7px 10px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
