@import url('data:text/css,');
:root{color-scheme:dark;--ink:#f0eade;--muted:#a8b6be;--gold:#d9bc82;--line:#d4bf8d33;--serif:"Songti SC","STSong","Noto Serif CJK SC",serif;--sans:"PingFang SC","Microsoft YaHei",sans-serif}*{box-sizing:border-box}body{margin:0;background:#101f2b;color:var(--ink);font:16px/1.6 var(--sans);min-height:100vh}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button{border:0}button:disabled{cursor:wait;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #fce0a3;outline-offset:5px}button:hover{filter:brightness(1.12)}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.sky{position:fixed;inset:0;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 75% 22%,#51728136,transparent 50%),radial-gradient(ellipse at 0 80%,#34526b55,transparent 50%),linear-gradient(135deg,#0b1826,#1f3441 60%,#13202d);z-index:-1}.sky:after{content:"";position:absolute;inset:0;background-image:radial-gradient(circle,#e0d6b9aa 1px,transparent 1.5px),radial-gradient(circle,#d0e6f866 .7px,transparent 1px);background-size:179px 137px,79px 113px;background-position:22px 45px,61px 25px;opacity:.5}.orbit{position:absolute;border:1px solid #9fc3d015;border-radius:50%;width:1000px;height:1000px;left:45%;top:-510px;transform:rotate(-25deg)}.orbit-two{width:1200px;height:1200px;top:-570px;left:40%}.shell{max-width:1680px;margin:auto;padding:0 4.2%}.topbar{height:105px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:36px}.brand{display:flex;gap:13px;align-items:center;font:700 25px var(--serif);letter-spacing:3px}.brand-mark{font:58px var(--serif);color:var(--gold)}.brand small{display:block;font:9px/2.5 var(--sans);letter-spacing:2.5px;color:#a4b8c4}.topbar nav{display:flex;align-self:stretch;margin:auto;gap:44px}.nav{background:none;position:relative;color:#9faeb8;font-size:16px;letter-spacing:2px;padding:0 7px}.nav.active{color:#f8e5b4}.nav.active:after{content:"";position:absolute;bottom:-1px;height:3px;left:0;right:0;background:var(--gold);box-shadow:0 -4px 20px #e7c37466}.nav span{font-size:12px;border:1px solid #a8b6be44;border-radius:10px;padding:0 6px;letter-spacing:0}.icon-button{background:transparent;border:1px solid var(--line);border-radius:50%;height:38px;width:38px;color:var(--gold);font-size:23px;display:grid;place-items:center;flex-shrink:0}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:28px 0 20px}.eyebrow{font-size:12px;letter-spacing:3.5px;color:var(--gold)}.edition{font:15px var(--serif);letter-spacing:3px;color:#c1cbd0}.edition i{display:inline-block;width:30px;height:1px;background:var(--gold);margin:0 15px;vertical-align:middle}.wish-layout{display:grid;grid-template-columns:95px 1fr;gap:25px}.banners{display:flex;flex-direction:column;align-items:center;padding-top:13px}.banner-tab{width:95px;padding:15px 8px;background:linear-gradient(145deg,#c3d0d11a,#b8c2c00a);border:1px solid #d4bf8d88;position:relative}.banner-tab:before{content:"";position:absolute;left:-1px;top:0;bottom:0;width:3px;background:var(--gold)}.banner-tab>span{font-size:35px;line-height:1.5;color:var(--gold)}.banner-tab strong{display:block;font:17px var(--serif);letter-spacing:2px;margin:9px 0}.banner-tab small{font-size:12px;color:var(--muted)}.banner-line{height:50px;width:1px;background:linear-gradient(var(--gold),transparent);margin:25px 0}.vertical-caption{writing-mode:vertical-rl;font:13px var(--serif);letter-spacing:5px;color:#8ea1ae}.hero{height:clamp(460px,44vw,620px);position:relative;isolation:isolate;overflow:hidden;background:#e6e1d6;border:1px solid #e4d7b0aa;box-shadow:0 20px 65px #0003;color:#32424c}.hero:after{content:"";position:absolute;inset:10px;border:1px solid #9c82432b;pointer-events:none;z-index:5}.hero-art{position:absolute;inset:0;z-index:-2;background:radial-gradient(ellipse at 40% 40%,#eae7df,#cec8b9)}.hero-art img{position:absolute;height:135%;width:auto;max-width:none;right:4%;top:-6%;object-fit:contain;mix-blend-mode:multiply}.art-shade{position:absolute;inset:0;background:linear-gradient(90deg,#e8e7df 0%,#e8e7dff7 17%,#e8e7dfaa 33%,transparent 51%),linear-gradient(0deg,#ddd9cb 0%,transparent 20%)}.hero-ring{position:absolute;width:520px;height:520px;border:1px solid #8c78572b;border-radius:50%;left:-225px;top:10%;z-index:-1}.hero-ring:after{content:"";position:absolute;inset:20px;border:1px solid #8c78571b;border-radius:50%}.hero-copy{padding:55px 0 0 5.5%;position:relative;z-index:1;width:49%}.pill{display:inline-block;background:#52616a;color:#f0efe6;padding:5px 15px;font-size:13px;letter-spacing:3px;clip-path:polygon(0 0,100% 0,calc(100% - 8px) 100%,0 100%)}.hero h1{font:500 clamp(44px,5.5vw,83px)/1.3 var(--serif);letter-spacing:5px;margin:22px 0 10px;color:#263c49;text-shadow:0 2px #fff8;white-space:nowrap}.hero h1 span{color:#746341}.title-rule{height:20px;display:flex;align-items:center;max-width:245px;color:#9b814c}.title-rule:after{content:"";height:1px;flex:1;background:linear-gradient(90deg,#9b814c,transparent);margin-left:12px}.hero-poem{font:18px/2 var(--serif);letter-spacing:3px;margin:15px 0;color:#52616a}.hero-tagline{font-size:13px;color:#707b7c;display:flex;gap:12px;margin-top:24px}.hero-tagline i{color:#9b814c}.detail-link{background:none;color:#596b75;padding:0;border-bottom:1px solid #82909577;margin-top:23px;font-size:14px;letter-spacing:2px}.detail-link span{padding-left:22px}.featured{position:absolute;bottom:62px;right:4%;text-align:right;text-shadow:0 1px 5px #fff9}.rarity-label{color:#977134;font:italic 700 34px Georgia,serif}.rarity-label span{font-size:15px;letter-spacing:4px;vertical-align:middle}.featured h2{font:600 33px var(--serif);letter-spacing:5px;margin:2px 0}.featured p{font-size:14px;letter-spacing:3px;margin:8px 0}.featured-label{font-size:12px;color:#68716e}.hero-bottom{position:absolute;bottom:22px;left:5.5%;right:4%;display:flex;justify-content:space-between;font-size:12px;letter-spacing:2px;color:#758180}.wish-bottom{display:flex;justify-content:space-between;gap:40px;align-items:center;margin:29px 0 32px 120px}.pity{width:350px}.pity-title{display:flex;gap:13px;align-items:center}.pity-star{font-size:43px;color:var(--gold)}.pity strong{font:17px var(--serif);letter-spacing:2px}.pity p{margin:1px 0;font-size:13px;color:var(--muted)}.pity p b,.pity em{font-style:normal;color:var(--gold)}.pity-number{margin-left:auto;font-size:13px;color:#8e9eaa}.pity-number b{color:var(--gold);font-weight:400}.progress{height:3px;background:#cbd9db20;margin:8px 0 7px}.progress span{display:block;height:100%;background:var(--gold);transition:width .5s}.pity small{font-size:12px;color:#99a9b3}.wish-actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.free-label{color:#a5b6bd;font-size:12px;letter-spacing:1px}.free-label>span{display:inline-block;width:5px;height:5px;background:#a3c9ba;border-radius:50%;margin-right:6px}.draw-buttons{display:flex;gap:18px}.wish-button{height:66px;min-width:190px;border-radius:3px;display:flex;align-items:center;justify-content:center;gap:18px;font:21px var(--serif);letter-spacing:2px;border:1px solid #e5d7b3;position:relative;transition:transform .2s,filter .2s}.wish-button:before{content:"";position:absolute;inset:4px;border:1px solid currentColor;opacity:.17;pointer-events:none}.wish-button:hover{transform:translateY(-2px)}.wish-button small{display:block;font:9px/2 var(--sans);letter-spacing:2px;margin-top:2px}.single{background:#e5e6df;color:#41515b}.ten{background:linear-gradient(110deg,#ddc99e,#fae9c3 50%,#e4c993);color:#5a4b32;min-width:235px;box-shadow:0 5px 25px #edc57518}.button-star{font:35px Georgia}.button-arrow{font-size:32px;margin-left:4px}footer{border-top:1px solid var(--line);padding:20px 0;display:flex;justify-content:space-between;gap:12px;color:#8c9daa;font-size:12px;letter-spacing:1px}footer i{padding:0 8px;color:var(--gold)}.page-heading{display:flex;justify-content:space-between;align-items:center;margin:38px 0 28px}.page-heading h1{font:38px var(--serif);letter-spacing:5px;margin:12px 0}.page-heading p{color:var(--muted);font-size:14px}.collection-total{font:36px var(--serif);color:var(--gold)}.filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:25px}.filters button{background:#ffffff08;padding:7px 23px;color:#aabbc5;border:1px solid var(--line)}.filters button.active{background:#d9bc82;color:#243642}.filters label{margin-left:auto;font-size:14px;color:var(--muted)}.collection-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px;padding-bottom:35px}.collect-card,.result-card{--rarity:#9fa6ae;border:1px solid color-mix(in srgb,var(--rarity),transparent 40%);border-radius:5px;overflow:hidden;background:#192b38;position:relative;padding:0;text-align:left;box-shadow:0 6px 20px #0002}.collect-card img{width:100%;aspect-ratio:2/2.8;object-fit:cover;display:block}.collect-card.unowned img{filter:saturate(.25);opacity:.65}.card-info{padding:12px;border-top:2px solid var(--rarity)}.card-info strong{font:18px var(--serif);display:block;margin:4px 0}.card-info small{color:var(--muted);font-size:12px}.card-info .tier{color:var(--rarity);font:italic 700 18px Georgia}.card-count{position:absolute;top:10px;right:10px;background:#0c1b2bcc;padding:2px 9px;font-size:12px;color:#eee}.outline-button{background:#ffffff06;padding:9px 20px;border:1px solid var(--line);color:var(--gold);border-radius:2px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:25px}.stat{border:1px solid var(--line);padding:20px 25px;background:#ffffff03}.stat span{display:block;font-size:14px;color:var(--muted)}.stat strong{font:32px/1.8 Georgia,serif;color:var(--gold)}.history-row{display:grid;grid-template-columns:50px 1fr 80px 160px;gap:20px;align-items:center;padding:12px 18px;border-bottom:1px solid #c1d2d31a;font-size:14px}.history-row img{width:40px;height:50px;object-fit:cover;border-radius:2px}.history-row time{color:var(--muted);font-size:12px;text-align:right}.empty{text-align:center;padding:60px 20px;color:var(--muted)}.empty span{display:block;color:var(--gold);font-size:50px}.load-more{display:block;margin:25px auto}dialog{color:var(--ink);background:linear-gradient(135deg,#233b4b,#152735);border:1px solid var(--gold);border-radius:6px;width:min(650px,92vw);max-height:88dvh;padding:38px;box-shadow:0 30px 100px #0006}dialog::backdrop{background:#071321bb;backdrop-filter:blur(8px)}dialog h2{font:29px var(--serif);letter-spacing:2px;margin:18px 0}dialog h3{font:19px var(--serif);color:var(--gold)}dialog p,dialog li{font-size:14px;line-height:1.9}dialog li{margin-bottom:8px}dialog ul{padding-left:20px}.close{position:absolute;right:16px;top:16px;z-index:3}.muted{color:var(--muted)}.rate-row{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:8px 0;font-size:14px}.result-dialog{width:min(1250px,96vw);text-align:center;padding:35px;background:radial-gradient(ellipse at 50% 30%,#38566b,#101d2d 70%)}.result-sub{color:var(--muted)}.result-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin:25px auto}.result-grid.single-result{grid-template-columns:minmax(180px,260px);justify-content:center}.result-card img{width:100%;aspect-ratio:2/2.7;object-fit:cover;display:block}.result-card .card-info{padding:8px}.result-card .card-info strong{font-size:15px}.result-card .card-info .tier{font-size:15px}.result-card{animation:card-in .5s both;animation-delay:calc(var(--i)*.07s)}.new-badge{position:absolute;top:8px;left:8px;color:#22333e;background:#f6d798;font-size:12px;padding:2px 8px;border-radius:2px}.result-confirm{margin:24px auto 0;height:50px;font-size:18px}.summon{height:450px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}.summon-star{color:#f6d798;font-size:110px;line-height:1.2;animation:pulse 1s infinite alternate;filter:drop-shadow(0 0 30px #ebc877)}.summon h2{font-size:20px;margin:35px 0}.summon-orbit{position:absolute;inset:30px auto auto;width:280px;height:280px;border:1px solid #dfd6b455;border-radius:50%;animation:orbit 5s linear infinite}.summon-orbit:after{content:"✦";color:var(--gold);position:absolute;top:20px;left:45px}.card-dialog{width:min(850px,94vw);padding:0}.card-detail-layout{display:grid;grid-template-columns:1fr 1fr}.card-detail-layout img{width:100%;display:block}.card-detail-copy{padding:70px 25px 30px;align-self:center}.card-detail-copy .tier{font:italic 38px Georgia;color:var(--gold)}.card-detail-copy h2{font-size:27px}.card-detail-copy p{color:#bac6ca}.card-detail-copy small{font-size:12px;color:var(--muted)}#toast{position:fixed;bottom:35px;left:50%;transform:translate(-50%,20px);background:#e8e4d8;color:#263c49;box-shadow:0 4px 30px #0003;padding:12px 24px;border:1px solid var(--gold);border-radius:3px;opacity:0;transition:.2s;pointer-events:none;z-index:20;max-width:90vw;font-size:14px}#toast.show{opacity:1;transform:translate(-50%,0)}@keyframes pulse{to{transform:scale(1.15);filter:drop-shadow(0 0 70px #ebc877)}}@keyframes orbit{to{transform:rotate(360deg)}}@keyframes card-in{from{opacity:0;transform:translateY(25px) scale(.94)}to{opacity:1;transform:none}}.reduce-motion *{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(min-width:1450px){.hero-copy{padding-top:75px}.hero-poem{margin-top:25px}.hero-tagline{margin-top:35px}}@media(max-width:1100px){.shell{padding:0 3%}.topbar{gap:20px}.topbar nav{gap:20px}.brand{font-size:20px}.brand-mark{font-size:44px}.brand small{font-size:8px}.wish-layout{grid-template-columns:75px 1fr;gap:18px}.banner-tab{width:75px}.banner-tab strong{font-size:14px}.wish-bottom{margin-left:93px;gap:20px}.pity{width:285px}.wish-button{min-width:155px;gap:10px}.ten{min-width:190px}.hero-art img{right:-5%}.collection-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hero-copy{padding-top:45px}.hero-poem{font-size:16px;letter-spacing:2px}}@media(max-width:800px){.topbar{height:auto;min-height:110px;flex-wrap:wrap;justify-content:space-between;gap:0;padding-top:12px}.brand{font-size:21px}.topbar nav{order:3;flex-basis:100%;height:49px;justify-content:center;gap:35px}.nav{font-size:14px}.sound{margin-left:auto}.section-heading{margin:22px 0 14px}.eyebrow{font-size:10px;letter-spacing:2px}.edition{font-size:12px}.wish-layout{display:block}.banners{display:none}.hero{height:500px}.hero-art img{height:113%;right:-18%;top:3%}.hero-copy{padding:32px 0 0 6%;width:61%}.hero h1{font-size:54px;margin-top:22px}.hero-poem{font-size:15px;letter-spacing:1px}.hero-tagline{margin-top:18px}.hero .pill{font-size:12px}.featured{right:6%;bottom:51px}.featured h2{font-size:25px}.featured p{font-size:12px}.rarity-label{font-size:25px}.rarity-label span{font-size:12px}.hero-bottom{font-size:10px}.wish-bottom{margin:20px 0;gap:22px;align-items:stretch;flex-direction:column}.pity{width:100%}.wish-actions{align-items:stretch}.free-label{text-align:right}.draw-buttons>*{flex:1}.draw-buttons{gap:14px}.wish-button{min-width:0;height:64px}.pity small{font-size:12px}.pity-title{gap:13px}.pity-number{font-size:14px}footer{flex-wrap:wrap;font-size:11px;padding:16px 0}footer>span:last-child{display:none}.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.card-info strong{font-size:15px}.filters{gap:6px}.filters button{padding:6px 15px}.filters label{width:100%;margin:10px 0}.page-heading{gap:10px}.page-heading h1{font-size:29px}.collection-total{font-size:27px}.result-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.result-card .card-info strong{font-size:12px}.result-dialog{padding:28px 15px}.result-card .card-info{padding:4px}.result-card img{aspect-ratio:2/3}.new-badge{font-size:10px;padding:1px 4px;top:4px;left:4px}.card-count{font-size:10px;padding:2px 5px;right:4px;top:4px}.history-row{grid-template-columns:35px 1fr 45px 100px;gap:10px;padding:10px 0}.history-row time{font-size:10px}.stats{gap:10px}.stat{padding:12px}.stat span{font-size:12px}.card-detail-layout{grid-template-columns:1fr 1fr}.card-detail-copy{padding:40px 15px 20px}.card-detail-copy h2{font-size:21px}.card-detail-copy p{font-size:13px}}@media(max-width:480px){.hero{height:450px}.hero h1{font-size:43px;letter-spacing:2px}.hero-art img{right:-34%;height:108%;top:9%}.art-shade{background:linear-gradient(90deg,#e8e7df 0%,#e8e7dfed 12%,#e8e7df66 40%,transparent 65%),linear-gradient(0deg,#ddd9cb,transparent 25%)}.hero-copy{padding-top:24px}.hero-poem{font-size:14px;letter-spacing:0}.hero-tagline{font-size:12px;gap:5px;margin-top:16px}.featured{bottom:43px;right:6%}.featured h2{font-size:24px}.featured-label{font-size:10px}.featured p{display:none}.hero-bottom{bottom:17px;letter-spacing:0}.detail-link{margin-top:17px;font-size:13px}.hero h1{margin-bottom:2px}.hero-poem{margin-top:9px}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-heading .outline-button{font-size:12px;padding:8px}.result-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.result-grid .result-card:last-child:nth-child(odd){grid-column:1 / -1;width:50%;justify-self:center}.result-grid.single-result .result-card:last-child{width:100%}.result-card .card-info strong{font-size:15px}.result-card .card-info{padding:8px}.card-detail-layout{display:block}.card-detail-layout img{max-height:50dvh;object-fit:contain;background:#0b1826}.card-detail-copy{padding:20px}.card-detail-copy h2{margin:10px 0}dialog{padding:28px 22px}.card-dialog{padding:0}.topbar nav{gap:22px}}

/* Full-screen, result-driven wish sequence. */
.result-dialog.cinematic{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;background:#030916;--wish-glow:#9ecaff}
.result-dialog.cinematic::backdrop{background:#030916;backdrop-filter:none}
.cinematic .summon{width:100%;height:100%;display:block;overflow:hidden;isolation:isolate}
#wish-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:-2}
.cinema-vignette{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at center,transparent 25%,#02061177 100%);pointer-events:none}
.cinema-heading{position:absolute;left:50%;top:7%;transform:translateX(-50%);color:#d1ddeb;text-align:center;white-space:nowrap}
.cinema-heading>span{font:19px var(--serif);letter-spacing:8px}.cinema-heading small{display:block;font-size:9px;letter-spacing:5px;color:#7b95b3;margin-top:13px}
.summon-caption{position:absolute;bottom:17%;width:100%;text-align:center;transition:opacity .35s}
.summon-caption>span{font-size:12px;letter-spacing:5px;color:#92aac8}
.summon-caption h2{font:25px var(--serif);letter-spacing:10px;color:#e1edff;margin:18px 0;text-shadow:0 0 30px var(--wish-glow)}
.cinematic #skip{position:absolute;top:30px;right:35px;z-index:5;color:#cdd8e9;background:#08132366;border:1px solid #aac9ef33;border-radius:30px;padding:8px 22px;font-size:13px;letter-spacing:2px}.cinematic #skip span{margin-left:15px}
.cinema-bottom{position:absolute;bottom:4%;width:100%;color:#6583a1;font-size:10px;text-align:center;letter-spacing:5px}
.has-encounter .summon-caption{opacity:0}
.encounter{position:absolute;inset:12% 13% 9%;display:flex;align-items:center;justify-content:center;gap:6%;animation:encounter-in .8s cubic-bezier(.15,.8,.2,1) both}
.encounter>img{height:100%;max-height:720px;width:auto;max-width:48%;object-fit:contain;box-shadow:0 0 50px color-mix(in srgb,var(--wish-glow),transparent 83%);border:1px solid color-mix(in srgb,var(--wish-glow),transparent 45%);border-radius:3px;position:relative;z-index:1}
.encounter-copy{max-width:43%;text-align:left;position:relative;z-index:1}.encounter-copy>span{font:italic 72px Georgia,serif;color:var(--wish-glow);text-shadow:0 0 35px color-mix(in srgb,var(--wish-glow),transparent 30%);display:block;line-height:1.3}
.encounter-copy>small{font-size:13px;letter-spacing:4px;color:var(--wish-glow);display:block;margin:20px 0}.encounter-copy h3{font:36px/1.5 var(--serif);letter-spacing:4px;margin:12px 0;color:#f9f4e8;text-wrap:balance}.encounter-copy p{color:#9cafc9;letter-spacing:2px;font-size:12px;padding-top:24px;border-top:1px solid #9cbbd733}
.encounter-halo{position:absolute;inset:8% 0;background:radial-gradient(ellipse,color-mix(in srgb,var(--wish-glow),transparent 84%),transparent 65%);filter:blur(30px);z-index:0}
.result-dialog:not(.cinematic){border-color:color-mix(in srgb,var(--wish-glow,#d9bc82),transparent 40%);box-shadow:0 0 95px color-mix(in srgb,var(--wish-glow,#d9bc82),transparent 89%)}
.result-card{animation:card-unseal .7s cubic-bezier(.15,.7,.25,1) both;animation-delay:calc(var(--i)*.11s);transform-origin:50% 90%}
.result-card:after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 30%,#fff9 47%,transparent 65%);transform:translateX(-130%);animation:card-shimmer .95s ease-out both;animation-delay:calc(.2s + var(--i)*.11s);pointer-events:none}
.result-card.rarity-UR{box-shadow:0 0 25px #efbc5670,0 0 4px #fff3bf;border-color:#ffdfa1}.result-card.rarity-SSR{box-shadow:0 0 20px #ffab4445}.result-card.rarity-SR{box-shadow:0 0 17px #a579ff38}
@keyframes encounter-in{from{opacity:0;transform:scale(1.07) translateY(18px);filter:brightness(2)}to{opacity:1;transform:none;filter:brightness(1)}}
@keyframes card-unseal{from{opacity:0;transform:perspective(800px) rotateY(65deg) translateY(35px) scale(.85);filter:brightness(2.5)}to{opacity:1;transform:perspective(800px) rotateY(0);filter:brightness(1)}}
@keyframes card-shimmer{to{transform:translateX(130%)}}
@media(max-width:600px){.cinematic #skip{top:20px;right:18px;font-size:12px;padding:6px 15px}.cinema-heading{top:12%}.cinema-heading>span{font-size:15px}.encounter{inset:20% 8% 10%;gap:0;flex-direction:column;justify-content:flex-start}.encounter>img{height:65%;max-width:100%}.encounter-copy{max-width:100%;text-align:center;margin-top:15px}.encounter-copy>span{font-size:35px;display:inline-block;vertical-align:middle;margin-right:14px}.encounter-copy>small{display:none}.encounter-copy h3{display:inline;font-size:23px;letter-spacing:2px}.encounter-copy p{padding-top:10px;margin-top:12px;font-size:11px}.summon-caption h2{font-size:22px;letter-spacing:6px}.summon-caption>span{font-size:11px;letter-spacing:3px}}
@media(prefers-reduced-motion:reduce){.result-card:after{display:none}}
.reduce-motion .result-card:after{display:none}

/* Hearth economy: glass balance chips and an illustrated inventory. */
.wallet-bar{display:flex;gap:10px;margin-left:auto}.currency-pill{display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;background:linear-gradient(120deg,#12223099,#203e5080);border:1px solid #b6d3df33;border-radius:30px;min-width:116px;box-shadow:inset 0 1px #ffffff09}.currency-pill img{width:42px;height:42px;object-fit:contain;filter:drop-shadow(0 0 8px #559eed40)}.currency-pill span{min-width:32px;text-align:left}.currency-pill small{display:block;font-size:10px;color:#a8bccd;line-height:1.3;letter-spacing:1px}.currency-pill b{font:17px/1.6 Georgia,serif;color:#f2e8d2}.currency-pill i{font:17px Georgia;color:var(--gold);margin-left:3px}.topbar{gap:23px}.topbar nav{gap:25px;margin:0 auto}.draw-ticket-icon{width:43px;height:43px;object-fit:contain;filter:drop-shadow(0 1px 4px #53486c44)}.wish-button small{font-size:11px;letter-spacing:1px}.free-label{display:flex;align-items:center;gap:17px}.free-label>span{display:initial;width:auto;height:auto;background:none;border-radius:0;margin:0}.free-label button{background:none;padding:0;color:#dfc790;font-size:13px;letter-spacing:1px}.free-label i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#f1d994;box-shadow:0 0 8px #f1d994;margin-left:6px;vertical-align:middle}.wallet-dialog{width:min(840px,94vw);padding:0;background:#142b3a;max-height:92dvh;overflow:auto;border-color:#9aaabc66}.wallet-heading{padding:30px 34px 23px;border-bottom:1px solid var(--line);background:radial-gradient(ellipse at top,#3c5364aa,transparent 70%)}.wallet-heading h2{margin:10px 0;font-size:32px;letter-spacing:5px}.wallet-heading p{margin:0;color:#a8bac7;font-size:13px;letter-spacing:2px}.wallet-items{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#b5c6d51f;border-bottom:1px solid #b5c6d51f}.wallet-item{background:radial-gradient(ellipse at 25% 40%,#274e6c,#152c3c 75%);padding:26px 22px 24px;display:grid;grid-template-columns:125px 1fr;align-items:center;position:relative;gap:14px}.ticket-item{background:radial-gradient(ellipse at 25% 40%,#3a3d62,#1c2c40 75%)}.wallet-item>img{width:125px;height:145px;object-fit:contain;filter:drop-shadow(0 6px 18px #0004)}.wallet-item .item-type{position:absolute;top:10px;left:20px;color:#9db4c9;font-size:10px;letter-spacing:2px}.wallet-item h3{font:23px var(--serif);letter-spacing:3px;color:#e8d6b0;margin:9px 0}.wallet-item p{font-size:12px;line-height:1.7;color:#a9bdcc;margin:8px 0}.wallet-item strong{font:30px Georgia;color:#f4e9d1;display:block}.wallet-item div>small{display:block;font-size:10px;color:#7895aa;letter-spacing:1px;margin-top:5px}.daily-supply{margin:23px 28px;display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid #ceb27944;background:linear-gradient(110deg,#d7bd8220,transparent);padding:16px 20px}.daily-supply>div{display:flex;gap:17px;align-items:center}.supply-symbol{font-size:33px;color:#e4ca93}.daily-supply h3{font:18px var(--serif);color:#edd8ad;margin:0 0 5px;letter-spacing:2px}.daily-supply p{font-size:13px;margin:0;color:#bacbd7}.daily-supply small{font-size:10px;color:#7893a6}.daily-supply button{font-size:13px;white-space:nowrap}.exchange-panel{margin:0 28px 20px;padding:20px 0 0;border-top:1px solid var(--line)}.exchange-title{display:flex;justify-content:space-between;align-items:center;gap:15px}.exchange-title h3{font:23px var(--serif);margin:8px 0;letter-spacing:3px}.exchange-title>span{font-size:13px;color:#a9bdcc}.wallet-context{font-size:13px;color:#99b0c0;margin:6px 0 18px}.exchange-controls{display:flex;align-items:center;gap:13px}.quantity-picker{display:flex;align-items:center;border:1px solid #b4c6d455;background:#0c1e2b;border-radius:3px;height:44px}.quantity-picker button{width:34px;height:42px;background:none;color:#d1ba8b;font-size:21px}.quantity-picker input{width:53px;appearance:textfield;-moz-appearance:textfield;color:#f5ead4;font:19px Georgia;text-align:center;background:none;border:0;outline-offset:-2px}.quantity-picker input::-webkit-inner-spin-button,.quantity-picker input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.max-quantity{font-size:12px;background:none;color:#d8bf88;padding:5px;border-bottom:1px solid #d8bf8866}.exchange-cost{display:flex;align-items:center;gap:8px;margin-left:auto}.exchange-cost img{width:33px;height:33px;object-fit:contain}.exchange-cost strong{font:19px Georgia;color:#c5d9e7}.exchange-controls .wish-button{height:45px;min-width:156px;font-size:17px;gap:8px;margin-left:8px}#economy-status{font-size:12px;color:#9bb0be;min-height:23px;margin:13px 0 0}.wallet-ledger{margin:0 28px;padding:15px 0 5px;border-top:1px solid var(--line)}.wallet-ledger h3{font:16px var(--serif);color:#d4c19b;margin:0 0 12px;display:flex;justify-content:space-between;letter-spacing:2px}.wallet-ledger h3 small{font:11px var(--sans);color:#7893a6;letter-spacing:0}.wallet-event{display:flex;align-items:center;gap:12px;padding:7px 0;border-top:1px solid #a6bdce0d;font-size:12px}.wallet-event>span{color:#bccbd4}.wallet-event time{color:#728fa3;font-size:10px}.wallet-event strong{margin-left:auto;font-weight:400;font-size:12px}.gained{color:#b6d6c4}.spent{color:#d2b9a1}.wallet-footnote{margin:12px 28px 25px;font-size:11px!important;color:#7593a6!important}.currency-pill:disabled{cursor:wait}.wallet-dialog button:disabled{cursor:default}
@media(max-width:1250px){.topbar{height:auto;min-height:124px;flex-wrap:wrap;padding-top:13px;gap:10px 18px}.topbar nav{order:4;flex-basis:100%;height:46px;justify-content:center;gap:35px}.brand{font-size:21px}.brand-mark{font-size:42px}.wallet-bar{margin-left:auto}.topbar .sound{margin-left:0}.currency-pill{min-width:108px}.currency-pill img{width:34px;height:34px}.currency-pill small{font-size:10px}.currency-pill b{font-size:16px}}
@media(max-width:700px){.wallet-heading{padding:25px 23px 20px}.wallet-items{gap:1px}.wallet-item{padding:27px 12px 20px;grid-template-columns:1fr;text-align:center;gap:0}.wallet-item>img{width:100px;height:100px;margin:auto}.wallet-item h3{font-size:20px;margin:6px 0}.wallet-item strong{font-size:24px}.wallet-item p{font-size:11px;max-width:155px;margin:6px auto}.wallet-item .item-type{left:12px}.daily-supply{margin:17px;padding:13px;gap:8px}.daily-supply>div{gap:10px}.daily-supply h3{font-size:16px;letter-spacing:1px}.supply-symbol{font-size:24px}.daily-supply button{padding:8px 12px;font-size:12px}.exchange-panel,.wallet-ledger{margin-left:17px;margin-right:17px}.exchange-title>span{font-size:11px}.exchange-controls{gap:9px;flex-wrap:wrap}.exchange-controls .wish-button{width:100%;margin:6px 0 0}.exchange-cost{margin-left:auto}.wallet-footnote{margin:12px 17px 20px}.wallet-event{gap:8px}.wallet-event strong{font-size:11px}.wallet-event time{font-size:9px}}
@media(max-width:480px){.topbar{gap:7px;min-height:125px}.brand{font-size:16px;letter-spacing:1px;gap:3px}.brand-mark{font-size:33px}.brand small{font-size:6px;letter-spacing:.5px}.currency-pill{min-width:78px;gap:3px;padding:3px 6px 3px 2px}.currency-pill img{width:28px;height:28px}.currency-pill b{font-size:14px}.currency-pill small{font-size:9px;letter-spacing:0}.currency-pill i{font-size:13px;margin-left:0}.wallet-bar{gap:5px}.topbar .sound{width:27px;height:27px;font-size:16px}.topbar nav{gap:25px}.free-label{gap:12px;justify-content:space-between}.resource-hint{font-size:11px}.draw-ticket-icon{width:37px;height:37px}.wallet-heading h2{font-size:26px}.wallet-event time{display:none}}
.wallet-heading{padding:22px 28px 16px}.wallet-heading h2{line-height:1.25}.wallet-heading p{line-height:1.5}.wallet-item{padding-top:24px;padding-bottom:18px;grid-template-columns:110px 1fr}.wallet-item>img{width:110px;height:115px}.daily-supply{margin-top:16px;margin-bottom:16px;padding-top:12px;padding-bottom:12px}.exchange-panel{padding-top:14px}
@media(max-width:700px){.wallet-heading{padding:21px 20px 15px}.wallet-item{grid-template-columns:1fr;padding:26px 10px 16px}.wallet-item>img{height:85px;width:85px}.wallet-item p{min-height:38px}.wallet-item strong{font-size:23px}}

/* Arena settlement */
.arena-seal{color:var(--gold);font:15px var(--serif);border:1px solid var(--line);padding:9px 18px;letter-spacing:2px}.arena-layout{display:grid;grid-template-columns:1.45fr 1fr;gap:24px}.arena-selection,.arena-prize{border:1px solid var(--line);padding:32px;background:linear-gradient(135deg,#31495988,#102533aa);position:relative}.arena-selection h2,.arena-records h2{font:27px var(--serif);letter-spacing:3px;color:#e8d6b0}.arena-selection>.muted{font-size:13px}.arena-wins{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:26px 0}.arena-wins button{padding:15px 5px;background:#0f223477;border:1px solid #a6bed32e;border-radius:3px;transition:background .2s,border-color .2s}.arena-wins strong{display:block;font:30px Georgia;color:#c0d5e3}.arena-wins strong small{font:12px var(--sans);margin-left:5px;color:#8fa9ba}.arena-wins span{font-size:11px;color:#a1b6c6;display:block;margin-top:6px}.arena-wins button.milestone{border-color:#d9bc8255}.arena-wins button.selected{background:linear-gradient(140deg,#d9bc8238,#3b5875);border-color:#edcf91;box-shadow:inset 0 0 20px #ebc77815,0 0 18px #e9c77812;opacity:1}.arena-wins button.selected strong,.arena-wins button.selected span{color:#ffe2a5}.arena-wins button:disabled{cursor:default}.arena-note{font-size:11px;color:#91a9bb;line-height:1.8}.arena-prize{display:flex;flex-direction:column;align-items:center;text-align:center;overflow:hidden;background:radial-gradient(ellipse at 50% 35%,#48748a66,transparent 65%),#132a39}.arena-prize:before{content:"";position:absolute;top:75px;width:240px;height:240px;border:1px solid #d8c69a33;border-radius:50%;box-shadow:0 0 0 17px #d8c69a07;pointer-events:none}.arena-gem{height:245px;width:100%;position:relative;display:grid;place-items:center}.arena-gem img{width:240px;height:240px;object-fit:contain;filter:drop-shadow(0 0 32px #88c8fb44)}#arena-selection-label{font-size:13px;color:#a9c1d0;margin:8px 0}.arena-amount{display:flex;gap:12px;align-items:baseline;justify-content:center;margin:0 0 25px;color:#e8d6b0}.arena-amount strong{font:52px Georgia}.arena-amount span{font-size:15px;letter-spacing:3px}.arena-prize .wish-button{width:100%;height:52px;min-width:0;font-size:18px}.arena-prize .outline-button{margin-top:12px;width:100%}#arena-status{font-size:12px;color:#a9c1d0;margin:17px 0 0}.arena-records{margin:32px 0}.arena-records-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:14px}.arena-records h2{font-size:23px;margin:8px 0}.arena-records-heading p{font-size:13px;color:#9fb6c6}.arena-records-heading b{font:20px Georgia;color:#e8d6b0;margin:0 5px}.arena-records-heading p span{margin:0 10px}.arena-record{display:flex;align-items:center;gap:20px;padding:18px 10px;border-bottom:1px solid #c1d2d31a}.arena-record-star{color:var(--gold);font-size:26px}.arena-record strong{font:21px var(--serif);min-width:60px}.arena-record time{font-size:12px;color:#91a9bb}.arena-record b{margin-left:auto;font-weight:400;color:#d9c798;font-size:16px}#arena-dialog .wish-button{height:50px;width:100%;margin-top:15px}.topbar nav{gap:15px}.nav{white-space:nowrap}
@media(max-width:850px){.arena-layout{grid-template-columns:1fr}.arena-prize:before{top:50px;width:180px;height:180px}.arena-gem{height:190px}.arena-gem img{height:190px;width:190px}.arena-selection,.arena-prize{padding:24px}.arena-seal{display:none}.arena-records-heading{align-items:flex-start;flex-direction:column;gap:0}.arena-records-heading p{margin:5px 0}.arena-wins{gap:9px}.arena-record{gap:10px}.arena-record time{font-size:10px}.arena-record b{font-size:13px}}
@media(max-width:480px){.topbar nav{gap:10px}.nav{font-size:13px;letter-spacing:0;padding:0 5px}.arena-selection{padding:22px 16px}.arena-selection h2{font-size:24px}.arena-wins button{padding:12px 3px}.arena-wins strong{font-size:26px}.arena-wins span{font-size:10px}.arena-record{flex-wrap:wrap}.arena-record-star{display:none}.arena-record time{order:4;flex-basis:100%}.arena-records .eyebrow{font-size:10px}}
/* Lvshen identity and the shared UR stage. */
.brand{flex-shrink:0;display:flex;flex-direction:column;gap:0;min-width:120px}.brand-logo{width:128px;height:66px;object-fit:contain;mix-blend-mode:screen}.brand-caption{font:9px var(--sans);letter-spacing:2px;color:#bcab88}.account-button{border:1px solid #d9bc8255;border-radius:25px;background:#162b3c;padding:10px 17px;white-space:nowrap;font-size:13px;color:#e9d3a7}.topbar{gap:15px}.topbar nav{gap:10px}.nav{font-size:14px;letter-spacing:1px}.hero-copy{width:54%}.hero-poem{font-size:16px;letter-spacing:1.5px}.hero-art img{transition:opacity .4s}.ur-showcase{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 0 120px}.ur-showcase button{position:relative;display:flex;align-items:center;gap:12px;padding:0 14px 0 0;overflow:hidden;text-align:left;background:linear-gradient(110deg,#42596766,#0d2132aa);border:1px solid #d9bc8233}.ur-showcase img{width:65px;height:76px;object-fit:cover;object-position:50% 20%;opacity:.8}.ur-showcase span{min-width:0}.ur-showcase small{display:block;font-size:9px;color:#aa9470;letter-spacing:1px}.ur-showcase strong{display:block;font:17px var(--serif);color:#c0c9cb;white-space:nowrap}.ur-showcase i{font-style:normal;margin-left:auto;color:#a58b5d}.ur-showcase button.selected{border-color:#dfc28a;background:linear-gradient(110deg,#9e835e55,#263e4c);box-shadow:0 0 20px #dac08a0d}.ur-showcase button.selected strong{color:#f2dba5}.ur-showcase button.selected img{opacity:1}#login-form label{display:block;color:#bfccd4;font-size:13px;margin:18px 0}#login-form input{display:block;margin-top:8px;width:100%;background:#0c1e2b;border:1px solid #8fa8ba66;color:#f3e9d1;font:16px var(--sans);border-radius:3px;padding:13px}#login-form .wish-button{width:100%;height:50px;margin-top:25px}.account-gift{padding:14px;background:#d9bc8212;border:1px solid #d9bc8233;color:#e0c89b;font-size:13px}#account-status{color:#e8bfa4;min-height:24px}#logged-in-panel .outline-button{width:100%;margin:18px 0}#account-button:disabled{cursor:wait}
@media(max-width:1250px){.brand-logo{width:105px;height:52px}.topbar{padding-top:8px}.brand-caption{font-size:8px}.ur-showcase{margin-left:0}.ur-showcase strong{font-size:15px}}
@media(max-width:700px){.brand{min-width:85px}.brand-logo{width:87px;height:46px}.brand-caption{display:none}.account-button{font-size:11px;padding:8px 10px}.ur-showcase{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ur-showcase img{width:48px;height:61px}.ur-showcase button{gap:9px;padding-right:10px}.ur-showcase strong{font-size:15px}.ur-showcase small{font-size:8px}.hero-copy{width:65%}.hero-poem{font-size:13px;letter-spacing:0}.hero-tagline{font-size:11px}.hero-bottom{font-size:9px}.hero-bottom>span:first-child{max-width:80%}.hero h1{font-size:46px}.topbar{gap:7px}.wallet-bar{gap:5px}}
@media(max-width:400px){.brand{min-width:62px}.brand-logo{width:65px;height:44px}.account-button{font-size:10px;padding:7px}.currency-pill{min-width:73px}.currency-pill img{width:25px;height:25px}}
.brand-logo{filter:contrast(5) grayscale(1) sepia(.45);mix-blend-mode:screen}
.featured{background:linear-gradient(110deg,#eee7d500,#eee7d5dd);padding:12px 14px 12px 30px;border-right:2px solid #b69962}.featured h2{color:#263c49}.featured-label{color:#53616b}
@media(max-width:700px){.art-shade{background:linear-gradient(90deg,#e8e7df 0%,#e8e7dff7 28%,#e8e7dfd9 46%,#e8e7df55 62%,transparent 80%),linear-gradient(0deg,#ddd9cb,transparent 25%)}.hero h1{font-size:42px;letter-spacing:1px}.featured{padding:9px 10px 9px 18px;max-width:65%}}
.hidden-sp{background:radial-gradient(ellipse at center,#3f3759,#111c2b);border-color:#d1a4dc55}.hidden-sp img{filter:none!important;opacity:.8}.hidden-sp .card-info strong{letter-spacing:8px}.result-card.rarity-SP{border-color:#ffd6f4;box-shadow:0 0 30px #f391cf88,0 0 6px #fff}.sp-bonus{position:absolute;right:6px;top:8px;font-size:10px;padding:2px 6px;color:#fff0fc;background:#753d6bcc;border:1px solid #ffbceb77}
.result-grid.bonus-pair{grid-template-columns:repeat(2,minmax(0,260px));justify-content:center}

/* Keep mixed ticket/crystal costs readable on narrow draw buttons. */
.draw-buttons .wish-button small{white-space:pre-line;line-height:1.35;letter-spacing:0;font-size:10px}
