@font-face { font-family: "Santa Magic"; src: url("/fonts/mystery-quest.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, sans-serif; background: #08132a; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: #08132a; color: #fffdf5; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.experience-runtime { min-height: 100svh; overflow: hidden; color: #fff9e9; background: #030303; font-family: ui-sans-serif, system-ui, sans-serif; }
.experience-runtime [hidden] { display: none !important; }
.santa-onboarding { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 88px 24px; background: radial-gradient(ellipse at 50% 35%, #efc86e0a, transparent 60%), #030303; }
.santa-onboarding[hidden] { display: none; }
.santa-onboarding__content { position: relative; width: min(100%, 410px); text-align: center; }
.santa-preview-mode { display: grid; gap: 10px; margin: 20px 0 4px; padding: 14px; border: 1px solid #7287ba; border-radius: 12px; color: #d8e2ff; text-align: left; }
.santa-preview-mode legend { padding: 0 6px; color: #f2ce66; font-size: .85rem; font-weight: 700; }
.santa-preview-mode label { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.santa-preview-mode input { accent-color: #f2ce66; }
.santa-onboarding h1 { margin: 0; font: 500 clamp(30px, 7vw, 42px)/1.2 "Lora", Georgia, serif; letter-spacing: -.025em; text-wrap: balance; }
.santa-intro { margin: 18px auto 24px; max-width: 34ch; color: #c4ccd5; font: 400 15px/1.65 ui-sans-serif, system-ui, sans-serif; }
.santa-form { display: grid; gap: var(--form-field-gap); text-align: left; }
.santa-form label:not(.santa-preview-voices) { margin-top: calc(var(--form-group-gap) - var(--form-field-gap)); color: #c2c9dc; font-size: var(--form-label-size); font-weight: var(--form-label-weight); line-height: 1.5; }
.santa-form label:first-child { margin-top: 0; }
.santa-form label span { font-weight: 400; }
.santa-form input, .santa-form select { width: 100%; min-height: 52px; padding: 0 15px; border: 1px solid #7287ba; border-radius: 12px; outline: none; color: var(--form-value-color); background: #fffdf5; font-size: var(--form-value-size); font-weight: var(--form-value-weight); }
.santa-form input::placeholder { color: var(--form-placeholder-color); opacity: 1; }
.santa-form select:has(option[value=""]:checked) { color: var(--form-placeholder-color); }
.santa-form input:focus, .santa-form select:focus { border-color: #f2ce66; box-shadow: 0 0 0 3px #f2ce6647; }
.santa-button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 28px; border: 1px solid #ffe5a0; border-radius: 999px; background: linear-gradient(102deg, #f4d27b, #e3ad40); color: #271a09; font: 600 16px/1.4 ui-sans-serif, system-ui, sans-serif; box-shadow: 0 0 20px #dda94035, inset 0 1px 0 #fffde6; }
.santa-button:focus-visible { outline: 2px solid #fff9e9; outline-offset: 4px; }
.santa-onboarding .santa-button { width: 100%; }
.santa-onboarding .customer-text-link { display: block; margin-top: 20px; color: #c4ccd5; font-size: 14px; }
.santa-button:disabled { opacity: .7; cursor: wait; }
.santa-button--small { min-height: 45px; padding: 0 20px; margin: 8px 0 0; }
.santa-ar-stage { position: fixed; inset: 0; z-index: 2; overflow: hidden; background: #030303; }
.santa-ar-camera { position: absolute; inset: 0; overflow: hidden; }
.santa-camera-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.santa-paper-anchor { position: absolute; top: 0; left: 0; z-index: 1; width: 1000px; height: 1419px; transform-origin: 0 0; pointer-events: none; will-change: transform; }
.santa-paper-acquired { position: absolute; z-index: 8; inset: 0; background: linear-gradient(135deg, #f1cf82, #f7e5b1); opacity: 0; pointer-events: none; }
.santa-paper-acquired.is-found { animation: santa-paper-found var(--acquisition-duration, 3500ms) ease-in-out forwards; }
@keyframes santa-paper-found { 0%, 100% { opacity: 0; } 12%, 75% { opacity: .6; } }
.santa-preview-paper-anchor { top: 50%; left: 50%; transform-origin: center; filter: drop-shadow(0 24px 35px #0008); }
.santa-preview-paper { position: absolute; inset: 0; overflow: hidden; border: 1px solid #d9ccb2; border-radius: 3px; background: linear-gradient(100deg, #fffdf8, #f6edda 54%, #fffaf0); box-shadow: inset 0 0 90px #b49a6b18; }
.santa-preview-paper canvas { width: 100%; height: 100%; }
.santa-preview-paper::after { content: "Desktop story preview"; position: absolute; right: 7%; bottom: 5%; color: #917753; font: 600 24px/1 ui-sans-serif, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; opacity: .35; }
.santa-paper-scene { position: absolute; inset: 0; }
.santa-paper-scene.is-paused * { animation-play-state: paused !important; }
.santa-paper-cloud { position: absolute; inset: 13% 5% 12%; opacity: 0; background: radial-gradient(ellipse at 50% 48%, #f8f0e2 0%, #f6ecdc 46%, #f1e4ceeb 62%, #e9d8bb8c 76%, transparent 89%); -webkit-backdrop-filter: blur(8px) saturate(.7); backdrop-filter: blur(8px) saturate(.7); transition: opacity 500ms ease; }
.santa-elf-animation { position: absolute; z-index: 5; top: 0; left: 50%; width: 19%; aspect-ratio: 1; opacity: 0; pointer-events: none; transform: translate(-50%, -86.71875%); background-image: url("/sprite.png"); background-repeat: no-repeat; background-size: 1400% 100%; will-change: background-position, opacity; }
.santa-reading-light { position: absolute; z-index: 3; inset: 0; overflow: hidden; opacity: 0; pointer-events: none; transition: opacity 120ms linear; }
.santa-reading-light__pool { position: absolute; transform: translate(-65%, -50%) scale(1.5, .7); border-radius: 50%; background: radial-gradient(ellipse, #f7e1aa66 0%, #f0daaa26 40%, transparent 74%); filter: blur(12px); }
.santa-reading-light i { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #c1964b; }
.santa-reading-light i:nth-of-type(1), .santa-reading-light i:nth-of-type(3) { border-radius: 0; clip-path: polygon(50% 0, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0 50%, 35% 35%); }
.santa-reading-light i:nth-of-type(1) { width: 32px; height: 32px; }
.santa-reading-light i:nth-of-type(2) { width: 7px; height: 7px; }
.santa-paper-name-search { position: absolute; z-index: 4; inset: 0; opacity: 0; pointer-events: none; transition: opacity 350ms ease; }
.santa-paper-name-search h2 { position: absolute; top: 27%; left: 10%; width: 80%; margin: 0; color: #573820; font: 400 78px/1.4 "Santa Magic", Georgia, serif; letter-spacing: .025em; text-align: center; }
.santa-paper-name-search h2 span { display: inline-block; margin-inline: .18em; color: #9c702f; font: 28px/1 Georgia, serif; vertical-align: middle; }
.santa-paper-name-search__viewport { position: absolute; top: 38%; left: 10%; width: 80%; height: 33%; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); }
.santa-paper-name-search ol { margin: 0; padding: 0; list-style: none; transform: translateY(0); }
.santa-paper-name-search li { display: flex; align-items: center; justify-content: center; width: 100%; height: var(--registry-row-height); color: #634226; font: 400 var(--registry-name-size, 66px)/1.35 "Santa Magic", Georgia, serif; letter-spacing: .035em; text-align: center; white-space: nowrap; }
.santa-paper-name-search li > span { position: relative; display: inline-block; transition: color 350ms ease; }
.santa-paper-name-search ol.is-found .is-child > span { color: #b42c48; }
.santa-paper-name-search .is-child > span::before, .santa-paper-name-search .is-child > span::after { position: absolute; top: 50%; color: #bc8c2e; content: "✦"; font: 24px/1 Georgia, serif; opacity: 0; transform: translateY(-50%) scale(.3); transition: opacity 500ms ease, transform 700ms cubic-bezier(.16,1,.3,1); }
.santa-paper-name-search .is-child > span::before { right: calc(100% + 22px); }
.santa-paper-name-search .is-child > span::after { left: calc(100% + 22px); }
.santa-paper-name-search ol.is-found .is-child > span::before, .santa-paper-name-search ol.is-found .is-child > span::after { opacity: 1; transform: translateY(-50%) scale(1); }
.santa-paper-name-search ol.is-scrolling { animation: santa-registry-scroll 7s linear forwards; }
.santa-paper-name-search ol.is-found { transform: translateY(var(--registry-final-offset)); }
@keyframes santa-registry-scroll {
  0% { transform: translateY(0); }
  52% { transform: translateY(var(--registry-final-offset)); animation-timing-function: cubic-bezier(.33,.4,.67,1); }
  64% { transform: translateY(var(--registry-overshoot-offset)); animation-timing-function: cubic-bezier(.4,0,.2,1); }
  100% { transform: translateY(var(--registry-final-offset)); }
}
.santa-paper-stamp { position: absolute; z-index: 5; right: 9%; bottom: 9%; width: 36%; height: auto; opacity: 0; transform: rotate(-9deg); transform-origin: center; mix-blend-mode: multiply; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .santa-paper-name-search li > span, .santa-paper-name-search .is-child > span::before, .santa-paper-name-search .is-child > span::after { transition: none; } }
.santa-close, .santa-pause { position: absolute; z-index: 10; top: max(20px, env(safe-area-inset-top)); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0; outline: none; color: #fff9e9; background: transparent; cursor: pointer; text-decoration: none; }
.santa-close { font: 400 28px/1 ui-sans-serif, system-ui, sans-serif; text-decoration: none !important; }
.santa-close { left: 20px; }
.santa-close:focus-visible, .santa-pause:focus-visible { color: #f2ce66; }
.santa-pause { right: 20px; }
.santa-pause:disabled { opacity: .4; }
.santa-ar-instruction { position: absolute; z-index: 10; inset: max(77px, calc(env(safe-area-inset-top) + 57px)) 24px auto; text-align: center; text-shadow: 0 2px 7px #000; font-weight: 700; }
.santa-lost-hint, .santa-replay { position: absolute; z-index: 10; left: 50%; bottom: max(32px, env(safe-area-inset-bottom)); transform: translateX(-50%); white-space: nowrap; }
.santa-lost-hint { padding: 10px 16px; border-radius: 999px; background: #030303d9; }
.santa-replay { min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; background: #fffdf5; color: #16244c; font-weight: 800; }
.santa-notice { position: absolute; z-index: 9; inset: 0; display: grid; align-content: center; justify-items: center; gap: 20px; padding: 88px 24px; color: #fff9e9; background: #030303; text-align: center; }
.santa-notice p { max-width: 30ch; margin: 0; color: #d4d8dd; font: 400 16px/1.65 ui-sans-serif, system-ui, sans-serif; }
.santa-notice button[hidden] { display: none; }
.santa-debug { position: absolute; z-index: 11; right: 10px; bottom: 10px; max-width: 210px; padding: 8px; border: 1px solid #78ff9e99; border-radius: 7px; color: #78ff9e; background: #00130cdd; font: 11px/1.4 ui-monospace, monospace; }
.santa-debug output { display: block; white-space: pre-line; }
.santa-debug div { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
.santa-debug button { border: 1px solid #78ff9e99; border-radius: 4px; color: inherit; background: transparent; font: inherit; }
.santa-preview-voices { display: grid; grid-template-columns: 20px 1fr; align-items: center; gap: 10px; margin-top: calc(var(--form-group-gap) - var(--form-field-gap)); padding: 12px; border: 1px solid #7287ba; border-radius: 10px; color: #d8e2ff; font: 400 14px/1.6 ui-sans-serif, system-ui, sans-serif; }
.santa-form .santa-preview-voices input { width: 18px; min-height: 18px; margin: 0; accent-color: #f2ce66; }
.santa-preview-voices span { grid-column: 2; font-size: 12px; line-height: 1.5; }
.santa-debug--preview { left: 16px; right: auto; bottom: 16px; max-width: min(450px, calc(100vw - 32px)); padding: 12px; color: #ffe5a0; border-color: #ffe5a080; background: #08132aee; }
.santa-debug--preview button { min-height: 34px; padding: 5px 10px; border-color: #ffe5a080; }
.santa-debug button:disabled { opacity: .4; cursor: default; }
@media (orientation: landscape) and (max-width: 900px) { .santa-ar-stage::after { content: "Please turn your phone upright."; position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; background: #08132af0; font-weight: 800; text-align: center; } }

/* Account, purchase, legal, and staff surfaces use a deliberately separate document layout. */
.site-header { align-items: center; background: #173c31; color: #fff; display: flex; justify-content: space-between; padding: 1rem clamp(1rem, 4vw, 4rem); }
.site-header a { color: #fff; margin-left: 1rem; text-decoration: none; }.site-header__brand { font-weight: 800; margin-left: 0 !important; }.site-header__button { background: transparent; border: 0; color: #fff; cursor: pointer; font: inherit; margin-left: 1rem; }
.flash { background: #dbeed8; color: #173c31; padding: .8rem 1rem; text-align: center; }.flash--alert { background: #f9d9d2; color: #651d12; }
.public-page,.auth-page,.legal-page { color: #2c2018; margin: 0 auto; max-width: 850px; padding: clamp(2rem, 6vw, 5rem) 1.25rem; }.auth-page { max-width: 520px; }.eyebrow { color: #9c3a23; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }.experience-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }.experience-card, .public-page section, .auth-page section { background: #fff; border: 1px solid #eadbc6; border-radius: 16px; margin: 1.5rem 0; padding: 1.5rem; }.public-page .button,.auth-page .button,.public-page button,.auth-page button { background: #9f3a23; border: 0; border-radius: 8px; color: #fff; cursor: pointer; display: inline-block; font: inherit; padding: .7rem 1rem; text-decoration: none; }.stacked-form { display: grid; gap: .75rem; max-width: 560px; }.stacked-form input,.stacked-form select { border: 1px solid #bda98e; border-radius: 7px; font: inherit; padding: .7rem; }.stacked-form label { color: var(--form-label-color); font-size: var(--form-label-size); font-weight: var(--form-label-weight); line-height: 1.5; }.stacked-form :is(input, select, textarea) { color: var(--form-value-color); font-size: var(--form-value-size); font-weight: var(--form-value-weight); }.stacked-form input::placeholder { color: var(--form-placeholder-color); opacity: 1; }.stacked-form label + :is(input, select, textarea) { margin-top: calc(var(--form-field-gap) - .75rem); }.cookie-consent { background: #173c31; bottom: 1rem; color: #fff; max-width: 520px; padding: 1rem; position: fixed; right: 1rem; z-index: 20; }.cookie-consent a { color: #fff; }.cookie-consent button { margin-right: .5rem; }.cookie-consent button:first-child { background: transparent; border: 1px solid #fff; }.metric-list,.staff-nav { color: #2c2018; display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 0; }.metric-list li { background: #fff; border: 1px solid #eadbc6; border-radius: 12px; padding: 1rem; } .public-page table { border-collapse: collapse; margin-top: 1rem; width: 100%; }.public-page th,.public-page td { border-bottom: 1px solid #eadbc6; padding: .75rem; text-align: left; vertical-align: top; }
.child-profile-form { color-scheme: light; }
.child-profile-form :is(input, select) { width: 100%; min-width: 0; }

/* Public demos and private purchased stories share the phone handoff presentation. */
.story-handoff { position: relative; display: none; min-height: 100svh; padding: 28px clamp(24px, 5vw, 72px) 48px; color: #f7f1df; background: radial-gradient(ellipse at 50% 18%, #d6a84212, transparent 55%), #030303; }
.story-handoff--desktop { padding-top: 88px; }
.story-handoff--desktop.is-active { display: flex; flex-direction: column; }
.story-handoff--phone { display: block; }
.story-handoff[hidden] { display: none; }
.story-handoff__brand { display: inline-block; }
.story-handoff__brand img { display: block; width: 128px; height: auto; }
.story-handoff__content { width: min(100%, 520px); margin: clamp(36px, 7vh, 80px) auto 0; text-align: center; }
.story-handoff--desktop .story-handoff__content { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto; }
.story-handoff h1 { margin: 0 0 20px; font: 400 clamp(36px, 4vw, 52px)/1.08 "Yondora Storybook", Georgia, serif; letter-spacing: -.035em; }
.story-handoff--desktop h1 { font-size: clamp(32px, 9vw, 56px); }
.story-handoff__title-line { display: block; }
.story-handoff__content > p { color: #c5c5c5; font-size: 16px; line-height: 1.6; }
.story-handoff__qr { display: grid; place-items: center; width: 232px; height: 232px; margin: 28px auto 16px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 0 40px #c8a34b12; }
.story-handoff__qr canvas { display: block; width: 220px; height: 220px; border-radius: 10px; }
.story-handoff__qr canvas[hidden], .story-handoff__qr-loading[hidden] { display: none; }
.story-handoff__qr-loading { display: grid; justify-items: center; gap: 12px; color: #5d5a53; font: 500 14px/1.4 ui-sans-serif, system-ui, sans-serif; }
.story-handoff__qr-spinner { width: 24px; height: 24px; border: 2px solid #d6d1c4; border-top-color: #a9853b; border-radius: 50%; animation: story-handoff-spin 800ms linear infinite; }
@keyframes story-handoff-spin { to { transform: rotate(360deg); } }
.story-handoff__status { max-width: 44ch; margin: 20px auto; overflow-wrap: anywhere; }
.story-handoff__secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; min-height: 44px; margin: 14px auto 0; color: #f7f1df !important; font: 500 14px/1.4 ui-sans-serif, system-ui, sans-serif; text-decoration: none; }
.story-handoff button.story-handoff__secondary { border: 0; padding: 10px 16px; background: transparent; }
.story-handoff__secondary svg { flex: 0 0 auto; width: 18px; height: 18px; }
.story-handoff__secondary:hover { color: #efc86e !important; text-decoration: underline; text-underline-offset: 4px; }
.story-handoff__secondary:focus-visible { outline: 2px solid #efc86e; outline-offset: 3px; border-radius: 8px; }
.story-handoff .story-handoff__copy { display: grid; grid-template-columns: 18px 64px; width: 122px; margin-top: 0; color: #c5c5c5 !important; text-align: left; transition: color 150ms ease; }
.story-handoff .story-handoff__copy.is-copied { color: #efc86e !important; }
.story-handoff__copy:disabled { opacity: .6; }
.story-handoff__link { width: 100%; min-height: 44px; margin-top: 8px; padding: 10px 12px; border: 1px solid #776239; border-radius: 8px; background: #14120d; color: #f7f1df; font: 14px/1.4 ui-sans-serif, system-ui, sans-serif; }
.story-handoff__link:focus-visible { outline: 2px solid #efc86e; outline-offset: 3px; }
.story-handoff__content > .story-handoff__copy-status { margin: 8px 0 0; font-size: 14px; }
.story-handoff__primary { display: block; width: 100%; margin: 30px auto 0; padding: 15px 24px; border: 1px solid #ffe7a3; border-radius: 999px; background: linear-gradient(105deg, #f3d47c, #e9b348); color: #251a08; font: 600 17px/1.4 ui-sans-serif, system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.story-handoff__primary:disabled { opacity: .45; cursor: default; }
.story-handoff--phone .story-handoff__content { margin-top: clamp(64px, 14vh, 120px); }
.story-handoff--phone h1 { font-size: clamp(42px, 10vw, 56px); }
