/* Ruang Kita — instastory theme: soft white cards on a blurred photo,
   black & white with pastel pink / baby blue accents. */
:root {
  --ink: #111111;
  --ink-2: #3a3a40;      /* secondary text, ~10:1 on white */
  --ink-3: #5c5c66;      /* tertiary text, ~6.5:1 on white */
  --paper: #ffffff;
  --paper-a: rgba(255,255,255,.92);
  --soft: #f1f1f3;
  --bubble: #ececee;
  --line: #e6e6ea;
  --pink: #ffdce8;
  --pink-2: #ffb6cd;
  --pink-ink: #a3214f;
  --blue: #dbeeff;
  --blue-2: #a9d3f5;
  --blue-ink: #1a5590;
  --mint: #e2f5e8;
  --mint-ink: #1d6b3a;
  --butter: #fff5d1;
  --danger: #b3261e;
  --radius: 28px;
  --shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 22px 50px -26px rgba(20,20,30,.35);
  --shadow-sm: 0 8px 22px -14px rgba(20,20,30,.35);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Archivo Black", "Inter", sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --mono: "Space Mono", ui-monospace, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: #e9e7ea; font-size: 16px; line-height: 1.55; min-height: 100vh; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
a { color: var(--blue-ink); font-weight: 600; }
:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: 19px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
h3 { font-size: 16px; font-weight: 700; line-height: 1.3; }

/* blurred photo behind everything (like the story references) */
.backdrop { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: radial-gradient(60% 50% at 15% 10%, var(--pink) 0%, transparent 70%), radial-gradient(60% 50% at 90% 30%, var(--blue) 0%, transparent 70%), radial-gradient(70% 60% at 50% 100%, #f3e9f0 0%, transparent 70%), #ecebef; }
.backdrop::before { content: ""; position: absolute; inset: -60px; background: var(--photo, none) center/cover; filter: blur(30px) saturate(1.05) brightness(.95); transform: scale(1.05); }
.backdrop::after { content: ""; position: absolute; inset: 0; background: rgba(245,244,247,.32); }

.boot { min-height: 100vh; display: grid; place-content: center; gap: 12px; justify-items: center; color: var(--ink-2); font-weight: 600; }
.spinner { width: 24px; height: 24px; border-radius: 50%; border: 3px solid var(--pink); border-top-color: var(--ink); animation: spin .8s linear infinite; display: inline-block; }

/* ---------- header (ref 2: "story design by …" bar) ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(0,0,0,.06); }
.topbar-inner { max-width: 1120px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; text-align: left; line-height: 1.2; color: var(--ink); }
.brand-mark { width: 26px; height: 26px; display: grid; place-items: center; }
.brand-mark svg { width: 24px; height: 24px; }
.brand b { font-size: 14px; font-weight: 500; display: block; }
.brand small { font-size: 14px; color: var(--ink); }
.nav { display: none; gap: 2px; }
.nav button { border: 0; background: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); transition: color .2s, background .2s; }
.nav button svg { display: none; }
.nav button:hover { background: var(--soft); }
.nav button.active { color: var(--blue-ink); }
.nav button.active::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--pink-2); margin-left: 2px; }
.who { display: flex; align-items: center; gap: 12px; }
.tagline { display: none; text-align: right; font-size: 13px; line-height: 1.3; color: var(--ink); }
.heart-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); display: grid; place-items: center; transition: transform .2s; }
.heart-btn:hover { transform: scale(1.08) rotate(-8deg); }
.heart-btn:active { transform: scale(.94); }
.heart-btn svg { width: 19px; height: 19px; color: #fff; }

/* mobile bottom tab bar */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(255,255,255,.95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid rgba(0,0,0,.06); display: grid; grid-template-columns: repeat(6, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.tabbar button { border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; font-size: 11.5px; font-weight: 600; border-radius: 14px; color: var(--ink-3); transition: color .2s; position: relative; }
.tabbar button svg { width: 21px; height: 21px; transition: transform .25s; }
.tabbar button.active { color: var(--ink); }
.tabbar button.active svg { transform: translateY(-2px); }
.tabbar button.active::before { content: ""; position: absolute; top: 2px; width: 34px; height: 30px; border-radius: 12px; background: var(--pink); z-index: -1; animation: pop .3s both; }

/* ticker */
.ticker { background: var(--ink); color: #fff; overflow: hidden; white-space: nowrap; font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 0; }
.ticker span { display: inline-block; padding-left: 100%; animation: marquee 28s linear infinite; }

main.page { max-width: 1120px; margin: 0 auto; padding: 22px 16px 110px; display: grid; gap: 20px; }
main.page.enter > * { animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
main.page.enter > *:nth-child(2) { animation-delay: .06s; } main.page.enter > *:nth-child(3) { animation-delay: .12s; }
main.page.enter > *:nth-child(4) { animation-delay: .18s; } main.page.enter > *:nth-child(5) { animation-delay: .24s; }
main.page.enter > *:nth-child(6) { animation-delay: .3s; } main.page.enter > *:nth-child(n+7) { animation-delay: .36s; }

/* page heading (white card like ref 1) */
.page-head { display: grid; gap: 6px; background: var(--paper-a); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); text-align: center; justify-items: center; }
.page-head .kicker { justify-self: center; }
.page-head h1 { font-size: clamp(26px, 6vw, 36px); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.page-head p { color: var(--ink-2); font-size: 15.5px; max-width: 560px; }
.page-head .row { margin-top: 8px; justify-content: center; }
.kicker { justify-self: start; width: fit-content; display: inline-flex; align-items: center; gap: 6px; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--pink-ink); letter-spacing: 0; text-transform: lowercase; }
.kicker.pink, .kicker.blue { color: var(--pink-ink); }
.kicker.blue { color: var(--blue-ink); }
.hand { font-family: var(--hand); font-size: 24px; line-height: 1.3; font-weight: 700; }

/* segmented sub navigation */
.subnav { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 4px; gap: 4px; }
.subnav button { border: 0; background: none; border-radius: 999px; padding: 8px 18px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); transition: background .25s, color .25s, box-shadow .25s; }
.subnav button.on { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }

/* ---------- cards ---------- */
.card { background: var(--paper-a); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; position: relative; min-width: 0; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.card.soft { background: var(--paper-a); }
.card.pink { background: linear-gradient(160deg, #fff 0%, var(--pink) 140%); }
.card.blue { background: linear-gradient(160deg, #fff 0%, var(--blue) 140%); }
.card.mint { background: linear-gradient(160deg, #fff 0%, var(--mint) 140%); }
.card.butter { background: linear-gradient(160deg, #fff 0%, var(--butter) 160%); }
.card.black { background: var(--ink); color: #fff; }
.card.black small { color: #e4e4ea; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head > div:not(.seg):not(.row) { display: grid; gap: 2px; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.tiny { font-size: 13px; color: var(--ink-3); }
.grid-2 { display: grid; gap: 20px; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 20px; grid-template-columns: 1fr; }
.stack { display: grid; gap: 12px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lift { transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.lift:hover { transform: translateY(-4px); box-shadow: 0 28px 60px -28px rgba(20,20,30,.45); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 20px; font-weight: 600; font-size: 15px; background: var(--ink); color: #fff; transition: transform .15s, box-shadow .2s, background .2s; text-decoration: none; line-height: 1.2; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { box-shadow: 0 10px 22px -12px rgba(0,0,0,.6); transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.pink { background: var(--pink); color: var(--ink); }
.btn.blue { background: var(--blue); color: var(--ink); }
.btn.small { padding: 7px 14px; font-size: 14px; }
.btn.danger { background: var(--danger); }
.btn.full { width: 100%; }
.icon-btn { border: 0; background: transparent; width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--ink-2); transition: background .15s; flex: none; }
.icon-btn:hover { background: var(--soft); color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.text-btn { border: 0; background: none; color: var(--ink); font-weight: 600; font-size: 14px; padding: 2px 4px 2px 12px; display: inline-flex; gap: 6px; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.text-btn::after { content: "›"; width: 18px; height: 18px; border-radius: 50%; background: var(--pink-2); color: var(--ink); display: grid; place-items: center; font-size: 14px; line-height: 1; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; background: var(--soft); font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.tag.pink { background: var(--pink); } .tag.blue { background: var(--blue); } .tag.mint { background: var(--mint); color: var(--mint-ink); } .tag.black { background: var(--ink); color: #fff; } .tag.line { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.dot.feli { background: #e0457b; } .dot.hanes { background: #2f7fcf; }

/* avatars */
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--pink) center/cover; display: grid; place-items: center; font-weight: 700; color: var(--ink); flex: none; border: 2.5px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.avatar.hanes { background-color: var(--blue); }
.avatar.sm { width: 34px; height: 34px; font-size: 14px; }

/* bubbles (iMessage grey like ref 1) */
.bubble { background: var(--bubble); border-radius: 20px; padding: 9px 16px; font-size: 15px; width: fit-content; max-width: 100%; overflow-wrap: anywhere; line-height: 1.4; }
.bubble.pink { background: var(--pink); } .bubble.blue { background: var(--blue); }
.bubble.black { background: var(--ink); color: #fff; }
.bubble.outline { background: #fff; box-shadow: 0 4px 14px -6px rgba(0,0,0,.25); font-weight: 600; }

/* ---------- HOME hero (ref 1) ---------- */
.hero { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 18px; overflow: hidden; }
.hero-text { display: grid; gap: 14px; align-content: center; justify-items: center; text-align: center; padding: 12px 6px; }
.hero-text .kicker { justify-self: center; }
.hero-text h1 { font-size: clamp(26px, 6vw, 36px); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; }
.hero-text h1 .hl { color: var(--pink-ink); font-weight: 600; }
.hero-text .row { justify-content: center; }
.counter { display: flex; align-items: baseline; justify-content: center; gap: 8px; flex-wrap: wrap; }
.counter b { font-family: var(--display); font-size: clamp(40px, 9vw, 56px); line-height: .95; }
.counter span { font-weight: 600; font-size: 15px; }
.status-row { width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; text-align: left; padding: 6px 0; }
.status-row .stack { gap: 6px; }
.status-row b { font-size: 14.5px; }

/* photo card (ref 1 big photo) */
.polaroid { margin: 0; position: relative; border-radius: 22px; overflow: hidden; background: #fff; min-height: 340px; display: grid; transition: transform .5s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow-sm); }
.polaroid:hover { transform: scale(1.01); }
.polaroid .shot { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 340px; background: linear-gradient(150deg, var(--pink) 0%, #fff 50%, var(--blue) 100%); }
.polaroid.wide .shot { min-height: 300px; }
.polaroid .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.polaroid:hover .shot img { transform: scale(1.06); }
.polaroid .caption { position: absolute; left: 16px; top: 14px; z-index: 3; font-family: var(--hand); font-size: 24px; font-weight: 700; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.55); line-height: 1; pointer-events: none; }
.polaroid:not(:has(img)) .caption { color: var(--ink); text-shadow: none; }
.tape { display: none; }
.empty-shot { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 20px; }
.empty-shot b { font-size: 16px; }
.empty-shot > span:first-child { font-family: var(--serif); font-style: italic; }
.photo-btn { position: absolute; left: 12px; bottom: 12px; z-index: 3; border: 0; border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 600; background: rgba(255,255,255,.92); color: var(--ink); display: inline-flex; gap: 6px; align-items: center; backdrop-filter: blur(6px); box-shadow: var(--shadow-sm); transition: transform .2s; }
.photo-btn:hover { transform: translateY(-2px); }
.photo-btn svg { width: 15px; height: 15px; }
.name-sticker { position: absolute; z-index: 3; background: rgba(255,255,255,.94); border-radius: 16px; padding: 8px 14px; font-weight: 700; font-size: 14px; line-height: 1.25; box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); animation: float 4s ease-in-out infinite; }
.name-sticker small { display: block; font-weight: 500; font-size: 12.5px; color: var(--ink-2); }
.name-sticker.pink { background: rgba(255,220,232,.96); } .name-sticker.blue { background: rgba(255,255,255,.95); }
.name-sticker.blue::after { content: ""; position: absolute; left: 28%; top: 100%; width: 2px; height: 46px; background: rgba(255,255,255,.95); }
.name-sticker.blue::before { content: ""; position: absolute; left: calc(28% - 4px); top: calc(100% + 44px); width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(0,0,0,.15); }

/* onboarding */
.steps { display: grid; gap: 8px; }
.step { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 18px; background: #fff; box-shadow: 0 2px 8px -4px rgba(0,0,0,.15); transition: background .3s; }
.step .num { width: 30px; height: 30px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.step.done { background: rgba(255,255,255,.6); }
.step.done .num { background: var(--ink); color: #fff; }
.step.done strong { color: var(--ink-3); text-decoration: line-through; }
.step strong { font-weight: 600; }
.meter { height: 8px; border-radius: 999px; background: rgba(0,0,0,.08); overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--pink-2), var(--blue-2)); border-radius: inherit; animation: grow 1.1s cubic-bezier(.2,.8,.2,1) both; }

/* quick actions */
.quick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quick button { text-align: left; border: 0; border-radius: 22px; padding: 14px; display: grid; gap: 4px; background: var(--soft); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.quick button:nth-child(3n+1) { background: var(--pink); } .quick button:nth-child(3n+2) { background: var(--blue); } .quick button:nth-child(3n+3) { background: #f4f3f6; }
.quick button:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(0,0,0,.45); }
.quick button:active { transform: scale(.97); }
.quick .emo { font-size: 28px; line-height: 1; transition: transform .35s cubic-bezier(.2,.8,.2,1.4); display: inline-block; }
.quick button:hover .emo { transform: scale(1.2) rotate(-10deg); }
.quick b { font-size: 15.5px; font-weight: 700; }
.quick small { font-size: 13.5px; color: var(--ink-2); line-height: 1.35; }

/* letter (ref 1 "… sent you wish") */
.sticky { background: var(--paper-a); border-radius: var(--radius); padding: 22px 24px; position: relative; box-shadow: var(--shadow); backdrop-filter: blur(6px); }
.sticky.blue { background: var(--paper-a); }
.sticky .pin { display: none; }
.sticky .letter-body { white-space: pre-wrap; font-size: 15.5px; line-height: 1.7; margin: 12px 0 14px; overflow-wrap: anywhere; }
.sticky .sign { font-family: var(--sans); font-size: 15px; text-align: right; font-weight: 500; }
.sticky .sign::first-line { color: var(--pink-ink); }

/* chat */
.chat { display: grid; grid-template-rows: auto 1fr auto; gap: 12px; min-height: 420px; }
.chat-scroll { overflow-y: auto; max-height: 420px; display: grid; gap: 10px; align-content: end; padding: 4px 2px; }
.msg { display: grid; gap: 3px; justify-items: start; animation: pop .35s cubic-bezier(.2,.8,.2,1.2) both; }
.msg.mine { justify-items: end; }
.msg small { font-size: 12.5px; color: var(--ink-3); font-weight: 500; padding: 0 12px; }
.msg .bubble { position: relative; }
.msg.mine .bubble { background: var(--ink); color: #fff; }
.msg .del { position: absolute; left: -38px; top: 50%; transform: translateY(-50%); opacity: 0; transition: opacity .2s; }
.msg:hover .del, .msg .del:focus { opacity: 1; }
.chat-form { display: flex; gap: 8px; align-items: center; background: var(--soft); border-radius: 999px; padding: 5px 5px 5px 18px; }
.chat-form input { flex: 1; border: 0; background: transparent; outline: none; min-width: 0; padding: 7px 0; font-size: 15.5px; }
.send { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; transition: transform .25s; }
.send:hover { transform: rotate(-15deg) scale(1.06); }
.send svg { width: 18px; height: 18px; }

/* music widget (ref 1 player) */
.music { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.vinyl { width: 62px; height: 62px; border-radius: 50%; background: radial-gradient(circle, var(--pink) 0 17%, #111 18% 30%, #2c2c2c 31% 33%, #111 34% 58%, #2c2c2c 59% 61%, #111 62%); animation: spin 5s linear infinite; }
.music b { font-size: 17px; display: block; line-height: 1.25; letter-spacing: .01em; }
.music small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.eq { display: inline-flex; gap: 3px; align-items: flex-end; height: 16px; margin-top: 6px; }
.eq i { width: 4px; background: var(--pink-2); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .2s; background: var(--blue-2); } .eq i:nth-child(3) { animation-delay: .4s; } .eq i:nth-child(4) { animation-delay: .1s; background: var(--blue-2); }
.play { width: 46px; height: 46px; border-radius: 50%; background: var(--pink-2); color: var(--ink); display: grid; place-items: center; border: 0; text-decoration: none; transition: transform .2s; }
.play:hover { transform: scale(1.1); }
.play svg { width: 18px; height: 18px; }

.quote { text-align: center; padding: 26px 22px 20px; }
.quote p { font-size: 16px; line-height: 1.6; max-width: 640px; margin: 0 auto; }
.dots { display: flex; gap: 7px; justify-content: center; margin-top: 14px; }
.dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; background: #d4d4da; padding: 0; transition: width .3s, background .3s; }
.dots button.on { width: 22px; background: var(--ink-2); }

/* lists */
.list { display: grid; }
.list-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.list-row:first-child { border-top: 0; }
.list-row .ico { width: 42px; height: 42px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; font-size: 20px; }
.list-row strong { display: block; font-size: 15.5px; overflow-wrap: anywhere; line-height: 1.3; font-weight: 600; }
.list-row small { color: var(--ink-3); font-size: 13.5px; }
.list-row p { font-size: 14.5px; color: var(--ink-2); margin-top: 3px; white-space: pre-wrap; overflow-wrap: anywhere; }
.actions { display: flex; gap: 0; }
.empty { text-align: center; padding: 22px 12px; display: grid; gap: 6px; justify-items: center; }
.empty .e-ico { font-size: 34px; animation: float 3s ease-in-out infinite; }
.empty h3 { font-size: 16px; }
.empty p { font-size: 14.5px; color: var(--ink-2); max-width: 360px; }

/* stats & progress */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat-box { border-radius: 20px; padding: 14px 16px; background: var(--soft); display: grid; gap: 2px; }
.stat-box:nth-child(1) { background: var(--mint); } .stat-box:nth-child(2) { background: var(--pink); } .stat-box:nth-child(3) { background: var(--blue); }
.stat-box small { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.stat-box b { font-size: clamp(18px, 4vw, 23px); letter-spacing: -.02em; font-weight: 700; overflow-wrap: anywhere; }
.progress { height: 10px; border-radius: 999px; background: rgba(0,0,0,.08); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pink-2), #e0457b); animation: grow 1.1s cubic-bezier(.2,.8,.2,1) both; }
.progress.blue i { background: linear-gradient(90deg, var(--blue-2), #2f7fcf); }
.progress.over i { background: var(--danger); }
.amount { font-weight: 700; white-space: nowrap; font-size: 15.5px; }
.amount.in { color: var(--mint-ink); } .amount.out { color: var(--pink-ink); }

/* ---------- MOOD (refs 3 & 4) ---------- */
.story-label { justify-self: center; font-family: var(--mono); font-weight: 700; letter-spacing: .55em; text-transform: lowercase; background: rgba(90,90,96,.72); color: #fff; padding: 6px 18px 6px 26px; border-radius: 4px; font-size: 18px; backdrop-filter: blur(6px); box-shadow: var(--shadow-sm); }
.booths { display: grid; gap: 34px; grid-template-columns: 1fr; padding: 6px; }
.booth { background: #f8f8f9; border-radius: 12px; box-shadow: 0 30px 60px -28px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.08); position: relative; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.booth:hover { transform: translateY(-4px); }
.booth-bar { height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid #e2e2e6; font-size: 12.5px; color: var(--ink-2); }
.booth-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.booth-bar i:nth-child(1) { background: #ff5f57; } .booth-bar i:nth-child(2) { background: #febc2e; } .booth-bar i:nth-child(3) { background: #28c840; }
.booth-bar span { flex: 1; text-align: center; margin-right: 50px; }
.booth-photo { margin: 10px; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; position: relative; display: grid; place-items: center; }
.booth.left .booth-photo { background: linear-gradient(150deg, var(--pink), #fff); }
.booth.right .booth-photo { background: linear-gradient(150deg, var(--blue), #fff); }
.booth-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.booth-photo .initial { font-family: var(--serif); font-style: italic; font-size: 96px; color: rgba(17,17,17,.75); }
.booth-photo .handle { position: absolute; left: 12px; bottom: 10px; z-index: 1; font-family: var(--hand); font-weight: 700; font-size: 24px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.booth-photo:not(:has(img)) .handle { color: var(--ink); text-shadow: none; }
.booth.right .booth-photo .handle { left: auto; right: 12px; }
.booth-foot { height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; }
.booth-foot .shutter { width: 38px; height: 38px; border-radius: 50%; background: #e0443e; border: 3px solid #f6d4d2; color: #fff; display: grid; place-items: center; transition: transform .2s; }
.booth-foot .shutter:hover { transform: scale(1.1); }
.booth-foot .shutter svg { width: 16px; height: 16px; }
.booth-foot .fx { font-size: 12px; border: 1px solid #d6d6da; border-radius: 4px; padding: 1px 9px; background: #fff; color: var(--ink-2); }
.booth .bubbles { position: absolute; z-index: 3; display: grid; gap: 6px; top: 24%; max-width: 72%; }
.booth.left .bubbles { right: -10px; justify-items: end; }
.booth.right .bubbles { left: -10px; justify-items: start; }
.booth .bubbles .bubble { animation: pop .5s .3s cubic-bezier(.2,.8,.2,1.3) both; box-shadow: 0 8px 18px -10px rgba(0,0,0,.4); }
.booth .bubbles .bubble:nth-child(2) { animation-delay: .5s; }
.sticker { position: absolute; z-index: 3; font-size: 46px; bottom: 30px; animation: wobble 3s ease-in-out infinite; filter: drop-shadow(0 8px 10px rgba(0,0,0,.3)); }
.booth.left .sticker { right: 12px; } .booth.right .sticker { left: 12px; }

.mood-picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.mood-picker button { border: 0; background: var(--soft); border-radius: 20px; padding: 10px 2px 8px; display: grid; justify-items: center; gap: 2px; transition: transform .25s cubic-bezier(.2,.8,.2,1.4), background .2s, box-shadow .2s; }
.mood-picker button span { font-size: 30px; line-height: 1.1; transition: transform .25s; }
.mood-picker button small { font-size: 13px; font-weight: 600; }
.mood-picker button:hover span { transform: scale(1.18); }
.mood-picker button.on { background: var(--pink); transform: translateY(-4px); box-shadow: 0 0 0 2px var(--ink); }
.mood-picker button.on span { animation: bounce .5s; }

/* notebook (ref 4 bottom) */
.notebook { padding: 0; overflow: hidden; background: #fff; }
.notebook-head { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; padding: 16px; border-bottom: 1.5px solid var(--ink); }
.notebook-head h2 { text-align: center; font-size: 20px; }
.notebook-head .clip { font-size: 26px; transform: rotate(20deg); text-align: center; }
.notebook-page { background-color: #fff; background-image: radial-gradient(#cfcfd4 1px, transparent 1px); background-size: 18px 18px; padding: 14px 22px 24px; }
.notebook-page .page-no { text-align: right; font-size: 14px; }
.note-entry { padding: 10px 0; border-bottom: 1px dashed #d6d6da; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; }
.note-entry .em { font-size: 26px; }
.note-entry small { font-family: var(--sans); font-size: 13px; color: var(--ink-3); }
.chart svg { width: 100%; height: auto; display: block; }
.chart circle { animation: pop .5s cubic-bezier(.2,.8,.2,1.3) both; transform-box: fill-box; transform-origin: center; }
.chart line.trend { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 1.2s ease-out forwards; }
.legend { display: flex; gap: 14px; font-size: 14px; color: var(--ink-2); flex-wrap: wrap; align-items: center; font-weight: 500; }
.seg { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 3px; gap: 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { white-space: nowrap; flex: none; border: 0; background: none; padding: 6px 13px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.15); }

/* ---------- banner (ref 2 big photo card) ---------- */
.banner { border-radius: var(--radius); overflow: hidden; position: relative; min-height: 230px; color: #fff; background: linear-gradient(135deg, #1b1b22 0%, #2b2a36 55%, #3b2c38 100%); box-shadow: var(--shadow); padding: 26px; display: grid; align-content: space-between; gap: 18px; }
.banner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 100% 0%, rgba(255,182,205,.35), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(169,211,245,.3), transparent 70%); pointer-events: none; }
.banner.has-photo { background-size: cover; background-position: center; }
.banner.has-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 65%, rgba(0,0,0,.15) 100%); }
.banner > * { position: relative; z-index: 1; }
.banner h1 { font-family: var(--display); font-size: clamp(32px, 7vw, 54px); line-height: .95; letter-spacing: .01em; text-transform: uppercase; }
.banner .script { font-family: var(--hand); font-size: 30px; font-weight: 700; margin-top: 4px; display: block; }
.banner .datebig { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.3; }
.banner .outline-num { font-family: var(--display); font-size: 44px; color: transparent; -webkit-text-stroke: 1.6px #fff; letter-spacing: .04em; }
.banner > .photo-btn { position: absolute; top: 14px; right: 14px; bottom: auto; left: auto; z-index: 2; }
.banner .btn.ghost { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.banner .btn.pink { background: #fff; color: var(--ink); }
.banner.blue-shadow { }

/* receipt (transactions) */
.receipt { background: #fff; padding: 24px 20px 32px; position: relative; box-shadow: var(--shadow); font-family: var(--mono); border-radius: 18px 18px 0 0; -webkit-mask: radial-gradient(circle at 50% 100%, transparent 6px, #000 6.5px) bottom / 14px 14px repeat-x, linear-gradient(#000, #000) top / 100% calc(100% - 13px) no-repeat; mask: radial-gradient(circle at 50% 100%, transparent 6px, #000 6.5px) bottom / 14px 14px repeat-x, linear-gradient(#000, #000) top / 100% calc(100% - 13px) no-repeat; }
.receipt h2 { font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; text-align: center; font-size: 16px; }
.receipt .meta { text-align: center; font-size: 13px; color: var(--ink-2); margin: 4px 0 14px; }
.receipt .line { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px 0; border-top: 1.5px dashed #bdbdc4; font-size: 14px; align-items: start; }
.receipt .line strong { font-family: var(--sans); font-size: 15px; font-weight: 600; display: block; overflow-wrap: anywhere; }
.receipt .line small { font-size: 12.5px; color: var(--ink-3); }
.receipt .total { border-top: 2px solid var(--ink); padding-top: 10px; display: flex; justify-content: space-between; font-weight: 700; font-size: 15px; }

/* plans (ticket) */
.board { display: grid; grid-template-columns: 1fr; gap: 16px; }
.col { background: rgba(255,255,255,.55); backdrop-filter: blur(8px); border-radius: 26px; padding: 14px; display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow-sm); }
.col-head { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px; font-weight: 700; font-size: 16px; }
.ticket { background: #fff; border-radius: 20px; display: grid; position: relative; box-shadow: var(--shadow-sm); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; animation: rise .45s both; overflow: hidden; }
.ticket:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -22px rgba(0,0,0,.45); }
.ticket .t-top { padding: 14px 14px 12px; display: grid; gap: 6px; border-bottom: 1.5px dashed #c9c9d0; position: relative; }
.ticket h3 { font-size: 16.5px; overflow-wrap: anywhere; }
.ticket p { font-size: 14px; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.ticket .t-bottom { padding: 8px 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.ticket.pink .t-top { background: var(--pink); } .ticket.blue .t-top { background: var(--blue); } .ticket.mint .t-top { background: var(--mint); }

/* wishlist */
.wish-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.wish { background: var(--paper-a); border-radius: var(--radius); padding: 12px 12px 18px; box-shadow: var(--shadow); display: grid; gap: 12px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.wish:hover { transform: translateY(-4px); }
.wish-cover { height: 140px; display: grid; place-items: center; position: relative; border-radius: 20px; }
.wish-cover.feli { background: linear-gradient(150deg, var(--pink), #fff); }
.wish-cover.hanes { background: linear-gradient(150deg, var(--blue), #fff); }
.wish-cover .emo { font-size: 54px; transition: transform .35s cubic-bezier(.2,.8,.2,1.4); filter: drop-shadow(0 8px 10px rgba(0,0,0,.18)); }
.wish:hover .wish-cover .emo { transform: rotate(-12deg) scale(1.12); }
.wish-cover .tag { position: absolute; left: 10px; top: 10px; }
.wish-body { display: grid; gap: 6px; padding: 0 6px; }
.wish-body .kicker { font-size: 17px; }
.wish-body h3 { font-size: 17px; overflow-wrap: anywhere; }
.price-tag { justify-self: start; background: var(--ink); color: #fff; font-weight: 700; padding: 4px 12px; border-radius: 999px; font-size: 14.5px; }
.purchase { border: 1.5px dashed #b8b8c0; background: #fff; border-radius: 16px; padding: 10px; font-size: 14.5px; font-weight: 600; display: flex; gap: 8px; align-items: center; justify-content: center; transition: background .2s; }
.purchase:hover { background: var(--soft); }
.purchase.on { border-style: solid; border-color: var(--mint-ink); background: var(--mint); color: var(--mint-ink); }

/* schedule */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 16px; }
.week button { border: 0; background: var(--soft); border-radius: 16px; padding: 7px 0; display: grid; gap: 0; font-size: 12.5px; font-weight: 500; color: var(--ink-2); transition: transform .2s, background .2s; }
.week button b { font-size: 18px; color: var(--ink); }
.week button:hover { transform: translateY(-2px); }
.week button.on { background: var(--ink); color: #fff; }
.week button.on b { color: #fff; }
.week button.today:not(.on) { background: var(--pink); }
.timeline { position: relative; display: grid; grid-template-columns: 50px 1fr 1fr; }
.timeline .hours div { height: 48px; font-size: 12.5px; color: var(--ink-3); transform: translateY(-9px); }
.track { position: relative; border-left: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 48px; }
.track-head { display: grid; grid-template-columns: 50px 1fr 1fr; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.track-head span { display: flex; align-items: center; gap: 6px; padding-left: 8px; }
.ev { position: absolute; left: 4px; right: 4px; border-radius: 12px; padding: 4px 8px; font-size: 13px; overflow: hidden; text-align: left; border: 0; line-height: 1.25; animation: pop .35s both; }
.ev.feli { background: var(--pink); border-left: 4px solid #e0457b; } .ev.hanes { background: var(--blue); border-left: 4px solid #2f7fcf; } .ev.free { background: var(--mint); border-left-color: var(--mint-ink); }
.ev b { display: block; font-weight: 700; }
.slots { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.slots button { border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; transition: transform .2s, background .2s, color .2s; }
.slots button:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

/* cycle */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal .wd { text-align: center; font-size: 13px; font-weight: 600; color: var(--ink-2); padding-bottom: 4px; }
.cal .d { aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; font-size: 14px; background: var(--soft); }
.cal .d.bleed { background: #e0457b; color: #fff; font-weight: 700; }
.cal .d.pred { background: var(--pink); color: var(--pink-ink); font-weight: 600; }
.cal .d.fert { background: var(--blue); color: var(--blue-ink); }
.cal .d.today { box-shadow: inset 0 0 0 2px var(--ink); font-weight: 700; }
.ring { width: 160px; height: 160px; border-radius: 50%; margin: 8px auto 14px; display: grid; place-items: center; background: conic-gradient(#e0457b var(--p), rgba(0,0,0,.07) 0); }
.ring div { width: 126px; height: 126px; border-radius: 50%; background: #fff; display: grid; place-content: center; text-align: center; }
.ring b { font-size: 21px; font-weight: 700; }
.ring small { font-size: 13.5px; color: var(--ink-2); }
.notice { background: var(--paper-a); border-radius: 20px; padding: 12px 16px; font-size: 14.5px; color: var(--ink); box-shadow: var(--shadow-sm); }

/* forms */
.field { display: grid; gap: 6px; font-size: 14.5px; }
.field > span { font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea, textarea.input, input.input { border: 1.5px solid #d4d4da; background: #fff; border-radius: 14px; padding: 10px 13px; width: 100%; outline: none; font-size: 15.5px; transition: border-color .15s, box-shadow .15s; }
.field textarea, textarea.input { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, textarea.input:focus, input.input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px var(--blue); }
.field small { color: var(--ink-3); font-size: 13px; }
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 600; }
.check input { margin-top: 3px; accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.check small { display: block; color: var(--ink-3); font-size: 13.5px; font-weight: 400; }
hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; width: 100%; }

dialog { border: 0; border-radius: 28px; padding: 24px; width: min(540px, calc(100vw - 24px)); max-height: calc(100vh - 40px); background: #fff; box-shadow: 0 40px 90px -30px rgba(0,0,0,.55); color: var(--ink); }
dialog[open] { animation: dialogIn .35s cubic-bezier(.2,.8,.2,1.1); }
dialog::backdrop { background: rgba(20,20,28,.4); backdrop-filter: blur(6px); }
dialog h2 { font-size: 22px; margin: 6px 0 16px; padding-right: 30px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.dialog-close { position: absolute; right: 12px; top: 12px; }
.form-error { background: #fde8e7; color: #7d1a14; border-radius: 12px; padding: 9px 12px; font-size: 14.5px; font-weight: 600; }

.toast { position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%); z-index: 60; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 500; box-shadow: 0 14px 30px -12px rgba(0,0,0,.6); max-width: calc(100vw - 32px); text-align: center; animation: toastIn .35s cubic-bezier(.2,.8,.2,1.2); }
.alert-bar { background: #fde8e7; color: #7d1a14; border-radius: 20px; padding: 12px 16px; display: flex; gap: 10px; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 600; }
.float-heart { position: fixed; z-index: 70; pointer-events: none; font-size: 24px; animation: floatUp 1.3s ease-out forwards; }

/* ---------- auth ---------- */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 28px 16px 60px; }
.auth-wrap { width: min(1000px, 100%); display: grid; gap: 22px; grid-template-columns: 1fr; align-items: stretch; }
.auth-art { display: grid; gap: 14px; justify-items: center; align-content: center; text-align: center; background: linear-gradient(135deg, #1b1b22 0%, #2b2a36 55%, #3b2c38 100%); color: #fff; border-radius: var(--radius); padding: 34px 22px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.auth-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 60% at 100% 0%, rgba(255,182,205,.4), transparent 70%), radial-gradient(45% 60% at 0% 100%, rgba(169,211,245,.35), transparent 70%); pointer-events: none; }
.auth-art > * { position: relative; z-index: 1; }
.auth-art .kicker { color: var(--pink); justify-self: center; }
.auth-art h1 { font-family: var(--display); font-size: clamp(40px, 8vw, 64px); line-height: .95; text-transform: uppercase; }
.auth-art h1 span { display: inline; }
.auth-art .hand { font-size: 28px; }
.auth-stickers { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.auth-stickers .tag { background: rgba(255,255,255,.14); color: #fff; box-shadow: none; }
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-pick button { border: 0; border-radius: 22px; background: var(--soft); padding: 14px 8px; display: grid; justify-items: center; gap: 4px; font-weight: 700; font-size: 16px; transition: transform .25s cubic-bezier(.2,.8,.2,1.4), background .2s, box-shadow .2s; }
.role-pick button span { font-size: 32px; transition: transform .3s; }
.role-pick button:hover span { transform: scale(1.15) rotate(-8deg); }
.role-pick button.on { box-shadow: 0 0 0 2px var(--ink); transform: translateY(-2px); }
.role-pick button.on.feli { background: var(--pink); }
.role-pick button.on.hanes { background: var(--blue); }

/* ---------- animations ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes grow { from { width: 0; } }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes wobble { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(8deg) scale(1.05); } }
@keyframes bounce { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 70% { transform: scale(.92); } 100% { transform: scale(1); } }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 16px); } }
@keyframes floatUp { 0% { opacity: 1; transform: translate(0, 0) scale(.6); } 100% { opacity: 0; transform: translate(var(--dx), -140px) scale(1.3) rotate(var(--r)); } }

/* ---------- responsive ---------- */
@media (min-width: 720px) {
  .hero { grid-template-columns: minmax(280px, .85fr) 1.15fr; padding: 22px; }
  .polaroid, .polaroid .shot { min-height: 460px; }
  .polaroid.wide, .polaroid.wide .shot { min-height: 380px; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-2.wide-left { grid-template-columns: 1.15fr .85fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .quick { grid-template-columns: repeat(3, 1fr); }
  .booths { grid-template-columns: 1fr 1fr; gap: 44px; padding: 6px 22px; }
  .board { grid-template-columns: repeat(3, 1fr); }
  .wish-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .auth-wrap { grid-template-columns: 1fr 1fr; }
  .card { padding: 26px; }
  .tagline { display: block; }
}
@media (min-width: 960px) {
  .nav { display: flex; }
  .tabbar { display: none; }
  main.page { padding-bottom: 60px; }
  .toast { bottom: 30px; }
  .wish-grid { grid-template-columns: repeat(3, 1fr); }
  .quick { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 960px) and (max-width: 1100px) { .tagline { display: none; } }
@media (max-width: 420px) {
  .form-row { grid-template-columns: 1fr; }
  .mood-picker button span { font-size: 25px; }
  .mood-picker button small { font-size: 11.5px; }
  .story-label { font-size: 15px; letter-spacing: .4em; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
