:root {
  --ink: #171522;
  --muted: #716d7c;
  --paper: #fffdf8;
  --cream: #f5f0e8;
  --line: #ddd6cc;
  --purple: #7655d8;
  --purple-dark: #5134b0;
  --coral: #f06465;
  --green: #21765c;
  --shadow: 0 18px 50px rgba(44, 34, 67, .12);
  font-family: ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: #11101a; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 10% 0%, #ebe1ff 0, transparent 32rem), var(--cream); padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.topbar { height: 76px; padding: 12px clamp(18px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; background: rgba(255,253,248,.86); border-bottom: 1px solid rgba(91,80,111,.12); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 10; }
.brand { display: flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 14px; background: var(--ink); color: white; font-size: 24px; transform: rotate(-4deg); }
.brand b, .brand small { display: block; }.brand b { font-size: 18px; letter-spacing: -.02em; }.brand small { color: var(--muted); font-size: 12px; margin-top: 1px; }
.mode-badge { padding: 7px 11px; border-radius: 999px; color: var(--purple-dark); background: #e9e0ff; font-weight: 750; font-size: 12px; }
main { width: min(900px, 100%); margin: auto; padding: 24px clamp(16px, 4vw, 36px) 50px; }
.switcher { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border: 1px solid var(--line); background: rgba(255,255,255,.55); border-radius: 18px; margin-bottom: 34px; }
.nav-button { min-height: 52px; border: 0; border-radius: 14px; background: transparent; color: var(--muted); font-weight: 750; }.nav-button.active { background: var(--ink); color: white; box-shadow: 0 6px 16px rgba(23,21,34,.18); }
.view { animation: reveal .28s ease; }.view[hidden] { display: none; }@keyframes reveal { from { opacity: 0; transform: translateY(8px); } }
.intro { text-align: center; max-width: 650px; margin: 0 auto 28px; }.intro.compact { margin-bottom: 24px; }.eyebrow { margin: 0 0 8px; text-transform: uppercase; letter-spacing: .14em; color: var(--coral); font-size: 12px; font-weight: 850; }
.party-intro { position: relative; isolation: isolate; padding: 34px 18px 16px; }
.party-confetti { position: absolute; z-index: -1; top: -30px; left: 50%; width: min(1040px, calc(100vw - 18px)); max-width: none; height: 250px; object-fit: cover; transform: translateX(-50%); pointer-events: none; opacity: .9; }
h1, h2, p { margin-top: 0; }h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 8vw, 64px); line-height: .98; letter-spacing: -.045em; margin-bottom: 16px; font-weight: 600; }h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 5vw, 42px); letter-spacing: -.035em; margin-bottom: 16px; }.intro > p:last-child { color: var(--muted); line-height: 1.55; font-size: 17px; }
.wish-card, .confirm-section, .pin-card { background: var(--paper); border: 1px solid rgba(91,80,111,.14); box-shadow: var(--shadow); border-radius: 28px; padding: clamp(18px, 4vw, 30px); }
label { display: block; font-weight: 800; font-size: 14px; margin: 0 0 9px; }label span { color: var(--muted); font-weight: 500; }
.input-row { display: grid; grid-template-columns: 1fr 108px; gap: 10px; }
input { width: 100%; min-height: 62px; border: 2px solid var(--line); background: white; border-radius: 17px; padding: 0 17px; font-size: 18px; color: var(--ink); outline: none; }input:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(118,85,216,.12); }input::placeholder { color: #aaa4b0; }
.mic-button { min-height: 62px; border: 0; border-radius: 17px; background: #ede6ff; color: var(--purple-dark); font-weight: 800; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }.mic-button.recording { background: #ffe0df; color: #a52d35; animation: pulse 1.2s infinite; }@keyframes pulse { 50% { transform: scale(.97); } }.mic-icon { width: 15px; height: 21px; border: 2px solid currentColor; border-radius: 9px; position: relative; }.mic-icon::after { content: ""; position: absolute; width: 21px; height: 12px; border: 2px solid currentColor; border-top: 0; border-radius: 0 0 12px 12px; left: -5px; top: 10px; }.mic-label { font-size: 11px; margin-top: 3px; }
.hint { color: var(--muted); font-size: 13px; margin: 10px 2px 18px; line-height: 1.45; }
.primary-button, .secondary-button { min-height: 56px; border-radius: 16px; font-weight: 850; border: 0; padding: 0 20px; }.primary-button { width: 100%; color: white; background: var(--purple); box-shadow: 0 9px 20px rgba(118,85,216,.24); font-size: 16px; }.primary-button:hover { background: var(--purple-dark); }.secondary-button { border: 1px solid var(--line); background: white; color: var(--ink); }
.message { margin: 18px 0; padding: 15px 17px; border-radius: 15px; background: #fff1d9; color: #704a0b; font-weight: 650; }.message.error { background: #ffe3e2; color: #8c2430; }.message.success { background: #dcf5e9; color: #145e46; }
.results-section { margin-top: 36px; }.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; }.section-heading h2 { margin-bottom: 12px; }.text-button, .back-button { border: 0; background: transparent; color: var(--purple-dark); font-weight: 800; padding: 14px 4px; }
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.track-card { display: grid; grid-template-columns: 84px 1fr; gap: 15px; text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 20px; padding: 12px; min-height: 110px; color: inherit; }.track-card:hover, .track-card:focus-visible { border-color: var(--purple); transform: translateY(-2px); box-shadow: 0 9px 24px rgba(60,45,88,.1); }.track-card:disabled { opacity: .55; transform: none; }.cover { width: 84px; aspect-ratio: 1; border-radius: 13px; object-fit: cover; display: grid; place-items: center; color: white; font-size: 26px; font-weight: 850; background: var(--accent, var(--purple)); }.track-meta { min-width: 0; align-self: center; }.track-meta strong, .track-meta span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.track-meta strong { font-size: 16px; margin-bottom: 5px; }.track-meta span { color: var(--muted); font-size: 14px; }.flag { display: inline-block !important; margin-top: 8px; color: #9b3b42 !important; font-size: 11px !important; font-weight: 800; white-space: normal !important; }
.confirm-section { margin-top: 20px; }.confirm-section > input { margin-bottom: 18px; }.selected-track { margin: 18px 0 24px; }.selected-track .track-card { pointer-events: none; }.back-button { margin: -8px 0 15px; }.success-section { text-align: center; background: var(--paper); border-radius: 28px; padding: 42px 24px; box-shadow: var(--shadow); }.success-section p { color: var(--muted); line-height: 1.55; max-width: 520px; margin-left: auto; margin-right: auto; }.success-icon { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 24px; border-radius: 50%; background: #d9f5e7; color: var(--green); font-size: 34px; font-weight: 900; }
.pin-row { display: grid; grid-template-columns: 1fr 170px; gap: 10px; }.pin-row .primary-button { height: 62px; }.dashboard-bar { display: flex; justify-content: space-between; align-items: center; margin: 22px 0 12px; }.dashboard-bar > div { display: flex; align-items: baseline; gap: 7px; color: var(--muted); }.counter { font-family: Georgia, serif; color: var(--ink); font-size: 38px; }.request-list { display: grid; gap: 11px; }.request-item { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 13px; background: var(--paper); border: 1px solid var(--line); border-radius: 19px; padding: 11px; }.request-item .cover { width: 58px; border-radius: 10px; font-size: 19px; }.request-copy strong, .request-copy span { display: block; }.request-copy span { color: var(--muted); font-size: 13px; margin-top: 3px; }.request-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }.icon-button, .status-button { min-height: 42px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: white; font-weight: 800; }.status-button.approve { background: #dff5e9; color: var(--green); border-color: #b8e5d1; }.status-button.reject, .status-button.delete { color: #a23942; border-color: #e7bfc2; background: #fff6f6; }.status-pill { display: inline-block !important; width: max-content; padding: 4px 8px; border-radius: 999px; background: #eee9f5; font-size: 11px !important; font-weight: 800; color: var(--purple-dark) !important; margin-top: 6px !important; }
footer { max-width: 900px; margin: auto; padding: 22px clamp(20px, 4vw, 36px) 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 15px; }footer a { color: var(--purple-dark); font-weight: 800; }
@media (max-width: 640px) {
  .topbar { height: 68px; }.brand small { font-size: 11px; }main { padding-top: 18px; }.switcher { margin-bottom: 28px; }.intro { text-align: left; }.party-intro { padding: 34px 12px 12px; }.party-confetti { height: 215px; }.intro h1 { font-size: 43px; }.wish-card { border-radius: 23px; }.input-row { grid-template-columns: 1fr 82px; }.mic-label { font-size: 10px; }.results { grid-template-columns: 1fr; }.track-card { min-height: 104px; }.pin-row { grid-template-columns: 1fr; }.request-item { grid-template-columns: 50px 1fr; }.request-item .cover { width: 50px; }.request-actions { grid-column: 1 / -1; justify-content: stretch; }.request-actions > button { flex: 1; }.section-heading { align-items: center; }footer { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
