.aw { position: relative; max-width: 590px; margin: 6px auto 0; text-align: center; }
.aw *, .aw *::before, .aw *::after { box-sizing: border-box; }
.aw-form { margin: 0; }
.aw-card { position: relative; isolation: isolate; overflow: hidden; max-width: 590px; margin: auto; padding-bottom: 14px; color: #eff8ff; border: 2px solid #496d82; border-radius: 20px; background: #102b40; }
.aw-map { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 38%; z-index: -4; }
.aw-card::before { content: ''; position: absolute; inset: 0; z-index: -3; background: linear-gradient(#0a2139b3, #1031475c 26%, #102c4040 62%, #102b40 84%); }
.aw-sky { position: absolute; left: 0; right: 0; top: 0; height: 46%; z-index: -2; pointer-events: none; overflow: hidden; }
.aw-aurora { position: absolute; inset: 0; }
.aw-aurora i { position: absolute; left: -20%; width: 140%; height: 34%; border-radius: 50%; filter: blur(12px); opacity: .5; }
.aw-aurora i:nth-child(1) { top: 8%; background: linear-gradient(90deg, transparent, rgba(94,242,193,.7) 30%, rgba(120,220,255,.55) 55%, transparent 85%); transform: rotate(-6deg); }
.aw-aurora i:nth-child(2) { top: 24%; background: linear-gradient(90deg, transparent 10%, rgba(160,120,255,.5) 40%, rgba(94,242,193,.45) 70%, transparent); transform: rotate(4deg); }
.aw-shoot { position: absolute; top: 12%; left: 70%; width: 70px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255,255,255,0), #fff); transform: rotate(-24deg); opacity: 0; }
.aw-snowback, .aw-snowfront { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.aw-snowback { z-index: -1; }
.aw-snowfront { z-index: 9; }
.aw-stage { position: relative; isolation: isolate; padding: 16px 6px 0; }
.aw-treebox { position: absolute; left: 2%; bottom: 8%; width: 23%; max-width: 116px; z-index: -1; pointer-events: none; }
.aw-treebox img { display: block; width: 100%; height: auto; filter: drop-shadow(0 4px 3px #09202b88); }
.aw-light { position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255,236,150,.95) 0%, rgba(255,200,90,.55) 30%, rgba(255,200,90,0) 70%); opacity: .8; }
.aw-light.star { left: 48%; top: 7%; width: 44%; }
.aw-light.c1 { left: 31%; top: 15.5%; }
.aw-light.c2 { left: 85.5%; top: 39.5%; }
.aw-light.c3 { left: 5%; top: 56.5%; }
.aw-elf { position: absolute; right: 2%; bottom: 4%; width: 23%; max-width: 116px; height: auto; z-index: 6; pointer-events: none; transform-origin: 50% 95%; filter: drop-shadow(0 4px 3px #09202b88); }
.aw-window { position: relative; width: min(100%, 408px); aspect-ratio: 1122 / 1402; margin: auto; isolation: isolate; }
.aw-frame { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; z-index: 4; pointer-events: none; filter: drop-shadow(0 7px 5px #081c2d77); }
.aw-portal { position: absolute; left: 20.9%; top: 29.2%; width: 58.2%; height: 47.4%; perspective: 650px; container-type: inline-size; }
.aw-shelf { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr 1fr; overflow: hidden; background: linear-gradient(#cde5f7, #eef7fd 70%, #ffffff); }
.aw-inside { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 14% at 30% 50%, #fff 96%, transparent), radial-gradient(ellipse 55% 13% at 78% 50%, #f6fbff 96%, transparent), radial-gradient(ellipse 60% 14% at 26% 100%, #fff 96%, transparent), radial-gradient(ellipse 58% 13% at 76% 100%, #f6fbff 96%, transparent); }
.aw-portal::after { content: ''; position: absolute; z-index: 3; top: calc(50% - 3px); left: 0; right: 0; height: 6px; background: linear-gradient(#ffffff, #dbe9f4); pointer-events: none; }
.aw-reward { position: relative; z-index: 1; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; align-items: center; gap: 3px; min-width: 0; min-height: 0; margin: 0; padding: 6px 6px 7px; visibility: hidden; color: #3f301e; }
.aw-reward.open { visibility: visible; }
.aw-glow { position: absolute; inset: -15%; z-index: -1; pointer-events: none; opacity: 0; background: radial-gradient(circle, rgba(255,255,255,.9), rgba(255,255,255,0) 60%); }
.aw-reward.open .aw-glow { opacity: 1; }
.aw[data-day="25"] .aw-glow { background: radial-gradient(circle, rgba(255,226,120,.95) 0%, rgba(255,199,48,.45) 34%, rgba(255,199,48,0) 64%); }
.aw-gflake { position: absolute; top: -6%; width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(120,160,200,.35); }
.aw-art { position: relative; display: flex; align-items: center; justify-content: center; gap: min(8px, 3cqw); width: 100%; height: 100%; min-height: 0; }
.aw-art .itemcount { top: 50%; left: 50%; right: auto; translate: -50% -50%; z-index: 2; }
.aw-tile { --pic: min(58px, 24cqw); position: relative; flex: none; width: calc(var(--pic) + 8px); height: calc(var(--pic) + 8px); display: grid; place-items: center; border-radius: 12px; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.3); }
.aw-tile > img { display: block; width: var(--pic); height: var(--pic); max-width: none; }
.aw-tile .itempic { --pic: min(58px, 24cqw); text-align: center; }
.aw-cap { max-width: 100%; margin: 0; font-weight: bold; line-height: 1.1; text-wrap: balance; overflow-wrap: anywhere; padding: 2px 9px 3px; border-radius: 999px; background: #fff; color: #3f301e; box-shadow: 0 2px 5px rgba(0,0,0,.25); }
.aw-cap .currencytext img { vertical-align: middle; }
.aw-pair { position: absolute; left: 0; width: 100%; height: 50%; z-index: 2; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; appearance: none; perspective: 550px; touch-action: manipulation; cursor: pointer; }
.aw-top { top: 0; }
.aw-bottom { bottom: 0; }
.aw-pair:disabled { cursor: default; }
.aw-pair.open { pointer-events: none; }
.aw-hinge { position: absolute; top: 0; width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d; --s: -1; }
.aw-left { left: 0; }
.aw-right { right: 0; transform-origin: right center; --s: 1; }
.aw-glass { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; border: 3px solid #ad7135; box-shadow: inset 0 0 0 1px #ffe3ac, inset 0 0 12px #dffbffa8; background: linear-gradient(126deg, transparent 15%, #eaffff55 16% 22%, transparent 23% 31%, #dcffff30 32% 36%, transparent 37%), linear-gradient(143deg, #b9e7ed, #6fa1b4 27%, #315f77 67%, #90b7c1); color: #e1f6ff; text-shadow: 0 1px 3px #386478; }
.aw-pair:enabled .aw-glass { border-color: #e3b267; }
.aw-glass::after { content: ''; position: absolute; z-index: 2; right: 4%; top: 41%; width: 5px; height: 18%; border-radius: 4px; border: 1px solid #8a582c; background: linear-gradient(90deg, #ffe8a9, #d99f4c); }
.aw-right .aw-glass::after { right: auto; left: 4%; }
.aw-flk { font-style: normal; }
.aw-back { position: absolute; inset: 0; transform: rotateY(180deg); -webkit-backface-visibility: hidden; backface-visibility: hidden; background: #2f5b70; border: 3px solid #ad7135; box-shadow: inset 0 0 10px rgba(0,0,0,.35); }
.aw-pair.open .aw-hinge { transform: rotateY(calc(var(--s) * 108deg)); }
.aw-date { position: absolute; top: 28.5%; left: 50%; transform: translate(-50%, -96%); z-index: 5; pointer-events: none; }
.aw-bauble { display: block; width: 56px; height: 88px; overflow: visible; transform-origin: 50% 0; transform: translateY(18px); filter: drop-shadow(0 2px 2px rgba(0,0,0,.55)); }
.aw[data-day="25"] .aw-date { filter: drop-shadow(0 0 6px rgba(255,214,110,.9)); }
.aw-fx { position: absolute; left: 50%; top: 41%; width: 0; height: 0; z-index: 6; pointer-events: none; }
.aw-fx[data-row="1"] { top: 65%; }
.aw-fx i { position: absolute; left: 0; top: 0; width: var(--sz); height: var(--sz); opacity: 0; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'-12%20-12%2024%2024'%3E%3Cg%20stroke%3D'%231f3554'%20stroke-width%3D'3.6'%20stroke-linecap%3D'round'%3E%3Cpath%20d%3D'M0%20-10%20V10%20M-8.7%20-5%20L8.7%205%20M-8.7%205%20L8.7%20-5'%2F%3E%3C%2Fg%3E%3Cg%20stroke%3D'%23ffffff'%20stroke-width%3D'1.9'%20stroke-linecap%3D'round'%3E%3Cpath%20d%3D'M0%20-10%20V10%20M-8.7%20-5%20L8.7%205%20M-8.7%205%20L8.7%20-5'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.aw-fx i.x { display: none; }
.aw[data-day="25"] .aw-fx i.x { display: block; }
.aw-ball { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 7; pointer-events: none; }
.aw-ball i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffffff, #dce8f2 70%); box-shadow: 0 0 0 1.5px #8aa6c0; opacity: 0; }
.aw-controls { position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; min-height: 62px; padding: 14px 0 4px; }
.aw-controls .gal-btn { height: 34px; padding: 0 16px; }
.aw-after { display: none; }
.aw[data-step="2"]:not([data-moving]) .aw-after { display: block; }
.aw[data-step="2"]:not([data-moving]) .aw-action { display: none; }
.aw[data-state="preview"][data-step="2"]:not([data-moving]) .aw-action { display: inline-flex; }
.aw-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.aw-msg { display: none; max-width: 100%; color: #c23616; font-weight: bold; }
.aw-msg:not(:empty) { display: block; }
.aw-strip { display: none; }
.aw[data-step="2"]:not([data-moving]) .aw-strip { display: block; }
@media (prefers-reduced-motion: no-preference)
{
	.aw-pair:enabled::before { content: ''; position: absolute; inset: -2px; z-index: 4; pointer-events: none; animation: aw-hint 2.6s ease-in-out infinite; }
	.aw-light { animation: aw-flame 2.8s ease-in-out infinite alternate; }
	.aw-light.c2 { animation-duration: 3.3s; animation-delay: -1s; }
	.aw-light.c3 { animation-duration: 2.5s; animation-delay: -.6s; }
	.aw-light.star { animation-duration: 4s; }
	.aw-aurora i:nth-child(1) { animation: aw-aur1 14s ease-in-out infinite alternate; }
	.aw-aurora i:nth-child(2) { animation: aw-aur2 18s ease-in-out infinite alternate; }
	.aw-shoot { animation: aw-shoot 9s linear 2s infinite; }
	.aw-bauble { animation: aw-sway 4.5s ease-in-out infinite alternate; }
	.aw-glow { transition: opacity 1.1s ease .4s; }
	.aw-gflake { animation: aw-gfall var(--t) linear var(--dl) infinite; }
	.aw-pair.open .aw-hinge { animation: aw-unfold .96s cubic-bezier(.36,.05,.24,1) .75s both; }
	.aw-reward.open .aw-tile { animation: aw-pop .6s cubic-bezier(.3,1.7,.5,1) 1.2s both, aw-bob 3.4s ease-in-out 2.4s infinite; }
	.aw-reward.open .aw-tile + .aw-tile { animation-delay: 1.35s, 4s; }
	.aw-reward.open .aw-cap { animation: aw-cap .5s ease-out 1.6s both; }
	.aw-reward.open .itemcount { animation: aw-pop .5s cubic-bezier(.3,1.7,.5,1) 1.6s both; }
	.aw-fx.open i { animation: aw-ring 1s cubic-bezier(.2,.8,.3,1) 1.25s both; }
	.aw[data-moving] .aw-elf { animation: aw-throw .75s ease-in-out; }
	.aw[data-moving] .aw-ball { animation: aw-ballx .55s linear .22s both; }
	.aw[data-moving] .aw-ball i { animation: aw-bally .55s .22s both, aw-splat .4s ease-out .77s forwards; }
}
@keyframes aw-hint { 0%, 100% { box-shadow: 0 0 0 2px rgba(255,214,110,0), 0 0 12px rgba(255,214,110,0); } 50% { box-shadow: 0 0 0 2px rgba(255,214,110,.85), 0 0 16px rgba(255,214,110,.6); } }
@keyframes aw-flame { from { opacity: .55; transform: translate(-50%, -50%) scale(.85); } to { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } }
@keyframes aw-aur1 { from { transform: rotate(-6deg) translateX(-6%) skewX(-8deg); } to { transform: rotate(-2deg) translateX(6%) skewX(6deg); } }
@keyframes aw-aur2 { from { transform: rotate(4deg) translateX(5%); } to { transform: rotate(-1deg) translateX(-7%); } }
@keyframes aw-shoot { 0%, 88% { opacity: 0; transform: rotate(-24deg) translateX(0); } 90% { opacity: 1; } 100% { opacity: 0; transform: rotate(-24deg) translateX(-260%); } }
@keyframes aw-sway { from { transform: translateY(18px) rotate(-5deg); } to { transform: translateY(18px) rotate(5deg); } }
@keyframes aw-gfall { from { top: -6%; transform: translateX(0); } 50% { transform: translateX(6px); } to { top: 104%; transform: translateX(-4px); } }
@keyframes aw-unfold { 0% { transform: rotateY(0); } 15% { transform: rotateY(calc(var(--s) * 5deg)); } 73% { transform: rotateY(calc(var(--s) * 115deg)); } 100% { transform: rotateY(calc(var(--s) * 108deg)); } }
@keyframes aw-pop { 0% { opacity: 0; transform: scale(0); } 100% { opacity: 1; transform: none; } }
@keyframes aw-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes aw-cap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes aw-ring { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.3); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--rot)) scale(1); } }
@keyframes aw-throw { 0%, 100% { transform: none; } 30% { transform: rotate(8deg) translateX(3px); } 55% { transform: rotate(-11deg) translateX(-4px); } 75% { transform: rotate(-3deg); } }
@keyframes aw-ballx { from { transform: translateX(0); } to { transform: translateX(var(--bx)); } }
@keyframes aw-bally { 0% { opacity: 1; transform: translateY(0); animation-timing-function: ease-out; } 45% { opacity: 1; transform: translateY(var(--peak)); animation-timing-function: ease-in; } 100% { opacity: 1; transform: translateY(var(--by)); } }
@keyframes aw-splat { from { opacity: 1; transform: translateY(var(--by)) scale(1); } to { opacity: 0; transform: translateY(var(--by)) scale(2.8); } }
