@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito-400.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito-500.ttf") format("truetype"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito-600.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito-700.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito-800.ttf") format("truetype"); font-style: normal; font-weight: 800; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("/assets/fonts/rubik-500.ttf") format("truetype"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("/assets/fonts/rubik-600.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("/assets/fonts/rubik-700.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  font-family: "Nunito", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --color-bg: #f4eee9;
  --color-surface: #fff8ef;
  --color-panel: #ffffff;
  --color-panel-soft: rgba(255, 255, 255, .72);
  --color-ink: #291a3d;
  --color-muted: #77646f;
  --color-line: rgba(75, 48, 83, .13);
  --color-brand: #5c3c8e;
  --color-brand-strong: #3c245f;
  --color-brand-warm: #8b5eb3;
  --color-brand-soft: rgba(92, 60, 142, .11);
  --color-brand-line: rgba(92, 60, 142, .22);
  --color-brand-line-strong: rgba(92, 60, 142, .42);
  --color-brand-focus: rgba(92, 60, 142, .52);
  --color-brand-dot: rgba(92, 60, 142, .26);
  --color-success: #c76584;
  --color-success-soft: rgba(199, 101, 132, .13);
  --color-warning: #d29a3d;
  --color-dark: #221734;
  --color-dark-soft: rgba(34, 23, 52, .22);
  --color-white: #ffffff;
  --color-shell-from: rgba(255, 248, 239, .92);
  --color-shell-to: rgba(244, 238, 233, 0);
  --color-surface-depth: #f1e4de;
  --color-card-depth: #f3e4df;
  --color-panel-raised: rgba(255, 255, 255, .86);
  --color-panel-floating: rgba(255, 255, 255, .9);
  --color-step-idle: rgba(255, 255, 255, .7);
  --color-price-muted: rgba(255, 255, 255, .72);
  --gradient-brand: linear-gradient(135deg, var(--color-brand), var(--color-brand-warm));
  --gradient-shell: linear-gradient(180deg, var(--color-shell-from), var(--color-shell-to));
  --gradient-surface: radial-gradient(circle at 20% 0%, var(--color-white) 0%, var(--color-surface) 44%, var(--color-surface-depth) 100%);
  --gradient-card: radial-gradient(circle at 18% 0%, var(--color-white) 0%, var(--color-surface) 60%, var(--color-card-depth) 100%);
  --shadow-sm: 0 10px 22px rgba(32, 36, 39, .1);
  --shadow-md: 0 14px 28px rgba(215, 66, 98, .16);
  --shadow-md-hover: 0 18px 34px rgba(215, 66, 98, .22);
  --shadow-lg: 0 18px 46px rgba(32, 36, 39, .1);
  --shadow-tab: 0 12px 26px rgba(32, 36, 39, .08);
  --shadow-device: 0 22px 52px rgba(31, 37, 41, .22);
  --shadow-preview: 0 14px 34px rgba(32, 36, 39, .09);
  --shadow-invite: 0 12px 30px rgba(32, 36, 39, .08);
  --shadow-focus: 0 0 0 4px var(--color-brand-soft);
  --shadow-heart: drop-shadow(0 10px 18px rgba(215, 66, 98, .32));
  --control-bg: var(--color-surface);
  --control-bg-soft: #f8ece8;
  --control-border: var(--color-line);
  --control-border-soft: #decbd1;
  --control-ink: var(--color-ink);
  --control-muted: #8a7485;
  --control-radius: var(--radius-md);
  --control-radius-compact: 10px;
  --control-focus-border: var(--color-brand-focus);
  --control-focus-shadow: var(--shadow-focus);
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 16px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-2xl: 30px;
  --radius-device: 32px;
  --radius-pill: 999px;
  --space-1: 5px;
  --space-2: 8px;
  --space-3: 10px;
  --space-4: 12px;
  --space-5: 14px;
  --space-6: 16px;
  --space-7: 18px;
  --space-8: 20px;
  --space-9: 22px;
  --space-10: 28px;
  --transition-fast: .14s ease;
  --transition-base: .18s ease;
  --bg: var(--color-bg);
  --paper: var(--color-surface);
  --panel: var(--color-panel);
  --ink: var(--color-ink);
  --muted: var(--color-muted);
  --line: var(--color-line);
  --accent: var(--color-brand);
  --accent-2: var(--color-success);
  --accent-3: var(--color-warning);
  --soft: var(--color-brand-soft);
  --shadow: var(--shadow-lg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.icon { display: inline-block; flex: 0 0 auto; color: inherit; stroke: currentColor; }
.boot-loader { min-height: 100vh; display: grid; place-items: center; background: var(--bg); }
.boot-loader::before { content: ""; width: 42px; height: 42px; border-radius: var(--radius-pill); border: 4px solid var(--color-brand-soft); border-top-color: var(--color-brand); animation: spin .8s linear infinite; }

.app { min-height: 100vh; display: flex; justify-content: center; }
.shell { width: 100%; max-width: 520px; min-height: 100vh; display: flex; flex-direction: column; background: var(--gradient-shell); }
.shell.home-shell { max-width: 520px; }
.invite-shell { max-width: 560px; background: transparent; }
.invite-shell .page { min-height: 100vh; display: grid; align-items: center; padding-top: var(--space-7); padding-bottom: var(--space-7); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-7) var(--space-7) var(--space-2); }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); font-weight: 900; }
.brand-mark, .screen-icon { display: inline-grid; place-items: center; color: var(--color-white); background: var(--color-brand); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.brand-mark { width: 38px; height: 38px; padding: 1px; background: transparent; box-shadow: none; overflow: hidden; }
.brand-icon { width: 34px; height: 34px; object-fit: contain; display: block; }
.screen-icon { width: 44px; height: 44px; }
.screen-icon.big { width: 78px; height: 78px; border-radius: var(--radius-2xl); }
.nav { display: flex; gap: var(--space-3); font-size: 13px; font-weight: 800; color: var(--color-muted); }
.nav a:hover, .footer a:hover { color: var(--accent); }
.page { flex: 1; padding: var(--space-5) var(--space-7) var(--space-10); }

.hero, .stack, .form, .section, .create-workspace, .create-form-column, .create-preview-column { display: grid; gap: var(--space-6); }
.intro { display: grid; gap: var(--space-6); padding-top: var(--space-3); }
.hero-intro { position: relative; width: 100%; min-height: 650px; display: flex; align-items: flex-end; margin: 0; padding: 0; border: 0; border-radius: 24px; background: #302752; box-shadow: 0 12px 30px rgba(43,29,76,.12); overflow: hidden; isolation: isolate; }
.hero-intro::before { content: ""; position: absolute; z-index: 1; inset: 0; border-radius: inherit; box-shadow: inset 0 0 20px rgba(255,248,238,.28); pointer-events: none; }
.hero-intro::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 112px; background: linear-gradient(180deg, transparent 0%, rgba(255,248,238,.1) 36%, rgba(255,248,238,.72) 78%, #fff8ee 100%); pointer-events: none; }
.hero-intro-art { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; animation: homeHeroBreathe 7s ease-in-out infinite; }
.hero-intro-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(22,16,50,.8) 0%, rgba(22,16,50,.58) 42%, rgba(22,16,50,.18) 76%, rgba(22,16,50,.08) 100%), linear-gradient(180deg, rgba(22,16,50,.08) 0%, rgba(22,16,50,.12) 40%, rgba(22,16,50,.62) 100%); }
.hero-intro .floating-hearts { z-index: -1; }
.hero-intro-copy { position: relative; z-index: 2; width: min(calc(100% - 56px), 1144px); display: grid; gap: 17px; margin: 0 auto; padding: 48px 48px 94px; color: #fff8ee; text-align: left; }
.hero-intro .eyebrow { color: #ffe2ec; background: transparent; border: 0; border-radius: 0; padding: 0; letter-spacing: 0; }
.hero-intro h1 { max-width: 720px; color: #fff; font-size: 54px; line-height: 1.02; text-wrap: balance; text-shadow: 0 3px 20px rgba(20,15,45,.42); }
.hero-intro .lead { max-width: 620px; color: rgba(255,248,238,.88); font-size: 18px; line-height: 1.45; }
.hero-intro .actions { width: min(100%, 610px); grid-template-columns: 1fr 1fr; margin-top: 5px; }
.hero-intro .button { min-height: 56px; }
.hero-intro .button.ghost { color: #fff8ee; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.38); backdrop-filter: blur(8px); }
.home-shell .section .phone { width: 100%; max-width: 520px; margin: 0 auto; }
.preview-only-page { width: 100%; }
.preview-only-section { padding-top: 6px; }
.preview-only-section .section-head { justify-items: center; text-align: center; }
.preview-only-section .section-head h1 { font-size: 27px; }
.preview-back { width: fit-content; display: inline-flex; align-items: center; gap: 7px; border: 0; padding: 8px 0; background: transparent; color: var(--color-brand-strong); font-size: 13px; font-weight: 900; cursor: pointer; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; width: fit-content; color: var(--color-brand); background: var(--color-brand-soft); border: 1px solid var(--color-brand-line); border-radius: var(--radius-pill); padding: 7px 11px; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 31px; line-height: 1.08; font-weight: 950; letter-spacing: 0; }
h2 { font-size: 21px; line-height: 1.18; font-weight: 920; }
h3 { font-size: 15px; line-height: 1.25; font-weight: 900; }
p { color: var(--muted); font-size: 15px; line-height: 1.52; }
.lead { font-size: 16px; }
.small { font-size: 13px; }
.center { text-align: center; }
.actions { display: grid; gap: var(--space-3); }

.button { min-width: 0; min-height: 50px; border: 0; border-radius: var(--radius-lg); padding: 0 var(--space-7); display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); color: var(--color-white); background: var(--gradient-brand); font-weight: 900; line-height: 1.12; text-align: center; cursor: pointer; box-shadow: var(--shadow-md); transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast); }
.button:hover { transform: translateY(-1px); box-shadow: var(--shadow-md-hover); }
.button.ghost { background: var(--color-panel-soft); color: var(--color-brand-strong); border: 1px solid var(--color-brand-line); box-shadow: none; }
.button .icon { color: inherit; stroke: currentColor; }
.button span { min-width: 0; }
.button.full { width: 100%; }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.cta-glow { position: relative; overflow: hidden; }
.cta-glow::after { content: ""; position: absolute; inset: -40% auto -40% -30%; width: 36%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.58), transparent); transform: rotate(18deg); animation: shine 2.8s ease-in-out infinite; }

.panel, .feature, .price-card, .legal-block { background: var(--color-panel-raised); border: 1px solid var(--color-line); border-radius: var(--radius-xl); padding: var(--space-7); box-shadow: var(--shadow-lg); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.feature { display: grid; gap: 9px; align-content: start; min-height: 162px; }
.section-head { display: grid; gap: 5px; }

.phone { background: #fff8ef; border-radius: 34px; border: 1px solid rgba(75, 48, 83, .14); overflow: hidden; box-shadow: 0 22px 54px rgba(73, 45, 86, .18); }
.phone-screen { position: relative; min-height: 760px; overflow: hidden; background: #fff8ee; padding: 0; display: grid; align-content: stretch; text-align: center; }
.phone-screen .story-screen { width: 100%; min-height: 760px; height: 760px; border: 0; border-radius: 0; box-shadow: none; margin: 0; }
.demo-stage { position: relative; min-height: 382px; display: grid; align-content: center; justify-items: center; gap: var(--space-5); animation: stageEnter .34s cubic-bezier(.2,.8,.2,1); }
.demo-stage > :not(.floating-hearts):not(.particle-burst):not(.kiss-burst):not(.wow-backdrop) { position: relative; z-index: 2; }
.cover-stage { align-content: center; }
.demo-no { position: absolute; min-width: 132px; z-index: 5; transform: translate(-50%, -50%); transition: left .32s cubic-bezier(.2,.9,.2,1), top .32s cubic-bezier(.2,.9,.2,1), opacity .18s ease, transform .18s ease; }
.phone-screen .demo-no { min-width: 138px; animation: refuseWiggle .72s ease-in-out infinite; }
.heart-button { width: 142px; height: 112px; border: 0; color: var(--color-white); font-size: 18px; font-weight: 950; cursor: pointer; background: var(--gradient-brand); clip-path: path("M 71 108 C 31 88 0 66 0 39 C 0 17 18 5 38 5 C 53 5 63 14 71 28 C 79 14 89 5 104 5 C 124 5 142 17 142 39 C 142 66 111 88 71 108 Z"); filter: var(--shadow-heart); padding-bottom: var(--space-8); animation: pulse 1.25s ease-in-out infinite; }
.heart-button.large { width: 158px; height: 126px; }
.heart-button.yes-growing { --yes-scale: 1; animation: yesBeat 1.18s ease-in-out infinite; }
.heart-button:hover { animation-duration: .62s; filter: drop-shadow(0 14px 24px rgba(215, 66, 98, .42)); }
.refuse-button { min-height: 46px; border: 2px solid var(--color-brand); border-radius: var(--radius-lg); padding: 0 var(--space-7); background: var(--color-white); color: var(--color-brand-strong); font-weight: 950; cursor: pointer; box-shadow: 0 12px 24px rgba(168, 40, 69, .18); white-space: nowrap; }
.refuse-button:hover, .refuse-button:focus-visible { background: #fff6f7; outline: none; box-shadow: 0 0 0 4px var(--color-brand-soft), 0 16px 30px rgba(168, 40, 69, .22); }
.no-mood-2 { opacity: .9; transform: translate(-50%, -50%) rotate(-3deg) scale(.94); }
.no-mood-3 { opacity: .78; transform: translate(-50%, -50%) rotate(4deg) scale(.88); }
.no-mood-4 { opacity: .64; transform: translate(-50%, -50%) rotate(-6deg) scale(.8); }
.runaway-pack { width: 260px; height: 92px; transform: translate(-50%, -50%); transition: left .18s ease, top .18s ease; z-index: 9; pointer-events: none; }
.runaway-pack.demo { position: absolute; }
.runaway-pack.fixed { position: fixed; z-index: 1001; }
.runaway-pack.chasing { animation: packEscape .98s cubic-bezier(.1,.85,.15,1) forwards; }
.runaway-pack .carried-no { position: absolute; left: 96px; top: 30px; width: 158px; min-width: 0; min-height: 48px; padding: 6px 12px; white-space: normal; line-height: 1.05; pointer-events: auto; animation: carriedIdle 1.4s ease-in-out infinite; }
.runaway-pack.chasing .carried-no { animation: carriedButton .98s ease-in-out forwards; }
.runaway-bubble { position: absolute; left: 4px; top: -15px; min-height: 24px; display: inline-flex; align-items: center; border-radius: var(--radius-pill); padding: 0 10px; background: var(--color-white); color: var(--color-brand-strong); border: 1px solid var(--color-brand-line); font-size: 11px; font-weight: 950; box-shadow: var(--shadow-sm); white-space: nowrap; animation: bubblePop .9s ease-in-out infinite; }
.runner-character { position: absolute; left: 10px; top: 2px; z-index: 3; width: 84px; height: 84px; border-radius: 18px; overflow: hidden; transform: rotate(-4deg); box-shadow: 0 9px 18px rgba(75,48,83,.16); }
.runner-character img { width: 100%; height: 100%; display: block; object-fit: cover; }
.runaway-pack.chasing .runner-character { animation: runnerGrab .98s ease-in-out forwards; }
.runner-line { position: absolute; left: 75px; top: 48px; width: 46px; height: 4px; border-radius: var(--radius-pill); background: repeating-linear-gradient(90deg, rgba(168,40,69,.58) 0 8px, transparent 8px 13px); transform-origin: left center; opacity: 0; }
.runaway-pack.chasing .runner-line { animation: ropeTense .98s ease-in-out forwards; }
.runner-shadow { position: absolute; left: 24px; top: 75px; width: 58px; height: 9px; border-radius: 50%; background: rgba(32,36,39,.12); opacity: 0; }
.runaway-pack.chasing .runner-shadow { animation: runnerShadow .98s ease-in-out forwards; }
.runaway-pack.variant-bunny .runner-character { animation-name: bunnyGrab; }
.runaway-pack.drag-1 { transform: translate(-50%, -50%) rotate(-3deg); }
.runaway-pack.drag-2 { transform: translate(-50%, -50%) rotate(4deg); }
.runaway-pack.drag-3 { transform: translate(-50%, -50%) rotate(-6deg); }
.runaway-pack.drag-4 { transform: translate(-50%, -50%) rotate(5deg); }
.runaway-pack.drag-5 { transform: translate(-50%, -50%) rotate(-2deg); }
.duel-angel, .duel-demon { position: absolute; top: 4px; z-index: 4; }
.duel-angel { left: 18px; transform: translateX(-80px); }
.runaway-pack.chasing .duel-angel { animation: angelWin .98s ease-in-out forwards; }
.duel-demon { left: 170px; transform: translateX(70px); opacity: .82; }
.runaway-pack.chasing .duel-demon { animation: demonLose .98s ease-in-out forwards; }
.duel-line { position: absolute; top: 48px; height: 4px; border-radius: var(--radius-pill); background: rgba(168,40,69,.52); }
.duel-line.left { left: 54px; width: 78px; opacity: 0; }
.duel-line.right { left: 145px; width: 34px; opacity: 0; }
.runaway-pack.chasing .duel-line.left { animation: ropeTense .98s ease-in-out forwards; }
.runaway-pack.chasing .duel-line.right { animation: demonRope .98s ease-in-out forwards; }
.runaway-pack.variant-duel .carried-no { left: 96px; }
.runaway-pack.variant-duel.chasing .carried-no { animation: angelButton .98s ease-in-out forwards; }
.stage-mascot { justify-self: center; display: inline-grid; grid-template-columns: 48px 1fr; align-items: center; gap: var(--space-3); max-width: 100%; padding: var(--space-3) var(--space-4); border-radius: var(--radius-xl); background: rgba(255,255,255,.82); border: 1px solid var(--color-brand-line); box-shadow: var(--shadow-sm); color: var(--color-brand-strong); animation: mascotEnter .36s ease-out both; }
.stage-mascot .mini-mascot { animation: mascotBob 1.1s ease-in-out infinite; transform-origin: 50% 80%; }
.stage-mascot b { color: var(--color-ink); font-size: 13px; line-height: 1.25; text-align: left; }

.lottie-mascot { position: relative; display: inline-block; width: 86px; height: 86px; overflow: visible; filter: drop-shadow(0 10px 13px rgba(32,36,39,.18)); }
.lottie-canvas { position: absolute; inset: 0; display: block; }
.lottie-canvas svg { width: 100% !important; height: 100% !important; overflow: visible !important; }
.lottie-fallback { position: absolute; left: 17px; top: 10px; transform: scale(.92); }
.runner-character.lottie-mascot { width: 96px; height: 96px; }
.duel-angel.lottie-mascot, .duel-demon.lottie-mascot { width: 80px; height: 80px; }
.mini-mascot.lottie-mascot { width: 48px; height: 48px; }

.mascot-body { --fur: #b77745; --fur-dark: #8d552f; --belly: #ffd7aa; --face: #ffe3be; position: relative; display: inline-block; width: 52px; height: 64px; filter: drop-shadow(0 10px 13px rgba(32,36,39,.18)); }
.mascot-body.bunny { --fur: #ffffff; --fur-dark: #d9e4ea; --belly: #ffdce8; --face: #ffffff; }
.mascot-body.angel { --fur: #fff8e8; --fur-dark: #e7c874; --belly: #ffffff; --face: #fff4dd; }
.mascot-body.demon { --fur: #cf4d62; --fur-dark: #8d2133; --belly: #ffd3dc; --face: #ffd7de; }
.mascot-head, .mascot-torso, .mascot-arm, .mascot-leg, .mascot-ear, .mascot-wing, .mascot-halo, .mascot-horn { position: absolute; display: block; }
.mascot-head { left: 11px; top: 4px; width: 31px; height: 30px; border-radius: 50%; background: var(--fur); border: 2px solid var(--fur-dark); z-index: 4; }
.mascot-head::before, .mascot-head::after { content: ""; position: absolute; top: 10px; width: 4px; height: 4px; border-radius: 50%; background: #2b2521; }
.mascot-head::before { left: 8px; }
.mascot-head::after { right: 8px; }
.mascot-head em { position: absolute; left: 9px; top: 15px; width: 11px; height: 8px; border-radius: 50%; background: var(--face); border: 1px solid rgba(80,45,30,.28); }
.mascot-head em::before { content: ""; position: absolute; left: 4px; top: 1px; width: 3px; height: 3px; border-radius: 50%; background: #3a2922; }
.mascot-torso { left: 12px; top: 29px; width: 30px; height: 26px; border-radius: 44% 44% 48% 48%; background: var(--fur); border: 2px solid var(--fur-dark); z-index: 2; }
.mascot-torso::after { content: ""; position: absolute; left: 7px; top: 6px; width: 12px; height: 13px; border-radius: 50%; background: var(--belly); opacity: .9; }
.mascot-ear { top: 0; width: 12px; height: 16px; border-radius: 50% 50% 44% 44%; background: var(--fur); border: 2px solid var(--fur-dark); z-index: 1; }
.mascot-ear.left { left: 8px; transform: rotate(-24deg); }
.mascot-ear.right { right: 8px; transform: rotate(24deg); }
.mascot-body.bunny .mascot-ear { top: -13px; height: 30px; border-radius: 50% 50% 42% 42%; }
.mascot-body.bunny .mascot-ear.left { left: 9px; transform: rotate(-12deg); }
.mascot-body.bunny .mascot-ear.right { right: 9px; transform: rotate(12deg); }
.mascot-arm { top: 34px; width: 12px; height: 23px; border-radius: var(--radius-pill); background: var(--fur); border: 2px solid var(--fur-dark); z-index: 3; transform-origin: 50% 4px; }
.mascot-arm.left { left: 4px; transform: rotate(42deg); }
.mascot-arm.right { right: 4px; transform: rotate(-48deg); }
.mascot-leg { top: 51px; width: 13px; height: 17px; border-radius: var(--radius-pill); background: var(--fur); border: 2px solid var(--fur-dark); z-index: 1; transform-origin: 50% 2px; }
.mascot-leg.left { left: 14px; transform: rotate(18deg); }
.mascot-leg.right { right: 14px; transform: rotate(-18deg); }
.mascot-wing { display: none; top: 26px; width: 18px; height: 24px; border-radius: 70% 20% 70% 20%; background: #ffffff; border: 2px solid #d7c8ff; z-index: 1; }
.mascot-wing.left { left: -4px; transform: rotate(-28deg); }
.mascot-wing.right { right: -4px; transform: scaleX(-1) rotate(-28deg); }
.mascot-halo { display: none; left: 13px; top: -9px; width: 26px; height: 9px; border-radius: 50%; border: 3px solid #f0c94a; z-index: 6; }
.mascot-horn { display: none; top: -3px; width: 10px; height: 14px; background: #5f1830; clip-path: polygon(50% 0, 100% 100%, 0 100%); z-index: 6; }
.mascot-horn.left { left: 12px; transform: rotate(-18deg); }
.mascot-horn.right { right: 12px; transform: rotate(18deg); }
.mascot-body.angel .mascot-wing, .mascot-body.angel .mascot-halo { display: block; }
.mascot-body.demon .mascot-horn { display: block; }
.runaway-pack.chasing .mascot-arm.left, .runaway-pack.chasing .mascot-arm.right { animation: armRun .28s ease-in-out infinite; }
.runaway-pack.chasing .mascot-leg.left { animation: legRunA .24s ease-in-out infinite; }
.runaway-pack.chasing .mascot-leg.right { animation: legRunB .24s ease-in-out infinite; }
.runaway-pack.chasing .mascot-torso { animation: bodySquash .24s ease-in-out infinite; }
.runaway-pack.chasing .mascot-body.angel .mascot-wing.left { animation: wingFlapLeft .24s ease-in-out infinite; }
.runaway-pack.chasing .mascot-body.angel .mascot-wing.right { animation: wingFlapRight .24s ease-in-out infinite; }
.envelope-card { position: relative; width: min(100%, 250px); min-height: 176px; border: 2px solid var(--color-brand-line-strong); border-radius: var(--radius-2xl); background: linear-gradient(180deg, #fff, #fff5f6); color: var(--color-brand-strong); display: grid; place-items: center; align-content: center; gap: var(--space-4); padding: var(--space-8); cursor: pointer; box-shadow: 0 18px 38px rgba(215, 66, 98, .18); overflow: hidden; animation: floatMail 2.4s ease-in-out infinite; touch-action: manipulation; }
.preview-envelope { border: 0; font: inherit; }
.envelope-card.large { width: min(100%, 310px); min-height: 218px; }
.envelope-card span { position: relative; z-index: 2; color: var(--color-ink); font-size: 17px; font-weight: 950; }
.envelope-card .icon { position: relative; z-index: 2; }
.envelope-flap { position: absolute; inset: 0; background: linear-gradient(135deg, transparent 49%, rgba(215, 66, 98, .12) 50%), linear-gradient(225deg, transparent 49%, rgba(240, 111, 95, .14) 50%); transform-origin: top; animation: flapPeek 1.8s ease-in-out infinite; }
.cinematic-envelope { background: linear-gradient(160deg, #fff, #fff1f4 48%, #ffe1e8); box-shadow: 0 22px 55px rgba(215, 66, 98, .28); }
.sender-chip { min-height: 34px; display: inline-flex; align-items: center; gap: 7px; border-radius: var(--radius-pill); padding: 0 var(--space-4); background: rgba(255,255,255,.8); color: var(--color-brand-strong); border: 1px solid var(--color-brand-line); font-size: 13px; font-weight: 900; box-shadow: var(--shadow-sm); }
.photo-stack { position: relative; z-index: 2; width: 120px; height: 86px; margin-bottom: -6px; }
.photo-stack span { position: absolute; width: 68px; height: 82px; border-radius: 18px; display: grid; place-items: center; border: 4px solid var(--color-white); color: var(--color-white); font-size: 30px; font-weight: 950; background: linear-gradient(145deg, var(--color-brand), var(--color-brand-warm)); box-shadow: 0 14px 28px rgba(168,40,69,.18); }
.photo-stack span:first-child { left: 8px; top: 5px; transform: rotate(-8deg); }
.photo-stack span:last-child { right: 8px; top: 0; transform: rotate(8deg); background: linear-gradient(145deg, #26806b, #54b39a); }
.photo-stack.large { width: 142px; height: 98px; }
.photo-stack.large span { width: 78px; height: 94px; }
.proposal-card { width: 100%; border-radius: var(--radius-xl); padding: var(--space-5); background: var(--color-panel-floating); border: 1px solid var(--color-line); display: grid; gap: 7px; text-align: left; }
.proposal-card.wide { max-width: 340px; }
.proposal-card p { display: flex; align-items: flex-start; gap: 8px; color: var(--color-ink); font-size: 15px; line-height: 1.48; }
.proposal-card .icon { margin-top: 2px; color: var(--color-brand); }
.activity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); width: 100%; }
.activity-card { position: relative; min-height: 128px; border: 1px solid var(--color-line); border-radius: var(--radius-xl); background: var(--activity-bg, var(--color-panel-soft)); color: var(--color-ink); display: grid; place-items: center; gap: var(--space-2); padding: var(--space-5) var(--space-3); text-align: center; cursor: pointer; transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast); overflow: hidden; }
.activity-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 0%, rgba(255,255,255,.72), transparent 45%); pointer-events: none; }
.activity-card .icon, .activity-card b { position: relative; z-index: 1; }
.activity-card .icon { color: var(--activity-ink, var(--color-brand)); stroke: currentColor; }
.activity-card.compact { min-height: 102px; font-size: 13px; }
.activity-card:hover { transform: translateY(-3px) scale(1.015); border-color: var(--color-brand-line-strong); box-shadow: 0 16px 28px rgba(32,36,39,.12); }
.date-choice-grid { display: grid; gap: var(--space-3); width: 100%; }
.date-choice { min-height: 68px; display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: var(--space-3); border: 1px solid var(--color-brand-line); border-radius: var(--radius-xl); padding: var(--space-4); text-align: left; color: var(--color-ink); background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,243,246,.88)); cursor: pointer; box-shadow: var(--shadow-sm); }
.date-choice .icon { color: var(--color-brand); }
.date-choice:hover { transform: translateY(-2px); border-color: var(--color-brand-line-strong); }
.tone-dinner { --activity-bg: linear-gradient(135deg, #fff4ec, #ffe2d5); --activity-ink: #b84d29; }
.tone-coffee { --activity-bg: linear-gradient(135deg, #f7efe7, #ead9ca); --activity-ink: #8a5b3d; }
.tone-cinema { --activity-bg: linear-gradient(135deg, #eef3ff, #dfe7ff); --activity-ink: #4357b5; }
.tone-walk { --activity-bg: linear-gradient(135deg, #eef9f1, #dff0e5); --activity-ink: #2f7b5b; }
.tone-night { --activity-bg: linear-gradient(135deg, #f1ebff, #e3d7ff); --activity-ink: #6a4bb1; }
.tone-heart { --activity-bg: linear-gradient(135deg, #fff3f6, #ffe1e8); --activity-ink: var(--color-brand); }
.playful-scene { position: relative; width: 100%; min-height: 142px; border-radius: var(--radius-2xl); background: var(--activity-bg, linear-gradient(135deg, #fff3f6, #ffe1e8)); border: 1px solid var(--color-line); overflow: hidden; box-shadow: var(--shadow-sm); }
.playful-scene.compact { min-height: 108px; }
.scene-sun { position: absolute; right: 18px; top: 14px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--color-white); background: var(--gradient-brand); font-size: 22px; box-shadow: 0 12px 24px rgba(215,66,98,.24); animation: pulse 1.6s ease-in-out infinite; }
.scene-character { position: absolute; bottom: 28px; z-index: 2; font-size: 42px; filter: drop-shadow(0 10px 14px rgba(32,36,39,.16)); animation: hop 1.05s ease-in-out infinite; }
.playful-scene.compact .scene-character { font-size: 34px; bottom: 22px; }
.scene-character.bunny { left: 23%; }
.scene-character.teddy { right: 24%; animation-delay: .22s; }
.scene-path { position: absolute; left: 10%; right: 10%; bottom: 23px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.48); box-shadow: inset 0 0 0 1px rgba(255,255,255,.64); }
.scene-spark { position: absolute; color: var(--activity-ink, var(--color-brand)); font-size: 24px; animation: sparkleFloat 1.8s ease-in-out infinite; }
.scene-spark.one { left: 14%; top: 20%; }
.scene-spark.two { right: 36%; top: 34%; animation-delay: .55s; }
.activity-menu { display: grid; gap: var(--space-3); width: 100%; }
.activity-menu-card { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: var(--space-3); width: 100%; min-height: 126px; border: 1px solid var(--color-line); border-radius: var(--radius-xl); padding: var(--space-4); text-align: left; background: var(--activity-bg, var(--color-panel-soft)); color: var(--color-ink); cursor: pointer; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast); }
.activity-menu-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 0%, rgba(255,255,255,.8), transparent 42%); pointer-events: none; }
.activity-menu-card:hover { transform: translateY(-3px) scale(1.01); border-color: var(--color-brand-line-strong); box-shadow: 0 18px 34px rgba(32,36,39,.13); }
.activity-menu-icon { position: relative; z-index: 1; width: 54px; height: 54px; border-radius: var(--radius-lg); display: grid; place-items: center; background: rgba(255,255,255,.66); color: var(--activity-ink, var(--color-brand)); }
.activity-menu-copy, .activity-menu-items { position: relative; z-index: 1; }
.activity-menu-copy { display: grid; gap: 4px; align-content: center; }
.activity-menu-copy b { font-size: 17px; line-height: 1.2; }
.activity-menu-copy small { color: var(--color-muted); font-size: 13px; line-height: 1.28; }
.activity-menu-items { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 7px; }
.activity-menu-items em { min-height: 28px; display: inline-flex; align-items: center; border-radius: var(--radius-pill); padding: 0 var(--space-3); background: rgba(255,255,255,.64); color: var(--activity-ink, var(--color-brand)); font-size: 12px; font-style: normal; font-weight: 850; }
.activity-menu.compact .activity-menu-card { min-height: 104px; grid-template-columns: 46px 1fr; padding: var(--space-3); }
.activity-menu.compact .activity-menu-icon { width: 46px; height: 46px; }
.activity-menu.compact .activity-menu-copy b { font-size: 14px; }
.activity-menu.compact .activity-menu-copy small { font-size: 12px; }
.activity-menu.compact .activity-menu-items em { font-size: 11px; }
.date-plan { position: relative; width: 100%; border-radius: var(--radius-xl); padding: var(--space-9) var(--space-6); background: var(--color-panel-floating); border: 1px solid var(--color-line); box-shadow: var(--shadow-lg); display: grid; justify-items: center; gap: 13px; text-align: center; overflow: hidden; }
.ticket-plan { background: linear-gradient(180deg, #fff, #fff6f8); border: 1px dashed var(--color-brand-line-strong); }
.ticket-plan::before, .ticket-plan::after { content: ""; position: absolute; top: 50%; width: 24px; height: 24px; border-radius: 50%; background: var(--color-bg); border: 1px solid var(--color-brand-line); }
.ticket-plan::before { left: -13px; }
.ticket-plan::after { right: -13px; }
.final-ticket { min-height: min(560px, calc(100vh - 174px)); align-content: center; }
.plan-choice { width: 100%; min-height: 82px; border-radius: var(--radius-xl); display: grid; place-items: center; gap: 6px; padding: var(--space-5); background: var(--color-success-soft); color: var(--color-success); }
.plan-choice b { color: var(--ink); font-size: 18px; }
.demo-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.demo-dots span { width: 6px; height: 6px; border-radius: var(--radius-pill); background: var(--color-brand-dot); transition: width var(--transition-base), background var(--transition-base); }
.demo-dots span.active { width: 18px; background: var(--color-brand); }

.date-ticket { position: relative; width: calc(100% - 12px); flex: 1; margin: 14px auto 0; display: grid; gap: 0; align-content: start; padding: 20px 24px; border-radius: 19px; background: #241842; border: 6px solid #241842; box-shadow: 0 9px 22px rgba(33, 19, 57, .22); overflow: visible; text-align: left; color: #fff5e5; }
.date-ticket::before, .date-ticket::after { content: ""; position: absolute; top: 50%; width: 18px; height: 36px; background: #fff8ee; border: 0; z-index: 3; }
.date-ticket::before { left: -7px; border-radius: 0 30px 30px 0; }
.date-ticket::after { right: -7px; border-radius: 30px 0 0 30px; }
.date-ticket.compact { padding: 18px 20px; gap: 0; }
.date-ticket::after { right: -7px; }
.date-ticket > * { position: relative; z-index: 2; }
.date-ticket .kiss-burst { z-index: 1; }
.date-ticket.final-ticket { min-height: 0; }
.date-ticket.final-ticket::before, .date-ticket.final-ticket::after { background: #fff8ee; }
.date-ticket::before { box-shadow: inset -1px 0 0 rgba(255,255,255,.12); }
.date-ticket::after { box-shadow: inset 1px 0 0 rgba(255,255,255,.12); }
.ticket-topline { display: grid; justify-items: center; gap: 13px; color: #fff5e5; font-size: 8px; font-weight: 700; letter-spacing: 1.4px; text-align: center; }
.ticket-topline::after { content: "✦  ♥  ✦"; color: #dda1ad; font-size: 15px; letter-spacing: 8px; }
.ticket-topline b { min-height: auto; display: block; border-radius: 0; padding: 0; background: transparent; color: #eedc9a; font-size: 11px; font-weight: 700; letter-spacing: 0; }
.ticket-hero { display: grid; justify-items: center; align-items: center; margin-top: 7px; padding: 0 0 13px; border-bottom: 1px solid rgba(255,255,255,.24); text-align: center; }
.ticket-icon { display: none; }
.ticket-hero h2 { font-family: Georgia, serif; color: #f2dca4; font-size: 24px; line-height: 1.1; font-weight: 700; text-transform: uppercase; }
.ticket-route { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.24); }
.ticket-route div { display: grid; grid-template-columns: 55px 1fr; gap: 0; }
.ticket-route span { color: rgba(255,245,229,.75); font-size: 11px; font-weight: 600; }
.ticket-route span::after { content: ":"; }
.ticket-route b { color: #fff5e5; font-size: 11px; line-height: 1.25; font-weight: 700; }
.ticket-menu { display: grid; gap: 2px; padding: 13px 0; border-radius: 0; background: transparent; border-bottom: 1px solid rgba(255,255,255,.24); }
.ticket-menu .label, .ticket-food > span { margin-bottom: 4px; color: #f3d9aa; font-size: 12px; font-weight: 700; }
.date-ticket .ticket-menu p { position: relative; padding-left: 0; color: #fff5e5; font-size: 11px; line-height: 1.35; }
.ticket-menu p::before { content: "• "; position: static; width: auto; height: auto; border-radius: 0; background: transparent; color: currentColor; }
.ticket-food { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.24); }
.date-ticket .ticket-food p { color: #fff5e5; font-size: 11px; line-height: 1.35; }
.ticket-food p::before { content: "• "; }
.ticket-bottom { margin-top: auto; padding-top: 13px; display: flex; align-items: end; justify-content: space-between; }
.ticket-bottom > div { display: grid; gap: 15px; }
.ticket-bottom b { color: #fff5e5; font-size: 11px; line-height: 1.25; }
.ticket-bottom small { color: rgba(255,245,229,.72); font-size: 9px; }
.ticket-qr { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 5px; background: #fff; color: #241842; font-size: 56px; line-height: 1; font-weight: 700; overflow: hidden; }

.create-preview-column { scroll-margin-block: 24px; }
.create-preview-column .invite-preview { display: none; }
.create-preview-column.open .invite-preview { display: grid; }
.preview-toggle { margin-bottom: 0; }
.wow-panel { display: grid; gap: var(--space-2); padding: var(--space-5); border-radius: var(--radius-xl); background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,241,245,.86)); border: 1px solid var(--color-brand-line); box-shadow: var(--shadow-sm); }
.wow-panel > div:first-child { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 900; color: var(--color-muted); }
.wow-panel b { color: var(--color-brand-strong); font-size: 20px; }
.wow-meter { height: 10px; border-radius: var(--radius-pill); background: rgba(215,66,98,.12); overflow: hidden; }
.wow-meter span { display: block; height: 100%; border-radius: inherit; background: var(--gradient-brand); transition: width .24s ease; }
.preset-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.preset-card { min-height: 92px; border: 1px solid var(--color-brand-line); border-radius: var(--radius-lg); padding: var(--space-3); display: grid; align-content: start; gap: 6px; text-align: left; background: rgba(255,255,255,.78); cursor: pointer; }
.preset-card span { color: var(--color-brand-strong); font-size: 12px; font-weight: 950; }
.preset-card b { color: var(--color-ink); font-size: 12px; line-height: 1.24; font-weight: 850; }
.preset-card:hover { border-color: var(--color-brand-line-strong); transform: translateY(-1px); }
.idea-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.idea-chips button { min-height: 34px; border: 1px solid var(--color-line); border-radius: var(--radius-pill); padding: 0 var(--space-3); background: var(--color-panel-soft); color: var(--color-brand-strong); font-size: 12px; font-weight: 900; cursor: pointer; }
.idea-chips button:hover { border-color: var(--color-brand-line-strong); background: var(--color-brand-soft); }
.idea-chips button.selected { border-color: var(--color-brand); background: var(--color-brand); color: var(--color-white); box-shadow: 0 6px 12px rgba(118,81,143,.18); }
.step-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); }
.step-tab { min-height: 62px; border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-step-idle); color: var(--color-muted); display: grid; place-items: center; gap: var(--space-1); padding: var(--space-2) 4px; cursor: pointer; font-size: 11px; font-weight: 900; }
.step-tab span { width: 28px; height: 28px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--color-brand-soft); color: var(--color-brand); }
.step-tab.active { background: var(--color-white); color: var(--color-ink); border-color: var(--color-brand-line-strong); box-shadow: var(--shadow-tab); }
.step-tab.complete span { background: var(--color-success-soft); color: var(--color-success); }
.form-step { display: grid; gap: 13px; animation: enter .22s ease-out; }
.form-step > p { margin-top: -4px; }
.step-actions { display: flex; gap: var(--space-3); }
.step-actions .button { flex: 1 1 0; min-width: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.field { display: grid; gap: 7px; }
.label { display: inline-flex; align-items: center; gap: 7px; color: var(--color-ink); font-size: 13px; font-weight: 900; }
.input, .textarea {
  width: 100%;
  border: 1px solid var(--control-border);
  border-radius: var(--control-radius);
  background-color: var(--control-bg);
  color: var(--control-ink);
  padding: 13px var(--space-5);
  outline: none;
}
.textarea { min-height: 104px; resize: vertical; }
.textarea.compact { min-height: 70px; }
.input:focus, .textarea:focus { border-color: var(--control-focus-border); box-shadow: var(--control-focus-shadow); }
.menu-editor { display: grid; gap: 8px; }
.option-row { display: grid; grid-template-columns: 1fr 46px; gap: var(--space-2); }
.editable-option { position: relative; min-width: 0; display: block; }
.editable-option > .icon { position: absolute; left: 13px; top: 50%; z-index: 2; color: var(--color-brand-strong); stroke: var(--color-brand-strong); opacity: .72; transform: translateY(-50%); pointer-events: none; }
.editable-option .input { padding-left: 39px; }
.editable-option:focus-within > .icon { opacity: 1; }
.icon-button { width: 46px; min-height: 46px; border: 1px solid var(--color-brand-line); border-radius: var(--radius-md); background: var(--color-white); color: var(--color-brand-strong); cursor: pointer; display: inline-grid; place-items: center; }
.icon-button .icon { color: var(--color-brand-strong); stroke: var(--color-brand-strong); }
.icon-button:hover { background: var(--color-brand-soft); }
.detail-editor { max-height: 520px; display: grid; gap: 12px; padding-right: 3px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(92,60,142,.38) transparent; }
.detail-editor-card { display: grid; gap: 10px; border: 1px solid var(--color-line); border-radius: 16px; padding: 12px; background: rgba(255,255,255,.58); }
.detail-editor-head { display: grid; gap: 3px; }
.detail-editor-head b { color: var(--color-brand-strong); font-size: 15px; line-height: 1.1; font-weight: 950; }
.detail-editor-head small { color: var(--color-muted); font-size: 12px; line-height: 1.25; font-weight: 800; }
.success-panel { text-align: center; justify-items: center; }
.invite-status-list { display: grid; gap: var(--space-3); }
.invite-status-item { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: var(--space-3); padding: var(--space-4); border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-panel-soft); }
.invite-card-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 10px 0; }
.invite-card-meta span { min-width: 0; border-radius: var(--radius-xs); padding: 7px 8px; background: rgba(255,255,255,.62); color: var(--color-muted); font-size: 11px; line-height: 1.2; font-weight: 800; overflow-wrap: anywhere; }
.invite-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-top: var(--space-3); }
.invite-card-actions .button { min-height: 38px; border-radius: var(--radius-md); padding: 0 var(--space-3); font-size: 12px; }
.status-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; border-radius: var(--radius-pill); padding: 0 var(--space-3); font-size: 12px; font-weight: 900; white-space: nowrap; }
.status-pill.waiting { color: var(--color-muted); background: var(--color-surface-depth); }
.status-pill.opened { color: var(--color-brand-strong); background: var(--color-brand-soft); }
.status-pill.answered { color: var(--color-success); background: var(--color-success-soft); }

.invite-flow.step-cover, .invite-flow.step-ask, .invite-flow.step-confirm { min-height: calc(100vh - 144px); align-content: center; }
.invite-flow { gap: 0; }
.story-screen { position: relative; width: min(100%, 375px); min-height: 760px; height: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 18px 18px 22px; border-radius: 31px; background: #fff8ee; border: 0; box-shadow: 0 12px 35px rgba(58, 45, 60, .12); overflow: hidden; text-align: center; animation: stageEnter .34s cubic-bezier(.2,.8,.2,1); }
.story-screen > :not(.wow-backdrop):not(.floating-hearts):not(.kiss-burst) { position: relative; z-index: 2; }
.story-screen h1 { max-width: 335px; margin-top: 26px; color: #281a2e; font-family: "Rubik", "Nunito", ui-sans-serif, system-ui, sans-serif; font-size: 27px; line-height: 1.12; font-weight: 600; letter-spacing: 0; }
.story-screen p { color: #271c2b; font-size: 16px; line-height: 1.35; font-weight: 500; }
.story-screen > .button { margin-top: auto; min-height: 53px; border-radius: 20px; font-size: 15px; font-weight: 700; box-shadow: 0 5px 12px rgba(88, 59, 112, .16); }
.story-cover h1 { margin-top: 0; }
.invite-step-header { width: 100%; display: grid; gap: 8px; color: #271c2b; }
.invite-statusbar { display: none; }
.invite-titlebar { min-height: 43px; display: grid; grid-template-columns: 35px 1fr 35px; align-items: center; gap: 0; font-size: 14px; font-weight: 800; }
.invite-titlebar .icon { justify-self: center; color: #281a2b; stroke: #281a2b; }
.invite-titlebar b { font-size: 14px; font-weight: 800; white-space: nowrap; }
.invite-header-action { width: 34px; height: 34px; display: grid; place-items: center; justify-self: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #281a2b; cursor: pointer; }
.invite-header-action:focus-visible { outline: 2px solid #76518f; outline-offset: 2px; }
.invite-favorite:active .icon { fill: #e78aa2; }
.invite-progress { display: grid; justify-items: center; gap: 8px; font-size: 12px; font-weight: 800; }
.invite-progress span { width: 100%; height: 4px; border-radius: 10px; background: #c8b9c9; overflow: hidden; }
.invite-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #76518f, #9a77ae); transition: width .26s ease; }
.story-copy { display: grid; justify-items: center; gap: 0; margin-top: 0; }
.story-copy p { margin-top: 26px; }
.story-note { min-height: 24px; margin-top: 7px; color: #70404f !important; font-size: 12px !important; font-weight: 800 !important; }
.story-bears { position: relative; flex: 0 0 auto; width: calc(100% + 36px); height: 320px; margin: 10px -18px 20px; border-radius: 22px; overflow: hidden; background: #4e436f; }
.story-bears img { width: 100%; height: 100%; display: block; object-fit: cover; animation: heroArtFloat 4.2s ease-in-out infinite; will-change: transform; }
.story-screen:not(.story-cover) .story-bears { width: 100%; height: 187px; margin: 19px 0 0; border-radius: 20px; background: #efd7df; }
.story-screen:not(.story-cover) .story-bears img { object-fit: cover; }
.story-date h1 { margin-top: 17px; font-size: 26px; }
.story-choices h1 { margin-top: 28px; }
.story-choices > p { margin-top: 8px; font-size: 12px; font-weight: 700; }
.story-ready { justify-content: flex-start; }
.story-screen.story-ready .story-bears { height: 250px; margin-top: 24px; }
.story-ready h1 { margin-top: 24px; }
.story-ready p { margin-top: 26px; }
.story-screen.story-question .story-bears { height: 235px; margin-top: 12px; background: #fff8ee; }
.story-question .story-bears img { object-fit: cover; }
.story-question h1 { margin-top: 5px; }
.story-question p { margin-top: 10px; font-size: 14px; }
.story-ticket { padding-bottom: 16px; }
.story-ticket .date-ticket { height: 500px; flex: 0 0 500px; }
.story-ticket > .button { flex: 0 0 53px; margin-top: 10px; }
.story-success { justify-content: flex-start; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.story-success h1 { flex: 0 0 auto; margin-top: 14px; font-size: 25px; }
.story-success .final-actions { flex: 0 0 auto; margin-top: 14px; padding-bottom: env(safe-area-inset-bottom); }
.story-screen.story-success .story-bears, .story-bears.mood-hug { height: 210px; margin-top: 18px; background: #ecd7dc; }

.story-envelope { background: linear-gradient(180deg, #fff8ee 0%, #f8e9eb 62%, #fff8ee 100%); }
.envelope-scene { position: relative; width: 100%; flex: 1; min-height: 0; margin-top: 8px; overflow: hidden; }
.envelope-bears { position: absolute; z-index: 2; left: 50%; top: 20px; width: 292px; height: 292px; transform: translateX(-50%); animation: bearsByEnvelope 3.4s ease-in-out infinite; -webkit-mask-image: radial-gradient(ellipse 48% 46% at 50% 48%, #000 68%, transparent 100%); mask-image: radial-gradient(ellipse 48% 46% at 50% 48%, #000 68%, transparent 100%); }
.envelope-bears img { width: 100%; height: 100%; display: block; object-fit: cover; }
.envelope-card { appearance: none; position: absolute; z-index: 4; left: 50%; bottom: 58px; width: 304px; height: 214px; min-height: 0; display: block; overflow: visible; border: 0; border-radius: 0; padding: 0; background: transparent; color: #492f52; cursor: pointer; transform: translateX(-50%); filter: drop-shadow(0 18px 22px rgba(70,42,78,.22)); animation: envelopeBreathe 3.2s ease-in-out infinite; touch-action: manipulation; }
.envelope-card::after { content: ""; position: absolute; z-index: 0; inset: 0; border: 1px solid rgba(105,67,105,.52); border-radius: 16px 16px 24px 24px; background: linear-gradient(160deg, #f9cbd4, #f1bfc9); }
.envelope-card::before { content: ""; position: absolute; z-index: 3; left: 1px; right: 1px; top: 1px; height: 128px; border-radius: 15px 15px 0 0; background: linear-gradient(155deg, #ffdfe0, #edb8c7); clip-path: polygon(0 0, 100% 0, 50% 94%); transform-origin: 50% 0; filter: drop-shadow(0 3px 2px rgba(90,48,80,.08)); }
.envelope-front { position: absolute !important; z-index: 4 !important; inset: 0; border: 1px solid rgba(105,67,105,.48); border-radius: 16px 16px 24px 24px; background: linear-gradient(155deg, #fff0e8, #f6d0d7); clip-path: polygon(0 30%, 50% 69%, 100% 30%, 100% 100%, 0 100%); }
.envelope-front::before { content: "♡  ·  ♡  ·  ♡"; position: absolute; right: 18px; bottom: 17px; color: rgba(190,78,116,.42); font-size: 13px; letter-spacing: 3px; transform: rotate(-5deg); }
.envelope-front::after { content: "✦"; position: absolute; left: 24px; bottom: 28px; color: rgba(226,152,72,.58); font-size: 13px; }
.envelope-letter { position: absolute !important; z-index: 2 !important; left: 22px; right: 22px; top: 18px; height: 154px; display: grid; align-content: center; justify-items: center; gap: 3px; border-radius: 12px; background: #fffaf2; color: #59375e; box-shadow: 0 3px 10px rgba(70,42,78,.08); transition: transform .6s cubic-bezier(.2,.9,.25,1); }
.envelope-letter small { font-size: 10px; font-weight: 900; text-transform: uppercase; }
.envelope-letter b { font-family: "Rubik", sans-serif; font-size: 25px; }
.envelope-letter > * { opacity: 0; transition: opacity .22s .2s ease; }
.envelope-caption { position: absolute !important; z-index: 5 !important; left: 28px; right: 28px; bottom: 18px; display: grid; justify-items: center; gap: 4px; pointer-events: none; }
.envelope-caption small { font-size: 9px; font-weight: 900; text-transform: uppercase; }
.envelope-caption > span { font-size: 11px; font-weight: 800; }
.envelope-seal { position: absolute !important; z-index: 7 !important; left: 50%; top: 91px; width: 54px; height: 54px; display: grid; place-items: center; border: 3px double rgba(255,224,230,.72); border-radius: 50%; background: radial-gradient(circle at 34% 28%, #f58ba6, #cf4b73 72%); color: #fff8ee; box-shadow: 0 5px 10px rgba(120,42,77,.26), inset 0 1px 3px rgba(255,255,255,.48); transform: translateX(-50%); }
.envelope-seal strong { font-size: 22px; line-height: 1; font-weight: 700; text-shadow: 0 1px 1px rgba(112,37,67,.28); }
.envelope-seal em { position: absolute; left: 64px; top: 50%; padding: 5px 9px; border: 1px solid rgba(201,71,112,.22); border-radius: 12px; background: rgba(255,248,238,.92); color: #8d4663; box-shadow: 0 4px 10px rgba(92,49,76,.1); font-size: 10px; line-height: 1; font-style: normal; font-weight: 900; white-space: nowrap; transform: translateY(-50%); animation: tapHint 1.35s ease-in-out infinite; }
.envelope-seal i { position: absolute; inset: -8px; border: 2px solid rgba(217,94,128,.7); border-radius: 50%; animation: sealPulse 1.35s ease-out infinite; }
.envelope-seal::after { content: ""; position: absolute; inset: -17px; border: 1px solid rgba(217,94,128,.36); border-radius: 50%; animation: sealPulse 1.35s .32s ease-out infinite; }
.envelope-card:focus-visible .envelope-seal { outline: 3px solid #76518f; outline-offset: 7px; }
.envelope-scene.is-opening .envelope-card { animation: envelopeOpenShake .76s ease both; }
.envelope-scene.is-opening .envelope-card::before { animation: flapOpen .72s ease both; }
.envelope-scene.is-opening .envelope-letter { transform: translateY(-116px) rotate(-1deg); }
.envelope-scene.is-opening .envelope-letter > * { opacity: 1; }
.envelope-scene.is-opening .envelope-seal { animation: sealBreak .42s ease forwards; }
.butterflies { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.butterflies span { position: absolute; color: #9b63a6; font-size: 20px; font-weight: 900; animation: butterflyFly 4.6s ease-in-out infinite; }
.butterflies span:nth-child(1) { left: 8%; top: 12%; }
.butterflies span:nth-child(2) { right: 9%; top: 18%; animation-delay: -.8s; color: #e16e91; }
.butterflies span:nth-child(3) { left: 15%; top: 45%; animation-delay: -1.7s; }
.butterflies span:nth-child(4) { right: 12%; top: 49%; animation-delay: -2.5s; color: #efac4e; }
.butterflies span:nth-child(5) { left: 27%; top: 4%; animation-delay: -3.1s; color: #e16e91; }
.butterflies span:nth-child(6) { right: 27%; top: 7%; animation-delay: -3.7s; }
.butterflies span:nth-child(7) { left: 7%; top: 68%; animation-delay: -2.1s; color: #efac4e; }

.date-time-selector { width: 100%; display: grid; gap: 8px; margin-top: 14px; text-align: left; }
.selector-label { display: flex; align-items: center; gap: 7px; color: var(--color-brand-strong); font-size: 11px; font-weight: 900; }
.weekday-choice-list { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.weekday-choice-list button { min-width: 0; min-height: 42px; display: grid; place-content: center; gap: 1px; border: 1px solid var(--control-border-soft); border-radius: var(--radius-xs); padding: 3px 1px; background: var(--control-bg-soft); color: var(--control-ink); cursor: pointer; }
.weekday-choice-list b { font-size: 10px; line-height: 1; }
.weekday-choice-list small { font-size: 9px; line-height: 1; color: var(--control-muted); }
.date-compact-row { display: grid; grid-template-columns: 1.35fr 1fr; gap: 7px; }
.date-compact-row input, .time-choice-list input, .custom-select-trigger { width: 100%; min-width: 0; min-height: 38px; border-color: var(--control-border-soft); border-radius: var(--control-radius-compact); padding-top: 5px; padding-bottom: 5px; background-color: var(--control-bg-soft); color: var(--control-ink); font-size: 10px; font-weight: 800; }
.custom-select { position: relative; min-width: 0; }
.custom-select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 6px; border: 1px solid var(--control-border-soft); padding-left: 8px; padding-right: 8px; text-align: left; cursor: pointer; box-shadow: none; }
.custom-select-trigger span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.custom-select.open .custom-select-trigger { border-color: var(--control-focus-border); box-shadow: var(--control-focus-shadow); }
.custom-select.open .custom-select-trigger .icon { transform: rotate(180deg); }
.custom-select-menu { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 7px); display: grid; gap: 5px; border: 1px solid var(--control-border-soft); border-radius: 18px; padding: 7px; background: #fffaf5; box-shadow: 0 14px 28px rgba(55,34,66,.16); overflow: hidden; }
.custom-select-menu button { width: 100%; min-height: 36px; border: 1px solid transparent; border-radius: 13px; padding: 8px 9px; background: rgba(248,236,232,.72); color: var(--control-ink); font-size: 10px; line-height: 1.15; font-weight: 850; text-align: left; cursor: pointer; }
.custom-select-menu button:hover, .custom-select-menu button.selected { border-color: var(--color-brand-line); background: var(--color-brand-soft); color: var(--color-brand-strong); }
.date-compact-row input::placeholder, .time-choice-list input::placeholder { color: var(--control-muted); opacity: 1; }
.time-choice-list button { min-height: 38px; border: 1px solid var(--control-border-soft); border-radius: var(--control-radius-compact); padding: 5px 4px; background: var(--control-bg-soft); color: var(--control-ink); font-size: 10px; font-weight: 800; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease; }
.weekday-choice-list button.selected, .time-choice-list button.selected { border-color: var(--color-brand); background: var(--color-brand); color: var(--color-white); transform: scale(1.015); }
.weekday-choice-list button.selected small { color: var(--color-white); }
.time-choice-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.plan-summary { width: 100%; display: grid; gap: 8px; margin-top: 14px; }
.plan-summary > div { min-height: 50px; display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid #dfcfd0; border-radius: 12px; background: #f7ece7; color: #3a293e; text-align: left; }
.plan-summary span { display: grid; gap: 2px; }
.plan-summary small { font-size: 9px; font-weight: 800; color: #826d7e; }
.plan-summary b { font-size: 12px; line-height: 1.15; }
.plan-ready .story-bears { height: 180px !important; margin-top: 12px !important; }
.plan-ready h1 { margin-top: 12px; }

.photo-picker { width: 100%; min-width: 0; display: grid; gap: 10px; overflow: hidden; }
.cover-picker-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cover-picker-head > b { min-height: 26px; display: inline-flex; align-items: center; border-radius: var(--radius-pill); padding: 0 10px; background: var(--color-brand-soft); color: var(--color-brand-strong); font-size: 12px; font-weight: 950; white-space: nowrap; }
.cover-catalog { width: 100%; max-width: 100%; min-width: 0; max-height: 430px; display: grid; gap: 10px; padding: 8px; border: 1px solid var(--color-line); border-radius: 16px; background: rgba(255,255,255,.48); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(92,60,142,.38) transparent; }
.cover-option { position: relative; min-width: 0; width: 100%; max-width: 100%; min-height: 176px; display: block; padding: 0; border: 1px solid var(--color-line); border-radius: 14px; background: #fff1f4; color: var(--color-white); cursor: pointer; text-align: left; overflow: hidden; box-shadow: none; transition: border-color var(--transition-base), box-shadow var(--transition-base); }
.cover-option::after { content: ""; position: absolute; inset: auto 0 0; height: 52%; background: linear-gradient(180deg, rgba(41,26,61,0), rgba(41,26,61,.68)); pointer-events: none; }
.cover-option:hover { border-color: var(--color-brand-line-strong); box-shadow: inset 0 0 0 1px var(--color-brand-line); }
.cover-option.selected { border-color: var(--color-brand); box-shadow: inset 0 0 0 2px var(--color-brand); }
.cover-option img { width: 100%; height: 176px; display: block; object-fit: cover; background: #fff1f4; transition: transform var(--transition-base); }
.cover-option:hover img, .cover-option.selected img { transform: scale(1.025); }
.cover-option span { position: absolute; z-index: 2; left: 14px; right: 58px; bottom: 12px; min-width: 0; display: grid; gap: 2px; color: var(--color-white); text-shadow: 0 2px 8px rgba(41,26,61,.28); }
.cover-option span b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; line-height: 1.05; font-weight: 950; }
.cover-option span small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255,255,255,.84); font-size: 12px; line-height: 1.15; font-weight: 850; }
.cover-option em { position: absolute; z-index: 3; right: 14px; bottom: 14px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--color-white); color: var(--color-brand); box-shadow: 0 8px 18px rgba(41,26,61,.2); font-style: normal; }
.custom-cover-label { margin-top: 2px; }
.photo-picker-control { position: relative; min-height: 66px; display: grid; place-items: center; border: 1px dashed #bca3b3; border-radius: 14px; background: #fff8f4; color: #674274; cursor: pointer; overflow: hidden; }
.photo-picker-control input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-picker-control img { width: 100%; height: 180px; object-fit: cover; }
.photo-picker-control span { display: flex; align-items: center; gap: 8px; font-weight: 900; }
.upload-cover-placeholder { position: relative; display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 0 44px 0 14px; }
.upload-cover-placeholder i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 11px; background: var(--color-brand-soft); color: var(--color-brand-strong); font-style: normal; }
.upload-cover-placeholder b { font-size: 13px; line-height: 1.1; font-weight: 950; }
.upload-cover-placeholder em { position: absolute; right: 11px; top: 50%; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--color-brand); color: var(--color-white); font-style: normal; transform: translateY(-50%); }
.photo-remove { width: fit-content; display: inline-flex; align-items: center; gap: 5px; border: 0; padding: 0; background: transparent; color: #9c4663; font-size: 12px; font-weight: 800; cursor: pointer; }
.ticket-qr { object-fit: contain; padding: 4px; }
.ticket-qr img, .ticket-qr canvas { width: 100% !important; height: 100% !important; display: block; object-fit: contain; }
.qr-loading { background: #fff8ee; }

/* Stable mobile composition for all invitation steps. */
.story-question > .button { flex: 0 0 53px; margin-top: auto; }
.runaway-zone { position: relative; width: calc(100% + 36px); height: 178px; margin: 8px -18px 0; overflow: visible; border-radius: 18px; }
.story-question .runaway-pack.demo { position: absolute !important; z-index: 20 !important; bottom: auto; width: 220px; height: 82px; transform: translate(-50%, -50%); transition: left .14s ease, top .14s ease; }
.story-question .runaway-pack.demo .carried-no { left: 78px; width: 138px; }
.story-choices h1 { margin-top: 24px; }
.story-choices .illustrated-choice-grid { margin-top: 16px; }
.story-choices > .button { flex: 0 0 53px; }
.story-choices .reaction-toast { min-height: 34px; margin-top: 7px; }
.story-ticket .date-ticket { width: calc(100% - 10px); padding: 14px 24px; }
.story-ticket .ticket-topline { gap: 8px; }
.story-ticket .ticket-route, .story-ticket .ticket-menu, .story-ticket .ticket-food { padding-top: 9px; padding-bottom: 9px; }
.story-ticket .ticket-bottom { padding-top: 10px; }
.story-success .final-actions { padding-top: 14px; }
.story-ticket .date-ticket .ticket-qr { opacity: 1; animation: none; }
.story-success h1 { opacity: 1; animation-delay: 0s; }

@keyframes photoFloat { 0%,100% { transform: translateX(-50%) translateY(0) rotate(-2deg); } 50% { transform: translateX(-50%) translateY(-7px) rotate(1deg); } }
@keyframes envelopeBreathe { 0%,100% { transform: translateX(-50%) rotate(-.4deg); } 50% { transform: translateX(-50%) translateY(-3px) rotate(.5deg); } }
@keyframes bearsByEnvelope { 0%,100% { transform: translateX(-50%) translateY(0) rotate(-.5deg); } 50% { transform: translateX(-50%) translateY(-5px) rotate(.5deg); } }
@keyframes sealPulse { 0% { opacity: .82; transform: scale(.72); } 72%,100% { opacity: 0; transform: scale(1.34); } }
@keyframes tapHint { 0%,100% { opacity: .72; transform: translateY(-50%) translateX(0); } 50% { opacity: 1; transform: translateY(-50%) translateX(3px); } }
@keyframes sealBreak { 0% { transform: translateX(-50%) scale(1); opacity: 1; } 55% { transform: translateX(-50%) scale(.78) rotate(-10deg); } 100% { transform: translateX(-50%) scale(1.4) rotate(15deg); opacity: 0; } }
@keyframes flapOpen { 0% { transform: rotateX(0); } 100% { transform: rotateX(178deg); opacity: .35; } }
@keyframes envelopeOpenShake { 0%,100% { transform: translateX(-50%); } 28% { transform: translateX(-50%) rotate(-1.5deg) scale(1.02); } 58% { transform: translateX(-50%) rotate(1.2deg) scale(1.02); } }
@keyframes butterflyFly { 0%,100% { opacity: .35; transform: translate(0,0) rotate(-18deg) scale(.8); } 35% { opacity: 1; transform: translate(12px,-16px) rotate(16deg) scale(1.1); } 70% { opacity: .65; transform: translate(-7px,-27px) rotate(-8deg) scale(.92); } }

/* Invitation micro-interactions */
.spring-button:active { animation: buttonSpring .38s cubic-bezier(.2,1.45,.45,1); }
.story-cover .story-bears img { animation: bearsLean 4.4s ease-in-out infinite; }
.story-cover .story-bears::after, .story-ready .story-bears::after { content: "✦"; position: absolute; left: 50%; top: 49%; color: #fff3a9; font-size: 30px; text-shadow: 0 0 10px #fff, 0 0 24px #ffd760; transform: translate(-50%, -50%); animation: starPulse 1.55s ease-in-out infinite; pointer-events: none; }
.story-ready .story-bears img { animation: bearsTogether 3.8s ease-in-out infinite; }
.story-date .story-bears img { animation: calendarWiggle 3.2s ease-in-out infinite; }
.story-question .story-bears img { animation: envelopeSway 2.3s ease-in-out infinite; transform-origin: 50% 72%; }
.story-question h1 { animation: questionBounce .68s cubic-bezier(.2,1.4,.4,1) both; }
.story-success .story-bears { animation: bearsArrive .72s cubic-bezier(.2,1.2,.4,1) both; }
.story-success .story-bears img { animation: finalHug 3s .65s ease-in-out infinite; }
.story-success h1 { animation: questionBounce .68s cubic-bezier(.2,1.4,.4,1) both; }

.reaction-toast { width: 100%; min-height: 34px; margin-top: 5px; display: flex; align-items: center; justify-content: center; gap: 7px; color: #70404f; font-size: 11px; line-height: 1.15; font-weight: 800; animation: toastPop .42s cubic-bezier(.2,1.35,.4,1) both; }
.reaction-toast img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: center; animation: mascotCelebrate .75s ease-in-out both; }
.reaction-toast.mascot-food img { animation: pawsExcited .62s ease-in-out 2; }
.date-saved { min-height: 30px; margin-top: 9px; padding: 6px 13px; border-radius: 18px; background: #f5dfd7; color: #70404f !important; font-size: 11px !important; font-weight: 800 !important; animation: toastPop .42s cubic-bezier(.2,1.35,.4,1) both; }
.soft-field { transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.soft-field:active { transform: scale(.98); }
.soft-field.selected::after { content: "♥"; position: absolute; right: 14px; top: 50%; color: #df6384; font-size: 15px; transform: translateY(-50%); animation: heartPop .48s cubic-bezier(.2,1.45,.4,1); }
.soft-field.selected > .icon:last-child { display: none; }
.date-time-fields .soft-field:last-child .icon:last-child { transition: transform .24s ease; }
.date-time-fields .soft-field:last-child:active .icon:last-child { transform: rotate(180deg); }

.illustrated-choice { transform-origin: 50% 70%; transition: transform .2s cubic-bezier(.2,.9,.3,1.2), opacity .18s ease, box-shadow .18s ease; }
.illustrated-choice:hover, .illustrated-choice:focus-visible { transform: translateY(-2px) scale(1.025); }
.illustrated-choice:active { transform: scale(.965); }
.illustrated-choice.selected { animation: cardSelect .42s cubic-bezier(.2,1.25,.35,1) both; box-shadow: 0 8px 18px rgba(75,52,95,.18); }
.illustrated-choice.food-choice.selected .choice-art { animation: foodHop .52s cubic-bezier(.2,1.35,.4,1); }
.illustrated-choice.food-choice.selected::after { content: "♡  ✦  ♡"; position: absolute; z-index: 4; left: 50%; top: 34%; color: #ffd6df; font-size: 15px; white-space: nowrap; transform: translate(-50%, -50%); animation: foodSpark .75s ease-out both; pointer-events: none; }
.choice-check { animation: checkPop .4s cubic-bezier(.2,1.55,.4,1) both; }

.story-question > .button + .button { margin-top: 8px; }
.think-button { flex: 0 0 48px; min-height: 48px !important; }
.yes-reaction { position: absolute !important; left: 18px; right: 18px; bottom: 132px; color: #8b3f63 !important; font-size: 13px !important; font-weight: 900 !important; animation: toastPop .42s cubic-bezier(.2,1.35,.4,1) both; }
.thinking-moment { position: fixed !important; inset: 0; z-index: 1600 !important; display: grid; place-items: center; padding: 24px; background: rgba(39,28,43,.38); backdrop-filter: blur(4px); animation: fadeIn .24s ease both; }
.thinking-card { width: min(100%, 330px); display: grid; justify-items: center; gap: 10px; padding: 22px; border-radius: 20px; background: #fff8ee; box-shadow: 0 22px 55px rgba(39,28,43,.26); }
.thinking-card img { width: 150px; height: 126px; object-fit: cover; border-radius: 16px; animation: headTilt 1.2s ease-in-out infinite; }
.thinking-card b { color: #281a2e; font-family: "Rubik", sans-serif; font-size: 23px; }
.thinking-card p { margin: 0; font-size: 14px; text-align: center; }
.thinking-card .button { margin-top: 5px; }

.ticket-reaction { width: 100%; min-height: 20px; margin: 7px 0 -5px; color: #70404f !important; font-size: 11px !important; font-weight: 800 !important; animation: toastPop .45s ease both; }
.story-ticket .date-ticket { transform-origin: 50% 92%; animation: ticketFromEnvelope .78s cubic-bezier(.18,1.12,.36,1) both; }
.date-ticket::marker { display: none; }
.date-ticket .ticket-number { overflow: hidden; white-space: nowrap; animation: ticketTyping 1.1s .52s steps(16,end) both; }
.date-ticket .ticket-qr { opacity: 1; animation: qrReveal .48s .12s cubic-bezier(.2,1.35,.4,1) both; }
.story-success::after { content: "♡  ✦  ♡  ✦  ♡"; position: absolute; z-index: 1; left: 50%; top: -28px; color: #df7390; font-size: 21px; letter-spacing: 10px; white-space: nowrap; animation: confettiFall 5.4s linear infinite; }
.save-ticket-action:active { animation: saveFly .52s ease both; }

.story-effects { position: fixed; inset: 0; z-index: 1500; pointer-events: none; overflow: hidden; }
.story-effects::before { content: ""; position: absolute; inset: 0; opacity: 0; }
.story-effects span { position: absolute; left: 50%; top: 55%; color: #e2698c; font-size: 22px; font-weight: 900; opacity: 0; transform: translate(-50%, -50%); animation: effectBurst .76s var(--delay) cubic-bezier(.15,.75,.25,1) forwards; }
.story-effects span:nth-child(3n + 2) { color: #f3bc4f; font-size: 17px; }
.story-effects span:nth-child(3n) { width: 7px; height: 7px; border-radius: 50%; background: #8c61a0; }
.story-effects.effect-transition-hearts::before, .story-effects.effect-transition-stars::before, .story-effects.effect-transition-sparkle::before { background: #fff8ee; animation: transitionVeil .72s ease both; }
.story-effects.effect-transition-stars span { animation-name: starScatter; }
.story-effects.effect-send span { animation-name: heartSend; }
.story-effects.effect-save span { animation-name: saveSpark; }
.story-effects.effect-celebrate span { animation-duration: 1.08s; font-size: 25px; }

@keyframes buttonSpring { 0% { transform: scale(1); } 35% { transform: scale(.94); } 68% { transform: scale(1.045); } 100% { transform: scale(1); } }
@keyframes bearsLean { 0%,100% { transform: scale(1.015) rotate(-.4deg); } 50% { transform: scale(1.035) translateY(-3px) rotate(.5deg); } }
@keyframes bearsTogether { 0%,100% { transform: scale(1.01); } 50% { transform: scale(1.045) translateY(-3px); } }
@keyframes starPulse { 0%,100% { opacity: .62; transform: translate(-50%,-50%) scale(.8) rotate(0); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.18) rotate(20deg); } }
@keyframes calendarWiggle { 0%,82%,100% { transform: rotate(0) scale(1.01); } 88% { transform: rotate(-1.3deg) scale(1.025); } 94% { transform: rotate(1.3deg) scale(1.025); } }
@keyframes envelopeSway { 0%,100% { transform: rotate(-1deg) translateY(0); } 50% { transform: rotate(1.5deg) translateY(-5px); } }
@keyframes questionBounce { from { opacity: 0; transform: translateY(14px) scale(.9); } 65% { opacity: 1; transform: translateY(-3px) scale(1.035); } to { opacity: 1; transform: none; } }
@keyframes bearsArrive { from { opacity: 0; transform: translateY(26px) scale(.82); } to { opacity: 1; transform: none; } }
@keyframes finalHug { 0%,100% { transform: scale(1.01); } 50% { transform: scale(1.055) translateY(-3px); } }
@keyframes toastPop { from { opacity: 0; transform: translateY(7px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes mascotCelebrate { 0% { transform: translateY(12px) scale(.8) rotate(-8deg); } 45% { transform: translateY(-8px) scale(1.12) rotate(7deg); } 100% { transform: none; } }
@keyframes pawsExcited { 0%,100% { transform: rotate(-3deg); } 50% { transform: translateY(-4px) rotate(4deg) scale(1.08); } }
@keyframes heartPop { from { opacity: 0; transform: scale(.2); } 65% { opacity: 1; transform: scale(1.35); } to { opacity: 1; transform: scale(1); } }
@keyframes cardSelect { 0% { transform: scale(.97); } 62% { transform: scale(1.035); } 100% { transform: scale(1); } }
@keyframes foodHop { 0%,100% { transform: translateY(0); } 48% { transform: translateY(-10px) scale(1.07); } }
@keyframes foodSpark { from { opacity: 0; transform: translate(-50%,-10%) scale(.5); } 45% { opacity: 1; } to { opacity: 0; transform: translate(-50%,-105%) scale(1.2); } }
@keyframes checkPop { from { opacity: 0; transform: scale(.2) rotate(-35deg); } 70% { transform: scale(1.18) rotate(5deg); } to { opacity: 1; transform: none; } }
@keyframes headTilt { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(5deg) translateY(-3px); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ticketFromEnvelope { from { opacity: 0; transform: translateY(130px) scale(.74) rotate(3deg); } 70% { opacity: 1; transform: translateY(-7px) scale(1.015) rotate(-.5deg); } to { opacity: 1; transform: none; } }
@keyframes ticketTyping { from { max-width: 0; opacity: 0; } to { max-width: 100%; opacity: 1; } }
@keyframes qrReveal { from { opacity: 0; transform: scale(.45) rotate(-7deg); } to { opacity: 1; transform: none; } }
@keyframes confettiFall { from { transform: translate(-50%,-20px) rotate(0); opacity: 0; } 12% { opacity: .8; } to { transform: translate(-50%,790px) rotate(80deg); opacity: 0; } }
@keyframes saveFly { to { transform: translateY(-22px) scale(.88); opacity: .35; } }
@keyframes effectBurst { 0% { opacity: 0; transform: translate(-50%,-50%) scale(.3); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)),calc(-50% + var(--y))) scale(1.25) rotate(24deg); } }
@keyframes starScatter { to { opacity: 0; transform: translate(calc(-50% + var(--x)),calc(-50% + var(--y))) scale(1.6) rotate(90deg); } }
@keyframes transitionVeil { 0%,35% { opacity: 0; } 68% { opacity: .88; } 100% { opacity: 0; } }
@keyframes heartSend { 0% { opacity: 1; transform: translate(-50%,-50%) scale(.4); } 100% { opacity: 0; transform: translate(calc(-50% + 150px),calc(-50% - 420px)) scale(1.4) rotate(35deg); } }
@keyframes saveSpark { to { opacity: 0; transform: translate(calc(-50% + var(--x)),calc(-50% - 230px)) scale(.7); } }

@media (prefers-reduced-motion: reduce) {
  .story-screen *, .story-effects *, .story-screen::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
.storybook-bear { --fur: #ffd7a6; --fur-dark: #5b3427; --muzzle: #fff0d5; position: absolute; bottom: 12px; width: 116px; height: 142px; animation: bearBreathe 1.8s ease-in-out infinite; filter: drop-shadow(0 16px 18px rgba(89, 54, 60, .18)); }
.bear-cream { left: 34px; transform-origin: 50% 100%; }
.bear-cocoa { --fur: #bf7a55; --muzzle: #ffe0be; right: 30px; animation-delay: .18s; transform-origin: 50% 100%; }
.bear-ear, .bear-head, .bear-body, .bear-arm, .bear-leg { position: absolute; display: block; background: var(--fur); border: 3px solid var(--fur-dark); }
.bear-ear { top: 3px; width: 31px; height: 31px; border-radius: 50%; z-index: 1; }
.bear-ear.left { left: 15px; }
.bear-ear.right { right: 15px; }
.bear-head { left: 14px; top: 14px; width: 88px; height: 78px; border-radius: 46% 46% 44% 44%; z-index: 3; }
.bear-head::before, .bear-head::after { content: ""; position: absolute; top: 29px; width: 8px; height: 9px; border-radius: 50%; background: #2d1f19; }
.bear-head::before { left: 24px; }
.bear-head::after { right: 24px; }
.bear-head { box-shadow: inset 12px -16px 0 rgba(255,255,255,.13); }
.bear-head + .bear-body::before { content: ""; position: absolute; left: 25px; top: -46px; width: 38px; height: 28px; border-radius: 48%; background: var(--muzzle); border: 2px solid rgba(91,52,39,.24); z-index: 4; }
.bear-head + .bear-body::after { content: ""; position: absolute; left: 42px; top: -37px; width: 7px; height: 6px; border-radius: 50%; background: #2d1f19; z-index: 5; box-shadow: -17px 10px 0 -2px #ee8f93, 17px 10px 0 -2px #ee8f93; }
.bear-body { left: 21px; top: 76px; width: 74px; height: 58px; border-radius: 42% 42% 48% 48%; z-index: 2; }
.bear-body::before { pointer-events: none; }
.bear-arm { top: 88px; width: 28px; height: 54px; border-radius: var(--radius-pill); z-index: 4; transform-origin: 50% 8px; animation: bearArmWave 1.05s ease-in-out infinite; }
.bear-arm.left { left: 2px; transform: rotate(45deg); }
.bear-arm.right { right: 2px; transform: rotate(-45deg); animation-delay: .22s; }
.bear-leg { top: 124px; width: 32px; height: 26px; border-radius: 50%; z-index: 1; }
.bear-leg.left { left: 24px; }
.bear-leg.right { right: 24px; }
.bear-prop { position: absolute; left: 50%; top: 90px; width: 72px; height: 72px; transform: translateX(-50%) rotate(45deg); border-radius: 18px; background: linear-gradient(135deg, #fff4b8, #f7bd44); border: 3px solid #5b3427; z-index: 8; box-shadow: 0 0 28px rgba(247,189,68,.45); animation: propGlow 1.4s ease-in-out infinite; }
.story-bears.mood-calendar .bear-prop { width: 82px; height: 72px; border-radius: 12px; transform: translateX(-50%) rotate(0); background: repeating-linear-gradient(0deg, #fff8ef 0 16px, #f3dce2 16px 18px), linear-gradient(#fff, #fff); }
.story-bears.mood-calendar .bear-prop::before { content: ""; position: absolute; left: 8px; right: 8px; top: 12px; height: 10px; background: #d76483; border-radius: 8px; }
.story-bears.mood-letter .bear-prop { width: 92px; height: 64px; border-radius: 14px; transform: translateX(-50%) rotate(0); background: linear-gradient(145deg, #ffe6d8, #fff7ef); }
.story-bears.mood-letter .bear-prop::before { content: ""; position: absolute; inset: 0; clip-path: polygon(0 0, 50% 58%, 100% 0, 100% 100%, 0 100%); border-radius: inherit; background: rgba(215,66,98,.18); }
.story-bears.mood-hug .bear-prop { width: 54px; height: 48px; top: 56px; border-radius: 50% 50% 45% 45%; background: #ff8daf; clip-path: path("M27 46C12 37 0 27 0 14 0 5 7 0 15 0c6 0 10 4 12 9 2-5 6-9 12-9 8 0 15 5 15 14 0 13-12 23-27 32Z"); border: 0; }
.story-heart, .story-spark { position: absolute; color: #e55d82; font-weight: 950; z-index: 9; animation: sparkleFloat 1.8s ease-in-out infinite; }
.story-heart { left: 50%; top: 28px; font-size: 42px; transform: translateX(-50%); }
.story-spark.one { left: 30px; top: 54px; color: #f7bd44; }
.story-spark.two { right: 28px; top: 76px; color: #f7bd44; animation-delay: .48s; }
.illustrated-choice-grid { width: 100%; margin-top: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.detail-choice-sections { width: 100%; max-height: 332px; display: grid; gap: 9px; margin-top: 12px; padding-right: 3px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(92,60,142,.38) transparent; text-align: left; }
.detail-choice-section { display: grid; gap: 7px; }
.detail-choice-section h3 { margin: 0; color: #5b405d; font-size: 11px; line-height: 1; font-weight: 950; }
.detail-choice-section > div { display: flex; flex-wrap: wrap; gap: 7px; }
.detail-choice-section button { min-height: 36px; max-width: 100%; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #dfcfd0; border-radius: 999px; padding: 7px 10px; background: #fffaf5; color: #291d2d; cursor: pointer; box-shadow: 0 4px 10px rgba(58,45,60,.06); }
.detail-choice-section button span { font-size: 15px; line-height: 1; }
.detail-choice-section button b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; line-height: 1; font-weight: 900; }
.detail-choice-section button .icon { width: 14px; height: 14px; color: currentColor; stroke: currentColor; }
.detail-choice-section button:hover { border-color: var(--color-brand-line-strong); background: #fff4f0; }
.detail-choice-section button.selected { border-color: var(--color-brand); background: var(--color-brand); color: var(--color-white); box-shadow: 0 6px 14px rgba(92,60,142,.18); }
.custom-choice-input { width: 100%; display: grid; gap: 6px; margin-top: 9px; text-align: left; }
.custom-choice-input span { color: #6c5266; font-size: 11px; line-height: 1; font-weight: 900; }
.custom-choice-input input { width: 100%; min-height: 42px; border: 1px solid #dfcfd0; border-radius: 13px; padding: 9px 12px; background: #fffaf5; color: #291d2d; font-size: 12px; font-weight: 800; outline: none; }
.custom-choice-input input:focus { border-color: var(--color-brand-focus); box-shadow: var(--shadow-focus); }
.illustrated-choice { position: relative; height: 125px; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 0; border: 1px solid rgba(90,64,83,.05); border-radius: 17px; padding: 0; background: linear-gradient(145deg, #eadde4, #efdeda); color: #271c28; box-shadow: none; cursor: pointer; overflow: hidden; clip-path: inset(0 round 17px); -webkit-mask-image: -webkit-radial-gradient(white, black); isolation: isolate; transform: translateZ(0); transition: transform .15s ease, opacity .15s ease; }
.illustrated-choice::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.68), transparent 56%); pointer-events: none; }
.illustrated-choice:hover { transform: translateY(-2px); }
.illustrated-choice.selected { color: #fff; background: linear-gradient(145deg, #473d61, #746085); }
.choice-art { position: relative; z-index: 1; width: 100%; height: 88px; display: grid; place-items: center; overflow: hidden; border-radius: 16px 16px 0 0; background: transparent; color: var(--activity-ink, #7f4aa2); }
.choice-art .icon { width: 54px; height: 54px; stroke-width: 1.9; filter: drop-shadow(0 8px 10px rgba(50,30,65,.12)); }
.choice-illustration { width: 100%; height: 100%; display: block; overflow: hidden; border-radius: 16px 16px 0 0; background-repeat: no-repeat; background-size: 300% auto; filter: drop-shadow(0 7px 8px rgba(50,30,65,.1)); transition: transform .18s ease, filter .18s ease; }
.illustrated-choice:hover .choice-illustration, .illustrated-choice.selected .choice-illustration { transform: scale(1.045); filter: drop-shadow(0 9px 10px rgba(50,30,65,.16)); }
.choice-emoji { display: block; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 58px; line-height: 1; filter: drop-shadow(0 8px 9px rgba(50,30,65,.14)); transform: translateY(2px); transition: transform .18s ease; }
.illustrated-choice:hover .choice-emoji, .illustrated-choice.selected .choice-emoji { transform: translateY(-1px) scale(1.06); }
.illustrated-choice.selected .choice-art { color: #fff8ee; }
.illustrated-choice b { position: relative; z-index: 1; min-height: 34px; display: flex; align-items: center; justify-content: center; padding: 0 6px 5px; font-size: 11px; line-height: 1.05; font-weight: 800; text-align: center; }
.choice-check { position: absolute; right: 8px; top: 7px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #2e2645; color: #fff; z-index: 3; }
.story-food .illustrated-choice { height: 116px; }
.story-food .choice-art { height: 80px; }
.soft-field-list { width: 100%; display: grid; gap: 11px; }
.soft-field { position: relative; min-height: 64px; display: grid; grid-template-columns: 30px 1fr 26px; align-items: center; gap: 10px; border: 1px solid #dfcfd0; border-radius: 16px; padding: 9px 12px; background: #f7ece7; color: #291d2d; text-align: left; font-weight: 850; cursor: pointer; box-shadow: none; }
.soft-field .icon { color: #291d2d; stroke: #291d2d; }
.soft-field span { display: flex; flex-direction: column; gap: 2px; }
.soft-field small { font-size: 11px; line-height: 1.1; font-weight: 800; }
.soft-field b { font-size: 14px; line-height: 1.15; font-weight: 900; }
.soft-field.selected { border-color: #dfcfd0; background: #f7ece7; box-shadow: none; }
.date-time-fields { margin-top: 24px; gap: 12px; }
.story-question .stage-mascot { margin-top: -4px; }
.story-question .button.yes-growing { width: calc(100% / var(--yes-scale)); max-width: 100%; transform: scale(var(--yes-scale)); transform-origin: center; transition: width .2s ease, transform .2s ease, box-shadow .2s ease; }
.final-actions { width: 100%; display: grid; gap: 8px; }
.final-actions .button { min-height: 49px; }
.button.outline { background: transparent; color: #37263b; border: 1px solid #a995a7; box-shadow: none; }
.full-screen-card { position: relative; min-height: min(620px, calc(100vh - 174px)); border-radius: var(--radius-2xl); padding: var(--space-10) var(--space-8); background: var(--gradient-card); border: 1px solid var(--color-line); box-shadow: var(--shadow-invite); display: grid; align-content: center; justify-items: center; gap: var(--space-7); text-align: center; overflow: hidden; animation: stageEnter .34s cubic-bezier(.2,.8,.2,1); }
.full-screen-card > :not(.floating-hearts):not(.particle-burst):not(.kiss-burst):not(.wow-backdrop) { position: relative; z-index: 2; }
.invite-cover { background: radial-gradient(circle at 50% 8%, #fff 0%, #fff3f5 46%, #eef4f3 100%); }
.refuse-fixed { position: fixed; min-width: 112px; z-index: 1000; transform: translate(-50%, -50%); transition: left var(--transition-base), top var(--transition-base); }
.choice-panel { position: relative; overflow: hidden; }
.choice-panel > :not(.wow-backdrop) { position: relative; z-index: 2; }
.consent-overlay { position: fixed; inset: 0; z-index: 1200; display: grid; align-items: end; padding: var(--space-6); background: rgba(31, 37, 41, .28); }
.consent-sheet { width: min(100%, 520px); margin: 0 auto; display: grid; gap: var(--space-5); padding: var(--space-7); border: 1px solid var(--color-line); border-radius: var(--radius-2xl); background: var(--color-panel); box-shadow: var(--shadow-lg); }
.consent-check { display: grid; grid-template-columns: 20px 1fr; gap: var(--space-3); align-items: start; color: var(--color-ink); font-size: 14px; line-height: 1.45; }
.consent-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--color-brand); }
.consent-check a { color: var(--color-brand-strong); font-weight: 800; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }

.price-card { display: grid; gap: 10px; }
.price-card.dark { background: var(--color-dark); color: var(--color-white); }
.price-card.dark p { color: var(--color-price-muted); }
.price { font-size: 30px; font-weight: 950; }
.idea-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.idea { display: flex; gap: var(--space-4); padding: var(--space-5); background: var(--color-panel-soft); border: 1px solid var(--color-line); border-radius: var(--radius-lg); }
.num { flex: 0 0 auto; width: 28px; height: 28px; border-radius: var(--radius-pill); display: grid; place-items: center; background: var(--color-brand-soft); color: var(--color-brand); font-size: 12px; font-weight: 950; }
.faq { border-top: 1px solid var(--color-line); padding-top: var(--space-4); display: grid; gap: var(--space-2); }
.legal-block { display: grid; gap: 9px; }
.footer { display: grid; gap: var(--space-4); padding: var(--space-8) var(--space-7) var(--space-10); font-size: 13px; color: var(--color-muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.cookie-notice { position: fixed; z-index: 1300; left: 50%; bottom: 14px; width: min(calc(100% - 28px), 760px); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: var(--space-3); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 10px 12px; background: rgba(255,250,245,.96); color: var(--color-ink); box-shadow: var(--shadow-lg); transform: translateX(-50%); backdrop-filter: blur(12px); }
.cookie-notice p { margin: 0; color: var(--color-muted); font-size: 12px; line-height: 1.3; font-weight: 750; }
.cookie-notice div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; font-size: 12px; font-weight: 850; white-space: nowrap; }
.cookie-notice a { color: var(--color-brand-strong); }
.cookie-notice .button { min-height: 36px; border-radius: var(--radius-md); padding: 0 14px; font-size: 12px; }

@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes yesBeat { 0%, 100% { transform: scale(var(--yes-scale)); } 50% { transform: scale(calc(var(--yes-scale) + .08)); } }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes stageEnter { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes floatMail { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
@keyframes flapPeek { 0%, 100% { opacity: .75; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(.92); } }
@keyframes refusePreview { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(calc(-50% + 18px), -50%); } }
@keyframes refuseWiggle { 0%, 100% { margin-left: 0; } 35% { margin-left: -7px; } 70% { margin-left: 7px; } }
@keyframes shine { 0%, 48% { transform: translateX(0) rotate(18deg); opacity: 0; } 58% { opacity: 1; } 100% { transform: translateX(420%) rotate(18deg); opacity: 0; } }
@keyframes packEscape { 100% { left: var(--to-left); top: var(--to-top); } }
@keyframes runnerGrab { 0% { opacity: 0; transform: translateX(-128px) translateY(10px) rotate(-18deg) scale(.82); } 16% { opacity: 1; } 34% { transform: translateX(-12px) translateY(-18px) rotate(10deg) scale(1.14); } 48% { transform: translateX(26px) translateY(-5px) rotate(-8deg) scale(1.04); } 100% { opacity: 1; transform: translateX(42px) translateY(-2px) rotate(-16deg) scale(1); } }
@keyframes bunnyGrab { 0% { opacity: 0; transform: translateX(-132px) translateY(12px) rotate(-10deg) scale(.8); } 18% { opacity: 1; } 35% { transform: translateX(-8px) translateY(-32px) rotate(12deg) scale(1.16); } 52% { transform: translateX(32px) translateY(-12px) rotate(-4deg) scale(1.04); } 100% { opacity: 1; transform: translateX(48px) translateY(-4px) rotate(-12deg) scale(1); } }
@keyframes carriedIdle { 0%, 100% { transform: translateX(0) rotate(0); } 50% { transform: translateX(4px) rotate(1deg); } }
@keyframes carriedButton { 0%, 30% { transform: translateX(0) rotate(0); } 46% { transform: translateX(22px) rotate(7deg); } 100% { transform: translateX(64px) rotate(-8deg); } }
@keyframes ropeTense { 0% { transform: scaleX(.05) rotate(2deg); opacity: 0; } 32% { transform: scaleX(.45) rotate(-6deg); opacity: .72; } 48%, 100% { transform: scaleX(1.18) rotate(-4deg); opacity: 1; } }
@keyframes runnerShadow { 0% { transform: translateX(-100px) scaleX(.45); opacity: 0; } 35% { transform: translateX(-8px) scaleX(1.22); opacity: .26; } 100% { transform: translateX(44px) scaleX(1); opacity: .18; } }
@keyframes bubblePop { 0%, 100% { transform: translateY(0) scale(1); } 45% { transform: translateY(-4px) scale(1.04); } }
@keyframes angelWin { 0% { opacity: 0; transform: translateX(-90px) translateY(6px) rotate(-12deg) scale(.8); } 22% { opacity: 1; } 48% { transform: translateX(42px) translateY(-18px) rotate(12deg) scale(1.14); } 100% { opacity: 1; transform: translateX(72px) translateY(-3px) rotate(-4deg) scale(1); } }
@keyframes demonLose { 0% { opacity: 0; transform: translateX(82px) rotate(10deg) scale(.84); } 24% { opacity: .9; } 50% { transform: translateX(12px) rotate(20deg) scale(.92); } 100% { opacity: .46; transform: translateX(58px) translateY(20px) rotate(42deg) scale(.72); } }
@keyframes demonRope { 0% { transform: scaleX(.1); opacity: 0; } 42% { transform: scaleX(1); opacity: .72; } 100% { transform: scaleX(.2); opacity: .18; } }
@keyframes angelButton { 0%, 34% { transform: translateX(0) rotate(0); } 54% { transform: translateX(-24px) rotate(-8deg); } 100% { transform: translateX(-72px) rotate(7deg); } }
@keyframes mascotEnter { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes mascotBob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-6px) rotate(5deg); } }
@keyframes armRun { 0%, 100% { transform: rotate(58deg); } 50% { transform: rotate(-54deg); } }
@keyframes legRunA { 0%, 100% { transform: rotate(34deg) translateY(0); } 50% { transform: rotate(-42deg) translateY(-2px); } }
@keyframes legRunB { 0%, 100% { transform: rotate(-42deg) translateY(-2px); } 50% { transform: rotate(34deg) translateY(0); } }
@keyframes bodySquash { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.92) translateY(2px); } }
@keyframes wingFlapLeft { 0%, 100% { transform: rotate(-16deg) scaleY(.88); } 50% { transform: rotate(-48deg) scaleY(1.08); } }
@keyframes wingFlapRight { 0%, 100% { transform: scaleX(-1) rotate(-16deg) scaleY(.88); } 50% { transform: scaleX(-1) rotate(-48deg) scaleY(1.08); } }
@keyframes hop { 0%, 100% { transform: translateY(0) rotate(-2deg); } 45% { transform: translateY(-18px) rotate(3deg); } }
@keyframes sparkleFloat { 0%, 100% { opacity: .45; transform: translateY(0) scale(.9); } 50% { opacity: 1; transform: translateY(-10px) scale(1.15); } }
@keyframes bearBreathe { 0%, 100% { translate: 0 0; rotate: -1deg; } 50% { translate: 0 -8px; rotate: 2deg; } }
@keyframes bearArmWave { 0%, 100% { rotate: 0deg; } 50% { rotate: 18deg; } }
@keyframes propGlow { 0%, 100% { transform: translateX(-50%) rotate(45deg) scale(1); } 50% { transform: translateX(-50%) rotate(45deg) scale(1.08); } }
@keyframes heroArtFloat { 0%, 100% { transform: scale(1.01) translateY(0); } 50% { transform: scale(1.025) translateY(-3px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes homeHeroBreathe { 0%,100% { transform: scale(1.01); } 50% { transform: scale(1.045) translateY(-4px); } }

.wow-backdrop { position: absolute; inset: 0; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity .25s ease; }
.wow-backdrop.active { opacity: 1; }
.wow-backdrop span { position: absolute; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(215,66,98,.22), transparent 68%); filter: blur(2px); animation: drift 7s ease-in-out infinite; }
.wow-backdrop span:nth-child(1) { left: -32px; top: 8%; }
.wow-backdrop span:nth-child(2) { right: -42px; top: 22%; animation-delay: -1.8s; background: radial-gradient(circle, rgba(38,128,107,.18), transparent 68%); }
.wow-backdrop span:nth-child(3) { left: 22%; bottom: -54px; animation-delay: -3.1s; background: radial-gradient(circle, rgba(240,111,95,.18), transparent 68%); }
.wow-backdrop span:nth-child(4) { right: 18%; bottom: 18%; width: 70px; height: 70px; animation-delay: -4.4s; }
@keyframes drift { 0%, 100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(16px,-18px,0) scale(1.12); } }

.floating-hearts, .particle-burst, .kiss-burst { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.floating-hearts span { position: absolute; width: 11px; height: 11px; left: calc(8% + var(--i, 0) * 12%); bottom: -18px; background: var(--color-brand); transform: rotate(45deg); opacity: 0; animation: floatHeart 4.2s ease-in infinite; }
.floating-hearts span::before, .floating-hearts span::after { content: ""; position: absolute; width: 11px; height: 11px; border-radius: 50%; background: inherit; }
.floating-hearts span::before { left: -6px; top: 0; }
.floating-hearts span::after { left: 0; top: -6px; }
.floating-hearts span:nth-child(1) { --i: 0; animation-delay: .1s; }
.floating-hearts span:nth-child(2) { --i: 1; animation-delay: .7s; background: var(--color-brand-warm); }
.floating-hearts span:nth-child(3) { --i: 2; animation-delay: 1.2s; }
.floating-hearts span:nth-child(4) { --i: 3; animation-delay: .35s; background: var(--color-success); }
.floating-hearts span:nth-child(5) { --i: 4; animation-delay: 1.6s; }
.floating-hearts span:nth-child(6) { --i: 5; animation-delay: .95s; background: var(--color-brand-warm); }
.floating-hearts span:nth-child(7) { --i: 6; animation-delay: 2.1s; }
.floating-hearts span:nth-child(8) { --i: 2.5; animation-delay: 2.5s; }
.floating-hearts span:nth-child(9) { --i: 4.7; animation-delay: 2.8s; }
.floating-hearts span:nth-child(10) { --i: 6.5; animation-delay: 3.1s; }
.floating-hearts span:nth-child(11) { --i: 1.6; animation-delay: 3.4s; }
.floating-hearts span:nth-child(12) { --i: 5.8; animation-delay: 3.7s; }
@keyframes floatHeart { 0% { opacity: 0; transform: translateY(0) rotate(45deg) scale(.7); } 14% { opacity: .7; } 100% { opacity: 0; transform: translateY(-410px) rotate(45deg) scale(1.25); } }
.particle-burst span { position: absolute; left: 50%; top: 38%; width: 7px; height: 7px; border-radius: 50%; background: var(--color-brand); opacity: 0; animation: burst .72s ease-out forwards; transform: translate(-50%, -50%); }
.particle-burst span:nth-child(3n) { background: var(--color-brand-warm); }
.particle-burst span:nth-child(4n) { background: var(--color-success); }
.particle-burst span:nth-child(1) { --x: -110px; --y: -82px; }
.particle-burst span:nth-child(2) { --x: -72px; --y: -118px; }
.particle-burst span:nth-child(3) { --x: -20px; --y: -132px; }
.particle-burst span:nth-child(4) { --x: 42px; --y: -116px; }
.particle-burst span:nth-child(5) { --x: 104px; --y: -76px; }
.particle-burst span:nth-child(6) { --x: 124px; --y: -8px; }
.particle-burst span:nth-child(7) { --x: 92px; --y: 56px; }
.particle-burst span:nth-child(8) { --x: 38px; --y: 88px; }
.particle-burst span:nth-child(9) { --x: -34px; --y: 82px; }
.particle-burst span:nth-child(10) { --x: -98px; --y: 46px; }
.particle-burst span:nth-child(11) { --x: -122px; --y: -12px; }
.particle-burst span:nth-child(12) { --x: -54px; --y: -44px; }
.particle-burst span:nth-child(13) { --x: 58px; --y: -36px; }
.particle-burst span:nth-child(14) { --x: 8px; --y: 34px; }
@keyframes burst { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.2); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1.2); } }
.kiss-burst span { position: absolute; left: 50%; top: 50%; color: var(--color-brand); font-size: 20px; font-weight: 950; opacity: 0; transform: translate(-50%, -50%); animation: kissFly 1.12s ease-out forwards; }
.kiss-burst span:nth-child(2n) { color: var(--color-brand-warm); font-size: 24px; }
.kiss-burst span:nth-child(3n) { color: var(--color-success); font-size: 18px; }
.kiss-burst span:nth-child(1) { --x: -118px; --y: -118px; animation-delay: .02s; }
.kiss-burst span:nth-child(2) { --x: -72px; --y: -142px; animation-delay: .08s; }
.kiss-burst span:nth-child(3) { --x: -18px; --y: -126px; animation-delay: .13s; }
.kiss-burst span:nth-child(4) { --x: 46px; --y: -138px; animation-delay: .04s; }
.kiss-burst span:nth-child(5) { --x: 112px; --y: -108px; animation-delay: .11s; }
.kiss-burst span:nth-child(6) { --x: 138px; --y: -36px; animation-delay: .16s; }
.kiss-burst span:nth-child(7) { --x: 118px; --y: 42px; animation-delay: .07s; }
.kiss-burst span:nth-child(8) { --x: 54px; --y: 96px; animation-delay: .14s; }
.kiss-burst span:nth-child(9) { --x: -22px; --y: 108px; animation-delay: .05s; }
.kiss-burst span:nth-child(10) { --x: -88px; --y: 82px; animation-delay: .12s; }
.kiss-burst span:nth-child(11) { --x: -136px; --y: 18px; animation-delay: .18s; }
.kiss-burst span:nth-child(12) { --x: 12px; --y: -178px; animation-delay: .2s; }
.kiss-burst span:nth-child(13) { --x: 152px; --y: 20px; animation-delay: .22s; }
.kiss-burst span:nth-child(14) { --x: -152px; --y: -42px; animation-delay: .24s; }
.kiss-burst span:nth-child(15) { --x: 86px; --y: 132px; animation-delay: .26s; }
.kiss-burst span:nth-child(16) { --x: -48px; --y: 146px; animation-delay: .28s; }
@keyframes kissFly { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.2) rotate(0); } 18% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1.25) rotate(24deg); } }

@media (max-width: 600px) {
  .invite-shell { max-width: none; height: 100dvh; overflow: hidden; }
  .invite-shell .page { min-height: 100dvh; height: 100dvh; padding: 0; display: block; overflow: hidden; }
  .invite-flow { min-height: 100dvh !important; }
  .invite-shell .story-screen { width: 100%; min-height: 100dvh; height: 100dvh; border-radius: 0; box-shadow: none; }
  .invite-shell .story-success { padding-bottom: max(16px, env(safe-area-inset-bottom)); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .invite-shell .story-success h1 { font-size: clamp(22px, 6.4vw, 25px); }
  .invite-shell .story-success .story-bears { height: clamp(150px, 30dvh, 210px); margin-top: 12px; }
  .invite-shell .final-actions { gap: 7px; }
  .invite-shell .final-actions .button { min-height: 46px; padding-left: 12px; padding-right: 12px; font-size: 14px; }
}

@media (max-height: 700px) {
  .invite-shell .story-ticket { overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .invite-shell .story-ticket .date-ticket { height: 440px; flex-basis: 440px; }
  .invite-shell .story-success .story-bears { height: 145px; margin-top: 10px; }
  .invite-shell .story-success h1 { margin-top: 10px; font-size: 22px; }
  .invite-shell .story-success .final-actions { margin-top: 10px; }
  .invite-shell .final-actions .button { min-height: 44px; }
}

@media (max-width: 720px) {
  .home-shell .topbar { padding-left: 18px; padding-right: 18px; }
  .home-shell .page { padding-top: 14px; }
  .home-shell .hero-intro { min-height: calc(100svh - 108px); max-height: 760px; align-items: flex-end; margin: 0; background: #302752; }
  .hero-intro-art { inset: 0 0 auto; height: 58%; object-fit: cover; object-position: center 54%; transform-origin: center center; }
  .hero-intro-shade { background: linear-gradient(180deg, rgba(30,22,63,.02) 0%, rgba(30,22,63,.08) 34%, rgba(30,22,63,.84) 58%, #251b49 78%, #251b49 100%); }
  .hero-intro::after { height: 54px; }
  .hero-intro-copy { width: 100%; justify-items: center; padding: 28px 24px 64px; gap: 13px; text-align: center; }
  .hero-intro .eyebrow { justify-content: center; }
  .hero-intro h1 { max-width: 350px; font-size: 32px; line-height: 1.08; }
  .hero-intro .lead { max-width: 330px; font-size: 15px; line-height: 1.4; }
  .hero-intro .actions { grid-template-columns: 1fr; gap: 9px; }
  .hero-intro .button { min-height: 51px; }
}

@media (min-width: 721px) {
  .home-shell .hero-intro { min-height: 736px; align-items: flex-end; }
  .home-shell .hero-intro-art { inset: 0 0 auto; height: 58%; object-fit: cover; object-position: center 54%; }
  .home-shell .hero-intro-shade { background: linear-gradient(180deg, rgba(30,22,63,.02) 0%, rgba(30,22,63,.08) 34%, rgba(30,22,63,.84) 58%, #251b49 78%, #251b49 100%); }
  .home-shell .hero-intro-copy { width: 100%; justify-items: center; padding: 28px 28px 64px; gap: 13px; text-align: center; }
  .home-shell .hero-intro .eyebrow { justify-content: center; }
  .home-shell .hero-intro h1 { max-width: 390px; font-size: 34px; line-height: 1.08; }
  .home-shell .hero-intro .lead { max-width: 350px; font-size: 15px; line-height: 1.4; }
  .home-shell .hero-intro .actions { width: 100%; grid-template-columns: 1fr; gap: 9px; }
  .home-shell .hero-intro .button { min-height: 51px; }
}

@media (max-width: 390px) {
  .shell:not(.invite-shell) .page { padding-left: 14px; padding-right: 14px; }
  .home-shell .hero-intro { margin: 0; }
  h1 { font-size: 28px; }
  .feature-grid, .grid2, .preset-picker { grid-template-columns: 1fr; }
  .invite-status-item, .invite-card-meta, .invite-card-actions { grid-template-columns: 1fr; }
  .invite-status-item .status-pill { justify-self: start; }
  .cookie-notice { grid-template-columns: 1fr; justify-items: start; bottom: 10px; }
  .cookie-notice div { justify-content: flex-start; }
  .cookie-notice .button { width: 100%; }
  .activity-card { min-height: 112px; }
  .preset-card { min-height: 74px; }
}
