:root {
  --ink: #10182f;
  --muted: #65708a;
  --blue: #164fd8;
  --blue-2: #0b3fb9;
  --orange: #ff8a30;
  --orange-2: #f56b18;
  --cream: #fff8ef;
  --paper: #fffdf9;
  --mint: #53c7a3;
  --danger: #d93d57;
  --success: #16875f;
  --line: rgba(16, 24, 47, .1);
  --shadow-sm: 0 8px 24px rgba(29, 45, 86, .08);
  --shadow: 0 24px 70px rgba(29, 45, 86, .14);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --content: 1180px;
  --space: clamp(18px, 3vw, 36px);
  color-scheme: light;
}

body.theme-christmas {
  --ink: #fffaf0;
  --muted: #c7c9bd;
  --cream: #061f18;
  --paper: #0d3025;
  --line: rgba(255, 255, 255, .11);
  --blue: #c94336;
  --blue-2: #962b25;
  --orange: #d8ae5b;
  --orange-2: #b98835;
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, .18);
  --shadow: 0 28px 80px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--cream);
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 138, 48, .14), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(22, 79, 216, .12), transparent 28%),
    linear-gradient(rgba(16, 24, 47, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 47, .025) 1px, transparent 1px);
  background-size: auto, auto, 52px 52px, 52px 52px;
}
body.theme-christmas::before {
  background:
    radial-gradient(circle at 8% 5%, rgba(244, 189, 85, .12), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(232, 75, 54, .12), transparent 30%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(135deg, #061f18, #08281f 55%, #041912);
  background-size: auto, auto, 52px 52px, 52px 52px, auto;
}
a { color: inherit; }
img { max-width: 100%; }
.theme-art-christmas { display: none !important; }
body.theme-christmas .theme-art-classic { display: none !important; }
body.theme-christmas .theme-art-christmas { display: inline-block !important; }
button, input, textarea, select { font: inherit; }
button, .btn { min-height: 46px; }
:focus-visible { outline: 3px solid rgba(255, 138, 48, .55); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; padding: 12px 18px; background: var(--ink); color: var(--paper); border-radius: 12px; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 80; padding: 12px 18px 0; pointer-events: none; }
.nav { position: relative; max-width: 1280px; margin: auto; min-height: 70px; padding: 7px 9px 7px 14px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); border-radius: 22px; background: color-mix(in srgb, var(--paper) 86%, transparent); box-shadow: 0 12px 36px rgba(29,45,86,.09); backdrop-filter: blur(20px); pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-mark { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(22, 79, 216, .16)); }
.brand-word { font-size: clamp(1.12rem, 2vw, 1.35rem); font-weight: 600; letter-spacing: -.035em; white-space: nowrap; }
.brand-word span { color: var(--blue); }
.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-menu a { position: relative; padding: 9px 10px; color: var(--muted); text-decoration: none; font-size: .79rem; font-weight: 550; transition: color .2s; }
.nav-menu a:hover { color: var(--ink); }
.nav-menu a.active { color: var(--blue); }
.nav-menu a.active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 99px; background: var(--orange); }
.nav-menu .nav-menu-create { display: none; }
.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.nav-toggle { position: relative; width: 44px; min-height: 44px; padding: 0; display: none; place-items: center; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: color-mix(in srgb, var(--paper) 84%, transparent); cursor: pointer; }
.nav-toggle > span { position: relative; width: 19px; height: 15px; display: block; }
.nav-toggle i { position: absolute; left: 0; width: 19px; height: 1.8px; border-radius: 99px; background: currentColor; transition: top .25s ease, transform .25s ease, opacity .18s ease; }
.nav-toggle i:nth-child(1) { top: 0; }
.nav-toggle i:nth-child(2) { top: 6.5px; }
.nav-toggle i:nth-child(3) { top: 13px; }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { top: 6.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; transform: scaleX(.25); }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { top: 6.5px; transform: rotate(-45deg); }
.nav-create { padding: 7px 13px 7px 8px; }
.nav-create img { width: 29px; height: 31px; object-fit: cover; border-radius: 9px; }
.nav-create-christmas { width: 31px; height: 31px; border-radius: 9px; filter: drop-shadow(0 5px 7px rgba(0,0,0,.18)); }
.language-switch { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.language-switch a { padding: 7px 10px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: .8rem; font-weight: 600; }
.language-switch a.active { color: white; background: var(--blue); }
.page { max-width: var(--content); min-height: calc(100vh - 180px); margin: auto; padding: clamp(28px, 5vw, 68px) 22px 80px; }
.shell { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space); }
.shell.dashboard { grid-template-columns: minmax(0, 1.8fr) minmax(250px, .8fr); align-items: start; }
.shell.dashboard-single { grid-template-columns: minmax(0, 1fr); }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); align-items: center; gap: clamp(28px, 7vw, 90px); min-height: 590px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 4px; background: var(--orange); border-radius: 99px; }
h1, h2 { margin-top: 0; font-family: "Bricolage Grotesque", "Instrument Sans", sans-serif; font-weight: 550; letter-spacing: -.05em; line-height: .98; }
h3 { margin-top: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
h1 { margin-bottom: 22px; font-size: clamp(3rem, 7vw, 6.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1.18rem; }
.gradient-text { background: linear-gradient(115deg, var(--blue), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 650px; margin: 0 0 30px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; min-height: 480px; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 42% 58% 58% 42%; background: linear-gradient(135deg, rgba(22,79,216,.14), rgba(255,138,48,.18)); filter: blur(2px); transform: rotate(-8deg); }
.hero-art img { position: relative; width: min(520px, 95%); filter: drop-shadow(0 35px 38px rgba(27, 48, 101, .2)); }
.btn { appearance: none; border: 0; border-radius: 14px; padding: 12px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 650; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 12px 25px color-mix(in srgb, var(--blue) 25%, transparent); }
.btn-secondary { color: var(--ink); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-orange { color: #172039; background: linear-gradient(135deg, #ffad58, var(--orange)); box-shadow: 0 12px 25px rgba(255, 138, 48, .24); }
.btn-danger { color: white; background: var(--danger); }
.btn-full { width: 100%; }
.btn-sm { min-height: 38px; padding: 8px 12px; font-size: .82rem; }
.btn:disabled { opacity: .55; cursor: wait; transform: none; }
.icon { width: 34px; height: 42px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.icon-lg { width: 70px; height: 92px; border-radius: 18px; object-fit: cover; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 70px; }
.card { background: color-mix(in srgb, var(--paper) 95%, transparent); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-sm); }
.card-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.card-title h2, .card-title h3 { margin: 0; }
.feature-card { min-height: 210px; }
.feature-card p, .muted { color: var(--muted); line-height: 1.65; }
.section { padding: 68px 0; }
.section-heading { max-width: 680px; margin: 0 auto 34px; text-align: center; }
.centered { justify-content: center; text-align: center; }
.legal-consent input { width: auto; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.poll-block { margin-bottom: 22px; }
.result-art, .error-art { width: 180px; margin-inline: auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: steps; }
.step { counter-increment: steps; position: relative; padding-top: 66px; }
.step::before { content: counter(steps, decimal-leading-zero); position: absolute; top: 18px; left: 24px; color: var(--orange); font-weight: 900; font-size: 1.4rem; }
.form-card { max-width: 780px; margin: auto; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 8px; font-size: .88rem; font-weight: 600; }
input, textarea, select { width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px; color: var(--ink); background: color-mix(in srgb, var(--paper) 90%, var(--cream)); transition: border .2s, box-shadow .2s; }
textarea { resize: vertical; min-height: 130px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 16%, transparent); }
.help { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; color: var(--muted); font-size: .8rem; }
.alert { padding: 15px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; background: color-mix(in srgb, var(--orange) 14%, var(--paper)); border: 1px solid color-mix(in srgb, var(--orange) 35%, transparent); }
.alert-error { background: color-mix(in srgb, var(--danger) 12%, var(--paper)); border-color: color-mix(in srgb, var(--danger) 35%, transparent); }
.page-heading { margin-bottom: 32px; }
.page-heading h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); margin-bottom: 10px; }
.dashboard-main, .dashboard-side { display: grid; gap: 18px; }
.gift-target { position: relative; overflow: hidden; min-height: 220px; display: grid; grid-template-columns: 1fr 190px; align-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--blue) 9%, var(--paper)), color-mix(in srgb, var(--orange) 12%, var(--paper))); }
.gift-target img { width: 210px; margin: -28px -12px -28px auto; }
.gift-target .gift-theme-art { width: 190px; height: 190px; margin-left: auto; }
.gift-target .name { font-family: "Bricolage Grotesque", "Instrument Sans", sans-serif; font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 600; color: var(--blue); }
.gift-target-copy { min-width: 0; }
.anonymous-questions-card { position: relative; overflow: hidden; }
.anonymous-questions-card::before { content: ""; position: absolute; right: -95px; top: -110px; width: 230px; aspect-ratio: 1; border: 32px solid color-mix(in srgb, var(--blue) 5%, transparent); border-radius: 50%; pointer-events: none; }
.anonymous-questions-card > * { position: relative; }
.card-title > div .form-step { margin-bottom: 3px; }
.card-title > div h2 { margin: 0; }
.smart-section-lead { max-width: 700px; margin: -4px 0 24px; color: var(--muted); line-height: 1.65; }
.anonymous-thread, .incoming-question-list { display: grid; gap: 10px; }
.anonymous-thread { margin-bottom: 20px; }
.anonymous-message { padding: 17px 18px; display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--paper) 78%, var(--cream)); }
.anonymous-message.sent { border-left: 3px solid var(--blue); }
.anonymous-message.received { border-left: 3px solid var(--orange); }
.anonymous-message-state { color: var(--muted); font-size: .63rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.anonymous-message > strong { font-size: .96rem; line-height: 1.45; }
.anonymous-answer { margin-top: 5px; padding: 13px 15px; border-radius: 14px; background: color-mix(in srgb, var(--blue) 7%, var(--paper)); }
.anonymous-answer span { color: var(--blue); font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.anonymous-answer p { margin: 5px 0 0; color: var(--ink); line-height: 1.5; }
.anonymous-answer.own { background: color-mix(in srgb, var(--orange) 7%, var(--paper)); }
.anonymous-answer.own span { color: var(--orange); }
.anonymous-question-form { margin-top: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: color-mix(in srgb, var(--cream) 60%, transparent); }
.anonymous-question-form textarea { min-height: 105px; }
.identity-check { position: relative; margin: -2px 0 17px; display: grid; grid-template-columns: 19px 1fr; align-items: start; gap: 10px; color: var(--muted); font-size: .75rem; font-weight: 500; line-height: 1.45; cursor: pointer; }
.identity-check input { position: absolute; opacity: 0; pointer-events: none; }
.identity-check input:checked + .custom-check { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 4px var(--paper); }
.identity-check input:focus-visible + .custom-check { outline: 3px solid color-mix(in srgb, var(--orange) 42%, transparent); outline-offset: 2px; }
.incoming-questions { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.incoming-heading { margin-bottom: 15px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.incoming-heading h3 { margin: 3px 0 0; font-size: 1.4rem; }
.incoming-heading > strong { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--blue); background: color-mix(in srgb, var(--blue) 8%, var(--paper)); font-family: "Bricolage Grotesque", sans-serif; font-size: 1.2rem; }
.identity-reminder { margin-bottom: 16px; padding: 14px 16px; display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 11px; border: 1px solid color-mix(in srgb, var(--orange) 26%, var(--line)); border-radius: 15px; background: color-mix(in srgb, var(--orange) 6%, var(--paper)); }
.identity-reminder > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; color: white; background: var(--orange); font-weight: 800; }
.identity-reminder p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.anonymous-answer-form { margin-top: 6px; display: grid; gap: 9px; }
.anonymous-answer-form label { margin: 0; font-size: .72rem; }
.anonymous-answer-form textarea { min-height: 82px; }
.anonymous-answer-form .btn { justify-self: start; }
.empty.compact { padding: 20px; }
.gift-replay { width: fit-content; min-height: 42px; margin-top: 22px; padding: 9px 14px; font-size: .74rem; }
.gift-replay svg { width: 17px; height: 17px; }
.list { display: grid; gap: 10px; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 90%, var(--cream)); border-radius: 14px; }
.list-item-body { min-width: 0; flex: 1; }
.list-item h4 { margin: 0 0 4px; }
.list-item p { margin: 0; color: var(--muted); font-size: .86rem; overflow-wrap: anywhere; }
.empty { padding: 34px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 16px; }
.poll-options { display: grid; gap: 8px; }
.poll-option { position: relative; overflow: hidden; width: 100%; min-height: 44px; padding: 10px 12px; text-align: left; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.poll-option.selected { border-color: var(--orange); box-shadow: 0 0 0 2px color-mix(in srgb, var(--orange) 18%, transparent); }
.progress { position: absolute; inset: 0 auto 0 0; z-index: 0; background: color-mix(in srgb, var(--blue) 12%, transparent); }
.poll-label { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 10px; }
.action-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.link-box { overflow-wrap: anywhere; padding: 12px; color: var(--muted); background: var(--cream); border: 1px solid var(--line); border-radius: 12px; font: .76rem ui-monospace, monospace; }
.badge { display: inline-flex; padding: 6px 10px; color: var(--blue); background: color-mix(in srgb, var(--blue) 10%, transparent); border-radius: 999px; font-size: .76rem; font-weight: 650; }
.toast-stack { position: fixed; right: 22px; top: 98px; z-index: 240; width: min(390px, calc(100vw - 44px)); display: grid; gap: 10px; pointer-events: none; }
.toast { position: relative; min-height: 66px; overflow: hidden; padding: 14px 46px 14px 14px; display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 12px; color: var(--ink); border: 1px solid var(--line); border-radius: 17px; background: color-mix(in srgb, var(--paper) 95%, transparent); box-shadow: 0 20px 55px rgba(7,18,45,.18); backdrop-filter: blur(18px); pointer-events: auto; animation: toastIn .28s cubic-bezier(.2,.8,.2,1) both; }
.toast.is-leaving { animation: toastOut .22s ease both; }
.toast-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; color: var(--success); background: color-mix(in srgb, var(--success) 10%, var(--paper)); }
.toast-icon svg { width: 21px; height: 21px; }
.toast-error .toast-icon { color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, var(--paper)); }
.toast-info .toast-icon { color: var(--blue); background: color-mix(in srgb, var(--blue) 10%, var(--paper)); }
.toast-copy { min-width: 0; font-size: .84rem; font-weight: 600; line-height: 1.4; }
.toast-close { position: absolute; right: 9px; top: 9px; width: 29px; height: 29px; padding: 0; display: grid; place-items: center; color: var(--muted); border: 0; border-radius: 9px; background: transparent; cursor: pointer; }
.toast-close:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.toast-close svg { width: 16px; height: 16px; }
.toast-progress { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; transform-origin: left; background: var(--success); animation: toastProgress 4.2s linear both; }
.toast-error .toast-progress { background: var(--danger); }
.toast-info .toast-progress { background: var(--blue); }
@keyframes toastIn { from { opacity: 0; transform: translate3d(20px,-8px,0) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translate3d(24px,0,0) scale(.97); } }
@keyframes toastProgress { to { transform: scaleX(0); } }
.confirm-modal { position: fixed; inset: 0; z-index: 230; padding: 20px; display: grid; place-items: center; background: rgba(5,12,28,.66); backdrop-filter: blur(13px); animation: confirmBackdropIn .2s ease both; }
.confirm-modal.is-leaving { animation: confirmBackdropOut .18s ease both; }
.confirm-dialog { width: min(480px, 100%); padding: clamp(28px, 5vw, 40px); color: var(--ink); border: 1px solid color-mix(in srgb, var(--danger) 13%, var(--line)); border-radius: 28px; background: color-mix(in srgb, var(--paper) 97%, transparent); box-shadow: 0 38px 110px rgba(4,11,27,.38); animation: confirmDialogIn .28s cubic-bezier(.2,.8,.2,1) both; }
.confirm-modal.is-leaving .confirm-dialog { animation: confirmDialogOut .18s ease both; }
.confirm-icon { width: 58px; height: 58px; margin-bottom: 22px; display: grid; place-items: center; color: var(--danger); border-radius: 18px; background: color-mix(in srgb, var(--danger) 9%, var(--paper)); }
.confirm-icon svg { width: 28px; height: 28px; }
.confirm-eyebrow { color: var(--danger); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.confirm-dialog h2 { margin: 8px 0 12px; font-size: clamp(2rem, 6vw, 3rem); line-height: 1; }
.confirm-dialog p { margin: 0; color: var(--muted); line-height: 1.65; }
.confirm-actions { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.confirm-actions .btn { min-height: 50px; }
.confirm-delete { color: white; background: linear-gradient(135deg, var(--danger), color-mix(in srgb, var(--danger) 76%, #8f1426)); box-shadow: 0 12px 25px color-mix(in srgb, var(--danger) 22%, transparent); }
.confirm-delete svg { width: 18px; height: 18px; }
body.confirm-modal-open { overflow: hidden; }
@keyframes confirmBackdropIn { from { opacity: 0; } }
@keyframes confirmBackdropOut { to { opacity: 0; } }
@keyframes confirmDialogIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes confirmDialogOut { to { opacity: 0; transform: translateY(8px) scale(.98); } }
.modal { position: fixed; inset: 0; z-index: 120; display: none; place-items: center; padding: 20px; background: rgba(5, 12, 28, .62); backdrop-filter: blur(8px); }
.modal.open { display: grid; }
.modal-card { width: min(520px, 100%); }
.modal-card.centered { text-align: center; }
.upgrade-notice { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 20px; overflow-y: auto; background: rgba(5,12,28,.7); backdrop-filter: blur(14px); }
.upgrade-notice[hidden] { display: none; }
.upgrade-notice-dialog { position: relative; width: min(580px, 100%); padding: clamp(30px, 6vw, 52px); overflow: hidden; border: 1px solid color-mix(in srgb, var(--paper) 58%, transparent); border-radius: 32px; color: var(--ink); background: color-mix(in srgb, var(--paper) 97%, transparent); box-shadow: 0 45px 120px rgba(3,10,28,.42); animation: toolDialogIn .34s cubic-bezier(.2,.8,.2,1) both; }
.upgrade-notice-dialog::before { content: ""; position: absolute; right: -78px; top: -102px; width: 250px; aspect-ratio: 1; border: 40px solid color-mix(in srgb, var(--blue) 7%, transparent); border-radius: 50%; pointer-events: none; }
.upgrade-notice-brand { position: relative; width: 78px; height: 78px; margin-bottom: 24px; display: grid; place-items: center; border-radius: 24px; background: color-mix(in srgb, var(--blue) 9%, var(--paper)); box-shadow: 0 16px 34px color-mix(in srgb, var(--blue) 14%, transparent); }
.upgrade-notice-brand img { width: 70px; height: 70px; object-fit: contain; }
.upgrade-notice-dialog h2 { position: relative; margin: 8px 0 14px; max-width: 470px; font-size: clamp(2.2rem, 7vw, 3.7rem); line-height: .98; }
.upgrade-notice-dialog > p { position: relative; margin: 0 0 24px; color: var(--muted); font-size: 1.02rem; line-height: 1.65; }
.upgrade-notice-points { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.upgrade-notice-points span { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: color-mix(in srgb, var(--blue) 5%, var(--paper)); font-size: .78rem; font-weight: 700; }
.upgrade-notice-dialog > .btn { position: relative; min-height: 54px; }
body.upgrade-notice-open { overflow: hidden; }
.external-wish-link { color: var(--blue); font-weight: 550; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.external-link-modal { position: fixed; inset: 0; z-index: 150; padding: 20px; display: grid; place-items: center; overflow-y: auto; background: rgba(5,12,28,.62); backdrop-filter: blur(12px); }
.external-link-modal[hidden] { display: none; }
.external-link-dialog { width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: clamp(28px, 5vw, 42px); border: 1px solid var(--line); border-radius: 30px; color: var(--ink); background: color-mix(in srgb, var(--paper) 97%, transparent); box-shadow: 0 36px 100px rgba(5,12,28,.3); animation: toolDialogIn .28s cubic-bezier(.2,.8,.2,1) both; }
.external-link-icon { width: 58px; height: 58px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 18px; color: var(--blue); background: color-mix(in srgb, var(--blue) 9%, var(--paper)); }
.external-link-icon svg { width: 28px; height: 28px; }
.external-link-dialog h2 { margin: 5px 0 14px; font-size: clamp(2rem, 5vw, 3rem); }
.external-link-dialog > p { margin: 0 0 22px; color: var(--muted); line-height: 1.65; }
.external-link-preview { padding: 15px 17px; display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 16px; background: var(--cream); }
.external-link-preview span { color: var(--muted); font-size: .65rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.external-link-preview strong { overflow-wrap: anywhere; font-size: 1rem; }
.external-link-preview small { overflow-wrap: anywhere; color: var(--muted); font-size: .7rem; }
.external-link-dialog .external-link-consent { margin: 20px 0 14px; color: var(--ink); font-weight: 600; }
.external-link-actions { display: grid; grid-template-columns: .75fr 1.25fr; gap: 9px; }
body.external-modal-open { overflow: hidden; }
.draw-reveal { overflow: hidden; color: #fff; background: radial-gradient(circle at 50% 44%, rgba(22,79,216,.3), transparent 30%), linear-gradient(145deg, rgba(5,12,28,.96), rgba(10,31,78,.97)); backdrop-filter: blur(14px); }
.draw-reveal.reveal-theme-christmas { background: radial-gradient(circle at 50% 42%, rgba(216,174,91,.2), transparent 30%), linear-gradient(145deg, rgba(3,24,18,.98), rgba(10,55,39,.98)); }
.reveal-card { position: relative; z-index: 3; width: min(680px, 100%); min-height: min(680px, calc(100vh - 40px)); padding: clamp(24px, 5vw, 48px); display: flex; flex-direction: column; align-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: clamp(26px, 5vw, 44px); background: rgba(255,255,255,.075); box-shadow: 0 40px 110px rgba(0,0,0,.38); backdrop-filter: blur(24px); text-align: center; isolation: isolate; }
.reveal-card::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: radial-gradient(circle at 50% 13%, rgba(255,255,255,.14), transparent 46%); }
.reveal-kicker { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.68); font-size: .66rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.reveal-kicker span { width: 26px; height: 2px; border-radius: 99px; background: var(--orange); }
.reveal-visual { position: relative; width: clamp(220px, 42vw, 310px); aspect-ratio: 1; margin: 12px auto 6px; display: grid; place-items: center; }
.reveal-visual-art { position: relative; z-index: 3; width: 82%; filter: drop-shadow(0 24px 24px rgba(0,0,0,.32)); transform: rotate(3deg); transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .7s ease; }
.reveal-christmas-art { width: 98%; transform: rotate(-2deg); }
.reveal-ring { position: absolute; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.reveal-ring-one { inset: 4%; border-color: color-mix(in srgb, var(--blue) 60%, rgba(255,255,255,.16)); }
.reveal-ring-two { inset: 16%; border-color: color-mix(in srgb, var(--orange) 68%, transparent); transform: rotate(-18deg); }
.reveal-flare { position: absolute; z-index: 1; width: 38%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.18); filter: blur(24px); opacity: .4; }
.reveal-intro { max-height: 170px; opacity: 1; transition: opacity .35s ease, transform .45s ease, max-height .45s ease; }
.reveal-intro h2 { max-width: 540px; margin: 0 auto 13px; color: #fff; font-size: clamp(2rem, 5vw, 3.5rem); }
.reveal-intro p { max-width: 480px; margin: 0 auto; color: rgba(255,255,255,.62); line-height: 1.6; }
.reveal-progress { max-height: 0; display: grid; justify-items: center; gap: 12px; overflow: hidden; opacity: 0; color: rgba(255,255,255,.76); font-size: .78rem; transition: opacity .35s ease, max-height .35s ease; }
.reveal-progress-line { width: 180px; height: 3px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.12); }
.reveal-progress-line::after { content: ""; display: block; width: 45%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--orange)); transform: translateX(-120%); }
.reveal-result { max-height: 0; overflow: hidden; opacity: 0; transform: translateY(18px) scale(.96); transition: opacity .55s ease, transform .65s cubic-bezier(.2,.9,.2,1), max-height .5s ease; }
.reveal-result > span { display: block; margin-bottom: 8px; color: rgba(255,255,255,.58); font-size: .72rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.reveal-result h2 { margin: 0; color: #fff; font-size: clamp(3rem, 9vw, 6rem); text-shadow: 0 12px 34px rgba(0,0,0,.28); }
.reveal-result p { max-width: 480px; margin: 16px auto 0; color: rgba(255,255,255,.66); line-height: 1.6; }
.reveal-button { width: min(360px, 100%); min-height: 56px; margin-top: auto; }
.reveal-light { position: absolute; z-index: 1; width: 420px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; }
.reveal-light-one { left: -190px; top: -170px; box-shadow: 0 0 0 70px rgba(255,255,255,.025); }
.reveal-light-two { right: -210px; bottom: -210px; box-shadow: 0 0 0 70px rgba(255,255,255,.025); }
.reveal-particles { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.reveal-particles i { position: absolute; left: var(--particle-x); top: -5%; width: var(--particle-size); height: var(--particle-size); border-radius: 2px; background: var(--blue); opacity: 0; transform: rotate(45deg); }
.reveal-particles i:nth-child(3n+2) { background: var(--orange); border-radius: 50%; }
.reveal-particles i:nth-child(3n) { background: rgba(255,255,255,.8); }
.reveal-theme-christmas .reveal-particles i { border-radius: 50%; background: rgba(255,250,240,.88); box-shadow: 0 0 8px rgba(255,255,255,.3); }
.reveal-theme-christmas .reveal-particles i:nth-child(4n+2) { background: #d8ae5b; }
.reveal-theme-christmas .reveal-particles i:nth-child(4n) { background: #c94336; }
.draw-reveal.is-drawing .reveal-intro, .draw-reveal.is-revealed .reveal-intro { max-height: 0; opacity: 0; transform: translateY(-12px); }
.draw-reveal.is-drawing .reveal-progress { max-height: 70px; opacity: 1; }
.draw-reveal.is-drawing .reveal-progress-line::after { animation: revealProgress 1.1s ease-in-out infinite; }
.draw-reveal.is-drawing .reveal-ring-one { animation: revealSpin 2.1s linear infinite; }
.draw-reveal.is-drawing .reveal-ring-two { animation: revealSpinReverse 1.55s linear infinite; }
.draw-reveal.is-drawing .reveal-visual-art { animation: revealGift 1s ease-in-out infinite; filter: drop-shadow(0 30px 32px color-mix(in srgb, var(--blue) 35%, transparent)); }
.draw-reveal.is-drawing .reveal-particles i, .draw-reveal.is-revealed .reveal-particles i { animation: revealParticle var(--particle-duration) var(--particle-delay) ease-out both; }
.draw-reveal.is-revealed .reveal-result { max-height: 260px; opacity: 1; transform: translateY(0) scale(1); }
.draw-reveal.is-revealed .reveal-button { transform: translateY(14px); }
.draw-reveal.is-revealed .reveal-visual-art { transform: scale(.82) rotate(-4deg); filter: drop-shadow(0 22px 34px color-mix(in srgb, var(--orange) 42%, transparent)); }
.draw-reveal.is-revealed .reveal-ring-one { transform: scale(1.08); border-color: color-mix(in srgb, var(--orange) 55%, transparent); }
.draw-reveal.is-revealed .reveal-flare { opacity: .9; transform: scale(1.8); transition: transform .8s ease, opacity .6s ease; }
@keyframes revealSpin { to { transform: rotate(360deg); } }
@keyframes revealSpinReverse { from { transform: rotate(-18deg); } to { transform: rotate(-378deg); } }
@keyframes revealGift { 0%,100% { transform: translateY(0) rotate(3deg) scale(.96); } 50% { transform: translateY(-12px) rotate(-3deg) scale(1.04); } }
@keyframes revealProgress { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }
@keyframes revealParticle { 0% { opacity: 0; transform: translateY(-5vh) rotate(0) scale(.4); } 18% { opacity: .9; } 100% { opacity: 0; transform: translateY(108vh) rotate(360deg) scale(1); } }
.site-footer { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 52%, transparent); }
.footer-inner { max-width: var(--content); margin: auto; padding: 36px 22px; display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; align-items: center; gap: 34px; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; text-decoration: none; font-size: .96rem; font-weight: 500; letter-spacing: -.025em; }
.footer-brand img { width: 42px; height: 42px; object-fit: contain; }
.footer-brand-christmas { width: 42px; height: 42px; }
.footer-brand strong { color: var(--blue); font-weight: 650; }
.footer-links { display: grid; grid-template-columns: repeat(4, max-content); justify-content: center; gap: 9px 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .79rem; font-weight: 500; }
.footer-links a:hover { color: var(--blue); }
.footer-meta { display: flex; align-items: center; justify-content: flex-end; gap: 14px; white-space: nowrap; }
.footer-meta small { color: var(--muted); font-size: .72rem; }
.cookie-settings-button { width: 46px; height: 46px; padding: 4px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--paper); box-shadow: 0 7px 18px rgba(29,45,86,.1); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.cookie-settings-button:hover { transform: rotate(-5deg) translateY(-2px); box-shadow: 0 11px 24px rgba(29,45,86,.15); }
.cookie-settings-button img { width: 38px; height: 38px; object-fit: contain; }
.cookie-banner { position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 110; display: none; max-width: 900px; margin: auto; }
.cookie-banner.visible { display: block; }
.cookie-content { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.legal { max-width: 850px; margin: auto; }
.legal h2 { margin-top: 34px; font-size: 1.4rem; }
.legal p, .legal li { color: var(--muted); line-height: 1.75; }
.remembered { display: none; margin-top: 20px; }
.remembered.visible { display: block; }
.remembered-list { display: grid; gap: 10px; }
.remembered-item { display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 8px; }
.remembered-link { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px; text-decoration: none; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.remembered-link:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--blue) 24%, var(--line)); box-shadow: var(--shadow-sm); }
.remembered-link span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.remembered-remove { width: 48px; min-height: 48px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--paper) 92%, var(--cream)); cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.remembered-remove:hover { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 28%, var(--line)); background: color-mix(in srgb, var(--danger) 7%, var(--paper)); transform: translateY(-1px); }
.remembered-remove svg { width: 18px; height: 18px; }
body.theme-christmas .remembered-link .christmas-icon { width: 40px; height: 40px; border-radius: 0; }

/* Organizer workspace */
.organizer-page .page { max-width: 1280px; padding-top: 46px; }
.organizer-hero { position: relative; min-height: 390px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); align-items: center; overflow: hidden; margin-bottom: 22px; border-radius: clamp(26px, 4vw, 44px); color: white; background: linear-gradient(135deg, #10245a 0%, #153c9b 64%, #164fd8 100%); box-shadow: 0 30px 75px rgba(18,51,129,.2); }
.organizer-hero::before { content: ""; position: absolute; left: -130px; bottom: -240px; width: 500px; aspect-ratio: 1; border: 60px solid rgba(255,255,255,.045); border-radius: 50%; }
body.theme-christmas .organizer-hero { background: radial-gradient(circle at 83% 23%, rgba(216,174,91,.2), transparent 24%), radial-gradient(circle at 10% 92%, rgba(201,67,54,.2), transparent 32%), linear-gradient(135deg, #062c21 0%, #0b4633 58%, #073426 100%); box-shadow: 0 32px 85px rgba(0,0,0,.34), inset 0 0 0 1px rgba(216,174,91,.12); }
body.theme-christmas .organizer-hero::before { left: -150px; bottom: -270px; border-color: rgba(216,174,91,.09); }
body.theme-christmas .organizer-hero::after { content: ""; position: absolute; right: 18%; top: -38%; width: 380px; aspect-ratio: 1; border: 1px solid rgba(216,174,91,.16); border-radius: 50%; box-shadow: 0 0 0 54px rgba(201,67,54,.045), 0 0 0 108px rgba(216,174,91,.035); pointer-events: none; }
body.theme-christmas .organizer-hero-copy { background: linear-gradient(90deg, rgba(3,30,22,.34), transparent 86%); }
.organizer-hero-copy { position: relative; z-index: 2; padding: clamp(38px, 6vw, 72px); }
.organizer-status { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.78); background: rgba(255,255,255,.08); font-size: .7rem; font-weight: 600; }
.organizer-status i { width: 8px; height: 8px; border-radius: 50%; background: #62dfa8; box-shadow: 0 0 0 5px rgba(98,223,168,.12); }
body.theme-christmas .organizer-status i { background: #e1b85f; box-shadow: 0 0 0 5px rgba(225,184,95,.14); }
.organizer-hero h1 { max-width: 800px; margin-bottom: 13px; color: white; font-size: clamp(3.2rem, 7vw, 6.3rem); }
.organizer-hero-copy > p { margin: 0; color: rgba(255,255,255,.7); font-size: 1rem; }
.organizer-metrics { max-width: 680px; margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(255,255,255,.065); backdrop-filter: blur(10px); }
.organizer-metrics div { min-width: 0; padding: 15px 18px; border-right: 1px solid rgba(255,255,255,.12); }
.organizer-metrics div:last-child { border-right: 0; }
.organizer-metrics strong, .organizer-metrics span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.organizer-metrics strong { margin-bottom: 3px; color: white; font-family: "Bricolage Grotesque", sans-serif; font-size: 1.15rem; font-weight: 550; }
.organizer-metrics span { color: rgba(255,255,255,.57); font-size: .65rem; }
.organizer-hero-art { position: relative; min-height: 100%; display: grid; place-items: center; isolation: isolate; }
.organizer-hero-art::before { content: ""; position: absolute; z-index: -2; width: 360px; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.1); box-shadow: 0 0 0 45px rgba(255,255,255,.035); }
body.theme-christmas .organizer-hero-art::before { background: rgba(216,174,91,.09); box-shadow: 0 0 0 45px rgba(201,67,54,.045), 0 0 55px rgba(216,174,91,.12); }
.organizer-hero-art img { width: min(330px, 92%); filter: drop-shadow(0 30px 28px rgba(2,12,45,.3)); transform: rotate(5deg); }
body.theme-christmas .organizer-hero-art img { width: min(300px, 88%); filter: drop-shadow(0 28px 30px rgba(0,0,0,.38)) drop-shadow(0 0 18px rgba(216,174,91,.16)); }
.organizer-theme-art { width: 285px; height: 285px; filter: drop-shadow(0 28px 28px rgba(2,12,45,.28)); }
.organizer-orbit { position: absolute; width: 410px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; transform: rotate(-14deg); }
body.theme-christmas .organizer-orbit { border-color: rgba(216,174,91,.3); box-shadow: inset 0 0 38px rgba(216,174,91,.04); }
.organizer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 20px; }
.organizer-main { min-width: 0; display: grid; gap: 18px; }
.organizer-panel, .organizer-access-card, .organizer-actions-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--paper) 91%, transparent); box-shadow: 0 18px 55px rgba(29,45,86,.075); }
.organizer-panel { padding: clamp(24px, 4vw, 42px); }
.organizer-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.organizer-panel-heading h2 { margin-bottom: 10px; font-size: clamp(2rem, 4vw, 3.35rem); }
.organizer-panel-heading p { max-width: 650px; margin: 0; color: var(--muted); line-height: 1.65; }
.panel-count { min-width: 74px; padding: 11px 13px; border-radius: 15px; color: var(--blue); background: color-mix(in srgb, var(--blue) 8%, transparent); text-align: center; }
.panel-count strong, .panel-count span { display: block; }
.panel-count strong { font-size: 1.45rem; line-height: 1; }
.panel-count span { margin-top: 4px; font-size: .62rem; }
.participant-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.participant-link-card { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, color-mix(in srgb, var(--paper) 96%, transparent), color-mix(in srgb, var(--blue) 3%, var(--paper))); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.participant-link-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--blue) 22%, var(--line)); box-shadow: 0 16px 28px rgba(29,45,86,.08); }
.participant-link-top { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 11px; }
.participant-avatar { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: white; background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 8px 17px rgba(22,79,216,.2); font-family: "Bricolage Grotesque", sans-serif; font-size: 1.25rem; font-weight: 550; }
.participant-sequence { display: block; margin-bottom: 2px; color: var(--orange); font-size: .57rem; font-weight: 700; letter-spacing: .13em; }
.participant-link-card h3 { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; }
.visit-status { padding: 5px 8px; border-radius: 999px; color: #9a6a16; background: rgba(240,177,61,.12); font-size: .57rem; font-weight: 650; }
.visit-status.viewed { color: var(--success); background: color-mix(in srgb, var(--success) 10%, transparent); }
.participant-link-value { min-width: 0; margin: 17px 0 10px; padding: 10px 11px; display: flex; align-items: center; gap: 9px; border-radius: 12px; color: var(--muted); background: var(--cream); }
.participant-link-value > span { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--orange); }
.participant-link-value code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .64rem; }
.participant-primary-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: 8px; }
.participant-copy, .participant-share-toggle { min-width: 0; min-height: 43px; padding: 9px 10px; border-radius: 12px; font-size: .7rem; }
.participant-share-toggle { color: white; background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 9px 18px color-mix(in srgb, var(--blue) 20%, transparent); }
.share-toggle-mark { width: 17px; height: 17px; flex: 0 0 auto; }
.participant-copy i, .organizer-copy i { position: relative; width: 15px; height: 15px; }
.participant-copy i::before, .participant-copy i::after, .organizer-copy i::before, .organizer-copy i::after { content: ""; position: absolute; width: 8px; height: 10px; border: 1.5px solid currentColor; border-radius: 3px; }
.participant-copy i::before, .organizer-copy i::before { left: 1px; top: 4px; }
.participant-copy i::after, .organizer-copy i::after { right: 1px; top: 1px; background: inherit; }
.activity-panel .card-title h2 { font-size: 1.8rem; }
.activity-panel { scroll-margin-top: 112px; transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.activity-panel-highlight { border-color: rgba(29, 83, 222, .55); box-shadow: 0 24px 58px rgba(18, 51, 120, .16), 0 0 0 4px rgba(29, 83, 222, .1); transform: translateY(-2px); }
.poll-summary-card { display: block; padding: 22px; border-radius: 20px; }
.poll-summary-card + .poll-summary-card { margin-top: 12px; }
.poll-summary-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.poll-summary-heading h4 { margin: 8px 0 0; font-size: clamp(1.2rem, 2.5vw, 1.65rem); line-height: 1.15; }
.poll-state { width: fit-content; display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-size: .66rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.poll-state i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 12%, transparent); }
.poll-state.finished { color: var(--success); }
.poll-vote-count { min-width: 64px; padding: 9px 11px; border-radius: 14px; color: var(--blue); background: color-mix(in srgb, var(--blue) 8%, var(--paper)); text-align: center; }
.poll-vote-count strong, .poll-vote-count span { display: block; }
.poll-vote-count strong { font-size: 1.25rem; line-height: 1; }
.poll-vote-count span { margin-top: 3px; color: var(--muted); font-size: .58rem; }
.poll-summary-tools { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.poll-summary-tools .action-grid { display: flex; align-items: center; gap: 7px; }
.poll-summary-tools .btn { min-width: 0; min-height: 42px; padding: 9px 13px; box-shadow: none; }
.poll-delete-button { color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 18%, var(--line)); background: color-mix(in srgb, var(--danger) 6%, var(--paper)); }
.poll-delete-button:hover { border-color: color-mix(in srgb, var(--danger) 35%, var(--line)); background: color-mix(in srgb, var(--danger) 10%, var(--paper)); }
.poll-delete-button svg { width: 17px; height: 17px; flex: 0 0 auto; }
.poll-outcome { margin: 0 0 16px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; border: 1px solid color-mix(in srgb, var(--success) 25%, var(--line)); border-radius: 15px; background: color-mix(in srgb, var(--success) 7%, var(--paper)); }
.poll-outcome-mark { position: relative; width: 32px; height: 32px; flex: 0 0 auto; border: 1.5px solid color-mix(in srgb, var(--success) 48%, var(--line)); border-radius: 50%; color: var(--success); background: color-mix(in srgb, var(--success) 8%, var(--paper)); box-shadow: none; }
.poll-outcome-mark::before { content: ""; position: absolute; left: 9px; top: 8px; width: 10px; height: 6px; border: solid currentColor; border-width: 0 0 1.8px 1.8px; transform: rotate(-45deg); }
.poll-outcome strong, .poll-outcome span { display: block; }
.poll-outcome strong { margin-bottom: 2px; font-size: .76rem; }
.poll-outcome span { color: var(--muted); font-size: .76rem; }
.poll-outcome.tie { border-color: color-mix(in srgb, var(--orange) 28%, var(--line)); background: color-mix(in srgb, var(--orange) 8%, var(--paper)); }
.poll-outcome.tie .poll-outcome-mark { color: var(--orange); border-color: color-mix(in srgb, var(--orange) 48%, var(--line)); background: color-mix(in srgb, var(--orange) 8%, var(--paper)); }
.poll-outcome.empty-result { border-color: var(--line); background: color-mix(in srgb, var(--ink) 3%, var(--paper)); }
.poll-outcome.empty-result .poll-outcome-mark { color: var(--muted); border-color: var(--line); background: color-mix(in srgb, var(--ink) 3%, var(--paper)); }
.poll-summary-card .poll-option { cursor: default; }
.poll-summary-card .poll-option.result-finished { color: var(--muted); background: color-mix(in srgb, var(--ink) 2%, transparent); }
.poll-summary-card .poll-option.result-winner, .poll-summary-card .poll-option.result-tied { border-color: color-mix(in srgb, var(--success) 40%, var(--line)); background: color-mix(in srgb, var(--success) 5%, var(--paper)); box-shadow: 0 8px 22px color-mix(in srgb, var(--success) 10%, transparent); }
.poll-summary-card .poll-option.result-tied { border-color: color-mix(in srgb, var(--orange) 42%, var(--line)); background: color-mix(in srgb, var(--orange) 6%, var(--paper)); }
.poll-summary-card .result-winner .progress { background: color-mix(in srgb, var(--success) 19%, transparent); }
.poll-summary-card .result-tied .progress { background: color-mix(in srgb, var(--orange) 18%, transparent); }
.poll-label em { margin-left: 8px; padding: 3px 6px; border-radius: 999px; color: var(--success); background: color-mix(in srgb, var(--success) 11%, transparent); font-size: .56rem; font-style: normal; font-weight: 700; text-transform: uppercase; }
.result-tied .poll-label em { color: color-mix(in srgb, var(--orange) 80%, #8a4b00); background: color-mix(in srgb, var(--orange) 13%, transparent); }
.participant-poll-card { padding: 18px 0 22px; border-bottom: 1px solid var(--line); }
.participant-poll-card:last-child { padding-bottom: 0; border-bottom: 0; }
.participant-poll-card .poll-summary-heading { margin-bottom: 14px; }
.participant-poll-card .poll-summary-heading h4 { margin-top: 7px; }
.poll-is-finished .poll-option { cursor: default; opacity: 1; }
.poll-is-finished .poll-option.result-finished { color: var(--muted); background: color-mix(in srgb, var(--ink) 2%, transparent); }
.poll-is-finished .poll-option.result-winner, .poll-is-finished .poll-option.result-tied { border-color: color-mix(in srgb, var(--success) 40%, var(--line)); background: color-mix(in srgb, var(--success) 5%, var(--paper)); box-shadow: 0 8px 22px color-mix(in srgb, var(--success) 10%, transparent); }
.poll-is-finished .poll-option.result-tied { border-color: color-mix(in srgb, var(--orange) 42%, var(--line)); background: color-mix(in srgb, var(--orange) 6%, var(--paper)); }
.poll-is-finished .result-winner .progress { background: color-mix(in srgb, var(--success) 19%, transparent); }
.poll-is-finished .result-tied .progress { background: color-mix(in srgb, var(--orange) 18%, transparent); }
.organizer-sidebar { position: sticky; top: 98px; display: grid; gap: 16px; }
.organizer-access-card, .organizer-actions-card { padding: 26px; }
.access-icon { width: 68px; height: 68px; margin-bottom: 24px; display: grid; place-items: center; border-radius: 20px; background: color-mix(in srgb, var(--blue) 8%, var(--paper)); }
.access-icon img { width: 58px; height: 58px; display: block; object-fit: contain; object-position: center; border-radius: 0; }
.access-icon img.theme-art-classic { width: 64px; height: 64px; transform: none; }
body.theme-christmas .access-icon img { width: 58px; height: 58px; object-fit: contain; }
.organizer-access-card h2, .sidebar-heading h2 { margin: 4px 0 13px; font-size: 1.65rem; }
.organizer-access-card p { margin: 0 0 22px; color: var(--muted); line-height: 1.65; }
.organizer-copy { min-height: 54px; }
.organizer-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.organizer-actions button { min-width: 0; min-height: 108px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: color-mix(in srgb, var(--paper) 88%, var(--cream)); cursor: pointer; font-size: .65rem; font-weight: 600; line-height: 1.2; transition: transform .2s, border-color .2s, box-shadow .2s; }
.organizer-actions button:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--blue) 24%, var(--line)); box-shadow: 0 10px 20px rgba(29,45,86,.08); }
.organizer-actions img { width: 46px; height: 55px; object-fit: cover; border-radius: 12px; }
body.theme-christmas .organizer-actions img { width: 50px; height: 50px; object-fit: contain; }
body.theme-christmas .card-title .icon { width: 48px; height: 48px; object-fit: contain; border-radius: 0; }
.organizer-logout { margin-top: 12px; min-height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 12px; color: var(--muted); background: color-mix(in srgb, var(--ink) 4%, transparent); text-decoration: none; font-size: .72rem; font-weight: 600; }
.organizer-delete-draw { width: 100%; min-height: 42px; margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 16%, var(--line)); border-radius: 12px; background: transparent; cursor: pointer; font-size: .72rem; font-weight: 600; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.organizer-delete-draw:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--danger) 32%, var(--line)); background: color-mix(in srgb, var(--danger) 6%, transparent); }
.organizer-delete-draw:disabled { opacity: .55; cursor: wait; transform: none; }
.organizer-delete-draw svg { width: 16px; height: 16px; }
.organizer-tool-modal { position: fixed; inset: 0; z-index: 140; padding: 20px; display: grid; place-items: center; overflow-y: auto; background: rgba(5,12,28,.58); backdrop-filter: blur(12px); }
.organizer-tool-modal[hidden] { display: none; }
.organizer-tool-dialog { position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: clamp(28px, 5vw, 42px); border: 1px solid var(--line); border-radius: 30px; color: var(--ink); background: color-mix(in srgb, var(--paper) 96%, transparent); box-shadow: 0 36px 100px rgba(5,12,28,.28); animation: toolDialogIn .28s cubic-bezier(.2,.8,.2,1) both; }
.organizer-tool-dialog .sidebar-heading { padding-right: 48px; }
.organizer-tool-dialog .sidebar-heading h2 { margin-bottom: 10px; font-size: clamp(2rem, 5vw, 3rem); }
.organizer-tool-dialog .sidebar-heading p { margin: 0 0 28px; color: var(--muted); line-height: 1.6; }
.organizer-tool-dialog textarea { min-height: 150px; }
.organizer-tool-dialog .poll-options-group { margin-bottom: 26px; }
.organizer-tool-dialog .poll-option-entry input { font-size: .92rem; }
.tool-modal-close { position: absolute; right: 20px; top: 20px; width: 42px; min-height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--paper); cursor: pointer; transition: transform .2s ease, background .2s ease; }
.tool-modal-close:hover { transform: rotate(5deg); background: var(--cream); }
.tool-modal-close svg { width: 19px; height: 19px; }
body.tool-modal-open { overflow: hidden; }
.created-draw-modal { position: fixed; inset: 0; z-index: 190; padding: 20px; display: grid; place-items: center; overflow-y: auto; background: rgba(5,12,28,.72); backdrop-filter: blur(16px); }
.created-draw-modal[hidden] { display: none; }
.created-draw-dialog { position: relative; width: min(620px, 100%); padding: clamp(30px, 6vw, 54px); overflow: hidden; border: 1px solid rgba(255,255,255,.5); border-radius: 32px; color: var(--ink); background: color-mix(in srgb, var(--paper) 97%, transparent); box-shadow: 0 45px 120px rgba(3,10,28,.42); animation: toolDialogIn .34s cubic-bezier(.2,.8,.2,1) both; }
.created-draw-dialog::before { content: ""; position: absolute; right: -90px; top: -110px; width: 260px; aspect-ratio: 1; border: 42px solid color-mix(in srgb, var(--blue) 7%, transparent); border-radius: 50%; pointer-events: none; }
.created-draw-icon { position: relative; width: 72px; height: 72px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 22px; background: color-mix(in srgb, var(--blue) 9%, var(--paper)); box-shadow: 0 14px 30px color-mix(in srgb, var(--blue) 13%, transparent); }
.created-draw-icon img { width: 62px; height: 72px; object-fit: cover; border-radius: 17px; }
body.theme-christmas .created-draw-icon img { width: 62px; height: 62px; object-fit: contain; border-radius: 0; }
.created-draw-dialog h2 { position: relative; max-width: 480px; margin: 9px 0 13px; font-size: clamp(2.25rem, 6vw, 3.8rem); line-height: .98; }
.created-draw-dialog > p { max-width: 510px; margin: 0 0 26px; color: var(--muted); line-height: 1.65; }
.created-link-box { padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 12px; border: 1px solid color-mix(in srgb, var(--blue) 16%, var(--line)); border-radius: 18px; background: color-mix(in srgb, var(--blue) 4%, var(--cream)); }
.created-link-box > span { color: var(--blue); font-size: .64rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.created-link-box code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: .72rem; }
.created-link-box .btn { grid-column: 2; grid-row: 1 / span 2; min-width: 132px; }
.created-link-box button i { position: relative; width: 15px; height: 15px; }
.created-link-box button i::before, .created-link-box button i::after { content: ""; position: absolute; width: 8px; height: 10px; border: 1.5px solid currentColor; border-radius: 3px; }
.created-link-box button i::before { left: 1px; top: 4px; }
.created-link-box button i::after { right: 1px; top: 1px; background: inherit; }
.created-link-confirm { position: relative; margin: 18px 0 14px; min-height: 58px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); cursor: pointer; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.created-link-confirm:hover { border-color: color-mix(in srgb, var(--blue) 28%, var(--line)); }
.created-link-confirm:has(input:checked) { border-color: color-mix(in srgb, var(--success) 38%, var(--line)); background: color-mix(in srgb, var(--success) 6%, var(--paper)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 8%, transparent); }
.created-link-confirm input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.created-checkmark { position: relative; width: 24px; height: 24px; flex: 0 0 auto; border: 1.5px solid color-mix(in srgb, var(--muted) 65%, var(--line)); border-radius: 8px; background: var(--paper); transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.created-link-confirm input:focus-visible + .created-checkmark { box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 16%, transparent); }
.created-link-confirm input:checked + .created-checkmark { border-color: var(--success); background: var(--success); transform: scale(1.04); }
.created-link-confirm input:checked + .created-checkmark::after { content: ""; position: absolute; left: 7px; top: 5px; width: 8px; height: 5px; border: solid white; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.created-link-confirm > span:last-child { font-size: .8rem; font-weight: 600; line-height: 1.35; }
.created-draw-dialog > .btn { min-height: 54px; }
.created-draw-dialog > small { display: block; margin-top: 12px; color: var(--muted); text-align: center; font-size: .66rem; }
body.created-draw-modal-open { overflow: hidden; }
@keyframes toolDialogIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Create draw workspace */
.create-page .page { max-width: 1240px; padding-top: clamp(48px, 7vw, 88px); }
.create-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: end; gap: 60px; margin-bottom: 46px; }
.create-heading h1 { max-width: 760px; margin-bottom: 0; font-size: clamp(3rem, 6vw, 5.4rem); }
.create-heading p { max-width: 440px; margin: 0 0 8px; color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.create-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; align-items: start; gap: 20px; }
.create-main { display: grid; gap: 18px; }
.form-progress { height: 44px; display: flex; align-items: center; padding: 0 8px; }
.progress-item { display: flex; align-items: center; flex: 1; gap: 10px; color: var(--muted); font-size: .67rem; font-weight: 700; letter-spacing: .12em; }
.progress-item:last-child { flex: 0; }
.progress-item i { height: 1px; flex: 1; background: var(--line); }
.progress-item.active { color: var(--blue); }
.progress-item.active i { background: linear-gradient(90deg, var(--blue), var(--line)); }
.form-panel { position: relative; padding: clamp(26px, 4vw, 46px); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--paper) 90%, transparent); box-shadow: 0 20px 55px rgba(29,45,86,.07); }
.form-panel::after { content: ""; position: absolute; width: 230px; aspect-ratio: 1; right: -130px; top: -150px; border: 35px solid color-mix(in srgb, var(--blue) 4%, transparent); border-radius: 50%; pointer-events: none; }
.form-panel-heading { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.form-panel-heading h2, .settings-heading h2 { margin: 2px 0 0; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.form-step { display: block; color: var(--orange); font-size: .65rem; font-weight: 700; letter-spacing: .16em; }
.form-panel-icon { width: 66px; height: 66px; display: grid; place-items: center; overflow: hidden; flex: 0 0 auto; border-radius: 20px; background: color-mix(in srgb, var(--blue) 8%, var(--paper)); }
.form-panel-icon img { grid-area: 1 / 1; width: 54px; height: 66px; object-fit: cover; }
body.theme-christmas .form-panel-icon img { width: 58px; height: 58px; object-fit: contain; }
.floating-field { position: relative; }
.floating-field input { height: 76px; padding: 29px 20px 12px; border-radius: 18px; font-size: 1.25rem; }
.floating-field label { position: absolute; left: 20px; top: 25px; margin: 0; color: var(--muted); font-size: 1rem; font-weight: 400; pointer-events: none; transition: transform .2s, font-size .2s, color .2s; transform-origin: left top; }
.floating-field input:focus + label, .floating-field input:not(:placeholder-shown) + label { color: var(--blue); font-size: .72rem; transform: translateY(-14px); }
.form-panel-people { min-height: 390px; }
.participant-counter { margin-left: auto; min-width: 104px; padding: 9px 12px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.participant-counter strong { color: var(--blue); font-family: "Bricolage Grotesque", sans-serif; font-size: 1.55rem; font-weight: 550; line-height: 1; }
.participant-counter span { max-width: 50px; color: var(--muted); font-size: .59rem; line-height: 1.15; }
.textarea-shell { position: relative; }
.textarea-shell textarea { min-height: 235px; padding: 20px 22px 20px 70px; border-radius: 20px; line-height: 2.1; }
.textarea-line-count { position: absolute; left: 20px; top: 20px; color: color-mix(in srgb, var(--muted) 48%, transparent); font: .68rem/3.08 "Instrument Sans", sans-serif; letter-spacing: .06em; pointer-events: none; }
.participant-editor { display: grid; gap: 12px; }
.participant-items { display: grid; gap: 9px; }
.participant-entry { display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; align-items: center; gap: 10px; padding: 7px; border: 1px solid var(--line); border-radius: 17px; background: color-mix(in srgb, var(--paper) 78%, var(--cream)); transition: border-color .2s, box-shadow .2s, transform .2s; }
.participant-entry:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 11%, transparent); transform: translateX(3px); }
.participant-index { color: var(--orange); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-align: center; }
.participant-entry input { height: 48px; padding: 10px 4px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.participant-entry input:focus { box-shadow: none; }
.participant-remove { position: relative; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 11px; color: var(--muted); background: color-mix(in srgb, var(--muted) 7%, transparent); cursor: pointer; transition: color .2s, background .2s, transform .2s; }
.participant-remove:hover { color: white; background: var(--danger); transform: rotate(4deg); }
.participant-remove:disabled { opacity: .32; cursor: not-allowed; transform: none; }
.participant-remove i::before, .participant-remove i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; border-radius: 99px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.participant-remove i::after { transform: translate(-50%, -50%) rotate(-45deg); }
.participant-add { min-height: 50px; padding: 9px 14px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px dashed color-mix(in srgb, var(--blue) 38%, var(--line)); border-radius: 16px; color: var(--blue); background: color-mix(in srgb, var(--blue) 4%, transparent); cursor: pointer; font-weight: 600; }
.participant-add i { position: relative; width: 24px; height: 24px; border-radius: 8px; background: var(--blue); box-shadow: 0 5px 12px rgba(22,79,216,.2); }
.participant-add i::before, .participant-add i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; border-radius: 99px; background: white; transform: translate(-50%, -50%); }
.participant-add i::after { transform: translate(-50%, -50%) rotate(90deg); }
.advanced-options { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: color-mix(in srgb, var(--paper) 88%, transparent); box-shadow: 0 18px 50px rgba(29,45,86,.055); transition: border-color .25s ease, box-shadow .25s ease; }
.advanced-options.has-valid-exclusions { border-color: color-mix(in srgb, var(--success) 36%, var(--line)); }
.advanced-options.has-invalid-exclusions { border-color: color-mix(in srgb, var(--danger) 55%, var(--line)); box-shadow: 0 18px 50px color-mix(in srgb, var(--danger) 9%, transparent); }
.advanced-options-toggle { width: 100%; min-height: 84px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 0; color: var(--ink); background: transparent; cursor: pointer; text-align: left; }
.advanced-options-toggle > span { display: grid; gap: 4px; }
.advanced-options-toggle strong { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.08rem; font-weight: 600; }
.advanced-options-toggle small { color: var(--muted); font-size: .72rem; }
.advanced-options.has-valid-exclusions .advanced-options-toggle small { color: var(--success); }
.advanced-options.has-invalid-exclusions .advanced-options-toggle small { color: var(--danger); }
.advanced-options-toggle svg { width: 25px; height: 25px; flex: 0 0 auto; transition: transform .42s cubic-bezier(.2,.8,.2,1); }
.advanced-options-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.advanced-options-content { display: grid; grid-template-rows: 0fr; opacity: .35; transition: grid-template-rows .46s cubic-bezier(.2,.8,.2,1), opacity .3s ease; }
.advanced-options-content > div { min-height: 0; overflow: hidden; }
.advanced-options-toggle[aria-expanded="true"] + .advanced-options-content { grid-template-rows: 1fr; opacity: 1; }
.advanced-options-inner { padding: 4px 22px 24px; border-top: 1px solid var(--line); }
.advanced-options-heading { padding-top: 24px; display: flex; align-items: center; gap: 14px; }
.advanced-options-heading h3 { margin: 3px 0 0; font-size: 1.35rem; }
.advanced-options-inner > p { max-width: 650px; margin: 15px 0 20px; color: var(--muted); line-height: 1.6; }
.advanced-option-mark { position: relative; width: 48px; height: 48px; flex: 0 0 auto; border-radius: 15px; background: color-mix(in srgb, var(--blue) 8%, var(--paper)); }
.advanced-option-mark i { position: absolute; top: 13px; width: 19px; height: 19px; border: 2px solid var(--blue); border-radius: 50%; }
.advanced-option-mark i:first-child { left: 8px; }
.advanced-option-mark i:last-child { right: 8px; }
.advanced-option-mark::after { content: ""; position: absolute; left: 12px; right: 12px; top: 23px; height: 2px; background: var(--orange); transform: rotate(-35deg); box-shadow: 0 0 0 3px color-mix(in srgb, var(--paper) 88%, transparent); }
.exclusion-list { display: grid; gap: 9px; margin-bottom: 10px; }
.exclusion-validation { margin: 10px 0; padding: 13px 14px; display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 15px; font-size: .76rem; font-weight: 600; line-height: 1.45; }
.exclusion-validation[hidden] { display: none; }
.exclusion-validation i { position: relative; width: 27px; height: 27px; border-radius: 9px; background: var(--muted); }
.exclusion-validation.valid { color: var(--success); border-color: color-mix(in srgb, var(--success) 32%, var(--line)); background: color-mix(in srgb, var(--success) 7%, var(--paper)); }
.exclusion-validation.valid i { background: var(--success); }
.exclusion-validation.valid i::before { content: ""; position: absolute; left: 8px; top: 7px; width: 9px; height: 5px; border-left: 2px solid white; border-bottom: 2px solid white; transform: rotate(-45deg); }
.exclusion-validation.invalid { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 38%, var(--line)); background: color-mix(in srgb, var(--danger) 7%, var(--paper)); }
.exclusion-validation.invalid i { background: var(--danger); }
.exclusion-validation.invalid i::before, .exclusion-validation.invalid i::after { content: ""; position: absolute; left: 7px; top: 12px; width: 13px; height: 2px; border-radius: 99px; background: white; transform: rotate(45deg); }
.exclusion-validation.invalid i::after { transform: rotate(-45deg); }
.exclusion-validation.pending { color: var(--muted); background: color-mix(in srgb, var(--muted) 5%, var(--paper)); }
.exclusion-validation.pending i::before { content: ""; position: absolute; left: 12px; top: 7px; width: 3px; height: 9px; border-radius: 99px; background: white; box-shadow: 0 12px 0 -0.5px white; }
.exclusion-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) 40px; align-items: center; gap: 10px; padding: 9px; border: 1px solid var(--line); border-radius: 17px; background: color-mix(in srgb, var(--cream) 55%, transparent); }
.exclusion-entry select { min-width: 0; height: 48px; padding: 8px 34px 8px 12px; border-radius: 12px; background-color: var(--paper); font-size: .88rem; }
.exclusion-entry > span { color: var(--muted); font-size: .68rem; text-align: center; }
.exclusion-entry .participant-remove { width: 36px; }
.exclusion-add { width: 100%; }
.create-settings { position: sticky; top: 98px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--paper) 91%, transparent); box-shadow: 0 25px 70px rgba(29,45,86,.11); backdrop-filter: blur(20px); }
.settings-heading { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.settings-block { padding: 24px 0; border-bottom: 1px solid var(--line); }
.settings-block label, .field-label { display: block; margin-bottom: 10px; font-size: .76rem; font-weight: 650; letter-spacing: .025em; }
.input-with-icon { position: relative; }
.input-with-icon img { position: absolute; z-index: 2; left: 9px; top: calc(50% + 3px); width: 39px; height: 47px; object-fit: cover; object-position: center; border-radius: 10px; transform: translateY(-50%); }
body.theme-christmas .input-with-icon img { width: 39px; height: 39px; object-fit: contain; }
.input-with-icon input { height: 56px; padding-left: 57px; }
.password-block .password-confirm-label { margin-top: 16px; }
.field-note { margin: 8px 0 0; color: var(--muted); font-size: .72rem; }
.range-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.range-heading output { min-width: 72px; padding: 7px 10px; border-radius: 11px; color: var(--blue); background: color-mix(in srgb, var(--blue) 9%, transparent); text-align: center; font-size: .74rem; }
.range-heading output strong { font-size: 1rem; }
.range-block input[type="range"] { appearance: none; height: 5px; margin: 14px 0 5px; padding: 0; border: 0; border-radius: 99px; background: linear-gradient(90deg, var(--blue) 0 var(--range-progress, 16.2%), color-mix(in srgb, var(--muted) 18%, transparent) var(--range-progress, 16.2%)); }
.range-block input[type="range"]::-webkit-slider-thumb { appearance: none; width: 21px; height: 21px; border: 5px solid var(--paper); border-radius: 50%; background: var(--orange); box-shadow: 0 2px 9px rgba(29,45,86,.24); cursor: grab; }
.range-block input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border: 5px solid var(--paper); border-radius: 50%; background: var(--orange); box-shadow: 0 2px 9px rgba(29,45,86,.24); cursor: grab; }
.range-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: .61rem; }
.theme-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.theme-option { min-width: 0; padding: 7px 7px 10px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: transparent; cursor: pointer; font-size: .76rem; font-weight: 600; transition: border .2s, transform .2s, box-shadow .2s; }
.theme-option:hover { transform: translateY(-2px); }
.theme-option[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue) 14%, transparent); }
.theme-preview { height: 82px; margin-bottom: 8px; display: grid; place-items: center; overflow: hidden; border-radius: 11px; }
.theme-preview img { width: 82px; height: 82px; object-fit: contain; }
.classic-preview { background: linear-gradient(135deg, #e5edff, #fff1e5); }
.christmas-preview { background: linear-gradient(135deg, #08291f, #174738); }
.christmas-preview-icon { width: 78px; height: 78px; display: block; background: url("../icons/christmas/icon-atlas-v1.png") left top / 200% 200% no-repeat; filter: drop-shadow(0 8px 10px rgba(0,0,0,.2)); }
.christmas-icon { display: inline-block; flex: 0 0 auto; background-image: url("../icons/christmas/icon-atlas-v1.png"); background-repeat: no-repeat; background-size: 200% 200%; }
.christmas-icon.icon { border-radius: 10px; }
.christmas-snow-globe { background-position: left top; }
.christmas-star { background-position: right top; }
.christmas-stocking { background-position: left bottom; }
.christmas-bells { background-position: right bottom; }
body.theme-christmas .brand-mark { filter: drop-shadow(0 8px 12px rgba(0,0,0,.2)); }
.consent-card { position: relative; margin: 24px 0 18px; padding: 14px; display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; border: 1px solid var(--line); border-radius: 15px; color: var(--muted); background: color-mix(in srgb, var(--cream) 55%, transparent); font-size: .73rem; font-weight: 400; line-height: 1.45; cursor: pointer; }
.consent-card input { position: absolute; opacity: 0; pointer-events: none; }
.custom-check { width: 19px; height: 19px; display: grid; place-items: center; border: 1.5px solid var(--muted); border-radius: 6px; background: var(--paper); }
.consent-card input:checked + .custom-check { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 4px var(--paper); }
.consent-card input:focus-visible + .custom-check { outline: 3px solid rgba(255,138,48,.55); outline-offset: 2px; }
.consent-card a { color: var(--ink); font-weight: 600; }
.create-submit { min-height: 58px; justify-content: space-between; padding: 9px 10px 9px 20px; border-radius: 17px; }
.create-submit img { width: 44px; height: 44px; object-fit: cover; border-radius: 12px; background: rgba(255,255,255,.1); }
body.theme-christmas .create-submit img { object-fit: contain; }

/* Editorial homepage */
.home-page .page { max-width: 1280px; padding-top: 34px; }
.home-hero {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(24px, 4vw, 46px);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  box-shadow: 0 30px 90px rgba(29, 45, 86, .09);
}
.home-hero::before {
  content: "";
  position: absolute;
  left: -90px;
  bottom: -190px;
  width: 430px;
  height: 430px;
  border: 1px solid color-mix(in srgb, var(--orange) 34%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 42px color-mix(in srgb, var(--orange) 5%, transparent), 0 0 0 84px color-mix(in srgb, var(--orange) 4%, transparent);
}
.hero-copy { position: relative; z-index: 3; grid-column: 1 / 8; align-self: center; padding: clamp(44px, 7vw, 88px); padding-right: 24px; }
.home-hero h1 { max-width: 720px; margin-bottom: 28px; }
.home-hero h1 em { display: block; color: var(--blue); font-weight: 500; }
.home-hero .lead { max-width: 580px; font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.65; }
.home-hero .remembered { max-width: 540px; }
.hero-stage {
  position: relative;
  grid-column: 8 / 13;
  min-width: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 52% 45%, rgba(255,255,255,.9) 0 7%, transparent 8%),
    linear-gradient(145deg, color-mix(in srgb, var(--blue) 17%, var(--paper)), color-mix(in srgb, var(--orange) 18%, var(--paper)));
  border-left: 1px solid var(--line);
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 9% -24% 11% 10%;
  z-index: -1;
  border-radius: 50% 40% 46% 54%;
  background: color-mix(in srgb, var(--paper) 70%, transparent);
  transform: rotate(-11deg);
}
.hero-stage::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  z-index: -2;
  opacity: .38;
  background: repeating-linear-gradient(135deg, transparent 0 18px, color-mix(in srgb, var(--blue) 10%, transparent) 18px 19px);
}
.hero-stage > img { position: relative; z-index: 2; width: min(520px, 112%); max-width: none; filter: drop-shadow(0 32px 34px rgba(27,48,101,.22)); transform: rotate(4deg) translateX(-2%); }
body.theme-christmas .hero-stage { background: linear-gradient(145deg, #123c2e, #1c4c38); }
body.theme-christmas .hero-stage::before { background: rgba(6,31,24,.2); }
body.theme-christmas .hero-stage::after { opacity: .2; background: repeating-linear-gradient(135deg, transparent 0 18px, rgba(216,174,91,.16) 18px 19px); }
body.theme-christmas .hero-stage > .hero-art-christmas { position: relative; z-index: 2; width: min(540px, 108%); height: auto; max-width: none; object-fit: contain; filter: drop-shadow(0 32px 34px rgba(0,0,0,.3)); transform: rotate(-2deg) translateX(-1%); }
body.theme-christmas .hero-stage::after { z-index: 3; }
body.theme-christmas .hero-note { color: #fffaf0; border-color: rgba(216,174,91,.45); background: rgba(6,31,24,.78); box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.hero-orbit { position: absolute; border: 1px solid color-mix(in srgb, var(--blue) 24%, transparent); border-radius: 50%; transform: rotate(-19deg); }
.orbit-one { width: 115%; aspect-ratio: 1; }
.orbit-two { width: 82%; aspect-ratio: 1; border-color: color-mix(in srgb, var(--orange) 38%, transparent); }
.hero-note { position: absolute; z-index: 4; max-width: 175px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.72); border-radius: 12px; color: var(--ink); background: color-mix(in srgb, var(--paper) 78%, transparent); box-shadow: 0 10px 30px rgba(29,45,86,.11); backdrop-filter: blur(12px); font-size: .72rem; font-weight: 600; line-height: 1.25; }
.hero-note-top { top: 15%; left: 8%; transform: rotate(-4deg); }
.hero-note-bottom { right: 8%; bottom: 14%; transform: rotate(3deg); }

.home-bento { margin: 110px 0 40px; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(2, minmax(230px, auto)); gap: 18px; }
.bento-intro { position: relative; grid-column: 1 / 6; grid-row: 1 / 3; overflow: hidden; padding: clamp(32px, 5vw, 58px); border-radius: var(--radius-lg); color: white; background: #112b6b; }
.bento-intro::after { content: ""; position: absolute; width: 360px; aspect-ratio: 1; right: -150px; bottom: -190px; border: 55px solid rgba(255,255,255,.06); border-radius: 50%; }
.bento-intro .eyebrow { color: #ffb06c; }
.bento-intro h2 { max-width: 390px; margin-top: 120px; font-size: clamp(2.6rem, 5vw, 4.6rem); }
.bento-intro p { max-width: 390px; margin: 0; color: rgba(255,255,255,.68); line-height: 1.65; }
.bento-intro-icon { position: absolute; top: 32px; right: 34px; width: 95px; height: 118px; object-fit: cover; border-radius: 20px; transform: rotate(5deg); filter: drop-shadow(0 16px 18px rgba(0,0,0,.2)); }
body.theme-christmas .bento-intro { background: linear-gradient(150deg, #164734, #0b3025); }
body.theme-christmas .bento-intro .eyebrow { color: #e7c77d; }
body.theme-christmas .bento-intro-icon.theme-art-christmas { width: 112px; height: 112px; border-radius: 0; transform: rotate(4deg); }
.bento-card { position: relative; grid-column: 6 / 13; display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: clamp(24px, 4vw, 48px); overflow: hidden; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--paper) 90%, transparent); }
.bento-card::after { content: ""; position: absolute; inset: auto -70px -110px auto; width: 220px; aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--blue) 5%, transparent); }
.bento-wishes { background: linear-gradient(125deg, color-mix(in srgb, var(--orange) 9%, var(--paper)), var(--paper)); }
.bento-card .icon-lg { width: 120px; height: 145px; object-fit: cover; filter: drop-shadow(0 16px 20px rgba(29,45,86,.14)); }
body.theme-christmas .bento-card .icon-lg.theme-art-christmas { width: 120px; height: 120px; border-radius: 0; filter: drop-shadow(0 16px 20px rgba(0,0,0,.22)); }
body.theme-christmas .bento-wishes { background: linear-gradient(125deg, rgba(201,67,54,.1), var(--paper)); }
.bento-card h3 { margin-bottom: 10px; font-family: "Bricolage Grotesque", "Instrument Sans", sans-serif; font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 550; }
.bento-card p { max-width: 530px; margin: 0; color: var(--muted); line-height: 1.65; }
.bento-number { display: block; margin-bottom: 22px; color: var(--orange); font-size: .7rem; font-weight: 700; letter-spacing: .15em; }
.home-page section[id] { scroll-margin-top: 112px; }
.how-section { max-width: 1160px; margin: 50px auto 0; }
.how-heading { display: grid; grid-template-columns: 1.15fr .65fr; align-items: end; gap: clamp(40px, 8vw, 110px); margin-bottom: 50px; }
.how-heading h2 { max-width: 730px; margin-bottom: 0; }
.how-heading > p { margin: 0 0 5px; color: var(--muted); line-height: 1.7; }
.how-path { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 54px; }
.how-path::before { content: ""; position: absolute; left: 50%; top: 8%; bottom: 8%; width: 1px; background: linear-gradient(var(--blue), var(--orange)); opacity: .25; }
.how-card { position: relative; min-height: 330px; padding: clamp(28px, 4vw, 42px); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--paper) 90%, transparent); box-shadow: 0 16px 45px rgba(29,45,86,.06); }
.how-card:nth-child(even) { transform: translateY(54px); }
.how-card::after { content: ""; position: absolute; width: 210px; aspect-ratio: 1; right: -120px; bottom: -130px; border: 28px solid color-mix(in srgb, var(--blue) 4%, transparent); border-radius: 50%; pointer-events: none; }
.how-card-top { display: flex; align-items: center; justify-content: space-between; min-height: 76px; margin-bottom: 26px; }
.how-card-top img { width: 70px; height: 86px; object-fit: cover; border-radius: 16px; filter: drop-shadow(0 10px 15px rgba(29,45,86,.13)); }
.how-theme-icon { width: 86px; height: 86px; filter: drop-shadow(0 10px 15px rgba(0,0,0,.2)); }
.how-number { color: var(--orange); font-family: "Bricolage Grotesque", sans-serif; font-size: 2.3rem; font-weight: 500; letter-spacing: -.05em; }
.how-card h3 { margin-bottom: 12px; font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 550; }
.how-card p { margin: 0 0 24px; color: var(--muted); line-height: 1.7; }
.how-detail { display: inline-flex; padding: 8px 11px; border-radius: 10px; color: var(--blue); background: color-mix(in srgb, var(--blue) 8%, transparent); font-size: .69rem; font-weight: 600; }
.theme-showcase { position: relative; max-width: 980px; overflow: hidden; margin: 80px auto 20px; padding: clamp(42px, 6vw, 70px); border-radius: var(--radius-lg); background: linear-gradient(135deg, color-mix(in srgb, var(--blue) 9%, var(--paper)), color-mix(in srgb, var(--orange) 12%, var(--paper))); }
.theme-showcase::before, .theme-showcase::after { content: ""; position: absolute; border: 1px solid var(--line); border-radius: 50%; pointer-events: none; }
.theme-showcase::before { width: 260px; aspect-ratio: 1; left: -150px; top: -150px; }
.theme-showcase::after { width: 180px; aspect-ratio: 1; right: -100px; bottom: -100px; }
.home-faq { max-width: 1160px; margin: 70px auto 0; display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); align-items: start; gap: clamp(38px, 8vw, 110px); }
.faq-heading { position: sticky; top: 120px; }
.faq-heading h2 { margin-bottom: 24px; font-size: clamp(2.5rem, 5vw, 4.3rem); }
.faq-heading > p { max-width: 360px; margin: 0; color: var(--muted); line-height: 1.7; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; min-height: 82px; padding: 20px 2px; display: grid; grid-template-columns: 1fr 38px; align-items: center; gap: 18px; border: 0; color: var(--ink); background: transparent; text-align: left; cursor: pointer; font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(1.04rem, 2vw, 1.27rem); font-weight: 550; }
.faq-question i { position: relative; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); transition: transform .35s ease, background .25s ease; }
.faq-question i::before, .faq-question i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; border-radius: 99px; background: var(--blue); transform: translate(-50%, -50%); transition: transform .35s ease, opacity .25s ease; }
.faq-question i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-question i { background: color-mix(in srgb, var(--blue) 9%, var(--paper)); transform: rotate(180deg); }
.faq-item.open .faq-question i::after { opacity: 0; transform: translate(-50%, -50%) rotate(0); }
.faq-answer { display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(-8px); transition: grid-template-rows .42s cubic-bezier(.2,.8,.2,1), opacity .28s ease, transform .42s cubic-bezier(.2,.8,.2,1); }
.faq-answer > div { overflow: hidden; }
.faq-answer p { max-width: 650px; margin: 0; padding: 0 54px 26px 2px; color: var(--muted); line-height: 1.75; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .nav { grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; row-gap: 0; transition: border-radius .25s ease, box-shadow .25s ease; }
  .nav-toggle { display: grid; }
  .nav-menu { grid-column: 1 / -1; grid-row: 2; width: 100%; max-height: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 3px; overflow: hidden; visibility: hidden; opacity: 0; border-top: 1px solid transparent; transform: translateY(-8px); transition: max-height .38s cubic-bezier(.2,.8,.2,1), padding .3s ease, opacity .2s ease, transform .3s ease, visibility 0s linear .38s, border-color .2s ease; }
  .nav.nav-open { border-radius: 22px; box-shadow: 0 20px 52px rgba(29,45,86,.15); }
  .nav.nav-open .nav-menu { max-height: 330px; padding: 10px 0 3px; visibility: visible; opacity: 1; border-top-color: var(--line); transform: none; transition-delay: 0s; }
  .nav-menu a { min-height: 44px; padding: 11px 12px; display: flex; align-items: center; border-radius: 12px; font-size: .84rem; }
  .nav-menu .nav-menu-create { display: flex; margin-top: 4px; justify-content: center; color: white; background: var(--blue); }
  .nav-menu a:hover, .nav-menu a.active { background: color-mix(in srgb, var(--blue) 7%, transparent); }
  .nav-menu a.active::after { left: 12px; right: auto; bottom: 7px; width: 24px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-art { min-height: 340px; order: -1; }
  .hero-art img { width: min(380px, 82%); }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .shell.dashboard { grid-template-columns: 1fr; }
  .home-hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { grid-column: 1; padding: 52px clamp(24px, 7vw, 58px) 70px; }
  .hero-stage { grid-column: 1; min-height: 430px; border-top: 1px solid var(--line); border-left: 0; }
  .hero-stage > img { width: min(490px, 78%); }
  .home-bento { grid-template-columns: 1fr; grid-template-rows: auto; margin-top: 70px; }
  .bento-intro, .bento-card { grid-column: 1; grid-row: auto; }
  .bento-intro { min-height: 500px; }
  .how-heading, .home-faq { grid-template-columns: 1fr; }
  .how-heading { gap: 22px; }
  .faq-heading { position: static; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-links { justify-content: start; }
  .footer-meta { justify-content: space-between; }
  .create-heading { grid-template-columns: 1fr; gap: 20px; }
  .create-heading p { max-width: 620px; }
  .create-layout { grid-template-columns: 1fr; }
  .create-settings { position: static; }
  .organizer-hero { grid-template-columns: minmax(0, 1fr) 280px; }
  .organizer-layout { grid-template-columns: 1fr; }
  .organizer-sidebar { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 640px) {
  .toast-stack { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; }
  .confirm-modal { padding: 12px; align-items: end; }
  .confirm-dialog { padding: 28px 22px 22px; border-radius: 26px; }
  .confirm-actions { grid-template-columns: 1fr; }
  .confirm-actions .confirm-delete { order: -1; }
  .site-header { padding: 8px 8px 0; }
  .nav { min-height: 62px; padding: 5px 6px 5px 9px; gap: 8px; border-radius: 18px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-word { font-size: .92rem; }
  .nav-actions { gap: 5px; }
  .language-switch { padding: 3px; }
  .language-switch a { padding: 6px 7px; }
  .nav-create { min-width: 42px; min-height: 42px; padding: 5px; }
  .nav-create span { display: none; }
  .nav-create img { width: 31px; height: 32px; }
  .nav-menu { width: 100%; }
  .nav-menu a { padding: 10px; text-align: left; font-size: .8rem; }
  .page { padding-inline: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .gift-target { grid-template-columns: 1fr 115px; }
  .gift-target img { width: 145px; }
  .action-grid { grid-template-columns: 1fr; }
  .cookie-content { align-items: flex-start; flex-direction: column; }
  .home-page .page { padding-top: 16px; }
  .home-hero { border-radius: 24px; }
  .home-hero h1 { font-size: clamp(3rem, 16vw, 4.5rem); }
  .hero-stage { min-height: 340px; }
  .hero-note { font-size: .66rem; }
  .hero-note-top { top: 9%; }
  .hero-note-bottom { bottom: 8%; }
  .home-bento { margin-top: 54px; }
  .bento-intro { min-height: 440px; }
  .bento-intro h2 { margin-top: 115px; }
  .bento-card { grid-template-columns: 88px 1fr; gap: 18px; }
  .bento-card .icon-lg { width: 86px; height: 108px; }
  .bento-number { margin-bottom: 12px; }
  .how-path { grid-template-columns: 1fr; padding-bottom: 0; }
  .how-path::before { display: none; }
  .how-card, .how-card:nth-child(even) { min-height: 0; transform: none; }
  .home-faq { margin-top: 44px; gap: 30px; }
  .faq-question { min-height: 72px; }
  .site-footer { background: color-mix(in srgb, var(--paper) 94%, transparent); }
  .footer-inner { padding: 28px 20px max(24px, env(safe-area-inset-bottom)); gap: 20px; }
  .footer-brand { gap: 8px; font-size: 1rem; }
  .footer-brand img, .footer-brand-christmas { width: 44px; height: 44px; }
  .footer-links { width: 100%; padding: 6px 0 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; gap: 0 18px; border-bottom: 1px solid var(--line); }
  .footer-links a { min-height: 39px; display: flex; align-items: center; font-size: .82rem; }
  .footer-meta { width: 100%; align-items: center; justify-content: space-between; gap: 16px; }
  .footer-meta small { white-space: nowrap; text-align: right; font-size: .7rem; }
  .cookie-settings-button { width: 42px; height: 42px; padding: 4px; box-shadow: 0 6px 16px rgba(29,45,86,.09); }
  .cookie-settings-button img { width: 34px; height: 34px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
  .external-link-actions { grid-template-columns: 1fr; }
  .external-link-actions .btn-primary { order: -1; }
  .create-page .page { padding-top: 42px; }
  .create-heading { margin-bottom: 30px; }
  .create-heading h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .form-progress { display: none; }
  .form-panel, .create-settings { padding: 22px; border-radius: 22px; }
  .form-panel-heading { align-items: flex-start; gap: 12px; }
  .form-panel-icon { width: 52px; height: 52px; border-radius: 16px; }
  .form-panel-icon img { width: 45px; height: 54px; }
  .organizer-page .page { padding-top: 28px; }
  .organizer-hero { grid-template-columns: 1fr; min-height: 0; }
  .organizer-hero-copy { padding: 32px 24px; }
  .organizer-hero h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .organizer-hero-art { min-height: 260px; }
  .organizer-hero-art img { width: 230px; }
  .organizer-theme-art { width: 220px; height: 220px; }
  .organizer-orbit { width: 300px; }
  .organizer-metrics { grid-template-columns: 1fr 1fr; margin-top: 28px; }
  .organizer-metrics div:nth-child(2) { border-right: 0; }
  .organizer-metrics div:last-child { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); border-right: 0; }
  .organizer-layout { gap: 14px; }
  .organizer-panel { padding: 22px; }
  .organizer-panel-heading { align-items: flex-start; }
  .poll-summary-heading { align-items: flex-start; }
  .poll-summary-tools { align-items: flex-end; flex-direction: column; }
  .poll-summary-tools .action-grid { order: -1; }
  .poll-summary-tools .btn { min-height: 38px; padding: 8px 10px; }
  .participant-link-grid { grid-template-columns: 1fr; }
  .organizer-sidebar { grid-template-columns: 1fr; }
  .organizer-actions button { min-height: 100px; }
  .created-draw-modal { padding: 12px; align-items: end; }
  .created-draw-dialog { padding: 28px 22px 24px; border-radius: 26px; }
  .created-draw-icon { width: 60px; height: 60px; margin-bottom: 18px; }
  .created-draw-icon img { width: 52px; height: 62px; }
  .created-link-box { grid-template-columns: 1fr; }
  .created-link-box .btn { grid-column: 1; grid-row: auto; width: 100%; margin-top: 5px; }
  .participant-counter { min-width: auto; padding: 7px 9px; }
  .participant-counter span { display: none; }
  .floating-field input { height: 68px; font-size: 1.08rem; }
  .textarea-shell textarea { min-height: 220px; padding-left: 55px; }
  .textarea-line-count { left: 16px; }
  .advanced-options-toggle { min-height: 76px; padding: 16px 18px; }
  .advanced-options-inner { padding: 3px 18px 20px; }
  .exclusion-entry { grid-template-columns: 1fr 40px; }
  .exclusion-entry > span { grid-column: 1; padding: 0 4px; text-align: left; }
  .exclusion-entry select { grid-column: 1; }
  .exclusion-entry .participant-remove { grid-column: 2; grid-row: 1 / 4; }
  .anonymous-question-form { padding: 16px; }
}
@media (max-width: 420px) {
  .brand { gap: 6px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-word { display: inline; font-size: .82rem; letter-spacing: -.045em; }
  .nav-create { display: none; }
  .nav-actions { gap: 5px; }
  .language-switch a { padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
