/* page */
:root{color-scheme:dark;--ink:#f8eddb;--muted:#b5a8c3;--gold:#f1c986;--edge:#9e7950;--sheet:url('./assets/37905a10e6765c324506.webp');--actors:url('./assets/a934ef53a994ccd17a83.webp');--forest:url('./assets/e3688398c39d4ddbf874.webp');font-family:Arial,'Malgun Gothic',system-ui,sans-serif}*{box-sizing:border-box}html,body{margin:0;height:100%;background:#0b0b15;color:var(--ink)}body{display:flex;justify-content:center;background:radial-gradient(ellipse at 50% 20%,#2d2748,#0c0b16 70%)}button,input,select{font:inherit}button{color:inherit;background:none;border:0;cursor:pointer;padding:0;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default;opacity:.45}button:focus-visible{outline:2px solid #b9eaff;outline-offset:3px}button:not(:disabled):active{filter:brightness(1.2);translate:0 1px}button:focus{scroll-margin:80px}button,select,input{min-height:24px}[hidden]{display:none!important}.game{position:relative;width:100%;max-width:540px;height:100dvh;max-height:1120px;min-height:620px;display:flex;flex-direction:column;isolation:isolate;overflow:hidden;background:#151325;box-shadow:0 0 0 1px #87704c66,0 0 70px #0008;container-type:inline-size;font-size:14px}.top{height:95px;flex-shrink:0;display:grid;grid-template-columns:1fr auto 34px 32px;grid-template-rows:49px 31px;gap:4px 9px;padding:7px 12px 4px;background:linear-gradient(120deg,#181629f2,#20192ef0);z-index:22;border-bottom:1px solid #9e7b5177;box-shadow:0 5px 20px #06061166}.profile{display:flex;align-items:center;gap:8px;min-width:0;text-align:left}.portrait{width:45px;height:45px;border-radius:50%;flex-shrink:0}.profile-copy{display:flex;flex-direction:column;gap:4px;max-width:225px;min-width:0;flex:1}.profile-copy strong{font-size:14px;white-space:nowrap;color:#f4f0ff}.profile-copy b{color:#f8d57f;font-size:var(--menu-label-size,12px)}.xp-track{height:5px;border-radius:5px;background:#090a14;border:1px solid #544350;overflow:hidden}.xp-track i{display:block;height:100%;background:linear-gradient(90deg,#bc7625,#ffe6a5)}.vip{height:27px;align-self:center;min-width:48px;border:1px solid #d8b26b;border-radius:18px;background:linear-gradient(#efd394,#bd8537);color:#382524;font-size:var(--menu-label-size,12px);font-weight:bold;box-shadow:inset 0 1px #fff0c3;white-space:nowrap}.header-button{height:33px;align-self:center;position:relative}.header-button .art{width:30px;height:28px}.menu-lines{font-size:27px;color:#d3c2ad;line-height:1}.wallet{grid-column:1/-1;display:flex;gap:7px}.wallet button{flex:1;display:flex;align-items:center;gap:7px;min-width:0;border:1px solid #6c5060;border-radius:20px;background:#0e0e1cda;padding:0 7px 0 3px;box-shadow:inset 0 2px 4px #0007}.wallet .art{width:25px;height:25px;flex-shrink:0}.wallet b{font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}.wallet small{color:#e6c991;margin-left:auto;font-size:17px}.art{display:inline-block;background-image:var(--sheet);background-repeat:no-repeat;flex-shrink:0;vertical-align:middle;pointer-events:none}.dot{position:absolute;right:1px;top:1px;width:10px;height:10px;background:#ec5e6f;border:1px solid #ffe1b4;border-radius:50%;box-shadow:0 0 6px #ed547a66;pointer-events:none}.home{display:flex;flex-direction:column;flex:1;min-height:0}.battle{position:relative;flex:1;min-height:265px;overflow:hidden;isolation:isolate}.landscape{position:absolute;inset:0;background-image:var(--forest);background-size:auto 100%;background-position:center;transition:filter .5s}.battle-vignette{position:absolute;inset:0;background:linear-gradient(#10132b3b,transparent 24%,transparent 65%,#161123f2);pointer-events:none}.stage{position:absolute;top:12px;left:50%;transform:translateX(-50%);width:57%;max-width:292px;min-width:210px;height:51px;display:flex;align-items:center;justify-content:space-around;border:1px solid #d0ad6c;background:linear-gradient(120deg,#2c243eee,#161726e8);clip-path:polygon(8% 0,92% 0,100% 50%,92% 100%,8% 100%,0 50%);text-align:center;z-index:4}.stage strong{font-size:20px;letter-spacing:.7px;color:#ffedbd;text-shadow:0 2px #000}.stage span{display:block;font-size:11px;margin-top:3px;color:#d6c6dd}.stage button{font-size:32px;line-height:1;color:#e9c07b;width:30px;height:35px}.stage-route{position:absolute;top:72px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;width:154px;z-index:3}.stage-route:before{content:'';position:absolute;left:4px;right:4px;top:6px;height:3px;background:#b48a43}.stage-route span{width:13px;height:13px;position:relative;border-radius:50%;border:1px solid #cba04b;background:#191525}.stage-route span.filled{background:radial-gradient(circle at 30% 30%,#fff5c4,#e6ac34)}.stage-route b{font-size:16px;position:relative;color:#ff9b83;text-shadow:0 1px #201125}.side-nav,.right-nav{position:absolute;top:14px;display:flex;flex-direction:column;gap:9px;z-index:6}.side-nav{left:11px}.right-nav{right:11px}.side-nav button,.right-nav button{width:48px;position:relative;display:flex;align-items:center;flex-direction:column;gap:2px}.side-nav .art,.right-nav .art{width:37px;height:34px;border-radius:9px;filter:drop-shadow(0 2px 4px #000a)}.side-nav small,.right-nav small{font-size:10px;font-weight:bold;text-shadow:0 1px 3px #000,0 1px #000;background:#131324aa;padding:1px 4px;border-radius:5px;white-space:nowrap}.enemy-status{position:absolute;top:28%;left:50%;width:34%;z-index:4;text-align:center;text-shadow:0 2px 3px #000}.enemy-status>b{font-size:10px;color:#eee1d4}.enemy-track{height:5px;background:#211526;border:1px solid #67464d;border-radius:6px;margin:4px 0 2px;overflow:hidden}.enemy-track i{display:block;height:100%;background:linear-gradient(90deg,#cf4b5d,#ffbd8d);transition:width .18s}.enemy-status>small{font-size:9px;color:#d5bfd4}.actor{position:absolute;background-image:var(--actors);background-repeat:no-repeat;background-size:400% 300%;will-change:transform,background-position;pointer-events:none;z-index:2;filter:drop-shadow(0 8px 4px #0a0a2280)}.hero{width:63%;height:64%;max-height:350px;left:1%;bottom:16%;background-position:0 0;animation:breathe 2.2s ease-in-out infinite}.mob{width:29%;height:38%;max-height:205px;right:19%;bottom:19%;background-position:0 50%;animation:beast 2s ease-in-out infinite}.mob.second{right:2%;bottom:16%;width:27%;height:36%;animation-delay:-.7s;z-index:3}.mob.mushroom{right:-2%;bottom:34%;width:25%;height:33%;background-position:0 100%;animation-delay:-1.3s}.hero.attacking{animation:lunge .5s ease-out}.mob.damaged{animation:recoil .4s ease-out}.mob.boss-form{scale:1.2;filter:drop-shadow(0 0 8px #e94c7d)}@keyframes breathe{50%{transform:translateY(-3px) rotate(.2deg)}}@keyframes beast{50%{transform:translateY(-3px) scaleY(1.025)}}@keyframes lunge{30%{transform:translateX(10%)}70%{transform:translateX(5%)}100%{transform:translateX(0)}}@keyframes recoil{30%{transform:translateX(6%) rotate(6deg);filter:brightness(1.6)}100%{transform:translateX(0)}}#effects,#fx{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:5}#fx .hit{position:absolute;color:#ffbb79;font-size:29px;font-style:italic;font-weight:900;-webkit-text-stroke:1.3px #201122;paint-order:stroke fill;text-shadow:2px 3px #171021;white-space:nowrap;animation:damage .9s ease-out forwards}#fx .hit.critical{color:#ffe9a6;font-size:33px}@keyframes damage{0%{transform:translateY(6px) scale(.75);opacity:0}20%{transform:translateY(-8px) scale(1.1);opacity:1}70%{opacity:1}100%{transform:translateY(-45px) scale(.95);opacity:0}}.battle-controls{position:absolute;bottom:70px;left:14px;right:14px;display:flex;align-items:center;gap:8px;z-index:7}.check-control{display:flex;align-items:center;gap:4px;background:#171326aa;border:1px solid #5b476a;padding:4px 7px;border-radius:20px;font-size:var(--menu-label-size,10px);white-space:nowrap}.check-control i{display:grid;place-items:center;width:15px;height:15px;background:#814da2;border:1px solid #bf8edc;border-radius:50%;font-size:var(--menu-label-size,12px);font-style:normal}.check-control.off i{background:#272130;color:#83728d}.battle-speed{margin-left:auto;border:1px solid #927756;border-radius:14px;background:#20172dbb;padding:3px 10px;font-size:11px}.skillbuttons{position:absolute;bottom:9px;left:50%;transform:translateX(-50%);display:flex;gap:12px;z-index:7}.skillbuttons button{position:relative;width:49px;height:49px;border:2px solid #e6ba77;box-shadow:0 3px 8px #0008,0 0 8px #d7a74633;border-radius:50%;overflow:hidden;background:#1a1028}.skillbuttons .art{width:100%;height:100%;border-radius:50%}.skillbuttons small{position:absolute;inset:0;display:grid;place-items:center;background:#130c2588;color:white;font-size:18px;font-weight:bold;text-shadow:0 2px #000}.skillbuttons em{display:none}.skillbuttons .locked{filter:saturate(.2);opacity:.6}.manual-hit{display:none}.battle.off .manual-hit{display:block;position:absolute;left:26%;top:57%;z-index:7;padding:5px 17px;border:1px solid #d9ad66;border-radius:20px;font-size:12px;background:#251c36d9}.combat-banner{position:absolute;top:39%;left:10%;right:10%;text-align:center;font-size:23px;font-weight:bold;color:#ffde95;text-shadow:0 3px #352038,0 0 12px #82573d;z-index:8;pointer-events:none}.home-bottom{position:relative;flex-shrink:0;background:linear-gradient(#1a1526,#141321);border-top:1px solid #6a4d59}.home-quest{margin:7px 10px 0;display:flex;gap:8px;align-items:center;padding:8px 10px;border:1px solid #725067;border-radius:9px;background:linear-gradient(90deg,#312238,#201b2d);min-height:45px}.quest-medal{width:25px;height:27px}.home-quest .quest-label{flex:1;min-width:0}.quest-label span{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quest-label .quest-line{height:3px;margin-top:6px;background:#120e1c;border-radius:4px;overflow:hidden}.quest-line i{height:100%;display:block;background:#d2b06f}.home-quest .gold-button{padding:5px 10px;font-size:11px;flex-shrink:0}.forge-dock{display:flex;align-items:center;padding:7px 15px 3px;height:86px;gap:9px}.forge-mini-art{width:96px;height:67px;position:relative;flex-shrink:0}.forge-mini-art .art{width:100%;height:100%;border-radius:12px;mask-image:radial-gradient(ellipse,#000 55%,transparent 75%)}.forge-dock>div{display:flex;flex-direction:column;gap:4px;flex:1}.forge-dock>div small{color:#b5a3bf;font-size:10px}.forge-dock>div strong{font-size:14px;color:#f4d6a0}.mini-meter{height:5px;border-radius:5px;background:#0c0c18;overflow:hidden;max-width:150px;border:1px solid #5b4054}.mini-meter i{height:100%;display:block;background:linear-gradient(90deg,#d49c47,#ffe1a2)}.forge-dock>.gold-button{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:91px;padding:7px 12px}.forge-dock>.gold-button strong{font-size:13px}.forge-dock>.gold-button span{display:flex;align-items:center;gap:5px;font-size:12px}.forge-dock .gold-button .art{width:16px;height:17px;border-radius:50%}.bottom-nav{height:72px;flex-shrink:0;padding:4px 5px max(5px,env(safe-area-inset-bottom));z-index:35;background:linear-gradient(#2c2035,#171320);border-top:2px solid #a88150;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;box-shadow:0 -3px 15px #0007}.bottom-nav button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:7px;border:1px solid transparent;padding:3px 0}.bottom-nav button .art{width:31px;height:29px;filter:drop-shadow(0 2px 2px #08050d)}.bottom-nav button>strong{font-size:var(--menu-label-size,11px);font-weight:600;color:#cabbc7}.bottom-nav button.active{background:radial-gradient(ellipse at 50% 40%,#74504b70,#2d22383a);border-color:#bd945055}.bottom-nav button.active:before{content:'';position:absolute;left:20%;right:20%;top:-6px;height:3px;background:#f0d598;box-shadow:0 0 10px #e8bc64}.bottom-nav button.active>strong{color:#ffe2a6}.screen-backdrop{position:absolute;inset:95px 0 72px;background:#07081491;backdrop-filter:blur(3px);z-index:19}.feature-screen{position:absolute;z-index:25;left:9px;right:9px;top:112px;bottom:81px;border:1px solid #c2a16a;border-radius:17px 17px 12px 12px;background:linear-gradient(145deg,#2d2239,#191625 60%);box-shadow:0 0 0 3px #120f1b,0 12px 35px #000b;display:flex;flex-direction:column;overflow:hidden;animation:screenIn .2s ease-out}.screen-head{height:68px;flex-shrink:0;display:flex;align-items:center;gap:10px;padding:9px 12px;background:radial-gradient(ellipse at 50% -70%,#815365,#38263c 60%,#211b2e);border-bottom:1px solid #a37c58;position:relative}.screen-head:after{content:'';position:absolute;bottom:-9px;left:calc(50% - 8px);font-size:16px;color:#dfbf83;background:#39273d;line-height:17px;width:16px;text-align:center;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dfbf83' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2c.9 6.2 3.8 9.1 10 10-6.2.9-9.1 3.8-10 10-.9-6.2-3.8-9.1-10-10 6.2-.9 9.1-3.8 10-10Z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center;background-size:85% 85%;height:17px}.screen-head>button:first-child{width:29px;height:34px;font-size:35px;color:#d8b67c;line-height:.7}.screen-head>div{flex:1;text-align:center;margin-left:-7px}.screen-head small{display:block;font-size:var(--min-label,13px);color:#b29caf;letter-spacing:2px;margin-bottom:3px}.screen-head h1{margin:0;font-size:24px;font-weight:800;color:#ffe1ab;letter-spacing:1px;text-shadow:0 2px 2px #1c0f25}.screen-help{width:23px;height:23px;min-height:23px;border-radius:50%;border:1px solid #b29975;color:#d8bc90;font-size:14px;font-family:Georgia;background:#231b2c}.screen-content{flex:1;min-height:0;overflow-y:auto;padding:14px 12px 16px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#85637e #211827}.screen-tabs{display:flex;flex-shrink:0;padding:5px 6px 0;gap:4px;border-top:1px solid #785a67;background:#181321;height:46px}.screen-tabs button{flex:1;min-width:0;font-size:var(--min-label,13px);font-weight:bold;border:1px solid #62506e;border-radius:8px 8px 0 0;background:linear-gradient(#3b2e49,#241d30);color:#bcaec7;white-space:nowrap}.screen-tabs button.active{color:#ffe4b8;border-color:#b48755;background:linear-gradient(#81503b,#422b32);box-shadow:inset 0 2px #d5a767}.screen-tabs:empty{display:none}.gold-button,.action{display:inline-flex;justify-content:center;align-items:center;gap:5px;border:1px solid #f5d5a1;border-radius:9px;padding:9px 15px;font-size:13px;font-weight:bold;color:#392722;background:linear-gradient(#ffe6b0,#efbb62 55%,#ce9239);box-shadow:inset 0 1px #fff4d1,inset 0 -2px #aa743a66,0 2px 3px #0006;text-shadow:0 1px #ffe3b466}.gold-button.purple,.action.alt{color:#faf1ff;background:linear-gradient(#9b6dba,#6a478e 55%,#503466);border-color:#ba97ce;text-shadow:0 1px #30223a;box-shadow:inset 0 1px #ceaddd66,0 2px 3px #0006}.action.red{background:linear-gradient(#b76272,#773e58);border-color:#cc8b9d;color:#ffebee}.action{margin:3px;font-size:var(--min-label,13px);padding:8px 11px}.muted-button{background:#2c2239;border:1px solid #796282;color:#d9cbdc;padding:7px 13px;border-radius:7px;font-size:var(--min-label,13px)}.card{padding:14px;border:1px solid #785c76;border-radius:11px;background:linear-gradient(135deg,#39283e99,#20192c88);margin-bottom:12px;line-height:1.55}.card h3{font-size:16px;color:#efd3a0;margin:0 0 10px}.card p{margin:8px 0;font-size:var(--min-label,13px)}.muted,.small{font-size:var(--min-label,13px);line-height:1.5;color:#b2a2be}.between{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:7px 0}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tile{padding:11px 8px;border:1px solid #755878;background:linear-gradient(135deg,#39283f,#211a2d);border-radius:10px;text-align:center;min-width:0;font-size:var(--min-label,13px)}.tile strong{display:block;color:#f5dfb8;font-size:var(--min-label,13px)}.tile .ico{display:block;width:54px;height:54px;margin:4px auto 8px}.ico .art{width:100%;height:100%;border-radius:8px}.bar{height:8px;border:1px solid #795c68;background:#100d1c;border-radius:8px;overflow:hidden;margin:8px 0}.bar i{height:100%;display:block;background:linear-gradient(90deg,#d89539,#f3d88f)}.section-label{display:flex;justify-content:space-between;align-items:center;margin:17px 1px 9px;font-size:var(--min-label,13px);color:#e0c49b}.section-label small{color:#a893b4;font-size:var(--min-label,13px)}.summary-strip{display:flex;gap:8px;align-items:center;justify-content:center;padding:10px;background:#120f1e88;border-block:1px solid #73576a66;color:#dfc7a7;font-size:var(--min-label,13px);margin:9px -12px}.summary-strip b{color:#a7dfcb}.resource-note{display:flex;align-items:center;justify-content:center;gap:6px;font-size:var(--min-label,13px);color:#ccb8d2;margin:9px 0}.resource-note .art{width:21px;height:21px;border-radius:50%}.action-row{display:flex;gap:7px;margin-top:10px}.action-row>*{flex:1;margin:0;min-width:0}.action-row .gold-button{padding-inline:6px;font-size:var(--min-label,13px)}.sticky-actions{position:sticky;bottom:-16px;background:linear-gradient(transparent,#1c1729 20%);padding:16px 0 3px;z-index:8}.hero-showcase{position:relative;height:235px;margin:-3px -5px 5px;background:radial-gradient(ellipse at 50% 80%,#b2756933,transparent 60%)}.hero-showcase:before{content:'';position:absolute;bottom:27px;left:20%;right:20%;height:34px;transform:perspective(140px) rotateX(55deg);border:1px solid #c69a6577;border-radius:50%;box-shadow:0 0 0 8px #a0724c11,0 0 25px #c69a6533}.paperdoll,.item-hero{background-image:var(--actors);background-size:400% 300%;background-position:0 0;background-repeat:no-repeat;pointer-events:none}.hero-showcase>.paperdoll{position:absolute;left:15%;right:11%;top:3px;height:204px}.hero-showcase>strong{position:absolute;bottom:2px;left:0;right:0;text-align:center;font-size:16px;color:#e9ca8d}.equipment-slot{position:absolute;width:49px;height:51px;border:1px solid #b89053;border-radius:9px;background:radial-gradient(#47303a,#181122);box-shadow:inset 0 0 0 2px #21182d,0 2px 5px #0007;overflow:hidden;z-index:3}.equipment-slot .art{width:100%;height:100%;border-radius:7px}.equipment-slot>b{position:absolute;left:0;top:0;font-size:var(--min-label,13px);background:#1b1422;padding:1px 3px;min-width:20px;border-radius:0 0 4px 0}.equipment-slot>small{position:absolute;left:0;right:0;bottom:0;font-size:var(--min-label,13px);background:#170f20bb;text-shadow:0 1px #000}.equipment-slot[data-pos="0"]{left:13px;top:5px}.equipment-slot[data-pos="1"]{right:13px;top:5px}.equipment-slot[data-pos="2"]{left:13px;top:67px}.equipment-slot[data-pos="3"]{right:13px;top:67px}.equipment-slot[data-pos="4"]{left:13px;top:129px}.equipment-slot[data-pos="5"]{right:13px;top:129px}.equipment-slot[data-pos="6"]{left:calc(50% - 24px);top:163px}.stat-chips{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.stat-chips>div{border:1px solid #68506d;background:#261d33;border-radius:8px;text-align:center;padding:8px 4px}.stat-chips small{display:block;color:#bda8c2;font-size:var(--min-label,13px);margin-bottom:3px}.stat-chips b{color:#f4ddae;font-size:14px}.filter-chips{display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;padding-bottom:5px;margin-bottom:9px}.filter-chips button{flex:1;min-width:47px;white-space:nowrap;border:1px solid #6f517e;border-radius:14px;padding:5px 8px;font-size:var(--min-label,13px);color:#baacca;background:#231a31}.filter-chips button.active{background:linear-gradient(#8e61ad,#51366e);color:#fff2df;border-color:#bd91ce}.item-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.item-card{min-width:0;padding:5px 3px;position:relative;text-align:center;border:1px solid #745986;background:radial-gradient(ellipse at 50% 30%,#4f365d,#21162c);border-radius:10px;overflow:hidden;box-shadow:inset 0 0 0 2px #16112377}.item-card .art{width:100%;max-width:66px;aspect-ratio:1;height:auto;border-radius:7px}.item-card b{display:block;font-size:var(--min-label,13px);color:#eee0ef;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.item-card small{display:block;font-size:var(--min-label,13px);color:#f4d694}.item-card.locked{opacity:.5}.item-card.equipped{border-color:#dfb369;box-shadow:0 0 9px #e3ad4622}.item-card .item-tag{position:absolute;top:1px;right:1px;background:#4b785d;color:#e0ffcb;border-radius:0 8px 0 6px;padding:1px 4px;font-size:var(--min-label,13px);z-index:2}.skill-equipped{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;padding:12px 9px;background:linear-gradient(#423149,#2b213b);border:1px solid #967294;border-radius:10px}.skill-equipped button{position:relative;text-align:center}.skill-equipped .art{width:58px;height:58px;border:1px solid #cba562;border-radius:11px;max-width:100%}.skill-equipped small{position:absolute;bottom:2px;left:0;right:0;font-size:var(--min-label,13px);color:#ffedb6;text-shadow:0 1px 2px #000;background:#1a112488;border-radius:4px}.skill-equipped .slot-number{position:absolute;top:0;left:0;font-size:var(--min-label,13px);background:#49395b;padding:1px 4px;border-radius:4px;color:#e1c5e9}.growth-row{display:flex;gap:11px;align-items:center;padding:13px 10px;background:linear-gradient(110deg,#30243e,#211a2f);border:1px solid #735575;border-radius:10px;margin-bottom:9px}.growth-row>.art{width:44px;height:45px;border-radius:8px}.growth-row>div{flex:1;min-width:0}.growth-row b{display:block;font-size:13px;color:#efd8b5}.growth-row small{display:block;font-size:var(--min-label,13px);color:#b6a1c0;margin-top:4px}.growth-row .gold-button{font-size:var(--min-label,13px);padding:8px 10px;flex-direction:column;gap:3px;min-width:78px}.growth-row .gold-button small{font-size:var(--min-label,13px);color:#563b2b}.relic-scene{position:relative;height:270px;max-width:370px;margin:0 auto;background:radial-gradient(ellipse,#a94fe422,transparent 66%)}.relic-scene:before{content:'';position:absolute;inset:25px 48px;border:1px solid #9d729e77;border-radius:50%;box-shadow:0 0 0 12px #b07bc80d,inset 0 0 30px #e491ff15}.relic-center{position:absolute;left:50%;top:44px;transform:translateX(-50%);width:135px;height:177px;border-radius:50%;mask-image:radial-gradient(ellipse,#000 50%,transparent 76%);filter:drop-shadow(0 0 9px #d883ed55)}.relic-node{position:absolute;width:67px;height:76px;background:linear-gradient(#473046,#21182d);border:2px solid #c39a5b;border-radius:15px;overflow:hidden}.relic-node .art{width:100%;height:100%;border-radius:12px}.relic-node small{position:absolute;bottom:0;left:0;right:0;background:#120c1fde;color:#ffe2a9;text-shadow:0 2px #000;font-size:var(--min-label,13px)}.relic-node.n0{left:18px;top:35px}.relic-node.n1{right:18px;top:35px}.relic-node.n2{left:18px;bottom:35px}.relic-node.n3{right:18px;bottom:35px}.effect-table{border:1px solid #735576;background:#231a31;border-radius:10px;padding:9px 13px}.effect-table>div{display:flex;align-items:center;justify-content:space-between;font-size:var(--min-label,13px);padding:7px 0;border-bottom:1px solid #5e496755}.effect-table>div:last-child{border:0}.effect-table b{color:#9edab8}.forge-showcase{position:relative;border:1px solid #856243;border-radius:13px;background:radial-gradient(ellipse at 50% 70%,#763b2588,#221729 75%);padding:16px 10px 12px;text-align:center;overflow:hidden}.forge-showcase>.art{height:165px;width:100%;max-width:330px;border-radius:15px;mask-image:radial-gradient(ellipse,#000 50%,transparent 73%)}.forge-showcase>strong{display:block;color:#ffd597;font-size:19px;margin:4px 0 3px}.forge-showcase>small{font-size:var(--min-label,13px);color:#c5a7b1}.forge-showcase>.muted-button{position:absolute;right:9px;top:9px;background:#211928c9;padding:5px 8px;font-size:var(--min-label,13px)}.forge-experience{margin:14px 3px}.forge-experience .between{font-size:var(--min-label,13px);color:#bfa8c5}.forge-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.forge-actions button{flex-direction:column;gap:5px;padding:10px 2px;font-size:var(--min-label,13px)}.forge-actions span{display:flex;align-items:center;gap:4px;font-size:var(--min-label,13px)}.forge-actions .art{width:19px;height:19px;border-radius:50%}.toggle-list{padding:10px 12px;border:1px solid #725375;border-radius:10px;background:#251c31;margin-top:12px}.toggle-list label{display:flex;align-items:center;justify-content:space-between;font-size:var(--min-label,13px);padding:7px 0}.toggle-list input{width:17px;height:17px;accent-color:#ae7dd0}.recent-loot{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.recent-loot .item-card{padding:3px}.recent-loot .item-card small{font-size:var(--min-label,13px)}.prob-head{display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;text-align:center;font-size:var(--min-label,13px);color:#e6d2bc;padding:9px 0;border-bottom:1px solid #a98463;margin-bottom:5px}.prob-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;align-items:center;text-align:center;border-radius:8px;background:#302337;margin:5px 0;padding:7px 4px;font-size:var(--min-label,13px)}.prob-row>span:first-child{font-weight:bold}.prob-row>strong{color:#c5e4b1}.dungeon-banner{position:relative;height:150px;border:1px solid #987594;border-radius:12px;margin-bottom:12px;display:flex;overflow:hidden;background:radial-gradient(ellipse at 100% 60%,#503d5977,#201729)}.dungeon-banner>.art{width:40%;height:100%;mask-image:linear-gradient(90deg,#000 75%,transparent);opacity:.95}.dungeon-banner>div{padding:16px 10px 12px 2px;flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}.dungeon-banner h3{font-size:17px;margin:0;color:#edd7b2}.dungeon-banner p{margin:0;font-size:var(--min-label,13px);color:#c5b1cd}.dungeon-banner small{font-size:var(--min-label,13px);color:#a88eb4}.dungeon-banner .gold-button{margin-top:auto;align-self:flex-end;padding:7px 17px;font-size:var(--min-label,13px)}.shop-banner{display:flex;align-items:center;gap:14px;border:1px solid #a47d59;background:radial-gradient(ellipse at 20% 30%,#674337,#282033 70%);border-radius:12px;padding:15px;margin-bottom:14px}.shop-banner>.art{width:65px;height:63px;border-radius:12px}.shop-banner h3{margin:0 0 5px;font-size:18px;color:#ffe0a4}.shop-banner p{font-size:var(--min-label,13px);color:#c8b3c9;margin:0}.offer-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.offer-card{display:flex;flex-direction:column;align-items:center;min-width:0;text-align:center;padding:13px 8px;border:1px solid #9a765e;border-radius:11px;background:linear-gradient(#453147,#251e31);box-shadow:inset 0 0 0 3px #1a142277}.offer-card>small{font-size:var(--min-label,13px);color:#bea8c9}.offer-card>strong{font-size:13px;color:#ffdeaf;display:block;margin:5px 0 8px}.offer-card>.art{height:60px;width:60px;border-radius:12px;margin:3px 0 9px}.offer-card>.gold-button{width:100%;font-size:var(--min-label,13px);padding:7px 3px}.costume-stage{height:260px;position:relative;background:radial-gradient(ellipse at 50% 70%,#8253b333,transparent 65%)}.costume-stage>.paperdoll{position:absolute;left:7%;right:7%;top:0;height:224px}.costume-stage>.costume-name{position:absolute;left:0;right:0;bottom:3px;text-align:center}.costume-name strong{font-size:19px;color:#f1d4a6;display:block}.costume-name small{font-size:var(--min-label,13px);color:#b7a1c5}.costume-stage>button{position:absolute;top:42%;font-size:37px;color:#d5ad74;z-index:3;width:35px;height:45px}.costume-stage>button:first-of-type{left:0}.costume-stage>button:last-of-type{right:0}.costume-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:12px 0}.costume-thumbs button{border:1px solid #7f628b;border-radius:8px;background:#2b2037;position:relative;padding:4px;overflow:hidden}.costume-thumbs .paperdoll{height:54px;width:100%}.costume-thumbs small{font-size:var(--min-label,13px);color:#cdb8d1;display:block}.costume-thumbs button.active{border-color:#f1cd89;background:#553648}.costume-thumbs button.locked{opacity:.5}.collection-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.collection-cell{background:#241a2f;border:1px solid #74577c;padding:7px 3px;text-align:center;border-radius:7px;font-size:var(--min-label,13px)}.collection-cell .art{width:41px;height:42px;border-radius:5px}.collection-cell.locked{opacity:.35}.empty-state{padding:24px 10px;text-align:center;color:#a990b5;font-size:var(--min-label,13px)}.overlay{position:absolute;inset:0;z-index:60;background:#090914b8;backdrop-filter:blur(4px);display:none;align-items:center;justify-content:center;padding:22px 15px 36px}.overlay.show{display:flex}.dialog{width:100%;max-height:88%;position:relative;display:flex;flex-direction:column;background:radial-gradient(ellipse at 50% 0,#51334b,#241b32 40%,#1d1729);border:2px solid #c8a26c;border-radius:17px;box-shadow:0 0 0 3px #160f22,0 16px 70px #000c;animation:screenIn .18s ease-out}.dialoghead{display:flex;align-items:center;gap:8px;padding:12px 11px;border-bottom:1px solid #a17b65;background:linear-gradient(#513245,#30223b);border-radius:15px 15px 0 0;flex-shrink:0}.dialoghead>button:first-child{width:25px;font-size:28px;color:#d9b788;line-height:1}.dialoghead h2{margin:0;flex:1;text-align:center;font-size:20px;color:#f6deb4;text-shadow:0 2px #241327}.dialoghead .close-button{width:26px;height:26px;border:1px solid #92704e;border-radius:7px;background:#5e3449;font-size:22px;color:#efca94;line-height:1}.content{padding:15px 12px 24px;overflow-y:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#977b94 #251b33}.popup-close{position:absolute;left:calc(50% - 23px);bottom:-27px;width:46px;height:46px;border-radius:50%;border:2px solid #dcbd85;background:linear-gradient(#f9d49b,#d69a54);box-shadow:0 0 0 4px #312036,0 4px 8px #0006;font-size:33px;line-height:1;font-weight:bold;color:#653e40}.popup-hero{text-align:center;padding:13px 5px}.popup-hero>.art{width:94px;height:94px;border-radius:15px;border:1px solid #ba8e59;box-shadow:0 0 25px #ab6cc133}.popup-hero h3{margin:12px 0 6px;font-size:18px;color:#efd29d}.popup-hero p{font-size:var(--min-label,13px);color:#bfaacb;margin:6px}.popup-hero .badge{display:inline-block;border:1px solid #9c7b63;background:#3d2d3d;color:#f2d4a9;padding:3px 12px;border-radius:15px;font-size:var(--min-label,13px);margin-top:7px}.attendance-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.day-card{position:relative;border:1px solid #8b7091;border-radius:11px;overflow:hidden;display:flex;flex-direction:column;align-items:center;background:linear-gradient(#36263f,#211b2c);padding:0 5px 10px;text-align:center;min-height:127px}.day-card>strong{display:block;background:#473454;color:#d8c3df;padding:7px 0;margin:0 -5px 10px;width:calc(100% + 10px);font-size:var(--min-label,13px)}.day-card>.art{width:38px;height:40px;border-radius:7px}.day-card>b{font-size:14px;color:#edce95;margin-top:6px}.day-card>small{font-size:var(--min-label,13px);margin-top:3px;color:#b09cba}.day-card.today{border-color:#f3d18d;box-shadow:0 0 0 2px #c7974644,0 0 15px #d4a05322}.day-card.today>strong{background:linear-gradient(#c89a54,#8e623e);color:#fff3d9}.day-card.claimed{opacity:.6}.day-card.claimed:after{content:'';position:absolute;left:calc(50% - 13px);top:52px;color:#b2e6a9;text-shadow:0 2px #163524;font-size:28px;display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask:var(--ui-check) center/contain no-repeat;mask:var(--ui-check) center/contain no-repeat}.day-card.final-day{grid-column:1/-1;min-height:105px;display:grid;grid-template-columns:1fr 50px 1fr;column-gap:14px;padding:0 20px 12px;align-items:center}.day-card.final-day>strong{grid-column:1/-1;width:calc(100% + 40px);margin:0 -20px 8px}.day-card.final-day>.art{justify-self:end;grid-column:1}.day-card.final-day>b{grid-column:2;justify-self:start}.day-card.final-day>small{grid-column:3}.rewards-row{display:flex;justify-content:center;gap:10px;margin:10px 0}.reward-token{display:flex;align-items:center;gap:6px;background:#261a33;border:1px solid #785680;border-radius:8px;padding:7px 9px;font-size:var(--min-label,13px);color:#e4cee2}.reward-token .art{width:24px;height:25px}.menu-directory{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.menu-directory button{display:flex;flex-direction:column;align-items:center;gap:8px;background:linear-gradient(#392841,#261d32);border:1px solid #76577d;border-radius:10px;padding:12px 4px;font-size:var(--min-label,13px);color:#ead9df}.menu-directory .art{width:39px;height:39px;border-radius:9px}.loot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.loot-card{background:#2c2038;border:1px solid #91704c;border-radius:10px;text-align:center;padding:10px 4px;animation:lootIn .3s both}.loot-card .art{height:50px;width:50px;border-radius:6px}.loot-card b{display:block;font-size:var(--min-label,13px);margin-top:7px}.loot-card small{display:block;color:#bca8c9;font-size:var(--min-label,13px);margin-top:4px}.rar0{color:#d8d0df}.rar1{color:#8fd0eb}.rar2{color:#a4dab5}.rar3{color:#8bafff}.rar4{color:#cb94ff}.rar5{color:#f3af83}.rar6{color:#efcf7c}.rar7{color:#ed9fcd}.rar8{color:#f2959d}.rar9{color:#a0e6f1}.rar10{color:#f3e9b5}.notice{position:absolute;z-index:100;left:50%;bottom:84px;transform:translateX(-50%);width:max-content;max-width:90%;padding:11px 17px;border:1px solid #cba16e;background:#2a1c37f2;border-radius:10px;box-shadow:0 4px 20px #0009;opacity:0;transition:opacity .2s;pointer-events:none;text-align:center;font-size:var(--menu-label-size,12px);color:#f5dfb8}.notice.show{opacity:1}.settings-grid{display:grid;grid-template-columns:1fr;gap:7px}.settings-grid label{display:flex;align-items:center;gap:10px;border:1px solid #655170;background:#281e35;border-radius:7px;padding:9px;font-size:var(--min-label,13px)}.settings-grid input{accent-color:#ab80cd;width:16px;height:16px;min-height:16px}.settings-grid .action{font-size:var(--min-label,13px)}.tabs{display:flex;gap:6px;margin-bottom:12px}.tabs button{padding:7px 11px;border:1px solid #765d7c;border-radius:17px;background:#2a2036;color:#beaccc;font-size:var(--min-label,13px)}.tabs button.active{color:#ffe0a5;border-color:#b78a60;background:#684435}.modal-stats{display:flex;gap:6px;flex-wrap:wrap}.modal-stats span{font-size:var(--min-label,13px);background:#21172d;border:1px solid #76557b;border-radius:7px;padding:8px}.pass-row{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid #795b7b;border-radius:9px;background:linear-gradient(#36263c,#261d31);margin-bottom:8px}.pass-row>.art{width:33px;height:34px;border-radius:7px}.pass-row>div{flex:1}.pass-row strong{font-size:var(--min-label,13px);display:block;color:#ebd3ad}.pass-row small{font-size:var(--min-label,13px);display:block;color:#ad94bb;margin-top:4px}.pass-row .gold-button{font-size:var(--min-label,13px);padding:6px 11px}.rank-row{display:flex;align-items:center;gap:10px;padding:10px;border-bottom:1px solid #705174;font-size:var(--min-label,13px)}.rank-row .art{width:32px;height:32px;border-radius:50%}.rank-row b{flex:1}.rank-row strong{color:#eed399}.forge-illustration{height:130px;width:95%;display:block;margin:auto;border-radius:12px}.large-relic{width:100px;height:125px;display:block;margin:auto;border-radius:12px}.hero-mini{height:80px;width:100px;background-image:var(--actors);background-size:400% 300%;background-position:0 0}@keyframes screenIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@keyframes lootIn{from{opacity:0;transform:translateY(10px) scale(.9)}}body.low-motion .actor,body.low-motion .feature-screen,body.low-motion .dialog,body.low-motion .loot-card{animation:none!important}
@media(min-width:700px){body{align-items:center;padding:12px 0}.game{height:calc(100dvh - 24px);min-height:680px;max-width:510px;border-radius:20px}.top{padding-top:8px}.feature-screen{top:114px}.battle{min-height:270px}.screen-content{padding:16px}.hero-showcase{height:246px}.hero-showcase>.paperdoll{height:218px}}
@media(max-height:740px){.game{min-height:580px}.top{height:87px;padding-top:4px;grid-template-rows:45px 29px;gap:3px 8px}.portrait{width:41px;height:41px}.bottom-nav{height:63px}.bottom-nav button .art{height:26px;width:28px}.bottom-nav button strong{font-size:var(--menu-label-size,10px)}.battle{min-height:240px}.home-quest{min-height:39px;margin-top:4px;padding-block:5px}.forge-dock{height:68px;padding-top:4px}.forge-mini-art{height:56px;width:85px}.feature-screen{top:100px;bottom:71px}.screen-backdrop{inset:87px 0 63px}.screen-head{height:57px}.screen-head h1{font-size:22px}.screen-head small{font-size:var(--min-label,13px)}.hero-showcase{height:214px}.hero-showcase>.paperdoll{height:183px}.equipment-slot{width:43px;height:46px}.equipment-slot[data-pos="2"],.equipment-slot[data-pos="3"]{top:60px}.equipment-slot[data-pos="4"],.equipment-slot[data-pos="5"]{top:115px}.equipment-slot[data-pos="6"]{top:142px;left:calc(50% - 22px)}.battle-controls{bottom:61px}.skillbuttons button{height:43px;width:43px}.skillbuttons{bottom:8px}.stage{top:8px;height:45px}.stage strong{font-size:18px}.stage-route{top:61px}.enemy-status{top:31%}.side-nav,.right-nav{top:9px;gap:6px}.side-nav .art,.right-nav .art{width:31px;height:29px}.side-nav small,.right-nav small{font-size:9px}.enemy-status>b{font-size:9px}}
@media(max-width:359px){.top{padding-inline:8px;column-gap:6px;grid-template-columns:1fr auto 27px 25px}.profile{gap:5px}.profile-copy strong{font-size:var(--menu-label-size,12px)}.profile-copy b{font-size:var(--menu-label-size,10px)}.wallet{gap:5px}.wallet button{gap:4px}.wallet b{font-size:var(--menu-label-size,11px)}.wallet .art{width:22px;height:22px}.vip{min-width:40px;font-size:var(--menu-label-size,10px)}.side-nav{left:6px}.right-nav{right:6px}.stage{min-width:190px}.stage strong{font-size:17px}.feature-screen{left:6px;right:6px}.screen-content{padding-inline:9px}.screen-tabs button{font-size:var(--min-label,13px)}.item-grid{gap:6px}.gold-button{padding-inline:10px}.forge-dock{padding-inline:9px;gap:6px}.forge-mini-art{width:76px}.forge-dock>.gold-button{min-width:80px;padding-inline:7px}.forge-dock>div strong{font-size:12px}.bottom-nav button strong{font-size:var(--menu-label-size,10px)}.skillbuttons{gap:10px}.overlay{padding-inline:10px}.relic-node{width:58px;height:68px}.relic-center{width:122px;height:165px}.relic-scene{height:250px}.relic-node.n0,.relic-node.n2{left:9px}.relic-node.n1,.relic-node.n3{right:9px}.dungeon-banner{height:140px}.dungeon-banner h3{font-size:15px}.dungeon-banner>div{padding-top:13px}}
@media(prefers-reduced-motion:reduce){.actor,.feature-screen,.dialog,.loot-card{animation:none!important}}

/* Keep the illustrated character square like its source sprite cells. */
.hero-showcase>.paperdoll{left:50%;right:auto;width:230px;height:230px;transform:translateX(-50%)}.costume-stage>.paperdoll{left:50%;right:auto;width:240px;height:240px;transform:translateX(-50%)}.costume-thumbs .paperdoll{width:100%;height:auto;aspect-ratio:1}.forge-showcase>.paperdoll{width:160px!important;height:160px!important}@media(max-height:740px){.hero-showcase>.paperdoll{width:200px;height:200px}}

/* page */
/* Fixed geometry keeps control marks clear at small sizes on every device. */
:root {
  --ui-bang: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4.5v10M12 19v.2'/%3E%3C/svg%3E");
  --ui-boss: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 4 1 6 3 2c0 4 1 6 3 7v2h4v-2c2-1 3-3 3-7l3-2 1-6-5 4-4-2-4 2-5-4Zm5 9 2 1m6-1-2 1m-3 3h2'/%3E%3C/svg%3E");
  --ui-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12 5 5L20 6'/%3E%3C/svg%3E");
  --ui-chevron-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 5-7 7 7 7'/%3E%3C/svg%3E");
  --ui-chevron-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E");
  --ui-chevron-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 15 7-7 7 7'/%3E%3C/svg%3E");
  --ui-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 6 12 12M18 6 6 18'/%3E%3C/svg%3E");
  --ui-crown: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 6 4.5 4.5L12 4l4.5 6.5L21 6l-2 11H5L3 6Zm3 14h12m-6-9v2'/%3E%3C/svg%3E");
  --ui-diamond: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 8 9-8 9-8-9 8-9Zm0 4 4 5-4 5'/%3E%3C/svg%3E");
  --ui-edit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 16-1 5 5-1L19 9l-4-4L4 16Zm11-11 2-2 4 4-2 2M4 16l4 4'/%3E%3C/svg%3E");
  --ui-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-18 0 9 9 0 1 1 18 0Zm-9-5v6m0 3v.3'/%3E%3C/svg%3E");
  --ui-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 8V6a4 4 0 0 1 8 0v2'/%3E%3Crect x='3' y='8' width='14' height='10' rx='2'/%3E%3Cpath d='M10 12v2'/%3E%3C/svg%3E");
  --ui-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h12'/%3E%3C/svg%3E");
  --ui-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
  --ui-more: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h.5m7.2 0h.5m7.3 0h.5'/%3E%3C/svg%3E");
  --ui-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --ui-spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2c.9 6.2 3.8 9.1 10 10-6.2.9-9.1 3.8-10 10-.9-6.2-3.8-9.1-10-10 6.2-.9 9.1-3.8 10-10Z'/%3E%3C/svg%3E");
  --ui-swords: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 3 4 1 10 11-2 2L4 7 3 3Zm18 0-1 4-6 6-2-2 5-6 4-2ZM8.5 14l2 2-5 5-2-2 5-5ZM13 18l5-5m-2 4 4 4 1-1-4-4M5.5 13.5l5 5'/%3E%3C/svg%3E");
}

ui-mark {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  vertical-align: -.12em;
  pointer-events: none;
  background-color: currentColor;
  -webkit-mask: var(--ui-shape) center/contain no-repeat;
  mask: var(--ui-shape) center/contain no-repeat;
}

ui-mark[data-shape=bang] { --ui-shape: var(--ui-bang); }
ui-mark[data-shape=boss] { --ui-shape: var(--ui-boss); }
ui-mark[data-shape=check] { --ui-shape: var(--ui-check); }
ui-mark[data-shape=chevron-left] { --ui-shape: var(--ui-chevron-left); }
ui-mark[data-shape=chevron-right] { --ui-shape: var(--ui-chevron-right); }
ui-mark[data-shape=chevron-up] { --ui-shape: var(--ui-chevron-up); }
ui-mark[data-shape=close] { --ui-shape: var(--ui-close); }
ui-mark[data-shape=crown] { --ui-shape: var(--ui-crown); }
ui-mark[data-shape=diamond] { --ui-shape: var(--ui-diamond); }
ui-mark[data-shape=edit] { --ui-shape: var(--ui-edit); }
ui-mark[data-shape=info] { --ui-shape: var(--ui-info); }
ui-mark[data-shape=menu] { --ui-shape: var(--ui-menu); }
ui-mark[data-shape=minus] { --ui-shape: var(--ui-minus); }
ui-mark[data-shape=more] { --ui-shape: var(--ui-more); }
ui-mark[data-shape=plus] { --ui-shape: var(--ui-plus); }
ui-mark[data-shape=spark] { --ui-shape: var(--ui-spark); }
ui-mark[data-shape=swords] { --ui-shape: var(--ui-swords); }

ui-mark[data-shape=lock] { --ui-shape: var(--ui-lock); }

/* page */
:root{--summon-book-hd:url('./assets/5c5b349dcd456e0a08ff.webp')}
:root{--skills-hd:url('./assets/c5855e1164c60520502b.webp');--scenes-hd:url('./assets/d91d518aab89a75ffb38.webp');--items-hd:url('./assets/2b0e0bc7a63a77912323.webp');--ui-hd:url('./assets/dafbf344069957ec8ac1.webp');}
/* Sharp native-resolution illustrations and compact touch-first feature layouts. */
.art{image-rendering:auto;background-repeat:no-repeat}.art.hd{border-radius:7px}.item-card>.art{width:100%;height:auto;aspect-ratio:1}.skill-equipped button>.art{width:100%;height:auto;aspect-ratio:1}.item-card.locked{opacity:.78}.item-card.locked>.art{filter:saturate(.65)}.dungeon-banner{min-height:168px;grid-template-columns:44% 1fr;gap:12px;padding:0 12px 0 0;overflow:hidden}.dungeon-banner>.art{width:100%;height:auto;aspect-ratio:1;align-self:center;mask-image:none}.dungeon-banner h3{font-size:17px;margin-bottom:9px}.dungeon-banner small{display:block;line-height:1.6;font-size:var(--min-label,13px)}.dungeon-banner .gold-button{margin-top:12px}.dungeon-banner p{font-size:var(--min-label,13px)}.difficulty{display:flex;align-items:center;gap:12px;margin-bottom:6px}.difficulty button{width:26px;height:25px;border:1px solid #9e7956;border-radius:5px;color:#eed0a1;background:#3a293e}.difficulty b{font-size:var(--min-label,13px)}.screen-tabs{overflow-x:auto;justify-content:flex-start;scrollbar-width:none;flex-shrink:0}.screen-tabs button{min-width:58px;flex:1 0 auto;font-size:var(--min-label,13px)}.bottom-nav button strong{font-size:var(--menu-label-size,11px)}.batch-controls{display:flex;gap:7px;margin-bottom:12px}.batch-controls button{flex:1;padding:8px;border:1px solid #785d84;border-radius:8px;background:#292034;color:#d9c8e3}.batch-controls button.active{background:linear-gradient(#9867b0,#664980);border-color:#cfa5dc;color:#fff}.growth-row{gap:8px}.growth-row>div{min-width:0}.growth-row>div b{font-size:var(--min-label,13px)}.growth-row>div small{font-size:var(--min-label,13px)}.growth-row .gold-button{font-size:var(--min-label,13px);min-width:88px}.positive{color:#b4e2ae}.negative{color:#f8a0a3}.action-row{flex-wrap:wrap}.action-row .gold-button{min-height:35px}.effect-table>div{gap:9px}.effect-table span small{display:block;color:#b4a0bb;font-size:var(--min-label,13px);margin-top:3px}.effect-table .art{width:27px;height:27px;vertical-align:middle;margin-right:7px}.effect-table b{font-size:var(--min-label,13px);text-align:right}.level-preview{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.level-preview>div{text-align:center}.level-preview small{display:block;font-size:var(--min-label,13px);color:#bda8c4}.level-preview .gold-button{min-width:40px}.forge-showcase>.forge-hd{width:190px;height:190px}.forge-dock .forge-mini-art .art{border-radius:14px}.forge-actions .gold-button small{display:block;font-size:var(--min-label,13px);margin-top:4px}.hammering .forge-hd{animation:forgeHammer .2s ease-in-out 3}.hammering .forge-showcase{box-shadow:inset 0 0 65px #ff9b4366}.forge-showcase{transition:box-shadow .2s}.hero-health{position:absolute;left:15%;bottom:124px;width:95px;height:5px;border-radius:8px;background:#210f18aa;z-index:8;pointer-events:none;box-shadow:0 1px 2px #000}.hero-health>i{display:block;height:100%;background:linear-gradient(90deg,#44776a,#b0e4ac);border-radius:8px}.hero-health small{position:absolute;top:8px;left:0;font-size:8px;white-space:nowrap;color:#d7efcf;text-shadow:1px 1px #000}.stage-route{gap:6px}.stage-route span{width:8px;height:8px}.stage-route .boss-dot{width:16px;height:16px;line-height:13px;font-size:11px;color:#ffd3b9}.content-shortcut{position:absolute;right:10px;top:143px;z-index:11;font-size:var(--min-label,13px);background:#24142ed9;border:1px solid #ad885c;color:#ead0a5;padding:6px 8px;border-radius:7px}.boss-retry{position:absolute;top:52%;left:40%;z-index:15;padding:8px 12px;color:#ffe1be;background:#852733;border:1px solid #f4a974;border-radius:8px;font-size:12px}.skill-lock{position:absolute;inset:0;display:grid;place-content:center;font-size:14px;color:#f0debc;background:#17102180;border-radius:50%}.content-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.content-card{border:1px solid #8b6c59;border-radius:12px;overflow:hidden;background:linear-gradient(#33243c,#20182b);padding:9px;color:#ebd3ad;text-align:center}.content-card>.art{width:110px;height:110px;max-width:100%;display:block;margin:auto auto 7px}.content-card>b,.content-card>small{display:block}.content-card>b{font-size:16px}.content-card>small{font-size:var(--min-label,13px);color:#bca8c8;margin-top:7px}.content-card:last-child{grid-column:span 2}.content-card:last-child>.art{width:85px;height:85px}.online-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.online-grid button{font-size:var(--min-label,13px);padding:10px 3px}.online-grid small{display:block;font-size:var(--min-label,13px);margin-top:5px;color:#9a8c9f}.content-back{margin-bottom:12px;font-size:var(--min-label,13px)}.content-hero{text-align:center;padding:12px 0 20px}.content-hero>.art{width:180px;height:180px}.content-hero h2{font-size:22px;color:#f1d095;margin:12px 0 8px}.content-hero p{font-size:var(--min-label,13px);color:#c3afcb;line-height:1.7}.mine-scene{text-align:center;background:radial-gradient(ellipse at 50% 40%,#6237a966,#1b1427);border-radius:15px;border:1px solid #6b4e7d;padding:22px 10px}.mine-scene button{width:200px;height:200px;border-radius:20px;overflow:hidden}.mine-scene .art{width:100%;height:100%}.mine-scene h2{font-size:22px;color:#efce95}.mine-scene b{font-size:22px;color:#f4bd68}.mine-scene p{font-size:var(--min-label,13px);color:#d4bfdc}.struck{animation:forgeHammer .18s}.expedition-card{display:grid;grid-template-columns:85px 1fr;gap:8px 12px}.expedition-card>.art{width:85px;height:85px}.expedition-card h3{margin-top:5px}.expedition-card .reward-chips,.expedition-card .action-row{grid-column:1/-1}.expedition-card small{font-size:var(--min-label,13px);color:#c5aecb}.expedition-card p{font-size:var(--min-label,13px);color:#e3c58c}.reward-chips{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:10px 0}.reward-chips>span{background:#251b31;border:1px solid #765a80;border-radius:9px;display:flex;flex-direction:column;align-items:center;padding:7px;min-width:64px}.reward-chips .art{width:43px;height:43px;margin-bottom:3px}.reward-chips b{font-size:13px;color:#f0d6aa}.reward-chips small{font-size:var(--min-label,13px);color:#c4aecd}.summon-stage{padding:0;text-align:center;border:1px solid #76567f;background:#201426;border-radius:14px;overflow:hidden}.summon-stage>.summon-book{width:100%;height:auto;aspect-ratio:1.2;max-height:310px;display:block;border-radius:0}.summon-stage h2{font-size:22px;color:#efcf9f;margin:15px 0 6px}.summon-stage p{font-size:var(--min-label,13px);color:#c2acd0;margin-bottom:19px}.probability-summary{display:flex;justify-content:space-around;gap:5px;margin:18px 0;padding:12px 4px;border-top:1px solid #74537b;border-bottom:1px solid #74537b}.probability-summary span{font-size:var(--min-label,13px);color:#bba2c6;text-align:center}.probability-summary b{display:block;color:#f0ce99;font-size:17px;margin-top:5px}.roulette-wheel{height:260px;position:relative;overflow:hidden;display:grid;place-items:center;border-radius:16px;background:radial-gradient(#8f428344,#23152e 67%)}.wheel-runes{position:absolute;inset:12px 50px;border:3px double #d6a557;border-radius:50%;font-size:190px;color:#a28052;text-align:center;line-height:230px;background:repeating-conic-gradient(#8b5477aa 0deg 43deg,#d7ae6944 43deg 45deg);box-shadow:0 0 35px #b86fd344}.roulette-wheel .paperdoll{width:230px;height:230px;position:relative;z-index:2}.spinning .wheel-runes{animation:rouletteSpin .9s cubic-bezier(.15,.7,.25,1)}.costume-result-hero{width:100%;height:auto;aspect-ratio:1}.pet-showcase{text-align:center;padding:20px;background:radial-gradient(#5d4b8344,transparent 70%)}.pet-showcase>.art{width:200px;height:200px}.pet-showcase h3{color:#efd298;font-size:20px}.pet-showcase p{font-size:var(--min-label,13px);color:#c6b0d2}.item-card>span>.art{width:100%;height:auto;aspect-ratio:1}.skill-result .art{width:100%;height:auto;aspect-ratio:1}.tier-2{border-color:#d8b66c!important;box-shadow:inset 0 0 18px #e6a84b33}.package-section>h2{font-size:16px;line-height:1.4;margin:14px 0 7px;color:#ffdfac}.package-card>p{font-size:var(--min-label,13px);line-height:1.6;margin-bottom:4px}.package-card>b{font-size:14px;margin-bottom:10px}.package-card>.art{width:80px;height:80px}.vip-tier h3{display:flex;justify-content:space-between;align-items:center}.vip-tier h3 small{font-size:var(--min-label,13px);font-weight:400}.month-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.month-calendar>div{display:flex;flex-direction:column;align-items:center;border:1px solid #70527e;background:#271c32;border-radius:7px;padding:6px 1px}.month-calendar b{font-size:var(--min-label,13px)}.month-calendar .art{width:30px;height:30px}.month-calendar small{font-size:var(--min-label,13px);white-space:nowrap}.month-calendar .claimed{opacity:.45}.month-calendar .special{border-color:#d8ad69;background:#57402c}.day-card .reward-chips{margin:3px 0}.day-card .reward-chips>span{border:0;background:transparent;min-width:0;padding:0}.day-card .reward-chips .art{width:44px;height:44px}.day-card .reward-chips b{font-size:16px}.day-card.final-day .reward-chips{gap:25px}.popup-hero>.art{width:105px;height:105px}.dialog{backdrop-filter:none}.overlay{backdrop-filter:none;background:#080512bd}.screen-content,.content{overscroll-behavior:contain}.sticky-actions{z-index:5}.skin-copy{font-size:var(--min-label,13px);color:#b4a1c3}@keyframes forgeHammer{50%{transform:translateY(5px) rotate(-3deg);filter:brightness(1.5)}}@keyframes rouletteSpin{to{transform:rotate(1080deg)}}@media(max-width:390px){.dungeon-banner{grid-template-columns:42% 1fr;min-height:155px;gap:9px}.dungeon-banner h3{font-size:15px}.dungeon-banner small{font-size:var(--min-label,13px)}.dungeon-banner .gold-button{font-size:var(--min-label,13px);margin-top:7px}.growth-row>.art{width:32px;height:32px}.growth-row>div small{font-size:var(--min-label,13px)}.content-card>.art{width:100px;height:100px}.summon-stage>.summon-book{max-height:285px}.effect-table b{font-size:var(--min-label,13px)}.effect-table .gold-button{font-size:var(--min-label,13px)}}@media(prefers-reduced-motion:reduce){.spinning .wheel-runes,.struck,.hammering .forge-hd{animation:none}}
.dungeon-banner{display:grid;height:auto;min-height:168px}.dungeon-banner>div{padding:12px 0;gap:3px}.dungeon-banner>.art{width:100%;min-width:0;height:auto;aspect-ratio:1;display:block}.summon-stage>.summon-book{width:min(100%,310px);height:auto;aspect-ratio:1;margin:auto;max-height:none}.day-card.final-day{display:flex;min-height:135px;padding:0 10px 12px}.day-card.final-day>.reward-chips{width:100%}.popup-hero>.badge{display:table;margin:10px auto 0}.hero-health{bottom:130px}.item-card .hd{border-radius:8px}.art.hd{background-color:#180d21}.resource-note{flex-wrap:wrap}.dungeon-banner>.art{border-radius:10px 0 0 10px}

/* page */
:root{--gear-grade-0:url('./assets/equipment/part-0.webp');--gear-grade-1:url('./assets/equipment/part-1.webp');--gear-grade-2:url('./assets/equipment/part-2.webp');--gear-grade-3:url('./assets/equipment/part-3.webp');--gear-grade-4:url('./assets/equipment/part-4.webp');--gear-grade-5:url('./assets/equipment/part-5.webp');--gear-grade-6:url('./assets/equipment/part-6.webp');--pets-atlas:url('./assets/ee6ba48c2064fd19fcfd.webp');--gems-atlas:url('./assets/db3e76c21160ba210f86.webp');--creatures-atlas-0:url('./assets/b106ebae66e2e3792904.webp');--region_0:url('./assets/region-hd/meadow.webp');--region_1:url('./assets/region-hd/forest.webp');--region_2:url('./assets/region-hd/canyon.webp');--region_3:url('./assets/region-hd/marsh.webp');--creatures-atlas-1:url('./assets/f72daf6f6bf6ddb93caa.webp');--region_4:url('./assets/region-hd/cavern.webp');--region_5:url('./assets/region-hd/glacier.webp');--region_6:url('./assets/region-hd/keep.webp');--region_7:url('./assets/region-hd/void.webp');}
:root{--late-creatures-v285:url('./assets/29eaab11d21865f1a498.webp');--tower-interior:url('./assets/3ecd9db7ec8574bdafd6.webp')}

/* page */
/* New asset rules keep source silhouettes: no hue-shift or blurry enlargement. */
.art.equipment-art,.art.companion-art{background-repeat:no-repeat}
.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.collection-cell{padding:8px 3px;background:linear-gradient(145deg,#382a45,#1b1426)}
.collection-cell .art{width:100%;max-width:110px;height:auto;aspect-ratio:1}
.collection-cell.locked{opacity:1;border-color:#4c3b59}
.collection-name{display:block;min-height:26px;line-height:1.4;font-size:var(--min-label,13px);color:#dfd2e5;font-weight:500;margin:3px 0}
.collection-cell.locked>div:last-child{color:#aa95b6}
.item-card b{white-space:normal;min-height:25px;line-height:1.3}
.collection-cell .rar0{color:#d0c8d7}
.stage .stage-map-button{width:auto;min-width:180px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#ffe1a8;gap:4px;line-height:1.3;font-size:15px;padding:0 4px}
.stage-map-button span{font-size:11px;font-weight:400;color:#e8dfce}
.landscape{background-size:cover;background-position:center 60%;transition:background-image .4s}
.trail-panorama{display:none}
.landscape[data-trail]{overflow:hidden}
.landscape[data-trail]>.trail-panorama{display:block;position:absolute;top:0;left:0;height:100%;min-width:100%;aspect-ratio:3/2;background-image:inherit;transform:translate3d(var(--trail-pan,0%),0,0);will-change:transform}
.trail-panorama>i{position:absolute;inset:0;background-image:inherit;background-size:cover;background-position:center 60%}
.trail-panorama>i+i{transform:translateX(84%);mask-image:linear-gradient(90deg,transparent,#000 16%)}
.trail-panorama>i+i+i{transform:translateX(168%)}
.battle-vignette{background:linear-gradient(#0b091d99,transparent 28%,transparent 72%,#0d0a1ccc)}
.actor.world-creature{width:48%;height:auto;aspect-ratio:1;max-height:none;right:2%;bottom:27%;background-repeat:no-repeat;animation:creature-breathe 2.9s ease-in-out infinite;transform-origin:50% 85%;scale:1;filter:drop-shadow(0 8px 5px #08122190);transition:filter .2s}
.actor.world-creature.region-boss{width:62.4%;right:-5.2%;bottom:26%;scale:1;filter:drop-shadow(0 0 9px var(--biome-accent)) drop-shadow(0 9px 5px #08122199)}
.actor.world-creature.damaged{animation:creature-hit .35s ease-out}
.actor.mob.second,.actor.mob.mushroom{display:none}
.battle-pet{position:absolute;left:6%;bottom:25%;z-index:3;width:15%;aspect-ratio:1;pointer-events:none;animation:companion-bob 3s ease-in-out infinite;filter:drop-shadow(0 5px 4px #09051e99)}
.battle-pet .art{width:100%;height:100%;background-repeat:no-repeat}
@keyframes creature-breathe{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-3px) scale(1.025,.99)}}
@keyframes creature-hit{0%{transform:translateX(0);filter:brightness(1.8)}45%{transform:translateX(11px) rotate(4deg);filter:brightness(1.3)}100%{transform:translateX(0)}}
@keyframes companion-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.pet-hero{position:relative;isolation:isolate;text-align:center;padding:7px 10px 16px;overflow:hidden;border-bottom:1px solid #d1ae6c44}
.pet-hero>.art{display:block;width:210px;height:210px;margin:0 auto 8px;position:relative;z-index:1}
.pet-aura{position:absolute;inset:0 0 30%;z-index:-1;background:radial-gradient(ellipse,#b295db33,transparent 65%)}
.eyebrow{display:block;font-size:var(--min-label,13px);letter-spacing:.24em;color:#c9ac8b}
.pet-hero h2{font-size:22px;color:#f7d89f;margin:10px 0 8px}
.pet-hero p{font-size:var(--min-label,13px);color:#c7bbd3;margin:0 0 10px}
.pet-hero>small{color:#e4cd9f;font-size:var(--min-label,13px)}
.pet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:16px 0}
.pet-card{position:relative;border:1px solid #68516d;background:radial-gradient(ellipse at 50% 30%,#58416c55,#21172b);border-radius:12px;padding:5px 3px 10px;min-width:0}
.pet-card.equipped{border-color:#eac387;box-shadow:inset 0 0 17px #d6aa4e22}
.pet-card>.art{width:100%;height:auto;aspect-ratio:1;display:block}
.pet-card>b{display:block;font-size:var(--min-label,13px);margin:3px 0 6px;color:#ebdfed}
.pet-card>small{display:block;font-size:var(--min-label,13px);color:#baaac7}
.pet-tier-badge{display:inline-flex;align-items:center;justify-content:center;padding:3px 8px;border:1px solid var(--pet-tier);border-radius:20px;color:var(--pet-tier);background:#171120;font-size:var(--min-label,13px);font-weight:700;line-height:1.3;letter-spacing:.04em}
.pet-hero>.pet-tier-badge,.companion-hero>.pet-tier-badge{margin:0 0 10px}
.pet-card,.pet-result-card{border-color:var(--pet-tier)}
.pet-card>.pet-tier-badge{margin:0 0 3px}
.pet-results .pet-tier-badge{margin:3px auto}
.pet-rate-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:15px 0}
.pet-rate-summary>div{display:flex;flex-direction:column;gap:6px;align-items:center;padding:10px 4px;background:#1a1325;border:1px solid var(--pet-tier);border-radius:9px;color:var(--pet-tier);font-size:var(--min-label,13px)}
.pet-rate-summary b{font-variant-numeric:tabular-nums}
.pet-rate-group{border:1px solid #6c527a;border-radius:12px;margin:10px 0;padding:11px;background:#261c32}
.pet-rate-group h3{display:flex;align-items:center;justify-content:space-between;margin:0 0 5px;color:var(--pet-tier);font-size:14px}
.pet-rate-group h3 small{font-size:var(--min-label,13px);font-weight:400}
.pet-rate-row{display:flex;align-items:center;gap:10px;min-width:0;padding:6px 0;border-top:1px solid #ffffff0d;font-size:var(--min-label,13px)}
.pet-rate-row>.art{display:block;width:48px;height:48px;border-radius:8px}
.pet-rate-row>span:not(.art){flex:1;min-width:0}
.pet-rate-row>b{font-variant-numeric:tabular-nums;color:#eee1c3}
.pet-card em{position:absolute;right:4px;top:4px;background:#5c7959;color:#e5ffdb;padding:3px 6px;border-radius:4px;font-size:var(--min-label,13px);font-style:normal}
.companion-hero>.art{width:190px;height:190px}
.pet-results .art{width:100%;height:auto;aspect-ratio:1}
.effect-table .companion-art{width:40px;height:40px;margin-right:6px;flex-shrink:0}
.diamond-banner{display:flex;align-items:center;position:relative;background:radial-gradient(ellipse at 80% 50%,#42758e55,transparent 65%);padding:9px 0 15px;border-bottom:1px solid #b4a5cc33;min-height:140px}
.diamond-banner>div{z-index:1;flex:1;min-width:0}
.diamond-banner h2{font-size:23px;color:#f4ddb3;letter-spacing:-.04em;margin:12px 0 7px}
.diamond-banner p{color:#c0b5cd;font-size:var(--min-label,13px)}
.diamond-banner>.art{width:150px;height:150px;flex-shrink:0;margin-right:-15px}
.balance-pill{display:inline-flex;align-items:center;gap:7px;background:#161225a6;border:1px solid #68849c66;border-radius:20px;padding:4px 10px;font-size:var(--min-label,13px);color:#ddf9ff}
.balance-pill>.art{width:19px;height:19px}
.shop-status{display:flex;align-items:center;gap:9px;margin:14px 0;padding:11px;background:#272035;border-radius:8px;border:1px solid #765f4b}
.status-lamp{width:6px;height:6px;background:#e8b76d;border-radius:100%;flex-shrink:0}
.shop-status b{display:block;color:#f0d2a5;font-size:var(--min-label,13px)}
.shop-status small{display:block;color:#bdaecb;font-size:var(--min-label,13px);line-height:1.6;margin-top:3px}
.diamond-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.diamond-product{display:flex;flex-direction:column;align-items:center;position:relative;overflow:hidden;isolation:isolate;border:1px solid #82749c;border-radius:12px;background:radial-gradient(ellipse at 50% 26%,#46688766,#20182d 73%);padding-top:22px;text-align:center}
.first-charge{position:absolute;top:0;left:0;right:0;background:linear-gradient(90deg,#5f447c,#40384f);border-bottom:1px solid #8d77a0;padding:5px;font-size:var(--min-label,13px);color:#edd7ff;font-weight:bold}
.diamond-product>.art{width:100%;max-width:160px;height:auto;aspect-ratio:1;display:block;margin:-2px auto -13px}
.product-copy{display:flex;flex-direction:column;gap:6px;width:100%;padding:0 5px 12px}
.product-copy>small{font-size:var(--min-label,13px);color:#d1bdd9}
.product-copy>strong{font-size:22px;color:#e5f8ff;letter-spacing:-.03em}
.product-copy em{font-size:var(--min-label,13px);font-weight:400;font-style:normal;color:#c9c3db}
.bonus{font-size:var(--min-label,13px);color:#e7c991}
.product-price{width:100%;display:block;padding:10px 4px;color:#fbdfa4;border-top:1px solid #90754b99;background:linear-gradient(#543a43,#352632);font-size:15px;font-weight:bold}
.product-price small{display:block;color:#c5adb5;font-size:var(--min-label,13px);font-weight:400;margin-top:4px}
.diamond-product.grand{grid-column:1/-1;flex-direction:row;padding:24px 10px 8px;border-color:#c59b59;background:radial-gradient(ellipse at 30% 40%,#687cac77,#251d33 80%)}
.grand .first-charge{background:linear-gradient(90deg,#8b6137,#4b3448);color:#ffe2a7}
.grand>.art{width:36%;max-width:150px;margin:0}
.grand .product-copy{width:38%;align-items:flex-start;padding:0 4px;text-align:left}
.grand .product-price{width:26%;border:1px solid #987e4b;border-radius:7px;padding:10px 3px;font-size:13px}
.grand .product-copy strong{font-size:25px}
.grand .product-copy em{display:block;font-size:var(--min-label,13px);margin-top:2px}
.shop-footnote{line-height:1.8;font-size:var(--min-label,13px);margin:15px 0}
.diamond-detail>.art{width:200px;height:200px;margin-top:-10px}
.payment-notice{border:1px solid #80694b;background:#322832;border-radius:9px;padding:14px;margin:15px 0;font-size:var(--min-label,13px);color:#eed6b1}
.payment-notice p{color:#c7b9ca;font-size:var(--min-label,13px);line-height:1.8;margin:6px 0 0}
.purchase-total{color:#b5edff;background:#a2e1ff0a}
.atlas-intro{text-align:center;padding:10px 0 14px}
.atlas-intro h3{color:#f1d3a5;font-size:21px;margin:12px 0}
.atlas-intro p{color:#bdaec8;font-size:var(--min-label,13px);line-height:1.7}
.world-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.world-card{position:relative;background-image:linear-gradient(transparent,#0e1026ed),var(--world-bg);background-size:cover;background-position:center;border:1px solid #756984;border-radius:10px;min-height:156px;overflow:hidden;text-align:left;display:flex;align-items:flex-end;padding:12px 10px}
.world-card.current{border-color:#f2cd87;box-shadow:inset 0 0 0 1px #caad74}
.world-number{position:absolute;top:9px;left:10px;color:#ead8b5;font-family:Georgia,serif;font-size:23px;text-shadow:0 2px 7px #000}
.world-card small{color:#d7c4ad;font-size:var(--min-label,13px)}
.world-card b{display:block;color:#f5e2bf;font-size:13px;line-height:1.4;margin:6px 0 4px}
.world-card em{font-size:var(--min-label,13px);font-style:normal;color:#bdb2d0}
.region-preview{background-size:cover;background-position:center;position:relative;isolation:isolate;padding:100px 15px 18px;border-radius:10px;overflow:hidden}
.region-preview:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(transparent 20%,#0b1024ee)}
.region-preview span{font-size:var(--min-label,13px);color:#f2d2a1;letter-spacing:.15em}
.region-preview h3{font-size:23px;color:#fbe2b5;margin:7px 0}
.region-preview p{font-size:var(--min-label,13px);margin:0;color:#d7c5d9}
.bestiary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.bestiary-grid>div{text-align:center;background:#21192b;border:1px solid #5c4b66;border-radius:8px;padding:5px 2px 9px}
.bestiary-grid .art{width:100%;height:auto;aspect-ratio:1}
.bestiary-grid b{display:block;font-size:var(--min-label,13px);color:#e3d6e8}
.bestiary-grid small{display:block;margin-top:6px;font-size:var(--min-label,13px);color:#b5a3bf}
.region-boss-preview{display:flex;align-items:center;background:radial-gradient(ellipse at 30% 50%,#71639933,#281d30);margin-top:12px;border:1px solid #a78456;border-radius:10px;padding:8px}
.region-boss-preview>.art{width:45%;height:auto;aspect-ratio:1;flex-shrink:0}
.region-boss-preview span{font-size:var(--min-label,13px);letter-spacing:.1em;color:#e6b385}
.region-boss-preview h3{font-size:15px;color:#f5d9b0;line-height:1.4;margin:8px 0}
.region-boss-preview small{font-size:var(--min-label,13px);line-height:1.6;color:#bda7c9}
body.low-motion .battle-pet{animation:none!important}
@media(max-width:360px){.diamond-banner h2{font-size:20px}.diamond-banner>.art{width:115px;height:130px}.diamond-product>.art{max-width:125px}.product-copy>strong{font-size:20px}.grand .product-copy strong{font-size:21px}.pet-hero>.art{width:175px;height:175px}.pet-card>b{font-size:var(--min-label,13px)}.world-card{min-height:140px;padding:9px 7px}.world-card b{font-size:var(--min-label,13px)}}
@media(prefers-reduced-motion:reduce){.battle-pet,.actor.world-creature{animation:none!important}.landscape{transition:none}}
.companion-art.art.hd{background-color:transparent}
.pet-hero{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:center;column-gap:12px;text-align:left;padding:8px 0 16px}
.pet-hero>.art{grid-row:1/6;grid-column:1;width:140px;height:140px;margin:0;aspect-ratio:1}
.pet-hero>.eyebrow{grid-column:2;align-self:end;font-size:var(--min-label,13px);line-height:1.6;letter-spacing:.12em}
.pet-hero h2{grid-column:2;font-size:20px;line-height:1.4;margin:5px 0}
.pet-hero p{grid-column:2;font-size:var(--min-label,13px);line-height:1.7;margin:0}
.pet-hero>small{grid-column:2;align-self:start;font-size:var(--min-label,13px);line-height:1.6;margin-top:8px}
@media(max-width:360px){.pet-hero{grid-template-columns:115px minmax(0,1fr);gap:8px}.pet-hero>.art{width:115px;height:115px}.pet-hero h2{font-size:18px}}

.screen-content{overflow-x:hidden}.diamond-banner>.art{margin-right:0}

.pet-hero>.pet-tier-badge{grid-column:2;justify-self:start;margin:0 0 5px}
.region-boss-preview{gap:12px}.region-boss-preview>div{min-width:0;flex:1}

/* page */
/* Compact combat proportions and the illustrated profile/settings system. */
.actor.hero{width:43%;height:44%;max-height:240px;left:7%;bottom:25%;transform-origin:50% 90%}
.hero-health{left:17%;bottom:26%;width:20%;max-width:94px}
.battle-pet{left:4%;bottom:25%;width:12%}
.profile-copy{min-width:0}.profile-copy strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}
.profile-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:-3px 0 17px;padding:4px;border:1px solid #826247;border-radius:22px;background:#151020}
.profile-tabs button{border-radius:17px;min-height:33px;font-size:var(--min-label,13px);font-weight:700;color:#bda9c5;border:1px solid transparent}
.profile-tabs button.active{color:#432737;background:linear-gradient(#fff0c5,#dca65e);border-color:#ffe1a0;box-shadow:0 2px 7px #0006}
.spec-identity{display:flex;align-items:center;gap:11px;padding:2px 3px 17px}.spec-identity>.art{width:53px;height:53px;border:1px solid #d6b67b;border-radius:50%}
.spec-identity>div{flex:1;min-width:0}.spec-identity strong{font-size:17px;display:block;color:#f4dfb7;margin:4px 0;overflow:hidden;text-overflow:ellipsis}.spec-identity small{font-size:var(--min-label,13px);letter-spacing:1.6px;color:#a98eaa}.spec-identity span{font-size:var(--min-label,13px);color:#bba9c2}.spec-identity>b{font-size:20px;color:#f7da9a;text-align:right}.spec-identity>b small{display:block;font-size:var(--min-label,13px);letter-spacing:0;margin-top:5px}
.spec-section{position:relative;padding:13px 16px 9px;margin-bottom:12px;border:1px solid #987952;border-radius:11px;background:linear-gradient(120deg,#f6ecd2,#e5d5af);color:#574638;box-shadow:inset 0 0 0 3px #fff8df88,0 3px 10px #0003}
.spec-section h3{margin:0 0 9px;padding-bottom:9px;border-bottom:1px solid #a68b5e88;color:#6e4e35;font-size:15px;letter-spacing:.2px}.spec-section h3 span{font-size:14px;color:#ac8150}.spec-section dl{margin:0}.spec-section dl>div{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:32px;border-bottom:1px solid #9a7b4c13;padding:5px 0}.spec-section dl>div:last-child{border:0}.spec-section dt{font-size:var(--min-label,13px);font-weight:600}.spec-section dd{margin:0;text-align:right;font-size:14px;font-weight:750;font-variant-numeric:tabular-nums}.spec-section dt small{display:block;font-size:var(--min-label,13px);font-weight:400;color:#8d785b;line-height:1.6}.profile-footnote{font-size:var(--min-label,13px);line-height:1.8;color:#af9ab7;text-align:center;margin:16px 0 9px}.profile-wide{width:100%;min-height:42px;margin-top:10px}
.settings-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:20px 1px 11px}.settings-heading:first-child{margin-top:0}.settings-heading b{font-size:14px;color:#efd5a6}.settings-heading small{font-size:var(--min-label,13px);color:#af98b9}
.switch-list{display:flex;flex-direction:column;gap:8px}.setting-row{position:relative;display:flex;align-items:center;gap:10px;padding:11px 10px;min-height:63px;width:100%;text-align:left;background:linear-gradient(105deg,#392a43,#251d30);border:1px solid #785a7d;border-radius:11px;box-shadow:inset 0 1px #bca3c31c,0 3px 6px #0002}
.setting-row>.setting-icon{width:33px;height:33px;flex-shrink:0;border-radius:7px;filter:drop-shadow(0 2px 2px #0008)}.setting-copy{flex:1;min-width:0}.setting-copy b{font-size:var(--min-label,13px);color:#f1dfc6;display:block}.setting-copy small{font-size:var(--min-label,13px);display:block;color:#b29cbe;margin-top:5px;line-height:1.4}
.switch-face{width:72px;height:33px;position:relative;display:inline-flex;flex-shrink:0;align-items:center;border:1px solid #1d2c20;border-radius:18px;background:linear-gradient(#3d7958,#578e68);box-shadow:inset 0 2px 5px #0c1d2c80,0 1px #d6b988;vertical-align:middle;overflow:hidden}
.switch-word{position:absolute;font-family:Georgia,serif;left:9px;font-weight:bold;font-size:var(--menu-label-size,12px);color:#f2f2cf;text-shadow:0 1px #173d29}.switch-thumb{position:absolute;top:2px;right:2px;width:33px;height:27px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;background:linear-gradient(#fff1d1,#dfb978);border:1px solid #bd8f54;border-radius:16px;box-shadow:0 2px 4px #0007,inset 0 1px #fff7e5}.switch-thumb i{display:block;width:12px;height:2px;background:#ad8552;border-radius:2px}.is-off{background:linear-gradient(#843d47,#ac565e);border-color:#5a2931}.is-off .switch-thumb{right:calc(100% - 36px)}.is-off .switch-word{left:auto;right:7px;color:#ffe1cf;text-shadow:0 1px #642631}
.setting-row:focus-visible,.profile-tabs button:focus-visible,.profile-links button:focus-visible{outline:2px solid #f7dd9b;outline-offset:3px}.settings-link{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:44px;font-size:var(--min-label,13px);color:#d4bfde;border-bottom:1px solid #715578;padding:10px 3px}.settings-link span{font-size:var(--min-label,13px);color:#cdae7f}.compact-switches{margin-top:14px}
.battle-controls .check-control{min-height:32px;padding:3px 6px 3px 8px;gap:6px;font-size:10px;background:#1a142de6;box-shadow:0 2px 6px #0004}.battle-controls .switch-face{width:43px;height:22px;border-radius:12px}.battle-controls .switch-word{font-size:8px;left:4px}.battle-controls .switch-thumb{width:20px;height:17px;top:1px;right:1px;gap:2px}.battle-controls .switch-thumb i{width:7px;height:1px;border:0;border-radius:1px;background:#ad8552}.battle-controls .is-off .switch-thumb{right:calc(100% - 22px)}.battle-controls .is-off .switch-word{left:auto;right:3px}.battle-speed{min-height:30px}
.identity-heading{display:flex;align-items:center;gap:10px;padding:7px 0 18px;border-bottom:1px solid #725771}.identity-heading>.art{width:63px;height:63px;border-radius:50%;border:2px solid #d5ae6b}.identity-heading>div{min-width:0;flex:1}.identity-heading strong{display:block;color:#f5dbb1;font-size:18px;overflow-wrap:anywhere}.identity-heading span,.identity-heading small{display:block;font-size:var(--min-label,13px);color:#c0adc9;margin-top:6px}.identity-heading small{color:#937c9e;font-size:var(--min-label,13px)}.edit-name{font-size:22px;color:#ecc18a;border:1px solid #93734c;background:#4d3447;width:32px;height:32px;border-radius:50%}
.profile-body{display:grid;grid-template-columns:44% 56%;margin:18px 0}.profile-character{display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px dashed #8f7356;margin-right:10px;padding-right:10px;min-width:0}.profile-character .paperdoll{width:100%;height:170px;max-width:155px}.profile-character small{font-size:var(--min-label,13px);color:#cdb8d3;text-align:center;margin:10px 0}.profile-character .gold-button{width:95%;font-size:var(--min-label,13px);min-height:34px}.profile-links{display:flex;flex-direction:column;gap:9px;padding-left:4px}.server-status{font-size:var(--min-label,13px);color:#dfc8a1;display:flex;align-items:center;gap:5px}.server-status i,.gm-session-label i{width:6px;height:6px;border-radius:50%;background:#a1da9f;box-shadow:0 0 8px #75b875;display:inline-block}.profile-links>small{font-size:var(--min-label,13px);color:#ac96b6;margin-bottom:3px}.profile-links>button{position:relative;display:flex;align-items:center;gap:6px;min-height:37px;padding:5px 8px;border:1px solid #b69263;border-radius:19px;background:linear-gradient(#564260,#332b47);box-shadow:inset 0 0 0 2px #24192c,0 2px 3px #0006;font-size:var(--min-label,13px);color:#f0debf}.profile-links>button>.art{width:22px;height:22px;border-radius:5px}.link-arrow{margin-left:auto;font-size:17px;color:#c8a16a}.local-account-note{border:1px solid #6c516e;border-radius:9px;background:#21192e;padding:12px}.local-account-note b{font-size:var(--min-label,13px);color:#d7b78c}.local-account-note p{font-size:var(--min-label,13px);line-height:1.8;color:#ae98ba;margin:7px 0 0}.profile-input{width:100%;height:45px;padding:10px 12px;border:1px solid #bd945c;border-radius:8px;background:#130e20;color:#f5e1bd;font-size:16px;margin:8px 0 14px}.field-label{display:block;font-size:var(--min-label,13px);color:#dec296;margin-top:20px}
.menu-profile-card{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #a07b54;border-radius:11px;background:linear-gradient(115deg,#534055,#272033);cursor:pointer;margin-bottom:12px}.menu-profile-card>.art{width:46px;height:46px;border-radius:50%}.menu-profile-card>div{flex:1}.menu-profile-card b{font-size:15px;color:#f1d8b0}.menu-profile-card span{display:block;font-size:var(--min-label,13px);color:#c6aecb;margin-top:6px}.menu-profile-card>strong{font-size:24px;color:#dab478}.menu-utilities{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;padding-bottom:15px;border-bottom:1px solid #7f5d70;margin-bottom:17px}.menu-utilities>button{position:relative;display:flex;align-items:center;gap:7px;flex-direction:column;font-size:var(--min-label,13px);color:#d7c1dc;padding:8px 2px;background:#33243d;border:1px solid #684c74;border-radius:10px}.menu-utilities .art{width:32px;height:32px}.notice-pip{display:block;background:#e45d6c;border:1px solid #ffb6a2;border-radius:50%;width:7px;height:7px;position:absolute;top:5px;right:7px;box-shadow:0 0 7px #d8365399}
.notice-intro{color:#aa91b5;font-size:var(--min-label,13px);padding:5px 2px 16px}.notice-intro b{display:block;color:#f3d9b1;font-size:24px;margin-top:5px}.game-notice{border:1px solid #77567d;background:linear-gradient(120deg,#32243e,#231c2f);border-radius:10px;margin-bottom:12px;padding:16px}.game-notice>div{display:flex;align-items:center;justify-content:space-between}.game-notice>div span{font-size:var(--min-label,13px);background:#61475f;color:#eace9e;border:1px solid #977550;border-radius:12px;padding:3px 8px}.game-notice time{font-size:var(--min-label,13px);color:#aa92b4}.game-notice h3{font-size:14px;color:#f1d8ac;margin:14px 0 10px}.game-notice p{font-size:var(--min-label,13px);color:#c5b2cf;line-height:1.9;margin:0}
.connection-heading,.support-intro{text-align:center;padding:8px 0 20px}.connection-heading>.art,.support-intro>.art{width:78px;height:78px;border-radius:15px}.connection-heading h3,.support-intro h3{font-size:21px;color:#f4d9ad;margin:12px 0 8px}.connection-heading p,.support-intro p{font-size:var(--min-label,13px);color:#b8a0c2}.server-card{display:flex;align-items:center;gap:11px;border:1px solid #ac8c56;background:linear-gradient(110deg,#3a3340,#282533);border-radius:12px;padding:16px 12px;width:100%;text-align:left;margin-bottom:12px}.server-card>span:nth-child(2){flex:1}.server-card b{font-size:14px;color:#f3debd}.server-card small{display:block;font-size:var(--min-label,13px);color:#b9acc0;margin-top:6px}.server-card>strong{font-size:var(--min-label,13px);color:#abe2b0}.server-orb{width:11px;height:11px;border:1px solid #d4e3b8;border-radius:50%;background:radial-gradient(circle at 30% 20%,#edf3b6,#4caa72 50%,#245f48);box-shadow:0 0 10px #57a07866;display:inline-block;flex-shrink:0}.server-card.unavailable{opacity:.5;border-color:#68556a}.unavailable .server-orb{filter:grayscale(1)}.unavailable>strong{color:#b8a5c1}
.help-item{border:1px solid #705277;border-radius:9px;margin-bottom:8px;background:#2c2137}.help-item summary{cursor:pointer;padding:14px 12px;font-size:var(--min-label,13px);color:#ecd1a6;line-height:1.5}.help-item p{padding:0 13px 14px;margin:0;font-size:var(--min-label,13px);line-height:1.9;color:#bfabc9}.diagnostic-copy{white-space:pre-wrap;user-select:text;padding:15px;font-size:var(--min-label,13px);line-height:1.8;border:1px solid #785a80;margin-top:12px}.save-status{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #677c62;background:#2c3632;border-radius:11px}.save-status b{font-size:13px;color:#d9e4b9}.save-status small{display:block;font-size:var(--min-label,13px);color:#b2bba6;margin-top:6px}.save-actions{display:grid;gap:10px;margin:20px 0}.save-actions button{min-height:44px}.danger-zone{margin-top:30px;padding-top:17px;border-top:1px solid #714c62}.danger-zone>b{font-size:var(--min-label,13px);color:#de959d}.danger-zone>p{font-size:var(--min-label,13px);color:#b49aaa}.danger-zone button{padding:9px 12px;border:1px solid #a26069;border-radius:8px;font-size:var(--min-label,13px);color:#ecb0b6;background:#412635}
.gm-hero{text-align:center;padding:10px 0 16px}.gm-hero>.art{width:82px;height:82px;display:block;margin:0 auto 13px}.gm-hero>span{font-size:var(--min-label,13px);letter-spacing:2px;color:#d5a65b}.gm-hero h3{font-size:24px;color:#f0d4a1;margin:9px 0 12px}.gm-hero p{font-size:var(--min-label,13px);line-height:1.9;color:#c1aecd}.test-explainer{border:1px solid #715571;border-radius:11px;overflow:hidden}.test-explainer>div{padding:13px 14px;border-bottom:1px solid #65476a;background:#2a2034}.test-explainer>div:last-child{border:0}.test-explainer b{display:block;font-size:var(--min-label,13px);color:#e8c995;margin-bottom:6px}.test-explainer span{font-size:var(--min-label,13px);line-height:1.6;color:#bda6c9}.gm-session-label{font-size:var(--min-label,13px);color:#e7bc79;text-align:center;padding:0 0 15px}.gm-session-label i{background:#e6ac5a;margin-right:6px;box-shadow:0 0 7px #df8a41}.gm-toggle{border-color:#ae8649}.gm-tools{padding:0;margin:20px 0;border:0;min-width:0}.gm-tools legend{color:#e3c48f;font-size:13px;margin-bottom:10px}.gm-tools:disabled{opacity:.35}.gm-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.gm-action-grid button{min-height:66px;border:1px solid #705775;background:linear-gradient(#3d2d49,#2b2236);border-radius:9px;padding:10px 6px}.gm-action-grid b{display:block;font-size:var(--min-label,13px);color:#eed8b4}.gm-action-grid small{display:block;font-size:var(--min-label,13px);color:#b29bbf;margin-top:7px}.gm-tools h4{color:#d6b889;font-size:var(--min-label,13px);margin:20px 0 10px}.gm-region-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.gm-region-grid>div{display:flex;border:1px solid #785a74;border-radius:8px;overflow:hidden}.gm-region-grid button{font-size:var(--min-label,13px);min-height:37px;padding:6px;flex:1;background:#37243e}.gm-region-grid button:last-child{flex:0 0 34px;color:#e5b78b;border-left:1px solid #785a74;background:#4c2b3c}.gm-stage-input{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:18px}.gm-stage-input label{font-size:var(--min-label,13px);color:#cfb9d3}.gm-stage-input input{min-width:0;flex:1;width:60px;height:38px;border:1px solid #9d7d56;border-radius:6px;background:#170e23;color:#f2deb7;padding:8px}.gm-stage-input button{min-height:38px;font-size:var(--min-label,13px)}.gm-exit{width:100%;padding:14px;border:1px solid #d69b65;border-radius:9px;color:#f2cb9b;background:#573d3b;font-size:var(--min-label,13px)}.test-ribbon{position:absolute;z-index:34;bottom:74px;left:8px;right:8px;background:#704324f2;border:1px solid #e6ac63;border-radius:7px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 2px 10px #0008}.test-ribbon[hidden]{display:none}.test-ribbon button{padding:8px 10px;font-size:var(--menu-label-size,10px);color:#ffe4ac}.test-ribbon button:last-child{border-left:1px solid #d39d64;color:white}
.power-saving .actor,.power-saving .battle-pet,.power-saving .landscape,.power-saving .battle-weather,.power-saving .weather-spark{animation:none!important;transition:none!important}.power-saving #effects,.power-saving #skillFx,.power-saving #fxLayer,.power-saving #battleWeather{display:none}
@media(max-width:350px){.setting-row{padding:10px 8px;gap:7px}.setting-row>.setting-icon{width:27px;height:27px}.setting-copy b{font-size:var(--min-label,13px)}.setting-copy small{font-size:var(--min-label,13px)}.switch-face{width:65px}.switch-thumb{width:29px}.is-off .switch-thumb{right:calc(100% - 32px)}.switch-word{font-size:var(--menu-label-size,11px);left:7px}.is-off .switch-word{right:6px}.spec-section{padding:11px 12px 7px}.spec-section dd{font-size:var(--min-label,13px)}.spec-section dt{font-size:var(--min-label,13px)}.profile-tabs button{font-size:var(--min-label,13px)}.profile-body{grid-template-columns:42% 58%}.profile-links>button{font-size:var(--min-label,13px);padding-inline:6px}.profile-links>button>.art{width:18px;height:18px}.profile-character .paperdoll{height:155px}.battle-controls{gap:5px;left:9px;right:9px}.battle-controls .check-control{gap:4px;padding-inline:5px;font-size:9px}.spec-identity>b{font-size:17px}.spec-identity strong{font-size:15px}}

.gear-lock-switch{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#32243c;border:1px solid #846783;border-radius:9px;padding:7px 10px;font-size:var(--min-label,13px);color:#e4cba8;min-height:42px}

/* page */
.mail-letter{padding:15px;border:1px solid #a28067;border-radius:13px;background:linear-gradient(130deg,#3d2b43,#211a2c)}.mail-letter-heading{display:flex;align-items:center;gap:9px;padding-bottom:14px;border-bottom:1px solid #9c7c583b}.mail-letter-heading>.art{width:35px;height:35px;flex-shrink:0}.mail-letter-heading>span:not(.art){flex:1;color:#d8b685;font-size:var(--min-label,13px)}.mail-letter-heading small{display:block;color:#a991b0;font-size:var(--min-label,13px);margin-top:5px}.mail-status{font-size:var(--min-label,13px);padding:5px 8px;border-radius:12px;background:#70503c;color:#ffe1a0;border:1px solid #c29658;white-space:nowrap}.mail-status.received{background:#2d4a3d;border-color:#6eaa83;color:#b8e6ba}.mail-letter>h3{font-size:16px;color:#f5d7a4;margin:20px 0 12px}.mail-letter>p{font-size:var(--min-label,13px);line-height:1.9;color:#d1bdcf;margin-bottom:20px}.mail-reward-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mail-reward{position:relative;min-width:0;text-align:center;padding:13px 4px 11px;border:1px solid #8c7094;border-radius:10px;background:linear-gradient(#46334f,#2b2135);overflow:hidden}.mail-reward-icon{position:relative;width:58px;height:58px;max-width:100%;margin:0 auto 10px}.mail-reward-icon>.art{width:100%;height:100%;border-radius:9px}.mail-reward>strong{display:block;font-size:var(--min-label,13px);color:#f0d6aa;line-height:1.6}.mail-reward>strong>b{display:block;font-size:16px}.mail-reward>small{display:block;font-size:var(--min-label,13px);margin-top:6px;color:#beabd0}.mail-reward.claimed{border-color:#57765d;background:linear-gradient(#2f2e36,#222129)}.mail-reward.claimed .art{opacity:.38;filter:saturate(.3)}.mail-reward.claimed>strong{color:#c1b2b3}.mail-reward.claimed>small{color:#9bd6a7}.received-check{position:absolute;inset:0;display:grid;place-items:center;font-size:42px;font-weight:900;color:#bde8b0;text-shadow:0 2px #23482d,0 0 13px #90d49caa;-webkit-text-stroke:1px #477c53}.received-stamp{position:absolute;top:6px;right:-4px;transform:rotate(10deg);font-size:var(--min-label,13px);font-weight:700;color:#c6e8bf;border:1px solid #8ac199;border-radius:3px;padding:2px 4px;background:#244531e8}.mail-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:17px 0 12px;font-size:var(--min-label,13px);color:#bba7c3}.mail-summary b{color:#c9d9b1;font-size:var(--min-label,13px)}.mail-claim-button{width:100%;min-height:43px;font-size:var(--min-label,13px)}.mail-claim-button:disabled{background:linear-gradient(#445545,#2d3e34);border-color:#7c9879;color:#bdd7b5;opacity:1;box-shadow:none}.mail-claim-animation .received-check{animation:mailStamp .55s cubic-bezier(.2,.8,.3,1) both;animation-delay:var(--claim-delay)}.mail-claim-animation .mail-reward{animation:mailClaimGlow .9s ease-out;animation-delay:var(--claim-delay)}@keyframes mailStamp{0%{opacity:0;transform:scale(2.2) rotate(-18deg)}65%{opacity:1;transform:scale(.9) rotate(5deg)}100%{opacity:1;transform:scale(1)}}@keyframes mailClaimGlow{30%{box-shadow:0 0 20px #b5eb9f88,inset 0 0 16px #bcdfa555}}
.mission-card{padding:14px;margin-bottom:12px;transition:border-color .2s;background:linear-gradient(120deg,#34253d,#251c31)}.mission-card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.mission-card-heading h3{font-size:14px;margin:0;line-height:1.5}.mission-status{flex-shrink:0;border:1px solid #77637e;border-radius:12px;padding:3px 7px;font-size:var(--min-label,13px);color:#bba5c6;background:#21182b}.mission-progress{display:flex;flex-wrap:wrap;justify-content:space-between;gap:7px;margin:13px 0 10px;color:#deccd9;font-size:var(--min-label,13px)}.mission-progress small{font-size:var(--min-label,13px);color:#c2a8c7;line-height:1.5}.mission-card .bar{height:6px;margin:0}.mission-card .action-row{margin-top:12px}.mission-card .gold-button{min-height:39px;font-size:var(--min-label,13px);width:100%}.mission-ready{border-color:#edc176;box-shadow:inset 0 0 23px #cb9b3a1a,0 0 8px #c58e3030}.mission-ready .mission-status{background:#725329;border-color:#d6ac60;color:#ffdfa4}.mission-ready .bar>i{box-shadow:0 0 9px #f9d276}.mission-claimed{border-color:#526858;background:linear-gradient(#282832,#1e1c28)}.mission-claimed h3{color:#a79dac}.mission-claimed .mission-status{background:#294236;border-color:#6b9174;color:#b3d9b2}.mission-claimed .bar>i{background:#5b8c70}.mission-claimed .gold-button:disabled{color:#a5bdab;background:#293e34;border-color:#5f7d65;opacity:1;box-shadow:none}.mission-progress+.bar:has(+.action-row button:disabled){opacity:.75}.mission-list-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0 10px}.mission-list-summary b{font-size:var(--min-label,13px);color:#e9c993}.mission-list-summary small{display:block;font-size:var(--min-label,13px);color:#a88eaf;margin-top:6px}.mission-list-summary>span{font-size:var(--min-label,13px);color:#b3d2b8;white-space:nowrap}.mission-reset{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #674d6d;background:#21182d;border-radius:7px;font-size:var(--min-label,13px);color:#a994b3;padding:8px 10px;margin-bottom:13px}.mission-reset b{font-size:var(--min-label,13px);color:#dfc79d;font-variant-numeric:tabular-nums}
.dungeon-reset-banner{display:flex;align-items:center;gap:9px;padding:11px 10px;border:1px solid #9a7853;border-radius:9px;background:linear-gradient(90deg,#483341,#2c2335);box-shadow:inset 0 0 0 2px #201729;margin-bottom:17px}.dungeon-reset-banner>.art{width:28px;height:28px;flex-shrink:0}.dungeon-reset-banner>div{flex:1;min-width:0}.dungeon-reset-banner b{display:block;color:#e9d5b0;font-size:var(--min-label,13px);line-height:1.5}.dungeon-reset-banner small{display:block;color:#b49ab6;font-size:var(--min-label,13px);margin-top:4px;line-height:1.5}.dungeon-reset-banner>span{text-align:right;flex-shrink:0}.dungeon-reset-banner>span>small{font-size:var(--min-label,13px);margin-top:0}.dungeon-reset-banner strong{display:block;font-size:13px;color:#bce19b;margin-top:4px;font-variant-numeric:tabular-nums;text-shadow:0 1px #111}.realm-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 2px 12px}.realm-section-title b{font-size:13px;color:#ecd09d}.realm-section-title span{font-size:var(--min-label,13px);color:#b29bc0}
.realm-banner{--realm-color:#be9655;position:relative;isolation:isolate;overflow:hidden;min-height:210px;margin:0 0 15px;border:2px solid #bc945b;border-radius:10px;background:#1d1728;box-shadow:inset 0 0 0 2px #403045,0 4px 14px #0005}.realm-landscape{position:absolute;inset:0;background-image:var(--realm-scene);background-size:cover;background-position:center 52%;z-index:-3;filter:brightness(.82) saturate(.9)}.realm-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#100b20df,transparent 48%,#171020b3),linear-gradient(90deg,transparent 30%,#16112780 53%,#151022dd)}.realm-subject{position:absolute;z-index:-2;left:-7%;bottom:-14%;width:64%;aspect-ratio:1;pointer-events:none;filter:drop-shadow(0 5px 4px #04020dcc)}.realm-subject>.art{width:100%;height:100%;background-color:transparent;border-radius:0;mask-image:radial-gradient(ellipse at center,#000 36%,#000e 51%,transparent 73%)}.realm-subject.creature-subject{left:-3%;bottom:-7%;width:61%}.realm-subject.creature-subject>.art{mask-image:none}.realm-heading{position:relative;display:flex;gap:10px;align-items:flex-start;padding:10px 9px 0 11px}.realm-ribbon{position:relative;flex-shrink:0;display:grid;place-items:center;width:31px;height:44px;margin-top:-10px;padding-top:7px;background:linear-gradient(90deg,#674932,#b18640 40%,#6b462c);clip-path:polygon(0 0,100% 0,100% 100%,50% 83%,0 100%);filter:drop-shadow(0 2px 3px #0006)}.realm-ribbon>.art{width:23px;height:23px;border-radius:4px}.realm-heading>div{flex:1;min-width:0;text-shadow:0 2px 3px #050410,0 0 8px #070312}.realm-heading>div>span{display:block;font-size:var(--min-label,13px);letter-spacing:.08em;color:#efd6aa;margin:0 0 4px}.realm-heading h3{margin:0;font-size:20px;line-height:1.2;color:#fff0c9;letter-spacing:-.03em}.realm-heading p{font-size:var(--min-label,13px);color:#c6b5cf;margin:6px 0 0;line-height:1.6}.realm-info{flex-shrink:0;width:26px;height:26px;border-radius:50%;border:1px solid #bd955a;color:#f1d599;background:linear-gradient(#70533c,#3e2d36);font-family:Georgia,serif;font-size:18px;font-weight:bold;box-shadow:0 2px 4px #0008}.realm-rewards{position:absolute;left:11px;bottom:10px;width:40%;line-height:1.5;text-shadow:0 1px 3px #000,0 0 6px #0a0315}.realm-rewards>small{font-size:var(--min-label,13px);color:#c7ac8c;display:block}.realm-rewards>b{font-size:var(--min-label,13px);color:#f9ddb0;font-weight:600;display:block;margin-top:3px}.realm-controls{position:relative;display:flex;align-items:stretch;flex-direction:column;gap:5px;width:49%;margin:18px 10px 12px auto}.realm-entry-count{display:flex;align-items:center;justify-content:center;gap:5px;min-height:28px;padding:2px 5px;border:1px solid #92818b99;border-radius:16px;background:#130f22c9;box-shadow:inset 0 2px 6px #0006}.realm-entry-count>.art{height:22px;width:22px;border-radius:4px;flex-shrink:0}.realm-entry-count>b{font-size:var(--min-label,13px);white-space:nowrap;font-weight:600;color:#f0e5d6}.realm-entry-hint{font-size:var(--min-label,13px);color:#c6b1c9;text-align:center;line-height:1.5;text-shadow:0 1px #171020}.realm-enter{display:flex;align-items:center;justify-content:center;gap:8px;position:relative;min-height:40px;padding:7px 13px;border-radius:22px;border:2px solid #edce86;box-shadow:0 0 0 2px #3b2c27,inset 0 0 0 2px #779e54,0 4px 6px #08080c99;background:linear-gradient(#84a953,#507d34);font-size:17px;line-height:1.1;color:#fff1c6;font-weight:800;text-shadow:0 2px #314b20;letter-spacing:.05em}.realm-enter>span{position:absolute;right:11px;font-size:20px;opacity:.75}.realm-enter:active{transform:translateY(1px)}.realm-enter:disabled{background:linear-gradient(#5e535d,#403845);color:#b2a6b0;border-color:#89766a;box-shadow:0 0 0 2px #28202d,inset 0 0 0 2px #514553;font-size:var(--min-label,13px);text-shadow:none;opacity:1}.realm-enter:disabled>span{display:none}.realm-difficulty{display:flex;align-items:center;justify-content:space-between;border-radius:12px;background:#1d152ba8;border:1px solid #b1996a66;min-height:24px}.realm-difficulty button{font-size:19px;line-height:1;width:32px;height:26px;color:#f4d297}.realm-difficulty button:disabled{opacity:.3}.realm-difficulty b{font-size:var(--min-label,13px);color:#efd5ae}.featured-realm{min-height:226px}.featured-realm .realm-controls{margin-top:39px}.featured-realm .realm-subject{width:69%;bottom:-11%;left:-7%}.featured-realm .realm-heading h3{font-size:23px}.realm-corner{position:absolute;width:12px;height:12px;border:2px solid #f7dba2;pointer-events:none;opacity:.9}.realm-corner.tl{top:3px;left:3px;border-right:0;border-bottom:0}.realm-corner.tr{top:3px;right:3px;border-left:0;border-bottom:0}.realm-corner.bl{bottom:3px;left:3px;border-right:0;border-top:0}.realm-corner.br{bottom:3px;right:3px;border-left:0;border-top:0}.tone-red .realm-ribbon{background:linear-gradient(90deg,#5d2433,#a94745,#542438)}.tone-blue .realm-ribbon{background:linear-gradient(90deg,#29495b,#578eab,#34475e)}.tone-violet .realm-ribbon{background:linear-gradient(90deg,#3d2b59,#8661a8,#422a56)}.tone-teal .realm-ribbon{background:linear-gradient(90deg,#294e4e,#4a8b7a,#25494c)}.tone-steel .realm-ribbon{background:linear-gradient(90deg,#3c4052,#797a92,#38384a)}.realm-more{width:100%;display:flex;align-items:center;justify-content:space-between;padding:15px;border:1px solid #977250;border-radius:10px;background:linear-gradient(#483147,#2d2336);color:#e8c8a0;font-size:var(--min-label,13px);margin:4px 0 6px}.realm-more>span{font-size:21px}.dungeon-guide-art{height:165px;display:flex;justify-content:center;border:1px solid #896851;border-radius:11px;background-image:linear-gradient(#17112533,#16102499),var(--realm-scene);background-size:cover;background-position:center;overflow:hidden}.dungeon-guide-art>.art{height:180px;width:180px;background-color:transparent;mask-image:radial-gradient(ellipse,#000 42%,transparent 73%)}.dungeon-guide-title{font-size:21px;color:#f0d09c;text-align:center;margin:18px 0}.dungeon-guide-copy{font-size:var(--min-label,13px);line-height:1.9;color:#c9b3d0;padding:5px 0}
@media(max-width:350px){.mail-letter{padding:12px}.mail-reward-grid{gap:5px}.mail-reward-icon{width:48px;height:48px}.mail-reward>strong{font-size:var(--min-label,13px)}.mail-reward>strong>b{font-size:14px}.received-stamp{font-size:var(--min-label,13px)}.received-check{font-size:35px}.mail-status{font-size:var(--min-label,13px);padding:4px 6px}.mission-card{padding:12px}.mission-card-heading h3{font-size:var(--min-label,13px)}.mission-status{font-size:var(--min-label,13px);padding:3px 6px}.mission-progress small{font-size:var(--min-label,13px)}.dungeon-reset-banner{gap:6px;padding:9px 7px}.dungeon-reset-banner>.art{width:23px;height:23px}.dungeon-reset-banner b{font-size:var(--min-label,13px)}.dungeon-reset-banner small{font-size:var(--min-label,13px)}.dungeon-reset-banner strong{font-size:var(--min-label,13px)}.realm-banner{min-height:200px}.realm-heading h3{font-size:18px}.realm-heading p{font-size:var(--min-label,13px)}.realm-heading{gap:8px}.realm-controls{width:51%;margin-right:8px;margin-top:16px}.realm-entry-count>b{font-size:var(--min-label,13px)}.realm-entry-count>.art{width:19px;height:19px}.realm-entry-hint{font-size:var(--min-label,13px)}.realm-enter{font-size:15px;min-height:37px}.realm-rewards{width:38%;left:8px}.realm-rewards>b{font-size:var(--min-label,13px)}.featured-realm{min-height:216px}.featured-realm .realm-heading h3{font-size:21px}.realm-ribbon{width:27px}.realm-info{width:24px;height:24px;font-size:17px}}
@media(prefers-reduced-motion:reduce){.mail-claim-animation .received-check,.mail-claim-animation .mail-reward{animation:none}}.low-motion .mail-claim-animation .received-check,.low-motion .mail-claim-animation .mail-reward{animation:none}
/* Keep entry information in normal flow so recommendations cannot cover rewards. */
.recommended-power{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 9px;padding:10px 12px;border:1px solid #806346;border-radius:10px;background:#120f21ed;margin:9px 0;color:#e4d5be;line-height:1.5}
.recommended-power>span{font-size:var(--min-label,13px)}.recommended-power>strong{font-size:14px;font-variant-numeric:tabular-nums;color:#f4d39a}.recommended-power>small{grid-column:1/-1;font-size:var(--min-label,13px);text-align:right;color:#b6a8c6}
.recommended-power.power-ready{border-color:#66998b}.recommended-power.power-ready>strong{color:#b6ecd4}
.realm-briefing>.recommended-power{margin:0 0 2px;padding:6px 9px;gap:1px 5px}.realm-briefing>.recommended-power>span{font-size:var(--min-label,13px)}.realm-briefing>.recommended-power>strong{font-size:var(--min-label,13px)}.realm-briefing>.recommended-power>small{font-size:var(--min-label,13px)}
.realm-banner[data-dungeon="tower"]{min-height:245px}.realm-banner[data-dungeon="tower"] .realm-subject{opacity:.85;width:50%;left:-2%;bottom:0}
.tower-continue{margin:14px 0;padding:13px;border:1px solid #bb985f;border-radius:12px;background:linear-gradient(135deg,#38283f,#1e192d)}
.tower-continue>b{display:block;color:#ffe1a4;text-align:center}.tower-continue>.gold-button{width:100%;min-height:43px}
.tower-content-hero{background:linear-gradient(#12102566,#121025d9),var(--tower-interior) center 62%/cover;border:1px solid #aa895f;border-radius:12px;padding:14px}

.recommended-power>.recommendation-note{grid-column:1/-1;font-size:var(--min-label,13px);line-height:1.5;font-style:normal;color:#d7c6aa;text-align:left}.realm-briefing>.recommended-power>.recommendation-note{font-size:var(--min-label,13px)}

/* page */
/* Star-filled town and wardrobe share the game's purple/gold materials. */
:root{--town-map:url('./assets/5f44d42dbffe2f7a32ec.webp')}
.town-screen .screen-content{padding:0 0 14px}.town-screen .screen-head{height:65px}.town-screen .screen-head h1{font-size:25px}.town-welcome{display:flex;align-items:center;justify-content:space-between;padding:12px 15px;background:linear-gradient(110deg,#2e213d,#18162a);border-bottom:1px solid #9b7c4d77}.town-welcome small{display:block;color:#b5a2be;font-size:var(--min-label,13px);margin-bottom:4px}.town-welcome b{font-size:19px;color:#f5d49e}.town-welcome>span{font-size:var(--min-label,13px);color:#c9b7c9}.town-map{position:relative;width:100%;aspect-ratio:2/3;background:var(--town-map) center/100% 100% no-repeat;isolation:isolate}.town-map:after{content:'';position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 24px #16112699;background:linear-gradient(transparent 84%,#151122aa)}
.town-building{position:absolute;left:var(--place-x);top:var(--place-y);width:44%;height:23%;transform:translate(-50%,-72%);z-index:2;display:flex;align-items:flex-end;justify-content:center;min-height:55px;filter:drop-shadow(0 3px 3px #090616)}.town-building:focus-visible{outline:2px solid #ffe8af;outline-offset:3px;border-radius:25%}.town-hit-area{position:absolute;inset:0}.town-nameplate{position:relative;display:block;min-width:89%;padding:7px 10px 6px;background:linear-gradient(#664559,#2d233b);border:1px solid #dbbc7a;border-radius:6px 6px 14px 14px;box-shadow:inset 0 0 0 2px #2e1e32,inset 0 3px #cda87d55,0 3px 0 #281425;text-shadow:0 2px #1c0e1c}.town-nameplate:before,.town-nameplate:after{content:'';position:absolute;top:8px;color:#e2bf77;font-size:var(--min-label,13px);display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask:var(--ui-spark) center/contain no-repeat;mask:var(--ui-spark) center/contain no-repeat}.town-nameplate:before{left:5px}.town-nameplate:after{right:5px}.town-nameplate b{font-size:14px;font-weight:800;color:#fff0c7}.town-nameplate small{display:block;font-size:var(--min-label,13px);color:#c9b5d5;margin-top:3px}.town-building.online .town-nameplate{background:linear-gradient(#584a7c,#292542)}.town-building.reward-ready .town-nameplate{border-color:#f7df90;box-shadow:0 0 15px #f9d17666}.town-nameplate .notice-pip{top:-5px;right:-5px}.town-map-caption{position:absolute;bottom:2.8%;left:0;right:0;text-align:center;color:#e8d5ab;font-size:var(--min-label,13px);letter-spacing:4px;z-index:2}.town-quick-links{display:flex;gap:7px;padding:13px 12px 0}.town-quick-links>button{flex:1;min-width:0;font-size:var(--min-label,13px);min-height:37px}.town-list-intro{padding:22px 16px 16px}.town-list-intro>span{font-size:var(--min-label,13px);color:#c3a0c8}.town-list-intro h2{font-size:23px;color:#f6d89f;margin:7px 0}.town-list-intro p{font-size:var(--min-label,13px);color:#bdaaC6;margin:0}.town-directory{display:grid;gap:11px;padding:0 12px}.town-directory-card{display:flex;align-items:center;gap:13px;min-height:106px;padding:14px 12px;text-align:left;border:1px solid #9d7b58;border-radius:10px;background:linear-gradient(115deg,#4b3158,#231b32);box-shadow:inset 0 0 0 3px #23192e}.town-directory-card>.art{width:68px;height:68px;flex:0 0 68px;aspect-ratio:1;border-radius:10px}.town-directory-card>span:not(.art){flex:1;min-width:0}.town-directory-card strong{display:block;font-size:16px;color:#f5d6a2}.town-directory-card small{display:block;font-size:var(--min-label,13px);line-height:1.6;margin:5px 0;color:#c9b4cc}.town-directory-card em{font-size:var(--min-label,13px);font-style:normal;display:inline-block;padding:3px 8px;border:1px solid #8d76a3;border-radius:9px;color:#d1badf;background:#272136}.town-directory-card>b{color:#ddbd79;font-size:24px}.town-service-note{padding:3px 16px}.town-directory-link{width:100%;display:flex;align-items:center;gap:11px;padding:14px 12px;text-align:left;margin:17px 0 0;border:1px solid #a78355;border-radius:9px;background:#32283d}.town-directory-link>.art{width:42px;height:42px;flex:0 0 42px;aspect-ratio:1}.town-directory-link>span:not(.art){flex:1}.town-directory-link b{display:block;color:#edcf97;font-size:14px}.town-directory-link small{display:block;color:#c1aacd;font-size:var(--min-label,13px);margin-top:4px}.town-directory-link>strong{font-size:24px;color:#cdaa71}
.online-place-hero{text-align:center;padding:10px 0 20px;background:radial-gradient(ellipse at center,#54376477,transparent 70%)}.online-place-hero>.art{display:block;width:110px;height:110px;margin:0 auto 15px;border-radius:15px}.online-place-hero>small{font-size:var(--min-label,13px);letter-spacing:2px;color:#b699c3}.online-place-hero h3{font-size:24px;margin:10px 0;color:#f4d39d}.online-place-hero p{font-size:var(--min-label,13px);color:#c4accd}.online-opening{padding:16px;border:1px solid #7d618e;border-radius:10px;background:#2a2235;margin:0 0 18px}.online-opening b{font-size:14px;color:#d7c0e0}.online-opening p{font-size:var(--min-label,13px);line-height:1.8;margin:9px 0 0;color:#b5a1c1}
.mailbox-summary{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:2px 0 14px}.mailbox-summary>b{font-size:14px;color:#edcfa2}.mailbox-summary>b>span{color:#b9d3ea;margin-left:5px}.mailbox-summary>small{font-size:var(--min-label,13px);color:#bba9c5}.mailbox-tabs{display:flex;gap:6px;margin-bottom:13px}.mailbox-tabs>button{font-size:var(--min-label,13px);border:1px solid #715e7e;border-radius:16px;padding:7px 14px;color:#bca8c9;background:#21192d}.mailbox-tabs>button.active{background:#64443d;border-color:#c79e61;color:#ffe5b0}.mailbox-list{display:grid;gap:8px;min-height:110px}.mail-list-row{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr) auto 7px;gap:8px;align-items:center;width:100%;min-height:86px;text-align:left;padding:12px 10px;border:1px solid #8c6d59;border-radius:7px;background:linear-gradient(110deg,#483441,#2b2236);box-shadow:inset 3px 0 #bc9257}.mail-list-row.unread{border-color:#dfb976;background:linear-gradient(110deg,#574052,#31243f)}.mail-list-row.read{background:linear-gradient(110deg,#352d3b,#251f2e);box-shadow:inset 3px 0 #677969}.mail-list-row>.mail-row-envelope{width:34px;height:34px;flex-shrink:0;border-radius:5px}.mail-row-text{min-width:0}.mail-row-text>strong{display:block;color:#f1d8b0;font-size:var(--min-label,13px);line-height:1.4;overflow-wrap:anywhere}.mail-row-text>small{display:block;font-size:var(--min-label,13px);color:#b9a5bf;margin-top:7px;line-height:1.5}.mail-row-text i{font-style:normal;margin:0 2px}.mail-row-rewards{display:flex;gap:3px}.mail-mini-reward{position:relative;width:25px;height:32px;display:block}.mail-mini-reward>.art{width:25px;height:25px;border-radius:4px}.mail-mini-reward>b{position:absolute;bottom:-2px;left:0;right:0;text-align:center;font-size:var(--min-label,13px);color:#ecd1a4;text-shadow:0 1px 2px #000}.mail-mini-reward.claimed>.art{opacity:.4;filter:saturate(.25)}.mail-mini-reward>.received-check{font-size:23px;bottom:8px;-webkit-text-stroke:.5px #386440;font-style:normal}.mail-received .mail-row-text>small{color:#a2c7a7}.mail-row-arrow{font-size:17px;color:#c3a46f}.mail-info-label{font-size:var(--min-label,13px);font-weight:400;color:#bba9c8;border:1px solid #786488;border-radius:8px;padding:3px 8px}.mailbox-actions{position:sticky;bottom:-16px;display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:17px 0 12px;background:linear-gradient(#20182aee,#20182a);margin-top:8px;border-top:1px solid #795f734f}.mailbox-actions>button{min-height:42px;font-size:var(--min-label,13px)}.mailbox-actions>.muted-button{border-color:#96786a;background:linear-gradient(#66484e,#392731)}.mailbox-actions .gold-button:disabled{color:#b0cbb5;background:#314739;border-color:#617f67;opacity:1;box-shadow:none}.mail-undo{display:block;font-size:var(--min-label,13px);text-decoration:underline;color:#bca7d0;margin:4px auto 0}.mailbox-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:190px;color:#b2a0be}.mailbox-empty .art{width:50px;height:50px;opacity:.5}.mailbox-empty b{font-size:13px}.mailbox-empty small{font-size:var(--min-label,13px)}.mail-detail-sender{display:flex;align-items:center;gap:9px;padding-bottom:15px;border-bottom:1px solid #7c607854}.mail-detail-sender>.art{width:36px;height:36px;flex:0 0 36px;aspect-ratio:1;border-radius:6px}.mail-detail-sender>span:not(.art){flex:1;min-width:0;font-size:var(--min-label,13px);color:#d7b384}.mail-detail-sender small{display:block;font-size:var(--min-label,13px);color:#a88fb4;margin-top:4px}.mail-detail-sender>b{font-size:var(--min-label,13px);color:#aed7b6}.mail-detail h3{font-size:18px;color:#f4d6a3;margin:20px 0 14px}.mail-detail>p{font-size:var(--min-label,13px);line-height:1.9;color:#d2bfd9;margin:0 0 23px}.mail-detail-rewards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:18px}.mail-detail .mail-reward-icon{width:54px;height:54px}
.costume-sprite{filter:none!important}.costume-sprite:not(.costume-0){background-image:var(--outfit);background-size:contain!important;background-position:center bottom!important;background-repeat:no-repeat}.costume-1{--outfit:var(--costume-1)}.costume-2{--outfit:var(--costume-2)}.costume-3{--outfit:var(--costume-3)}.costume-4{--outfit:var(--costume-4)}.costume-5{--outfit:var(--costume-5)}.costume-6{--outfit:var(--costume-6)}.costume-7{--outfit:var(--costume-7)}.actor.hero.dressed-hero{background-image:var(--worn-costume);background-size:contain!important;background-position:center bottom!important;aspect-ratio:1}.wardrobe-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:2px 0 6px}.wardrobe-heading>span{font-size:var(--min-label,13px);letter-spacing:2px;color:#b79ac1}.wardrobe-heading>button{display:flex;gap:6px;align-items:center;font-size:var(--min-label,13px);color:#d1bbd9;border:1px solid #6e587c;border-radius:12px;padding:4px 8px}.wardrobe-heading .art{width:17px;height:17px}.wardrobe-stage{position:relative;height:265px;background:radial-gradient(ellipse at 50% 78%,#86679266,#34274555 42%,transparent 69%);overflow:hidden}.wardrobe-stage:before{content:'';position:absolute;inset:20px 22% 10px;border:1px solid #ad83c224;border-radius:50% 50% 0 0;box-shadow:0 0 0 10px #866c9811,inset 0 0 35px #be9dd522}.wardrobe-stage>.costume-sprite{position:absolute;width:88%;height:235px;left:6%;bottom:23px;z-index:2}.wardrobe-stage>.costume-0{width:235px;left:50%;transform:translateX(-50%)}.wardrobe-pedestal{position:absolute;bottom:19px;left:16%;right:16%;height:32px;border:1px solid #ccac7e88;border-radius:50%;box-shadow:0 5px 0 #291d34,0 0 0 5px #9c809321,0 0 30px #b797c54d;background:radial-gradient(ellipse,#9d7aa842,#241b2f)}.wardrobe-stars{position:absolute;inset:10% 10% 0;background:radial-gradient(circle at 20% 30%,#ffe9af 0 1px,transparent 2px),radial-gradient(circle at 85% 57%,#c4a7ff 0 1px,transparent 2px),radial-gradient(circle at 64% 8%,#e6c9ff 0 1px,transparent 2px)}.wardrobe-prev,.wardrobe-next{position:absolute;top:42%;height:50px;width:32px;font-size:35px;color:#e0bf87;z-index:3}.wardrobe-prev{left:0}.wardrobe-next{right:0}.wardrobe-rarity{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:var(--min-label,13px);color:#c6a9cf}.wardrobe-title{text-align:center;padding:12px 0 5px}.wardrobe-title h2{font-size:23px;margin:0 0 8px;color:#f5d7a2}.wardrobe-title p{font-size:var(--min-label,13px);color:#c9b6d4;margin:0 0 7px}.wardrobe-title>small{font-size:var(--min-label,13px);color:#9b83aa}.wardrobe-collection{display:flex;align-items:center;justify-content:space-between;margin:20px 0 11px;padding-top:14px;border-top:1px solid #78607e70;font-size:var(--min-label,13px);color:#cdb5d4}.wardrobe-collection b{color:#efd29d;margin-left:5px}.wardrobe-collection small{font-size:var(--min-label,13px);color:#b3ccbf}.wardrobe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.wardrobe-card{position:relative;min-width:0;border:1px solid #655173;border-radius:9px;background:linear-gradient(#392c45,#211a2d);padding:8px 4px 10px;overflow:hidden}.wardrobe-card .paperdoll{width:100%;height:90px;margin:0 0 7px}.wardrobe-card .costume-0{height:auto;aspect-ratio:1}.wardrobe-card>strong{font-size:var(--min-label,13px);color:#d9c3e1;display:block;line-height:1.5;min-height:30px}.wardrobe-card>small{font-size:var(--min-label,13px);color:#a893b7;display:block}.wardrobe-card.selected{border-color:#ebc27c;box-shadow:inset 0 0 0 1px #e8c57688,0 0 10px #d6a25122;background:linear-gradient(#674b55,#2f253a)}.wardrobe-card.worn:after{content:'';position:absolute;right:6px;top:5px;color:#b6dfaf;font-size:13px;text-shadow:0 1px #24452e;display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask:var(--ui-check) center/contain no-repeat;mask:var(--ui-check) center/contain no-repeat}.wardrobe-card.unowned .paperdoll{opacity:.76}.wardrobe-card.worn>small{color:#acd6b0}.costume-result-hero{height:120px;width:100%}.costume-exchange-sprite{width:65px;height:75px;flex-shrink:0}.roulette-wheel>.costume-sprite{position:relative;z-index:2;width:78%;height:88%;margin:auto;top:6%}
@media(max-width:350px){.town-nameplate{padding:6px 9px;min-width:94%}.town-nameplate b{font-size:var(--min-label,13px)}.town-nameplate small{font-size:var(--min-label,13px)}.town-welcome>span{font-size:var(--min-label,13px)}.town-welcome b{font-size:17px}.mail-list-row{grid-template-columns:28px minmax(0,1fr) auto;gap:6px;padding:10px 8px;min-height:85px}.mail-row-arrow{display:none}.mail-list-row>.mail-row-envelope{width:28px;height:28px}.mail-row-text>strong{font-size:var(--min-label,13px)}.mail-mini-reward,.mail-mini-reward>.art{width:21px}.mail-mini-reward>.art{height:21px}.mail-row-rewards{gap:2px}.mailbox-summary>small{font-size:var(--min-label,13px)}.mailbox-tabs>button{font-size:var(--min-label,13px);padding:6px 12px}.wardrobe-stage{height:240px}.wardrobe-stage>.costume-sprite{height:213px}.wardrobe-grid{gap:6px}.wardrobe-card .paperdoll{height:79px}.wardrobe-card .costume-0{height:auto}.wardrobe-title h2{font-size:21px}.wardrobe-card>strong{font-size:var(--min-label,13px)}}
/* Reserve room for the test-session ribbon so it cannot cover feature tabs. */
.game:has(#testRibbon:not([hidden])) .feature-screen{bottom:116px}
@media(max-height:740px){.test-ribbon{bottom:65px}.game:has(#testRibbon:not([hidden])) .feature-screen{bottom:107px}}
/* 2.4: three online landmarks, readable artifacts and a dedicated reward chest. */
:root{--hub-icons:url('./assets/dc668cd1581e132e1bde.webp');--relic-treasures:url('./assets/relics/treasures.webp');--relic-sanctum:url('./assets/relics/sanctum.webp')}
.mail-detail-sender>b{flex:0 0 auto;white-space:nowrap}.mail-detail-sender>span:not(.art){overflow-wrap:anywhere}
.town-screen .screen-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.town-nameplate b{font-size:clamp(var(--min-label,13px),3.4vw,16px)}
.side-nav .offline-shortcut{gap:1px}.side-nav .offline-shortcut>.art{width:37px;height:37px;aspect-ratio:1}.side-nav .offline-shortcut small{font-size:8px;padding:2px 3px}.offline-shortcut time{font-size:9px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:.4px;color:#ffe4a9;background:#120d20dc;padding:2px 4px;border:1px solid #b48c5360;border-radius:4px;min-width:48px;text-align:center}.offline-shortcut .dot{right:1px;top:0}
.offline-hero>.art{width:100px;height:100px;aspect-ratio:1;margin:0 auto 5px}.offline-hero>small{display:block;letter-spacing:3px;color:#bca4ca;font-size:var(--min-label,13px)}.offline-hero h3{margin:9px 0 14px}.offline-duration{display:flex;flex-direction:column;gap:4px;border:1px solid #bb995e66;border-radius:12px;background:#120e1e66;padding:12px}.offline-duration span{font-size:var(--min-label,13px);color:#c8b7d2}.offline-duration strong{font-size:28px;font-variant-numeric:tabular-nums;letter-spacing:2px;color:#fce0a4}.offline-duration small{font-size:var(--min-label,13px);color:#bda8c7}.offline-help{line-height:1.8}.offline-quick{display:flex;gap:12px;align-items:center;margin-top:22px;padding:15px 0 5px;border-top:1px solid #8d6f954d}.offline-quick>div{flex:1;min-width:0}.offline-quick b{display:block;font-size:15px;color:#f5d59d}.offline-quick span,.offline-quick small{display:block;margin-top:5px;font-size:var(--min-label,13px);color:#c7b6ce}.offline-quick small{font-size:var(--min-label,13px)}.offline-quick>button{display:flex;align-items:center;gap:6px;white-space:nowrap;min-width:85px}.offline-quick>button .art{width:20px;height:20px;flex:0 0 20px}
.relic-vault-hero{display:flex;gap:12px;align-items:center;background:radial-gradient(ellipse at 20% 50%,#59407088,transparent 70%),linear-gradient(115deg,#21182e,#191424);border:1px solid #ba995966;border-radius:13px;padding:14px 10px;margin-bottom:14px}.relic-vault-hero>.art{width:105px;height:105px;flex:0 0 105px;aspect-ratio:1;border-radius:14px}.relic-vault-hero>div{min-width:0}.relic-vault-hero span{font-size:var(--min-label,13px);letter-spacing:2px;color:#bca9c9}.relic-vault-hero h2{font-size:23px;color:#f8dc9f;margin:6px 0}.relic-vault-hero p{font-size:var(--min-label,13px);color:#c9b7d0;margin:7px 0}.relic-vault-hero small{font-size:var(--min-label,13px);color:#b1d7c5}.relic-vault-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.relic-vault-card{display:flex;flex-direction:column;align-items:center;min-width:0;border:1px solid #9b7e55;border-radius:12px;background:linear-gradient(150deg,#3b2c48,#21192d);padding:12px 6px;text-align:center}.relic-vault-icon{position:relative;flex:0 0 82px;width:82px;height:82px}.relic-vault-icon>.art{display:block;width:82px;height:82px;aspect-ratio:1;border-radius:12px}.relic-vault-icon>.relic-vault-lock{position:absolute;bottom:3px;left:8px;right:8px;border-radius:8px;background:#0e0a18d9;font-size:var(--min-label,13px);padding:3px;color:#decba8}.relic-vault-card.locked .art{filter:saturate(.55);opacity:.65}.relic-vault-card>strong{font-size:13px;color:#f3d49f;margin:8px 0 5px}.relic-vault-card>small{font-size:var(--min-label,13px);color:#beacc7}.relic-vault-card>b{font-size:var(--min-label,13px);color:#b4dbc8;margin-top:6px}.relic-vault-card>em{font-size:var(--min-label,13px);line-height:1.6;font-style:normal;color:#cdbfd6;margin-top:5px;overflow-wrap:anywhere}.relic-vault-card.locked>b{color:#ab98b4}
@media(max-width:360px){.relic-vault-hero>.art{width:85px;height:85px;flex-basis:85px}.relic-vault-hero h2{font-size:20px}.town-directory-card{gap:10px;padding:12px 10px}.town-directory-card>.art{width:60px;height:60px;flex-basis:60px}.side-nav .offline-shortcut>.art{width:31px;height:31px}}

/* page */
:root{--atlas-warrior:url('./assets/12c80a5be1a6f0a00fa0.webp');--atlas-shadow:url('./assets/0f30da2bfb59b1fdb157.webp');--atlas-paladin:url('./assets/1781e53288f6d95ea89a.webp');--atlas-mage:url('./assets/f962651758e0e8a1fbcc.webp');--atlas-archer:url('./assets/2cb420a4b7ad9b757823.webp')}
.class-sprite,.costume-sprite.class-sprite,.actor.hero.class-hero{background-image:var(--class-atlas)!important;background-size:var(--atlas-size,400% 400%)!important;background-position:var(--frame-x,0%) var(--rank-y,0%)!important;background-repeat:no-repeat!important;aspect-ratio:1;scale:var(--sprite-scale,1);transform-origin:50% 88%;filter:drop-shadow(0 5px 4px #100a1d77);flex-shrink:0}
.actor.hero.class-hero{width:34.3%;height:auto;max-height:none;left:10.35%;bottom:24%;transform-origin:48% 88%;animation:class-breathe 3s ease-in-out infinite}
.actor.hero.class-hero[data-motion=warrior]{animation:warrior-strike .65s ease-in-out}.actor.hero.class-hero[data-motion=shadow]{animation:shadow-strike .65s ease-in-out}.actor.hero.class-hero[data-motion=paladin]{animation:paladin-strike .65s ease-in-out}.actor.hero.class-hero[data-motion=mage]{animation:mage-strike .65s ease-in-out}.actor.hero.class-hero[data-motion=archer]{animation:archer-strike .65s ease-in-out}
@keyframes class-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
@keyframes warrior-strike{0%{transform:translateX(-3%) rotate(-5deg)}35%{transform:translateX(30%) rotate(4deg)}65%{transform:translateX(27%) rotate(1deg)}100%{transform:none}}
@keyframes shadow-strike{0%{transform:translateX(-6%) scale(.98);opacity:.8}30%{transform:translateX(64%) scale(1.03);opacity:1}65%{transform:translateX(56%);filter:drop-shadow(-15px 0 8px #bba0ff)}100%{transform:none}}
@keyframes paladin-strike{0%{transform:translateX(-2%) rotate(-3deg)}40%{transform:translateX(22%) rotate(3deg)}75%{transform:translateX(19%)}100%{transform:none}}
@keyframes mage-strike{0%{transform:translateY(0)}30%{transform:translateY(-7px) rotate(-3deg)}65%{transform:translateY(-5px) rotate(2deg)}100%{transform:none}}
@keyframes archer-strike{0%{transform:translateX(-4%) rotate(-2deg)}30%{transform:translateX(-2%)}50%{transform:translateX(-8%) rotate(-2deg)}100%{transform:none}}
.class-onboarding{position:absolute;inset:0;z-index:220;background:radial-gradient(ellipse at 50% 25%,#483252,#171225 60%);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#a28356 #241b30}.class-onboarding[hidden]{display:none}.class-onboarding-inner{max-width:510px;margin:auto;padding:25px 18px 25px;min-height:100%;display:flex;flex-direction:column;justify-content:center}.class-pick-header{text-align:center;padding:5px 0 17px}.class-pick-header>span{font-size:var(--min-label,13px);letter-spacing:3px;color:#bc98b7}.class-pick-header h2{font-size:25px;color:#ffe0a8;margin:10px 0}.class-pick-header p{font-size:var(--min-label,13px);line-height:1.6;color:#c5b2cc;margin:0}.class-selector{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.class-selector>button{padding:4px 0 9px;border:1px solid #6e5679;border-radius:8px;background:linear-gradient(#33283f,#20192c);min-width:0}.class-selector .class-sprite{width:100%;height:auto}.class-selector b{display:block;font-size:var(--min-label,13px);color:#c9b2d4}.class-selector>button.selected{border-color:#e6bd7a;background:linear-gradient(#755348,#33243c);box-shadow:inset 0 0 0 1px #e4ba6666}.class-selector>button.selected b{color:#ffe1a0}.class-preview-stage{position:relative;height:245px;isolation:isolate;margin:10px 0 6px;background:radial-gradient(ellipse at 50% 70%,color-mix(in srgb,var(--class-color) 18%,transparent),transparent 65%)}.class-preview-stage>.class-sprite{position:absolute;width:255px;height:255px;left:50%;top:-10px;transform:translateX(-50%);z-index:2}.class-aura{position:absolute;bottom:14px;width:70%;left:15%;height:40px;border:1px solid #cfb68a66;border-radius:50%;box-shadow:0 5px #191326,0 0 0 6px #ae8e5322,inset 0 0 25px #d7b68222}.class-preview-title{position:absolute;left:9px;bottom:17px;z-index:3;text-shadow:0 2px 5px #110c18,0 0 15px #110c18}.class-preview-title small{display:block;font-size:var(--min-label,13px);color:#d4badc}.class-preview-title h3{font-size:30px;margin:5px 0;color:#ffe6b8}.class-preview-tag{position:absolute;right:8px;top:12px;padding:5px 8px;font-size:var(--min-label,13px);color:#d6bfdc;border:1px solid #a887b866;border-radius:10px;background:#251b3188}.class-ranks{display:flex;gap:7px;justify-content:center}.class-ranks>button{font-size:var(--min-label,13px);color:#b7a2c3;padding:6px 16px;border:1px solid #685175;border-radius:15px}.class-ranks>button.selected{color:#f7d9a4;border-color:#d4ad75;background:#63464d}.class-description{text-align:center;padding:16px 0 13px}.class-description>b{color:#e7c9a1;font-size:15px}.class-description p{font-size:var(--min-label,13px);color:#c4afcd;line-height:1.6;margin:8px 0}.class-description>span{font-size:var(--min-label,13px);color:#a9d5be;padding:4px 9px;background:#29443b55;border:1px solid #8db6a144;border-radius:9px}.class-skill-preview{display:flex;justify-content:center;gap:12px;margin:2px 0 17px}.class-skill-preview>span{text-align:center;width:65px}.class-skill-preview .skill-sigil{width:39px;height:39px;margin:auto}.class-skill-preview small{display:block;font-size:var(--min-label,13px);color:#c4afd0;margin-top:7px;white-space:nowrap}.class-choose{width:100%;min-height:46px;flex-shrink:0}.class-choice-note{text-align:center;font-size:var(--min-label,13px);color:#a78caf;line-height:1.7;margin:10px 0 4px}.class-profile-link{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:10px;border:1px solid #806483;background:#39283e;border-radius:9px;margin-bottom:12px;font-size:var(--min-label,13px)}.class-profile-link b{color:#e7c89b}.class-profile-stat{display:flex;gap:10px;align-items:center;color:#ebc997;font-size:13px;margin:2px 0 12px}.class-profile-stat span{color:#a9cabc;font-size:var(--min-label,13px)}
.wardrobe-stage>.class-sprite,.wardrobe-stage>.costume-0.class-sprite{width:255px;height:255px;left:50%;transform:translateX(-50%);bottom:5px}.class-wardrobe{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:18px}.class-wardrobe .class-sprite{width:100%;height:auto;aspect-ratio:1;margin:0}.class-wardrobe .wardrobe-card>strong{min-height:auto;margin:1px 0 5px}.profile-character>.class-sprite{width:100%;height:auto!important}.equipped-character>.class-sprite{width:100%;height:auto}.costume-result-hero.class-sprite{height:auto;aspect-ratio:1}.roulette-wheel>.class-sprite{width:90%;height:auto;aspect-ratio:1;top:3%}.costume-exchange-sprite.class-sprite{width:65px;height:65px}
.class-skill-heading{display:flex;justify-content:space-between;align-items:center}.class-skill-heading small{font-size:var(--min-label,13px);letter-spacing:2px;color:#ac90bc}.class-skill-heading h2{font-size:25px;margin:5px 0;color:#eacc99}.class-skill-heading>button{font-size:var(--min-label,13px)}.class-skill-list{display:grid;gap:10px;margin:16px 0}.class-skill-card{display:flex;gap:12px;align-items:center;padding:13px 11px;width:100%;border:1px solid #796080;border-radius:10px;background:linear-gradient(110deg,#3d2b46,#251d32);text-align:left}.class-skill-card.locked{opacity:.6}.class-skill-card>.skill-sigil{width:52px;height:52px}.class-skill-card>span:not(.skill-sigil){flex:1}.class-skill-card strong{font-size:14px;color:#eed2a5;display:block}.class-skill-card em{font-size:var(--min-label,13px);font-style:normal;color:#a4d0b9;margin-left:4px}.class-skill-card small{display:block;font-size:var(--min-label,13px);line-height:1.6;color:#c0a9cd;margin:5px 0}.class-skill-card span>b{font-size:var(--min-label,13px);color:#9e87ad}.class-skill-card>i{font-style:normal;font-size:21px;color:#d6b780}.skill-sigil{position:relative;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;vertical-align:middle;flex-shrink:0;border:1px solid color-mix(in srgb,var(--sigil-color) 70%,#4b335c);border-radius:12px;color:var(--sigil-color);background:radial-gradient(ellipse at 50% 65%,color-mix(in srgb,var(--sigil-color) 27%,#140b24),#11091c 80%);box-shadow:inset 0 0 9px #a980bf30,0 2px 3px #130b1c}.skill-sigil svg{width:80%;height:80%;filter:drop-shadow(0 0 3px currentColor)}.skill-equipped .skill-sigil{width:42px;height:42px}.skill-equipped small{font-size:var(--min-label,13px)}.class-skill-detail>.skill-sigil{width:95px;height:95px;margin-bottom:15px}.skill-result .skill-sigil{width:70%;height:auto;aspect-ratio:1}.skillbuttons button,.skills-row button{overflow:visible}#skillbuttons .skill-sigil{width:100%;height:100%;border-radius:50%;border:0}#skillbuttons button{overflow:visible}#skillbuttons .battle-skill-name{position:absolute;bottom:-16px;left:-13px;right:-13px;font-size:8px;white-space:nowrap;color:#e8d3b4;text-shadow:0 1px 3px #000;pointer-events:none}#skillbuttons{padding-bottom:12px}
.class-fx{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:17;isolation:isolate}
.painted-impact{position:absolute;left:73%;top:62%;width:var(--vfx-size,72%);aspect-ratio:1;transform:translate(-50%,-50%);pointer-events:none;contain:layout style;--vfx-scale:1;animation:painted-impact-life var(--vfx-duration,.64s) ease-out both}
.painted-vfx-frame{position:absolute;inset:0;display:block;width:100%;height:100%;background-image:var(--vfx-atlas);background-size:400% 400%;background-position:33.333333% var(--vfx-row);background-repeat:no-repeat;filter:drop-shadow(0 0 3px #ffefd025)}
.painted-impact.normal-impact{--vfx-scale:.48}.painted-impact.impact-echo{--vfx-scale:.58;animation:painted-echo var(--vfx-duration) ease-out both}.impact-echo .painted-vfx-frame{animation:none;background-position-x:33.333333%}
.painted-impact.phase-charge{left:28%;top:69%;--vfx-scale:.24;animation:painted-charge var(--vfx-duration) ease-in both}.phase-charge .painted-vfx-frame{background-position-x:0%;animation:none}.phase-charge.travelling{animation:painted-flight var(--vfx-duration) cubic-bezier(.4,0,.8,.7) both;--vfx-scale:.3}.phase-charge.normal-impact{--vfx-scale:.16}
.effect-meteor.phase-charge,.effect-judgment.phase-charge,.effect-rain.phase-charge,.effect-lightning.phase-charge{left:73%;top:36%;--vfx-scale:.5;animation:painted-descent var(--vfx-duration) ease-in both}
.painted-vfx-frame.frame-peak{animation:vfx-peak var(--vfx-duration) ease-out both}.painted-vfx-frame.frame-spread{background-position-x:66.666667%;animation:vfx-spread var(--vfx-duration) ease-out both}.painted-vfx-frame.frame-decay{background-position-x:100%;animation:vfx-decay var(--vfx-duration) ease-out both}
@keyframes vfx-peak{0%,22%{opacity:1}65%,100%{opacity:0}}
@keyframes vfx-spread{0%,15%{opacity:0}42%{opacity:1}90%,100%{opacity:0}}
@keyframes vfx-decay{0%,48%{opacity:0}72%{opacity:.9}100%{opacity:0}}
@keyframes painted-impact-life{0%{transform:translate(-50%,-50%) scale(calc(var(--vfx-scale)*.78));opacity:.95}20%{transform:translate(-50%,-50%) scale(var(--vfx-scale));opacity:1}75%{opacity:.8}100%{transform:translate(-50%,-50%) scale(calc(var(--vfx-scale)*1.12));opacity:0}}
@keyframes painted-echo{0%{transform:translate(-50%,-50%) scale(calc(var(--vfx-scale)*.6)) rotate(-12deg);opacity:1}100%{transform:translate(-50%,-50%) scale(var(--vfx-scale)) rotate(12deg);opacity:0}}
@keyframes painted-charge{0%{transform:translate(-50%,-50%) scale(.06);opacity:0}40%{opacity:1}100%{transform:translate(-50%,-50%) scale(var(--vfx-scale));opacity:.6}}
@keyframes painted-flight{0%{transform:translate(-50%,-50%) scale(calc(var(--vfx-scale)*.6));opacity:0}15%{opacity:1}100%{transform:translate(calc(-50% + var(--flight-x)),calc(-50% + var(--flight-y))) scale(var(--vfx-scale));opacity:1}}
@keyframes painted-descent{0%{transform:translate(-50%,-100%) scale(.15);opacity:0}25%{opacity:1}100%{transform:translate(-50%,0) scale(var(--vfx-scale));opacity:1}}
.impact-shake{animation:battle-impact .24s ease-out}@keyframes battle-impact{0%,100%{translate:0 0}25%{translate:-2px 1px}55%{translate:2px -1px}75%{translate:-1px 0}}
body:is(.low-motion,.power-saving) .impact-shake{animation:none!important}
body:is(.low-motion,.power-saving) .adventure-fx-layer{visibility:hidden}
@media(prefers-reduced-motion:reduce){.adventure-fx-layer{visibility:hidden}}
.power-saving .class-hero,.low-motion .class-hero{animation:none!important}.power-saving .class-fx,.low-motion .class-fx{display:none}.game:has(.class-onboarding:not([hidden])) .navbar{pointer-events:none}
@media(prefers-reduced-motion:reduce){.class-hero,.impact-shake{animation:none!important}.class-fx{display:none}}
@media(max-height:760px){.class-onboarding-inner{padding-top:15px;padding-bottom:15px}.class-pick-header{padding-bottom:11px}.class-pick-header h2{font-size:22px;margin:7px 0}.class-preview-stage{height:200px}.class-preview-stage>.class-sprite{width:220px;height:220px;top:-13px}.class-description{padding:11px 0}.class-skill-preview{margin-bottom:12px}.class-selector .class-sprite{width:min(100%,67px);max-height:none;margin:auto}}
@media(max-width:350px){.class-onboarding-inner{padding-left:12px;padding-right:12px}.class-selector b{font-size:var(--min-label,13px)}.class-ranks>button{padding:5px 13px}.class-description p{font-size:var(--min-label,13px)}.class-skill-preview{gap:7px}.class-choose{font-size:13px}.class-wardrobe .wardrobe-card>strong{font-size:var(--min-label,13px)}.class-skill-card{gap:8px}.class-skill-card>.skill-sigil{width:44px;height:44px}.class-skill-card strong{font-size:var(--min-label,13px)}.wardrobe-stage>.class-sprite{width:230px;height:230px}.class-choice-note{font-size:var(--min-label,13px)}}
.actor.hero.class-hero[data-motion]:not([data-motion=idle]){animation-duration:var(--attack-duration,.65s)}

:root{--atlas-warrior-prestige:url('./assets/59eae7cb37d54dabee67.webp');--icons-warrior:url('./assets/skill-icons/warrior.webp');--vfx-warrior:url('./assets/0fde21e25e436bee8dbd.webp');--atlas-shadow-prestige:url('./assets/3031b15de2f1fa77f296.webp');--icons-shadow:url('./assets/skill-icons/shadow.webp');--vfx-shadow:url('./assets/34c252fc09e91184fda1.webp');--atlas-paladin-prestige:url('./assets/0d8f84d619f756065ff8.webp');--icons-paladin:url('./assets/skill-icons/paladin.webp');--vfx-paladin:url('./assets/3ce232df06857367a68b.webp');--atlas-mage-prestige:url('./assets/7bf92caab27418611481.webp');--icons-mage:url('./assets/skill-icons/mage.webp');--vfx-mage:url('./assets/6227c7f670664bbb3b6d.webp');--atlas-archer-prestige:url('./assets/db500fbd43bb34d3255b.webp');--icons-archer:url('./assets/skill-icons/archer.webp');--vfx-archer:url('./assets/4f6db3238434e42c9bf3.webp');}
.skill-sigil.skill-painted{background-image:var(--skill-atlas);background-size:200% 200%;background-position:var(--icon-x) var(--icon-y);background-repeat:no-repeat;border-color:#af8b67;box-shadow:inset 0 0 0 1px #ffe5ad33,0 2px 5px #0e071c88;overflow:hidden}
.skill-lock{display:inline-grid;place-items:center;width:100%;height:100%;border-radius:50%;color:#b8a4ca;background:radial-gradient(#362c47,#161121);border:1px solid #64516c}.skill-lock svg{width:44%;height:44%}.skill-equipped .skill-lock{width:42px;height:42px}
.class-ranks{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.class-ranks>button{padding:7px 0;font-size:var(--min-label,13px);min-width:0;white-space:nowrap}.class-ranks>button:nth-child(5){color:#f2a4c0}.class-ranks>button:nth-child(6){color:#b2eef7}.class-onboarding-inner{justify-content:flex-start;padding-top:20px}.class-preview-stage{height:218px}.class-preview-stage>.class-sprite{width:235px;height:235px;top:-10px}.class-pick-header h2{font-size:24px}.class-description{padding:13px 0}.class-skill-preview .skill-painted{width:44px;height:44px;border-radius:11px}.class-skill-preview{gap:10px}.class-skill-card>span:not(.skill-sigil){min-width:0}.class-skill-card strong{line-height:1.45}.class-skill-card small{word-break:keep-all;overflow-wrap:anywhere}.class-wardrobe{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.class-wardrobe .wardrobe-card{padding:5px 4px 9px}.class-wardrobe .wardrobe-card>strong{font-size:var(--min-label,13px);line-height:1.4;min-height:28px}.class-wardrobe .wardrobe-card>small{font-size:var(--min-label,13px)}.tier-4.wardrobe-stage{background:radial-gradient(ellipse at 50% 65%,#7f315d55,transparent 70%)}.tier-5.wardrobe-stage{background:radial-gradient(ellipse at 50% 65%,#4e9dbd55,transparent 70%)}.costume-pity{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.costume-pity>span{padding:9px 6px;text-align:center;background:#35283f;border:1px solid #735e7a;border-radius:8px;font-size:var(--min-label,13px)}.costume-pity b{display:block;color:#ffe0a1;margin-top:4px}.probability-summary.six-ranks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.six-ranks>span{min-width:0;text-align:center;font-size:var(--min-label,13px)}.town-directory-card>.art{background-repeat:no-repeat}.town-directory-card strong{line-height:1.4}.town-directory-card small{word-break:keep-all;overflow-wrap:anywhere}.town-directory-card>b{flex:0 0 12px}.town-list-intro{padding:18px 14px 16px}.town-directory-card{gap:12px}.screen-tabs>button{white-space:nowrap}
@media(max-width:350px){.class-ranks{gap:4px}.class-ranks>button{padding:7px 0;font-size:var(--min-label,13px)}.class-wardrobe{grid-template-columns:repeat(2,minmax(0,1fr))}.town-directory-card>.art{width:58px;height:58px;flex-basis:58px}.town-directory-card{padding:12px 10px;gap:10px}.town-directory-card strong{font-size:14px}.class-preview-stage{height:195px}.class-preview-stage>.class-sprite{width:215px;height:215px}.class-pick-header h2{font-size:22px}}

#screenTabs{gap:4px;overflow-x:hidden}#screenTabs>button{flex:1 1 0;min-width:0;padding-inline:3px;font-size:var(--min-label,13px);white-space:nowrap}

.pass-row>.class-sprite{flex:0 0 65px;aspect-ratio:1}.class-selector .class-sprite{aspect-ratio:1}

/* Enlarged shadow/mage previews extend above their box. Artwork must never
   intercept taps on the class selector or the outfit ranks, even where transparent. */
.class-preview-stage,.class-preview-stage *{pointer-events:none}
.class-selector,.class-ranks{position:relative;z-index:4}
.class-selector>button{position:relative;overflow:hidden;touch-action:manipulation;cursor:pointer}
.class-selector>button>*{pointer-events:none}
.class-selector>button:focus-visible{outline:2px solid #ffe0a1;outline-offset:2px}

/* page */
/* Let the battlefield use the space previously occupied by quick upgrades. */
.home-bottom{padding-bottom:7px}
.home .battle{flex:1 1 auto}
.forge-dock>div{min-width:0}
.forge-dock>div>strong{white-space:nowrap;font-size:clamp(11px,3.1cqw,16px)}

.pass-mode-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:12px}
.pass-mode-tabs button{padding:9px 3px;font-size:var(--min-label,13px);min-height:36px}
.pass-banner{position:relative;isolation:isolate;overflow:hidden;border:1px solid #cca766;border-radius:13px;padding:17px 14px 12px;background:linear-gradient(120deg,#36263e,#171523);box-shadow:inset 0 0 0 3px #d4a75512,0 7px 18px #08051255}
.pass-banner-art{position:absolute;inset:0;z-index:-2;background:url('./assets/c2b795353d0c3e64b7f1.webp') right 27%/cover no-repeat;opacity:.9}
.pass-banner-shade{position:absolute;inset:0;background:linear-gradient(90deg,#171123e8 5%,#21172b99 52%,#24172b05),linear-gradient(0deg,#171123d9,transparent 65%);z-index:-1}
.pass-banner-title>span{display:block;font-size:var(--min-label,13px);letter-spacing:2px;color:#c9a878}
.pass-banner-title h3{font-size:22px;color:#ffe6b5;margin:4px 0 5px;text-shadow:0 2px 3px #130b1c}
.pass-banner-title>small{font-size:var(--min-label,13px);color:#d2c0d3}
.pass-level-line{display:flex;align-items:center;gap:10px;margin-top:18px}
.pass-level-line>b{border:2px solid #c9a361;border-radius:17px;min-width:53px;height:49px;display:flex;align-items:center;justify-content:center;color:#ffe6b1;font-size:19px;background:#211728de}
.pass-level-line>div{flex:1;min-width:0}
.pass-progress-copy{display:flex;justify-content:space-between;gap:5px;font-size:var(--min-label,13px);color:#d5c2dd;margin-bottom:7px}
.pass-progress-copy strong{color:#ffdf9f;font-size:var(--min-label,13px)}
.pass-progress-bar{height:14px;background:#100d1d;border:1px solid #95724f;border-radius:12px;overflow:hidden;box-shadow:inset 0 2px 4px #0007}
.pass-progress-bar>i{height:100%;display:block;background:linear-gradient(#ffeab5,#efb34b 56%,#bd7727);border-radius:inherit;box-shadow:0 0 10px #efb34b55}
.season-banner .pass-progress-bar>i{background:linear-gradient(#ead5ff,#bb84e4 56%,#7851a5)}
.pass-banner-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}
.pass-banner-footer>span{font-size:var(--min-label,13px);color:#d8c4d9}
.pass-banner-footer>button{font-size:var(--min-label,13px);color:#432b1e;font-weight:bold;border:1px solid #e9cb90;border-radius:8px;padding:7px 13px;background:linear-gradient(#ffe7a7,#d9a04d);min-height:32px}
.pass-banner-footer>button:disabled{opacity:.5}
.pass-track-caption{display:flex;align-items:center;justify-content:space-between;margin:16px 1px 8px;font-size:var(--min-label,13px);color:#e7d2b4}
.pass-track-caption small{font-size:var(--min-label,13px);color:#bca5c8}
.pass-track-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;touch-action:pan-x pan-y;scrollbar-width:thin;scrollbar-color:#997548 #1e1728;padding:2px 1px 8px;position:relative}
.pass-track{display:flex;width:max-content;gap:9px;position:relative}
.pass-track:before{content:'';position:absolute;top:12px;left:25px;right:25px;height:2px;background:#856640;z-index:0}
.pass-track-step{width:85px;flex:0 0 85px;position:relative;text-align:center}
.pass-step-label{position:relative;display:inline-block;min-width:46px;padding:3px 7px;border:1px solid #b79a6e;border-radius:13px;background:linear-gradient(#836340,#463449);font-size:var(--min-label,13px);color:#ffe6b0;font-weight:bold;margin-bottom:7px}
.pass-track-reward{position:relative;display:flex;align-items:center;flex-direction:column;width:100%;border:1px solid #8f719c;border-radius:10px;background:radial-gradient(ellipse at 50% 35%,#57406b,#22182f 80%);padding:8px 4px 7px;color:#ffdf9e;min-height:103px;opacity:1!important}
.pass-track-reward .art{height:43px;width:43px;border-radius:7px;flex:none}
.pass-track-reward>b{font-size:17px;margin-top:3px}
.pass-track-reward>small{font-size:var(--min-label,13px);color:#bea9c8;margin-top:3px}
.pass-track-step.is-ready .pass-track-reward{border-color:#f1d28d;box-shadow:inset 0 0 0 2px #daa94c33,0 0 12px #d8a34e22}
.pass-track-step.is-ready .pass-track-reward>small{color:#ffdd8c;font-weight:bold}
.pass-track-step.is-claimed .pass-track-reward .art,.pass-track-step.is-claimed .pass-track-reward>b{opacity:.45}
.pass-check{position:absolute;left:calc(50% - 15px);top:20px;font-style:normal;color:#b4e3a8;font-size:32px;line-height:1;text-shadow:0 2px 3px #172c1a}
.pass-track-extra{height:26px;display:flex;align-items:center;justify-content:center;font-size:var(--min-label,13px);line-height:1.3;color:#c7b1ce;white-space:normal}
.premium-track-lock{border:1px solid #8f734955;background:linear-gradient(#382d34,#231c28);border-radius:8px;height:48px;display:flex;align-items:center;justify-content:center;gap:3px;opacity:.65}
.premium-track-lock .art{width:24px;height:24px;border-radius:5px}
.premium-track-lock small{font-size:var(--min-label,13px);color:#d6b987}
.pass-vip-note{display:flex;align-items:center;gap:7px;padding:9px 8px;margin-top:4px;border:1px solid #a07a4344;border-radius:8px;background:#46303b55}
.pass-vip-note>span{color:#f4d18e;font-size:var(--min-label,13px);font-weight:bold;white-space:nowrap}
.pass-vip-note>small{flex:1;font-size:var(--min-label,13px);color:#c6adc9;line-height:1.4}
.pass-vip-note>button{font-size:var(--min-label,13px);color:#edcb91;white-space:nowrap;min-height:28px}
.pass-mission-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:20px 0 12px}
.pass-mission-tabs>button{min-height:34px;font-size:var(--min-label,13px);padding:7px 3px}
.pass-mission-heading{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:17px 1px 7px;color:#ecd6b6}
.pass-mission-heading>b{font-size:14px}
.pass-mission-heading>span{font-size:var(--min-label,13px);color:#a992b4}
.pass-mission-heading strong{color:#d9bdea;font-size:var(--min-label,13px);font-variant-numeric:tabular-nums}
.pass-list-hint{font-size:var(--min-label,13px);color:#a88fb5;margin:7px 1px 10px}
.pass-compact-list{display:flex;flex-direction:column;gap:8px}
.pass-list-row{display:grid;grid-template-columns:43px minmax(0,1fr) 71px;gap:9px;align-items:center;padding:11px 9px;min-height:82px;border:1px solid #715878;border-radius:10px;background:linear-gradient(110deg,#382940,#221b2d);position:relative}
.pass-row-ready{border-color:#d4ad69;background:linear-gradient(110deg,#4e3443,#2d2234);box-shadow:inset 3px 0 #e1b866}
.pass-row-claimed{background:#231c2e;border-color:#514458}
.pass-row-claimed .pass-list-copy,.pass-row-claimed .pass-list-icon>.art,.pass-row-claimed .pass-point-icon>.art{opacity:.55}
.pass-list-icon,.pass-point-icon{position:relative;align-self:center;text-align:center;min-width:0}
.pass-list-icon>.art,.pass-point-icon>.art{display:block;width:43px;height:43px;border-radius:8px}
.pass-point-icon>b{position:absolute;bottom:-4px;left:0;right:0;font-size:var(--min-label,13px);color:#ffe3a9;border:1px solid #8f6e4b;border-radius:7px;background:#352332;padding:2px 0;text-shadow:0 1px #000}
.pass-list-icon>i,.pass-point-icon>i{position:absolute;inset:4px 0 auto;text-align:center;font-style:normal;font-size:29px;color:#b4e3a8;text-shadow:0 2px 3px #152c1d}
.pass-list-copy{min-width:0}
.pass-list-copy>strong{display:block;font-size:var(--min-label,13px);color:#f2dbb8;line-height:1.35;overflow-wrap:anywhere}
.pass-list-copy>small{display:block;margin:4px 0;font-size:var(--min-label,13px);color:#bca6c7;line-height:1.4}
.pass-list-copy>span{display:block;font-size:var(--min-label,13px);color:#c7b4d0;margin-top:5px}
.pass-mission-progress{display:flex;align-items:center;gap:5px;margin-top:5px}
.pass-mission-progress>.bar{flex:1;min-width:15px;height:7px;margin:0;border-color:#9d759e}
.pass-mission-progress>.bar>i{background:linear-gradient(90deg,#9870c2,#dfb8ef)}
.pass-mission-progress>span{font-size:var(--min-label,13px);color:#e4d1e9;white-space:nowrap;font-variant-numeric:tabular-nums}
.pass-row-ready .pass-mission-progress>.bar>i{background:linear-gradient(90deg,#d49843,#ffe6a5)}
.pass-list-row>.gold-button{font-size:var(--min-label,13px);padding:10px 3px;min-height:37px;width:100%;border-radius:8px;white-space:nowrap}
.pass-row-claimed>.gold-button{color:#abb8a9;background:#364137;border-color:#66765f;opacity:.8}
.pass-shared-note{font-size:var(--min-label,13px);text-align:center;color:#a790b2;margin:13px 0 0}
@media(max-width:360px){.pass-list-row{grid-template-columns:36px minmax(0,1fr) 62px;gap:7px;padding:10px 7px}.pass-list-icon>.art,.pass-point-icon>.art{width:36px;height:36px}.pass-list-copy>strong{font-size:var(--min-label,13px)}.pass-list-copy>small{font-size:var(--min-label,13px)}.pass-list-row>.gold-button{font-size:var(--min-label,13px)}.pass-track-step{width:78px;flex-basis:78px}.pass-banner{padding:14px 11px 11px}}
@media(max-height:740px){.home-bottom{padding-bottom:3px}}
/* Season membership is separate from the reward ledger. */
.season-track-selector{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px}
.season-track-selector>button{display:flex;flex-direction:column;gap:5px;align-items:flex-start;padding:12px 10px;border-radius:11px;background:#241b30;border:1px solid #725b7e;text-align:left}
.season-track-selector>button>span{font-size:var(--min-label,13px);letter-spacing:1.5px;color:#b7a2c8}
.season-track-selector>button>b{font-size:var(--min-label,13px);color:#e5d3e7}
.season-track-selector>button>small{font-size:var(--min-label,13px);color:#a58eb1}
.season-track-selector>button.active{border-color:#d9bb87;background:linear-gradient(115deg,#61423d,#382637);box-shadow:inset 0 0 0 2px #c8a25b33}
.season-track-selector>button.active>b{color:#ffe3ad}
.season-track-selector>button.active.premium{background:linear-gradient(115deg,#795327,#453044)}
.premium-pass-offer{display:flex;gap:8px;align-items:center;padding:12px 10px;margin:12px 0;border:1px solid #a88752;border-radius:10px;background:linear-gradient(100deg,#543a32,#292033)}
.premium-pass-offer>div{flex:1;min-width:0}.premium-pass-offer b{font-size:var(--min-label,13px);color:#f0d1a0;display:block}.premium-pass-offer small{font-size:var(--min-label,13px);color:#bda4bb;display:block;margin-top:5px}.premium-pass-offer>.gold-button{padding:9px 8px;font-size:var(--min-label,13px)}
.season-product-heading{text-align:center;margin:10px 0 18px}.season-product-heading>span{font-size:var(--min-label,13px);letter-spacing:1.6px;color:#d7ac68}.season-product-heading h3{font-size:21px;color:#ffe1ac;margin:8px 0}.season-product-heading p{font-size:var(--min-label,13px);color:#c6b2d0}
.pass-lock-mark{position:absolute;right:4px;top:1px;color:#edcc8a;font-size:22px;font-style:normal}
.stage{height:69px;top:8px}.stage-map-button .difficulty-badge{display:block;font-size:12px!important;line-height:1.2;letter-spacing:1px;margin:0 0 3px;font-weight:700}.stage-map-button #stage{font-size:clamp(17px,5cqw,26px);line-height:1.2}.stage-map-button #region{font-size:10px;margin-top:4px}.stage-route{top:86px}
.campaign-difficulty-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:0 0 13px}.campaign-difficulty-tabs button{font-size:var(--min-label,13px);padding:9px 2px;background:#2b2137;border:1px solid #6f5379;border-radius:8px;color:#c9b0d3}.campaign-difficulty-tabs button.active{background:linear-gradient(#805434,#483044);border-color:#d4ab6c;color:#ffdfaa}.campaign-difficulty-tabs small{font-size:var(--min-label,13px);display:block;margin-top:5px;color:#a88eb7}
@media(max-height:740px){.stage{height:60px;top:6px}.stage-route{top:72px}.stage-map-button #stage{font-size:18px}.stage-map-button .difficulty-badge{font-size:12px!important}.stage-map-button #region{font-size:9px}}

/* page */
:root{--region_8:url('./assets/9ec363907f3de44bff49.webp');--region_9:url('./assets/f7a623381b55f143b14f.webp')}
.campaign-difficulty-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
.battle-controls{gap:12px;align-items:center}
.battle-controls .check-control,.battle-controls .battle-speed{position:relative;flex:0 0 45px;width:45px;height:45px;min-height:45px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(145deg,#33273ee8,#120f20f5);border:2px solid transparent;color:#d3c5d9;box-shadow:0 3px 9px #0008}
.battle-controls .check-control:before,.battle-controls .check-control:after{content:none}
.battle-controls .check-control.orb-on{color:#ffe1ad;border-color:#ff9b40;box-shadow:0 0 8px #ff8e3c88,inset 0 0 10px #ff9b4030}
.battle-controls .check-control.orb-on:after{content:'';position:absolute;inset:-5px;border:1px solid #ffad5d;border-radius:50%;animation:orbPulse 2.4s ease-out infinite;pointer-events:none}
.orb-symbol{font-size:23px;line-height:1;text-shadow:0 2px 2px #0008}.orb-label{position:absolute;top:48px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:9px;color:#e8d8c3;text-shadow:0 1px 3px #000}
.battle-controls .battle-speed{margin-left:auto;font-size:13px;border-color:#8a6c48}
.battle-controls{bottom:88px}.skillbuttons{bottom:8px}
@keyframes orbPulse{0%{opacity:.7;transform:scale(.9)}80%,100%{opacity:0;transform:scale(1.15)}}
.right-nav button{min-height:48px}.right-nav button>.art{width:36px;height:36px}.right-nav small{white-space:nowrap}
.notice{position:absolute;z-index:10000;top:auto;bottom:calc(var(--nav-height,68px) + 38px + env(safe-area-inset-bottom));pointer-events:none;left:50%;width:calc(100% - 24px);max-width:450px;padding:11px 13px;box-sizing:border-box;transform:translate(-50%,8px);border:1px solid #e3bd72;border-radius:13px;background:linear-gradient(130deg,#3b2b4ef5,#1f1731fa);display:flex;gap:10px;align-items:center;text-align:left;color:#f9e9c8;box-shadow:0 9px 30px #080411b3;transition:opacity .2s,transform .2s}
.notice.show{transform:translate(-50%,0)}.notice-confirm{flex:0 0 27px;height:27px;border-radius:50%;display:grid;place-items:center;font-weight:900;background:#e8b95d;color:#2b1e25;box-shadow:0 0 12px #e3c78355}.notice-body{min-width:0;flex:1;font-size:var(--menu-label-size,12px);line-height:1.5}.notice-body>strong{display:block;font-size:13px;color:#fff0c8}.notice-items{display:flex;flex-wrap:wrap;gap:7px;margin-top:7px}.notice-items>span{display:grid;grid-template-columns:25px auto;align-items:center;column-gap:5px;background:#0f0d20a8;border:1px solid #926c4c;border-radius:7px;padding:4px 6px}.notice-items .art{width:25px;height:25px;grid-row:span 2;border-radius:5px}.notice-items b{font-size:var(--menu-label-size,12px);color:#baf3da}.notice-items small{font-size:var(--menu-label-size,8px);color:#dfd0e7}.info-notice .notice-confirm{font-size:var(--menu-label-size,12px)}
.defeat-feedback{position:absolute;inset:0;pointer-events:none;z-index:22;overflow:hidden}.fallen-creature{position:absolute;width:48%;aspect-ratio:1;right:2%;bottom:27%;transform-origin:50% 85%;animation:enemyFall .46s ease-in forwards}.fallen-creature.fallen-boss{width:62.4%;right:-5.2%;bottom:26%}.fallen-creature>.art{display:block;width:100%;height:100%;background-color:transparent;filter:drop-shadow(0 4px 3px #15182b88)}
.defeat-caption{position:absolute;left:54%;top:39%;text-align:center;transform:translateX(-15%);animation:killCaption .46s ease-out both}.defeat-caption>b{display:block;font-size:clamp(18px,5cqw,26px);letter-spacing:1px;color:#ffecb8;text-shadow:0 2px #3f2416,0 0 15px #ef902d;font-weight:900}.defeat-caption>span{display:block;font-size:10px;color:#fff1d4;text-shadow:0 1px 4px #000}.boss-defeat .defeat-caption>b{font-size:28px;color:#ffb970}.mob.awaiting-spawn{visibility:hidden!important}.enemy-defeated .enemy-status{opacity:0}.mob.enemy-arrival{animation:enemyArrival .28s ease-out!important}
@keyframes enemyFall{0%{opacity:1;transform:none}28%{opacity:.94;transform:translate(2px,1px) rotate(2deg)}100%{opacity:0;transform:translate(8px,9px) rotate(7deg)}}
@keyframes killCaption{from{opacity:0;translate:0 8px;scale:.8}25%,80%{opacity:1;scale:1}to{opacity:0;translate:0 -12px}}
@keyframes enemyArrival{from{opacity:0;filter:brightness(1.5)}to{opacity:1;filter:brightness(1)}}
.minimal-defeat .fallen-creature{display:none}.minimal-defeat .defeat-caption{animation:none;top:48%}
.vip-center-banner{position:relative;overflow:hidden;min-height:144px;padding:24px 18px;background:linear-gradient(90deg,#180f2160,transparent 62%),url('./assets/court-art/vip-crown.webp') right center/cover no-repeat;border:1px solid #d6aa57;border-radius:13px 13px 0 0;text-shadow:0 2px 5px #29162f}
.vip-center-banner>span{font-size:var(--min-label,13px);letter-spacing:2px;color:#ffe3a7}.vip-center-banner h3{font-size:27px;color:#fff1c4;margin:7px 0}.vip-center-banner p{max-width:65%;font-size:var(--min-label,13px);color:#f4dbb3}.vip-center-banner>.art{position:absolute;right:14px;bottom:12px;width:66px;height:66px;border-radius:50%;box-shadow:0 0 24px #f6c66977}
.vip-ribbon{text-align:center;color:#ffecab;font-weight:900;font-size:16px;padding:11px 8px;background:linear-gradient(#9d445b,#632940);border:1px solid #dca763;box-shadow:0 3px 5px #0005;position:relative;z-index:1}
.vip-parchment{padding:18px 13px;background:linear-gradient(135deg,#f8ebc9,#ebd8aa 55%,#f8eccd);border:1px solid #d3a760;border-radius:0 0 12px 12px;color:#4a312b;box-shadow:inset 0 0 0 5px #d4b77c55}.vip-rank-selector{display:flex;align-items:center;gap:9px;margin-bottom:18px}.vip-rank-selector>button{flex:0 0 28px;border:0;background:none;color:#8b5c28;font-size:34px;padding:0}.vip-rank-selector>button:last-child{margin-left:auto}.vip-rank-selector>button:disabled{opacity:.2}.vip-medallion{position:relative;flex:0 0 66px;height:66px;border:2px solid #ad792d;border-radius:50%;background:#4a273f}.vip-medallion>.art{width:100%;height:100%;border-radius:50%;opacity:.6}.vip-medallion>b{position:absolute;inset:0;display:grid;place-items:center;font-size:34px;color:#ffdf91;text-shadow:0 2px 3px #100b13}.vip-rank-selector small{font-size:var(--min-label,13px);letter-spacing:1px}.vip-rank-selector h3{margin:3px 0;font-size:23px;color:#56362b}.vip-rank-selector span{font-size:var(--min-label,13px);color:#825d43}.vip-parchment h4{font-size:var(--min-label,13px);margin:16px 0 9px;color:#6d4932}.vip-reward-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.vip-reward-grid>div{background:linear-gradient(#4c3458,#261b33);border:2px solid #c49a55;border-radius:9px;padding:7px 3px;text-align:center;box-shadow:0 3px 4px #67482c22}.vip-reward-grid .art{display:block;width:43px;height:43px;margin:auto;border-radius:6px}.vip-reward-grid b{display:block;color:#ffe1a1;font-size:15px;margin-top:4px}.vip-reward-grid small{display:block;color:#d5bddb;font-size:var(--min-label,13px)}.vip-progress-copy{display:flex;justify-content:space-between;gap:5px;font-size:var(--min-label,13px);color:#71503e;margin:20px 0 7px}.vip-progress-copy b{color:#376d56}.vip-progress{height:13px;border:1px solid #9b865b;border-radius:10px;background:#cdbb92;overflow:hidden}.vip-progress>i{display:block;height:100%;background:linear-gradient(#bfe6bc,#64ad81)}.vip-parchment>.gold-button{margin:12px 0 5px}.vip-parchment .small{color:#7d634d;font-size:var(--min-label,13px);line-height:1.6}.vip-rules{margin:15px 0;padding:13px;border:1px solid #655071;border-radius:10px;background:#261c32}.vip-rules>b{font-size:var(--min-label,13px);color:#e8c991}.vip-rules p{font-size:var(--min-label,13px);line-height:1.8;color:#c1b0c8}
@media(max-height:700px){.battle-controls{bottom:76px}.battle-controls .check-control,.battle-controls .battle-speed{width:39px;height:39px;min-height:39px;flex-basis:39px}.orb-label{top:42px;font-size:8px}.right-nav button>.art{width:30px;height:30px}.right-nav button{min-height:43px}}
body.low-motion .check-control:after,body.power-saving .check-control:after{animation:none!important;display:none}body.low-motion .fallen-creature{display:none}
@media(prefers-reduced-motion:reduce){.check-control:after{animation:none!important;display:none}.fallen-creature{display:none}.defeat-caption,.mob.enemy-arrival{animation:none!important}.notice{transition:none}}
.hero-health{bottom:max(142px,26%)}.hero-health small{top:auto;bottom:8px}

/* Visible orbs enlarged 20% from v2.19.0; retain 44px touch targets. */
.battle-controls{gap:6px}
.battle-controls .check-control,.battle-controls .battle-speed{--orb-size:27px;flex:0 0 44px;width:44px;height:44px;min-height:44px;border:0;background:none;box-shadow:none;border-radius:0;isolation:isolate;font-size:12px}
.battle-controls .check-control.orb-on{border:0;box-shadow:none}
.battle-controls .check-control::before,.battle-controls .battle-speed::before{content:'';position:absolute;width:var(--orb-size);height:var(--orb-size);box-sizing:border-box;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;background:linear-gradient(145deg,#33273e,#120f20);border:1px solid #8a6c48;box-shadow:0 2px 5px #0008;z-index:-1;pointer-events:none}
.battle-controls .check-control.orb-on::before{border-color:#ff9b40;box-shadow:0 0 5px #ff8e3c88,inset 0 0 5px #ff9b4030}
.battle-controls .check-control.orb-on::after{content:none}
.battle-controls .orb-symbol{font-size:15.6px}
.battle-controls .orb-label{top:38px;font-size:10.8px}
@media(max-height:700px){.battle-controls .check-control,.battle-controls .battle-speed{--orb-size:23.4px}.battle-controls .orb-symbol{font-size:13.8px}}

/* page */
:root{--gear-masterwork-0:url('./assets/equipment/masterwork-0.webp');--gear-masterwork-1:url('./assets/equipment/masterwork-1.webp');--gear-masterwork-2:url('./assets/equipment/masterwork-2.webp');--gear-masterwork-3:url('./assets/equipment/masterwork-3.webp');--gear-masterwork-4:url('./assets/equipment/masterwork-4.webp')}
.masterwork-intro{margin:3px 0 18px}.masterwork-intro h2{margin:8px 0;color:#f4dba5;font-size:23px}.masterwork-intro p{color:#bbaaC5;font-size:var(--min-label,13px);margin:6px 0}.masterwork-tiers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:0 0 17px}.masterwork-tiers>button{padding:7px 2px;border:1px solid #67516f;background:linear-gradient(145deg,#392c46,#1b1428);border-radius:11px;min-width:0}.masterwork-tiers>button.active{border-color:#ecc882;box-shadow:inset 0 0 12px #eab55427,0 0 0 1px #a97a42}.masterwork-tiers .art{display:block;width:100%;max-width:64px;height:auto;aspect-ratio:1;margin:auto;border-radius:8px}.masterwork-tiers b{display:block;font-size:var(--min-label,13px);margin:5px 0 2px;color:#e9d8bd}.masterwork-tiers small{font-size:var(--min-label,13px);color:#bba8c7}.masterwork-tiers .active small{color:#e6c087}.masterwork-card{padding:14px;border:1px solid #9a7957;border-radius:13px;background:radial-gradient(ellipse at 80% 0,#68486344,transparent 60%),linear-gradient(#30223c,#20182b);box-shadow:inset 0 0 0 3px #b8975b0c}.masterwork-hero{display:flex;align-items:center;gap:13px;min-height:120px}.masterwork-hero>.art{width:105px;height:105px;flex-shrink:0;border-radius:12px;border:1px solid #92725e;box-shadow:0 5px 18px #09081288}.masterwork-hero>div{min-width:0}.masterwork-hero small{color:var(--masterwork-color);font-size:var(--min-label,13px)}.masterwork-hero h3{margin:8px 0;color:#f0d7ac;font-size:21px;overflow-wrap:anywhere;line-height:1.3}.masterwork-hero span{font-size:var(--min-label,13px);color:#b9a7c6}.masterwork-requirements{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:5px;margin:14px 0}.masterwork-requirements>span{padding:9px 3px;text-align:center;background:#140e21a8;border:1px solid #69546c;border-radius:7px;min-width:0}.masterwork-requirements small{display:block;font-size:var(--min-label,13px);color:#b39bbd;margin-bottom:4px}.masterwork-requirements b{font-size:var(--min-label,13px);line-height:1.5;color:#d1bbcf}.masterwork-requirements .ready{border-color:#6d977d}.masterwork-requirements .ready b{color:#b4e1bd}.masterwork-parts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:15px 0}.masterwork-parts>button{position:relative;padding:5px;border:1px solid #60496c;border-radius:8px;background:#160f23;min-width:0}.masterwork-parts .art{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:5px}.masterwork-parts small{display:block;text-align:center;font-size:var(--min-label,13px);color:#c2aecf;margin-top:5px}.masterwork-parts .selected{border-color:var(--masterwork-color);box-shadow:0 0 10px #be96e82e}.masterwork-parts .selected:after{content:'';position:absolute;top:2px;right:3px;width:16px;height:16px;border-radius:50%;background:#e8c480;color:#2b1e29;font-size:var(--min-label,13px);font-weight:bold;display:grid;place-items:center;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b1e29' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12 5 5L20 6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center;background-size:85% 85%}.masterwork-effect{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:17px 0;padding:12px 0;border-block:1px solid #6a4f633f}.masterwork-effect>div{text-align:center}.masterwork-effect span,.masterwork-effect small{display:block;color:#c3adc9;font-size:var(--min-label,13px);line-height:1.5}.masterwork-effect b{display:block;color:#f4d495;font-size:17px;margin:5px 0}.masterwork-effect small{font-size:var(--min-label,13px);color:#9a91ad}.masterwork-costs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:17px 0}.masterwork-costs>div{display:grid;grid-template-columns:30px 1fr;column-gap:7px;align-items:center;padding:8px;background:#171022;border:1px solid #65506b;border-radius:8px}.masterwork-costs .art{width:30px;height:30px;grid-row:span 3}.masterwork-costs span{font-size:var(--min-label,13px);color:#b3a1bf}.masterwork-costs b{font-size:13px;color:#e7b5b6;margin-top:2px}.masterwork-costs .enough b{color:#c4e8c4}.masterwork-costs small{font-size:var(--min-label,13px);color:#9587a3;margin-top:3px}.masterwork-card>.gold-button{width:100%;min-height:46px;font-size:13px}.masterwork-card>.small,.masterwork-rules{font-size:var(--min-label,13px);line-height:1.8;color:#bca8c8}.masterwork-rules{text-align:center}.masterwork-set{margin-top:14px}.masterwork-set h3{font-size:14px;color:#dfc191}.masterwork-set>div:not(.set-bonus-list){display:flex;justify-content:space-between;gap:6px;border-bottom:1px solid #66506d44;padding:9px 0;font-size:var(--min-label,13px)}.masterwork-set b{font-size:var(--min-label,13px);color:#b7d8c2}.masterwork-set p{font-size:var(--min-label,13px);line-height:1.8}.masterwork-origin{font-size:var(--min-label,13px);text-align:center;line-height:1.7;padding:8px;margin-bottom:12px;border:1px solid #a08058;color:#edcf98;background:#3c2a3e;border-radius:7px}
@media(max-width:350px){.masterwork-card{padding:10px}.masterwork-hero>.art{width:83px;height:83px}.masterwork-hero h3{font-size:18px}.masterwork-hero{gap:9px;min-height:100px}.masterwork-intro h2{font-size:21px}.masterwork-requirements b{font-size:var(--min-label,13px)}.masterwork-parts{gap:5px}}

/* page */
/* Shared, finite reveal for every reward receipt. */
.result-surface .loot-card{animation:resultReveal 280ms ease-out both!important;animation-delay:var(--result-delay,0ms)!important;animation-iteration-count:1!important}
.result-surface .loot-card *,.result-surface .loot-card:before,.result-surface .loot-card:after{animation:none!important}
.result-surface .loot-grid{margin:12px 0 18px;align-items:stretch}
.result-surface .loot-card{min-width:0;overflow:hidden;padding:10px 5px}
.result-surface .loot-card b{overflow-wrap:anywhere;line-height:1.4}
.result-surface .summary-strip{margin:0 0 12px}
.result-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding:12px 0 4px}
.draw-balance-row{display:flex;align-items:center;margin:8px 0 5px}
.draw-balance{display:inline-flex;align-items:center;gap:6px;font-size:14px;line-height:1.35;font-weight:600}
.draw-balance b{font-variant-numeric:tabular-nums;white-space:nowrap}
.draw-balance :is(.art,.event-token-art){flex:0 0 24px;width:24px;height:24px}
.result-actions>.draw-balance-row{flex:0 0 100%;margin:0 0 2px}
.wheel-funds:has(.draw-balance){flex-wrap:wrap}
.result-actions button{flex:1;min-width:115px;min-height:42px}
.result-settled .loot-card{animation:none!important}
.result-activity{position:fixed;z-index:150;top:42%;left:50%;transform:translate(-50%,-50%);padding:18px 24px;border:1px solid #edc88c;border-radius:14px;color:#fff3d9;background:#21172cf5;box-shadow:0 8px 38px #0009;pointer-events:none;text-align:center;white-space:nowrap}
.result-activity:before{content:'';display:block;color:#ffd37e;font-size:28px;margin-bottom:8px;animation:resultPrepare 500ms ease-in-out both;display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask:var(--ui-spark) center/contain no-repeat;mask:var(--ui-spark) center/contain no-repeat;display:block;margin-inline:auto}
.result-busy .result-actions button,.result-busy button[data-result-action]{pointer-events:none;opacity:.55}
@keyframes resultReveal{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}
@keyframes resultPrepare{0%{opacity:.4;transform:scale(.7)}70%{opacity:1;transform:scale(1.15)}100%{transform:scale(1)}}
.low-motion .result-surface .loot-card,.power-saving .result-surface .loot-card,.low-motion .result-activity:before,.power-saving .result-activity:before{animation:none!important}
@media(prefers-reduced-motion:reduce){.result-surface .loot-card,.result-activity:before{animation:none!important}}

/* page */
.reward-indicator{position:absolute;right:5px;top:4px;width:10px;height:10px;border-radius:50%;background:#ff435b;border:1px solid #ffe0df;box-shadow:0 0 6px #f3365270;z-index:5;pointer-events:none}
button:has(>.reward-indicator){position:relative}
.bottom-nav .reward-indicator{right:16%;top:6px}.screen-tabs .reward-indicator{right:6px;top:5px}
.discovery-new{position:absolute;left:5px;top:5px;padding:2px 4px;border-radius:var(--ui-radius-control);background:#ffe29b;color:#49301c;font-size:var(--min-label,13px)!important;font-weight:900;letter-spacing:.3px;line-height:1.25;z-index:4;pointer-events:none;box-shadow:0 1px 5px #0007}
.collection-cell,.loot-card,.item-card{position:relative}.collection-cell{padding-top:12px}.collection-cell .discovery-new{font-size:var(--min-label,13px)!important}
.collection-claim-dock{position:sticky;bottom:0;margin-top:14px;padding:10px 0 4px;background:linear-gradient(transparent,#21182def 18%)}.collection-claim-dock .gold-button{width:100%;min-height:42px;position:relative}
.discovery-row .gold-button{min-width:84px}.gear-set-label{color:#dcc69e!important;line-height:1.35;font-size:var(--min-label,13px)!important}
.forge-set-picker,.set-rules{padding:13px;border:1px solid #80684b;border-radius:var(--ui-radius-card);background:#2b2038;margin:12px 0 16px}.forge-set-picker label{display:block;font-size:var(--min-label,13px);font-weight:bold;margin-bottom:8px}.forge-set-picker small{display:block;color:#c3b2ca;font-size:var(--min-label,13px);line-height:1.6;margin:8px 0}.forge-set-picker .muted-button{width:100%;padding:7px}
.forge-set-picker select,.inventory-set-filter select{display:block;width:100%;max-width:100%;padding:10px;border:1px solid #a78a62;border-radius:var(--ui-radius-card);background:#20182d;color:#f8e5bf;font-size:var(--min-label,13px)}
.inventory-set-filter{display:block;font-size:var(--min-label,13px);color:#c6b2cc;margin:10px 0}.inventory-set-filter select{margin-top:6px}.set-rules p{font-size:var(--min-label,13px);line-height:1.8}.set-rules small{display:block;font-size:var(--min-label,13px);color:#bcaaca;line-height:1.6}
.equipment-set-card{padding:13px;margin:12px 0;border:1px solid #a08660;border-radius:var(--ui-radius-card);background:linear-gradient(125deg,#35263e,#231d30)}.equipment-set-card>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:7px;flex-wrap:wrap}.equipment-set-card h3{font-size:var(--ui-type-control);margin:0;color:#ffe2a9}.equipment-set-card span,.equipment-set-card p,.equipment-set-card small{font-size:var(--min-label,13px);line-height:1.6}.equipment-set-card p{color:#c5b3cc;margin:8px 0}.equipment-set-card>small{color:#b4dece}.equipment-set-card.set-locked{border-color:#57475f}.equipment-set-card.set-locked h3{color:#c4b6ca}
.set-parts{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin:10px 0}.set-parts span{text-align:center;padding:4px 1px;border-radius:var(--ui-radius-control);background:#16101e;color:#a08eab;font-size:var(--min-label,13px);white-space:nowrap}.set-parts .worn{color:#ffe5aa;background:#725434;border:1px solid #c49e67}

.vip.reward-ready{position:relative}.vip.reward-ready:after{content:"";position:absolute;right:0;top:0;width:10px;height:10px;border-radius:50%;background:#ff435b;border:1px solid #ffe0df}
.set-bonus-list{display:grid;gap:5px;margin:10px 0;padding-top:9px;border-top:1px solid #b8996740}
.set-bonus-list>div{display:grid;grid-template-columns:43px minmax(0,1fr) auto;gap:5px;align-items:center;padding:5px 6px;border-radius:var(--ui-radius-control);background:#191321;color:#c5b4cf;font-size:var(--min-label,13px)}
.set-bonus-list b{font-size:var(--min-label,13px);font-weight:500}.set-bonus-list small{font-size:var(--min-label,13px);color:#a493b0}.set-bonus-list .bonus-active{background:#31524855;color:#b9f0d3}.set-bonus-list .bonus-active small{color:#b9f0d3}

/* page */
/* Shared mobile reading sizes. Keep artwork compact instead of shrinking copy. */
:where(.screen-content,.content) :is(small,.small,.muted){font-size:var(--copy-size);line-height:1.45}
:where(.screen-content,.content) :is(.small,.muted){color:var(--copy-color)}
:is(.card,.popup-hero,.shop-banner,.pet-hero,.content-hero,.atlas-intro,.region-preview,.online-place-hero,.online-opening,.vip-rules,.help-item,.game-notice,.connection-heading,.support-intro,.masterwork-intro) p{font-size:var(--ui-type-caption);line-height:1.55;color:var(--copy-color)}
:is(.summary-strip,.section-label,.resource-note,.effect-table>div,.modal-stats span,.prob-head,.prob-row,.probability-summary span){font-size:var(--ui-type-caption);line-height:1.45}
:is(.section-label,.summary-strip,.between,.pass-track-caption,.pass-mission-heading,.realm-section-title){flex-wrap:wrap;row-gap:5px}
:is(.card,.popup-hero,.shop-banner,.pass-list-copy,.pet-card,.relic-vault-card,.loot-card,.item-card,.collection-cell) :is(p,small,b,strong){overflow-wrap:anywhere}
:is(.screen-content,.content) :is(.gold-button,.action,.muted-button){font-size:var(--ui-type-caption);min-height:40px}
:is(.tabs button,.filter-chips button,.campaign-difficulty-tabs button,.profile-tabs button,.mailbox-tabs>button){font-size:var(--min-label,13px);line-height:1.4;min-height:36px}
.filter-chips{flex-wrap:wrap}
:is(.gold-button,.action):disabled{opacity:1;color:#d4c8db;background:#372e41;border-color:#756582;box-shadow:none;text-shadow:none}

/* Passes: return the icon and padding space to mission descriptions. */
.pass-banner{padding:14px 12px 10px}
.pass-banner-title>small{color:#e3d6e8}
.pass-level-line{margin-top:12px;gap:8px}
.pass-level-line>b{min-width:48px;height:46px}
.pass-progress-copy,.pass-progress-copy strong{font-size:var(--ui-type-caption);line-height:1.4}
.pass-progress-copy{flex-wrap:wrap;margin-bottom:5px}
.pass-banner-footer{margin-top:9px;flex-wrap:wrap}
.pass-banner-footer>span{font-size:var(--ui-type-caption);color:var(--copy-color);line-height:1.45}
.pass-banner-footer>button{font-size:var(--ui-type-caption);min-height:36px;padding:7px 10px}
.pass-banner-footer>button:disabled{opacity:1;background:#3c3047;color:#dfd0e8;border-color:#826b8c}
.pass-track-caption{font-size:var(--ui-type-control);margin-top:13px}
.pass-track-caption small{font-size:var(--min-label,13px);color:var(--caption-color)}
.pass-track{gap:7px}
.pass-track-step{width:84px;flex-basis:84px}
.pass-step-label{font-size:var(--min-label,13px);line-height:1.2;padding:3px 7px;margin-bottom:5px}
.pass-track-reward{min-height:94px;padding:6px 3px}
.pass-track-reward .art{width:34px;height:34px}
.pass-track-reward>b{font-size:var(--ui-type-section);margin-top:2px}
.pass-track-reward>small{font-size:var(--ui-type-caption);color:var(--copy-color);margin-top:2px}
.pass-track-extra{height:auto;min-height:28px;padding-top:4px;font-size:var(--min-label,13px);line-height:1.4;color:var(--caption-color)}
.pass-track-step.is-claimed .pass-track-reward>b{opacity:1;color:#c8d8ca}
.pass-mission-tabs{margin:13px 0 9px}
.pass-mode-tabs button,.pass-mission-tabs>button{font-size:var(--ui-type-caption);padding:7px 2px;min-height:36px}
.pass-mission-heading{margin-top:12px}
.pass-mission-heading>b{font-size:var(--ui-type-control)}
.pass-mission-heading>span,.pass-mission-heading strong{font-size:var(--min-label,13px);color:var(--copy-color)}
.pass-list-hint,.pass-shared-note{font-size:var(--min-label,13px);line-height:1.5;color:var(--caption-color);margin:7px 1px 9px}
.pass-list-row{grid-template-columns:34px minmax(0,1fr) 64px;gap:7px;padding:8px;min-height:76px}
.pass-list-icon>.art,.pass-point-icon>.art{width:34px;height:34px}
.pass-point-icon>b{left:-3px;right:-3px;font-size:var(--min-label,13px);white-space:nowrap;padding:2px 0}
.pass-list-copy>strong{font-size:var(--ui-type-control);line-height:1.35}
.pass-list-copy>small{font-size:var(--ui-type-caption);line-height:1.45;color:var(--copy-color);margin:3px 0}
.pass-list-copy>span,.pass-mission-progress>span{font-size:var(--min-label,13px);line-height:1.4;color:var(--copy-color)}
.pass-mission-progress{margin-top:4px;gap:5px}
.pass-list-row>.gold-button{font-size:var(--min-label,13px);line-height:1.4;padding:7px 2px;min-height:40px;white-space:normal}
.pass-row-claimed .pass-list-copy{opacity:1}
.pass-row-claimed>.gold-button{opacity:1;color:#d3e6d2;background:#344237;border-color:#718b72}
.season-track-selector{gap:6px;margin-bottom:9px}
.season-track-selector>button{padding:9px 8px;gap:3px}
.season-track-selector>button>b{font-size:var(--ui-type-control)}
.season-track-selector>button>small{font-size:var(--min-label,13px);color:var(--copy-color)}
.premium-pass-offer{padding:9px 8px;margin:9px 0;gap:7px;flex-wrap:wrap}
.premium-pass-offer b{font-size:var(--ui-type-control)}
.premium-pass-offer small{font-size:var(--ui-type-caption);color:var(--copy-color);margin-top:3px}
.premium-pass-offer>.gold-button{font-size:var(--min-label,13px);max-width:100%;padding:8px 6px}
.pass-vip-note{flex-wrap:wrap}.pass-vip-note>span,.pass-vip-note>small,.pass-vip-note>button{font-size:var(--min-label,13px);line-height:1.45}

/* Item, collection and result grids keep the existing number of columns. */
.item-grid,.collection-grid,.loot-grid,.pet-grid{gap:7px}
.item-card{padding:6px 3px}
.item-card .art,.item-card>.art,.item-card>span>.art{width:100%;max-width:48px;height:auto;aspect-ratio:1;margin-inline:auto}
.item-card b{font-size:var(--min-label,13px);line-height:1.4;min-height:0;margin:4px 0 2px;white-space:normal;overflow:visible;text-overflow:clip}
:is(.content,.screen-content) .item-card small{font-size:var(--min-label,13px);line-height:1.4}
.gear-set-label{font-size:var(--min-label,13px)!important;color:#e0ccaa!important}
.item-card.locked{opacity:1}.item-card.locked>.art{opacity:.55}
.item-card .item-tag{font-size:var(--min-label,13px);padding:2px 4px}
.discovery-new{font-size:var(--min-label,13px)!important}
.collection-cell{padding:8px 4px}
.collection-cell .art{max-width:68px;margin-inline:auto}
.collection-name{font-size:var(--ui-type-caption);line-height:1.4;min-height:0;margin:5px 0}
.collection-cell>div,.collection-cell>small{font-size:var(--min-label,13px);line-height:1.45}
.collection-cell>small,.collection-cell.locked>div:last-child{color:var(--caption-color)}
.pet-card{padding:5px 4px 8px}
.pet-card>.art{max-width:74px;margin-inline:auto}
.pet-card>b{font-size:var(--ui-type-caption);line-height:1.4;margin:4px 0}
.pet-card>small{font-size:var(--min-label,13px);line-height:1.45;color:var(--copy-color)}
.pet-tier-badge{font-size:var(--min-label,13px);line-height:1.4}
.pet-card em{font-size:var(--min-label,13px);padding:2px 4px}
.loot-card,.result-surface .loot-card{padding:7px 4px}
.loot-card .art{width:44px;height:44px}
.loot-card b{font-size:var(--ui-type-caption);line-height:1.4;margin-top:5px}
.loot-card small{font-size:var(--min-label,13px);color:var(--copy-color);line-height:1.45}
.loot-card .costume-result-hero,.loot-card .costume-result-hero.class-sprite{width:100%;max-width:86px;height:auto;aspect-ratio:1;margin-inline:auto}
.growth-row{gap:7px;padding:9px 8px;margin-bottom:8px}
.growth-row>.art{width:34px;height:34px;flex-shrink:0}
.growth-row>div b{font-size:var(--ui-type-control);line-height:1.4}
.growth-row>div small{font-size:var(--ui-type-caption);color:var(--copy-color);margin-top:3px}
.growth-row .gold-button{font-size:var(--ui-type-caption);min-width:76px;padding:7px 8px}
.growth-row .gold-button small{font-size:var(--min-label,13px)}
.growth-row .gold-button:disabled small{color:#d4c8db}
.skill-equipped{padding:8px;gap:7px}
.skill-equipped button>.art{max-width:49px;margin-inline:auto}
.skill-equipped small{font-size:var(--min-label,13px);position:static;display:block;margin-top:3px;background:none}
.reward-chips{gap:7px;margin:8px 0}
.reward-chips>span{padding:6px;min-width:60px}
.reward-chips .art,.vip-reward-grid .art{width:34px;height:34px}
.reward-chips small,.vip-reward-grid small{font-size:var(--min-label,13px);color:var(--copy-color)}
.reward-chips b{font-size:var(--ui-type-control)}
.relic-vault-hero{padding:10px;gap:9px;margin-bottom:10px}
.relic-vault-hero>.art{width:74px;height:74px;flex-basis:74px}
.relic-vault-hero p,.relic-vault-hero small{font-size:var(--ui-type-caption);line-height:1.45}
.relic-vault-card{padding:9px 6px}
.relic-vault-icon{width:64px;height:64px;flex-basis:64px}
.relic-vault-icon>.art{width:64px;height:64px}
.relic-vault-icon>.relic-vault-lock{font-size:var(--min-label,13px);left:3px;right:3px}
.relic-vault-card>strong{font-size:var(--ui-type-control);margin:6px 0 4px}
.relic-vault-card>small,.relic-vault-card>b,.relic-vault-card>em{font-size:var(--min-label,13px);line-height:1.5}
.relic-vault-card>small,.relic-vault-card>em,.relic-vault-card.locked>b{color:var(--copy-color)}
.equipment-set-card{padding:10px;margin:10px 0}
.equipment-set-card span,.equipment-set-card p,.equipment-set-card small{font-size:var(--min-label,13px);line-height:1.5}
.equipment-set-card p{color:var(--copy-color)}
.set-parts{display:flex;flex-wrap:wrap;gap:4px;margin:8px 0}
.set-parts span{flex:1 0 36px;color:var(--caption-color);font-size:var(--min-label,13px);padding:4px 2px}
.set-bonus-list>div{grid-template-columns:40px minmax(0,1fr) auto;font-size:var(--min-label,13px);padding:5px}
.set-bonus-list b,.set-bonus-list small{font-size:var(--min-label,13px);line-height:1.5}
.set-bonus-list small{color:var(--caption-color)}
.forge-set-picker small,.masterwork-rules,.masterwork-origin,.shop-footnote{font-size:var(--ui-type-caption);line-height:1.55;color:var(--copy-color)}
.masterwork-hero{min-height:96px;gap:10px}.masterwork-hero>.art{width:80px;height:80px}
.masterwork-tiers .art{max-width:44px}.masterwork-tiers b{font-size:var(--min-label,13px)}
.masterwork-tiers small{font-size:var(--min-label,13px)}
.masterwork-requirements b,.masterwork-effect span,.masterwork-costs span,.masterwork-set>div,.masterwork-set b{font-size:var(--min-label,13px);line-height:1.5}
.masterwork-parts .art{max-width:45px;margin-inline:auto}
.masterwork-costs>div{grid-template-columns:25px minmax(0,1fr);gap:3px 5px;padding:7px 5px}
.masterwork-costs .art{width:25px;height:25px}
.masterwork-costs small,.masterwork-effect small{color:var(--caption-color)}

/* Dungeon information stays in normal flow, including on narrow phones. */
.realm-heading{gap:8px;padding:10px 9px 0}
.realm-heading p{font-size:var(--ui-type-caption);line-height:1.45;color:#e2d6e9;margin-top:5px}
.realm-heading>div>span{font-size:var(--min-label,13px)}
.realm-controls{width:54%;margin:13px 9px 11px auto}
.featured-realm .realm-controls{margin-top:20px}
.realm-rewards{width:35%;left:9px}
.realm-rewards>small,.realm-rewards>b{font-size:var(--min-label,13px);color:#f4e0bf;line-height:1.5}
.realm-entry-count{padding:4px;gap:4px}
.realm-entry-count>b{font-size:var(--min-label,13px);white-space:normal;text-align:center;line-height:1.4}
.realm-entry-count>.art{width:18px;height:18px}
.realm-entry-hint{font-size:var(--min-label,13px);line-height:1.4;color:#e0d2e7}
.realm-difficulty b{font-size:var(--ui-type-caption)}
.realm-section-title span{font-size:var(--min-label,13px);color:var(--caption-color)}
.recommended-power>span,.realm-briefing>.recommended-power>span{font-size:var(--min-label,13px)}
.recommended-power>strong,.realm-briefing>.recommended-power>strong{font-size:var(--ui-type-control)}
.recommended-power>small,.realm-briefing>.recommended-power>small{font-size:var(--min-label,13px);color:var(--caption-color)}
.recommended-power>.recommendation-note,.realm-briefing>.recommended-power>.recommendation-note{font-size:var(--min-label,13px);line-height:1.4;color:#e1cfae}
.realm-briefing>.recommended-power{padding:6px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px}
.realm-briefing>.recommended-power>:is(small,em){flex-basis:100%}
.dungeon-reset-banner{gap:7px;padding:9px}
.dungeon-reset-banner>.art{width:26px;height:26px;flex-basis:26px}
.dungeon-reset-banner b{font-size:var(--ui-type-caption);line-height:1.4}
.dungeon-reset-banner small,.dungeon-reset-banner>span>small{font-size:var(--min-label,13px);line-height:1.4;color:var(--caption-color)}
.dungeon-reset-banner strong{font-size:var(--ui-type-control)}
.world-card small,.world-card em,.bestiary-grid small,.region-boss-preview small{font-size:var(--min-label,13px);line-height:1.45;color:var(--copy-color)}
.bestiary-grid b{font-size:var(--ui-type-caption);line-height:1.45}
.town-directory-card small,.town-directory-link small,.town-list-intro p{font-size:var(--ui-type-caption);color:var(--copy-color);line-height:1.45}
.town-directory-card em,.town-nameplate small{font-size:var(--min-label,13px);color:var(--copy-color)}
.town-directory-card{padding:10px;gap:9px;min-height:94px}
.town-directory-card>.art{width:48px;height:48px;flex-basis:48px}

/* Quest, mail, shop and account descriptions use the same reading scale. */
.mission-card-heading{flex-wrap:wrap;gap:5px}.mission-card-heading h3{font-size:var(--ui-type-control)}.mission-status{font-size:var(--min-label,13px);white-space:normal}
.mission-progress,.mission-list-summary>span,.mission-reset{font-size:var(--ui-type-caption);line-height:1.45}
.mission-list-summary small,.mission-progress small{color:var(--copy-color)}
.mail-row-text>strong{font-size:var(--ui-type-control)}.mail-row-text>small{font-size:var(--min-label,13px);margin-top:4px;color:var(--caption-color)}
.mail-letter>p,.mail-detail>p{font-size:var(--ui-type-caption);line-height:1.6;color:var(--copy-color)}
.mail-mini-reward>b,.mail-reward>small,.mail-status{font-size:var(--min-label,13px)}
.product-copy>small,.product-copy em,.grand .product-copy em,.bonus,.first-charge,.product-price small,.shop-status small,.balance-pill{font-size:var(--min-label,13px);line-height:1.45}
.product-copy>small,.product-copy em,.product-price small,.shop-status small{color:var(--copy-color)}
.product-price{padding-block:9px}
.diamond-product:not(.grand)>.art{max-width:108px;margin-bottom:0}
.product-copy{gap:4px;padding-bottom:9px}
.wardrobe-card>strong{font-size:var(--ui-type-caption);line-height:1.4}
.wardrobe-card>small{font-size:var(--min-label,13px);color:var(--copy-color)}
.wardrobe-title p,.wardrobe-title>small{font-size:var(--ui-type-caption);line-height:1.5;color:var(--copy-color)}
.wardrobe-rarity{font-size:var(--min-label,13px)}
.month-calendar{gap:4px}
.month-calendar .art{width:22px;height:22px}
.month-calendar small{font-size:var(--min-label,13px);line-height:1.4;white-space:normal;overflow-wrap:anywhere;text-align:center;color:var(--copy-color)}
.month-calendar .claimed{opacity:1;border-color:#647165}.month-calendar .claimed .art{opacity:.45}
.setting-copy small,.settings-heading small,.profile-footnote,.save-status small,.danger-zone>p,.local-account-note p{font-size:var(--ui-type-caption);line-height:1.5;color:var(--copy-color)}
.setting-copy b{font-size:var(--ui-type-control)}
.spec-section dt,.spec-section dt small{font-size:var(--ui-type-caption);line-height:1.5}
.spec-section dt small{color:var(--caption-color)}
.spec-section dd{font-size:var(--ui-type-control)}
.notice-items small{font-size:var(--menu-label-size,12px)}.notice-items .art{width:22px;height:22px}
.notice-items>span{grid-template-columns:22px auto}
.vip-center-banner{min-height:124px;padding:17px 14px}
.vip-center-banner p{font-size:var(--ui-type-caption);line-height:1.45}
.vip-parchment{padding:13px 10px}
.vip-rank-selector{gap:7px;margin-bottom:12px}
.vip-rank-selector span,.vip-progress-copy,.vip-parchment h4{font-size:var(--ui-type-caption);line-height:1.45}
.vip-progress-copy{flex-wrap:wrap;margin-top:14px}
.vip-parchment .small{font-size:var(--ui-type-caption);color:#624735}
.vip-rank-selector small{font-size:var(--min-label,13px)}.vip-medallion{flex-basis:56px;height:56px}
.vip-rules p{font-size:var(--ui-type-caption);line-height:1.55;color:var(--copy-color)}

@media(max-width:360px){
 .content{padding-inline:9px}.screen-content{padding-inline:9px}
 .pass-list-row{grid-template-columns:29px minmax(0,1fr) 59px;gap:6px;padding:8px 6px}
 .pass-list-icon>.art,.pass-point-icon>.art{width:29px;height:29px}
 .pass-track-step{width:80px;flex-basis:80px}
 .growth-row{gap:6px;padding-inline:6px}.growth-row>.art{width:28px;height:28px}.growth-row .gold-button{min-width:70px;padding-inline:6px}
 .realm-controls{width:56%;margin-right:7px}.realm-rewards{width:33%;left:7px}
 .dungeon-reset-banner{flex-wrap:wrap}.dungeon-reset-banner>span{margin-left:auto}
 .item-grid,.collection-grid,.pet-grid,.loot-grid{gap:5px}
}

.server-transaction-status:not([hidden]){display:block;flex:none;margin:0;padding:7px 12px;background:var(--ui-panel);color:var(--ui-gold);font-size:var(--ui-type-body);line-height:1.4;text-align:center}

/* page */
/* Readable, compact rewards and one profession-aware featured skin. */
:root{--royal-warrior:url('./assets/9439f60bc1cb07d4e1f9.webp');--royal-shadow:url('./assets/5d28e46ea8123c92c191.webp');--royal-paladin:url('./assets/8e92a095da20b42c728b.webp');--royal-mage:url('./assets/7c695832b6e8a808dd26.webp');--royal-archer:url('./assets/ca738a196bfdb5bc5435.webp')}
.honor-badge{display:inline-flex;align-items:center;justify-content:center;gap:6px;max-width:100%;padding:5px 10px;border:1px solid #c9ab78;border-radius:6px;background:linear-gradient(110deg,#34263d,#211c30);color:#f9e3af;font-size:13px;font-weight:700;line-height:1.4;text-align:center;overflow-wrap:anywhere;text-shadow:0 1px 3px #000}
.honor-silver{border-color:#aab4cd;color:#e3eafa}.honor-blue{border-color:#7ebdcf;color:#bff4ff}.honor-astral{border-color:#bca5eb;color:#e5d3ff}.honor-violet{border-color:#d7a1ec;color:#f3d7ff}.honor-crown{border-color:#ffd684;box-shadow:inset 0 0 12px #c5902629;color:#ffe8a6}
.hero-title{position:absolute;left:3%;width:46%;bottom:calc(24% + 31cqw);z-index:6;pointer-events:none;text-align:center}.hero-title[hidden]{display:none}.hero-title .honor-badge{font-size:12px;padding:3px 7px;gap:3px;background:#241c35e8}
.profile-title-link{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 14px}.profile-title-link>button{position:relative;flex-shrink:0;min-height:40px}.profile-title-link .reward-indicator{top:0;right:0}
.honor-current{display:flex;align-items:center;flex-direction:column;gap:10px;padding:18px 12px;background:radial-gradient(ellipse at top,#68465555,transparent 75%);border:1px solid #958164;border-radius:12px}.honor-current>small{font-size:13px;color:#d5c6dc}.honor-current>p{font-size:13px;line-height:1.5;text-align:center;margin:0;color:#d5c6dc}
.honor-filters{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}.honor-filters>button{min-height:40px;flex:1 1 auto;padding:7px 9px;font-size:13px;color:#e4d8ec;background:#30263e;border:1px solid #74627f;border-radius:20px}.honor-filters>button.active{background:#6c4735;border-color:#d9b878;color:#ffe4b0}
.honor-list{display:grid;gap:9px}.honor-card{display:grid;grid-template-columns:36px minmax(0,1fr) 68px;align-items:center;gap:9px;padding:12px 9px;border:1px solid #675776;border-radius:11px;background:#2b2236}.honor-card>.art{width:36px;height:36px}.honor-card>div{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}.honor-card .honor-badge{padding:4px 7px;gap:3px}.honor-card small{font-size:var(--min-label,13px);line-height:1.5;color:#d0c1d9;overflow-wrap:anywhere}.honor-card>button{padding:8px 4px;font-size:13px;min-height:42px;min-width:0}.honor-card.honor-ready{border-color:#e5bb72;background:linear-gradient(105deg,#4b314c,#2b2236)}
.vip-jump-label{display:flex;align-items:center;gap:12px;margin:14px 0;font-size:13px;color:#674529}.vip-jump-label select{min-width:0;flex:1;min-height:40px;border:1px solid #aa824d;border-radius:7px;color:#634124;background:#fff2c8;padding:8px;font:inherit}.vip-parchment h4{margin:17px 0 10px}.vip-reward-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.vip-reward-grid>div{min-width:0;padding:10px 4px}.vip-reward-grid .art{width:43px;height:43px}.vip-reward-grid b{font-size:17px;overflow-wrap:anywhere}.vip-reward-grid small{font-size:13px;line-height:1.35}.vip-title-gift{display:flex;flex-direction:column;align-items:center;gap:9px;margin:14px 0;padding:14px 8px;border:1px solid #be924b;border-radius:10px;background:#efd48b66}.vip-title-gift small{font-size:13px;color:#654326}.vip-progress-copy{flex-wrap:wrap;gap:4px}.vip-progress-copy b{font-size:14px}.vip-rank-selector>div{min-width:0}.vip-rank-selector span{font-size:13px}.vip-rank-selector button{flex-shrink:0}
.royal-hero{display:grid;grid-template-columns:38% minmax(0,1fr);align-items:center;gap:10px;border:1px solid #c7a264;border-radius:13px;padding:12px 10px;margin-bottom:14px;background:radial-gradient(ellipse at 18% 40%,#a97c5144,transparent 60%),linear-gradient(120deg,#28233a,#3e293b)}
.royal-hero>div:first-child{position:relative;display:flex;flex-direction:column;align-items:center}.royal-hero .class-sprite{width:100%;height:auto;aspect-ratio:1}.royal-class-tag{font-size:var(--min-label,13px);color:#ffe8b5;border:1px solid #a98d67;border-radius:20px;padding:3px 8px;text-align:center}.royal-hero small{font-size:var(--min-label,13px);letter-spacing:1.5px;color:#c9b3ad}.royal-hero h2{font-size:23px;line-height:1.2;margin:7px 0;color:#ffe4a6}.royal-hero b{font-size:14px;color:#e6cfaa}.royal-hero p{font-size:13px;line-height:1.5;margin:8px 0 0;color:#e0d2e8}
.royal-board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:10px 7px;border:1px solid #9d7c4c;border-radius:13px;background:linear-gradient(140deg,#5b3e4a,#221c31)}
.royal-slot{position:relative;min-width:0;display:flex;align-items:center;flex-direction:column;gap:5px;padding:17px 3px 8px;color:#f8e4bc;background:#21182e;border:1px solid #806282;border-radius:8px;font:inherit;cursor:pointer}.royal-slot>.art,.royal-slot>.class-sprite{width:100%;max-width:62px;height:auto;aspect-ratio:1;flex-shrink:0}.royal-slot b{font-size:var(--min-label,13px);line-height:1.35;min-height:32px;display:flex;align-items:center;overflow-wrap:anywhere}.royal-slot small{font-size:var(--min-label,13px);line-height:1.35;color:#ded0e9;min-height:32px}.royal-slot em{font-size:13px;line-height:1.3;font-weight:700;font-style:normal;color:#bce5d5}.royal-slot-number{position:absolute;top:3px;left:5px;font-size:var(--min-label,13px);color:#c8b593}.royal-slot-skin{border-color:#edc783;box-shadow:inset 0 0 16px #bd955533;background:linear-gradient(#46304b,#282036)}.royal-slot-title{border-color:#c496e4;background:linear-gradient(#402954,#282036)}.royal-slot:focus-visible{outline:2px solid #ffca76;outline-offset:2px}
.royal-pity{margin:14px 0;padding:12px;border:1px solid #695673;border-radius:10px;background:#211b2e}.royal-pity>span{display:flex;justify-content:space-between;font-size:14px}.royal-pity>small{display:block;font-size:var(--min-label,13px);line-height:1.5;color:#d9c8e0;margin:6px 0 8px}.royal-pity .bar{height:8px}.royal-pity .bar i{display:block;height:100%;background:linear-gradient(90deg,#a675ad,#ffdb94)}
.royal-results .loot-card>.art{width:68px;height:68px}.royal-results .loot-card{min-width:0;overflow-wrap:anywhere}.royal-results .loot-card b{font-size:14px;line-height:1.35}.royal-results .loot-card small{font-size:var(--min-label,13px);line-height:1.45;color:#dbcde4}.royal-results .royal-result-title,.royal-results .royal-result-skin{border-color:#d8b573}.royal-results .honor-badge{font-size:var(--min-label,13px);padding:3px 5px;gap:2px}.royal-guarantee{color:#f8daa0!important}.costume-holding{margin-top:15px}.costume-holding p{font-size:13px;line-height:1.5;color:#d8cbe1}.costume-holding .effect-table>div{display:flex;justify-content:space-between;gap:9px;padding:9px 0;font-size:13px;border-bottom:1px solid #cdb3d51c}.costume-holding h3{font-size:17px}
@media(max-width:360px){.royal-board{gap:4px;padding:8px 4px}.royal-hero h2{font-size:21px}.honor-card{grid-template-columns:28px minmax(0,1fr) 60px;gap:6px}.honor-card>.art{width:28px;height:28px}.honor-badge{gap:3px;padding:4px 6px}.vip-reward-grid .art{width:36px;height:36px}}

/* page */
/* Mobile circular wheels. Names and odds live below the ring at readable sizes. */
.wheel-heading{text-align:center;padding:4px 0 15px}.wheel-heading>small{font-size:var(--min-label,13px);letter-spacing:2px;color:#cbb4cc}.wheel-heading h2{font-size:27px;line-height:1.25;color:#ffe2aa;margin:9px 0}.wheel-heading p{font-size:13px;line-height:1.5;color:#e0d1e6;margin:0}.wheel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px}.wheel-toolbar>span{font-size:13px;color:#e3c68e}.wheel-toolbar>button{font-size:var(--min-label,13px);min-height:38px;padding:7px 10px}
.wheel-stage{padding:15px 0 8px}.star-wheel{position:relative;aspect-ratio:1;width:100%;max-width:420px;margin:auto;border:3px solid #d7b276;border-radius:50%;background:#24192e;box-shadow:0 0 0 4px #79604755,0 0 0 8px #332536,0 10px 22px #0005;isolation:isolate}
.wheel-dial{position:absolute;inset:3px;border:1px solid #edc98b77;border-radius:50%;background:radial-gradient(circle,transparent 54%,#ecc78018 68%,#171125 99%),var(--wheel-slices);pointer-events:none}.star-wheel:after{content:'';position:absolute;inset:24%;border:1px solid #d7b27677;border-radius:50%;pointer-events:none;z-index:1}
.wheel-center{position:absolute;inset:32%;border:2px solid #d5af70;border-radius:50%;background:radial-gradient(circle at 50% 30%,#624862,#21182e 80%);box-shadow:0 0 0 5px #21182e66,0 5px 15px #0007;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;pointer-events:none;z-index:2}.wheel-center>.class-sprite{position:static;width:72%;height:auto;aspect-ratio:1;margin-top:-9px;transform:none}.wheel-center>b{font-size:13px;line-height:1.25;margin-top:-7px;color:#ffe7bd;z-index:1}.wheel-center>small{font-size:var(--min-label,13px);color:#dfcee7;line-height:1.4;z-index:1}
.wheel-pins{position:absolute;inset:0;z-index:3}.wheel-slot{position:absolute;left:var(--slot-x);top:var(--slot-y);transform:translate(-50%,-50%);width:20%;aspect-ratio:1;border:1px solid transparent;border-radius:12px;background:#1b1427c9;color:#fff3d6;padding:3px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 6px #0006;touch-action:manipulation}.wheel-slot>.art,.wheel-slot>.class-sprite{position:static;width:72%;height:auto;aspect-ratio:1;margin:0;transform:none;pointer-events:none}.wheel-slot>span{font-size:13px;font-weight:700;line-height:1.15;text-shadow:0 1px 3px #000;z-index:1;pointer-events:none}.wheel-slot.selected{border-color:#ffe0a0;background:#604048e6;box-shadow:0 0 0 1px #c99d64,0 0 14px #efb95355}.wheel-slot:focus-visible{outline:2px solid #fff2ce;outline-offset:2px}.wheel-standard .wheel-slot{width:23%}.wheel-standard .wheel-slot>.class-sprite{width:77%}.wheel-standard .wheel-slot>span{font-size:14px}.wheel-kind-eventSkin,.wheel-kind-title{border-color:#ac89c5}
.wheel-cursor{position:absolute;inset:-7px;border-radius:50%;z-index:4;transform:rotate(var(--cursor-angle));pointer-events:none}.wheel-cursor:before{content:'';position:absolute;left:50%;top:-4px;transform:translateX(-50%);width:15px;height:19px;background:linear-gradient(#fff0bc,#d88f3e);clip-path:polygon(0 0,100% 0,50% 100%);filter:drop-shadow(0 0 5px #ffc76c)}
.wheel-selected{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;margin:15px 0 8px;padding:12px 10px;border:1px solid #9e7a5d;border-radius:10px;background:linear-gradient(110deg,#4a3144,#251c32)}.wheel-selected>div:first-child>.art,.wheel-selected>div:first-child>.class-sprite{position:static;width:42px;height:42px;transform:none}.wheel-selected b{font-size:16px;color:#ffe2af;line-height:1.4;display:block;overflow-wrap:anywhere}.wheel-selected span{display:block;font-size:13px;line-height:1.5;color:#dccde5;margin-top:3px}.wheel-selected strong{color:#aee3cf}.wheel-selected>button{font-size:13px;padding:8px;min-height:40px}.wheel-caption{font-size:var(--min-label,13px);color:#cdbdd5;line-height:1.5;text-align:center;margin:8px 0 14px}
.wheel-guarantees{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.wheel-guarantees>div{border:1px solid #6d5877;border-radius:9px;padding:10px 5px;text-align:center;background:#2b2138}.wheel-guarantees span{font-size:var(--min-label,13px);color:#d7c6df;display:block}.wheel-guarantees b{font-size:19px;display:block;margin-top:5px;color:#ffe0a3}
.wheel-wallet{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:14px 0;font-size:13px;color:#dccde7}.wheel-wallet>span{display:flex;align-items:center;gap:5px}.wheel-wallet .art{width:23px;height:23px}.wheel-wallet b{color:#fff0cf;font-size:15px}.wheel-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.wheel-actions>.gold-button{min-height:69px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:18px;padding:9px 5px}.wheel-actions>button>span{display:flex;align-items:center;gap:5px;font-size:14px}.wheel-actions .art{width:21px;height:21px}.wheel-actions>.muted-button{min-height:40px;padding:8px 4px;font-size:13px}.wheel-actions button:disabled{opacity:.7}
.event-clock{display:block;width:fit-content;margin:12px auto 7px;padding:7px 17px;color:#ffe2a5;background:#3c2943;border:1px solid #b89461;border-radius:22px;font-size:16px;font-weight:700;font-variant-numeric:tabular-nums}.wheel-heading>.event-period{font-size:var(--min-label,13px);letter-spacing:0;color:#d3bfd9}.event-ownership{padding:10px 12px;border-left:2px solid #b391c9;background:#30223d88;font-size:13px;line-height:1.6;color:#e0d1e6}.royal-pity .bar{margin-top:8px}
.wheel-event-link{display:flex;align-items:center;width:100%;gap:12px;margin:14px 0;padding:12px;border:1px solid #b38a60;border-radius:11px;background:linear-gradient(100deg,#674344,#2b203d);color:#ffe2b0;text-align:left}.wheel-event-link>.art{width:40px;height:40px}.wheel-event-link>span{flex:1;font-size:15px;line-height:1.4}.wheel-event-link small{display:block;font-size:var(--min-label,13px);margin-top:4px;color:#e5cfe5}.wheel-event-link>b{font-size:24px}
.wheel-rate-list{display:grid;gap:8px;margin:14px 0}.wheel-rate-list>button{display:grid;grid-template-columns:46px minmax(0,1fr) 57px;align-items:center;gap:10px;padding:10px;border:1px solid #6f5c7b;border-radius:10px;background:#30253d;text-align:left}.wheel-rate-list .art,.wheel-rate-list .class-sprite{position:static;width:44px;height:44px;transform:none}.wheel-rate-list b{font-size:14px;color:#f2ddb5;line-height:1.4}.wheel-rate-list small{display:block;font-size:var(--min-label,13px);color:#d4c3dc;margin-top:5px}.wheel-rate-list strong{font-size:16px;color:#b4e3cd;text-align:right}
.event-wardrobe{display:grid;grid-template-columns:35% minmax(0,1fr);gap:12px;align-items:center;padding:14px 10px;margin:18px 0;border:1px solid #c29b65;border-radius:12px;background:linear-gradient(130deg,#493045,#21192e)}.event-wardrobe .class-sprite{position:static;width:100%;height:auto;aspect-ratio:1;transform:none}.event-wardrobe small{font-size:var(--min-label,13px);color:#dcc4df}.event-wardrobe h3{font-size:20px;color:#ffe0a6;margin:7px 0}.event-wardrobe p{font-size:13px;color:#d8c7df}.event-wardrobe button{width:100%;padding:10px 4px;font-size:13px}
/* The original star face has 12px of transparent margin per side in a 192px image. */
.roulette-medallion{
 position:relative;display:grid;grid-template:minmax(0,1fr) / minmax(0,1fr);place-items:center;
 width:var(--roulette-diameter,30px);aspect-ratio:1;flex:none;align-self:center;
 box-sizing:border-box;border:1px solid #dcb46e;border-radius:50%;overflow:hidden;
 background:#35203f;pointer-events:none;
}
.roulette-medallion>.roulette-face{
 display:block;width:100%;height:100%;object-fit:contain;transform:scale(calc(192 / 168));
}
.roulette-medallion::after{
 content:"";position:absolute;inset-block-start:0;inset-inline:0;margin-inline:auto;
 width:30%;height:25%;background:linear-gradient(#fff0c5,#e1b466);
 clip-path:polygon(0 0,100% 0,50% 100%);
}
@media(max-height:740px){.roulette-medallion{--roulette-diameter:26px}}
.event-wheel-shortcut.event-ended{filter:saturate(.4)}
.low-motion .wheel-cursor,.power-saving .wheel-cursor,.low-motion .wheel-dial,.power-saving .wheel-dial{animation:none!important}
@media(prefers-reduced-motion:reduce){.wheel-cursor,.wheel-dial{animation:none!important}}
@media(max-width:360px){.wheel-heading h2{font-size:24px}.wheel-center>b{font-size:var(--min-label,13px)}.wheel-center>small{font-size:var(--min-label,13px)}.wheel-slot>span{font-size:var(--min-label,13px)}.wheel-toolbar>span{font-size:var(--min-label,13px)}.wheel-toolbar>button{padding:6px;font-size:var(--min-label,13px)}.wheel-selected{gap:7px;grid-template-columns:35px minmax(0,1fr) auto;padding:10px 7px}.wheel-selected>div:first-child>.art,.wheel-selected>div:first-child>.class-sprite{width:35px;height:35px}.wheel-selected b{font-size:14px}.wheel-selected span{font-size:var(--min-label,13px)}}
.wheel-actions>.wheel-coin-button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 6px;border:1px solid #e4bd7f;border-radius:9px;background:linear-gradient(180deg,#8054a6,#58366f);color:#fff6e8;font-size:13px;font-weight:700;text-shadow:0 1px 2px #261332;box-shadow:inset 0 1px 0 #e4c9ff66,0 2px 5px #100a1c66;opacity:1}
.wheel-actions>.wheel-coin-button>.art{flex:0 0 20px;width:20px;height:20px}
.wheel-actions>.wheel-coin-button:disabled{background:#302737;border-color:#65596d;color:#b8adbf;box-shadow:none;text-shadow:none;opacity:.7}
.wheel-actions>.wheel-coin-button:disabled>.art{filter:grayscale(1);opacity:.6}
@media(max-width:360px){.wheel-actions>.wheel-coin-button{gap:4px;padding-inline:4px;font-size:var(--min-label,13px)}.wheel-actions>.wheel-coin-button>.art{flex-basis:18px;width:18px;height:18px}}
.wheel-slot.wheel-slot-owned{border-color:#c0dbb1;background:#243b35;box-shadow:inset 0 0 10px #13271d66}
.wheel-slot-owned>.class-sprite,.wheel-slot-owned>.title-emblem{opacity:.5;filter:saturate(.35)}
.wheel-slot>.wheel-owned-mark{position:absolute;left:-4px;right:-4px;bottom:-2px;z-index:4;display:block;padding:3px 1px;border:1px solid #c5dba7;border-radius:5px;background:#35523f;color:#f3ffdb;font-size:var(--min-label,13px);font-style:normal;font-weight:700;line-height:1.2;white-space:nowrap;text-align:center;pointer-events:none}
.wheel-slot-owned.selected{border-color:#f6e4a9;box-shadow:0 0 0 1px #c5dba7,0 0 12px #bbd49044}
.royal-pity-complete{border-color:#a5b887;background:linear-gradient(110deg,#2c4038,#232b32)}
.royal-pity-complete>b{display:block;color:#edffd2;font-size:15px;line-height:1.5}
.royal-pity-complete>small{margin-bottom:0;color:#dfecd4}

/* page */
/* One wardrobe grid, with an integrated limited outfit and illustrated titles. */
.wardrobe-event-card{position:relative;border-color:#bf91d8;background:linear-gradient(150deg,#46304e,#241c31)}
.wardrobe-event-card.owned{border-color:#d6b177}.wardrobe-event-tag{position:absolute;left:7px;top:7px;z-index:2;border:1px solid #e6c181;border-radius:5px;padding:3px 6px;color:#ffeac3;background:#563650;font-size:var(--min-label,13px);line-height:1;font-style:normal}
.unified-wardrobe .wardrobe-event-card.selected{border-color:#ffe1a0;box-shadow:inset 0 0 13px #e9b55733,0 0 8px #cfab6d44}
.wardrobe-title>.wardrobe-rarity{position:static;display:inline-flex;align-items:center;min-height:25px;margin:0 0 8px;padding:3px 11px;border:1px solid #ab8d65;border-radius:16px;background:#382b40;color:#ffe5b1;font-size:var(--min-label,13px);line-height:1.4}
.wardrobe-title{position:relative;padding-top:14px}
.costume-stat-link{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:54px;margin:10px 0 12px;padding:10px 12px;border:1px solid #ad8cba;border-radius:10px;background:linear-gradient(110deg,#40314e,#2b233a);color:#f6eafc;text-align:left}
.costume-stat-link>span{display:flex;flex-direction:column;gap:5px;min-width:0}.costume-stat-link small{color:#e0d0e9;font-size:var(--min-label,13px)}.costume-stat-link b{font-size:13px;line-height:1.45;color:#fff0ce}.costume-stat-link>strong{flex-shrink:0;font-size:13px;color:#ffe0a0}
.costume-stat-link:focus-visible,.costume-rank-details>summary:focus-visible{outline:2px solid #ffe4ae;outline-offset:3px}
.costume-stat-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.costume-stat-totals>div{display:flex;flex-direction:column;gap:7px;padding:12px 8px;border-radius:9px;background:#1d172a;text-align:center}.costume-stat-totals span{font-size:var(--min-label,13px);color:#e3d6ec}.costume-stat-totals b{font-size:21px;color:#ffe3a5}
.costume-rank-details{border-top:1px solid #6d5877;padding-top:4px}.costume-rank-details>summary{padding:12px 0;color:#ffe1ae;font-size:14px;font-weight:700;cursor:pointer}.costume-rank-table{width:100%;border-collapse:collapse;text-align:center;font-size:13px}.costume-rank-table th,.costume-rank-table td{padding:9px 5px;border-bottom:1px solid #67536f;color:#f3e8f7}.costume-rank-table thead th{color:#ffe0a5}.costume-rank-table small{display:block;margin-top:3px;color:#d6c6e0;font-size:var(--min-label,13px);font-weight:400}.costume-holding p,.costume-rank-details p,.costume-legacy-note{font-size:13px;line-height:1.65;color:#e3d7eb}
.costume-detail-hero{display:flex;align-items:center;gap:12px;margin:0 0 16px;padding:10px;border:1px solid #a38460;border-radius:12px;background:radial-gradient(ellipse at 30% 55%,#7a5b7455,transparent 80%),#251c31}.costume-detail-hero>.class-sprite{position:relative;flex:0 0 124px;width:124px;height:124px;max-width:42%}.costume-detail-hero>div:not(.class-sprite){min-width:0}.costume-detail-hero h3{word-break:keep-all;overflow-wrap:anywhere;margin:8px 0;font-size:21px;line-height:1.35;color:#ffe0a2}.costume-detail-hero span{font-size:var(--min-label,13px);line-height:1.5;color:#e5d4ef}.costume-detail-hero b{font-size:13px;color:#f1e1b9}
.costume-detail-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.costume-detail-stats>section{padding:13px 10px;border:1px solid #8d7499;border-radius:11px;background:#30243d}.costume-detail-stats h3{margin:0 0 14px;color:#ffe0a2;font-size:16px;line-height:1.4}.costume-detail-stats h3 small{display:block;font-size:var(--min-label,13px);margin-top:5px;color:#e2cdee;font-weight:400}.costume-detail-stats dl{margin:0}.costume-detail-stats dl>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;margin:10px 0;font-size:13px;color:#f5ecfa}.costume-detail-stats dd{margin:0;color:#ffe2a1;font-weight:800}.costume-detail-stats p{margin:12px 0 0;font-size:var(--min-label,13px);line-height:1.6;color:#ddcfe6}.costume-detail-note{font-size:13px;line-height:1.65;color:#e7dbee}
.honor-badge.honor-ornate{position:relative;display:inline-block;container-type:inline-size;width:300px;max-width:100%;aspect-ratio:3;height:auto;min-height:0;padding:0;gap:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible;vertical-align:middle;isolation:isolate}
.honor-ornate .honor-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 2px 3px #0009)}
.honor-ornate .honor-name{position:absolute;left:25%;right:25%;top:42%;height:27%;display:flex;align-items:center;justify-content:center;font-size:clamp(10px,6.7cqw,19px);font-weight:900;line-height:1;letter-spacing:.02em;white-space:nowrap;overflow-wrap:normal;color:#fff0c5;text-shadow:0 1px 1px #170a25,0 0 4px #170a25,0 0 9px #f0b14c99;z-index:2}
.honor-fate .honor-name{color:#fff0ff;text-shadow:0 1px 2px #170a25,0 0 5px #a247dc,0 0 10px #d691ed99}
.honor-regal .honor-frame{filter:sepia(.22) saturate(1.15) drop-shadow(0 2px 3px #0009)}
.honor-glint{position:absolute;width:8%;aspect-ratio:1;z-index:3;pointer-events:none;background:radial-gradient(ellipse,white 0%,#f0c5ff99 18%,transparent 64%);opacity:.6;animation:honorStar 3.6s ease-in-out infinite}
.honor-glint:before,.honor-glint:after{content:'';position:absolute;inset:47% 7%;background:linear-gradient(90deg,transparent,#fff,transparent);box-shadow:0 0 4px #f4c6ff}
.honor-glint:after{transform:rotate(90deg)}.glint-one{left:46%;top:12%}.glint-two{right:20%;bottom:17%;animation-delay:1.8s;width:5%}
@keyframes honorStar{0%,100%{opacity:.25;transform:scale(.72)}50%{opacity:.95;transform:scale(1.12)}}
.hero-title .honor-badge.honor-ornate{width:100%;max-width:220px;padding:0;background:none;filter:drop-shadow(0 2px 3px #160922)}
.profile-title-link:has(.honor-ornate){flex-wrap:wrap;justify-content:center}.profile-title-link:has(.honor-ornate)>.honor-ornate{width:260px}
.honor-card.honor-card-premium{grid-template-columns:minmax(0,1fr) 68px;gap:8px;background:radial-gradient(ellipse at 40% 15%,#59416b66,transparent 80%),#2b2236}
.honor-card-premium>.art{display:none}.honor-card-premium>div{align-items:center;width:100%}.honor-card-premium .honor-badge.honor-ornate{width:100%;max-width:300px;padding:0}.honor-card-premium small{width:100%}
.title-reward-preview{display:flex;justify-content:center;margin:14px 0}.title-reward-preview .honor-ornate{width:360px}
.title-emblem{position:relative;display:inline-block;width:60px;height:60px;overflow:hidden;flex-shrink:0;vertical-align:middle;pointer-events:none}
.title-emblem>img{position:absolute;height:200%;width:600%;max-width:none;left:-250%;top:0;pointer-events:none}
.wheel-slot>.title-emblem{width:72%;height:auto;aspect-ratio:1;pointer-events:none}
.wheel-selected>div:first-child>.title-emblem{width:42px;height:42px}
.wheel-rate-list .title-emblem{width:44px;height:44px}.royal-results .loot-card>.title-emblem{width:68px;height:68px}
.royal-results .royal-result-title{grid-column:1 / -1;background:radial-gradient(ellipse at center,#67416b66,#241b30 75%)}
.royal-results .royal-result-title .honor-badge.honor-ornate{display:block;width:280px;margin:4px auto;padding:0}
.vip-title-gift .honor-badge.honor-ornate{width:300px}
.no-effects .honor-glint,.low-motion .honor-glint,.power-saving .honor-glint{animation:none;opacity:.55}
@media(prefers-reduced-motion:reduce){.honor-glint{animation:none;opacity:.55}}
@media(max-width:360px){.honor-card.honor-card-premium{grid-template-columns:minmax(0,1fr) 60px}.wardrobe-event-tag{font-size:var(--min-label,13px);padding:3px 4px}.wheel-selected>div:first-child>.title-emblem{width:35px;height:35px}}

/* page */
/* v2.12: readable details, undistorted art and character-attached titles. */
.actor.hero .hero-title{left:-5%;width:110%;bottom:94%;z-index:6;line-height:1;transform-origin:50% 100%}
.actor.hero .hero-title .honor-badge{white-space:nowrap;overflow-wrap:normal}
.actor.hero .hero-title .honor-ornate{max-width:200px}
.profile-title-button{position:relative;display:flex;align-items:center;gap:7px;width:max-content;max-width:100%;min-height:34px;margin:6px 0;padding:5px 10px;border:1px solid #c7a16a;border-radius:8px;background:#3c2a40;color:#ffe4aa;font-size:13px;font-weight:700;line-height:1.3}
.spec-identity .profile-title-button>span,.identity-heading .profile-title-button>span{display:inline;color:#ffe4aa;font-size:19px;line-height:1;margin:0}
.profile-title-button .reward-indicator{top:-3px;right:-3px}
.spec-identity>div>span,.identity-heading>div>span{display:block;color:#d9cfe2;font-size:var(--min-label,13px);line-height:1.5}
#content .spec-section dt small{color:#66513b;font-size:13px;line-height:1.5}
#content .spec-section dt,#content .spec-section dd{color:#51402e}
.vip-center-banner{min-height:136px}
.vip-center-banner h3{max-width:62%;font-size:clamp(22px,6.1cqw,29px);line-height:1.25;text-shadow:0 2px 4px #160e20}
.vip-center-banner>span,.vip-center-banner>p{max-width:59%;color:#ffebc4;text-shadow:0 1px 3px #140b19}
.vip-center-banner>p{font-size:13px;line-height:1.55}
.vip-parchment .vip-title-gift>small,.vip-parchment .vip-rank-selector small{color:#674526}
.wheel-event-link>.art{flex:0 0 44px;width:44px;height:44px;min-width:44px;max-width:44px;aspect-ratio:1}
.wheel-event-link>span:not(.art){flex:1;min-width:0}
.pet-sort-note{margin:16px 0 9px;color:#e5d7ee;font-size:13px;text-align:right}
button.collection-cell{width:100%;min-width:0;text-align:center;font:inherit;color:#f4e9f7;display:flex;flex-direction:column;align-items:center;gap:5px}
button.collection-cell.locked{opacity:1}
button.collection-cell .art{flex:0 0 64px;width:64px;height:64px;max-width:64px;aspect-ratio:1}
button.collection-cell .collection-name{margin:0;font-size:13px;line-height:1.4;min-height:2.8em;display:flex;align-items:center}
button.collection-cell>small{font-size:var(--min-label,13px);line-height:1.4}
.catalog-detail-hint{font-size:var(--min-label,13px);color:#f4d493;line-height:1.4;margin-top:auto}
.catalog-item-hero>.art{width:126px;height:126px;aspect-ratio:1}
.catalog-item-hero h3{font-size:23px}
.forge-random-note{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 18px;color:#e5d6ec;font-size:13px}
.forge-random-note>span{line-height:1.5}.forge-random-note>button{flex-shrink:0;min-height:38px;padding:7px 10px}
/* VIP 10–13 keep their original compact gold badges. Each higher tier has its own illustration. */
.honor-regal .honor-frame{filter:drop-shadow(0 2px 3px #0009)}
.honor-regal .honor-name{left:22%;right:22%;top:48%;height:24%;font-size:clamp(10px,6.3cqw,19px)}
.honor-vip-14 .honor-name{color:#ffedba;text-shadow:0 1px 2px #290811,0 0 5px #9b2a3b}
.honor-vip-15 .honor-name{color:#e9f4ff;text-shadow:0 1px 2px #0d163c,0 0 6px #668fd6}
.honor-vip-16 .honor-name{top:53%;color:#fff4cf;text-shadow:0 1px 2px #2b1746,0 0 7px #c78bea}
.honor-vip-14 .glint-one{left:47%;top:17%}.honor-vip-15 .glint-one{left:47%;top:9%}.honor-vip-16 .glint-one{left:47%;top:2%}
@media(max-width:360px){.spec-identity{gap:7px}.spec-identity>.art{width:44px;height:44px}.profile-title-button{padding:5px 7px;font-size:var(--min-label,13px)}.vip-center-banner{min-height:128px}.vip-center-banner>span{font-size:var(--min-label,13px);letter-spacing:1.4px}.vip-center-banner>p{font-size:var(--min-label,13px)}.forge-random-note{flex-wrap:wrap}button.collection-cell .art{width:58px;height:58px;flex-basis:58px}}
.monthly-caption{margin:12px 0;color:#e0d3e9;font-size:13px;line-height:1.6}
.month-calendar.monthly-rewards{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.monthly-rewards>.month-day{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;min-height:93px;padding:7px 1px;border:1px solid #856c94;border-radius:8px;background:#2b2037;color:#f8eefc;text-align:center}
.monthly-rewards .month-day-number{font-size:var(--min-label,13px);font-weight:700;line-height:1.1;color:#e9d8f3}.monthly-rewards .art{width:26px;height:26px;flex:0 0 26px}.monthly-rewards b{font-size:14px;line-height:1.1;color:#ffe4b0}.monthly-rewards small{font-size:var(--min-label,13px);line-height:1.2;white-space:nowrap;color:#e2d2ec}
.monthly-rewards .special{background:linear-gradient(#65472e,#3c2935);border-color:#c49b5c}.monthly-rewards .ready{border-color:#eac984;box-shadow:inset 0 0 0 1px #eac984}.monthly-rewards .selected{outline:2px solid #f4dca5;outline-offset:-2px;background:#50344f}.monthly-rewards .claimed{opacity:1;border-color:#6d806d}.monthly-rewards .claimed small{color:#c9e8ba}.monthly-rewards .month-day:focus-visible{outline:2px solid white;outline-offset:1px}
.monthly-selected{margin-top:14px;padding:13px 12px;border:1px solid #aa8d63;border-radius:11px;background:#36273f}.monthly-selected>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.monthly-selected h3{margin:0;color:#ffe3ac;font-size:15px;line-height:1.4}.monthly-selected>div>span{color:#e9d8ee;font-size:var(--min-label,13px);white-space:nowrap}.monthly-selected>p{margin:8px 0 0;color:#dfcee7;font-size:var(--min-label,13px);line-height:1.5}
.monthly-selected .reward-chips,.monthly-totals .reward-chips{display:flex;flex-wrap:wrap;gap:8px}.monthly-selected .reward-chips>span,.monthly-totals .reward-chips>span{display:flex;align-items:center;gap:6px;padding:7px 9px;border-radius:8px;background:#21192d}.monthly-selected .reward-chips .art,.monthly-totals .reward-chips .art{width:28px;height:28px;flex:0 0 28px}.monthly-selected .reward-chips b,.monthly-totals .reward-chips b{font-size:16px;color:#ffe4ac}.monthly-selected .reward-chips small,.monthly-totals .reward-chips small{font-size:13px;color:#eee2f3}
.monthly-totals{margin-top:12px;border-top:1px solid #6d5779;padding-top:4px}.monthly-totals>summary{padding:12px 0;font-size:14px;font-weight:700;color:#f7dcac;cursor:pointer}

/* Eight growth tabs sit in two even rows of four instead of leaving one tab alone on a row. */
.ui-renewal #screenTabs:has(>button:nth-child(8)):not(:has(>button:nth-child(9)))>button{flex:1 0 22%}

/* Constellation map. Stars and plates are placed by percentage on a 4:5 night sky. */
.constellation-intro{margin-bottom:10px}
.constellation-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 10px}
.constellation-summary>div{display:grid;gap:2px;padding:8px 10px;border:1px solid #4a3f5c;border-radius:10px;background:#171520;text-align:center}
.constellation-summary span{color:#bbaac5;font-size:12px}.constellation-summary b{color:#ffdeb0;font-size:17px}
.star-map{position:relative;width:100%;aspect-ratio:4/5;margin:0 0 12px;border:1px solid #6d5a86;border-radius:16px;overflow:hidden;
 background:radial-gradient(120% 80% at 50% 100%,#2c2356 0%,#17132c 55%,#0c0a18 100%)}
.star-map::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.55;
 background-image:radial-gradient(1.2px 1.2px at 12% 18%,#fff 50%,transparent 51%),radial-gradient(1px 1px at 81% 9%,#fff 50%,transparent 51%),radial-gradient(1.4px 1.4px at 64% 33%,#cfe 50%,transparent 51%),radial-gradient(1px 1px at 28% 61%,#fff 50%,transparent 51%),radial-gradient(1.2px 1.2px at 91% 68%,#fdc 50%,transparent 51%),radial-gradient(1px 1px at 7% 79%,#fff 50%,transparent 51%),radial-gradient(1.3px 1.3px at 45% 12%,#fff 50%,transparent 51%)}
.star-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.star-lines line{stroke:#8f7fb8;stroke-width:1.6;stroke-dasharray:3 3;vector-effect:non-scaling-stroke;opacity:.7}
.star-lines line.lit{stroke:#ffe2a6;stroke-dasharray:none;opacity:1;filter:drop-shadow(0 0 3px #ffd98a)}
.star-lines line.locked{stroke:#5b5568;opacity:.45}
/* The 38px disc sits inside a 44px touch target. Its count stays inside that same target. */
.star-node{position:absolute;width:44px;height:44px;transform:translate(-50%,-50%);padding:0;border:0;border-radius:50%;
 display:grid;place-items:center;background:transparent;color:#d9cdf0;cursor:pointer}
.star-node .star-core{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;font-size:20px;line-height:1;
 border:1.5px solid #8f7fb8;background:radial-gradient(circle at 35% 30%,#3d3266,#1b1630);box-shadow:0 2px 4px #0008}
.star-node>b{position:absolute;right:0;bottom:0;min-width:18px;height:16px;padding:0 2px;border-radius:8px;
 border:1px solid #6d5a86;background:#120f1f;color:#ffdeb0;font-size:12px;line-height:14px;text-align:center}
.star-node.lit .star-core{border-color:#e7c98a;color:#ffe9bd;box-shadow:0 0 5px #f6d48a77,0 2px 4px #0008}
.star-node.full .star-core{border-color:#ffe2a6;color:#fff6dc;background:radial-gradient(circle at 35% 30%,#7a5fd0,#33266a);box-shadow:0 0 7px #ffe2a699,0 0 2px #fff}
.star-node.full>b{border-color:#ffe2a6;background:#4a3a12;color:#fff1c9}
/* A locked star still answers a tap with its condition. */
.star-node.locked{filter:grayscale(1);opacity:.8}
.star-node.locked .star-core{border-color:#55505f;background:#24212b;color:#6f6a79;box-shadow:none}
.star-lock{position:absolute;left:50%;top:50%;width:20px;height:20px;transform:translate(-50%,-50%);display:grid;place-items:center;border-radius:50%;background:#0d0b14e6;border:1px solid #8b8596;color:#e9e4f2;font-size:13px}
.star-plate{position:absolute;transform:translate(-50%,-50%);display:grid;align-content:center;gap:1px;justify-items:center;min-width:94px;height:44px;padding:3px 8px;
 border:1px solid #d1b47a;border-radius:9px;background:#2a2140e6;color:#f4dba5;white-space:nowrap;cursor:pointer}
.star-plate b{font-size:13px;line-height:16px}.star-plate small{font-size:12px;line-height:14px;color:#cdbfe0}
.star-plate.complete{background:#4a3a12e6;border-color:#ffe2a6}
.star-plate.locked{padding-left:22px;border-color:#55505f;background:#201d28e6;color:#8c8798;filter:grayscale(1)}
.star-plate.locked small{color:#777283}
.star-plate>ui-mark{position:absolute;left:6px;top:50%;transform:translateY(-50%);font-size:12px;color:#e9e4f2}
.star-map.closed .star-lines line{stroke:#5b5568;opacity:.45}
.constellation-meter{display:block;width:100%;margin:10px 0 12px}
.constellation-costs{grid-template-columns:repeat(2,minmax(0,1fr))}
.constellation-quick button{min-height:44px}
.star-detail{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;align-items:center;margin:4px 0 6px}
.star-detail h3{margin:2px 0;color:#f4dba5;font-size:19px}.star-detail small{color:#bbaac5;font-size:12px}.star-detail span{font-size:13px}
.star-detail-node{position:static;transform:none;width:64px;height:64px;cursor:default}
.star-detail-node .star-core{width:64px;height:64px}
.star-alert{display:grid;justify-items:center;gap:12px;padding:16px 6px 18px;text-align:center}
.star-alert .star-lock{position:static;transform:none;width:44px;height:44px;font-size:22px}
.star-alert p{margin:0;font-size:15px;line-height:1.5}
.constellation-effect{grid-template-columns:repeat(2,minmax(0,1fr))}
/* Painted map art, used when CONSTELLATION_ART is true. */
.star-map.painted{background:#0c0a18 url('./assets/constellation/sky.webp') center/cover no-repeat}
.star-map.painted::before{display:none}
.star-core img{width:30px;height:30px;object-fit:contain;display:block}
.star-detail-node .star-core img{width:46px;height:46px}
.star-lock img{width:100%;height:100%;object-fit:contain;display:block}
.star-node.locked .star-core img{filter:grayscale(1) brightness(.55)}

/* page */
.music-settings{margin:12px 0 22px;padding:16px;border:1px solid #85708e;border-radius:14px;background:#251c32;color:#f7eddf;font-size:15px}
.music-volume-label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:700}
.music-volume-label output{color:#ffe4a3;font-variant-numeric:tabular-nums}
.music-settings input[type=range]{display:block;width:100%;height:44px;margin:0 0 12px;accent-color:#e5b86d;cursor:pointer;touch-action:pan-y}
.music-settings select{display:block;box-sizing:border-box;width:100%;min-height:44px;margin:8px 0 12px;padding:10px;color:#fff2db;background:#34263e;border:1px solid #b6986e;border-radius:9px;font:inherit}
.music-settings p{margin:10px 0;line-height:1.5;font-size:14px;color:#ffe7b5}
.music-settings small{display:block;line-height:1.6;font-size:13px;color:#ded2e3}
.music-settings .music-retry{min-height:40px;margin:0 0 12px;padding:8px 16px;font-size:14px}
.music-settings :focus-visible{outline:3px solid #ffe4a3;outline-offset:3px}

.sound-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.sound-preview .gold-button{min-height:44px;padding:8px 3px;font-size:14px;white-space:normal}

.skill-sound-preview{grid-template-columns:repeat(2,minmax(0,1fr))}.sound-mix-note{margin-top:12px}.audio-credits{margin-top:14px;font-size:14px}.audio-credits summary{cursor:pointer;min-height:36px;display:list-item}.audio-credits a{color:#ffe4a3}.audio-credits small{margin-bottom:8px}

/* page */
/* Compact, readable surfaces; keep touch targets at least 40 CSS px. */
:is(.content,.screen-content) .gold-button{min-height:40px;padding:8px 11px;border-radius:var(--ui-radius-card);font-size:var(--ui-type-control);line-height:1.3}
:is(.content,.screen-content) .action-row{gap:8px;margin:9px 0}
:is(.content,.screen-content) .muted-button{min-height:40px;padding:7px 10px;border-radius:var(--ui-radius-card)}
.growth-help,.growth-row small{color:#daccdf;font-size:var(--min-label,13px);line-height:1.4}
.growth-help{margin:0 0 10px}
.growth-comparison{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:8px;padding:10px;margin-bottom:9px;background:linear-gradient(115deg,#382940,#211b2f);border:1px solid #7f668c;border-radius:var(--ui-radius-card)}
.growth-comparison>.art{width:30px;height:30px}
.growth-comparison>div>b{font-size:var(--ui-type-control);line-height:1.4}
.growth-values{display:block;margin:4px 0;color:#eee0f2;font-size:var(--ui-type-control);font-variant-numeric:tabular-nums}
.growth-values>span{margin:0 4px;color:#bbaaac}
.growth-values strong{color:#ffe4ab}
.growth-comparison .gold-button{min-width:82px;padding:8px 7px;font-size:var(--ui-type-caption)}
.batch-controls button:disabled{opacity:.48;cursor:default}
.growth-comparison .gold-button small{display:block;overflow-wrap:anywhere;font-size:var(--min-label,13px);margin-top:4px;color:inherit}
.balance-help{margin:15px 0;border-top:1px solid #6c5678}
.guide-mark{display:inline-grid;place-items:center;width:1.25em;height:1.25em;border:1px solid currentColor;border-radius:50%;font-weight:700;line-height:1}
.balance-help summary,.gear-set-details summary{min-height:40px;padding:10px 0;color:#f9dbaa;font-size:var(--ui-type-caption);cursor:pointer}
.balance-help p{font-size:var(--ui-type-caption);line-height:1.55;color:#e0d2e7}
.equipped-set-list{display:grid;gap:6px;margin-bottom:12px}
.equipped-set-list>div{padding:10px 12px;border:1px solid #6f587b;border-radius:var(--ui-radius-card);background:#2a2037}
.equipped-set-list b{font-size:var(--ui-type-control);color:#f6dfb4}
.equipped-set-list b span{color:#d2bfd9;font-size:var(--min-label,13px);margin-left:8px}
.equipped-set-list small{display:block;color:#e1d3e9;margin-top:5px;font-size:var(--min-label,13px);line-height:1.5}
.set-specialty{display:inline-block;color:#f9d295;font-size:var(--min-label,13px);background:#483043;padding:4px 8px;border-radius:var(--ui-radius-control)}
.set-bonus-list>div{display:grid;grid-template-columns:40px minmax(0,1fr) 36px;align-items:center;gap:7px;padding:8px}
.set-bonus-list b{font-size:var(--ui-type-caption);line-height:1.5}
.set-bonus-list small,.set-bonus-list span{font-size:var(--min-label,13px)}
.set-bonus-list .bonus-active{background:#31443d;color:#d7f4cd}
.equipment-set-card>small{font-size:var(--ui-type-caption);line-height:1.6;color:#f4dcae}
.gear-detail-compact{padding:1px 0 0}
.gear-detail-hero{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;align-items:center;padding-bottom:12px;border-bottom:1px solid #8f704c}
.gear-detail-hero>.art{width:76px;height:76px;border:1px solid #b5915d;border-radius:var(--ui-radius-card);background-color:#180f23}
.gear-detail-hero h3{font-size:var(--ui-type-section);line-height:1.35;margin:5px 0;color:#ffe4b0;word-break:keep-all}
.gear-detail-hero h3 span{white-space:nowrap;color:#efd197}
.gear-detail-hero p{font-size:var(--min-label,13px);line-height:1.5;color:#ded1e6;margin:4px 0 0}
.gear-detail-hero small{font-size:var(--min-label,13px)}
.gear-main-stat{display:grid;grid-template-columns:1fr auto;gap:7px;padding:13px 12px;margin:12px 0;background:linear-gradient(115deg,#493044,#30243c);border:1px solid #ad895c;border-radius:var(--ui-radius-card)}
.gear-main-stat>span{font-size:var(--ui-type-control);align-self:center}
.gear-main-stat>strong{font-size:var(--ui-type-title);color:#ffe3a7}
.gear-main-stat>small{grid-column:1/-1;font-size:var(--min-label,13px);line-height:1.5;color:#e8dbea}
.gear-compare{padding:0 4px}
.gear-compare h4{font-size:var(--ui-type-control);margin:12px 0 8px;color:#f5dba9;display:flex;justify-content:space-between;align-items:center}
.gear-compare h4 small{font-size:var(--min-label,13px);font-weight:400;color:#d2c2dc}
.gear-compare>div{display:grid;grid-template-columns:65px minmax(0,1fr) 64px;gap:6px;padding:8px 0;border-bottom:1px solid #584260;font-size:var(--ui-type-caption);line-height:1.4}
.gear-compare>div>span:nth-child(2){text-align:right;color:#d4c7de;font-variant-numeric:tabular-nums}
.gear-compare b{color:#fff0cd}
.gear-compare em{font-style:normal;text-align:right;font-size:var(--min-label,13px)}
.gear-set-details{margin:9px 0;border-block:1px solid #685273}
.gear-set-details summary{font-size:var(--ui-type-caption);line-height:1.4}
.gear-set-details p{margin:7px 0}
.gear-cost-line{font-size:var(--min-label,13px);color:#e0d2e7;line-height:1.6}
.gear-cost-line b{color:#f9dfa8}
.gear-cost-line small{display:block;font-size:var(--min-label,13px);color:#cbbdd6}
.gear-detail-compact .gear-lock-switch{min-height:40px;padding:5px 9px;font-size:var(--min-label,13px)}
.gear-detail-compact .gear-lock-switch .graphic-switch{transform:scale(.85)}
.gear-secondary-actions{display:flex;align-items:center;gap:12px;margin-top:3px;border-top:1px solid #55415d}
.gear-secondary-actions button{min-height:40px;font-size:var(--ui-type-caption);color:#edcedf;text-decoration:underline;text-underline-offset:4px}
.gear-secondary-actions small{margin-left:auto;font-size:var(--min-label,13px);color:#cfbdd9}
.newbie-intro{display:flex;gap:12px;align-items:center;padding:12px;border:1px solid #b08a58;border-radius:var(--ui-radius-card);background:linear-gradient(110deg,#493244,#2b2036)}
.newbie-intro>.art{width:48px;height:48px}
.newbie-intro h3{margin:0 0 6px;font-size:var(--ui-type-section);color:#ffdf9c}
.newbie-intro p{font-size:var(--ui-type-caption);line-height:1.55;margin:0;color:#ecdfef}
.newbie-progress{display:flex;align-items:center;gap:8px;padding:14px 2px;font-size:var(--ui-type-caption)}
.newbie-progress b{color:#ffe4b0}
.newbie-progress>span{margin-left:auto;color:#d6c5df;font-size:var(--min-label,13px)}
.newbie-mission{border:1px solid #796485;border-radius:var(--ui-radius-card);padding:12px;margin-bottom:10px;background:linear-gradient(110deg,#33263f,#211b2d)}
.newbie-mission>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}
.newbie-mission h3{font-size:var(--ui-type-control);margin:0;color:#f5ddb3}
.newbie-mission>div>span{font-size:var(--min-label,13px);white-space:nowrap}
.newbie-mission .bar{height:5px;margin:10px 0}
.newbie-mission footer{display:flex;align-items:center;justify-content:space-between;gap:8px}
.newbie-mission footer small{font-size:var(--min-label,13px);color:#e3d4e9}
.newbie-mission .gold-button{font-size:var(--min-label,13px);min-width:78px}
.month-calendar.monthly-rewards{gap:4px}
.monthly-rewards>.month-day{min-height:76px;gap:2px;padding:4px 1px}
.monthly-rewards .art{width:21px;height:21px;flex-basis:21px}
.content:has(.monthly-rewards)>.summary-strip{padding-block:8px;margin-block:8px}
.monthly-rewards b{font-size:var(--ui-type-caption)}
.monthly-rewards small{font-size:var(--min-label,13px)}
.monthly-selection-line{font-size:var(--min-label,13px);line-height:1.5;min-height:20px;margin:8px 0;color:#e4d7ed;overflow-wrap:anywhere}
.monthly-selection-line b{color:#ffe4ae;margin-right:6px}
.monthly-caption{font-size:var(--min-label,13px);line-height:1.45;margin:8px 0}
.monthly-rewards~.action-row{margin:8px 0}
.monthly-rewards~.monthly-totals{margin-top:8px}
.vip-gift-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#685034;margin:0 0 6px}
.vip-gift-heading small{font-size:var(--min-label,13px);color:#685034}
.vip-gift-heading>span{letter-spacing:5px;font-size:var(--ui-type-section)}
.vip-reward-track{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:2px;padding:2px 2px 10px;scrollbar-width:thin;scrollbar-color:#9f7845 #d4c49d;touch-action:pan-x pan-y;border-radius:var(--ui-radius-card)}
.vip-reward-track>div{flex:0 0 104px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:119px;border:1px solid #b88c49;border-radius:var(--ui-radius-card);padding:10px 5px;background:linear-gradient(135deg,#51345b,#251a31);box-shadow:inset 0 1px #f3c87955}
.vip-reward-track .art{width:40px;height:40px;border-radius:var(--ui-radius-control)}
.vip-reward-track b{font-size:var(--ui-type-section);line-height:1.2;color:#ffe3a7;white-space:nowrap}
.vip-reward-track small{font-size:var(--ui-type-caption);color:#efdfef}
.vip-parchment h4{margin:15px 0 8px}
.vip-title-gift{margin:12px 0}
@media(max-width:360px){.growth-comparison{grid-template-columns:24px minmax(0,1fr) auto;padding:8px 6px;gap:6px}.growth-comparison>.art{width:24px;height:24px}.growth-comparison .gold-button{min-width:72px}.gear-detail-hero{grid-template-columns:64px minmax(0,1fr)}.gear-detail-hero>.art{width:64px;height:64px}.gear-detail-hero h3{font-size:var(--ui-type-body)}.gear-compare>div{grid-template-columns:56px minmax(0,1fr) 55px}.vip-reward-track>div{flex-basis:98px}}

/* A set list is always three readable rows, including split-screen widths. */
.masterwork-set>.set-bonus-list{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;min-width:0}
.set-bonus-list>div{min-width:0;grid-template-columns:40px minmax(0,1fr) 36px}
.set-bonus-list b{min-width:0;word-break:keep-all;overflow-wrap:break-word}
.set-bonus-list span,.set-bonus-list small{white-space:nowrap}

/* page */
.online-play{min-width:0;color:#f7eada}
.online-header{display:flex;gap:14px;align-items:center;padding:14px 10px;background:radial-gradient(ellipse at right,#65476c66,transparent);border-bottom:1px solid #b49461}
.online-header>.art{width:80px;height:80px;border:1px solid #b49768;border-radius:14px;flex-shrink:0}
.online-header h3{font-size:24px;color:#ffe2a8;margin:5px 0 10px}.online-header small{font-size:var(--min-label,13px);letter-spacing:1px;color:#dcc4e3}
.online-test-badge{display:inline-block;font-size:var(--min-label,13px);color:#ffe3a3;border:1px solid #ac854d;background:#4c343a;padding:4px 9px;border-radius:12px}
.online-note{font-size:var(--min-label,13px);line-height:1.6;color:#e0d1e9;word-break:keep-all;margin:12px 0}
.online-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:12px 0}
.online-tabs button{border:1px solid #745a82;background:#281d35;border-radius:8px;min-height:42px;font-size:13px;color:#e7d5ed}.online-tabs button.active{background:linear-gradient(#805440,#4c303e);border-color:#d3ad6e;color:#ffe9bd}
.online-card{padding:14px;margin:13px 0;border:1px solid #8e7093;border-radius:12px;background:linear-gradient(135deg,#382940,#211a2e)}
.online-card h3{margin:0 0 10px;color:#f8dba3;font-size:18px}.online-card p{font-size:13px;line-height:1.6;color:#e4d7eb}.online-card p b{color:#ffe8b2}
.online-create{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:18px}.online-create label{grid-column:1/-1;font-size:13px}.online-create input{min-width:0;width:100%;border:1px solid #ac89b6;background:#191223;color:#fff1dc;min-height:42px;border-radius:8px;padding:8px;font-size:14px}
.online-task{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #6d557866;font-size:14px}.online-task small{font-size:var(--min-label,13px);color:#ddcce7}.online-task>b{font-size:var(--min-label,13px);color:#f1d6a1}.online-task .gold-button{font-size:var(--min-label,13px);flex-shrink:0}
.online-score{padding:16px;text-align:center;background:linear-gradient(120deg,#493043,#322244);border:1px solid #b2925e;border-radius:10px}.online-score strong{font-size:20px;color:#f7d491}.online-score span{display:block;font-size:13px;margin-top:8px;color:#e7d4e9}
.online-opponent{display:grid;grid-template-columns:45px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 8px;border-bottom:1px solid #86648d}.online-opponent>.art{height:45px;width:45px;border-radius:10px}.online-opponent h3{font-size:16px;color:#ffe1ab;margin:4px 0}.online-opponent small{font-size:var(--min-label,13px);color:#d1bddb}.online-opponent p{font-size:var(--min-label,13px);line-height:1.5;margin:0;color:#eee1f2}
.raid-target{text-align:center}.raid-target>.art{width:110px;height:110px;border-radius:12px;margin-bottom:10px}.raid-target .bar{height:8px;margin:12px 0}.raid-target .bar i{background:linear-gradient(90deg,#b03d50,#f6aa73)}
.online-result-header{text-align:center;padding:12px;border-bottom:1px solid #98744f}.online-result-header h3{font-size:30px;margin:8px;color:#ffe3a4}.online-result-header small{font-size:var(--min-label,13px);letter-spacing:2px;color:#cdb6d8}.online-result-header strong{font-size:16px;color:#ffe3a4}
.online-battle-log{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:15px 0}.online-battle-log>div{display:flex;gap:8px;background:#1c1429;padding:10px 8px;border-radius:8px;animation:screenIn .3s both;animation-delay:calc(var(--turn)*35ms);font-size:13px}.online-battle-log small{font-size:var(--min-label,13px);color:#d8c4e3;line-height:1.5}.online-battle-log b{color:#f9d19a}
@media(max-width:350px){.online-header>.art{width:64px;height:64px}.online-header h3{font-size:21px}.online-card{padding:11px}.online-opponent{gap:7px;grid-template-columns:34px minmax(0,1fr) auto}.online-opponent>.art{width:34px;height:34px}.online-battle-log{grid-template-columns:minmax(0,1fr)}}

/* page */
.guild-view>.online-header{padding:5px 2px 10px;gap:10px}.guild-view>.online-header>.art{width:40px;height:40px;border-radius:8px}.guild-view>.online-header h3{font-size:18px;margin:2px 0}.guild-view>.online-header>div{flex:1;position:relative}.guild-view>.online-header small{font-size:var(--min-label,13px)}.guild-view>.online-header .online-test-badge{position:absolute;right:0;top:10px;font-size:var(--min-label,13px);padding:3px 7px}.guild-view>.online-note{font-size:var(--min-label,13px);margin:8px 0}.guild-view>.online-tabs{margin:9px 0 12px}
.guild-hall{min-width:0}.guild-banner{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:21px 16px 19px;min-height:126px;isolation:isolate;position:relative;overflow:hidden;border:1px solid #bfa171;border-radius:13px 13px 0 0;background:linear-gradient(100deg,#191329f2,#30213fd9,#38244466),var(--town-map) center 18%/cover;box-shadow:inset 0 0 0 3px #9a7d501d}.guild-banner:after{content:'';position:absolute;font-size:100px;right:40px;top:4px;color:#ecce8b13;z-index:-1;display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask:var(--ui-spark) center/contain no-repeat;mask:var(--ui-spark) center/contain no-repeat}.guild-banner-copy{min-width:0}.guild-banner-copy>span{color:#d1b783;letter-spacing:2px;font-size:var(--min-label,13px)}.guild-banner h3{font-size:25px;line-height:1.3;color:#ffedc7;text-shadow:0 2px 6px #100b1f;margin:7px 0;overflow-wrap:anywhere}.guild-banner p{font-size:var(--min-label,13px);color:#e1cda6;margin:0}.guild-banner p i{margin:0 6px;font-style:normal}.guild-banner>.art{width:70px;height:70px;flex:0 0 70px;border:1px solid #c9a56e;border-radius:50%;box-shadow:0 0 0 4px #25162ca0,0 0 22px #d4a35344}
.guild-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:linear-gradient(90deg,#33253b,#231b2d);border:1px solid #95764f;border-top:0;border-radius:0 0 11px 11px;padding:12px 3px;margin-bottom:12px}.guild-summary>span{text-align:center;border-right:1px solid #8d6c4844}.guild-summary>span:last-child{border:0}.guild-summary small{display:block;font-size:var(--min-label,13px);color:#d4c4df;margin-bottom:5px}.guild-summary b{color:#f8db9e;font-size:20px;font-variant-numeric:tabular-nums}.guild-summary i{font-size:var(--min-label,13px);color:#bfaeca;font-style:normal;font-weight:400}
.guild-tabs{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;background:#231a30;padding:5px 0 9px;margin:0 0 7px}.guild-tabs button{min-height:40px;font-size:var(--min-label,13px);border:1px solid #6e527e;border-radius:8px;color:#e1d0e9;background:linear-gradient(#3c2c48,#261d33);white-space:nowrap}.guild-tabs button.active{color:#ffeac3;border-color:#d3b274;background:linear-gradient(#80503a,#513242);box-shadow:inset 0 2px #ffe5ae66}
.guild-notice{border-left:3px solid #b792ca;padding:10px 12px;background:#3a29453f;margin:9px 0 14px}.guild-notice>div{display:flex;justify-content:space-between;align-items:center}.guild-notice b{font-size:13px;color:#f0d9ac}.guild-notice button{color:#e4c6f0;border:1px solid #836a91;border-radius:6px;min-height:30px;padding:3px 10px;font-size:var(--min-label,13px)}.guild-notice p{font-size:13px;line-height:1.6;color:#e8dbed;margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.guild-growth{padding:0 3px;margin:14px 0}.guild-growth>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:var(--min-label,13px);color:#e6d5ee}.guild-growth .bar{height:6px;margin:8px 0}.guild-growth small{font-size:var(--min-label,13px);color:#cfc0d9}
.guild-donation{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;border:1px solid #82658c;border-radius:10px;padding:11px 9px;background:linear-gradient(110deg,#3e2e46,#282034)}.guild-donation>.art{width:32px;height:32px}.guild-donation b{font-size:13px;color:#f9dfad}.guild-donation small{display:block;font-size:var(--min-label,13px);line-height:1.45;color:#ddcde5;margin-top:4px}.guild-donation .gold-button{font-size:var(--min-label,13px);min-width:58px;padding-inline:8px}
.guild-section-label,.guild-roster-heading{display:flex;justify-content:space-between;align-items:center;gap:6px;margin:18px 0 10px}.guild-section-label h3,.guild-roster-heading h3{font-size:16px;color:#ffe4b6;margin:0}.guild-section-label button{font-size:var(--min-label,13px);color:#d3b4e5;min-height:32px}.guild-section-label>span,.guild-roster-heading>small{font-size:var(--min-label,13px);color:#d3c0dc}.guild-roster-heading h3 span{color:#b9a7cf;margin-left:5px}
.guild-roster{display:grid;gap:7px}.guild-member{width:100%;display:grid;grid-template-columns:51px minmax(0,1fr) 58px;gap:9px;align-items:center;padding:10px 8px;border:1px solid #71577e;border-radius:10px;background:linear-gradient(112deg,#3a2a46,#211a2d);text-align:left;min-width:0}.guild-member.is-self{border-color:#bea36d;background:linear-gradient(112deg,#4e3848,#292034)}
.guild-avatar{display:block;position:relative;overflow:hidden;flex-shrink:0;width:51px;height:61px;background:radial-gradient(ellipse at center bottom,#7d5b7b,#1c1426 75%);border:1px solid #a18165;border-radius:8px}.guild-avatar>.class-sprite,.guild-avatar>.costume-sprite{display:block!important;position:absolute!important;width:82px!important;height:82px!important;max-width:none!important;left:50%!important;top:-3px!important;margin:0!important;transform:translateX(-50%)!important;animation:none!important}
.guild-member-copy{min-width:0;display:flex;flex-direction:column;gap:5px}.guild-member-name{display:flex;align-items:center;gap:5px;min-width:0}.guild-member-name>b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f7e6c7}.guild-member-name em{font-size:var(--min-label,13px);font-style:normal;border:1px solid #cfac6c;border-radius:4px;padding:1px 4px;color:#ffe9b6}.guild-member-name>small{font-size:var(--min-label,13px);color:#bea7cc;white-space:nowrap}.guild-member-meta{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.guild-member-meta>small,.guild-member-copy>small{font-size:var(--min-label,13px);color:#d9c7e2}.guild-role{font-size:var(--min-label,13px);line-height:1.5;font-style:normal;white-space:nowrap;color:#d7c4e2;border:1px solid #725d80;border-radius:4px;padding:0 4px}.guild-role.role-leader{color:#ffdfa0;border-color:#bd914f;background:#533a2f}.guild-role.role-deputy{color:#dfc1f5;border-color:#9772af;background:#3c294c}.guild-member-power{display:flex;flex-direction:column;align-items:flex-end;position:relative;padding-right:10px;gap:4px}.guild-member-power>small{font-size:var(--min-label,13px);color:#cbb6d6}.guild-member-power>b{font-size:16px;color:#ffe2a5}.guild-member-power>i{position:absolute;right:0;top:10px;color:#b29ac2;font-style:normal;font-size:18px}
.guild-roster-filters{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0}.guild-roster-filters label{min-width:0;font-size:var(--min-label,13px);color:#d0bcdc}.guild-roster-filters select{display:block;width:100%;min-width:0;min-height:38px;margin-top:5px;border:1px solid #8d6d9a;background:#25192f;color:#f4e5f9;border-radius:7px;padding:6px;font-size:var(--min-label,13px)}
.guild-activity{border-top:1px solid #71557c;margin-top:17px}.guild-activity summary{font-size:13px;color:#f3dbaa;padding:13px 1px;cursor:pointer}.guild-activity summary span{color:#b49ec6;margin-left:5px}.guild-activity>div{border-bottom:1px solid #594063;padding:8px 2px}.guild-activity p{font-size:var(--min-label,13px);line-height:1.5;color:#dfcce7;margin:0 0 5px}.guild-activity time{font-size:var(--min-label,13px);color:#b6a0c5}.guild-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid #65466c;margin-top:18px;padding-top:10px}.guild-footer>span{font-size:var(--min-label,13px);color:#c1adc9}.guild-footer button{min-height:36px;font-size:var(--min-label,13px);color:#e4b9bf;text-decoration:underline;white-space:nowrap}
.guild-mission-heading{display:grid;grid-template-columns:1fr auto;align-items:center;gap:9px;margin:14px 0}.guild-mission-heading h3{font-size:17px;color:#f8deb0;margin:0}.guild-mission-heading strong{font-size:25px;color:#ffdc9c}.guild-mission-heading strong small{font-size:13px;color:#a992ba}.guild-mission-heading p{grid-column:1/-1;margin:0;font-size:var(--min-label,13px);color:#d5c0df}.guild-mission-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:9px;align-items:center;padding:14px 0;border-bottom:1px solid #6b4e7866}.guild-mission-row>.art{width:36px;height:36px;border-radius:7px}.guild-mission-row b{font-size:13px;color:#ecdbb9}.guild-mission-row small{display:block;font-size:var(--min-label,13px);margin-top:5px;color:#d0bddc}.guild-mission-row .muted-button{font-size:var(--min-label,13px);min-height:36px}.guild-complete{font-size:var(--min-label,13px);color:#c0dcac;opacity:1!important;white-space:nowrap}
.guild-mission-reward{margin:17px 0;padding:13px;border:1px solid #aa8a56;background:linear-gradient(#4b3549,#2d2138);border-radius:10px}.guild-mission-reward>span{color:#f8dca8;font-size:13px}.guild-mission-reward>div{margin:10px 0;display:flex;gap:6px;flex-wrap:wrap;align-items:center}.guild-mission-reward .reward-chips{display:flex;gap:6px}.guild-mission-reward .reward-chips>span{display:flex;align-items:center;gap:4px;font-size:var(--min-label,13px)}.guild-mission-reward .reward-chips .art{width:25px;height:25px}.guild-mission-reward .reward-chips small{font-size:var(--min-label,13px)}.guild-token-reward{font-size:var(--min-label,13px);color:#eddaef}.guild-token-reward b{color:#ffde9d;margin-left:4px}
.guild-shop-item{display:grid;grid-template-columns:70px minmax(0,1fr);gap:14px;padding:16px;border:1px solid #a88557;border-radius:12px;background:radial-gradient(ellipse at top left,#6d3e7366,transparent 70%),#291f34}.guild-shop-item>.art{width:70px;height:70px;border-radius:10px}.guild-shop-item h3{margin:2px 0 8px;font-size:17px;color:#f7dbab}.guild-shop-item p{font-size:14px;margin:0 0 7px}.guild-shop-item small{font-size:var(--min-label,13px);color:#cbb5d6}.guild-shop-item>button{grid-column:1/-1}
.guild-member-detail{text-align:center}.guild-detail-stage{background:radial-gradient(ellipse at bottom,#78577366,transparent 70%);border-bottom:1px solid #aa8759;margin-bottom:14px;padding:8px 0 17px}.guild-detail-stage .guild-avatar{width:132px;height:144px;margin:0 auto 12px;border-radius:15px}.guild-detail-stage .guild-avatar>.class-sprite,.guild-detail-stage .guild-avatar>.costume-sprite{width:173px!important;height:173px!important;top:-3px!important}.guild-detail-stage>span{font-size:var(--min-label,13px);color:#d6c0e3}.guild-member-detail>.guild-role{display:inline-block;padding:2px 10px;font-size:var(--min-label,13px)}.guild-member-detail h3{font-size:25px;color:#ffe0a8;margin:9px 0}.guild-member-detail h3 small{font-size:13px}.guild-member-detail>p{font-size:13px;color:#e3cfea}.guild-member-detail dl{margin:18px 0;padding:8px 13px;border:1px solid #83648c;border-radius:10px;background:#281e34}.guild-member-detail dl>div{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #72567b55;font-size:13px}.guild-member-detail dl>div:last-child{border:0}.guild-member-detail dt{color:#cdbad8}.guild-member-detail dd{color:#ffe1a8;margin:0;font-weight:700}
.guild-notice-editor label{display:block;font-size:15px;color:#f8dba8;margin:7px 0 12px}.guild-notice-editor textarea{display:block;width:100%;max-width:100%;resize:vertical;background:#1b1426;border:1px solid #9f7baa;border-radius:9px;padding:12px;font-family:inherit;font-size:14px;line-height:1.6;color:#f5e6fa;min-height:140px}.guild-leave h3{font-size:23px;color:#ffe0ac}.guild-welcome{padding:26px 16px 23px;border:1px solid #b59763;border-radius:12px;background:linear-gradient(100deg,#1e142de8,#392244c9),var(--town-map) center 20%/cover}.guild-welcome small{font-size:var(--min-label,13px);letter-spacing:2px;color:#cead77}.guild-welcome h3{font-size:22px;color:#ffe6b8;margin:10px 0}.guild-welcome p{font-size:var(--min-label,13px);line-height:1.6;color:#e4d0eb;margin:0}
@media(max-width:350px){.guild-banner{padding:16px 12px;min-height:112px}.guild-banner h3{font-size:22px}.guild-banner>.art{width:58px;height:58px;flex-basis:58px}.guild-member{grid-template-columns:43px minmax(0,1fr) 49px;gap:7px;padding:9px 6px}.guild-avatar{width:43px;height:57px}.guild-member-power b{font-size:14px}.guild-member-name>b{font-size:13px}.guild-member-meta{gap:3px}.guild-member-meta small{font-size:var(--min-label,13px)}.guild-tabs button{font-size:var(--min-label,13px)}.guild-roster-heading{align-items:flex-start;flex-direction:column}.guild-donation{grid-template-columns:25px minmax(0,1fr) auto;gap:7px}.guild-donation>.art{width:25px;height:25px}.guild-donation small{font-size:var(--min-label,13px)}.guild-mission-row{grid-template-columns:29px minmax(0,1fr) auto;gap:6px}.guild-mission-row>.art{width:29px;height:29px}}

.guild-compact .guild-banner{min-height:76px;padding:11px 13px}.guild-compact .guild-banner-copy>span{display:none}.guild-compact .guild-banner h3{font-size:20px;margin:0 0 5px}.guild-compact .guild-banner>.art{width:45px;height:45px;flex-basis:45px}.guild-compact .guild-summary{padding-block:8px;margin-bottom:7px}.guild-compact .guild-summary b{font-size:17px}

/* page */
/* Moonlit Atelier — one quiet, readable visual system for the entire game. */
.ui-renewal{--ui-ease:cubic-bezier(.22,1,.36,1);--copy-color:#d7d0e2;--caption-color:#b9afc8;color:var(--ui-ink);background:#0b0b15}
.ui-renewal .game{--hud-top:94px;--nav-height:68px;background:#14121f;box-shadow:0 0 0 1px #d2b68824;min-height:540px}
.ui-renewal button,.ui-renewal a,.ui-renewal input,.ui-renewal select{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.ui-renewal button{transition:background-color .18s,border-color .18s,color .18s,translate .16s var(--ui-ease)}
.ui-renewal button:not(:disabled):active{translate:0 1px}
.ui-renewal :focus-visible{outline:2px solid #edcf9b;outline-offset:3px}
.ui-renewal .top{height:var(--hud-top);grid-template-rows:45px 28px;grid-template-columns:minmax(0,1fr) auto 44px 44px;gap:5px 6px;padding:8px 12px;background:linear-gradient(110deg,#201a2d,#151320);border:0;box-shadow:0 1px #d9c19030;z-index:22}
.ui-renewal .portrait{width:42px;height:42px;flex:0 0 42px}
.ui-renewal .profile{gap:8px;min-width:0}
.ui-renewal .profile-copy strong{font-size:13px;font-weight:650;letter-spacing:-.2px}
.ui-renewal .profile-copy{gap:2px}.ui-renewal .profile-copy b{font-size:var(--menu-label-size,12px);color:var(--ui-gold)}
.ui-renewal .xp-track{height:3px;margin:5px 0;border:0;background:#ffffff14}
.ui-renewal .xp-track>i{background:linear-gradient(90deg,#9b7c53,#e8d3a1);transition:width .3s var(--ui-ease)}
.ui-renewal .vip{font-size:var(--menu-label-size,12px);padding:6px 10px;min-height:30px;border:1px solid #e8c98b55;border-radius:8px;background:#d4b57515;color:#edd29f;box-shadow:none}
.ui-renewal .header-button{height:44px;width:44px;display:grid;place-items:center}
.ui-renewal .header-button>.art{width:28px;height:28px}
.ui-renewal .menu-lines{font-size:24px;color:#d1bfd6}
.ui-renewal .wallet{gap:6px}
.ui-renewal .wallet button{border-radius:7px;background:#0c0b1680;border:1px solid #b9a0d522;box-shadow:none;padding:1px 7px 1px 3px;gap:5px}
.ui-renewal .wallet .art{width:22px;height:22px}
.ui-renewal .wallet b{font-size:var(--menu-label-size,12px);font-weight:650;color:#eee6f4}
.ui-renewal .wallet small{font-size:15px;color:#c9b58b}

/* The landscape is the main stage; compact HUD elements leave its centre open. */
.ui-renewal .battle{min-height:270px}
.ui-renewal .stage{clip-path:none;min-width:0;width:59%;height:61px;top:12px;border-radius:3px 3px 15px 15px;border:0;border-bottom:1px solid #dbbd8055;background:linear-gradient(#181629f5,#1c1b2cd9);box-shadow:0 7px 20px #07051130}
.ui-renewal .stage strong{font-size:18px;letter-spacing:.7px;color:#f6e7c8;font-weight:750}
.ui-renewal .stage span{font-size:10px;color:#d6cbdc}
.ui-renewal .stage .difficulty-badge{font-size:9px;letter-spacing:1px;color:#b8b4dc}
.ui-renewal .stage>button:not(.stage-map-button){width:28px;min-height:44px;font-size:25px;color:#d8bd8c}
.ui-renewal .stage-route{top:83px;width:145px;gap:4px;opacity:.9}
.ui-renewal .stage-route span{width:6px;height:6px}
.ui-renewal .stage-route .boss-dot{width:14px;height:14px;font-size:10px;line-height:12px}
.ui-renewal .stage-route:before{height:1px;top:6px;background:#d6b57e80}
.ui-renewal .side-nav,.ui-renewal .right-nav{top:14px;gap:7px;width:49px}
.ui-renewal .side-nav{left:5px}.ui-renewal .right-nav{right:5px}
.ui-renewal :is(.side-nav,.right-nav) button{min-height:45px;padding:0;background:none;gap:2px}
.ui-renewal :is(.side-nav,.right-nav) button>.art{width:30px;height:30px;border-radius:8px;box-shadow:0 3px 8px #06031060}
.ui-renewal :is(.side-nav,.right-nav) small{font-size:9px;color:#f4e9d6;background:#171220bf;border-radius:4px;padding:2px 3px}
.ui-renewal .offline-shortcut time{font-size:8px;border:0;border-radius:3px;min-width:45px}
.ui-renewal .enemy-status{left:53%;width:31%;top:32%;padding:4px 0}
.ui-renewal .enemy-status>b{font-size:10px;font-weight:600}
.ui-renewal .enemy-status>small{font-size:8px;color:#eee2f0}
.ui-renewal .enemy-track{height:4px;background:#1b111ce0;border:0;box-shadow:0 0 0 1px #f1c2bb20}
.ui-renewal .enemy-track>i{transition:width .22s var(--ui-ease);background:linear-gradient(90deg,#9f5464,#ed9f9a)}
.ui-renewal .hero-health{left:27.5%;bottom:calc(24% + var(--hero-health-height,34.3cqw) + 8px);width:21%;max-width:110px;height:4px;transform:translateX(-50%);border:0;background:#091c20dc;box-shadow:0 0 0 1px #bce7d33d,0 2px 5px #0008;z-index:6}
.ui-renewal .hero-health>i{background:linear-gradient(90deg,#529a91,#bae3c5);transition:width .28s var(--ui-ease)}
.ui-renewal .hero-health small{left:50%;bottom:7px;top:auto;transform:translateX(-50%);font-size:9px;line-height:13px;font-weight:600;font-variant-numeric:tabular-nums;color:#f0f8ec;background:#111724d9;border:1px solid #c3e6d51f;border-radius:4px;padding:1px 5px;text-shadow:none}
.ui-renewal .actor.hero .hero-title{bottom:calc(100% + 38px);left:-5%;width:110%}
.ui-renewal .battle.off .manual-hit{z-index:23;touch-action:manipulation;left:50%;top:auto;bottom:98px;transform:translateX(-50%);padding:7px 17px;min-height:34px;font-size:11px;background:#1b172ae6;border:1px solid #bfa77870}
.ui-renewal .battle-controls{z-index:22;bottom:83px;left:12px;right:12px;gap:14px;pointer-events:none}
.ui-renewal .battle-controls>button{pointer-events:auto}
.ui-renewal .battle-controls .orb-label{font-size:12px;top:38px;color:#eee3d2}
.ui-renewal #skillbuttons{z-index:22;pointer-events:none;gap:14px;bottom:12px;padding-bottom:14px}
.ui-renewal #skillbuttons button{pointer-events:auto;width:45px;height:45px;border:1px solid #e7c68c99;box-shadow:0 3px 9px #0007;background:#181326}
.ui-renewal #skillbuttons .battle-skill-name{font-size:9px;bottom:-17px;color:#dfd3e7}
.ui-renewal .home-bottom{padding:0 10px 5px;border:0;background:#171422;box-shadow:0 -1px #d4bc8d25}
.ui-renewal .home-quest{margin:8px 0 0;min-height:41px;padding:6px 8px;border:1px solid #bba4d025;border-radius:9px;background:#242032;gap:8px}
.ui-renewal .home-quest .quest-medal{width:24px;height:24px}
.ui-renewal .quest-label>span{font-size:10px;color:#e1d6e6}
.ui-renewal .quest-line{height:2px;margin-top:5px;background:#ffffff14}
.ui-renewal .home-quest .gold-button{min-height:44px;font-size:12px;padding:5px 9px}
.ui-renewal .forge-dock{height:66px;padding:5px 1px 0;gap:10px}
.ui-renewal .forge-mini-art{--forge-art-size:57px;width:73px;height:var(--forge-art-size);flex:0 0 73px;display:grid;place-items:center}
.ui-renewal .forge-mini-art .art{width:var(--forge-art-size);height:var(--forge-art-size);aspect-ratio:1;object-fit:contain}
.ui-renewal .forge-dock>div>small{font-size:12px;color:var(--ui-muted)}
.ui-renewal .forge-dock>div>strong{font-size:13px;font-weight:650}
.ui-renewal .mini-meter{height:3px;border:0;background:#ffffff14}
.ui-renewal .forge-dock>.gold-button{min-width:88px;min-height:43px;border-radius:9px;padding:6px 10px}
.ui-renewal .forge-dock>.gold-button strong{font-size:12px}

/* Main destinations stay within thumb reach, with one restrained active state. */
.ui-renewal .bottom-nav{height:var(--nav-height);padding:5px 6px max(5px,env(safe-area-inset-bottom));gap:2px;background:#151220;border-top:1px solid #bca47932;box-shadow:0 -5px 20px #0a081140}
.ui-renewal .bottom-nav button{gap:3px;border-radius:10px;padding:3px 0;border:0}
.ui-renewal .bottom-nav button .art{width:28px;height:28px;opacity:.65;filter:none}
.ui-renewal .bottom-nav button>strong{font-size:var(--menu-label-size,10px);font-weight:600;color:#aaa0b7}
.ui-renewal .bottom-nav button.active{background:linear-gradient(#a2896033,#594c3510);box-shadow:inset 0 1px #e4c88c40}
.ui-renewal .bottom-nav button.active>.art{opacity:1}
.ui-renewal .bottom-nav button.active>strong{color:#f1d9a7}
.ui-renewal .bottom-nav button.active:before{width:14px;left:calc(50% - 7px);top:-5px;height:2px;border-radius:4px;background:#dfc18c;box-shadow:0 0 8px #dfc18c50}

/* Feature pages use their full available height; tabs belong with the heading. */
.ui-renewal .feature-screen{top:var(--hud-top);bottom:var(--nav-height);left:0;right:0;border:0;border-radius:0;background:radial-gradient(ellipse at 95% 0,#5e467b1f,transparent 45%),#171421;box-shadow:none;animation:ui-page-in .26s var(--ui-ease)}
.ui-renewal .screen-head{height:59px;padding:7px 12px;gap:8px;background:transparent;border-bottom:1px solid var(--ui-edge)}
.ui-renewal .screen-head:after{content:none}
.ui-renewal .screen-head>button:first-child{width:34px;min-height:40px;font-size:28px}
.ui-renewal .screen-head>div{text-align:left;margin:0}
.ui-renewal .screen-head small{font-size:var(--min-label,13px);letter-spacing:1.9px;color:#a596b5;margin-bottom:3px}
.ui-renewal .screen-head h1{font-size:21px;letter-spacing:0;color:#f3e6cb;text-shadow:none;font-weight:700}
.ui-renewal .screen-help{width:34px;height:34px;font-size:16px;border:1px solid #bd9dd230;color:#d2bfdc;background:#b99cda08}
.ui-renewal #screenTabs{height:auto;min-height:47px;padding:6px 10px;gap:4px;border:0;border-bottom:1px solid #9b83b21c;background:#1b1726;overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth;align-items:stretch}
.ui-renewal #screenTabs>button{flex:1 0 auto;min-width:42px;min-height:35px;padding:6px 8px;font-size:var(--min-label,13px);font-weight:600;border:0;border-radius:7px;background:none;color:#b5a9c4;box-shadow:none}
.ui-renewal #screenTabs>button.active{background:#b096cb1e;color:#f0dcad;box-shadow:inset 0 -2px #d1b47a}
.ui-renewal .screen-content{padding:16px 14px 22px;scrollbar-color:#927eaa60 transparent}
.ui-renewal .screen-content>:first-child{margin-top:0}
.ui-renewal .game:has(#testRibbon:not([hidden])) .feature-screen{bottom:calc(var(--nav-height) + 34px)}
.ui-renewal .test-ribbon{bottom:var(--nav-height);height:32px;left:8px;right:8px;border-radius:7px;font-size:var(--menu-label-size,10px)}

/* Dialogs share a clear title bar and close control, without a second oversized X. */
.ui-renewal .overlay{padding:12px;align-items:center;background:#090711bd;backdrop-filter:none}
.ui-renewal .dialog{max-height:calc(100% - 32px);border:1px solid #c1a67d66;border-radius:17px;background:radial-gradient(ellipse at 100% 0,#65457726,transparent 35%),#1c1829;box-shadow:0 24px 80px #0009;animation:ui-modal-in .24s var(--ui-ease)}
.ui-renewal .dialoghead{min-height:58px;padding:8px 10px;border-radius:17px 17px 0 0;border-bottom:1px solid var(--ui-edge);background:#26203380}
.ui-renewal .dialoghead>button:first-child{width:34px;min-height:40px;font-size:26px}
.ui-renewal .dialoghead h2{text-align:left;font-size:18px;font-weight:700;color:#f1e1c2;text-shadow:none;padding-left:3px}
.ui-renewal .dialoghead .close-button{width:38px;height:38px;font-size:24px;border:1px solid #b99ad430;border-radius:9px;background:#b3a0cb10;color:#e7d9eb}
.ui-renewal .popup-close{display:none}
.ui-renewal .content{padding:15px 14px 18px;scrollbar-color:#927eaa60 transparent}

/* Buttons, cards, captions, selection and stat tables use a single hierarchy. */
.ui-renewal :is(.gold-button,.action){color:#322a25;border:1px solid #eed5a07a;border-radius:9px;background:linear-gradient(120deg,#eddbb3,#d9b67c);box-shadow:inset 0 1px #fff4d533,0 2px 5px #07051133;text-shadow:none;font-weight:700}
.ui-renewal :is(.gold-button.purple,.action.alt){color:#eee6f8;border-color:#b09ac74d;background:linear-gradient(115deg,#5a476e,#433550);box-shadow:inset 0 1px #d4b6ee20;text-shadow:none}
.ui-renewal :is(.content,.screen-content) :is(.gold-button,.action,.muted-button){min-height:40px;padding:9px 12px;font-size:13px;line-height:1.35;border-radius:9px}
.ui-renewal .muted-button{border:1px solid #b197c638;color:#d6cae1;background:#2a2238}
.ui-renewal :is(.gold-button,.action,.muted-button):disabled{color:#9e94aa;background:#2b2535;border-color:#7f6f901f;box-shadow:none;text-shadow:none;opacity:1}
.ui-renewal :is(.card,.growth-comparison,.growth-row,.equipment-set-card,.newbie-mission,.effect-table,.setting-row,.town-directory-card,.class-skill-card,.online-opening,.guild-panel){border:1px solid var(--ui-edge);border-radius:12px;background:linear-gradient(120deg,#292235,#211c2e);box-shadow:none}
.ui-renewal :is(.card,.equipment-set-card,.guild-panel){padding:14px;margin-bottom:12px}
.ui-renewal :is(.card,.guild-panel,.equipment-set-card)>h3{font-size:17px;line-height:1.4;color:#e8d5ad;margin:0 0 12px}
.ui-renewal .section-label{margin:20px 0 10px;color:#e3d1ab;font-size:13px;font-weight:650}
.ui-renewal .section-label>small{font-size:var(--min-label,13px);font-weight:400;color:var(--ui-muted)}
.ui-renewal .summary-strip{padding:11px 10px;margin:12px 0;border-color:var(--ui-edge);background:#b7a0d00a;font-size:var(--min-label,13px);color:#cfc4db;gap:8px}
.ui-renewal .summary-strip b{color:#e5cc99}
.ui-renewal .stat-chips{gap:7px;margin-bottom:12px}
.ui-renewal .stat-chips>div{border:1px solid var(--ui-edge);border-radius:9px;padding:10px 4px;background:#262032}
.ui-renewal .stat-chips small{color:var(--ui-muted);font-size:var(--min-label,13px)}
.ui-renewal .stat-chips b{font-size:16px;font-weight:700;color:#eee0bd}
.ui-renewal :is(.item-card,.pet-card,.collection-cell,.wardrobe-card,.relic-vault-card,.offer-card,.package-card){border-width:1px;border-radius:11px;background:linear-gradient(145deg,#2b2439,#201b2d);box-shadow:none;padding:9px 6px}
.ui-renewal :is(.item-card,.pet-card,.wardrobe-card).selected{border-color:#d7bb82;background:linear-gradient(#55433e,#2a2232);box-shadow:inset 0 0 0 1px #e8c67a22}
.ui-renewal :is(.item-card,.pet-card,.wardrobe-card)>:is(b,strong){font-size:var(--min-label,13px);line-height:1.4;color:#e5d9eb;word-break:keep-all;overflow-wrap:break-word}
.ui-renewal :is(.item-card,.pet-card,.wardrobe-card)>small{font-size:var(--min-label,13px);line-height:1.45}
.ui-renewal .item-card>.art{width:58px;height:58px;max-width:100%;margin:auto auto 7px;aspect-ratio:1}
.ui-renewal :is(.tabs,.profile-tabs,.mailbox-tabs,.guild-tabs){gap:5px;background:#171320;border-color:var(--ui-edge);border-radius:10px;padding:4px}
.ui-renewal :is(.tabs,.profile-tabs,.mailbox-tabs,.guild-tabs)>button{border:0;border-radius:7px;background:none;color:#bcb0cc;font-size:var(--min-label,13px);min-height:36px;box-shadow:none}
.ui-renewal :is(.tabs,.profile-tabs,.mailbox-tabs,.guild-tabs)>button.active{color:#efdcaf;background:#65507444;box-shadow:inset 0 -2px #c3a574}
.ui-renewal :is(.filter-chips,.batch-controls,.class-ranks)>button{border-color:#ad91c636;border-radius:7px;background:#251e31;color:#c4b6d2;min-height:35px}
.ui-renewal :is(.filter-chips,.batch-controls,.class-ranks)>button:is(.active,.selected){border-color:#bfa57977;background:#6c577338;color:#f1dcb0}
.ui-renewal :is(.bar,.progress-bar){height:5px;border:0;border-radius:5px;background:#ffffff0b;overflow:hidden}
.ui-renewal :is(.bar,.progress-bar)>i{background:linear-gradient(90deg,#8873a7,#dfc18a);transition:width .28s var(--ui-ease)}
.ui-renewal :is(.content,.screen-content) select{min-height:38px;border:1px solid #ad91c640;border-radius:8px;background:#201a2b;color:#e7dbee;padding:7px 10px;font-size:var(--min-label,13px)}
.ui-renewal :is(.content,.screen-content) input:not([type=range]){border:1px solid #ad91c640;border-radius:8px;background:#171320;color:#eee3f2}
.ui-renewal .effect-table>div{min-height:39px;border-color:#c4a9da15;padding:10px 12px;font-size:var(--min-label,13px)}
.ui-renewal .effect-table b{font-size:13px;color:#e3d0a5}
.ui-renewal .spec-section{background:#262032;color:#e4d9ec;border:1px solid #ad91c632;box-shadow:none;border-radius:12px;padding:14px}
.ui-renewal .spec-section h3{color:#e8d1a5;border-color:#b79acc26;font-size:15px}
.ui-renewal .spec-section dt{font-size:var(--min-label,13px);color:#d0c3db}
.ui-renewal .spec-section dt small{font-size:var(--min-label,13px);color:#aaa0b8}
.ui-renewal .spec-section dd{color:#f0dfbb;font-size:14px}
.ui-renewal .spec-section dl>div{border-color:#bfa4d514}
.ui-renewal .gear-main-stat{background:linear-gradient(100deg,#57443d66,#32263f);border-color:#d4b78a50;padding:13px}
.ui-renewal .gear-detail-hero{border-color:var(--ui-edge)}
.ui-renewal .gear-detail-hero h3{font-size:19px;color:#efdbb3}
.ui-renewal .gear-detail-hero>.art{border-color:#bc9c6e80}
.ui-renewal .gear-compare>div{border-color:#b99bd41c;padding-block:10px}
.ui-renewal .class-pick-header{padding:3px 0 16px}
.ui-renewal .class-pick-header h2{font-size:23px;color:#f2e1bb;letter-spacing:-.4px}
.ui-renewal .class-selector>button{border:1px solid var(--ui-edge);border-radius:9px;background:#262032}
.ui-renewal .class-selector>button.selected{border-color:#d0b37b;background:linear-gradient(#59473c88,#33263e);box-shadow:none}
.ui-renewal .class-description>span{border-radius:6px;padding:7px 10px}
.ui-renewal .wardrobe-title h2{font-size:23px;color:#f0ddb3}
.ui-renewal .wardrobe-collection{border-color:var(--ui-edge)}
.ui-renewal .relic-vault-hero{border-color:var(--ui-edge);background:radial-gradient(ellipse at 15% 50%,#74539933,transparent 65%),#211a30;border-radius:12px}
.ui-renewal .relic-vault-hero>.art{width:82px;height:82px;flex-basis:82px}
.ui-renewal .relic-vault-hero h2{font-size:22px}
.ui-renewal .forge-showcase{border:1px solid var(--ui-edge);border-radius:13px;background:radial-gradient(ellipse,#9c684b20,transparent 75%),#211b2d}
.ui-renewal .forge-showcase>.forge-hd{width:155px;height:155px}
@media(max-width:420px){.ui-renewal .forge-showcase>.forge-hd{position:relative;top:9px;pointer-events:none}}
.ui-renewal .forge-showcase h2{font-size:21px}
.ui-renewal .dungeon-reset-banner{border:1px solid var(--ui-edge);background:#292233;box-shadow:none;border-radius:10px;padding:11px;gap:8px}
.ui-renewal .dungeon-reset-banner b{font-size:var(--min-label,13px)}.ui-renewal .dungeon-reset-banner small,.ui-renewal .dungeon-reset-banner>span>small{font-size:var(--min-label,13px)}
.ui-renewal .dungeon-reset-banner strong{font-size:13px;color:#c8dbb9;text-shadow:none}
.ui-renewal .realm-banner{border:1px solid #c3a87970;border-radius:13px;box-shadow:0 7px 18px #08051030}
.ui-renewal .realm-corner{display:none}
.ui-renewal .realm-enter{min-height:40px;border:1px solid #ddc18b88;border-radius:9px;background:linear-gradient(110deg,#e4d0a8,#c3a36e);color:#352a23;font-size:14px;font-weight:700;box-shadow:inset 0 1px #fff4db33;text-shadow:none;letter-spacing:0}
.ui-renewal .realm-enter:disabled{background:#302837;color:#a79aad;border:1px solid #8f7b9b30;box-shadow:none}
.ui-renewal .realm-controls .recommended-power{background:#1b1528d9;border:1px solid #bda0d339;border-radius:9px}
.ui-renewal .town-nameplate,.ui-renewal .town-building.online .town-nameplate{background:linear-gradient(#30263eea,#20192de8);border:1px solid #d0b18288;border-radius:9px;box-shadow:0 5px 15px #0c08115e;text-shadow:none;padding:9px 10px}
.ui-renewal .town-nameplate:before,.ui-renewal .town-nameplate:after{content:none}
.ui-renewal .town-nameplate b{font-size:14px;font-weight:700;color:#f0dfba}
.ui-renewal .town-nameplate small{font-size:var(--min-label,13px);color:#c9bbd6}
.ui-renewal .shop-banner,.ui-renewal .newbie-intro{border-color:var(--ui-edge);background:linear-gradient(110deg,#3b2c4144,#272033);box-shadow:none}
.ui-renewal .vip-center-banner{border:0;border-radius:12px 12px 0 0;min-height:125px;padding:19px 15px}
.ui-renewal .vip-center-banner h3{font-size:24px}
.ui-renewal .vip-ribbon{border:0;background:#4f394c;color:#f0d5a4;font-size:13px;padding:10px;box-shadow:none}
.ui-renewal .vip-parchment{background:linear-gradient(135deg,#2e2638,#211a2c);color:#ddd0e6;border:1px solid var(--ui-edge);box-shadow:none;padding:16px 12px}
.ui-renewal .vip-rank-selector h3{color:#f0dfba;font-size:23px}
.ui-renewal .vip-rank-selector :is(span,small),.ui-renewal .vip-parchment :is(h4,.small),.ui-renewal .vip-gift-heading,.ui-renewal .vip-gift-heading small,.ui-renewal .vip-progress-copy{color:#cfc0d8}
.ui-renewal .vip-rank-selector>button{color:#dfbd87;min-height:44px}
.ui-renewal .vip-progress{background:#15111d;border:1px solid #a58d6233;height:6px}
.ui-renewal .vip-progress-copy b{color:#b8dbc7}
.ui-renewal .vip-reward-track{scrollbar-color:#a48b664f transparent;gap:8px}
.ui-renewal .vip-reward-track>div{background:#34283e;border:1px solid #c0a16e55;border-radius:10px;box-shadow:none}
.ui-renewal .vip-title-gift{border-color:var(--ui-edge);background:#c4a2df09;color:#dfd1e7}
.ui-renewal .monthly-rewards>.month-day{border-color:#b69acc33;background:#2b2239;border-radius:8px}
.ui-renewal .monthly-rewards>.month-day.special{border-color:#d6b67d6b;background:#54403366}
.ui-renewal .monthly-rewards>.month-day.selected{box-shadow:inset 0 0 0 1px #e4c48b;border-color:#e4c48b}
.ui-renewal .guild-hero{border-color:#c7ab7e55;box-shadow:none}
.ui-renewal .guild-tabs{background:#1d1829}
.ui-renewal .guild-member-row{border-color:var(--ui-edge);background:#2a2236;border-radius:10px}
.ui-renewal .guild-member-row.guild-self{background:#4c3c4d55;border-color:#d1b27e55}

/* Motion stays on transform/opacity. No animated blur or full-screen filters. */
/* Artwork owns its space: combat magnification must not leak into menu cards. */
.ui-renewal .class-sprite:not(.actor){scale:1}
.ui-renewal .class-selector{gap:6px}
.ui-renewal .class-selector>button{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:5px 2px 8px}
.ui-renewal .class-selector .class-sprite{width:100%;max-width:70px;margin:0 auto 3px}
.ui-renewal .class-preview-stage{height:244px;margin:12px 0 0;overflow:hidden}
.ui-renewal .class-preview-stage>.class-sprite{width:216px;height:216px;max-width:100%;top:25px;left:50%;transform:translateX(-50%)}
.ui-renewal .class-preview-tag{top:3px;right:5px;z-index:3;font-size:var(--min-label,13px)}
.ui-renewal .class-aura{bottom:8px;height:25px;left:21%;width:58%}
.ui-renewal .class-preview-title{position:static;text-align:center;margin:5px 0 13px;text-shadow:none}
.ui-renewal .class-preview-title h3{font-size:25px;line-height:1.2;margin:4px 0 0}
.ui-renewal .class-preview-title small{font-size:var(--min-label,13px);color:var(--ui-muted)}
.ui-renewal .wardrobe-stage>.class-sprite{max-width:calc(100% - 58px);scale:1}
.ui-renewal .class-wardrobe .class-sprite{scale:1;position:relative;overflow:hidden}
.ui-renewal .hero-showcase{height:264px;margin:0 0 12px;isolation:isolate}
.ui-renewal .hero-showcase>.paperdoll{width:calc(100% - 112px);max-width:222px;height:auto;aspect-ratio:1;left:50%;top:18px;right:auto;transform:translateX(-50%);scale:1}
.ui-renewal .hero-showcase:before{bottom:42px;left:21%;right:21%;height:25px}
.ui-renewal .hero-showcase>strong{bottom:5px;font-size:16px;line-height:24px}
.ui-renewal .equipment-slot{width:48px;height:51px}
.ui-renewal .equipment-slot[data-pos="0"]{left:5px;top:5px}
.ui-renewal .equipment-slot[data-pos="1"]{right:5px;top:5px}
.ui-renewal .equipment-slot[data-pos="2"]{left:5px;top:64px}
.ui-renewal .equipment-slot[data-pos="3"]{right:5px;top:64px}
.ui-renewal .equipment-slot[data-pos="4"]{left:5px;top:123px}
.ui-renewal .equipment-slot[data-pos="5"]{right:5px;top:123px}
.ui-renewal .equipment-slot[data-pos="6"]{left:auto;right:5px;top:182px}
.ui-renewal .screen-content:has(.hero-showcase) .item-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.ui-renewal .art.atlas-fit{position:relative;display:inline-block;background-image:none!important;overflow:hidden;isolation:isolate}
.ui-renewal .art.atlas-fit>.atlas-cell{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:block;background-repeat:no-repeat;pointer-events:none;border-radius:0}
.ui-renewal .collection-cell .equipment-art{width:100%;max-width:90px;height:auto;aspect-ratio:1;flex:0 0 auto;margin:auto}
.ui-renewal .equipment-slot .equipment-art{width:44px;height:44px;display:block;margin:auto}
.ui-renewal .collection-grid{align-items:stretch}
.ui-renewal .collection-cell{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;padding:10px 6px}
.ui-renewal .collection-cell .collection-name{margin:0;min-height:2.8em;line-height:1.4;font-size:var(--min-label,13px);word-break:keep-all;overflow-wrap:anywhere}
.ui-renewal .collection-cell :is(small,.catalog-detail-hint){margin:0;font-size:var(--min-label,13px)}
.ui-renewal .collection-claim-dock{position:static;margin-top:12px;padding:0;background:none}
.ui-renewal .relic-vault-hero{display:grid;grid-template-columns:64px minmax(0,1fr);gap:13px;align-items:center;padding:14px}
.ui-renewal .relic-vault-hero>.art{width:64px;height:64px;min-width:0;flex:none}
.ui-renewal .relic-vault-hero h2{font-size:20px;line-height:1.35}
.ui-renewal .relic-vault-hero p{font-size:var(--min-label,13px);line-height:1.5}
.ui-renewal .relic-vault-hero small{font-size:var(--min-label,13px);line-height:1.5;display:block}
.ui-renewal .skill-equipped{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px 8px}
.ui-renewal .skill-equipped>button{display:flex;flex-direction:column;align-items:center;min-width:0;gap:5px}
.ui-renewal .skill-equipped :is(.skill-lock,.skill-sigil){position:relative;inset:auto;width:42px;height:42px;flex:0 0 42px;margin:0}
.ui-renewal .skill-equipped .skill-lock svg{width:19px;height:19px;display:block}
.ui-renewal .skill-equipped small{position:static;display:block;width:100%;font-size:var(--min-label,13px);line-height:1.4;min-height:2.8em;margin:0;white-space:normal;overflow-wrap:anywhere}
.ui-renewal .skill-equipped .slot-number{top:-5px;left:0;z-index:2}
.ui-renewal .screen-content,.ui-renewal .content{min-height:0;padding-bottom:28px;scroll-padding-block:12px 28px}
.ui-renewal .class-onboarding-inner{display:block}
@media(max-width:350px){.ui-renewal .class-preview-stage{height:222px}.ui-renewal .class-preview-stage>.class-sprite{width:194px;height:194px}.ui-renewal .class-selector b{font-size:var(--min-label,13px)}}
@keyframes ui-page-in{from{opacity:0;transform:translate3d(0,9px,0)}to{opacity:1;transform:none}}
@keyframes ui-modal-in{from{opacity:0;transform:translate3d(0,12px,0) scale(.985)}to{opacity:1;transform:none}}
@keyframes class-breathe{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-2px,0)}}
@keyframes warrior-strike{0%{transform:none}18%{transform:translate3d(-3%,0,0) rotate(-4deg)}42%{transform:translate3d(29%,0,0) rotate(3deg)}62%{transform:translate3d(25%,0,0) rotate(1deg)}100%{transform:none}}
@keyframes shadow-strike{0%{transform:none;opacity:1}18%{transform:translate3d(-5%,0,0);opacity:.86}42%{transform:translate3d(59%,0,0);opacity:1}62%{transform:translate3d(51%,0,0)}100%{transform:none}}
@keyframes paladin-strike{0%{transform:none}18%{transform:translate3d(-2%,0,0) rotate(-2deg)}42%{transform:translate3d(23%,0,0) rotate(2deg)}64%{transform:translate3d(19%,0,0)}100%{transform:none}}
@keyframes mage-strike{0%{transform:none}25%{transform:translate3d(0,-5px,0) rotate(-2deg)}42%{transform:translate3d(0,-7px,0)}65%{transform:translate3d(0,-4px,0) rotate(1deg)}100%{transform:none}}
@keyframes archer-strike{0%{transform:none}25%{transform:translate3d(-4%,0,0) rotate(-2deg)}42%{transform:translate3d(-1%,0,0)}58%{transform:translate3d(-6%,0,0) rotate(-1deg)}100%{transform:none}}
@keyframes creature-hit{0%{transform:none}22%{transform:translate3d(5px,-1px,0) rotate(1deg)}55%{transform:translate3d(2px,0,0)}100%{transform:none}}
.ui-renewal .actor.world-creature.damaged{animation-duration:.23s;animation-timing-function:cubic-bezier(.2,.7,.3,1)}
.ui-renewal .result-surface:not(.result-settled) .loot-card{animation-duration:320ms!important;animation-timing-function:var(--ui-ease)!important}
.ui-renewal .actor.hero.class-hero[data-motion]:not([data-motion=idle]){animation-timing-function:cubic-bezier(.3,0,.25,1)}
.ui-renewal :is(.painted-impact,.painted-vfx-frame){will-change:transform,opacity}
.ui-renewal .notice{border:1px solid #cbb38666;border-radius:11px;background:#30243ef5;box-shadow:0 8px 24px #08041166;transition:opacity .22s,transform .26s var(--ui-ease)}
.ui-renewal .notice-confirm{width:23px;flex-basis:23px;height:23px;font-size:var(--menu-label-size,12px);background:#d9bb84;box-shadow:none}
.ui-renewal .screen-content,.ui-renewal .content{overflow-anchor:none}
.ui-renewal .game:has(.feature-screen:not([hidden])) :is(.actor,.battle-pet,.weather-spark),.ui-renewal .game:has(.overlay.show) :is(.actor,.battle-pet,.weather-spark){animation-play-state:paused}
@media(max-width:360px){
 .ui-renewal .top{padding-inline:8px;gap:5px 4px;grid-template-columns:minmax(0,1fr) auto 44px 44px}
 .ui-renewal .portrait{width:36px;height:36px;flex-basis:36px}.ui-renewal .profile{gap:6px}.ui-renewal .profile-copy strong{font-size:var(--menu-label-size,12px)}.ui-renewal .vip{padding-inline:7px}
 .ui-renewal .wallet b{font-size:var(--menu-label-size,11px)}.ui-renewal .wallet button{gap:3px}.ui-renewal .stage strong{font-size:16px}.ui-renewal .stage span{font-size:9px}
 .ui-renewal .screen-content,.ui-renewal .content{padding-inline:11px}.ui-renewal #screenTabs{padding-inline:7px}.ui-renewal #screenTabs>button{min-width:37px;padding-inline:6px;font-size:var(--min-label,13px)}
 .ui-renewal #skillbuttons{gap:12px}.ui-renewal #skillbuttons button{width:42px;height:42px}.ui-renewal .dialoghead h2{font-size:17px}
 .ui-renewal .hero-health small{font-size:8px}.ui-renewal .forge-mini-art{width:63px;flex-basis:63px}.ui-renewal .forge-dock{gap:7px}
}
@media(max-height:700px){
 .ui-renewal .game{--hud-top:84px;--nav-height:61px}.ui-renewal .top{grid-template-rows:40px 25px;padding-top:5px;padding-bottom:5px;gap:4px 6px}
 .ui-renewal .portrait{width:36px;height:36px;flex-basis:36px}.ui-renewal .wallet .art{width:20px;height:20px}.ui-renewal .bottom-nav button .art{width:25px;height:25px}
 .ui-renewal .screen-head{height:52px}.ui-renewal .screen-head h1{font-size:20px}.ui-renewal #screenTabs{min-height:44px;padding-block:4px}
 .ui-renewal .stage{top:8px;height:54px}.ui-renewal .stage-route{top:70px}.ui-renewal :is(.side-nav,.right-nav){top:9px;gap:4px}.ui-renewal :is(.side-nav,.right-nav) button>.art{width:26px;height:26px}.ui-renewal :is(.side-nav,.right-nav) button{min-height:39px}
 .ui-renewal .forge-dock{height:57px}.ui-renewal .home-quest{margin-top:6px;min-height:38px}.ui-renewal .forge-mini-art{--forge-art-size:48px}.ui-renewal .battle-controls{bottom:78px}
 .ui-renewal .battle.off .manual-hit{bottom:94px}.ui-renewal .dialog{max-height:calc(100% - 16px)}.ui-renewal .overlay{padding:8px}
}
@media(prefers-reduced-motion:reduce){.ui-renewal *,.ui-renewal *::before,.ui-renewal *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.ui-renewal.low-motion *,.ui-renewal.low-motion *::before,.ui-renewal.low-motion *::after,.ui-renewal.power-saving *,.ui-renewal.power-saving *::before,.ui-renewal.power-saving *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}

/* Keep turn markers readable in narrow battle reports. */
.ui-renewal .online-battle-log>div>small{flex:0 0 auto;min-width:24px;white-space:nowrap}
.ui-renewal .online-battle-log>div>span{min-width:0}
@media(max-width:420px){.ui-renewal .online-battle-log{grid-template-columns:minmax(0,1fr)}}

.ui-renewal .vip-parchment .vip-title-gift>small{color:#cfc0d8}

.ui-renewal #content .spec-section dt{color:#d6cbdc}
.ui-renewal #content .spec-section dd{color:#f0dfba}
.ui-renewal #content .spec-section dt small{color:#b9abc5}

/* page */
/* One-screen haven: keep the existing bottom navigation and resource header. */
.ui-renewal .town-screen .screen-head,.ui-renewal .town-screen #screenTabs{display:none}
.ui-renewal .town-screen .screen-content{padding:0!important;overflow:hidden;display:flex}
.ui-renewal .town-map-viewport{position:relative;isolation:isolate;container-type:size;display:grid;place-items:center;flex:1;min-width:0;min-height:0;overflow:hidden;background:#191423}
.ui-renewal .town-map-viewport::before{content:"";position:absolute;z-index:-1;inset:-12px;background:var(--town-map) center/cover;filter:blur(10px) brightness(.48);pointer-events:none}
.ui-renewal .town-map{flex:none;width:min(100cqw,66.666667cqh);height:auto;min-height:0;aspect-ratio:2/3;background-size:contain}
.ui-renewal .town-map:after{background:linear-gradient(#0e09213d,transparent 12%,transparent 92%,#0c0a2366)}
.haven-heading{position:absolute;left:12px;top:10px;z-index:3;margin:0;padding:7px 11px;border:1px solid #d9bf8555;border-radius:8px;background:#181326b3;color:#ffe8bc;font-size:15px;font-weight:700;text-shadow:0 2px 4px #000}
.ui-renewal .town-building{width:43%;height:22%;min-height:44px;transform:translate(-50%,-100%);filter:drop-shadow(0 3px 3px #090616)}
.ui-renewal .town-nameplate{width:auto;min-width:78%;padding:8px 7px;border:1px solid #e0c58c;border-radius:7px 7px 12px 12px;background:linear-gradient(#342638f5,#21192af5);box-shadow:inset 0 0 0 2px #8d6c4430,0 3px 0 #130d20}
.ui-renewal .town-nameplate b{font-size:clamp(var(--min-label,13px),3.6vw,17px);line-height:1.2;color:#ffebbf;white-space:nowrap}
.ui-renewal .town-nameplate small{font-size:var(--min-label,13px);line-height:1.3;margin-top:3px;color:#d6c6e3}
.ui-renewal .town-building.preparing .town-nameplate{border-color:#9d9bb8}
.ui-renewal .town-building:focus-visible{outline:2px solid #fff0b8;outline-offset:1px}
.ui-renewal .growth-comparison{grid-template-columns:36px minmax(0,1fr) 88px;gap:10px;align-items:center}
.growth-stat-icon{display:grid;place-items:center;width:36px;height:36px;overflow:hidden;border-radius:8px;align-self:center}
.ui-renewal .growth-stat-icon>:is(.art,.skill-sigil){display:block;width:34px;height:34px;min-width:0;margin:0;flex:none;position:relative;inset:auto;transform:none}
.ui-renewal .growth-comparison .gold-button{min-width:0;width:100%;font-size:var(--min-label,13px);padding:8px 4px}
.ui-renewal .growth-comparison .growth-values{font-size:14px;white-space:normal;line-height:1.5}
.ui-renewal .growth-comparison>div>b{font-size:13px}
.ui-renewal .growth-comparison>div>small{font-size:var(--min-label,13px);line-height:1.5}
.ui-renewal .guild-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
.haven-return{display:inline-flex;align-items:center;gap:5px;min-height:36px;padding:4px 10px;margin:0 0 12px;border:1px solid #8f799755;border-radius:7px;background:#30273d;color:#edd8b3;font-size:var(--min-label,13px)}
.nebula-wallet{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 14px}
.nebula-wallet>div{display:grid;grid-template-columns:27px minmax(0,1fr);align-items:center;gap:3px 8px;border:1px solid #a68bba36;border-radius:9px;padding:9px;background:#2b2336}
.nebula-wallet small{font-size:var(--min-label,13px);color:#d5c5e2}.nebula-wallet b{grid-column:2;font-size:16px;color:#f6dfaf}
.haven-coin{position:relative;display:inline-grid;place-items:center;width:25px;height:25px;border:2px solid var(--coin-color);border-radius:50%;color:var(--coin-color);background:radial-gradient(circle at 30% 25%,#f1d9a848,#1e152b);box-shadow:inset 0 0 0 2px #0f0a1a88;font-size:13px;font-style:normal;font-weight:800;flex-shrink:0}
.nebula-wallet .haven-coin{grid-row:span 2}.coin-guild{--coin-color:#eac384}.coin-arena{--coin-color:#efa2a6}.coin-worldBoss{--coin-color:#bca2f2}.coin-raid{--coin-color:#93d9ef}
.nebula-shop-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:13px}
.nebula-shop-tabs>button{min-height:42px;padding:6px 2px;border:1px solid #806b9255;border-radius:7px;font-size:var(--min-label,13px);background:#2b2336;color:#ddcfe9;white-space:nowrap}
.nebula-shop-tabs>button.active{background:#5b425c;border-color:#e5c489;color:#ffe9bd}
.nebula-shop-note{font-size:var(--min-label,13px);line-height:1.6;color:#d1bfdc;margin:0 0 12px}
.nebula-shop-items{display:grid;gap:11px}.nebula-shop-item{display:grid;grid-template-columns:48px minmax(0,1fr);gap:9px 12px;align-items:center;padding:13px;border:1px solid #ac8bb655;border-radius:11px;background:linear-gradient(120deg,#36273e,#231c30)}
.nebula-shop-item>.art{width:48px;height:48px}.nebula-shop-item h3{font-size:15px;color:#f4dbad;margin:0 0 5px}.nebula-shop-item small{font-size:var(--min-label,13px);color:#cdb9db}.nebula-shop-item>button{grid-column:1/-1;width:100%;min-height:42px;font-size:var(--min-label,13px)}
.nebula-shop-item>button .haven-coin{width:21px;height:21px;font-size:var(--min-label,13px);margin-right:3px}
.haven-coin-rewards{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin:10px 0 18px}.haven-coin-rewards>span{display:flex;align-items:center;gap:6px;padding:8px;border:1px solid #b796c64f;border-radius:8px;color:#ffe1a8;font-size:var(--min-label,13px)}
.raid-coming{text-align:center;padding:25px 8px}.raid-coming>.art{width:100px;height:100px;display:block;margin:0 auto 16px}.raid-coming h3{font-size:23px;color:#ffe6b4}.raid-coming p{font-size:13px;line-height:1.7;color:#d0bedb}.raid-coming .coming-badge{display:inline-block;border:1px solid #9fb2d788;border-radius:20px;padding:6px 15px;color:#c7e9ff;font-size:var(--min-label,13px)}
/* Anchor and scale the existing painted frames at the weapon and target. */
.ui-renewal .painted-impact.skill-impact{--vfx-scale:1.12}
.ui-renewal .painted-impact.skill-impact.impact-echo{--vfx-scale:.78}
.ui-renewal .painted-impact.phase-charge.skill-impact{--vfx-scale:.62}
.ui-renewal .painted-impact.phase-charge.normal-impact{--vfx-scale:.28}
.ui-renewal .painted-impact.phase-charge.travelling.skill-impact{--vfx-scale:.62}
@media(max-width:360px){.ui-renewal .growth-comparison{grid-template-columns:30px minmax(0,1fr) 76px;gap:7px;padding:10px 8px}.growth-stat-icon{width:30px;height:30px}.ui-renewal .growth-stat-icon>:is(.art,.skill-sigil){width:28px;height:28px}.ui-renewal .growth-comparison .growth-values{font-size:var(--min-label,13px)}.ui-renewal .growth-comparison>div>b{font-size:var(--min-label,13px)}.ui-renewal .growth-comparison .gold-button small{font-size:var(--min-label,13px)}.haven-heading{font-size:13px;padding:6px 9px}.ui-renewal .town-nameplate{padding:7px 5px}}
@media(max-height:650px){.ui-renewal .town-nameplate{padding:5px 6px}.ui-renewal .town-nameplate b{font-size:13px}.ui-renewal .town-nameplate small{font-size:var(--min-label,13px)}.haven-heading{top:6px;padding:5px 8px;font-size:var(--min-label,13px)}}

