@layer pages{.home-page{isolation:isolate;min-height:100%;padding:0 calc(26 * var(--u)) calc(168 * var(--u));flex-direction:column;justify-content:flex-end;align-items:center;display:flex;position:relative}.home-page-hero{z-index:-2;position:absolute;inset:0;overflow:hidden}.home-page-hero:before{content:"";background:var(--scene-fade), var(--hero) center top / cover no-repeat;transform-origin:50% 42%;animation:6s ease-in-out infinite char-breathe;position:absolute;inset:0}.home-page-hero{container-type:size}.home-page-glints{aspect-ratio:1125/2000;width:max(100cqw,56.25cqh);position:absolute;top:0;left:50%;translate:-50%}.home-page-glints i{left:calc(var(--x) * 1%);top:calc(var(--y) * 1%);aspect-ratio:1;mix-blend-mode:screen;opacity:.35;background:radial-gradient(closest-side,#fff8e6f2,#ffdea080 22%,#d2aaff33 48%,#0000 70%),linear-gradient(90deg,#0000 6%,#fffaecf2 50%,#0000 94%) 50%/100% 3% no-repeat,linear-gradient(#0000 6%,#fffaecf2 50%,#0000 94%) 50%/3% 100% no-repeat;width:18%;position:absolute;translate:-50% -50%}@media (prefers-reduced-motion:no-preference){.home-page-glints i{animation:home-page-twinkle 3.6s ease-in-out calc(var(--i) * -.9s) infinite}}@keyframes home-page-twinkle{0%,to{opacity:.06;transform:scale(.55)rotate(0)}50%{opacity:1;transform:scale(1.1)rotate(20deg)}}.home-page-brand{position:relative}.home-page-brand:before{content:"";z-index:-1;filter:blur(8px);background:radial-gradient(closest-side,#180c289e,#180c284d 55%,#0000);border-radius:50%;position:absolute;inset:-42% -14%}.home-page-title{width:calc(631 * var(--px));aspect-ratio:631/159;color:#0000;background:url(/tarot/ui/titles/brand.webp) 50%/contain no-repeat;font-size:1px}.home-page-main{--art-button-h:calc(161 * var(--px));margin-top:calc(83 * var(--u))}.home-page-restore{width:100%;margin-top:calc(60 * var(--px));border:1px solid var(--tarot-line-soft);border-radius:var(--radius-sm);background:var(--tarot-panel-glass);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);align-items:center;gap:8px;padding:7px 6px 7px 14px;font-size:12px;display:flex}.home-page-restore-link{white-space:nowrap;text-overflow:ellipsis;text-align:left;min-width:0;color:var(--tarot-gold);flex:1;overflow:hidden}.home-page-restore-link span{color:var(--tarot-text-a82);margin-left:4px}.home-page-restore-close{width:24px;height:24px;color:var(--tarot-muted);font-size:16px}.home-page-title{width:calc(522 * var(--u));aspect-ratio:631/159;filter:drop-shadow(0 0 calc(6 * var(--u)) #ffd6968c) drop-shadow(0 0 calc(22 * var(--u)) #c896ff66)}.home-page-restore{height:calc(74 * var(--u));margin-top:calc(98 * var(--u));padding:0 calc(14 * var(--u)) 0 calc(30 * var(--u));border-radius:calc(14 * var(--u));font-size:calc(24 * var(--u))}.home-page-restore-close{width:calc(44 * var(--u));height:calc(44 * var(--u));font-size:calc(30 * var(--u))}.home-page-chips{margin-top:calc(12 * var(--u));gap:calc(19 * var(--u));display:flex}.home-page-chip{align-items:center;gap:calc(11 * var(--u));height:calc(50 * var(--u));padding:0 calc(19 * var(--u)) 0 calc(17 * var(--u));border:calc(1.5 * var(--u)) solid var(--tarot-chip-border);background:var(--tarot-glass-sheen), var(--tarot-chip-fill);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);font-size:calc(21.5 * var(--u));color:var(--tarot-ivory);white-space:nowrap;border-radius:999px;display:inline-flex}.home-page-chip:before{content:"";width:calc(28 * var(--u));height:calc(24 * var(--u));background:url(/tarot/ui/account/chip-crown.webp) 50%/contain no-repeat}.home-page-chip[data-icon=card]:before{width:calc(24 * var(--u));height:calc(28 * var(--u));margin-left:calc(2 * var(--u));background-image:url(/tarot/ui/account/chip-card.webp)}@media (prefers-reduced-motion:no-preference){.home-page-title,.home-page-chips,.home-page-restore{animation:var(--stage-anim,stage-up) .95s var(--stage-ease) calc(var(--stage-base) + var(--i,0) * var(--stage-step)) both}.home-page-title{--i:0;--stage-anim:stage-stamp;animation:stage-stamp 1.2s var(--stage-ease) var(--stage-base) both, home-page-glow 4.8s ease-in-out 1.8s infinite}.home-page-chips{--i:2}.home-page-restore{--i:4}.home-page-main{animation:stage-pop .95s var(--stage-ease) calc(var(--stage-base) + 3 * var(--stage-step)) both, breath 3.2s ease-in-out infinite}}@keyframes home-page-glow{50%{filter:drop-shadow(0 0 calc(10 * var(--u)) #ffd696cc) drop-shadow(0 0 calc(34 * var(--u)) #c896ff99)}}.game-shell-main[data-leaving] :is(.home-page-title,.home-page-chips,.home-page-main,.home-page-restore){animation:.3s ease-in both stage-out}}
