/* Reference plates own fixed lettering; live values and controls remain accessible DOM. */
.stage .interface-root .rp-page{display:block;padding:0;background:var(--rp-plate) center/100% 100% no-repeat;overflow:hidden}
.stage .interface-root .rp-page:before,.stage .interface-root .rp-page>.if-heading,.stage .interface-root .rp-page>.if-nav{display:none}
.stage .interface-root .rp-page>.if-body{position:absolute;inset:0;width:100%;height:100%;padding:0;overflow:hidden;background:none}
.stage .interface-root .rp-page .rp-sprite{position:absolute!important;display:block;min-height:0;padding:0;border:0;border-radius:0;background-color:transparent;background-repeat:no-repeat;box-shadow:none;color:transparent!important;font-size:0!important;z-index:5;cursor:pointer;transform-origin:center;}
.stage .interface-root .rp-sprite>*{visibility:hidden}
.stage .interface-root .rp-sprite:focus-visible{outline:.5cqw solid #a9f5ff;outline-offset:-1cqw}
.stage .interface-root .rp-sprite:active:not(:disabled){transform:scale(.96);filter:brightness(1.25)}
.stage .interface-root .rp-sprite.rp-claimed:after{content:'今日已领取';display:grid;place-items:center;position:absolute;inset:14% 8%;background:#301743ed;border:1px solid #d8ae74;border-radius:3cqw;color:#f4e1ac;font-size:3.6cqw}
.stage .interface-root .rp-sprite.rp-unavailable,.stage .interface-root .rp-sprite:disabled{filter:saturate(.35);cursor:default}
.stage .interface-root .rp-page>.if-resources{position:absolute;inset:0;height:100%;padding:0;background:none;display:block;pointer-events:none;z-index:7}
.stage .interface-root .rp-page .if-resource{position:absolute;top:1.15%;height:3%;width:22%;padding:0;background:none;border:0;box-shadow:none;pointer-events:auto;min-height:0}
.stage .interface-root .rp-page .if-resource:nth-child(1){left:29%}.stage .interface-root .rp-page .if-resource:nth-child(2){left:53%}.stage .interface-root .rp-page .if-resource:nth-child(3){left:77%}
.stage .interface-root .rp-page .if-resource>img,.stage .interface-root .rp-page .if-resource-plus{display:none}
.stage .interface-root .rp-page .if-resource-value{display:flex;align-items:center;justify-content:center;width:100%;font-size:2.7cqw;white-space:nowrap;overflow:hidden}
.stage .interface-root .if-page-shop.rp-page .if-resource{top:2.6%;width:13%}.stage .interface-root .if-page-shop.rp-page .if-resource:nth-child(1){left:46%}.stage .interface-root .if-page-shop.rp-page .if-resource:nth-child(2){left:65%}.stage .interface-root .if-page-shop.rp-page .if-resource:nth-child(3){left:83%}
.stage .interface-root :is(.if-page-signin,.if-page-balls).rp-page .if-resource:nth-child(1){left:29%;width:15%}.stage .interface-root :is(.if-page-signin,.if-page-balls).rp-page .if-resource:nth-child(2){left:76%;width:12%}.stage .interface-root :is(.if-page-signin,.if-page-balls).rp-page .if-resource:nth-child(3){display:none}
/* Seven-day rewards: six equal cards, a separate jackpot, no duplicate date art. */
.stage .interface-root .rp-page .hf-signin{position:absolute;inset:0;display:block;background:none;padding:0}
.rp-page .hf-signin-subtitle{display:none!important}
.stage .interface-root .rp-page .hf-signin-grid{position:absolute;left:24%;top:29.2%;width:71.5%;height:49.3%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:34.6% 34.6% 24%;gap:3.4% 2.5%;padding:0}
.stage .interface-root .rp-page .hf-sign-day{display:flex;flex-direction:column;justify-content:flex-end;gap:1.1cqw;padding:8cqw 1cqw 2.5cqw;background:none;border:0;box-shadow:none;filter:none;overflow:hidden}
.stage .interface-root .rp-page .hf-day-title,.stage .interface-root .rp-page .hf-seventh-label{display:none}
.stage .interface-root .rp-page .hf-signin-art{height:12cqw;flex:1;max-height:15cqw;width:100%}
.stage .interface-root .rp-page .hf-signin-art>img{width:13cqw;height:13cqw;max-width:100%;max-height:100%;object-fit:contain}
.stage .interface-root .rp-page .hf-signin-values{height:4cqw;font-size:3.8cqw;flex:none;margin:0;padding:0}
.stage .interface-root .rp-page .hf-day-state{width:100%;min-height:4cqw;height:auto;font-size:2.3cqw;padding:.4cqw 0;flex:none;white-space:nowrap}
.stage .interface-root .rp-page .hf-sign-day.is-today{box-shadow:inset 0 0 0 .4cqw #ffe481,0 0 2cqw #ffd44d99;border-radius:3cqw}
.stage .interface-root .rp-page .hf-sign-day.is-seventh{grid-column:1/-1;display:flex;align-items:flex-end;justify-content:center;padding:1cqw 2cqw;background:none;border:0;box-shadow:none}
.stage .interface-root .rp-page .is-seventh>.hf-signin-art{display:none}
.stage .interface-root .rp-page .is-seventh>.hf-signin-values{width:28%;display:flex;flex-direction:column;height:auto;gap:1.5cqw;font-size:3cqw;align-items:center}
.stage .interface-root .rp-page .is-seventh>.hf-day-state{width:29%;font-size:2.1cqw;margin-top:1cqw}
.stage .interface-root .rp-page .hf-signin-footer{position:static;display:contents}
.stage .interface-root .rp-page .hf-signin-footer>p{position:absolute;left:16%;top:95.5%;width:70%;font-size:2.5cqw;white-space:nowrap}
/* Preparation. */
.stage .interface-root .rp-page .pp-page{background:none}
.stage .interface-root .rp-page :is(.pp-logo,.pp-hero,.pp-monster-title,.pp-power-title,.pp-ball-label,.pp-skills-title,.pp-skills-subtitle,.pp-wall>strong,.pp-topbar>img,.pp-wave-dots){display:none}
.stage .interface-root .rp-page .pp-stage-title{left:46%;top:15.3%;width:8%;height:3.7%;font-size:7cqw}.rp-page .pp-stage-title:before,.rp-page .pp-stage-title:after{display:none}
.stage .interface-root .rp-page .pp-topbar{left:16%;top:3%;width:25%;font-size:2.4cqw}
.stage .interface-root .rp-page .pp-coins{left:76%;top:3%;width:10%;font-size:3cqw}.rp-page .pp-coins>img{display:none}
.stage .interface-root .rp-page .pp-monsters{left:10%;top:30%;width:36%;height:21%;}
.stage .interface-root .rp-page .pp-enemy>img{width:9cqw;height:6cqw;max-height:96%}.stage .interface-root .rp-page .pp-enemy>strong{font-size:3cqw}
.stage .interface-root .rp-page .pp-ball-value{left:59%;top:31.7%;width:28%;height:3.5%}
.stage .interface-root .rp-page .pp-wall{left:57%;top:43.6%;width:28%;height:3%}
.stage .interface-root .rp-page .pp-cards{left:15%;top:60.5%;width:70%;height:12.8%}
.stage .interface-root .rp-page .pp-card{flex-basis:28%;}.stage .interface-root .rp-page .pp-card>img{height:70%;width:100%;object-fit:contain!important}.stage .interface-root .rp-page .pp-card>strong{top:78%;font-size:3.5cqw}
.stage .interface-root .rp-page .pp-nav{position:static;display:contents}
.stage .interface-root .rp-page .pp-cost{left:82%;top:80.5%;width:7%;font-size:3.2cqw}.rp-page .pp-cost>img{display:none}.stage .interface-root .rp-page .pp-cost.hf-review-cost{left:77%;width:13%;font-size:2.2cqw;background:#32193c;border-radius:2cqw}
/* Collection: reference owns the display plinth and frame. */
.stage .interface-root .rp-page .cf-balls,.stage .interface-root .rp-page .cf-ball-main{position:absolute;inset:0;display:block;width:100%;height:100%;padding:0;background:none}
.stage .interface-root .rp-page .cf-ball-sidebar{display:contents}.rp-page :is(.cf-sidebar-mascot,.cf-sidebar-banner){display:none}
.stage .interface-root .rp-page .cf-ball-preview{position:absolute;left:25%;top:11.7%;width:70%;height:19.3%;display:block;padding:0;background:none;border:0;box-shadow:none}
.rp-page .cf-ball-preview:before,.rp-page .cf-ball-preview:after{display:none}
.stage .interface-root .rp-page .cf-ball-display{position:absolute;left:0;top:0;width:47%;height:100%;padding:0;background:none}
.rp-page :is(.cf-ball-plinth,.cf-ball-circle,.cf-ball-aura){display:none}
.stage .interface-root .rp-page .cf-hero-ball{position:absolute;left:15%;top:12%;width:70%;height:60%;object-fit:contain}
.stage .interface-root .rp-page .cf-ball-caption{position:absolute;top:76%;left:0;width:100%;text-align:center;font-size:2.9cqw;white-space:nowrap}
.stage .interface-root .rp-page .cf-ball-display>.cf-stars{position:absolute;top:87%;left:10%;width:80%;justify-content:center}
.stage .interface-root .rp-page .cf-ball-details{position:absolute;left:49%;top:0;width:49%;height:100%;display:block;padding:0}
.stage .interface-root .rp-page .cf-ball-title{height:18%;gap:.7cqw}.stage .interface-root .rp-page .cf-ball-title h2{font-size:3.6cqw}.stage .interface-root .rp-page .cf-owned-seal{font-size:2cqw;padding:.2cqw}
.stage .interface-root .rp-page .cf-ball-description{height:25%;margin:0;line-height:1.35;font-size:2.6cqw}
.stage .interface-root .rp-page .cf-ball-stats{height:52%;margin:0;display:flex;flex-direction:column;justify-content:space-around;gap:0}
.stage .interface-root .rp-page .cf-ball-stats>div{padding:0 .8cqw;background:none;border:0;min-height:0;height:24%;font-size:2.25cqw}.stage .interface-root .rp-page .cf-ball-stats dt,.stage .interface-root .rp-page .cf-ball-stats dd{font-size:2.25cqw;white-space:nowrap}.stage .interface-root .rp-page .cf-ball-stats dt>img{width:2.6cqw;height:2.6cqw}
.stage .interface-root .rp-page .cf-ball-actions{position:absolute;left:26%;top:32.5%;width:67%;height:3.4%;display:flex;gap:4%;margin:0;padding:0}
.stage .interface-root .rp-page .cf-ball-actions>.cf-button{flex:1;min-width:0;height:100%;min-height:0;background:none;border:0;box-shadow:none;font-size:3cqw;padding:0;gap:.6cqw}.stage .interface-root .rp-page .cf-ball-actions>.cf-button img{width:3cqw;height:3cqw}.rp-page .cf-button-price{font-size:1.8cqw}
.stage .interface-root .rp-page .cf-ball-library{position:absolute;left:20%;top:37.5%;width:77%;height:47%;display:flex;flex-direction:column;background:none;border:0;border-radius:0;padding:0;overflow:hidden}
.stage .interface-root .rp-page .cf-library-heading{height:7%;min-height:0;margin-bottom:2%;display:flex;justify-content:flex-end;gap:2cqw}.stage .interface-root .rp-page .cf-library-count{font-size:0;margin-left:25%;margin-right:auto}.stage .interface-root .rp-page .cf-library-count>.image-number{font-size:2.8cqw}.rp-page .cf-sort{font-size:2.5cqw}
.stage .interface-root .rp-page .cf-ball-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:24cqw;gap:1.5cqw;padding:1cqw;overflow:auto;flex:1;min-height:0}
.stage .interface-root .rp-page .cf-ball-card{min-height:0;height:24cqw;padding:1cqw;background:linear-gradient(#3d205d,#251431);border:.35cqw solid #ae74bf;border-radius:2cqw;overflow:hidden}.stage .interface-root .rp-page .cf-ball-card.is-selected{border-color:#ffe188;box-shadow:inset 0 0 2cqw #efa34055}
.stage .interface-root .rp-page .cf-card-ball{width:13cqw;height:13cqw;max-height:none;margin:2.5cqw auto 0}.stage .interface-root .rp-page .cf-card-name{font-size:2.8cqw}.stage .interface-root .rp-page .cf-card-state{font-size:2cqw}.stage .interface-root .rp-page .cf-card-level{font-size:2cqw}
/* Talent: actual nodes overlay the three painted branches. */
.stage .interface-root .rp-page .cf-talent,.stage .interface-root .rp-page .cf-talent-upper,.stage .interface-root .rp-page .cf-talent-footer{position:absolute;inset:0;display:block;width:100%;height:100%;padding:0;background:none}
.stage .interface-root .rp-page .cf-talent-tree{position:absolute;left:12%;top:28%;width:55%;height:38%;display:flex;gap:5%;background:none;border:0;padding:0}
.rp-page :is(.cf-tree-crown,.cf-tier-rail,.cf-branch-header,.cf-talent-floor,.cf-talent-rune,.cf-talent-witch,.cf-detail-heading,.cf-detail-top-gem,.cf-detail-bottom-gem){display:none!important}
.stage .interface-root .rp-page .cf-talent-branch{flex:1;width:0;padding:0;background:none;border:0;box-shadow:none;display:block}
.stage .interface-root .rp-page .cf-node-ladder{display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:0;height:100%;padding:0}
.stage .interface-root .rp-page .cf-talent-node{width:11cqw;height:10cqw;flex:none;margin:0;background:none;border:0;padding:0;position:relative}
.stage .interface-root .rp-page .cf-node-icon{width:9cqw;height:9cqw;object-fit:contain}.stage .interface-root .rp-page .cf-node-level{position:absolute;bottom:-.5cqw;left:0;width:100%;font-size:2.1cqw;justify-content:center}.stage .interface-root .rp-page .cf-node-lock{width:2cqw;height:3cqw;right:-1cqw}
.stage .interface-root .rp-page .cf-talent-detail{position:absolute;left:72%;top:24%;width:23%;height:42%;background:none;border:0;box-shadow:none;padding:0;display:flex;flex-direction:column;align-items:center;gap:1.5cqw;overflow:hidden}.rp-page .cf-talent-detail:before,.rp-page .cf-talent-detail:after{display:none}
.stage .interface-root .rp-page .cf-detail-icon{width:16cqw;height:16cqw;object-fit:contain;margin:0}.stage .interface-root .rp-page .cf-detail-name{font-size:3cqw;line-height:1.2;margin:0}.stage .interface-root .rp-page .cf-detail-rank{font-size:3cqw}.stage .interface-root .rp-page .cf-detail-description{font-size:2.6cqw;line-height:1.6;margin:2cqw 0}.stage .interface-root .rp-page .cf-detail-stat{font-size:2.3cqw;width:100%}.stage .interface-root .rp-page .cf-milestone-detail{font-size:2.3cqw;margin-top:4cqw}.rp-page .cf-talent-detail .cf-divider{display:none}
.stage .interface-root .rp-page .cf-talent-footer{pointer-events:none}.stage .interface-root .rp-page .cf-talent-footer button{pointer-events:auto}
.stage .interface-root .rp-page .cf-talent-purse{position:absolute;left:49%;top:78%;width:10%;height:2.7%;background:none;border:0;padding:0;display:flex;justify-content:center;align-items:center;font-size:2.6cqw}.rp-page .cf-talent-purse>small,.rp-page .cf-talent-purse>.cf-level-total,.rp-page .cf-talent-purse img{display:none}
.stage .interface-root .rp-page .cf-talent-upgrade{position:static;display:contents}.stage .interface-root .rp-page .cf-talent-upgrade>p{position:absolute;left:68%;top:82.8%;width:28%;font-size:2.7cqw;text-align:center;margin:0}.stage .interface-root .rp-page .cf-talent-upgrade>small{position:absolute;left:68%;top:85%;width:28%;font-size:2.3cqw;text-align:center}
/* Shop: only real products appear in the live grid. */
.stage .interface-root .rp-page .hf-shop{position:absolute;inset:0;display:block;background:none;padding:0}
.stage .interface-root .rp-page .hf-shop-banner,.stage .interface-root .rp-page .hf-shop-main,.stage .interface-root .rp-page .hf-shop-side{position:static;display:contents}
.rp-page :is(.hf-shop-witch,.hf-shop-banner-chest,.hf-shop-title,.hf-shop-footer){display:none!important}
.stage .interface-root .rp-page .hf-shop-promo{position:absolute;left:37%;top:26%;width:30%;height:2%;padding:0}.rp-page .hf-shop-promo>h2,.rp-page .hf-shop-promo>p{display:none}.stage .interface-root .rp-page .hf-shop-promo .if-reward-line{font-size:2.7cqw;gap:2cqw}
.stage .interface-root .rp-page .hf-shop-items{position:absolute;left:22%;top:34%;width:74%;height:46%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:30cqw;gap:2cqw;padding:1cqw;overflow:auto;align-content:start}
.stage .interface-root .rp-page .hf-shop-item{position:relative;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:2cqw 1.5cqw;background:linear-gradient(#633476,#28143d);border:.35cqw solid #e2af5e;border-radius:2.5cqw;box-shadow:inset 0 0 0 .4cqw #3b2447;overflow:hidden;color:#fff0c9}
.stage .interface-root .rp-page .hf-shop-item>img{position:static;width:10cqw;height:10cqw;object-fit:contain}.stage .interface-root .rp-page .hf-shop-item>h3{position:static;font-size:3cqw;margin:0;line-height:1.3}.stage .interface-root .rp-page .hf-shop-item>p{position:static;font-size:2.5cqw;margin:.6cqw 0;line-height:1.4;text-align:center;flex:1}.stage .interface-root .rp-page .hf-shop-item>.hf-action{position:static;width:95%;height:5cqw;min-height:0;flex:none;font-size:2.8cqw;padding:0;}.stage .interface-root .rp-page .hf-shop-item.is-wide{grid-column:1/-1;height:100%;padding-left:26cqw;justify-content:center}.stage .interface-root .rp-page .hf-shop-item.is-wide>img{position:absolute;left:3cqw;top:4cqw;width:21cqw;height:21cqw}.stage .interface-root .rp-page .hf-shop-item.is-wide>p{flex:none;margin:2cqw 0}.stage .interface-root .rp-page .hf-shop-quick{grid-column:1/-1;display:flex;gap:2cqw;height:14cqw}.stage .interface-root .rp-page .hf-shop-mini{flex:1;font-size:2.3cqw}.stage .interface-root .rp-page .hf-shop-mini>img{width:8cqw;height:8cqw}
/* Remove legacy minimum sizes/transforms before applying the reference coordinates. */
.stage .interface-root .rp-page :is(.cf-ball-preview,.cf-ball-actions,.cf-ball-library,.cf-library-heading,.cf-ball-display,.cf-ball-details,.cf-ball-title,.cf-ball-stats,.cf-ball-stats>div,.cf-talent-upper,.cf-talent-detail,.cf-talent-tree,.cf-talent-branch,.cf-node-ladder){min-height:0;min-width:0;max-height:none;max-width:none}
.stage .interface-root .rp-page .cf-hero-ball{transform:none;animation:none;bottom:auto;right:auto}
.stage .interface-root .rp-page .cf-ball-caption{background:none;padding:0;border:0;box-shadow:none;min-height:0;height:auto;bottom:auto;transform:none}
.stage .interface-root .rp-page .cf-ball-display>.cf-stars{height:2.6cqw;margin:0;transform:none;bottom:auto}
.stage .interface-root .rp-page .cf-ball-title{padding:0;margin:0}
.stage .interface-root .rp-page .cf-ball-stats{position:absolute;left:0;top:44%;width:100%;height:52%;padding:0}
.stage .interface-root .rp-page .cf-ball-actions .cf-upgrade-caption{font-size:2.6cqw}
.stage .interface-root .rp-page .cf-ball-actions .cf-button-price{position:absolute;top:100%;left:15%;width:70%;font-size:1.8cqw}
.stage .interface-root .rp-page .is-seventh>.hf-day-state{align-self:flex-end}
.stage .interface-root .rp-page .cf-talent-purse{min-height:0;height:2.7%;top:78%;left:48%;width:11%}
.stage .interface-root .rp-page .cf-talent-purse .image-number img{display:block}
.stage .interface-root .rp-page .cf-talent-purse>.cf-cost{font-size:2.4cqw;gap:0}
.stage .interface-root .rp-page .hf-shop-side:after,.stage .interface-root .rp-page .hf-shop-banner:before{display:none}
.stage .interface-root .rp-page .hf-shop-promo>.hf-rewards{position:static;display:flex;flex-wrap:nowrap;gap:2cqw;font-size:2.7cqw;height:100%;white-space:nowrap}
.stage .interface-root .rp-page .hf-shop-promo .hf-rewards>span>img{width:3.5cqw;height:3.5cqw}
.stage .interface-root .rp-page .hf-shop-items{grid-template-rows:none}
.stage .interface-root .rp-page .pp-card>img{height:100%;width:100%;object-fit:fill!important}
.stage .interface-root .rp-page .cf-talent-tree:before,.stage .interface-root .rp-page .cf-talent-tree:after{display:none}
.stage .interface-root .rp-page .rp-letter{display:inline-block;height:1.2em;flex:none;vertical-align:middle;background:url('./assets/reference-pages/labels.png') no-repeat;pointer-events:none}
.stage .interface-root .rp-page .pp-card>strong{display:flex;justify-content:center;align-items:center;height:17%;top:81%}
/* One upright ivory atlas for all sign-in quantities and status labels. */
.stage .interface-root .rp-page .signin-letter{display:inline-block;flex:none;height:1em;background-image:url('./assets/reference-pages/signin-lettering.png');background-repeat:no-repeat;vertical-align:middle;pointer-events:none}
.stage .interface-root .rp-page .hf-signin-values{font-size:4.3cqw;line-height:1;height:4.8cqw}
.stage .interface-root .rp-page .hf-day-state{height:5.5cqw;min-height:5.5cqw;padding:.65cqw .5cqw;display:flex;align-items:center;justify-content:center;border-radius:2.2cqw;font-size:3cqw;background:#291137d9;border:.25cqw solid #b27bc1;box-shadow:inset 0 .3cqw .5cqw #160a29}
.stage .interface-root .rp-page .hf-day-state .signin-letter{max-width:100%;height:1em}
.stage .interface-root .rp-page .hf-sign-day{gap:1.5cqw;padding-bottom:2cqw}
.stage .interface-root .rp-page .is-seventh>.hf-signin-values{width:34%;font-size:3.8cqw;gap:1.7cqw}
.stage .interface-root .rp-page .is-seventh>.hf-day-state{width:35%;font-size:2.8cqw;height:5.5cqw;margin-top:1.5cqw;flex:none}
.stage .interface-root .rp-page .hf-signin-footer>.rp-claimed:after{content:none}
.stage .interface-root .rp-page .hf-signin-footer>.rp-claimed>.signin-letter{visibility:visible;position:absolute;left:21%;top:35%;height:3.8cqw;font-size:3.8cqw;max-width:58%}
.stage .interface-root .rp-page .hf-signin-footer>.rp-claimed:before{content:'';position:absolute;inset:20% 14%;border-radius:3cqw;background:linear-gradient(#713c96,#39174f);border:.3cqw solid #d9b879}
.stage .interface-root .rp-page .hf-sign-day{padding-top:6cqw;gap:.8cqw}
.stage .interface-root .rp-page .hf-day-state{font-size:4.4cqw;height:6cqw;min-height:6cqw;padding:.45cqw .5cqw}
.stage .interface-root .rp-page .is-seventh>.hf-day-state{font-size:4cqw;height:6cqw;min-height:6cqw}
.stage .interface-root .rp-page .hf-sign-day.is-seventh{padding-top:1cqw}
.stage .interface-root .rp-page .hf-signin-footer>.rp-claimed>.signin-letter{left:50%;top:50%;transform:translate(-50%,-50%);height:4.5cqw;font-size:4.5cqw}
