.santa-section{--s-paper:light-dark(#fff,#181f33);--s-ink:light-dark(#182347,#f2f3fa);--s-muted:light-dark(#5c6680,#b9c2d7);--s-line:light-dark(#e7e8ee,#35405a);--s-soft:light-dark(#f5f6fb,#11182b);--s-accent:light-dark(#7444d8,#b292f6);--s-on-accent:light-dark(#fff,#211237);font:400 16px/1.5 'Nunito Sans',system-ui,sans-serif;color:var(--s-ink);background:var(--s-paper);border:1px solid var(--s-line);border-radius:28px;overflow:hidden;box-shadow:0 16px 40px #0e163412;width:100%;margin:24px 0 0;padding:0;scroll-margin-top:100px;overflow-wrap:anywhere}
.santa-section *{box-sizing:border-box}
.santa-section form{width:100%;max-width:none;margin:0}
.santa-section [hidden]{display:none!important}
.santa-section h2,.santa-section h3,.santa-section p{margin:0}
.santa-section h2{font-size:34px;line-height:1.1;font-weight:800;letter-spacing:-.025em}
.santa-section h3{font-size:21px;line-height:1.25;font-weight:700}
.santa-section button,.santa-section input,.santa-section textarea,.santa-section select{font:600 15px/1.3 'Nunito Sans',system-ui;min-height:46px;border-radius:14px}
.santa-section button{border:1px solid var(--s-line);padding:11px 18px;background:var(--s-paper);color:var(--s-ink)}
.santa-section button:disabled{opacity:.5}
.santa-section .main-action{background:var(--s-accent);color:var(--s-on-accent);border-color:transparent}
.santa-section .organizer-action{background:#2457ff;color:#fff;border-color:transparent}
.santa-section .text-action{background:transparent;border:0;padding:8px 0;color:var(--s-accent);text-align:left}
.santa-section input,.santa-section textarea,.santa-section select{width:100%;color:var(--s-ink);background:var(--s-paper);border:1px solid var(--s-line);padding:12px 14px;font-weight:400;font-size:16px}
.santa-section textarea{min-height:112px;resize:vertical}
.santa-section label{font-size:14px;font-weight:700;display:grid;gap:7px}
.santa-section input::placeholder,.santa-section textarea::placeholder{color:var(--s-muted);opacity:1}
.santa-section small{font-size:13px;line-height:1.45;color:var(--s-muted)}
.santa-section .muted{color:var(--s-muted)}
.santa-section .eyebrow{font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:800}
.santa-section .topline{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 26px 0;font-size:13px;font-weight:700}
.santa-section .status-pill{font-size:12px;color:var(--s-muted);font-weight:600}
.santa-section .santa-hero{padding:22px 26px 26px;display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:18px;align-items:center}
.santa-section .santa-hero-copy{display:grid;gap:12px}
.santa-section .santa-hero-copy p{font-size:15px;color:var(--s-muted);max-width:390px}
.santa-section .art{height:188px;width:180px;background-image:url('assets/santa/santa-stages.png');background-size:400% 100%;background-repeat:no-repeat;background-position:0% center;pointer-events:none;justify-self:center}
.santa-section .art[data-art='1']{background-position:33.333% center}
.santa-section .art[data-art='2']{background-position:66.666% center}
.santa-section .art[data-art='3']{background-position:100% center}
.santa-section .milestones{display:flex;gap:10px;padding:0 26px 23px;list-style:none;margin:0}
.santa-section .milestones li{flex:1;border-top:3px solid var(--s-line);padding-top:8px;font-size:12px;color:var(--s-muted)}
.santa-section .milestones li.current{border-color:var(--s-accent);color:var(--s-ink);font-weight:800}
.santa-section .milestones li.done{border-color:light-dark(#27735a,#7fc6a6)}
.santa-section .content{padding:26px;border-top:1px solid var(--s-line);display:grid;gap:24px}
.santa-section .wish-form{display:grid;gap:16px}
.santa-section .section-head{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:7px}
.santa-section .section-head span{font-size:12px;color:var(--s-muted)}
.santa-section .field-pair{display:grid;gap:16px}
.santa-section .actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.santa-section .privacy{display:flex;gap:7px;align-items:flex-start;font-size:13px;color:var(--s-muted)}
.santa-section .privacy svg{flex-shrink:0;margin-top:2px}
.santa-section .subtle-box{padding:16px 18px;border-radius:16px;background:var(--s-soft);display:grid;gap:10px}
.santa-section .guest-note{border-left:3px solid light-dark(#cfaa66,#c7a46a);padding-left:12px;display:grid;gap:4px}
.santa-section .guest-note strong{font-size:14px;font-weight:700}
.santa-section .recipient-name{font-size:30px;font-weight:800;line-height:1.2}
.santa-section .recipient-top{display:flex;gap:14px;align-items:center}
.santa-section .avatar{height:52px;width:52px;border-radius:50%;background:light-dark(#f6e7df,#4b3330);color:light-dark(#994a35,#ffbe9e);display:grid;place-items:center;font-size:24px;font-weight:800;flex-shrink:0}
.santa-section .recipient{display:grid;gap:18px}
.santa-section .quote{font-size:17px;line-height:1.6}
.santa-section .rule{border:0;border-top:1px solid var(--s-line);margin:0}
.santa-section details > summary{font-size:14px;font-weight:700;min-height:44px;display:flex;align-items:center;gap:8px;cursor:pointer}
.santa-section details > summary:after{content:'＋';margin-left:auto;font-size:18px}
.santa-section details[open] > summary:after{content:'−'}
.santa-section .people{list-style:none;margin:8px 0 0;padding:0}
.santa-section .people li{display:flex;justify-content:space-between;gap:12px;padding:9px 0;font-size:14px;border-top:1px solid var(--s-line)}
.santa-section .people li span{color:var(--s-muted);font-size:12px;text-align:right}
.santa-section .owner-panel{display:grid;gap:16px}
.santa-section .owner-panel .section-head{margin:0}
.santa-section .feedback{font-size:14px;color:light-dark(#22644b,#a4dfc3)}
.santa-section .feedback:empty{display:none}
.santa-section .form-error{color:light-dark(#ad2039,#ffa2b1);font-size:13px}
.santa-section .form-error:empty{display:none}
.santa-section .confirm{border:1px solid var(--s-line);padding:18px;border-radius:16px;display:grid;gap:14px}
.santa-section .centered{text-align:center;display:grid;gap:16px;justify-items:center;padding:10px 0}
.santa-section .delivery-fields{display:grid;gap:14px;padding-top:10px}
.santa-section .delivery-fields[hidden]{display:none}
.santa-section .delivery-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}
.santa-section .code-preview{width:100%;max-height:200px;object-fit:contain;border-radius:10px;background:white}
.santa-section .barcode-demo{background:#fff;padding:20px 24px;border-radius:14px;max-width:310px;width:100%;color:#202328;text-align:center}
.santa-section .barcode-bars{height:80px;background:repeating-linear-gradient(90deg,#111 0 2px,#fff 2px 5px,#111 5px 6px,#fff 6px 10px,#111 10px 14px,#fff 14px 17px,#111 17px 18px,#fff 18px 22px)}
.santa-section .barcode-demo small{color:#505460;display:block;margin-top:10px}
.santa-section .delivery-badge{font-size:12px;color:light-dark(#27644a,#9dd3b9);font-weight:700}
.santa-section input[type=file]{font-size:13px;max-width:100%;padding:10px}
.santa-section .endnote{border-top:1px solid var(--s-line);padding:16px 26px;font-size:12px;display:flex;justify-content:space-between;gap:10px;color:var(--s-muted)}
.santa-section .festive-header{
 --s-ink:light-dark(#522434,#fff5e5);
 --s-muted:light-dark(#705157,#f4d9d4);
 --s-line:light-dark(#dcc9be,#aa7271);
 --s-accent:light-dark(#a13148,#f8d18b);
 --h-start:light-dark(#fff2e8,#642e40);--h-middle:light-dark(#fff8e8,#843c49);--h-end:light-dark(#f5e8cb,#835347);
 --h-glow:light-dark(#f9d992b3,#dfa46975);--h-wash:light-dark(#f3c8c185,#a8445c85);
 position:relative;isolation:isolate;overflow:hidden;color:var(--s-ink);
 background:
 radial-gradient(ellipse at 84% 45%,var(--h-glow) 0,transparent 43%),
 radial-gradient(ellipse at 0 0,var(--h-wash),transparent 68%),
 linear-gradient(115deg,var(--h-start),var(--h-middle) 68%,var(--h-end));
}
.santa-section .festive-header[data-stage='invite']{
 --s-ink:light-dark(#204b35,#f2ffe9);--s-muted:light-dark(#42634c,#d0ead5);--s-line:light-dark(#b7cebb,#67967a);--s-accent:light-dark(#2b7048,#efdb96);
 --h-start:light-dark(#e6f3e7,#204d36);--h-middle:light-dark(#f1f8df,#2d6943);--h-end:light-dark(#e1edcc,#47734b);--h-glow:light-dark(#f4dc8a99,#b9cc6370);--h-wash:light-dark(#b7ddc280,#3a8b5380);
}
.santa-section .festive-header[data-stage='draw']{
 --s-ink:light-dark(#223c68,#f1f5ff);--s-muted:light-dark(#4b6080,#d3e2ff);--s-line:light-dark(#bbcde3,#718db6);--s-accent:light-dark(#315ba1,#f6d492);
 --h-start:light-dark(#e6efff,#263f76);--h-middle:light-dark(#f0f6ff,#365e9b);--h-end:light-dark(#ddebf7,#426f9c);--h-glow:light-dark(#d2e7ffaa,#95b8e65c);--h-wash:light-dark(#b9cefa75,#466eb775);
}
.santa-section .festive-header[data-stage='gift']{
 --s-ink:light-dark(#653416,#fff5e7);--s-muted:light-dark(#80563b,#ffe0c7);--s-line:light-dark(#e1c2a8,#b07d5b);--s-accent:light-dark(#a6521d,#ffda94);
 --h-start:light-dark(#ffe9db,#723b20);--h-middle:light-dark(#fff1df,#995025);--h-end:light-dark(#f9dec0,#9c6335);--h-glow:light-dark(#ffc57c85,#f5b65155);--h-wash:light-dark(#f8ba9b75,#c5673780);
}
.santa-section .festive-header[data-stage='delivery']{
 --s-ink:light-dark(#174b51,#ebfffc);--s-muted:light-dark(#39636b,#c6eeea);--s-line:light-dark(#b5d8d8,#619e9e);--s-accent:light-dark(#187682,#f4dca0);
 --h-start:light-dark(#dff5f1,#15535b);--h-middle:light-dark(#edfafa,#216d76);--h-end:light-dark(#d2eeed,#397d81);--h-glow:light-dark(#b8ede48c,#73d0c45c);--h-wash:light-dark(#a8dedb70,#278c9875);
}
.santa-section .festive-header[data-stage='complete']{
 --s-ink:light-dark(#5c4214,#fff8df);--s-muted:light-dark(#766039,#f5e5b9);--s-line:light-dark(#dccda6,#a59763);--s-accent:light-dark(#8a6417,#ffe4a0);
 --h-start:light-dark(#fff1c8,#5d4b23);--h-middle:light-dark(#fff8db,#79632c);--h-end:light-dark(#f6e2a7,#87743e);--h-glow:light-dark(#ffeaa0a3,#ebce6b60);--h-wash:light-dark(#efcc8275,#a58a3a70);
}
.santa-section .festive-header:before{content:'';position:absolute;z-index:2;top:0;left:0;right:0;height:6px;background:repeating-linear-gradient(110deg,#c34e55 0 14px,#fff1d5 14px 28px,#397664 28px 42px,#fff1d5 42px 56px)}
.santa-section .festive-header:after{content:'';position:absolute;inset:38px 0 54px 60%;z-index:-1;opacity:.7;background-image:radial-gradient(circle at 24% 12%,#ffe8bc 0 1.5px,transparent 2px),radial-gradient(circle at 67% 43%,#fff4dc 0 1px,transparent 1.7px),radial-gradient(circle at 86% 80%,#ffe8bc 0 1.5px,transparent 2px);background-size:94px 86px,72px 103px,121px 125px;mask-image:linear-gradient(90deg,transparent,#000 24%)}
.santa-section .topline{position:relative;z-index:1;padding-top:24px}
.santa-section .status-pill{border:1px solid light-dark(#6b523340,#ffe1b44f);border-radius:999px;background:light-dark(#fffef788,#0000001f);padding:5px 10px;color:var(--s-ink);line-height:1.3}
.santa-section .santa-hero{position:relative;padding-top:26px;padding-bottom:30px}
.santa-section .santa-hero-copy{position:relative;z-index:1}
.santa-section .art{position:relative;z-index:1;filter:drop-shadow(0 12px 16px #48201928)}
.santa-section .milestones{position:relative;z-index:1;padding-top:14px;background:light-dark(#fffdf466,#00000018);border-top:1px solid light-dark(#80694726,#ffe1b421)}
.santa-section .milestones li.done{border-color:light-dark(#397664,#a3d0b3)}
.santa-section .sparkles{position:absolute;right:0;top:65px;bottom:78px;width:38%;pointer-events:none;z-index:0;color:light-dark(#b87828,#ffdfa0)}
.santa-section .sparkles span{position:absolute;font-family:Georgia,serif;font-weight:400;line-height:1}
.santa-section .sparkles span:nth-child(1){left:15%;top:18%;font-size:19px}
.santa-section .sparkles span:nth-child(2){right:12%;top:6%;font-size:12px}
.santa-section .sparkles span:nth-child(3){left:22%;bottom:12%;font-size:12px}
.santa-section .sparkles span:nth-child(4){right:8%;bottom:25%;font-size:20px}
.santa-section .sparkles span:nth-child(5){left:50%;top:0;font-size:10px}
.santa-section{position:relative}

.santa-card-main { display: block; color: inherit; text-decoration: none; }
.santa-card-summary { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ux-ink); overflow-wrap: anywhere; }
.santa-card-summary p { margin: 8px 0; }
.santa-recipient-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ux-party); font-weight: 700; }
.santa-card-main:focus-visible, .santa-recipient-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.santa-compact-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ux-surface); overflow: hidden; }
.santa-compact-card .santa-card-summary { padding: 16px; margin: 0; }
.santa-compact-card > a { border: 0; box-shadow: none; }
.santa-card-main > h3, .santa-card-main > .event-meta, .event-card > .santa-card-summary { margin-right: 22px; margin-left: 22px; }
.santa-card-main > h3 { margin-top: 18px; margin-bottom: 13px; }
.santa-section { scroll-margin-top: 100px; }

.santa-section{color-scheme:light}.santa-section[hidden]{display:none}html[data-theme=dark] .santa-section{color-scheme:dark}
.santa-section :focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.santa-section [hidden]{display:none!important}.santa-section .santa-hero-copy h2{white-space:pre-line}
.santa-section .main-action{background:var(--s-accent);color:var(--s-on-accent);border-color:transparent}
.santa-section .content>details+details{border-top:1px solid var(--s-line)}
.santa-section .santa-form{display:grid;gap:16px}.santa-section .santa-status:empty{display:none}
.santa-section .santa-gifts{list-style:none;padding:0;display:grid;gap:12px}.santa-section .santa-gifts li{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.santa-section a.secondary-button{color:var(--s-accent);border-color:var(--s-line);background:var(--s-paper);text-decoration:none;min-height:44px}
.santa-section .code-preview{max-height:440px}.santa-section textarea{white-space:pre-wrap}.santa-section .quote{white-space:pre-wrap}
.santa-section .santa-status{font-size:14px}.santa-section .santa-muted{color:var(--s-muted)}
@media(max-width:600px){.santa-section{border-radius:22px}.santa-section .topline{padding:20px 18px 0;font-size:12px}.santa-section .santa-hero{padding:20px 18px;grid-template-columns:1fr 100px;gap:10px}.santa-section h2{font-size:28px}.santa-section .santa-hero-copy p{font-size:14px}.santa-section .art{width:100px;height:122px}.santa-section .milestones{padding:14px 18px 18px;gap:7px}.santa-section .milestones li{font-size:11px}.santa-section .content{padding:20px 18px}.santa-section .endnote{padding:14px 18px;flex-wrap:wrap}.santa-section .actions>button{flex:1}.santa-section .section-head{flex-wrap:wrap}.santa-section .delivery-heading{flex-wrap:wrap}}
@media(max-width:380px){.santa-section .santa-hero{grid-template-columns:1fr;text-align:center;gap:12px}.santa-section .santa-hero-copy{grid-column:1;grid-row:2;justify-items:center}.santa-section .art{grid-column:1;grid-row:1;width:100px;height:122px}.santa-section .topline{flex-wrap:wrap}.santa-section .milestones{gap:10px;flex-wrap:wrap}.santa-section .milestones li{flex:1 1 calc(50% - 10px);font-size:11px;white-space:nowrap}}

.santa-address-map { margin-top: 12px; }
.santa-address-map .santa-map-search { margin: 12px 0; }
.santa-map-canvas { width: 100%; height: 300px; overflow: hidden; border-radius: 12px; background: var(--bg, #f4f1e9); }
.santa-map-status { margin: 10px 0 0; font-size: 14px; line-height: 1.5; }
.santa-map-status.is-error { color: var(--danger, #c53b3b); }
@media (max-width: 600px) { .santa-map-canvas { height: 260px; } }

/* The two chat channels identify roles only; avatars are shared public artwork. */
.santa-chats { min-width: 0; border-top: 1px solid var(--s-line); padding-top: 22px; }
.santa-chats > h3 { margin-bottom: 8px; }
.santa-section .santa-chat-intro { font-size: 14px; color: var(--s-muted); line-height: 1.5; }
.santa-section .santa-chat { margin-top: 12px; border-top: 1px solid var(--s-line); }
.santa-section .santa-chat > summary { gap: 12px; padding: 12px 0; font-size: 16px; }
.santa-section .santa-chat-avatar { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; background: #fff2d9; flex-shrink: 0; }
.santa-chat-content { min-width: 0; display: grid; gap: 12px; padding-bottom: 12px; }
.santa-chat-messages { list-style: none; margin: 0; padding: 4px; max-height: 420px; overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 16px; }
.santa-chat-message { min-width: 0; display: flex; gap: 10px; align-items: flex-start; }
.santa-chat-message.is-mine { flex-direction: row-reverse; }
.santa-chat-bubble { min-width: 0; max-width: 85%; padding: 12px 14px; border-radius: 0 16px 16px; background: var(--s-soft); }
.santa-chat-message.is-mine .santa-chat-bubble { border-radius: 16px 0 16px 16px; background: var(--s-paper); border: 1px solid var(--s-line); }
.santa-chat-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 6px; }
.santa-chat-meta strong { font-size: 13px; color: var(--s-ink); }
.santa-chat-meta time { font-size: 11px; color: var(--s-muted); }
.santa-section .santa-chat-bubble p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.5; margin: 0; }
.santa-chat-form { display: grid; gap: 10px; }
.santa-section .santa-chat-form label { display: grid; gap: 8px; }
.santa-chat-form textarea { width: 100%; resize: vertical; }
.santa-chat-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.santa-section .santa-chat-status, .santa-section .santa-chat-empty { font-size: 14px; color: var(--s-muted); }
.santa-section .santa-chat-status.is-error { color: light-dark(#ad2039,#ffa2b1); }
.santa-chat-status:empty { display: none; }
.santa-chat-content [hidden] { display: none; }
@media(max-width:480px) { .santa-section .santa-chat-message .santa-chat-avatar { width: 32px; height: 32px; } .santa-chat-message { gap: 7px; } .santa-chat-bubble { max-width: calc(100% - 39px); padding: 10px; } .santa-chat-actions button { flex: 1 1 100%; } }

.santa-chat-face { position: relative; display: inline-flex; flex: 0 0 44px; }
.santa-chat-unread { position: absolute; top: 0; right: 0; width: 12px; height: 12px; border: 2px solid var(--s-paper); border-radius: 50%; background: #df2945; }
.santa-chat-unread[hidden] { display: none; }
.santa-section [id^="santa-"] { scroll-margin-top: 110px; }

/* Gift thumbnails use the same supplied image in live and landing examples. */
.santa-section .santa-gifts .santa-gift-image{width:88px;height:88px;object-fit:cover;border-radius:var(--radius-sm,12px);flex:none}
.santa-section .santa-gifts .santa-gift-description{display:grid;gap:12px;flex:1;min-width:0;overflow-wrap:anywhere}
.santa-section .santa-gift-description .secondary-button{justify-self:start}
