/* Winter welcome. All selectors are scoped to this presentation. */
html.cu-open { overflow:hidden; }
.cu-dialog.cu-winter { --cu-gold:#edca8c; --cu-muted:#a9bdcb; width:min(460px,calc(100vw - 24px)); height:min(840px,calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px)); max-width:none; max-height:none; margin:auto; padding:0; border:0; border-radius:0; background:transparent; color:#edf7ff; box-shadow:none; overflow:hidden; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.cu-dialog::backdrop { background:#020910d9; backdrop-filter:blur(7px); }
.cu-dialog[open] { display:flex; flex-direction:column; gap:8px; }
.cu-dialog:not([open]) { display:none; }
.cu-winter *, .cu-winter *::before, .cu-winter *::after { box-sizing:border-box; }
.cu-winter .cu-shell { flex:1; min-height:0; border:1px solid #6a91a468; border-radius:26px; box-shadow:0 24px 90px #0009; overflow:hidden; display:grid; grid-template-rows:auto minmax(0,1fr) auto; padding:20px; background:radial-gradient(ellipse at 85% 0,#23516d30,transparent 50%),#0a1722; }
.cu-winter .cu-header { display:flex; gap:8px; align-items:center; justify-content:space-between; }
.cu-winter .cu-header h2 { margin:0; color:#dcecf8; font-size:17px; font-weight:600; line-height:1.2; letter-spacing:-.025em; }
.cu-winter button { font-family:inherit; -webkit-tap-highlight-color:transparent; cursor:pointer; }
.cu-winter .cu-close { width:44px; height:44px; flex:none; display:grid; place-items:center; padding:10px; border:1px solid #6c96af35; border-radius:50%; background:#16304466; color:#c3d7e4; }
.cu-winter .cu-close svg, .cu-winter .cu-actions svg { display:block; width:22px; height:22px; }
.cu-winter .cu-slides { min-height:0; padding-top:20px; overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; scrollbar-width:none; touch-action:pan-y; }
/* Keep touch/wheel scrolling on short screens without a flashing scrollbar during slide transitions. */
.cu-winter .cu-slides::-webkit-scrollbar { display:none; width:0; height:0; }
.cu-winter .cu-slide { height:100%; min-height:280px; display:flex; flex-direction:column; gap:16px; animation:cu-appear .24s ease both; }
.cu-winter [hidden] { display:none!important; }
.cu-winter img { pointer-events:none; -webkit-user-drag:none; }
.cu-winter .cu-copy h3 { margin:0; color:#f0f8ff; font-size:28px; font-weight:700; letter-spacing:-.035em; line-height:1.1; }
.cu-winter .cu-note { margin:0; color:var(--cu-muted); font-size:12px; line-height:1.45; }
.cu-winter .cu-slide > .cu-note { margin-top:auto; flex:none; }
.cu-winter .cu-copy { flex:none; }
/* The first scene uses the approved companion; gifts form a trail around him. */
.cu-winter .cu-story { gap:4px; }
.cu-winter .cu-story-art { position:relative; isolation:isolate; overflow:hidden; min-height:0; flex:1; }
.cu-winter .cu-story-aura { position:absolute; inset:9% 4% 0; z-index:-1; border-radius:50%; background:radial-gradient(ellipse,#30709c4d,transparent 68%); }
.cu-winter .cu-grinch { position:absolute; width:84%; height:100%; left:10%; bottom:0; object-fit:contain; object-position:center bottom; animation:cu-breathe 5s ease-in-out infinite; transform-origin:50% 80%; }
.cu-winter .cu-loot { position:absolute; display:block; width:22%; aspect-ratio:1; }
.cu-winter .cu-loot img { display:block; width:100%; height:100%; object-fit:contain; }
.cu-winter .cu-loot-one { left:0; bottom:3%; transform:rotate(-14deg); }
.cu-winter .cu-loot-two { right:-1%; bottom:21%; width:17%; transform:rotate(13deg); }
.cu-winter .cu-loot-three { right:10%; bottom:-2%; width:14%; transform:rotate(-8deg); }
.cu-winter .cu-story-copy { padding:12px 0 0; }
.cu-winter .cu-story-copy h3 { font-size:36px; }
.cu-winter .cu-story-copy > p { margin:12px 0 0; font-size:14px; line-height:1.55; color:#b9cddc; }
/* Cutouts use the available area without frames or photograph backgrounds. */
.cu-winter .cu-merch { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); gap:12px 22px; flex:1; min-height:0; }
.cu-winter .cu-merch-item { margin:0; display:flex; flex-direction:column; min-width:0; min-height:0; align-items:center; gap:8px; }
.cu-winter .cu-merch-art { width:100%; flex:1; min-height:60px; position:relative; }
.cu-winter .cu-merch-art img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; }
.cu-winter .cu-merch-item figcaption { flex:none; color:#edf7ff; text-align:center; font-size:14px; font-weight:600; line-height:1.25; }
/* A separate, unboxed gift slide for the stack bonus. */
.cu-winter .cu-stack-art { position:relative; flex:1; min-height:80px; }
.cu-winter .cu-stack-art img { position:absolute; inset:0; width:100%; height:100%; display:block; object-fit:contain; }
.cu-winter .cu-stack-copy { flex:none; text-align:center; }
.cu-winter .cu-stack-copy strong { display:block; color:#f1f8ff; font-size:46px; font-weight:700; line-height:1.12; letter-spacing:-.045em; white-space:nowrap; }
.cu-winter .cu-stack-copy p { margin:8px 0 0; color:#d5e2ec; font-size:14px; line-height:1.4; }
.cu-winter .cu-stack > .cu-note { text-align:center; }
/* The five guaranteed cosmetics. */
.cu-winter .cu-cosmetics { gap:12px; }
.cu-winter .cu-companion-pair { display:grid; grid-template-columns:1fr 1fr; gap:12px; flex:1; min-height:0; }
.cu-winter .cu-companion-pair > div { display:flex; flex-direction:column; align-items:center; min-height:0; border-radius:16px; padding:0 6px 8px; background:radial-gradient(ellipse at 50% 60%,#26517540,transparent 70%); }
.cu-winter .cu-companion-pair img { display:block; flex:1; min-height:0; height:0; width:100%; object-fit:contain; object-position:center bottom; }
.cu-winter .cu-companion-pair span { flex:none; text-align:center; padding-top:8px; }
.cu-winter .cu-companion-pair strong, .cu-winter .cu-cosmetic-tile strong { display:block; font-size:13px; font-weight:600; line-height:1.2; }
.cu-winter .cu-companion-pair small, .cu-winter .cu-cosmetic-tile small { display:block; margin-top:5px; font-size:11px; color:var(--cu-gold); }
.cu-winter .cu-cosmetic-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; flex-shrink:0; }
.cu-winter .cu-cosmetic-tile { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; text-align:center; padding:8px 2px 10px; }
.cu-winter .cu-cosmetic-tile strong { margin-top:8px; font-size:12px; min-height:29px; }
.cu-winter .cu-avatar-sample, .cu-winter .cu-curtain-sample { display:flex; align-items:center; justify-content:center; width:64px; height:70px; }
.cu-winter .cu-avatar-sample > img { width:100%; height:100%; object-fit:contain; }
.cu-winter .cu-avatar-sample .winter-avatar { --wf-size:60px; }
.cu-winter .cu-avatar-sample .wf-winter-santa { --wf-size:48px; }
.cu-winter .cu-curtain-sample img { width:60px; height:62px; border-radius:10px; object-fit:fill; }
/* One page, six partners; rows grow with their text instead of clipping it. */
.cu-winter .cu-partners { height:auto; min-height:100%; }
.cu-winter .cu-partner-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 20px; align-content:space-evenly; flex:1; }
.cu-winter .cu-partner { display:flex; flex-direction:column; align-items:flex-start; gap:8px; min-width:0; }
.cu-winter .cu-partner-logo { display:flex; align-items:center; justify-content:flex-start; width:82px; height:42px; flex:none; }
.cu-winter .cu-partner-logo img { display:block; width:100%; height:100%; object-fit:contain; object-position:left center; }
.cu-winter .cu-brand-vector, .cu-winter .cu-brand-ericson, .cu-winter .cu-brand-inquisition { width:44px; }
.cu-winter .cu-brand-sova { width:46px; }
.cu-winter .cu-brand-zavod { width:100px; }
.cu-winter .cu-brand-flowers { width:90px; }
.cu-winter .cu-brand-flowers img { filter:brightness(0) invert(1); }
.cu-winter .cu-partner-copy { min-width:0; width:100%; }
.cu-winter .cu-partner-copy small { display:block; color:var(--cu-muted); font-size:10px; line-height:1.3; margin-bottom:3px; }
.cu-winter .cu-partner strong { display:block; color:#eef7fd; font-size:14px; line-height:1.25; font-weight:650; overflow-wrap:anywhere; }
.cu-winter .cu-partner p { margin:5px 0 0; color:#d5e2ec; font-size:12px; line-height:1.4; overflow-wrap:anywhere; }
/* Three actions, with the same labels the player sees in the event. */
.cu-winter .cu-steps { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; justify-content:space-evenly; flex:1; gap:14px; }
.cu-winter .cu-steps li { display:flex; align-items:flex-start; gap:12px; }
.cu-winter .cu-steps li > b { display:grid; place-items:center; flex:none; width:32px; height:32px; border:1px solid #9ecbd447; border-radius:11px; color:#b7e9fa; background:#1b3b50; font-size:15px; }
.cu-winter .cu-steps strong { display:block; font-size:16px; line-height:1.25; font-weight:650; }
.cu-winter .cu-steps p { margin:6px 0 0; color:var(--cu-muted); font-size:13px; line-height:1.45; }
.cu-winter .cu-help-note { flex:none; padding:12px; color:#d8c5a0; border-left:2px solid #d9b47170; border-radius:0 10px 10px 0; background:#d8b7760b; font-size:12px; line-height:1.5; }
/* Footer stays in place on every slide. */
.cu-winter .cu-footer { display:grid; grid-template-rows:36px 46px 32px; gap:4px; padding-top:8px; }
.cu-winter .cu-pagination { display:flex; align-items:center; justify-content:space-between; }
.cu-winter .cu-pagination > span { color:#9eb2c2; font-size:11px; font-variant-numeric:tabular-nums; }
.cu-winter .cu-dots { display:flex; margin-left:-8px; }
.cu-winter .cu-dots button { display:grid; place-items:center; width:36px; height:36px; padding:0; border:0; border-radius:10px; background:none; }
.cu-winter .cu-dots span { width:5px; height:5px; border-radius:5px; background:#4a6479; transition:width .2s,background .2s; }
.cu-winter .cu-dots [aria-current] span { width:20px; background:var(--cu-gold); }
.cu-winter .cu-actions { display:grid; grid-template-columns:46px minmax(0,1fr); gap:10px; }
.cu-winter .cu-actions button { width:100%; height:46px; padding:0 16px; border:1px solid #7397aa45; border-radius:13px; color:#c2d9e8; background:#183144; display:grid; place-items:center; font-size:14px; font-weight:650; }
.cu-winter .cu-actions [data-cu-prev] { padding:0; }
.cu-winter .cu-actions [data-cu-prev] svg { transform:rotate(180deg); }
.cu-winter .cu-actions [data-cu-prev]:disabled { opacity:.3; cursor:default; }
.cu-winter .cu-actions [data-cu-next] { border-color:#e6c48f; background:linear-gradient(115deg,#e8c58c,#f4dba9); color:#222a2d; }
.cu-winter .cu-skip { display:flex; align-items:center; justify-content:center; gap:6px; width:100%; height:32px; padding:0; border:0; border-radius:9px; color:#a9c7d9; background:none; font-size:12px; }
.cu-winter .cu-skip svg { width:14px; height:14px; }
.cu-winter button:focus-visible, .we-welcome-replay:focus-visible { outline:2px solid #a6dfff; outline-offset:2px; }
.cu-winter .cu-sr { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.cu-winter.cu-paused *, .cu-winter.cu-paused *::after, .cu-winter [hidden] *, .cu-winter [hidden] *::after { animation-play-state:paused!important; }
.we-heading .we-welcome-replay { pointer-events:auto; display:inline-flex; align-items:center; gap:7px; min-height:36px; padding:6px 0; margin:4px 0 10px; border:0; border-radius:6px; background:none; color:#d9bf8e; font:inherit; font-size:12px; cursor:pointer; }
.we-welcome-replay svg { width:16px; height:16px; }
@keyframes cu-appear { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:none; } }
@keyframes cu-breathe { 0%,100% { transform:rotate(-.6deg); } 50% { transform:rotate(.6deg); } }

.cu-winter .cu-distribution-note { flex:none; margin:0; padding:0 6px; color:#b2c3ce; font-size:10px; line-height:1.4; text-align:center; }
/* Compress spaces before shrinking artwork. Text always keeps its natural height. */
@media (max-height:760px), (max-width:375px) {
 .cu-winter .cu-shell { padding:14px; }
 .cu-winter .cu-slides { padding-top:12px; }
 .cu-winter .cu-slide { gap:12px; }
 .cu-winter .cu-copy h3 { font-size:24px; }
 .cu-winter .cu-header h2 { font-size:16px; }
 .cu-winter .cu-footer { grid-template-rows:28px 44px 28px; gap:2px; padding-top:4px; }
 .cu-winter .cu-dots button { height:28px; width:32px; }
 .cu-winter .cu-actions button { height:44px; }
 .cu-winter .cu-skip { height:28px; }
 .cu-winter .cu-note { font-size:11px; line-height:1.4; }
 .cu-winter .cu-partner-grid { gap:15px 16px; }
 .cu-winter .cu-partner { gap:5px; }
 .cu-winter .cu-partner-logo { height:30px; }
 .cu-winter .cu-partner-copy small { font-size:9px; }
 .cu-winter .cu-partner strong { font-size:13px; }
 .cu-winter .cu-partner p { font-size:11px; line-height:1.35; margin-top:4px; }
 .cu-winter .cu-merch { gap:12px 18px; }
 .cu-winter .cu-stack-copy strong { font-size:40px; }
 .cu-winter .cu-stack-copy p { font-size:13px; }
 .cu-winter .cu-merch-item figcaption { font-size:12px; }
 .cu-winter .cu-story { gap:0; }
 .cu-winter .cu-story-copy { padding-top:8px; }
 .cu-winter .cu-story-copy h3 { font-size:30px; }
 .cu-winter .cu-story-copy > p { margin-top:8px; font-size:13px; line-height:1.4; }
 .cu-winter .cu-companion-pair strong { font-size:12px; }
 .cu-winter .cu-companion-pair small, .cu-winter .cu-cosmetic-tile small { font-size:10px; }
 .cu-winter .cu-avatar-sample, .cu-winter .cu-curtain-sample { width:52px; height:55px; }
 .cu-winter .cu-avatar-sample .winter-avatar { --wf-size:49px; }
 .cu-winter .cu-avatar-sample .wf-winter-santa { --wf-size:39px; }
 .cu-winter .cu-curtain-sample img { width:48px; height:50px; }
 .cu-winter .cu-cosmetic-tile { padding:5px 2px; }
 .cu-winter .cu-cosmetic-tile strong { font-size:11px; margin-top:5px; min-height:27px; }
 .cu-winter .cu-steps { gap:12px; }
 .cu-winter .cu-steps strong { font-size:14px; }
 .cu-winter .cu-steps p { font-size:12px; line-height:1.4; }
 .cu-winter .cu-help-note { padding:8px; font-size:11px; }
}
@media (max-width:350px), (max-height:620px) {
 .cu-winter .cu-shell { padding:12px; border-radius:22px; }
 .cu-winter .cu-slides { padding-top:10px; }
 .cu-winter .cu-slide { gap:10px; }
 .cu-winter .cu-copy h3 { font-size:22px; }
 .cu-winter .cu-merch-slide { min-height:250px; }
 .cu-winter .cu-stack-art { min-height:60px; }
 .cu-winter .cu-stack-copy strong { font-size:34px; }
 .cu-winter .cu-stack-copy p { font-size:12px; margin-top:6px; }
 .cu-winter .cu-partner-grid { gap:14px 12px; }
 .cu-winter .cu-partner-logo { height:28px; }
 .cu-winter .cu-story-copy h3 { font-size:27px; }
 .cu-winter .cu-story-copy > p { font-size:12px; }
 .cu-winter .cu-steps li { gap:9px; }
 .cu-winter .cu-steps li > b { width:27px; height:27px; border-radius:9px; }
 .cu-winter .cu-steps p { font-size:11px; margin-top:4px; }
}
/* A narrow but tall phone still needs the same readable two-column layout. */
@media (max-width:430px) {
 .cu-winter .cu-partner-grid { gap:15px 16px; }
 .cu-winter .cu-partner { gap:5px; }
 .cu-winter .cu-partner-logo { height:30px; }
 .cu-winter .cu-partner-copy small { font-size:9px; }
 .cu-winter .cu-partner strong { font-size:13px; }
 .cu-winter .cu-partner p { font-size:11px; line-height:1.35; margin-top:4px; }
}
/* Small phones: spend less space on logos and gaps, not on legible copy. */
.cu-winter .cu-nowrap { white-space:nowrap; }
@media (max-height:700px) and (max-width:559px) {
 .cu-winter .cu-partners { gap:9px; }
 .cu-winter .cu-partner-grid { gap:10px 14px; }
 .cu-winter .cu-partner { gap:3px; }
 .cu-winter .cu-partner-logo { height:26px; }
 .cu-winter .cu-partners > .cu-note { font-size:10px; line-height:1.3; }
}
/* Landscape uses the width for navigation; short content can scroll independently. */
@media (max-height:520px) and (min-width:560px) {
 .cu-dialog.cu-winter { width:min(920px,calc(100vw - 24px)); }
 .cu-winter .cu-shell { padding:12px 16px; grid-template-columns:minmax(0,1fr) 140px; grid-template-rows:44px minmax(0,1fr); column-gap:20px; border-radius:20px; }
 .cu-winter .cu-header { grid-column:1/-1; }
 .cu-winter .cu-footer { align-self:center; }
 .cu-winter .cu-dots button { width:22px; }
 .cu-winter .cu-pagination > span { display:none; }
 .cu-winter .cu-actions { grid-template-columns:38px 1fr; gap:6px; }
 .cu-winter .cu-actions button { font-size:12px; padding:0 6px; }
 .cu-winter .cu-slide { min-height:200px; gap:8px; }
 .cu-winter .cu-copy h3 { font-size:22px; }
 .cu-winter .cu-story { display:grid; grid-template-columns:1fr 1fr; align-items:center; }
 .cu-winter .cu-story-art { height:100%; }
 .cu-winter .cu-story-copy h3 { font-size:26px; }
 .cu-winter .cu-story-copy > p { font-size:12px; }
 .cu-winter .cu-merch { grid-template-columns:repeat(4,minmax(0,1fr)); grid-template-rows:minmax(0,1fr); gap:12px; }
 .cu-winter .cu-merch-item figcaption { font-size:11px; }
 .cu-winter .cu-partner-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
 .cu-winter .cu-partner-logo { height:30px; }
 .cu-winter .cu-stack { display:grid; grid-template-columns:1fr 1fr; grid-template-rows:auto minmax(0,1fr) auto; column-gap:18px; }
 .cu-winter .cu-stack > .cu-copy, .cu-winter .cu-stack > .cu-note { grid-column:1/-1; }
 .cu-winter .cu-stack-copy { align-self:center; }
 .cu-winter .cu-stack-copy strong { font-size:32px; }
 .cu-winter .cu-stack-copy p { font-size:12px; }
 .cu-winter .cu-cosmetics { display:grid; grid-template-columns:1fr 1fr; grid-template-rows:auto minmax(0,1fr) auto; }
 .cu-winter .cu-cosmetics > .cu-copy, .cu-winter .cu-cosmetics > .cu-note { grid-column:1/-1; }
 .cu-winter .cu-cosmetic-row { align-self:center; gap:4px; }
 .cu-winter .cu-steps { gap:8px; }
 .cu-winter .cu-steps p br, .cu-winter .cu-help-note br { display:none; }
 .cu-winter .cu-help-note { padding:6px 10px; }
 .cu-winter .cu-how > .cu-note { display:none; }
 .cu-winter .cu-distribution-note { font-size:9px; }
}
@media (prefers-reduced-motion:reduce) { .cu-winter *, .cu-winter *::after { animation:none!important; transition:none!important; } }

/* Keep the artwork and both caption lines on the same column axis in WebViews. */
.cu-winter .cu-companion-pair { grid-template-columns:repeat(2,minmax(0,1fr)); }
.cu-winter .cu-companion-pair > div { min-width:0; box-sizing:border-box; }
.cu-winter .cu-companion-pair > div > span { display:grid; grid-template-columns:minmax(0,1fr); justify-items:stretch; width:100%; text-align:center; box-sizing:border-box; }
.cu-winter .cu-companion-pair > div > span > strong,
.cu-winter .cu-companion-pair > div > span > small { width:100%; text-align:center; margin-inline:0; padding-inline:0; }
