:root {
  color-scheme: dark;
  --paper:#101119; --surface:#181a25; --surface-up:#202230; --ink:#f5f0e9;
  --muted:#9698ac; --line:#ffffff12; --purple:#c4acf7; --gold:#e9ca84;
  --serif:Georgia,'Times New Roman',serif;
}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:radial-gradient(ellipse at 75% 0%,#29223988,transparent 38%),var(--paper);color:var(--ink);font:14px/1.5 'Thonburi','Noto Sans Thai',Tahoma,sans-serif}button,input,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{color:inherit;border:0;background:none;cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}[hidden]{display:none!important}input[type=checkbox]{accent-color:var(--purple)}button{transition:background .18s,border-color .18s,transform .18s}
.topbar{height:94px;padding:0 4.5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#11121abf;gap:28px}.brand{display:flex;gap:17px;align-items:center}.brand-mark{font:italic 950 47px/1 Arial,sans-serif;letter-spacing:-5px}.brand-dot{color:var(--gold)}.brand-caption{font-size:8px;letter-spacing:2.5px;line-height:1.8;border-left:1px solid #ffffff24;padding-left:17px;color:#aaa7bc}.brand-caption strong{color:var(--ink)}.top-nav{display:flex;align-items:center;gap:30px;font-size:12px;color:#9b99ac}.top-nav a{color:var(--ink)}.top-nav button:hover{color:var(--purple)}.top-nav span{font-size:8px;margin-left:3px;color:var(--gold)}.header-right{display:flex;align-items:center;gap:22px}.local-status{display:flex;align-items:center;gap:9px;font-size:9px;letter-spacing:1.5px;color:var(--muted)}.local-status i{width:5px;height:5px;background:#a5cba5;border-radius:50%;box-shadow:0 0 0 4px #a5cba512}.free-pill{border:1px solid #e9ca8430;padding:8px 13px;border-radius:5px;font-size:10px;background:#e9ca840a;color:var(--gold)}main{max-width:1600px;padding:0 4.5%;margin:auto}.intro{padding:35px 0 30px;display:flex;align-items:flex-end;justify-content:space-between}.eyebrow{font-size:9px;font-weight:500;letter-spacing:2.5px;color:var(--purple)}h1{font-size:30px;font-weight:500;letter-spacing:-.7px;margin:10px 0 0}h1 span{color:#aaa1b7;font-weight:400}.intro>p{font-size:11px;color:var(--muted);line-height:1.8;text-align:right;margin:0 0 4px}.loading{text-align:center;padding:80px 20px;color:var(--muted)}
.workspace{display:grid;grid-template-columns:226px minmax(0,1fr);gap:18px;align-items:stretch}.banner-sidebar{min-width:0;padding:19px 12px 14px;background:#181a24;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column}.sidebar-title{display:flex;justify-content:space-between;align-items:center;margin:0 7px 14px}.sidebar-title h2{margin:0;font-size:14px;font-weight:500}.sidebar-title>span{font-size:10px;color:var(--muted)}.filter-label{font-size:9px;color:var(--muted);margin:0 6px 6px}.banner-sidebar select{border:1px solid #ffffff13;border-radius:5px;background:#21232f;padding:9px;width:100%;font-size:10px;color:#c7c4d2;margin-bottom:15px}.banner-list{height:510px;overflow:auto;padding-right:3px;scrollbar-width:thin;scrollbar-color:#4d435f transparent}.banner-item{display:flex;align-items:center;width:100%;height:80px;gap:10px;padding:10px;text-align:left;border:1px solid #ffffff1c;border-radius:10px;margin-bottom:9px;background:linear-gradient(120deg,#242532,#1d1f2b);box-shadow:0 3px 9px #0809111a}.banner-item:hover{background:linear-gradient(120deg,#302b40,#252433);border-color:#c4acf75c}.banner-item.selected{background:linear-gradient(110deg,#40344e,#272331);border-color:#c4acf795;box-shadow:inset 3px 0 var(--purple),0 3px 12px #08091130}.banner-thumb{width:46px;height:46px;object-fit:contain;border:1px solid #ffffff29;border-radius:7px;background:#262634;flex-shrink:0;box-shadow:0 2px 8px #0003}.banner-text{flex:1;min-width:0}.banner-text strong{font-size:11px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;line-height:1.4;font-weight:500}.banner-text small{display:block;font-size:8px;color:var(--muted);margin-top:4px}.banner-item.selected small{color:#b7a0d5}.banner-item .arrow{color:var(--purple);font-size:15px;flex:0 0 12px;text-align:right}.sidebar-foot{text-align:center;font-size:10px;color:#b3a7c6;border-top:1px solid var(--line);margin-top:auto;padding-top:14px;line-height:1.8}.sidebar-foot>span:last-child{font-size:8px;color:#737588}.tiny-star{display:block;font-size:23px;color:var(--gold)}.summon-section{min-width:0;border:1px solid #ffffff16;border-radius:12px;overflow:hidden;background:#191b25;box-shadow:0 20px 70px #00000018}
.hero{height:488px;position:relative;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 73% 48%,#73657366,transparent 55%),linear-gradient(115deg,#242535 20%,#444051 100%)}.hero-backdrop{position:absolute;right:0;top:0;width:67%;height:100%;object-fit:cover;opacity:.1;filter:blur(13px);mask-image:linear-gradient(90deg,transparent,black)}.hero-grid{position:absolute;inset:0;background-image:radial-gradient(#f4d8a966 .7px,transparent .7px);background-size:33px 33px;opacity:.23;mask-image:linear-gradient(90deg,transparent,#000)}.hero-orbit{position:absolute;right:2%;top:25px;width:420px;height:420px;border:1px solid #f0dcbc21;border-radius:50%;box-shadow:0 0 0 35px #ead0ae05,0 0 0 36px #ead0ae14,0 0 0 85px #ead0ae03;z-index:-1}.hero-watermark{position:absolute;bottom:37px;right:2%;font:128px/1 var(--serif);letter-spacing:-7px;color:#e2d7e10a;z-index:0}.hero-copy{position:relative;padding:39px 38px;width:53%;height:calc(100% - 39px);z-index:3;display:flex;flex-direction:column;align-items:flex-start}.hero-label{display:flex;align-items:center;gap:13px}.hero-label>span:first-child{font-size:9px;letter-spacing:2px;background:#e9ca84;color:#3c3322;padding:6px 9px;font-weight:700}.hero-label>span:last-child{font-size:9px;color:#b7acc5}.hero-kicker{font-size:8px;color:#b3a2c4;letter-spacing:2px;margin:33px 0 9px}.hero-copy h2{font:400 clamp(46px,5.6vw,82px)/.95 var(--serif);letter-spacing:-2.8px;margin:0 0 10px;color:#fff6e5;text-shadow:0 3px 25px #00000020;overflow-wrap:anywhere}.hero-thai{font-size:18px;margin:0;color:#cbbfda;font-weight:400}.hero-stars{font-size:19px;color:var(--gold);letter-spacing:5px;margin:19px 0 13px}.hero-description{font-size:11px;line-height:1.9;color:#c5bfd1;max-width:300px;margin:0 0 17px}.text-link{padding:0 0 4px;font-size:10px;border-bottom:1px solid #dfd0ea3a;color:#c7b8d5}.text-link span{margin-left:20px}.hero-art-wrap{position:absolute;right:4%;top:14px;bottom:46px;width:42%;z-index:2;display:flex;justify-content:center;align-items:center}.hero-art{width:100%;height:100%;object-fit:contain;object-position:center;filter:drop-shadow(0 10px 28px #080b1277);animation:art-enter .75s ease-out both}.art-frame{position:absolute;inset:14px 0 0;border:1px solid #f4dabb1f;border-radius:180px 180px 12px 12px;background:linear-gradient(135deg,#f3d6af0a,#e1b9dc05);z-index:-1}.art-caption{position:absolute;right:-20px;top:84px;writing-mode:vertical-rl;font-size:7px;letter-spacing:2.5px;color:#e4cbe144}.expand-art{position:absolute;right:0;bottom:5px;font-size:10px;color:#eadff2;border:1px solid #e7d8fc33;background:#292334c9;backdrop-filter:blur(10px);padding:7px 11px;border-radius:5px}.expand-art:hover{background:#54415f}.hero-tier{position:absolute;right:-8px;top:13px;display:flex;align-items:center;gap:8px}.hero-tier>span:last-child{font-size:7px;letter-spacing:1.5px;color:#d4c9d9;max-width:48px}.hero-tier .tier-badge{font-size:20px;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;border:1px solid currentColor;background:#242332c7}.hero-bottom{position:absolute;bottom:0;left:0;right:0;border-top:1px solid #e9d6eb12;background:#1a1b2770;backdrop-filter:blur(12px);display:flex;justify-content:space-between;gap:12px;padding:12px 23px;font-size:8px;letter-spacing:.8px;color:#aaa2b6;z-index:4}.missing-art .hero-art{opacity:.6}.missing-art .hero-copy h2{font-size:49px}.missing-art .hero-label{flex-wrap:wrap}
.payment-bar{display:flex;align-items:center;gap:17px;margin:0 25px;padding:16px 0;border-bottom:1px solid var(--line)}.payment-bar>span:first-child{display:flex;flex-direction:column;font-size:10px;color:#b3adbf;gap:4px}.payment-bar .eyebrow{font-size:7px;letter-spacing:1.6px}.payment-switch{display:flex;padding:3px;background:#101119;border:1px solid #ffffff0c;border-radius:6px;gap:3px}.payment-switch button{padding:7px 13px;font-size:11px;border-radius:4px;color:#858199}.payment-switch button[aria-pressed=true]{background:#393147;color:#dcc7fb;box-shadow:0 2px 5px #0003}#payment-note{font-size:9px;color:#797787;margin-left:auto;max-width:150px;text-align:right}.summon-controls{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:19px 25px 14px}.guarantee .eyebrow{font-size:7px;color:#8e879e;letter-spacing:2px}.guarantee p{font-size:12px;color:#d8d1df;margin:6px 0 10px}.guarantee small{display:block;color:#8d8799;font-size:9px;margin-top:6px}.guarantee-dots{display:flex;gap:4px}.guarantee-dots i{height:3px;width:19px;border-radius:2px;background:#34323f}.guarantee-dots i.filled{background:var(--gold);box-shadow:0 0 6px #e9ca8444}.pull-actions{display:flex;gap:10px}.pull-button{padding:13px 18px;border-radius:6px;min-width:135px;text-align:left}.pull-button:hover:not(:disabled){transform:translateY(-2px)}.pull-button span{display:block;font-size:14px;font-weight:600;white-space:nowrap}.pull-button small{font-size:9px;display:block;margin-top:8px;opacity:.7}.pull-button b{font-size:18px;margin-left:27px}.secondary{background:#282433;border:1px solid #bba1d335;color:#d7c2ee}.primary{background:linear-gradient(115deg,#e9cd98,#ccac76);border:1px solid #f6dea5;color:#31291f;border-radius:6px;box-shadow:0 3px 0 #8b7252,0 5px 25px #c2a4760d;padding:11px 19px;font-size:12px;font-weight:600}.primary:hover{background:linear-gradient(115deg,#f8dfa7,#e2bf83)}.pull-button.primary{min-width:195px;padding:13px 18px}.stage-options{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:8px;color:#807b8c;padding:0 25px 15px}.stage-options>span{max-width:65%;line-height:1.8}.stage-options label{display:flex;align-items:center;gap:5px;white-space:nowrap}
.statistics{display:grid;grid-template-columns:repeat(4,1fr);margin-top:24px;padding:22px 0;border:1px solid var(--line);border-radius:10px;background:linear-gradient(110deg,#1e1e2b,#191b24)}.stat{padding:0 28px;border-right:1px solid var(--line)}.stat:last-child{border:0}.stat>span{display:block;font-size:10px;color:#9390a4;margin-bottom:4px}.stat strong{font:36px/1.2 var(--serif);color:#ede5f5}.stat strong small{font:10px 'Thonburi',sans-serif;color:var(--muted);margin-left:5px}.stat:nth-child(2) strong{color:var(--gold)}.spending-panel{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr;align-items:center;padding:24px 28px;margin-top:15px;border:1px solid var(--line);border-radius:10px;background:#161822;gap:20px}.spending-intro .eyebrow{font-size:7px;letter-spacing:1.8px}.spending-intro h2{font-size:13px;font-weight:500;margin:6px 0 8px;color:#ccc6d5}.save-status{font-size:8px;color:#90b6a0}.spending-metric{display:flex;align-items:center;gap:13px}.currency-icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid #9b8ad628;border-radius:12px;background:#9b8ad609;font-size:21px;color:#b2a3f1;transform:rotate(-5deg)}.spending-metric.tickets .currency-icon{color:#eca695;border-color:#eca69530;background:#eca69508}.spending-metric>div>span{display:block;font-size:10px;color:#9894a6}.spending-metric strong{display:block;font:30px/1.3 var(--serif);color:#dfd3f6;font-variant-numeric:tabular-nums}.spending-metric.tickets strong{color:#f0c5b4}.spending-metric.equivalent strong{color:#d8cfb9}.spending-metric small{display:block;font-size:8px;color:#726e81;margin-top:2px}.legacy-note{grid-column:1/-1;font-size:9px;color:#aaa18b;border-top:1px solid var(--line);margin:0;padding-top:12px}
.library{margin-top:29px;scroll-margin-top:25px}.library-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:15px}.tabs{display:flex;align-items:center;gap:27px}.tabs button{padding:15px 0;border-bottom:2px solid transparent;font-size:12px;color:#91899d;white-space:nowrap}.tabs button[aria-selected=true]{border-bottom-color:var(--gold);color:#f4e9d3}.tabs button span{padding:3px 5px;margin-left:3px;border-radius:3px;font-size:8px;background:#c4acf712;color:#b3a0cb}.library-tools{display:flex;align-items:center;gap:5px}.subtle-button{padding:8px;font-size:10px;color:#8e859e}.subtle-button:hover{color:var(--purple);background:#ffffff05;border-radius:4px}.empty-state{text-align:center;padding:60px 15px;color:#7e758d}.empty-symbol{display:block;font-size:36px;color:var(--gold);margin-bottom:14px}.empty-state strong{font-size:15px;color:#b6a7cb;font-weight:400}.empty-state p{font-size:11px}.mini-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:11px;padding:24px 0}.mini-card{display:block;text-align:left;position:relative;min-width:0;padding:0;background:#1c1e29;border:1px solid #ffffff15;border-radius:8px;overflow:hidden;--rarity:#b5c7b5}.mini-card:hover{transform:translateY(-4px);border-color:#c4acf773;box-shadow:0 9px 25px #0004}.mini-card.rarity-3{--rarity:#ead28b}.mini-card.rarity-2{--rarity:#c6b0e9}.mini-portrait{position:relative;background:radial-gradient(ellipse at 50% 35%,#76708150,transparent),#252531;aspect-ratio:1/1;border-bottom:2px solid var(--rarity)}.mini-portrait img{width:100%;height:100%;object-fit:contain;object-position:center}.mini-info{padding:10px 9px 11px}.mini-info strong{display:block;font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:500}.mini-info small{display:flex;flex-direction:column;gap:4px;font-size:8px;margin-top:5px;color:#827d91}.mini-info small>span:first-child{color:var(--rarity);letter-spacing:2px}.mini-info small>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tier-badge{display:inline-block;padding:4px 6px;font:600 10px/1.1 Arial,sans-serif;border-radius:3px;background:#1c1d2beb;color:#9897ac;box-shadow:0 2px 10px #0002}.tier-T0{--tier:#f2b5bc}.tier-T1{--tier:#e8c594}.tier-T2{--tier:#dddaaa}.tier-T3{--tier:#acc9bd}.tier-T4{--tier:#adb6d8}.tier-NR{--tier:#86839b}.tier-badge{color:var(--tier)}.mini-portrait>.tier-badge{position:absolute;top:7px;left:7px;border:1px solid #ffffff25}.new-tag{position:absolute;top:8px;right:8px;background:#f1d593;color:#4b3b21;font-size:7px;font-weight:700;letter-spacing:1px;padding:3px 5px;border-radius:2px}.owned-badge{position:absolute;bottom:7px;right:7px;background:#141622d9;color:#dfcce9;font-size:8px;padding:3px 6px;border:1px solid #ffffff20;border-radius:3px;backdrop-filter:blur(6px)}.unowned .owned-badge{color:#aaa1b4}.collection-head{display:flex;align-items:center;justify-content:space-between;margin-top:21px;gap:15px;font-size:10px;color:var(--muted)}input[type=search]{background:#20222e;border:1px solid #ffffff18;color:#ddd3e9;padding:10px 13px;border-radius:6px;font-size:11px;max-width:100%}input::placeholder{color:#767187}.collection-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.collection-head input{width:240px}.history-note{font-size:10px;color:#8a819a;margin:21px 0}.history-table,.rates-table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.history-table th,.rates-table th{font-size:10px;font-weight:400;color:#8a8297}.history-table td,.history-table th,.rates-table td,.rates-table th{border-bottom:1px solid var(--line);padding:12px 9px}.history-table td{color:#c2b7cf}.table-person{display:flex;align-items:center;gap:10px}.table-person img{width:39px;height:39px;object-fit:contain;border-radius:5px;background:#292734}.history-table tr:hover{background:#ffffff02}
.tier-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:30px 0 18px}.tier-intro h2{font:27px var(--serif);margin:9px 0;color:#e7e1eb}.tier-intro h2 em{font-weight:400;color:var(--gold)}.tier-intro p{font-size:11px;color:#8b829c;margin:9px 0 0}.reference-link{font-size:11px;color:#bdabd3}.reference-link:hover{color:var(--gold)}.reference-link small{display:block;font-size:9px;color:#777084;margin-top:6px;text-align:right}.tier-toolbar{display:flex;align-items:center;gap:20px;margin-bottom:20px}.tier-toolbar input[type=search]{width:270px}.tier-toolbar label{font-size:11px;display:flex;align-items:center;gap:7px;color:#a99ab8}.tier-toolbar>span{margin-left:auto;font-size:10px;color:#8b8299}.tier-row{display:grid;grid-template-columns:110px minmax(0,1fr);margin-bottom:12px;border:1px solid #ffffff12;border-radius:9px;overflow:hidden;background:#181a24}.tier-label{border-right:1px solid #ffffff10;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px 11px;gap:7px;background:color-mix(in srgb,var(--tier) 7%,transparent);color:var(--tier)}.tier-label strong{font:italic 38px/1.3 var(--serif)}.tier-label span{font-size:8px;text-align:center;line-height:1.7}.tier-characters{display:grid;grid-template-columns:repeat(auto-fill,minmax(103px,1fr));gap:10px;padding:15px}.tier-characters .mini-card{max-width:180px}.tier-characters .mini-info{padding:9px 7px}.tier-characters .mini-info strong{font-size:10px}.tier-characters .mini-info small>span:last-child{display:none}.tier-footnote{font-size:10px;color:#857b92;line-height:1.8}.tier-characters .mini-portrait>.tier-badge{display:none}
footer{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--line);padding:23px 0;margin-top:24px;font-size:9px;color:#726c80}footer .text-link{font-size:9px;white-space:nowrap}dialog{max-width:810px;width:92vw;max-height:90dvh;overflow:auto;color:var(--ink);background:#1b1c28;border:1px solid #b7a1cd30;border-radius:14px;padding:27px;box-shadow:0 25px 100px #0008}dialog::backdrop{background:#070810cf;backdrop-filter:blur(10px)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:20px}.dialog-heading h2{font-size:22px;font-weight:500;margin:5px 0 0}.close-button{border:1px solid #ffffff14;border-radius:50%;width:31px;height:31px;font-size:22px;display:grid;place-items:center;color:#b9aacb}.close-button:hover{color:var(--gold);border-color:#d7bb8e50}.rate-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.rate-summary>div{padding:16px;background:#222130;border:1px solid #d3bfd319;border-radius:6px;font-size:12px;color:var(--gold)}.rate-summary strong{display:block;font:29px var(--serif);margin-top:6px;color:#ede2f8}.source-note,.rules-note{font-size:12px;line-height:1.9;color:#afa1c2;background:#262333;padding:16px;border-radius:7px}.rules-note{white-space:pre-line}#source-content{font-size:12px;line-height:1.9;overflow-wrap:anywhere;color:#c1b7cf}#source-content code{font-size:10px}#source-content a{color:var(--gold)}.rate-toggle{display:flex;gap:9px;margin:17px 0}.rate-toggle button{padding:8px 12px;border:1px solid var(--line);border-radius:5px;font-size:11px}.rate-toggle .active{background:#bca1e631;border-color:#bca1e655;color:#d9c0f4}details{margin-top:20px}summary{font-size:12px;cursor:pointer;color:#b9a8ce}.confirm-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:25px}#toast{position:fixed;z-index:100;bottom:24px;left:50%;transform:translateX(-50%);max-width:90%;padding:13px 22px;font-size:12px;background:#3b304b;color:#eadbf9;border:1px solid #bb9adc55;border-radius:8px;box-shadow:0 10px 40px #0008}
#character-dialog{max-width:850px}#character-content{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center}.character-full-art{position:relative;height:60dvh;max-height:600px;border-radius:150px 150px 10px 10px;border:1px solid #c4a9c929;background:radial-gradient(ellipse,#7062753a,transparent 70%),#252334;overflow:hidden}.character-full-art img{width:100%;height:100%;object-fit:contain;object-position:center}.character-profile h3{font:34px/1.2 var(--serif);color:#f2dfbc;margin:20px 0 12px}.character-profile>.tier-badge{position:static;font-size:18px;padding:8px 12px;background:#332d40}.profile-stars{font-size:20px;letter-spacing:5px;color:var(--gold)}.character-profile p{font-size:12px;color:#aaa0b9;line-height:1.8}.owned-total{padding:20px 0;margin:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px;color:#9788aa}.owned-total strong{font:32px var(--serif);margin:0 12px;color:var(--gold)}.character-profile .profile-note{font-size:10px;margin-top:26px;color:#736880}.missing-message{position:absolute;bottom:30px;text-align:center;font-size:11px;color:#b7a2d0;width:100%;line-height:1.9}
.summon-dialog{max-width:1160px;width:95vw;padding:0;background:radial-gradient(ellipse at top,#322b3e,#191b25 60%);border:1px solid #b29cbe40}.cinema{height:650px;max-height:84dvh;position:relative;background:radial-gradient(ellipse at 50% 43%,#665282,#212033 60%,#13151f);display:flex;align-items:center;justify-content:center;overflow:hidden;color:#e2caef}.cinema.gold{background:radial-gradient(ellipse at 50% 43%,#8c7352,#2a252b 65%,#16161d);color:#f3d7a0}.summon-ring{position:absolute;width:280px;height:280px;border:1px solid #e9d1f37d;border-radius:50%;box-shadow:0 0 70px #d4afdc19,inset 0 0 70px #d4afdc19;animation:charge 2.1s ease-in-out both}.ring-two{width:340px;height:340px;border-style:dashed;animation:rotate 10s linear infinite}.summon-symbol{font-size:130px;text-shadow:0 0 65px #f3d3e7;animation:symbol 2.1s ease-in both}.cinema>p{position:absolute;bottom:90px;text-align:center;font-size:20px;letter-spacing:2px}.cinema>p span{display:block;letter-spacing:4px;font-size:8px;color:#c6b2d9;margin-top:14px}.cinema-stars{position:absolute;inset:-100%;background-image:radial-gradient(circle,#e8d3e5 1px,transparent 2px),radial-gradient(circle,#e8eabc66 1px,transparent 2px);background-size:67px 91px,111px 123px;animation:rotate 35s linear infinite}.skip-button{position:absolute;right:25px;top:25px;font-size:11px;color:#e4c9e9;z-index:2;padding:8px 13px;border:1px solid #dfc1e530;border-radius:5px;background:#29243388}.reveal{padding:29px}.reveal-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}.reveal-heading h2{font-size:23px;font-weight:400;margin:8px 0;color:#f3e5cc}.reveal-heading>span{font-size:11px;color:#b39ac3}.result-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.result-card{position:relative;height:260px;padding:7px 9px 65px;border-radius:7px;border:1px solid #a6b9a247;overflow:hidden;background:radial-gradient(ellipse at 50% 25%,#adc09c2e,transparent),#21292a;animation:reveal .45s ease-out both;animation-delay:var(--delay);text-align:left}.result-card.rarity-2{border-color:#c2a4e259;background:radial-gradient(ellipse at 50% 25%,#b7a4dc40,transparent),#292435}.result-card.rarity-3{border-color:#e9ca8480;background:radial-gradient(ellipse at 50% 25%,#caa76b66,transparent),#343029;box-shadow:0 0 25px #d3b27314}.result-card img{width:100%;height:100%;object-fit:contain;object-position:center;filter:drop-shadow(0 3px 6px #0004);transition:transform .3s}.result-card:hover{border-color:var(--gold);background-color:#363342}.result-card .card-info{position:absolute;bottom:0;left:0;right:0;padding:9px 12px 10px;border-top:1px solid #ffffff0c;background:#151822b8;backdrop-filter:blur(6px);min-height:65px}.card-info strong{display:block;font-size:12px;font-weight:500}.card-info small{display:block;font-size:10px;color:var(--gold);letter-spacing:3px;margin-bottom:3px}.card-info>span{font-size:8px;color:#8d819a}.result-card>.tier-badge{position:absolute;top:8px;left:8px}.result-cards.single{grid-template-columns:260px;justify-content:center}.result-cards.single .result-card{height:460px}.reveal-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:26px}.reveal-actions>span{font-size:10px;color:#9c8daf}.reveal-actions button span{margin-left:20px}
@keyframes art-enter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes charge{0%{transform:scale(.5);opacity:0}65%{transform:scale(1.12);opacity:1}100%{transform:scale(1);opacity:.7}}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes symbol{0%{transform:scale(.3);opacity:0}70%{transform:scale(1);opacity:1}100%{transform:scale(1.2);filter:brightness(1.7)}}@keyframes reveal{from{opacity:0;transform:translateY(16px) rotateY(70deg)}to{opacity:1;transform:translateY(0) rotateY(0)}}
@media(min-width:1450px){.hero{height:510px}.hero-copy{padding:44px}.banner-list{height:530px}.hero-art-wrap{right:5%;width:40%}.result-card{height:285px}}
@media(max-width:1150px){.top-nav{gap:18px}.local-status{display:none}.workspace{grid-template-columns:200px minmax(0,1fr);gap:13px}.hero-copy{padding:30px 25px;width:56%}.hero-copy h2{font-size:60px}.hero-art-wrap{right:2%;width:39%}.hero-description{font-size:10px}.hero-label{gap:8px}.hero-label>span:last-child{font-size:8px}.summon-controls{padding:18px;gap:13px;flex-wrap:wrap}.pull-actions{margin-left:auto}.pull-button{min-width:125px}.pull-button.primary{min-width:175px}.payment-bar{margin:0 18px;gap:12px}.payment-switch button{padding:7px 10px}#payment-note{max-width:120px;font-size:8px}.spending-panel{padding:21px;gap:15px}.currency-icon{width:35px;height:35px;font-size:17px}.spending-metric{gap:10px}.spending-metric strong{font-size:27px}.library-heading{flex-wrap:wrap;gap:0}.library-tools{margin-left:auto}.mini-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.banner-list{height:535px}.result-card{height:245px}.tier-row{grid-template-columns:90px minmax(0,1fr)}.tier-characters{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}.collection-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}}
@media(max-width:800px){main{padding:0 4%}.topbar{height:78px;padding:0 4%;gap:14px}.brand-mark{font-size:40px}.brand-caption{font-size:7px;padding-left:12px}.brand{gap:13px}.top-nav{gap:15px;font-size:11px}.header-right{display:none}.intro{padding:28px 0 22px}.intro>p{display:none}h1{font-size:27px}.workspace{grid-template-columns:1fr;gap:12px}.banner-sidebar{padding:14px 12px 5px}.sidebar-title{margin-bottom:10px}.filter-label,.banner-sidebar select,.sidebar-foot{display:none}.banner-list{display:flex;height:auto;overflow:auto;gap:7px;padding:0 0 9px}.banner-item{flex:0 0 190px;height:76px;margin:0;padding:9px}.banner-thumb{width:39px;height:39px}.hero{height:455px}.hero-copy{padding:32px;width:53%}.hero-copy h2{font-size:64px}.hero-art-wrap{width:40%;right:4%;top:13px;bottom:45px}.hero-kicker{margin-top:30px}.hero-description{font-size:11px}.summon-controls{flex-wrap:nowrap}.spending-panel{grid-template-columns:repeat(3,1fr);gap:20px}.spending-intro{grid-column:1/-1;border-bottom:1px solid var(--line);padding-bottom:15px;display:flex;align-items:center;justify-content:space-between;gap:10px}.spending-intro .eyebrow{display:none}.spending-intro h2{margin:0}.spending-metric.equivalent{justify-content:center}.stat{padding:0 19px}.stat strong{font-size:31px}.stat>span{font-size:9px}.tabs{gap:23px}.tabs button{font-size:11px}.library-tools .subtle-button{font-size:9px}.tier-characters{grid-template-columns:repeat(auto-fill,minmax(94px,1fr));padding:12px}.result-card{height:228px}.reveal{padding:24px 18px}.collection-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}footer{font-size:8px;flex-wrap:wrap}.hero-orbit{width:370px;height:370px}}
@media(max-width:540px){.topbar{height:74px}.brand-caption{display:none}.brand-mark{font-size:39px}.top-nav{gap:20px}.top-nav a,.top-nav button{font-size:11px}.top-nav span{display:none}.intro .eyebrow{font-size:7px;letter-spacing:2px}h1{font-size:24px;line-height:1.6}h1 span{font-size:23px;display:block}.intro{padding:24px 0 22px}.hero{height:490px}.hero-copy{padding:25px 20px;width:54%;height:calc(100% - 37px)}.hero-copy h2{font-size:48px;letter-spacing:-1.8px;line-height:1.03}.hero-label{flex-wrap:wrap;gap:7px}.hero-label>span:first-child{font-size:8px;padding:5px 7px;letter-spacing:1.4px}.hero-label>span:last-child{font-size:8px}.hero-kicker{font-size:6px;line-height:1.8;letter-spacing:1.3px;margin:26px 0 10px}.hero-thai{font-size:14px}.hero-stars{font-size:15px;letter-spacing:3px;margin:16px 0 13px}.hero-description{font-size:10px;line-height:1.9;margin-bottom:16px}.hero-copy .text-link{font-size:9px;text-align:left}.hero-copy .text-link span{margin-left:0}.hero-art-wrap{width:43%;right:2%;top:37px;bottom:50px}.hero-art{object-position:center}.hero-tier{right:4px;top:-20px;gap:5px}.hero-tier .tier-badge{width:32px;height:32px;font-size:14px}.hero-tier>span:last-child{font-size:6px;max-width:40px}.expand-art{font-size:8px;padding:6px 8px;right:10px;bottom:8px}.art-caption{display:none}.hero-orbit{width:300px;height:300px;right:-110px;top:90px}.hero-watermark{font-size:80px;bottom:55px;right:0}.hero-bottom{font-size:7px;padding:11px 15px;letter-spacing:0}.hero-bottom>span:last-child{display:none}.missing-art .hero-copy h2{font-size:32px}.payment-bar{margin:0 15px;gap:12px;padding:14px 0;flex-wrap:wrap}.payment-bar>span:first-child{font-size:10px}.payment-switch{margin-left:auto}.payment-switch button{font-size:10px;padding:7px 11px}#payment-note{max-width:none;width:100%;font-size:8px;text-align:left;margin:0;color:#82798f}.summon-controls{padding:15px;display:block}.guarantee{margin-bottom:17px}.guarantee small{float:right;margin-top:-9px;font-size:8px}.pull-actions{display:grid;grid-template-columns:1fr 1.25fr;gap:9px}.pull-button,.pull-button.primary{min-width:0;padding:13px 12px}.pull-button span{font-size:13px}.pull-button small{font-size:8px}.pull-button b{margin-left:10px}.stage-options{font-size:8px;padding:0 15px 15px;align-items:flex-start}.stage-options>span{max-width:57%}.statistics{grid-template-columns:repeat(2,1fr);padding:0;margin-top:17px}.stat{padding:18px 21px}.stat:nth-child(2){border:0}.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.stat>span{font-size:9px}.stat strong{font-size:32px}.spending-panel{grid-template-columns:1fr 1fr;padding:19px;gap:20px 12px}.spending-intro{flex-wrap:wrap}.spending-intro h2{font-size:12px}.save-status{font-size:7px}.spending-metric{gap:10px}.spending-metric strong{font-size:28px}.spending-metric>div>span{font-size:9px}.currency-icon{width:31px;height:36px;border-radius:8px}.spending-metric.equivalent{grid-column:1/-1;display:block;border-top:1px solid var(--line);padding-top:14px}.spending-metric.equivalent>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.spending-metric.equivalent strong{font-size:24px}.spending-metric.equivalent small{font-size:7px}.legacy-note{font-size:8px;line-height:1.8}.library{margin-top:22px}.library-heading{display:block}.tabs{justify-content:space-between;gap:10px}.tabs button{font-size:10px;padding:14px 0}.tabs button span{font-size:7px;margin-left:2px}.library-tools{justify-content:flex-end;padding:6px 0;border-top:1px solid #ffffff06}.library-tools .subtle-button{padding:7px 9px;font-size:9px}.mini-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:19px 0}.mini-info{padding:9px 8px}.mini-info strong{font-size:11px}.mini-info small{font-size:8px}.tier-badge{font-size:9px}.mini-portrait>.tier-badge{top:6px;left:6px}.new-tag{font-size:6px;right:6px;top:6px}.collection-head{font-size:9px;gap:10px}.collection-head input{width:170px;font-size:10px;padding:9px;max-width:55%}.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tier-intro{padding-top:22px;gap:12px;align-items:flex-start}.tier-intro .eyebrow{font-size:7px;letter-spacing:1.6px}.tier-intro h2{font-size:23px;line-height:1.3}.tier-intro h2 em{display:block}.tier-intro p{font-size:9px}.reference-link{font-size:9px;white-space:nowrap}.reference-link small{font-size:7px}.tier-toolbar{flex-wrap:wrap;gap:12px}.tier-toolbar input[type=search]{width:100%;padding:10px}.tier-toolbar label{font-size:10px}.tier-row{grid-template-columns:55px minmax(0,1fr);margin-bottom:10px}.tier-label{padding:10px 5px;gap:9px}.tier-label strong{font-size:25px}.tier-label span{font-size:7px}.tier-characters{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:9px}.tier-characters .mini-info{padding:7px 5px}.tier-characters .mini-info strong{font-size:8px}.tier-characters .mini-info small{font-size:7px;margin-top:4px}.tier-characters .owned-badge{font-size:6px;bottom:4px;right:4px;padding:2px 4px}.tier-footnote{font-size:9px;line-height:1.9}.history-table,.rates-table{font-size:10px}.history-table th,.rates-table th{font-size:8px}.history-table td,.history-table th,.rates-table td,.rates-table th{padding:10px 5px}.history-table td:nth-child(4),.history-table th:nth-child(4),.history-table td:last-child,.history-table th:last-child{display:none}.table-person{gap:7px}.table-person img{width:31px;height:31px}.history-note{font-size:9px}.reveal{padding:22px 13px}.reveal-heading{margin-bottom:18px}.reveal-heading .eyebrow{font-size:6px;letter-spacing:1.8px}.reveal-heading h2{font-size:19px}.reveal-heading>span{font-size:9px}.result-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:58dvh;overflow:auto;padding:2px}.result-card{height:270px;padding:8px 8px 66px}.result-card .card-info{padding:9px}.card-info strong{font-size:11px}.result-cards.single{grid-template-columns:220px}.result-cards.single .result-card{height:410px}.reveal-actions{flex-direction:column;margin-top:22px;gap:15px}.reveal-actions .primary{width:100%}.reveal-actions>span{order:2;font-size:9px}.summon-dialog{max-height:94dvh;width:96vw}.cinema{height:570px}.cinema>p{font-size:17px;bottom:80px}.summon-ring{width:210px;height:210px}.ring-two{width:260px;height:260px}.summon-symbol{font-size:105px}dialog{padding:20px;width:94vw}.dialog-heading h2{font-size:20px}.rate-summary{gap:8px}.rate-summary>div{padding:12px;font-size:10px}.rate-summary strong{font-size:24px}.source-note,.rules-note{font-size:11px;padding:13px}.rate-toggle button{font-size:10px;padding:7px 9px}#character-content{grid-template-columns:1fr;gap:23px}.character-full-art{height:51dvh;max-height:480px;max-width:300px;width:100%;margin:auto}.character-profile{display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 10px}.character-profile>.tier-badge{grid-column:2;grid-row:1;padding:6px 9px;font-size:15px}.character-profile h3{grid-column:1;grid-row:1;font-size:26px;margin:0}.profile-stars{font-size:16px}.character-profile p{font-size:10px;margin:7px 0}.owned-total{grid-column:1/-1;margin:8px 0;padding:10px 0}.character-profile .profile-note{margin:8px 0;font-size:8px}.profile-note,.character-profile>.reference-link{grid-column:1/-1}.character-profile>.reference-link{font-size:10px}footer{font-size:8px;padding:20px 0;gap:12px}footer>span:nth-child(2){order:3;width:100%;line-height:1.8}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Use the original square portraits at their native aspect ratio for clear faces.
   The full cut artwork remains available in the character viewer. */
.hero-art{height:auto;max-height:100%;aspect-ratio:1;object-fit:contain;border-radius:12px;box-shadow:0 12px 45px #07081144;border:1px solid #ffe8cf25}
.art-frame{inset:27px -10px 27px;border-radius:18px;transform:rotate(3deg);border-color:#f4dabb18}
.hero-art-wrap{width:42%;right:4%;top:25px;bottom:52px}
.hero-tier{top:10px;right:-4px;z-index:2}.expand-art{bottom:10px;z-index:2}.hero-art{filter:none}
.result-card{height:auto;aspect-ratio:1/1.38;padding:0 0 68px}
.result-card img{height:100%;object-fit:contain;filter:none}
.result-cards.single .result-card{height:auto;aspect-ratio:1/1.38}
@media(max-width:540px){.hero-art-wrap{width:44%;right:2%;top:30px;bottom:50px}.hero-art{border-radius:8px}.art-frame{inset:100px -2px;border-radius:12px;transform:rotate(3deg)}.hero-tier{top:40px;right:4px}.expand-art{bottom:40px;right:0}.result-card{height:auto;padding-bottom:68px;aspect-ratio:1/1.5}.result-cards.single .result-card{height:auto;aspect-ratio:1/1.4}}

@media(max-width:540px){
 .hero{height:auto;display:flex;flex-direction:column;padding-bottom:36px}
 .hero-art-wrap{position:relative;order:0;right:auto;top:auto;bottom:auto;width:calc(100% - 36px);height:auto;aspect-ratio:1;margin:18px 18px 0}
 .hero-art{width:100%;height:100%;max-height:none}
 .hero-copy{order:1;width:100%;height:auto;padding:24px 22px 27px}
 .hero-copy h2{font-size:56px}.hero-kicker{margin-top:20px}.hero-description{max-width:none;font-size:11px}.hero-stars{margin:14px 0 10px}
 .hero-label{flex-wrap:nowrap}.hero-label>span:last-child{font-size:9px}.hero-copy .text-link{font-size:11px}
 .art-frame{inset:0;border-radius:12px;transform:none}.hero-tier{right:10px;top:10px}.expand-art{right:10px;bottom:10px}
 .hero-bottom{padding:10px 15px}.hero-orbit{top:50px;right:-50px}.hero-watermark{bottom:100px}
 .tier-characters .mini-info strong{font-size:9px}.tier-label span{font-size:8px}
}

/* Standing artwork gets the whole frame; the player fits both width and height. */
.hero{height:630px}
.hero-copy{width:44%;padding:38px 30px}
.hero-art-wrap{top:14px;bottom:49px;right:1%;width:56%}
.hero-art{width:100%;height:100%;max-height:100%;aspect-ratio:auto;object-fit:contain;border:0;box-shadow:none;border-radius:0;background:none}
.art-frame{inset:14px 18px;border-radius:45% 45% 12px 12px;transform:none;background:radial-gradient(ellipse,#c4acf70a,transparent 70%)}
.full-model{position:absolute;inset:0;z-index:1;pointer-events:none;opacity:0;transition:opacity .25s}
.full-model .spine-player,.full-model .spine-player-canvas{width:100%;height:100%;display:block;background:transparent!important}
.full-model .spine-player{position:relative;border:0}
.full-model .spine-player-controls{display:none!important}
.model-ready>.full-model{opacity:1}
.model-ready>.hero-art,.model-ready>img{visibility:hidden}
.hero-tier{top:16px;right:16px;z-index:3}.expand-art{bottom:8px;right:18px;z-index:3}
.art-caption{right:6px;z-index:2}
.character-full-art{position:relative;height:min(72dvh,780px);max-width:none;overflow:hidden}
#character-dialog{width:min(1050px,94vw)}
#character-content{grid-template-columns:minmax(0,1.8fr) minmax(180px,1fr)}
@media(min-width:1450px){.hero{height:680px}.hero-copy{padding:44px 38px}}
@media(max-width:1150px){.hero{height:600px}.hero-copy{padding:30px 23px}.hero-copy h2{font-size:55px}}
@media(max-width:800px){.hero{height:600px}.hero-copy{width:44%;padding:30px 24px}.hero-art-wrap{width:57%;right:0}.hero-copy h2{font-size:58px}}
@media(max-width:540px){
 .hero{height:auto}.hero-art-wrap{width:100%;height:520px;aspect-ratio:auto;margin:0;right:auto;top:auto;bottom:auto;flex-shrink:0}
 .hero-copy{width:100%;padding:16px 22px 27px}.hero-copy h2{font-size:56px}
 .hero-art{height:100%}.hero-tier{top:16px;right:16px}.expand-art{bottom:8px;right:16px}
 .art-frame{inset:14px 12px}.hero-kicker{margin-top:16px}
 #character-content{grid-template-columns:1fr}.character-full-art{height:62dvh;max-height:650px;max-width:none}
}

/* Unreleased Halloween banner. */
.coming-soon-art{display:none}
.waiting-banner .coming-soon-art{display:flex;position:absolute;inset:0;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:15px;background:radial-gradient(ellipse,#c4acf71a,transparent 65%)}
.coming-soon-symbol{font-size:100px;line-height:1.3;color:var(--gold);text-shadow:0 0 70px #e9ca8450}
.coming-soon-art small{font-size:11px;letter-spacing:5px;color:var(--gold)}
.coming-soon-art strong{font-size:clamp(24px,3vw,42px);font-weight:500;color:var(--ink)}
.coming-soon-art p{font-size:13px;color:var(--muted);margin:0}
.waiting-banner .hero-art,.waiting-banner .hero-backdrop,.waiting-banner .art-frame,.waiting-banner .hero-tier,.waiting-banner .expand-art,.waiting-banner .art-caption,.waiting-banner .hero-stars,.waiting-banner .payment-bar,.waiting-banner .summon-controls,.waiting-banner .stage-options{display:none}
@media(max-width:540px){.waiting-banner .hero-art-wrap{height:320px}}

/* Original game currency sprites, kept at their full aspect ratio. */
.resource-icon{display:inline-block;width:24px;height:24px;object-fit:contain;flex:0 0 24px;vertical-align:middle;filter:drop-shadow(0 2px 3px #0004)}
.payment-switch button{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.payment-switch{display:flex;align-items:center}
.pull-button small{display:flex;align-items:center;gap:7px;min-height:24px}
.pull-button small>span{font:inherit;letter-spacing:inherit}
.currency-icon .resource-icon{width:38px;height:38px;flex-basis:38px}
.history-currency{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.history-currency .resource-icon{width:22px;height:22px;flex-basis:22px}
@media(max-width:540px){.resource-icon{width:21px;height:21px;flex-basis:21px}.payment-switch button{gap:5px}.pull-button small{gap:4px}.currency-icon .resource-icon{width:30px;height:30px;flex-basis:30px}}

.save-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:9px}
.save-actions .save-status{margin:0}
.reset-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 11px;border:1px solid #eea6b03d;border-radius:7px;color:#e7acb8;background:#e7acb80a;font-size:10px;white-space:nowrap}
.reset-button:hover{border-color:#eea6b090;background:#e7acb81a}
.library-tools .reset-button{margin-left:4px}
#reset-dialog{width:min(490px,94vw)}
#reset-description,.reset-note{font-size:12px;color:var(--muted);line-height:1.9}
.reset-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}
.reset-summary>div{padding:14px;background:#ffffff05;border:1px solid var(--line);border-radius:9px}
.reset-summary span{display:block;color:var(--muted);font-size:10px}
.reset-summary strong{display:block;margin-top:5px;font-size:22px;font-weight:500;color:var(--ink)}
.reset-confirm{padding:11px 17px;font-size:12px;background:#623843;border-color:#e7acb85c;color:#ffe7ec}
@media(max-width:800px){.save-actions{margin:0}.save-actions .reset-button{font-size:9px;padding:6px 9px}}

/* Three-star encounter: original game textures with a staged reveal. */
.cinema-game-ring{position:absolute;width:390px;height:390px;opacity:.14;filter:drop-shadow(0 0 30px #d5bbfa);animation:rotate 16s linear infinite}
.cinema-beam{position:absolute;top:0;bottom:0;left:50%;width:3px;background:linear-gradient(transparent,#fff0c8,transparent);opacity:0}
.cinema.gold .cinema-beam{animation:rare-charge 2.8s ease-in both}
.cinema.gold .cinema-game-ring{filter:sepia(1) saturate(3) drop-shadow(0 0 32px #efc973);animation:rare-ring-charge 2.8s ease-in-out both}
.cinema.gold .summon-symbol{color:#ffdfa0;animation:rare-symbol-charge 2.8s ease-in both}
.cinema.gold .summon-ring{border-color:#ffdf967d;box-shadow:0 0 70px #ffd27325,inset 0 0 70px #ffd27325}
.summon-dialog.featuring-rare{max-width:1280px;border-color:#e9ca8460;box-shadow:0 0 120px #ddb56f26;overflow:hidden}
.rare-scene{height:min(760px,88dvh);min-height:460px;position:relative;overflow:hidden;isolation:isolate;background:#191720;color:#faecd4}
.rare-original-bg{position:absolute;inset:0;background:linear-gradient(90deg,#1b1925ed 5%,#2c243575 65%,#29233399),url('/art/summon/Gacha_Bg_3Star.png') center/cover;z-index:-3}
.rare-scene:before{content:'';position:absolute;inset:15px;border:1px solid #fbe5b021;pointer-events:none;z-index:4;clip-path:polygon(0 0,36% 0,36% 1px,1px 1px,1px calc(100% - 1px),36% calc(100% - 1px),36% 100%,0 100%)}
.rare-scene:after{content:'III';position:absolute;right:3%;top:3%;font:650px/.9 var(--serif);letter-spacing:-50px;color:#ffdf9706;pointer-events:none;z-index:-2}
.rare-light{position:absolute;right:-8%;top:-12%;width:85%;height:120%;background:url('/art/summon/FxUi_GachaBackLight.png') center/contain no-repeat;mix-blend-mode:screen;opacity:.18;filter:sepia(1);z-index:-1}
.rare-rays{position:absolute;width:850px;height:850px;right:-12%;top:50%;margin-top:-425px;border-radius:50%;background:repeating-conic-gradient(from 0deg,#f1c77900 0deg 10deg,#f1c77916 12deg,#f1c77900 15deg 30deg);mask-image:radial-gradient(circle,black,transparent 68%);animation:rotate 55s linear infinite;z-index:-1}
.rare-orbit{position:absolute;width:530px;height:530px;right:3%;top:50%;margin-top:-280px;background:url('/art/summon/Gacha_Ani_Circle_1.png') center/contain no-repeat;opacity:.1;filter:sepia(1);animation:rotate 35s linear infinite;z-index:-1}
.rare-dust{position:absolute;inset:-30%;pointer-events:none;background-image:radial-gradient(ellipse,#ffe4a999 1px,transparent 2px),radial-gradient(ellipse,#fff4d54d 1px,transparent 2px);background-size:93px 139px,157px 101px;animation:rare-dust-drift 12s linear infinite;mask-image:linear-gradient(transparent,#000 50%,transparent);z-index:2}
.rare-flash{position:absolute;inset:0;pointer-events:none;z-index:5;opacity:0;background:radial-gradient(ellipse at 66% 45%,#ffe8bbaa,#ffe8bb00 70%)}
.rare-topline{position:absolute;top:30px;left:5%;right:30px;display:flex;align-items:center;gap:25px;z-index:6;font-size:10px;letter-spacing:3px;color:#e6cea4}
.rare-topline .skip-button{position:static;margin-left:auto;color:#eed9b9;background:#19172070;border-color:#eed9b92e;letter-spacing:0}
#rare-progress{letter-spacing:1px;white-space:nowrap}
.rare-art{position:absolute;right:18px;top:54px;bottom:80px;width:57%;z-index:1;transform-origin:50% 65%}
.rare-art>img{height:100%;width:100%;object-fit:contain;filter:drop-shadow(0 10px 25px #100b1770)}
.rare-copy{position:absolute;left:6%;top:50%;width:39%;transform:translateY(-47%);z-index:3;pointer-events:none}
.rare-new{display:inline-block;padding:7px 12px;border:1px solid #f3d59877;border-radius:3px;font-size:10px;letter-spacing:3px;color:#ffe6a9;background:linear-gradient(100deg,#e9c67921,#e9c67905)}
.rare-new.duplicate{letter-spacing:.5px;font-size:11px;border-color:#dfc59933;color:#c6b391}
.rare-eyebrow{font-size:11px;letter-spacing:2px;margin:30px 0 15px;color:#e6cfa9}
.rare-stars{display:flex;gap:13px;color:#ffda82;text-shadow:0 0 24px #ffc75b70;font-size:32px}
.rare-copy h2{font:clamp(38px,6.1vw,82px)/1.05 var(--serif);letter-spacing:-2px;overflow-wrap:anywhere;margin:20px 0 13px;color:#fff1d4;text-shadow:0 3px 20px #120f1670}
#rare-thai{font-size:20px;color:#e6d6c0;margin:0}
.rare-divider{height:1px;width:150px;margin:27px 0 21px;background:linear-gradient(90deg,#eccd8dcc,transparent)}
.rare-caption{font-size:12px;line-height:2;color:#b6a692}
.rare-bottom{position:absolute;left:5%;right:5%;bottom:25px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #f3d59820;padding-top:18px}
#rare-note{font-size:10px;color:#b7ad9b}
.rare-bottom .primary{min-width:180px;padding:13px 20px;background:linear-gradient(115deg,#f2d89a,#c3a674);color:#24202a;box-shadow:0 6px 30px #eecb7220}
.rare-bottom .primary span{margin-left:25px}
.rare-scene.playing .rare-flash{animation:rare-soft-flash 1.6s ease-out both}
.rare-scene.playing .rare-art{animation:rare-character-enter 1.45s cubic-bezier(.2,.7,.2,1) both}
.rare-scene.playing .rare-new,.rare-scene.playing .rare-eyebrow,.rare-scene.playing h2,.rare-scene.playing #rare-thai,.rare-scene.playing .rare-divider,.rare-scene.playing .rare-caption{animation:rare-copy-enter .8s ease-out both;animation-delay:.6s}
.rare-scene.playing h2{animation-delay:.95s}.rare-scene.playing #rare-thai{animation-delay:1.1s}.rare-scene.playing .rare-caption{animation-delay:1.3s}
.rare-scene.playing .rare-stars span{animation:rare-star-enter .65s cubic-bezier(.2,.8,.2,1.2) both;animation-delay:.35s}
.rare-scene.playing .rare-stars span:nth-child(2){animation-delay:.55s}.rare-scene.playing .rare-stars span:nth-child(3){animation-delay:.75s}
.result-heading-actions{display:flex;align-items:flex-end;flex-direction:column;gap:8px;font-size:11px;color:#b39ac3}.result-heading-actions button{font-size:10px;color:var(--gold)}
.result-card.rarity-3{background-image:linear-gradient(#372b2455,#372b24cc),url('/art/summon/Gacha_Bg_3Star.png');background-size:cover;border-color:#e7c982}
.result-card.rarity-3:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 25%,#fff0bb38 48%,transparent 65%);transform:translateX(-150%);animation:rare-card-shine 1.5s ease-out .6s both}
@keyframes rare-charge{0%,35%{opacity:0;transform:scaleX(1)}70%{opacity:.8;transform:scaleX(4)}100%{opacity:0;transform:scaleX(260)}}
@keyframes rare-ring-charge{0%{opacity:0;transform:scale(.5) rotate(-50deg)}65%{opacity:.35;transform:scale(1) rotate(30deg)}100%{opacity:0;transform:scale(2.1) rotate(90deg)}}
@keyframes rare-symbol-charge{0%{opacity:0;transform:scale(.3)}50%{opacity:1;transform:scale(1)}80%{opacity:1;transform:scale(1.1);filter:brightness(1.6)}100%{opacity:0;transform:scale(1.8);filter:brightness(2)}}
@keyframes rare-soft-flash{0%{opacity:0}22%{opacity:.8}100%{opacity:0}}
@keyframes rare-character-enter{0%{opacity:0;transform:translateY(25px) scale(.94);filter:brightness(0)}30%{opacity:1;filter:brightness(.12)}100%{opacity:1;transform:translateY(0) scale(1);filter:brightness(1)}}
@keyframes rare-copy-enter{from{opacity:0;translate:-22px 0}to{opacity:1;translate:0 0}}
@keyframes rare-star-enter{from{opacity:0;transform:scale(2.3) rotate(-18deg)}to{opacity:1;transform:scale(1) rotate(0)}}
@keyframes rare-dust-drift{from{transform:translateY(40px)}to{transform:translateY(-99px)}}
@keyframes rare-card-shine{to{transform:translateX(150%)}}
@media(max-width:800px){.rare-copy h2{font-size:51px}.rare-copy{left:5%;width:42%}.rare-stars{font-size:27px;gap:9px}.rare-art{right:0;width:57%}.rare-topline{gap:14px;left:5%;right:20px;letter-spacing:1px}.rare-topline>span:first-child{font-size:8px}.rare-bottom{gap:12px}#rare-note{font-size:8px}}
@media(max-width:540px){
 .summon-dialog.featuring-rare{width:98vw;max-height:94dvh}.rare-scene{height:90dvh;min-height:540px}
 .rare-topline{top:14px;left:18px;right:14px;gap:8px}.rare-topline>span:first-child{display:none}.rare-topline .skip-button{font-size:9px;padding:7px 10px}
 .rare-art{top:48px;bottom:205px;width:100%;right:0}.rare-orbit{width:390px;height:390px;right:50%;margin-right:-195px;top:32%;margin-top:-195px}.rare-rays{top:30%;right:50%;margin-right:-425px}
 .rare-copy{left:22px;right:22px;top:auto;bottom:94px;transform:none;width:auto;display:grid;grid-template-columns:1fr auto;gap:7px 12px;align-items:center}
 .rare-new{font-size:8px;letter-spacing:1.5px;padding:4px 8px;justify-self:start;grid-column:1}.rare-eyebrow,.rare-divider,.rare-caption{display:none}
 .rare-stars{grid-column:2;grid-row:1;font-size:22px;gap:7px}.rare-copy h2{grid-column:1/-1;font-size:clamp(28px,9vw,42px);letter-spacing:-1px;margin:0;line-height:1.05}.rare-copy #rare-thai{grid-column:1/-1;font-size:14px;margin:0}
 .rare-bottom{left:20px;right:20px;bottom:17px;padding-top:12px;gap:8px}.rare-bottom .primary{min-width:145px;padding:11px 13px;font-size:11px}.rare-bottom .primary span{margin-left:8px}#rare-note{max-width:42%;line-height:1.7;font-size:8px}
 .rare-light{width:150%;right:-25%;height:80%;top:0}.rare-scene:after{font-size:420px;top:14%;right:12%;letter-spacing:-30px}
 .cinema-game-ring{width:300px;height:300px}.result-heading-actions{font-size:9px}.result-heading-actions button{font-size:8px}
}

/* Original game audio controls */
.sound-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 25px 20px;padding:13px 15px;border:1px solid #c7a5ed25;border-radius:8px;background:linear-gradient(110deg,#29233380,#1b1c2780);font-size:10px;color:#a89db9}
.sound-toggle{padding:7px 11px;border:1px solid #c9afe43b;border-radius:5px;background:#292333;color:#d9c3f3;white-space:nowrap;font-size:10px;letter-spacing:0}
.sound-toggle[aria-pressed=false]{color:#99909f;background:#20212a;border-color:#ffffff17}
.sound-toggle[data-playing]:not([data-playing=""]){border-color:#e7c78299;color:#f5da9f;box-shadow:0 0 14px #e7c78222}
#sound-volume{width:100px;accent-color:#d9bbf3;cursor:pointer}#sound-volume-value{width:27px;color:#e2d2ed;font-variant-numeric:tabular-nums}
.sound-test{margin-left:auto;padding:7px 9px;color:#e5ca97;border-bottom:1px solid #e5ca9733;font-size:10px}
#sound-status{flex-basis:100%;font-size:9px;color:#8f859e}
.cinema>.sound-toggle{position:absolute;left:25px;top:25px;z-index:3}
.rare-topline>.sound-toggle{margin-left:auto}.rare-topline .skip-button{margin-left:0}
.waiting-banner .sound-controls{display:none}
@media(max-width:540px){.sound-controls{margin:0 15px 15px;padding:11px;gap:8px}.sound-controls label{font-size:9px}#sound-volume{width:75px}.sound-test{font-size:9px}.rare-topline>.sound-toggle{font-size:9px;padding:7px}.result-heading-actions .sound-toggle{font-size:9px}}

/* Original MAke Drama wordmark; AXEL is the browser icon. */
.brand{flex-shrink:0}.brand-logo{display:block;width:112px;height:68px;object-fit:contain;filter:drop-shadow(0 3px 10px #0004)}
@media(max-width:800px){.brand-logo{width:96px;height:58px}}
@media(max-width:540px){.brand-logo{width:90px;height:55px}.topbar{gap:10px}.top-nav{gap:14px}}
@media(max-width:360px){.brand-logo{width:78px;height:48px}.top-nav{gap:10px}.top-nav a,.top-nav button{font-size:10px}}

@media(max-width:540px){.topbar{height:auto;min-height:86px;flex-wrap:wrap;justify-content:center;gap:4px;padding-top:9px;padding-bottom:8px}.topbar .brand{margin-right:auto}.top-nav{flex-wrap:wrap;justify-content:flex-end;gap:12px}.top-nav a,.top-nav button{font-size:10px}.brand-logo{width:80px;height:49px}}
@media(max-width:390px){.topbar>.top-nav{width:100%;justify-content:space-between}.topbar .brand{margin:0 auto}}

@media(max-width:1200px){.topbar .local-status{display:none}.top-nav{gap:20px}.topbar{gap:20px}}
@media(max-width:650px){.topbar{flex-wrap:wrap;height:auto;padding-top:8px;padding-bottom:10px;gap:8px}.topbar>.top-nav{width:100%;justify-content:space-between;gap:9px}.topbar .brand{margin:0 auto}.topbar .brand-caption{display:none}}

/* Original Spine gacha presenter, followed by a partner's entrance animation. */
.gacha-presenter{position:absolute;inset:35px 12% 40px;z-index:2;pointer-events:none;transform-origin:50% 65%}
.cinema.presenter-ready .gacha-presenter{animation:presenter-enter .65s cubic-bezier(.18,.85,.27,1.16) both}
.cinema.presenter-ready>.summon-symbol,.cinema.presenter-ready>.summon-ring,.cinema.presenter-ready>.cinema-game-ring,.cinema.presenter-ready>p{opacity:0;visibility:hidden}
.cinema.presenter-ready{background:radial-gradient(ellipse at 50% 36%,#8879a9,#3b324e 48%,#151322 95%)}
.cinema.gold.presenter-ready{background:radial-gradient(ellipse at 50% 36%,#c7a577,#675039 48%,#1d1721 95%)}
.cinema-curtain{position:absolute;inset:0;pointer-events:none;z-index:3;background:linear-gradient(0deg,#15121feb,transparent 27%,transparent 85%,#17141d66);opacity:0}
.cinema-scene-label{position:absolute;left:20px;right:20px;bottom:27px;z-index:4;text-align:center;opacity:0;pointer-events:none}
.cinema-scene-label span{display:block;color:#e8c8a3;font-size:9px;letter-spacing:6px;margin-bottom:10px}.cinema-scene-label strong{font-size:18px;font-weight:500;color:#fff0df;letter-spacing:1px}
.cinema.presenter-ready .cinema-curtain,.cinema.presenter-ready .cinema-scene-label{opacity:1;transition:opacity .7s}
.cinema>.skip-button,.cinema>.sound-toggle{z-index:6}
.rare-scene:not(.playing) .rare-art,.rare-scene:not(.playing) .rare-copy{opacity:0}
@keyframes presenter-enter{from{opacity:0;transform:translateY(45px) scale(.87)}65%{opacity:1;transform:translateY(-8px) scale(1.025)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes rare-character-enter{0%{opacity:0;transform:translateY(55px) scale(.8);filter:brightness(.3)}55%{opacity:1;transform:translateY(-12px) scale(1.025);filter:brightness(1.2)}78%{transform:translateY(4px) scale(.995)}100%{opacity:1;transform:translateY(0) scale(1);filter:brightness(1)}}
@media(max-width:540px){.gacha-presenter{inset:55px -8% 65px}.cinema-scene-label strong{font-size:14px}.cinema-scene-label{bottom:24px}.cinema>.sound-toggle{left:14px;top:15px}.cinema>.skip-button{right:14px;top:15px}}
@media(prefers-reduced-motion:reduce){.cinema.presenter-ready .gacha-presenter,.rare-scene.playing .rare-art{animation:none}}

/* Shared navigation for independently addressable archive pages. */
.top-nav{min-width:0;gap:23px}.top-nav a{white-space:nowrap}.top-nav a[aria-current=page]{color:var(--gold)}.library-page-link{padding:18px 0;color:#a795b7;font-size:12px;white-space:nowrap}.library-page-link:hover{color:#ecd6ac}.library-page-link span{font-size:8px}
@media(max-width:1280px){.topbar .brand-caption,.topbar .header-right,.topbar>.wiki-local,.topbar>.codes-header-note{display:none}.topbar .top-nav{gap:23px}}
@media(max-width:1000px){body .topbar{height:auto!important;flex-wrap:wrap!important;padding:12px 24px;gap:6px}body .topbar .brand{margin:0 auto}body .topbar>.top-nav{width:100%;flex-basis:100%;justify-content:center;gap:22px;padding:8px 2px;overflow-x:auto}body .topbar>.top-nav a{flex-shrink:0;font-size:11px}}
@media(max-width:540px){body .topbar{padding:8px 15px}body .topbar>.top-nav{justify-content:flex-start;gap:20px}body .topbar .brand-logo{height:56px;width:auto}.library-page-link{font-size:10px}}

/* Desktop stage follows the available viewport; lists scroll independently. */
@media (min-width:1001px) {
 .summon-page .topbar{height:clamp(64px,8dvh,86px);padding-inline:clamp(24px,3vw,64px);gap:20px}
 .summon-page .brand-logo{height:clamp(48px,6dvh,64px);width:auto}
 .summon-page main{max-width:1920px;padding-inline:clamp(24px,3vw,64px)}
 .summon-page .intro{height:86px;padding:16px 0 18px;align-items:center}
 .summon-page h1{font-size:clamp(24px,2vw,32px);margin-top:6px}
 .summon-page .workspace{height:clamp(570px,calc(100dvh - clamp(64px,8dvh,86px) - 106px),940px);grid-template-columns:clamp(190px,16vw,260px) minmax(0,1fr);gap:clamp(14px,1.4vw,24px)}
 .summon-page .banner-sidebar{min-height:0;overflow:hidden}
 .summon-page .banner-list{height:auto;min-height:0;flex:1;overscroll-behavior:contain}
 .summon-page .banner-item{height:clamp(64px,9dvh,84px)}
 .summon-page .sidebar-foot{flex-shrink:0;margin-top:10px;padding-top:8px}
 .summon-page .tiny-star{display:none}
 .summon-page .summon-section{display:flex;flex-direction:column;min-height:0}
 .summon-page .hero{height:auto;min-height:300px;flex:1}
 .summon-page .hero-copy{width:48%;height:calc(100% - 36px);padding:clamp(18px,2.5dvh,32px) clamp(20px,2.2vw,38px)}
 .summon-page .hero-copy h2{font-size:clamp(40px,min(5vw,8dvh),82px);line-height:1;letter-spacing:-1.5px}
 .summon-page .hero-kicker{margin:clamp(10px,2dvh,24px) 0 8px}
 .summon-page .hero-thai{font-size:clamp(14px,1.5vw,19px)}
 .summon-page .hero-stars{margin:10px 0 8px;font-size:17px}
 .summon-page .hero-description{margin-bottom:10px;line-height:1.6}
 .summon-page .hero-art-wrap{top:8px;bottom:38px;right:2%;width:51%;height:auto;min-height:0}
 .summon-page .hero-orbit{width:min(36vw,48dvh);height:auto;aspect-ratio:1;top:5%;right:5%}
 .summon-page .hero-bottom{padding:9px 20px}
 .summon-page .payment-bar{flex-shrink:0;padding-block:10px;margin-inline:20px}
 .summon-page .summon-controls{flex-shrink:0;flex-wrap:nowrap;padding:12px 20px 10px;gap:12px}
 .summon-page .pull-button,.summon-page .pull-button.primary{min-width:0;padding:11px 15px}
 .summon-page .pull-button span{font-size:13px}
 .summon-page .pull-button b{margin-left:14px}
 .summon-page .stage-options{flex-shrink:0;padding:0 20px 10px}
 .summon-page .sound-controls{flex-shrink:0;margin:0 20px 12px;padding:8px 12px;gap:9px}
 .summon-page #sound-status{flex-basis:auto;margin-left:auto}
 .summon-page .sound-test{margin-left:0}
}
@media (min-width:1001px) and (max-height:750px) {
 .summon-page .hero-kicker{display:none}
 .summon-page .hero-label{margin-bottom:12px}
 .summon-page .hero-copy h2{font-size:clamp(36px,4vw,54px)}
 .summon-page .hero-description{font-size:10px}
}

/* Keep mobile result rows at their full card height inside the scroll area. */
.result-cards{grid-auto-rows:max-content;align-content:start;align-items:start}
@media(max-width:540px){
 .summon-dialog .reveal:not([hidden]){display:flex;flex-direction:column;max-height:90dvh;padding:18px 13px;overflow:hidden}
 .summon-dialog .reveal-heading{flex:0 0 auto;align-items:flex-start;gap:10px;margin-bottom:14px}
 .summon-dialog .reveal-heading h2{font-size:clamp(16px,4.5vw,20px)}
 .summon-dialog .result-heading-actions{gap:7px;max-width:42%}
 .summon-dialog .result-cards{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;grid-auto-rows:max-content;align-content:start;gap:10px;padding:2px;overscroll-behavior:contain}
 .summon-dialog .result-card{height:clamp(240px,65vw,310px);min-height:clamp(240px,65vw,310px);aspect-ratio:auto;padding-bottom:68px}
 .summon-dialog .result-cards.single{grid-template-columns:minmax(0,220px)}
 .summon-dialog .result-cards.single .result-card{height:310px;min-height:310px;aspect-ratio:auto}
 .summon-dialog .reveal-actions{flex:0 0 auto;margin-top:16px;gap:10px}
 .summon-dialog .reveal-actions .primary{min-height:44px}
}
