/* v1.83.59: the page styles that style.php used to paste into every page (about 550 KB per page load), now one cached file.
   Same rules in the same order; image paths are relative to this css folder. */
.hidden-slot{display:none}.equipped-slot{box-shadow:0 0 0 1px rgba(255,196,61,.7),0 0 18px rgba(255,181,38,.08)}.mini-btn{margin-top:6px;padding:4px 8px;border:1px solid #8d6421;background:#21170a;color:#ffd56a;border-radius:5px;font-size:10px}.item-tag{display:inline-block;margin-top:6px;color:#9b9b9b;font-size:10px}.zone.locked{opacity:.48}.zone form{height:100%}.gacha-page{max-width:1180px;margin:0 auto;padding:16px 22px 60px}.gacha-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}.gacha-head h1{letter-spacing:2px;color:#ffc74b}.gacha-head h1 span{font-size:10px;background:#9e3b3b;color:white;padding:4px 7px;vertical-align:middle}.gacha-head button,.gacha-head>div{border:1px solid #8b5d20;border-radius:18px;padding:9px 16px;background:#17120d;color:#f4c85d}.gacha-vault,.top-prizes,.recent-pulls,.drop-rates{background:#12100d;border:1px solid #65431c;border-radius:12px;margin-bottom:14px;overflow:hidden}.gacha-vault{padding-bottom:18px}.gacha-vault .panel-title,.top-prizes .panel-title,.recent-pulls .panel-title,.drop-rates .panel-title{padding:12px 16px;border-bottom:1px solid #382719;color:#f0b938;font-weight:800}.gacha-vault .panel-title small,.recent-pulls .panel-title small{float:right;color:#8d867c;font-weight:400}.vault-art{height:250px;display:grid;place-items:center;position:relative}.cube{font-size:100px;width:180px;height:150px;display:grid;place-items:center;background:linear-gradient(145deg,#ffd970,#8f5b0a);color:white;box-shadow:0 0 45px rgba(255,190,60,.28);transform:rotate(-4deg);border:2px solid #d99a24}.spark{position:absolute;color:#d8ff50;font-size:24px}.s1{left:32%}.s2{right:35%;top:25%}.s3{right:27%;bottom:25%}.pity{max-width:430px;margin:0 auto 16px}.pity span{font-size:11px;color:#888}.pity b{float:right;font-size:12px}.pity i{display:block;height:8px;border:1px solid #5a4320;border-radius:8px;margin-top:8px;overflow:hidden}.pity em{display:block;height:100%;background:#f0c743}.currency-choice{display:flex;max-width:360px;margin:0 auto 12px}.currency-choice>*{flex:1;text-align:center;padding:16px;border:1px solid #72501d}.currency-choice b{background:#18271b;color:#6aff92}.currency-choice small{display:block;color:#777}.pulls{display:flex;gap:12px;max-width:720px;margin:auto}.pulls form{flex:1}.pull{width:100%;padding:18px;border:1px solid #8c5b1b;background:#17130e;color:#f5ead2;border-radius:11px}.pull.best{background:linear-gradient(#eab53e,#a56b12);color:#130e07}.pull strong,.pull span,.pull small{display:block}.pull span{margin:8px;font-size:17px}.pull small{opacity:.75}.prize-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:12px}.prize-grid>div{border:1px solid #3a7b86;border-radius:9px;text-align:center;padding:18px 8px;background:#0d0d0c}.prize-grid b{display:block;font-size:30px;color:#ffd24d}.prize-grid strong{display:block}.prize-grid small{color:#888}.pull-row{display:grid;grid-template-columns:45px 1fr 120px 100px 90px;align-items:center;padding:10px 16px;border-bottom:1px solid #241e17}.pull-row b{color:#eee}.pull-row small,.pull-row em{color:#8b857d}.pull-row strong{text-align:center;font-size:10px}.pull-row.epic strong,.pull-row.legendary strong,.pull-row.mythic strong{color:#f2b7ff}.pull-row.cosmic strong{color:#cfff42}.drop-rates>div:not(.panel-title){display:flex;justify-content:space-between;padding:7px 16px;border-bottom:1px solid #211c16;color:#aaa}.drop-rates b{color:#ffd24d}.stake-top{align-items:start}.stake-input input{width:100%}.stake-card form{margin-top:10px}.stake-actions{display:flex;gap:8px;margin-top:12px}.stake-actions input{flex:1}.stake-actions select{background:#17130e;color:#eee;border:1px solid #62451e;padding:8px;border-radius:6px}.guild-card form{margin-top:8px}.guild-card .apply-btn{float:right}.market-sell-box{padding:14px;border:1px solid #60421d;border-radius:9px;margin-top:12px}.market-sell-box select,.market-sell-box input{background:#15120f;color:#eee;border:1px solid #59411f;padding:8px;border-radius:5px;margin-right:6px}.modal .market-sell-box{margin:12px 0}.toast{position:fixed;right:20px;bottom:20px;z-index:9999;background:#20180c;border:1px solid #c18a27;color:#ffd56a;padding:12px 18px;border-radius:8px}.toast{opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .18s ease,transform .18s ease}.toast.show{opacity:1;transform:translateY(0)}.toast.toast-error{border-color:#a33;color:#ffb0aa}
@media(max-width:700px){.dashboard{grid-template-columns:1fr}.leftcol,.rightcol{display:none}.prize-grid{grid-template-columns:repeat(2,1fr)}.pulls{flex-direction:column}.pull-row{grid-template-columns:35px 1fr 90px}.pull-row small{display:none}}

/* v1.7.11: exact 32x32 inventory/equipment slots and centered art */
.inventory .equiprow{display:grid;grid-template-columns:repeat(8,32px);gap:4px;justify-content:start;width:100%;min-width:0}
.inventory .equip{width:32px;height:38px;min-height:38px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative}
.inventory .equip .itemicon{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .equip .itemicon img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
.inventory .invgrid{display:grid;grid-template-columns:repeat(8,32px);gap:4px;width:100%;min-width:0;justify-content:start}
.inventory .slot{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .slot .item-visual{width:32px;height:32px;min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;margin:0}
.inventory .slot .item-visual img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
@media(max-width:650px){.inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,32px);gap:4px}.inventory .equip .itemicon,.inventory .equip .itemicon img,.inventory .slot,.inventory .slot .item-visual,.inventory .slot .item-visual img{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
.store-page .page-head{margin-bottom:10px}
.store-page .page-head h1{font-size:22px!important}
.store-page .store-section-head h2{font-size:15px!important}
.store-page .store-section-head p{font-size:10px!important}
.store-page .store-section-badge{font-size:9px!important}
.store-page .store-copy strong{font-size:12px!important}
.store-page .store-copy span{font-size:10px!important}
.store-page .store-buy>b.store-price{color:#75e08b!important;font-size:12px!important;font-weight:900}
.store-page .store-buy .gold-btn{font-size:11px!important;padding:7px 12px}
.store-page .store-item-clean{font-size:11px}

.store-page .store-price{display:block!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#75e08b!important;font-size:12px!important;font-weight:900!important}
.store-page .store-price::before,.store-page .store-price::after{background:transparent!important;box-shadow:none!important}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}

/* v1.35.0 leaderboard recreation + mailbox alert polish */
.mailbox-nav{position:relative}.mail-alert{display:inline-grid;place-items:center;min-width:15px;height:15px;margin-left:5px;padding:0 3px;border-radius:50%;background:#d7433f;color:#fff;font-size:9px;font-weight:900;line-height:15px;box-shadow:0 0 0 2px #17130e}
.mailbox-empty-message{font-size:13px!important;line-height:1.6}
.claim-balance-btn{min-width:150px;margin-top:10px}
.stake-page .stake-input{display:block}.stake-page .stake-input input{width:100%!important;box-sizing:border-box}.stake-page .stake-card h2{font-size:17px!important}.stake-page .stake-card p,.stake-page .stake-card label,.stake-page .stake-card .tier-track,.stake-page .stake-card .lock-row,.stake-page .your-stake p,.stake-page .top-stakers p,.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:12px!important;line-height:1.55}.stake-page .stake-input input{font-size:15px!important;padding:11px 12px!important}
.season-leaderboard-page{max-width:1280px;margin:0 auto;padding:8px 10px 40px}.slb-shell{border:1px solid #493116;background:#12100d;border-radius:9px;overflow:hidden;box-shadow:0 0 0 1px rgba(177,123,33,.08)}.slb-head{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;border-bottom:1px solid #302318}.slb-head h1{margin:0;color:#e8b84c;font-size:15px;letter-spacing:1px}.slb-live{color:#7c756a;font-size:10px}.slb-live:first-letter{color:#5ee38c}.slb-tabs{display:flex;gap:5px;padding:10px 14px;overflow:auto}.slb-tabs a{flex:0 0 auto;display:flex;align-items:center;gap:7px;padding:8px 13px;border:1px solid #392c1c;background:#191610;border-radius:7px;text-decoration:none;color:#b7aa94;font-size:11px}.slb-tabs a.active{border-color:#b17a1d;color:#f0c45c;background:#21180c}.slb-tabs a b{font-size:11px}.slb-prize{margin:4px 12px 10px;padding:13px 16px;border:1px solid #a17424;border-radius:12px;background:linear-gradient(90deg,#272312,#211c0f);display:flex;justify-content:space-between;align-items:center}.slb-prize strong{display:block;color:#ffc957;font-size:15px}.slb-prize small{display:block;color:#8c816e;font-size:10px;margin-top:4px}.slb-prize-total{text-align:right;color:#f5c94f;font-size:19px;font-weight:900}.slb-prize-total small{display:inline;color:#8d816d;font-size:9px}.slb-prize-total em{display:block;color:#827664;font-size:8px;font-style:normal}.slb-table-wrap{margin:0 10px;overflow:auto}.slb-table-wrap table{width:100%;min-width:940px;border-collapse:collapse}.slb-table-wrap th{padding:10px 8px;color:#837767;font-size:9px;letter-spacing:.7px;font-weight:800;text-align:left;border-bottom:1px solid #3b2d20;white-space:nowrap}.slb-table-wrap td{padding:8px;color:#eee5d8;font-size:11px;border-bottom:1px solid #241e18;white-space:nowrap}.slb-table-wrap tbody tr:hover{background:#17130f}.slb-table-wrap tr.podium-1{box-shadow:inset 3px 0 #d9ad3c}.slb-table-wrap tr.podium-2{box-shadow:inset 3px 0 #aab0b6}.slb-table-wrap tr.podium-3{box-shadow:inset 3px 0 #9a6a45}.slb-guild{color:#caa84e;font-size:10px}.slb-id{display:inline-block;background:linear-gradient(180deg,#ffd979,#d9a22c);color:#2b1a02;padding:3px 6px;border-radius:5px;font-size:9px;font-weight:900;box-shadow:0 0 7px rgba(255,196,64,.35)}.slb-player{display:inline-block;color:#ead6f7;background:linear-gradient(#b889df,#7d46ad);border-radius:10px;padding:3px 9px;font-size:10px;text-decoration:none}.slb-green{color:#79e75f!important;font-weight:900}.slb-points,.slb-value{color:#f2e9dc;font-weight:800}.slb-win{color:#6be27d!important}.slb-loss{color:#f06a61!important}.slb-tier{display:inline-block;padding:3px 9px;border-radius:10px;border:1px solid #8d6a27;color:#f0c45b;background:#2b2415;font-size:9px}.slb-note{margin:9px 12px 12px;color:#7c7368;font-size:9px;line-height:1.5}
@media(max-width:760px){.slb-tabs{padding-bottom:8px}.slb-prize{align-items:flex-start}.slb-prize-total{font-size:15px}.season-leaderboard-page{padding:4px}.slb-head h1{font-size:13px}}
.offline-earnings-notice{max-width:1200px;margin:8px auto 0;padding:9px 12px;border:1px solid #4a3a20;border-radius:8px;background:#14110d;color:#d8c48a;font-size:10px;font-weight:800;letter-spacing:.02em;text-align:center}
/* v1.82.72: real 40% reduction for pet purchase buttons. */
.inventory .pet-actions form{width:100%!important;display:flex!important;justify-content:center!important;}
.inventory .pet-actions button.pet-buy{width:60%!important;min-width:0!important;max-width:60%!important;padding:5px 8px!important;font-size:9px!important;line-height:1.1!important;min-height:0!important;border-radius:5px!important;box-shadow:none!important;}
.inventory .pet-actions .pet-price{text-align:left!important;width:100%!important;}
.inventory .invgrid .slot .item-visual,.inventory .equip .itemicon{display:flex;align-items:center;justify-content:center;}
.inventory .invgrid .slot .item-visual img{object-position:center center;transform:translateX(0)!important;}
.inventory .gear-compare{padding:10px 12px!important;margin-top:10px!important;border-radius:7px!important;}
.inventory .gear-compare>div{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;align-items:center!important;}
.inventory .gear-compare>div>span{padding:7px 8px!important;background:#15131d!important;border:1px solid #30283a!important;border-radius:5px!important;text-align:center!important;white-space:normal!important;line-height:1.5!important;}
.inventory .inspect-actions button[data-enhance-open]{white-space:nowrap;}

/* v1.82.88: profile pet art and mode-specific zone guidance */
.profile-pets>div>img{display:block;width:64px;height:64px;object-fit:contain;margin:0 auto 6px;image-rendering:auto}
.zone-recommended-power{display:block;color:#d8b34b;font-size:10px;line-height:1.25;margin:2px 0 5px}

/* v1.83.18 animated Boss Rush combat on battle screen */
.boss-rush-live-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:10px 0;padding:12px 14px;border:1px solid #8b671f;border-radius:9px;background:linear-gradient(110deg,rgba(91,61,13,.55),rgba(22,18,13,.92));color:#f4d16b}
.boss-rush-live-banner strong{font-size:13px;font-weight:900;letter-spacing:.5px}.boss-rush-live-banner span{color:#d6c6a4;font-size:12px}.boss-rush-live-banner form{margin:0}.boss-rush-live-banner button{min-width:130px}
/* v1.82.17: restore the full three-column desktop game layout after correcting the game.php column markup.
   Some desktop displays/browser zoom levels report a sub-1000 CSS viewport even when
   the physical screen is wide. The previous responsive rule collapsed the dashboard
   into a narrow center track and pushed the right column off-screen. */
@media (min-width:701px){
  .dashboard{
    display:grid!important;
    grid-template-columns:minmax(200px,270px) minmax(360px,1fr) minmax(210px,290px)!important;
    gap:12px!important;
    width:100%!important;
    max-width:1660px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding:10px!important;
    min-width:0!important;
  }
  .dashboard>.leftcol,.dashboard>.centercol,.dashboard>.rightcol{
    display:block!important;
    min-width:0!important;
    width:auto!important;
    max-width:none!important;
  }
  .centercol{min-width:0!important;overflow:visible!important;}
  .rightcol{min-width:0!important;}
  .arena{width:100%!important;min-width:0!important;}
  .zones{min-width:0!important;max-width:100%!important;overflow-x:auto!important;}
}
@media (min-width:701px) and (max-width:1200px){
  .dashboard{grid-template-columns:200px minmax(360px,1fr) 210px!important;gap:10px!important;padding:10px!important;}
  .arena{height:400px!important;}
}
.settings-form{display:grid;gap:7px;margin:8px 0}.settings-form label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#b8b4c8}.settings-form input,.settings-form select{background:#15131d;border:1px solid #3a3347;color:#eee;border-radius:5px;padding:5px}.settings-form button,.inspect-actions button,.pet-actions button{background:#27202f;border:1px solid #6d526e;color:#f4dfb1;border-radius:5px;padding:6px 8px;cursor:pointer}.item-stats{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:8px 0;font-size:10px;color:#c6bfd1}.item-stats span{padding:4px;background:#15131d;border:1px solid #292331;border-radius:4px}.toggle{background:transparent;border:0;color:#bdb8c7;font:inherit;cursor:pointer}.toggle.on{color:#f0c878}.pet-actions{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.pet-actions button.chosen{border-color:#d4a94d;color:#ffe5a2}.mini-btn{font-size:10px}.inspect-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.inspect-actions button:disabled,.settings-form button:disabled{opacity:.45;cursor:not-allowed}.slot-link{min-height:52px;display:block}.zone strong{font-size:10px}.hero-tab-stats{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}.hero-tab-stats span{font-size:10px;color:#8d869a}.hero-tab-stats b{display:block;color:#f1dfb5;font-size:13px;margin-top:2px}

/* v1.7.11: exact 32x32 inventory/equipment slots and centered art */
.inventory .equiprow{display:grid;grid-template-columns:repeat(8,32px);gap:4px;justify-content:start;width:100%;min-width:0}
.inventory .equip{width:32px;height:38px;min-height:38px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative}
.inventory .equip .itemicon{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .equip .itemicon img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
.inventory .invgrid{display:grid;grid-template-columns:repeat(8,32px);gap:4px;width:100%;min-width:0;justify-content:start}
.inventory .slot{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .slot .item-visual{width:32px;height:32px;min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;margin:0}
.inventory .slot .item-visual img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
@media(max-width:650px){.inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,32px);gap:4px}.inventory .equip .itemicon,.inventory .equip .itemicon img,.inventory .slot,.inventory .slot .item-visual,.inventory .slot .item-visual img{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
.hero-status-card .card-title{margin-bottom:9px}.hero-status-card .identity{margin-bottom:3px}.xp-label{margin-top:7px}.xp-bar{height:7px;margin-top:3px}.xp-bar i{background:linear-gradient(90deg,#4c8cff,#75b7ff)}.stats-card{margin-top:10px}.stats-card .card-title{margin-bottom:7px}.stats-card .statgrid{margin-top:0;gap:4px}.stats-card .statgrid div{min-height:39px;padding:5px 6px}.stats-card .statgrid b{font-size:11px}.boost-row{display:grid;grid-template-columns:1fr auto;gap:2px 7px;padding:7px 0;border-bottom:1px solid #282117}.boost-row span{color:#d7c6a3;font-size:9px}.boost-row b{color:#70e184;font-size:9px}.boost-row small{grid-column:1/-1;color:#6e675b;font-size:8px}.boosts-card p{margin:0;color:#756e60;font-size:9px;line-height:1.4}.quests-card{padding-bottom:7px}.quests-card .card-title{margin-bottom:5px}.quest{border-top:1px solid #292219;padding:8px 0;display:grid;grid-template-columns:1fr auto;gap:2px 7px;position:relative}.quest:first-of-type{border-top:0}.quest div b{display:block;color:#e1d3b8;font-size:9px}.quest div small{display:block;color:#776f62;font-size:7px;margin-top:2px}.quest>strong{color:#e6bf57;font-size:8px;text-align:right}.quest>span{color:#a79a83;font-size:7px;text-align:right}.quest-summary{display:flex;justify-content:space-between;color:#6f675b;font-size:7px;padding:7px 0 1px;border-top:1px solid #292219}.quests-card .card-title em{color:#806f57;font-style:normal;font-size:7px;letter-spacing:.4px}.quest-section-title{display:flex;justify-content:space-between;align-items:center;padding:8px 0 4px;margin-top:3px;border-top:1px solid #292219}.quest-section-title:first-of-type{border-top:0}.quest-section-title span{color:#b68b3d;font-size:8px;font-weight:900;letter-spacing:.7px}.quest-section-title small{color:#5f574c;font-size:6px;text-align:right}.quest-empty{padding:8px 5px;color:#756d60;font-size:7px;line-height:1.35;background:#11100d;border:1px solid #292219;border-radius:3px;margin:4px 0}.quest-inline-form{display:inline;margin:0 0 0 4px}.quest-inline-form button{border:1px solid #8e6424;background:#241706;color:#edc45c;border-radius:3px;padding:2px 5px;font-size:6px;font-weight:900;cursor:pointer;vertical-align:middle}.quest-inline-form button:hover{background:#30200a}.quest-active i{display:flex;align-items:center;justify-content:flex-start;gap:2px}.quest>i{grid-column:1/-1;font-style:normal;color:#75d87c;font-size:7px;background:#11100d;border:1px solid #2e271d;border-radius:3px;padding:3px 5px}.arena-controls{display:flex;align-items:center;gap:7px}.auto-pot-trigger{border:1px solid #3f6d43;background:#0b120bd9;color:#7ce58a;border-radius:5px;padding:7px 10px;font-size:9px;font-weight:900;cursor:pointer;box-shadow:0 0 14px #49c75b18}.auto-pot-trigger.disabled{border-color:#69413a;color:#ef8c78;background:#150d0bd9}.auto-pot-panel{position:absolute;z-index:8;top:52px;left:12px;width:280px;background:linear-gradient(180deg,#1b1711,#100e0b);border:1px solid #7d5723;border-radius:9px;padding:13px;box-shadow:0 18px 45px #000b;display:none}.auto-pot-panel.open{display:block}.auto-pot-head{display:flex;justify-content:space-between;align-items:center;color:#e4b956;font-size:11px;letter-spacing:1px;margin-bottom:10px}.auto-pot-head button{border:0;background:none;color:#918575;font-size:18px;cursor:pointer}.auto-pot-form{display:grid;gap:9px}.auto-pot-form label{color:#c4b7a1;font-size:9px}.auto-pot-form label>b{color:#63a8ff}.auto-pot-form input[type=range]{display:block;width:100%;margin-top:8px;accent-color:#2f8df7}.auto-pot-form select{width:100%;margin-top:5px;background:#17130e;color:#eee;border:1px solid #6a4c22;border-radius:5px;padding:7px;font-size:9px}.auto-pot-form small{color:#766e62;font-size:8px;line-height:1.45}.auto-pot-form>button{background:#21170b;border:1px solid #986d27;color:#f0c55d;border-radius:5px;padding:8px;font-weight:900;cursor:pointer}.switch-row{display:flex!important;align-items:center;justify-content:space-between}.switch-row input{display:none}.switch-row i{width:38px;height:20px;background:#37342f;border:1px solid #665d50;border-radius:20px;position:relative;display:block}.switch-row i:after{content:"";position:absolute;width:14px;height:14px;top:2px;left:2px;border-radius:50%;background:#aaa}.switch-row input:checked+i{background:#2d7d36;border-color:#5cbf68}.switch-row input:checked+i:after{left:20px;background:#e7f6e7}.hp-bar i{transition:width .25s}.leftcol{min-width:0}
@media(max-width:1000px){.auto-pot-panel{left:8px;right:8px;width:auto}.arena-controls{gap:4px}.auto-pot-trigger{padding:6px 7px}}

/* v1.7.11: exact 32x32 inventory/equipment slots and centered art */
.inventory .equiprow{display:grid;grid-template-columns:repeat(8,32px);gap:4px;justify-content:start;width:100%;min-width:0}
.inventory .equip{width:32px;height:38px;min-height:38px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative}
.inventory .equip .itemicon{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .equip .itemicon img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
.inventory .invgrid{display:grid;grid-template-columns:repeat(8,32px);gap:4px;width:100%;min-width:0;justify-content:start}
.inventory .slot{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .slot .item-visual{width:32px;height:32px;min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;margin:0}
.inventory .slot .item-visual img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
@media(max-width:650px){.inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,32px);gap:4px}.inventory .equip .itemicon,.inventory .equip .itemicon img,.inventory .slot,.inventory .slot .item-visual,.inventory .slot .item-visual img{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
.pet-ability{font-size:9px;color:#d5b66c;margin:6px 0;padding:5px 7px;background:#15131d;border:1px solid #2b2433;border-radius:5px}.pet-price{font-size:10px;color:#75e08b;font-weight:800;margin-bottom:5px}.pet-actions{display:flex;flex-wrap:wrap;gap:4px}.pet-actions form{margin:0}.pet-actions button:disabled{opacity:.35;cursor:not-allowed}.pet-buy{width:100%}.pet-actions button.pet-buy{background:linear-gradient(#e1b548,#a8741f);border:1px solid #b4862e;color:#1b1307;font-weight:900;box-shadow:0 0 14px rgba(217,165,43,.18)}.pet-actions button.pet-buy:hover:not(:disabled){filter:brightness(1.08)}.pet-costs{display:block;color:#766e62;font-size:8px;margin-top:5px}.pet-slots>div{display:flex;flex-direction:column;align-items:center;gap:3px}.pet-slots b{font-size:9px;color:#e6d3ac}
/* v1.7.11: exact 32x32 inventory/equipment slots and centered art */
.inventory .equiprow{display:grid;grid-template-columns:repeat(8,32px);gap:4px;justify-content:start;width:100%;min-width:0}
.inventory .equip{width:32px;height:38px;min-height:38px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative}
.inventory .equip .itemicon{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .equip .itemicon img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
.inventory .invgrid{display:grid;grid-template-columns:repeat(8,32px);gap:4px;width:100%;min-width:0;justify-content:start}
.inventory .slot{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .slot .item-visual{width:32px;height:32px;min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;margin:0}
.inventory .slot .item-visual img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
@media(max-width:650px){.inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,32px);gap:4px}.inventory .equip .itemicon,.inventory .equip .itemicon img,.inventory .slot,.inventory .slot .item-visual,.inventory .slot .item-visual img{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
.ff-subtabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:10px 0 7px}.ff-subtabs a{padding:9px 8px;text-align:center;border:1px solid #49331b;border-radius:8px;background:#12100d;color:#b8b0a1;font-size:10px;font-weight:900;text-decoration:none}.ff-subtabs a.active{border-color:#b86d1d;background:#2a1c10;color:#f3d19b}.ff-subtabs a:nth-child(3){grid-column:1/2}.ff-mode-row{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:8px 0 10px}.ff-mode-row a{display:block;padding:10px;border:1px solid #3b2b1c;border-radius:9px;background:#11100e;color:#eee;text-decoration:none;font-size:11px;font-weight:900}.ff-mode-row a.active{border-color:#d9781e;background:#291b10}.ff-mode-row small{display:block;color:#8b8173;font-size:8px;font-weight:400;margin-top:2px}.ff-step{margin-top:8px;margin-bottom:5px;font-size:9px;color:#eee}.ff-step b{letter-spacing:.2px}.ff-rarity-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}.ff-rarity{min-height:61px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-decoration:none;border:1px solid #3c2c1d;border-radius:8px;background:#12100e;color:#ddd;padding:4px 2px}.ff-rarity span{font-size:17px}.ff-rarity b{font-size:8px;margin-top:2px}.ff-rarity small{font-size:8px;color:#9e9689}.ff-rarity.selected{box-shadow:0 0 16px #d58b2a33}.ff-rarity.legendary.selected{border-color:#ffb300;color:#ffd45e}.ff-rarity.mythic.selected{border-color:#ff3b4d;color:#ff7883}.ff-rarity.cosmic.selected{border-color:#b8ff32;color:#caff55}.ff-rarity.divine.selected{border-color:#ff72dd;color:#ff9deb}.ff-rarity.celestial.selected{border-color:#6ff7ff;color:#8ffaff}.ff-slot-icons{display:grid;grid-template-columns:repeat(8,1fr);gap:4px}.ff-slot-icon{height:43px;display:grid;place-items:center;border:1px solid #3b2b1d;border-radius:7px;background:#12100e;color:#756d61;text-decoration:none;font-size:17px}.ff-slot-icon.selected{border-color:#ffb21e;color:#fff2c6;box-shadow:0 0 14px #ffb21e25}.ff-slot-icon.disabled{opacity:.28;pointer-events:none}.ff-weapon-types{display:flex;gap:6px;margin:5px 0}.ff-weapon-types a{padding:5px 9px;border:1px solid #49351f;border-radius:12px;color:#b8afa0;text-decoration:none;font-size:9px}.ff-weapon-types a.selected{border-color:#ffb21e;color:#ffe1a0}.ff-preview{margin:8px 0 10px;border:1px solid #c68a19;border-radius:11px;min-height:145px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 45%,#3c280c 0,#100f0c 55%);text-align:center}.ff-preview.mythic{border-color:#ff3b4d;background:radial-gradient(circle at 50% 45%,#381013 0,#100f0c 55%)}.ff-preview.cosmic{border-color:#baff32;background:radial-gradient(circle at 50% 45%,#24330d 0,#100f0c 55%)}.ff-preview.divine{border-color:#ff73dc;background:radial-gradient(circle at 50% 45%,#35132e 0,#100f0c 55%)}.ff-preview.celestial{border-color:#6ff8ff;background:radial-gradient(circle at 50% 45%,#10282a 0,#100f0c 55%)}.ff-preview-icon{width:58px;height:58px;border:1px solid currentColor;border-radius:10px;display:grid;place-items:center;background:#080807;font-size:28px;color:#ffd45a;box-shadow:0 0 18px currentColor33}.ff-preview.mythic .ff-preview-icon{color:#ff5262}.ff-preview.cosmic .ff-preview-icon{color:#c8ff3d}.ff-preview.divine .ff-preview-icon{color:#ff7ce1}.ff-preview.celestial .ff-preview-icon{color:#6ff8ff}.ff-preview strong{font-size:14px;margin-top:5px;color:#f1eee6;text-shadow:0 1px 8px #fff4}.ff-preview small{font-size:8px;color:#8c8479;margin-top:3px}.ff-preview>span{margin-top:9px;border:1px solid #1d9961;color:#62e69a;border-radius:6px;padding:5px 8px;font-size:8px;background:#09150f}.ff-cost-list{display:grid;gap:5px}.ff-cost-list>div{display:flex;align-items:center;gap:6px;border:1px solid #71302b;border-radius:6px;padding:7px 8px;background:#12110f;color:#ddd;font-size:9px}.ff-cost-list>div.good{border-color:#236b40}.ff-cost-list>div.bad{border-color:#9b332d}.ff-cost-list span{width:13px}.ff-cost-list b{margin-left:auto;font-size:9px}.ff-cost-list .good b{color:#6ee58d}.ff-cost-list .bad b{color:#ff6b62}.ff-message{margin:7px 0;border:1px solid #76531f;border-radius:6px;padding:7px 8px;background:#2a1d0c;color:#d8b56b;font-size:8px}.ff-message.ready{border-color:#236b40;color:#73e699;background:#0d1b13}.ff-forge-form button{width:100%;padding:11px;border:1px solid #9b712c;border-radius:6px;background:linear-gradient(#956d2a,#6e4f1f);color:#19130b;font-weight:900}.ff-forge-form button:disabled{opacity:.5}.ff-placeholder{border:1px solid #49351f;border-radius:9px;padding:24px 14px;text-align:center;color:#8e867a}.ff-placeholder h3{color:#e5b85a;margin:0 0 8px}.ff-placeholder a{display:inline-block;margin-top:10px;color:#ffd36b}
@media(max-width:1000px){.ff-rarity-grid{grid-template-columns:repeat(5,1fr)}.ff-slot-icons{grid-template-columns:repeat(8,1fr)}}

/* v1.7.11: exact 32x32 inventory/equipment slots and centered art */
.inventory .equiprow{display:grid;grid-template-columns:repeat(8,32px);gap:4px;justify-content:start;width:100%;min-width:0}
.inventory .equip{width:32px;height:38px;min-height:38px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative}
.inventory .equip .itemicon{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .equip .itemicon img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
.inventory .invgrid{display:grid;grid-template-columns:repeat(8,32px);gap:4px;width:100%;min-width:0;justify-content:start}
.inventory .slot{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .slot .item-visual{width:32px;height:32px;min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;margin:0}
.inventory .slot .item-visual img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
@media(max-width:650px){.inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,32px);gap:4px}.inventory .equip .itemicon,.inventory .equip .itemicon img,.inventory .slot,.inventory .slot .item-visual,.inventory .slot .item-visual img{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
.sealcraft-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:2px 2px 7px}.sealcraft-head h3{margin:0;color:#e9f0ff;font-size:10px}.sealcraft-head h3:first-letter{color:#8fdcff}.sealcraft-head span{font-size:8px;color:#a79f92}
.sealcraft-grid,.sealcraft-tier-row{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.sealcraft-tier{min-height:57px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;border:1px solid #3c2c1d;border-radius:8px;background:#11100e;color:#eee}.sealcraft-tier span{font-size:13px;line-height:1}.sealcraft-tier b{font-size:9px;margin-top:3px}.sealcraft-tier small{font-size:7px;color:#a49b8d;margin-top:2px}.sealcraft-tier.selected{border-color:#d9e9ff;box-shadow:0 0 13px #b7d8ff24}.sealcraft-tier.star{color:#e6f3ff}.sealcraft-tier.moon{color:#d9b8ff}.sealcraft-tier.sun{color:#ffe36d}.sealcraft-tier.divine{min-height:57px;margin-top:0}.sealcraft-tier.divine.selected{border-color:#d56cff;box-shadow:0 0 13px #d56cff20}.sealcraft-step{display:flex;align-items:center;justify-content:space-between}.seal-count{color:#8e867b;font-size:9px}.sealcraft-slots{margin-top:2px}
.seal-item-list{display:grid;gap:5px;margin:6px 0 8px}.seal-item{display:flex;align-items:center;gap:7px;text-decoration:none;border:1px solid #3c2c1d;border-radius:7px;background:#11100e;padding:6px 7px;color:#eee}.seal-item:hover{border-color:#d5a143}.seal-item.picked{border-color:#7fe7ff;background:#122226}.seal-item-glyph{width:31px;height:31px;display:grid;place-items:center;border:1px solid #3b4e57;border-radius:6px;background:#080a0b;font-size:16px;color:#72eaff}.seal-item div{min-width:0;flex:1}.seal-item b{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seal-item small{display:block;color:#81796d;font-size:7px;margin-top:2px}.seal-item strong{font-size:14px;color:#69e8a0}.seal-empty{margin:6px 0 9px;min-height:47px;display:grid;place-items:center;text-align:center;border:1px solid #332a22;border-radius:7px;background:#0d0d12;color:#817a70;font-size:8px;padding:7px}
.seal-preview{margin:8px 0 9px;border:1px solid #dbe8f4;border-radius:11px;min-height:145px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 42%,#27282d 0,#0c0c0d 58%);text-align:center;box-shadow:0 0 18px #b9dcff10}.seal-preview-icon{position:relative;width:54px;height:54px;border:1px solid #d9efff;border-radius:10px;display:grid;place-items:center;background:#060708;font-size:26px;color:#7eeaff;box-shadow:0 0 16px #72ddff22}.seal-preview-icon span{position:absolute;right:-7px;top:-7px;font-size:16px;color:#fff}.seal-preview strong{font-size:13px;margin-top:6px;color:#ff6e9d;text-shadow:0 1px 8px #ff6e9d33}.seal-preview small{font-size:8px;color:#8d867c;margin-top:3px}.seal-preview>div:last-child{margin:9px 10px 0;border:1px solid #49331b;border-radius:5px;padding:6px 7px;background:#0e0d0a;color:#aaa093;font-size:8px;line-height:1.25}.seal-cost-list{margin-bottom:7px}.seal-cost-list>div{min-height:28px;padding:6px 8px}.seal-cost-list>div:nth-child(1){border-color:#71302b}.seal-cost-list>div.good:nth-child(1){border-color:#236b40}.sealcraft-head + .sealcraft-grid{margin-top:2px}
@media(max-width:500px){.sealcraft-tier{min-height:54px}.seal-item b{font-size:8px}.seal-preview{min-height:140px}}

/* v1.7.11: exact 32x32 inventory/equipment slots and centered art */
.inventory .equiprow{display:grid;grid-template-columns:repeat(8,32px);gap:4px;justify-content:start;width:100%;min-width:0}
.inventory .equip{width:32px;height:38px;min-height:38px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative}
.inventory .equip .itemicon{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .equip .itemicon img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
.inventory .invgrid{display:grid;grid-template-columns:repeat(8,32px);gap:4px;width:100%;min-width:0;justify-content:start}
.inventory .slot{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .slot .item-visual{width:32px;height:32px;min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;margin:0}
.inventory .slot .item-visual img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
@media(max-width:650px){.inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,32px);gap:4px}.inventory .equip .itemicon,.inventory .equip .itemicon img,.inventory .slot,.inventory .slot .item-visual,.inventory .slot .item-visual img{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
.dust-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:2px 2px 7px}.dust-head h3{margin:0;color:#f1f1f1;font-size:10px}.dust-head span{font-size:8px;color:#aaa195}.dust-mode-row,.dust-seal-row{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:8px 0}.dust-mode-row a,.dust-seal-row a{display:flex;flex-direction:column;justify-content:center;min-height:49px;padding:7px 10px;border:1px solid #3b2b1c;border-radius:9px;background:#11100e;color:#ddd;text-decoration:none}.dust-mode-row a.active,.dust-seal-row a.active{border-color:#d9781e;background:#2a1b10}.dust-mode-row b,.dust-seal-row b{font-size:11px}.dust-mode-row small,.dust-seal-row small{font-size:8px;color:#938a7c;margin-top:3px}.dust-seal-row a.star.active{color:#dfeeff}.dust-seal-row a.moon.active{color:#d7aaff}.dust-grade-row{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;margin:2px 0 14px}.dust-grade-row a{min-height:43px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;border:1px solid #3b2b1c;border-radius:8px;background:#11100e;color:#eee}.dust-grade-row a.active{border-color:#d9781e;background:#21180f}.dust-grade-row b{font-size:10px}.dust-grade-row small{font-size:8px;color:#8e877d;margin-top:3px}.dust-recipe{text-align:center;margin:13px 0 12px}.dust-recipe strong{display:block;font-size:12px;color:#f0edf0}.dust-recipe span.star{color:#dceaff}.dust-recipe span.moon{color:#d7aaff}.dust-recipe span.sun{color:#ffe56e}.dust-recipe small{display:block;color:#a69d90;font-size:9px;margin-top:8px}.dust-qty{display:flex;align-items:center;justify-content:center;gap:7px;margin:5px 0 13px}.dust-qty a,.dust-qty b{height:28px;display:grid;place-items:center;border:1px solid #573d1e;border-radius:6px;background:#11100e;color:#eee;text-decoration:none;font-size:12px;font-weight:900}.dust-qty a{width:31px}.dust-qty b{width:78px}.dust-qty a.max{width:47px;color:#8b8175}.dust-cost-list{margin-top:2px}.dust-locked{margin-top:10px}

/* v1.7.11: exact 32x32 inventory/equipment slots and centered art */
.inventory .equiprow{display:grid;grid-template-columns:repeat(8,32px);gap:4px;justify-content:start;width:100%;min-width:0}
.inventory .equip{width:32px;height:38px;min-height:38px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative}
.inventory .equip .itemicon{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .equip .itemicon img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
.inventory .invgrid{display:grid;grid-template-columns:repeat(8,32px);gap:4px;width:100%;min-width:0;justify-content:start}
.inventory .slot{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .slot .item-visual{width:32px;height:32px;min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;margin:0}
.inventory .slot .item-visual img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
@media(max-width:650px){.inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,32px);gap:4px}.inventory .equip .itemicon,.inventory .equip .itemicon img,.inventory .slot,.inventory .slot .item-visual,.inventory .slot .item-visual img{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
.craft-salvage{border:1px solid #49351f;border-radius:9px;background:#0f0e0c;padding:10px}.salvage-head h3{margin:0;color:#f0eee8;font-size:15px}.salvage-head p{margin:7px 0 10px;color:#aaa093;font-size:9px;line-height:1.45}.salvage-head b{color:#ded4c5}.salvage-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #252637;border-radius:8px;background:#171827;padding:9px 10px;color:#e7dfd3;font-size:9px;margin-bottom:10px}.salvage-toolbar>div:first-child b{color:#f3eee7}.salvage-actions{display:flex;align-items:center;gap:7px}.salvage-actions button{border:1px solid #39394d;border-radius:7px;background:#191a2a;color:#d9d6e4;padding:7px 10px;font-size:8px;font-weight:800;cursor:pointer}.salvage-actions form{margin:0}.salvage-actions form button{background:#39394f;border-color:#39394f;color:#fff}.salvage-actions button:disabled{opacity:.45;cursor:not-allowed}.salvage-gear-list{display:grid;gap:5px}.salvage-gear-row{display:grid;grid-template-columns:17px 34px minmax(0,1fr) auto;gap:7px;align-items:center;border:1px solid #30261b;background:#11100e;border-radius:7px;padding:6px;cursor:pointer}.salvage-gear-row:has(.salvage-check:checked){border-color:#8c692c;background:#19140c}.salvage-check{accent-color:#d98a20}.salvage-gear-icon{width:32px;height:32px;display:grid;place-items:center;border:1px solid #403226;border-radius:6px;background:#080807;font-size:15px}.salvage-gear-info{min-width:0}.salvage-gear-info b{display:block;color:#e0d4bf;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.salvage-gear-info small{display:block;color:#756d61;font-size:7px;margin-top:2px}.salvage-gear-reward{text-align:right}.salvage-gear-reward b{display:block;color:#d8bd67;font-size:8px}.salvage-gear-reward small{display:block;color:#7f766a;font-size:7px;margin-top:2px}.salvage-empty{min-height:80px;display:grid;place-items:center;text-align:center;border:1px solid #332a22;border-radius:7px;background:#0d0d12;color:#817a70;font-size:9px;padding:12px}.salvage-empty small{font-size:8px;color:#686159}.craft-salvage .common{color:#ddd3c2}.craft-salvage .uncommon{color:#54e36c}.craft-salvage .rare{color:#54c8ff}.craft-salvage .epic{color:#d274ff}.craft-salvage .legendary{color:#ffae32}.craft-salvage .mythic{color:#ff4b43}.craft-salvage .cosmic{color:#c4ff4d}.craft-salvage .divine{color:#ff61e9}.craft-salvage .celestial{color:#6ce8ff}.craft-salvage .angel{color:#f5d76e}.craft-salvage .god{color:#fff0a3}@media(max-width:500px){.salvage-toolbar{display:block}.salvage-actions{justify-content:flex-end;margin-top:7px}.salvage-gear-row{grid-template-columns:17px 32px minmax(0,1fr)}.salvage-gear-reward{grid-column:3;text-align:left}.salvage-gear-reward small{display:inline-block;margin-right:7px}}

/* v1.7.11: exact 32x32 inventory/equipment slots and centered art */
.inventory .equiprow{display:grid;grid-template-columns:repeat(8,32px);gap:4px;justify-content:start;width:100%;min-width:0}
.inventory .equip{width:32px;height:38px;min-height:38px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative}
.inventory .equip .itemicon{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .equip .itemicon img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
.inventory .invgrid{display:grid;grid-template-columns:repeat(8,32px);gap:4px;width:100%;min-width:0;justify-content:start}
.inventory .slot{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .slot .item-visual{width:32px;height:32px;min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;margin:0}
.inventory .slot .item-visual img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
@media(max-width:650px){.inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,32px);gap:4px}.inventory .equip .itemicon,.inventory .equip .itemicon img,.inventory .slot,.inventory .slot .item-visual,.inventory .slot .item-visual img{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
.quests-page{max-width:1180px;margin:0 auto;padding:18px 18px 50px}.quests-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 26px;background:linear-gradient(135deg,#1b1711,#0e0d0b);border:1px solid #4b371e}.quests-hero small,.quest-panel-title small{color:#9a8154;font-size:9px;letter-spacing:2px}.quests-hero h1{margin:5px 0 8px;color:#e7c66a;font-size:25px}.quests-hero p{max-width:720px;margin:0;color:#938878;font-size:11px;line-height:1.6}.quest-head-stats{display:grid;grid-template-columns:auto auto;gap:2px 12px;text-align:right;min-width:170px}.quest-head-stats b{color:#e6c05c;font-size:18px}.quest-head-stats span{color:#706759;font-size:8px;align-self:end}.quest-tabs{display:flex;gap:6px;margin:12px 0}.quest-tabs a{padding:10px 14px;border:1px solid #332a1f;background:#14120f;color:#84796a;text-decoration:none;font-size:9px;font-weight:900;letter-spacing:1px;border-radius:5px}.quest-tabs a.active{color:#f0c45e;border-color:#946a2b;background:#21170b}.quest-tabs em{font-style:normal;color:#71d980;margin-left:5px}.quest-panel{padding:18px}.quest-panel-title{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #30271d;padding-bottom:13px;margin-bottom:13px}.quest-panel-title h2{margin:4px 0 0;color:#e1d3bb;font-size:18px}.quest-reset,.quest-lock{color:#8d7b63;font-size:9px}.quest-grid{display:grid;gap:9px}.quest-card-large{display:grid;grid-template-columns:54px 1fr 180px;gap:15px;align-items:center;padding:14px;border:1px solid #2e261c;background:linear-gradient(180deg,#17130f,#110f0c);border-radius:7px}.quest-card-large.ready{border-color:#7d5b28;box-shadow:0 0 18px #d49b2410}.quest-card-large.claimed{opacity:.58}.quest-card-icon{width:46px;height:46px;border-radius:7px;display:grid;place-items:center;background:#21180d;border:1px solid #5c431f;color:#e3b94e;font-size:15px}.quest-card-top{display:flex;justify-content:space-between;gap:10px}.quest-card-top h3{margin:0;color:#e6d6bd;font-size:12px}.quest-card-top span{font-size:8px;color:#7e7466}.quest-card-large.ready .quest-card-top span{color:#71d980}.quest-card-main p{margin:5px 0 9px;color:#807566;font-size:9px}.quest-progress{height:7px;border:1px solid #2e271e;background:#0c0b09;border-radius:5px;overflow:hidden}.quest-progress i{display:block;height:100%;background:linear-gradient(90deg,#6f5424,#e3b84e)}.quest-progress-label{display:flex;justify-content:space-between;margin-top:4px;color:#706658;font-size:8px}.quest-progress-label b{color:#a89a84}.quest-reward{display:flex;flex-direction:column;align-items:flex-end;gap:3px;border-left:1px solid #2c241b;padding-left:15px}.quest-reward small{color:#655c51;font-size:7px;letter-spacing:1px}.quest-reward b{color:#e4bf59;font-size:9px}.quest-reward form{width:100%;margin-top:5px}.quest-reward button{width:100%;border:1px solid #b17a27;background:#2a1b09;color:#f4c55a;border-radius:4px;padding:7px;font-size:9px;font-weight:900;cursor:pointer}.social-locked{text-align:center;padding:45px 20px;color:#837868}.social-icon{margin:auto;width:60px;height:60px;border:1px solid #58472c;border-radius:50%;display:grid;place-items:center;color:#d0a951;font-size:26px;background:#19140e}.social-locked h3{color:#ddcfb8;font-size:15px;margin:12px 0 6px}.social-locked p{max-width:680px;margin:0 auto;line-height:1.6;font-size:10px}.social-rules{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:18px;color:#8d9d83;font-size:8px}.quest-note{margin-top:10px;padding:10px 12px;border:1px solid #29231b;background:#12100d;color:#776e61;font-size:8px}.quest-note b{color:#c7a85a}@media(max-width:800px){.quests-hero{flex-direction:column;align-items:flex-start}.quest-head-stats{text-align:left}.quest-card-large{grid-template-columns:42px 1fr}.quest-reward{grid-column:2;align-items:flex-start;border-left:0;border-top:1px solid #2c241b;padding:10px 0 0}.quest-reward form{max-width:220px}.quest-tabs{overflow:auto}}
/* v1.7.11: exact 32x32 inventory/equipment slots and centered art */
.inventory .equiprow{display:grid;grid-template-columns:repeat(8,32px);gap:4px;justify-content:start;width:100%;min-width:0}
.inventory .equip{width:32px;height:38px;min-height:38px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative}
.inventory .equip .itemicon{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .equip .itemicon img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
.inventory .invgrid{display:grid;grid-template-columns:repeat(8,32px);gap:4px;width:100%;min-width:0;justify-content:start}
.inventory .slot{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .slot .item-visual{width:32px;height:32px;min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;margin:0}
.inventory .slot .item-visual img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
@media(max-width:650px){.inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,32px);gap:4px}.inventory .equip .itemicon,.inventory .equip .itemicon img,.inventory .slot,.inventory .slot .item-visual,.inventory .slot .item-visual img{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
.season-page{max-width:1200px;margin:0 auto;padding:18px 18px 60px}.season-hero{display:flex;justify-content:space-between;gap:22px;align-items:center;padding:24px;background:linear-gradient(135deg,#1b1711,#0e0d0b);border:1px solid #4b371e;border-radius:8px}.season-hero small{color:#9a8154;font-size:9px;letter-spacing:2px}.season-hero h1{margin:6px 0;color:#e7c66a;font-size:27px}.season-hero p{margin:0;color:#938878;font-size:10px;line-height:1.55;max-width:700px}.season-status{min-width:230px;text-align:right}.season-status>b{display:block;color:#e9c75e;font-size:18px}.season-status>span,.season-status>strong{display:block;color:#827767;font-size:8px;margin:4px 0 10px}.season-status>strong{color:#71d980}.season-status form{margin:0}.season-status .gold-btn{width:100%}.season-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.season-summary>div{padding:12px;border:1px solid #30271d;background:#12100d;border-radius:6px}.season-summary b{display:block;color:#e5c15a;font-size:15px}.season-summary span{display:block;color:#71695e;font-size:7px;margin-top:3px}.season-panel{background:#12100d;border:1px solid #49351f;border-radius:8px;overflow:hidden}.season-panel-head{display:flex;justify-content:space-between;align-items:center;padding:15px 17px;border-bottom:1px solid #30271d}.season-panel-head small{color:#907b5e;font-size:8px;letter-spacing:1.5px}.season-panel-head h2{margin:3px 0 0;color:#e7d6ba;font-size:17px}.season-panel-head>span{color:#8b8173;font-size:8px}.season-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px}.season-lane{border:1px solid #31291f;border-radius:7px;background:#0d0c0a;overflow:hidden}.lane-head{display:flex;justify-content:space-between;align-items:center;padding:11px 12px;background:#17130e;border-bottom:1px solid #30271d}.lane-head b{color:#e5bd58;font-size:10px;letter-spacing:1.5px}.lane-head span{color:#766d60;font-size:7px}.season-lane.premium .lane-head{background:#1c140a}.tier-row{display:grid;grid-template-columns:34px 1fr 75px;align-items:center;min-height:46px;border-bottom:1px solid #211b15;padding:5px 7px;gap:7px}.tier-row:last-child{border-bottom:0}.tier-row.ready{background:#181309}.tier-row.capstone{background:linear-gradient(90deg,#1d170b,#241a0a)}.tier-row.claimed{opacity:.55}.tier-num{width:28px;height:28px;display:grid;place-items:center;border:1px solid #3a3022;border-radius:5px;color:#9d8b72;font-size:8px}.ready .tier-num{border-color:#9b702a;color:#f0c35a}.tier-reward b{display:block;color:#ddd0bd;font-size:8px}.tier-reward small{display:block;color:#665d52;font-size:6px;margin-top:3px;letter-spacing:.5px}.tier-action{text-align:right;color:#665d52;font-size:7px}.tier-action form{margin:0}.tier-action button{border:1px solid #9b6c23;background:#261806;color:#f2c55c;border-radius:4px;padding:6px 8px;font-size:7px;font-weight:900;cursor:pointer}.tier-action .claimed-badge{color:#6ed47a}.season-notes{display:flex;gap:14px;flex-wrap:wrap;padding:12px 15px;border-top:1px solid #30271d;color:#766e62;font-size:7px}.season-notes b{color:#c5a353}.season-notes span{padding-left:10px;border-left:1px solid #33291d}@media(max-width:850px){.season-hero{flex-direction:column;align-items:flex-start}.season-status{width:100%;text-align:left}.season-summary{grid-template-columns:1fr 1fr}.season-grid{grid-template-columns:1fr}.tier-row{grid-template-columns:30px 1fr 66px}}

/* v1.7.11: exact 32x32 inventory/equipment slots and centered art */
.inventory .equiprow{display:grid;grid-template-columns:repeat(8,32px);gap:4px;justify-content:start;width:100%;min-width:0}
.inventory .equip{width:32px;height:38px;min-height:38px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative}
.inventory .equip .itemicon{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .equip .itemicon img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
.inventory .invgrid{display:grid;grid-template-columns:repeat(8,32px);gap:4px;width:100%;min-width:0;justify-content:start}
.inventory .slot{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .slot .item-visual{width:32px;height:32px;min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;margin:0}
.inventory .slot .item-visual img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
@media(max-width:650px){.inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,32px);gap:4px}.inventory .equip .itemicon,.inventory .equip .itemicon img,.inventory .slot,.inventory .slot .item-visual,.inventory .slot .item-visual img{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
.v13-leader{max-width:1260px}.v13-tabs{display:grid!important;grid-template-columns:repeat(4,1fr);gap:7px!important;margin:12px 0}.v13-tabs a{display:flex;align-items:center;gap:8px;padding:11px 12px;border:1px solid #332a1f;background:#14120f;color:#857969;text-decoration:none;border-radius:6px}.v13-tabs a.active{border-color:#a5742a;background:#21170b;color:#f0c45e}.v13-tabs a:first-letter{font-size:15px}.v13-tabs b{font-size:10px;letter-spacing:.8px}.v13-tabs small{margin-left:auto;font-size:7px;color:#71685d}.leader-season-state{text-align:right}.leader-season-state b{display:block;color:#e7c35b;font-size:12px}.leader-season-state small{display:block;color:#7e7364;font-size:8px;margin-top:4px}.leader-overview{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:10px 0}.leader-overview>div{border:1px solid #30271d;background:#12100d;padding:11px;border-radius:6px}.leader-overview span{display:block;color:#685f54;font-size:7px;letter-spacing:1px}.leader-overview b{display:block;color:#e1c15d;font-size:13px;margin-top:4px}.leader-overview small{display:block;color:#746b60;font-size:7px;margin-top:3px}.v13-prize{margin-bottom:10px}.v13-prize em{display:block;color:#776e62;font-style:normal;font-size:7px;margin-top:4px}.freeze-badge{display:inline-block;margin-left:5px;color:#d8a94b!important;font-size:6px!important;border:1px solid #664a21;padding:2px 4px;border-radius:4px}.board-value{color:#f0c35a!important;font-weight:800}.podium-1{box-shadow:inset 3px 0 #d7a83d}.podium-2{box-shadow:inset 3px 0 #9da5aa}.podium-3{box-shadow:inset 3px 0 #9a6844}.empty-row{text-align:center;padding:30px!important;color:#756c60}.leader-explainer{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:10px}.leader-explainer>div{border:1px solid #29231c;background:#11100e;padding:10px;border-radius:5px}.leader-explainer b{display:block;color:#cfa94e;font-size:8px;letter-spacing:1px}.leader-explainer span{display:block;color:#756d62;font-size:7px;line-height:1.5;margin-top:4px}.leader-history{margin-top:12px;border:1px solid #33291f;background:#12100d}.history-head{padding:11px 13px;border-bottom:1px solid #2c241c}.history-head b{display:block;color:#d5bd78;font-size:9px}.history-head span{display:block;color:#71695e;font-size:7px;margin-top:3px}.history-list{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:8px}.history-list>div{border:1px solid #29231b;background:#0e0d0b;padding:8px}.history-list strong{display:block;color:#d8c9af;font-size:8px}.history-list span{color:#6fd17b;font-size:6px}.history-list small{display:block;color:#6e655a;font-size:6px;margin-top:3px}@media(max-width:850px){.v13-tabs{grid-template-columns:1fr 1fr!important}.leader-overview{grid-template-columns:1fr 1fr}.leader-explainer{grid-template-columns:1fr 1fr}.history-list{grid-template-columns:1fr}}@media(max-width:520px){.leader-overview,.leader-explainer{grid-template-columns:1fr}.leader-season-state{text-align:left}.v13-tabs a{padding:9px}.v13-tabs small{display:none}}

/* v1.7.11: exact 32x32 inventory/equipment slots and centered art */
.inventory .equiprow{display:grid;grid-template-columns:repeat(8,32px);gap:4px;justify-content:start;width:100%;min-width:0}
.inventory .equip{width:32px;height:38px;min-height:38px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative}
.inventory .equip .itemicon{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .equip .itemicon img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
.inventory .invgrid{display:grid;grid-template-columns:repeat(8,32px);gap:4px;width:100%;min-width:0;justify-content:start}
.inventory .slot{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .slot .item-visual{width:32px;height:32px;min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;margin:0}
.inventory .slot .item-visual img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
@media(max-width:650px){.inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,32px);gap:4px}.inventory .equip .itemicon,.inventory .equip .itemicon img,.inventory .slot,.inventory .slot .item-visual,.inventory .slot .item-visual img{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
.duel-page{max-width:1120px;margin:18px auto;padding:0 14px;color:#c7bba8}.duel-hero{display:flex;justify-content:space-between;align-items:center;border:1px solid #33291f;background:#12100d;padding:18px;border-radius:7px}.duel-hero h1{margin:0;color:#e9c45e;font-size:20px;letter-spacing:1px}.duel-hero span{display:block;color:#756d61;font-size:9px;margin-top:5px}.duel-rating{text-align:right}.duel-rating small{display:block;color:#756b5d;font-size:7px;letter-spacing:1px}.duel-rating b{display:block;color:#f0cb68;font-size:24px}.duel-rating em{font-style:normal;color:#70c77a;font-size:7px}.duel-rules{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;margin:9px 0}.duel-rules>div,.self-stats>div{background:#12100d;border:1px solid #2e271f;padding:10px;text-align:center;border-radius:5px}.duel-rules b{display:block;color:#dfbd5c;font-size:15px}.duel-rules span{display:block;color:#71685c;font-size:7px;margin-top:3px}.duel-card{border:1px solid #33291f;background:#12100d;margin:10px 0;border-radius:6px}.duel-card-head{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-bottom:1px solid #2b241c}.duel-card-head b{display:block;color:#d9bd72;font-size:10px;letter-spacing:1px}.duel-card-head span{display:block;color:#71695e;font-size:7px;margin-top:3px}.duel-ready,.duel-cooldown{font-size:8px;color:#6dd27b;border:1px solid #315e3a;padding:5px 8px;border-radius:4px}.duel-cooldown{color:#d7a64c;border-color:#654b24}.opponent-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;padding:9px}.opponent{display:flex;align-items:center;gap:9px;border:1px solid #29231c;background:#0e0d0b;padding:10px}.opp-icon{width:34px;height:34px;display:grid;place-items:center;border:1px solid #554022;color:#dcb653;border-radius:50%;font-size:14px}.opp-main{flex:1}.opp-main b{display:block;color:#d9c8a9;font-size:10px}.opp-main span,.opp-main small{display:block;color:#746c61;font-size:7px;margin-top:2px}.duel-btn{border:1px solid #8c6424;background:#271b0d;color:#e8bd50;padding:8px 13px;border-radius:4px;font-weight:800;font-size:8px;cursor:pointer}.duel-btn:hover{background:#39250d}.duel-empty{padding:25px;text-align:center;color:#776e62;font-size:9px}.self-stats{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;padding:9px}.self-stats small{display:block;color:#6e6559;font-size:6px}.self-stats b{display:block;color:#d8c067;font-size:11px;margin-top:4px}.duel-history{overflow:auto}.duel-history table{width:100%;border-collapse:collapse}.duel-history th,.duel-history td{padding:8px;border-bottom:1px solid #29231c;font-size:7px;text-align:left}.duel-history th{color:#655d52}.duel-history td{color:#b8ad9d}.win{color:#70cf7b!important}.loss{color:#db7468!important}.draw{color:#d5b65e!important}.duel-toast{margin:8px 0;padding:10px;border-radius:5px;font-size:8px}.duel-toast.ok{border:1px solid #315c38;background:#112016;color:#78d484}.duel-toast.err{border:1px solid #66372f;background:#21120f;color:#df8579}.duel-note{color:#665e53;font-size:7px;line-height:1.6}.duel-note .filecite{display:none}@media(max-width:850px){.duel-rules{grid-template-columns:repeat(3,1fr)}.self-stats{grid-template-columns:repeat(4,1fr)}.opponent-grid{grid-template-columns:1fr}}@media(max-width:520px){.duel-hero{display:block}.duel-rating{text-align:left;margin-top:10px}.duel-rules{grid-template-columns:repeat(2,1fr)}.self-stats{grid-template-columns:repeat(2,1fr)}}

/* v1.7.11: exact 32x32 inventory/equipment slots and centered art */
.inventory .equiprow{display:grid;grid-template-columns:repeat(8,32px);gap:4px;justify-content:start;width:100%;min-width:0}
.inventory .equip{width:32px;height:38px;min-height:38px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative}
.inventory .equip .itemicon{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .equip .itemicon img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
.inventory .invgrid{display:grid;grid-template-columns:repeat(8,32px);gap:4px;width:100%;min-width:0;justify-content:start}
.inventory .slot{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .slot .item-visual{width:32px;height:32px;min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;margin:0}
.inventory .slot .item-visual img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
@media(max-width:650px){.inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,32px);gap:4px}.inventory .equip .itemicon,.inventory .equip .itemicon img,.inventory .slot,.inventory .slot .item-visual,.inventory .slot .item-visual img{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
.cosmetic-page{max-width:1220px;margin:0 auto;padding:18px 16px 60px;color:#c7bba8}.cosmetic-hero{display:flex;justify-content:space-between;gap:20px;padding:22px;border:1px solid #49351f;background:linear-gradient(135deg,#1a1510,#0e0d0b);border-radius:8px}.cosmetic-hero h1{margin:5px 0;color:#e9c45e;font-size:25px}.cosmetic-hero p{max-width:720px;color:#8a7e70;font-size:9px;line-height:1.6}.cosmetic-active{text-align:right;min-width:150px}.cosmetic-active small{display:block;color:#6d6358;font-size:7px;letter-spacing:1px;margin-top:5px}.cosmetic-active b{display:block;color:#dfbd5c;font-size:10px;margin:2px 0 8px}.cosmetic-section{margin-top:12px;border:1px solid #33291f;background:#12100d;border-radius:7px;overflow:hidden}.cosmetic-head{padding:13px 15px;border-bottom:1px solid #2b241c}.cosmetic-head b{display:block;color:#e2c15f;font-size:11px;letter-spacing:1.3px}.cosmetic-head span{display:block;color:#756c61;font-size:7px;margin-top:3px}.skin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:10px}.skin-card{border:1px solid #30281f;background:#0e0d0b;padding:12px;border-radius:6px}.skin-art{height:70px;display:grid;place-items:center;border:1px solid #3b3022;background:radial-gradient(circle,#33220f,#100e0b 65%);color:#efc45d;font-size:28px}.skin-title{display:flex;justify-content:space-between;gap:8px;margin-top:9px}.skin-title b{color:#ddd0bc;font-size:10px}.skin-title span{color:#b08a42;font-size:7px}.skin-card p{min-height:25px;color:#70675d;font-size:7px;line-height:1.4}.skin-stat{display:flex;justify-content:space-between;align-items:end;padding:8px 0;border-top:1px solid #29221b}.skin-stat strong{color:#eac65d;font-size:16px}.skin-stat small{color:#6f665b;font-size:6px}.skin-level{display:flex;justify-content:space-between;padding:7px;background:#15120e;color:#776d60;font-size:6px}.skin-level b{color:#e4bd54;font-size:10px}.skin-level span{padding-top:2px}.cosmetic-actions{display:flex;gap:5px;margin-top:7px}.cosmetic-actions form{flex:1}.cosmetic-actions button,.forge-cosmetic button,.tag-action button{width:100%;border:1px solid #725323;background:#21170b;color:#e5bc54;padding:8px 6px;border-radius:4px;font-size:7px;font-weight:900;cursor:pointer}.cosmetic-actions .gold-btn,.forge-cosmetic .gold-btn{background:#2b1c0b}.cosmetic-locked{padding:9px;border:1px solid #30271f;color:#6d655b;font-size:7px}.tag-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;padding:10px}.tag-card{display:grid;grid-template-columns:120px 1fr 70px;gap:9px;align-items:center;border:1px solid #2d271f;background:#0e0d0b;padding:9px}.tag-sample{font-size:10px;font-weight:900;padding:10px 5px;text-align:center;border:1px solid #403326;color:#d9c9ad;background:#17130f}.tag-sample.molten-gold{color:#f0c75e}.tag-sample.rainbow{background:linear-gradient(90deg,#cf5d5d,#dfb84e,#63c77c,#67a7dd,#ae73d6);-webkit-background-clip:text;background-clip:text;color:transparent}.tag-sample.red-demon{color:#e36b5e}.tag-sample.frost{color:#9bd6ff}.tag-sample.toxic-neon{color:#78e6b0}.tag-sample.void-eclipse{color:#b7a3ff}.tag-card b{display:block;color:#d9c9af;font-size:9px}.tag-card span,.tag-card small{display:block;color:#746a5f;font-size:7px;margin-top:3px}.tag-action{min-width:65px}.tag-unowned{display:block;text-align:center;color:#5e574e;font-size:6px;border:1px solid #29231c;padding:7px 2px}.cosmetic-notes{display:flex;gap:12px;flex-wrap:wrap;padding:12px 14px;color:#746b60;font-size:7px}.cosmetic-notes b{color:#d5b25c}.cosmetic-notes span{padding-left:10px;border-left:1px solid #32291f}@media(max-width:900px){.skin-grid{grid-template-columns:1fr 1fr}.tag-grid{grid-template-columns:1fr}}@media(max-width:650px){.cosmetic-hero{display:block}.cosmetic-active{text-align:left}.skin-grid{grid-template-columns:1fr}.tag-card{grid-template-columns:1fr}.tag-action{min-width:0}}

/* v1.7.11: exact 32x32 inventory/equipment slots and centered art */
.inventory .equiprow{display:grid;grid-template-columns:repeat(8,32px);gap:4px;justify-content:start;width:100%;min-width:0}
.inventory .equip{width:32px;height:38px;min-height:38px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative}
.inventory .equip .itemicon{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .equip .itemicon img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
.inventory .invgrid{display:grid;grid-template-columns:repeat(8,32px);gap:4px;width:100%;min-width:0;justify-content:start}
.inventory .slot{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .slot .item-visual{width:32px;height:32px;min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;margin:0}
.inventory .slot .item-visual img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
@media(max-width:650px){.inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,32px);gap:4px}.inventory .equip .itemicon,.inventory .equip .itemicon img,.inventory .slot,.inventory .slot .item-visual,.inventory .slot .item-visual img{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
.market-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.market-tabs a{padding:9px 12px;border:1px solid #3b2b1c;border-radius:6px;background:#11100e;color:#a99d8d;text-decoration:none;font-size:8px;font-weight:900}.market-tabs a.active{border-color:#c17a25;background:#291b0e;color:#efc767}.filters{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.filters input,.filters select,.market-panel input{background:#0d0c0b;border:1px solid #3a3026;color:#ddd;padding:9px;border-radius:5px;font-size:9px}.market-panel{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;margin:10px 0}.market-panel h2{margin:0 0 8px;color:#dfc05f;font-size:13px}.market-panel p{color:#82786b;font-size:8px;line-height:1.6}.market-panel table{width:100%;border-collapse:collapse}.market-panel th,.market-panel td{padding:9px;border-bottom:1px solid #29231c;text-align:left;font-size:8px;color:#b9ad9b}.market-panel th{color:#665e53;font-size:7px}.market-panel td small{display:block;color:#6d6459;font-size:6px;margin-top:2px}.economy-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.economy-stat{border:1px solid #2d261e;background:#0e0d0b;border-radius:6px;padding:15px}.economy-stat b{display:block;color:#e5c55e;font-size:17px}.economy-stat span{display:block;color:#756c60;font-size:7px;margin-top:4px}.swap-row{display:grid;grid-template-columns:1fr auto auto;gap:8px;padding:8px 0;border-bottom:1px solid #29231c}.swap-row b{color:#b9ac99;font-size:8px}.swap-row span{color:#6ed17d;font-size:8px}.swap-row small{color:#665d53;font-size:7px}.muted{color:#686055!important;font-size:7px!important}.market-body{min-height:300px}.empty-state{border:1px dashed #3a3026;padding:35px;text-align:center;color:#756b60}.empty-state h2{color:#b8a06b;font-size:12px}.market-footer{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:10px 0;color:#756c60;font-size:7px}.market-footer span:first-child{margin-right:auto}.market-footer button{border:1px solid #3b3024;background:#15120e;color:#a99d8d;padding:7px 10px;border-radius:4px;font-size:7px}.market-page{max-width:1180px;margin:0 auto;padding:14px;color:#c7bba8}.market-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px}.market-page .page-head>div:first-child{flex:1}.market-page .page-head h1{margin:0;color:#e9c45e;font-size:19px}.market-page .page-head p{margin:4px 0 0;color:#756c60;font-size:8px}.market-bal{color:#d8bf72;font-size:9px}.close-page{border:0;background:transparent;color:#6f665b;font-size:25px;cursor:pointer}.market-page .listing-list{border:1px solid #33291f;background:#12100d;border-radius:7px;overflow:hidden}.market-page .listing{display:grid;grid-template-columns:42px 1fr 110px 120px 70px;align-items:center;gap:8px;padding:10px;border-bottom:1px solid #29231c}.market-page .listing:last-child{border-bottom:0}.listing-icon{width:35px;height:35px;display:grid;place-items:center;border:1px solid #443523;border-radius:5px;background:#0b0b0a;color:#d8b253}.listing-name strong{display:block;color:#d9c9ad;font-size:9px}.listing-name span{display:block;color:#71685d;font-size:7px;margin-top:3px}.seller b{display:block;color:#8d8272;font-size:7px}.seller small{display:block;color:#5f584f;font-size:6px;margin-top:2px}.price{color:#e5c45d;font-size:10px;font-weight:900}.price small{color:#746b5e;font-size:6px}.market-page .listing form{margin:0}.market-page .listing button{width:100%;padding:7px}.market-page .listing-detail{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:16px;min-height:260px}.market-page .listing-detail h2{color:#ddbf62;font-size:13px}.market-page .listing-detail p{color:#786f64;font-size:8px;line-height:1.7}.market-page .filters .gold-btn{padding:8px 14px}.market-page button:disabled{opacity:.35;cursor:not-allowed}
@media(max-width:850px){.market-page .listing{grid-template-columns:35px 1fr 90px 75px}.market-page .seller{display:none}.economy-grid{grid-template-columns:1fr}.market-page .page-head{display:block}.market-bal{margin-top:8px}}
@media(max-width:520px){.market-page .listing{grid-template-columns:30px 1fr 65px}.market-page .listing .price{display:none}.market-tabs a{flex:1;text-align:center}.filters>*{width:100%}}

/* v1.7.11: exact 32x32 inventory/equipment slots and centered art */
.inventory .equiprow{display:grid;grid-template-columns:repeat(8,32px);gap:4px;justify-content:start;width:100%;min-width:0}
.inventory .equip{width:32px;height:38px;min-height:38px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative}
.inventory .equip .itemicon{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .equip .itemicon img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
.inventory .invgrid{display:grid;grid-template-columns:repeat(8,32px);gap:4px;width:100%;min-width:0;justify-content:start}
.inventory .slot{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .slot .item-visual{width:32px;height:32px;min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;margin:0}
.inventory .slot .item-visual img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
@media(max-width:650px){.inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,32px);gap:4px}.inventory .equip .itemicon,.inventory .equip .itemicon img,.inventory .slot,.inventory .slot .item-visual,.inventory .slot .item-visual img{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
/* v1.6.1 — global readability / layout sweep */
:root{
  --sf-body:13px;
  --sf-copy:12px;
  --sf-meta:10px;
  --sf-small:9px;
  --sf-title:14px;
}
html{font-size:16px}
body{font-family:Arial,Helvetica,sans-serif;font-size:var(--sf-body);line-height:1.4;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button,input,select,textarea{font-family:Arial,Helvetica,sans-serif}
.topbar{gap:14px;padding:0 14px}
.topbar nav a{font-size:12px;line-height:1.2;padding:11px 11px}
.walletbar{font-size:11px}
.walletbar button,.userpill{font-size:11px;padding:9px 13px}
.card{padding:13px}
.card-title{font-size:13px;line-height:1.25;margin-bottom:10px}
.card-title em{font-size:10px}
.identity b{font-size:17px}.identity small{font-size:11px}
.bar-label{font-size:11px}.xp{font-size:10px}.power span,.power small{font-size:10px}.power strong{font-size:21px}
.statgrid span{font-size:9px}.statgrid b{font-size:14px}.compact p{font-size:11px}
.section-title{font-size:12px}.zone b{font-size:11px}.zone span,.zone strong{font-size:10px}.zone small{font-size:10px}.zone button{font-size:10px;padding:6px}
.earnings span{font-size:10px}.earnings b{font-size:21px}
.tabs>*{font-size:11px}.equip small{font-size:9px}.invhead{font-size:10px}.invhead button{font-size:10px}.slot b,.slot small{font-size:9px}
.inspect{font-size:11px}.feed p{font-size:10px}.footer{font-size:10px}
.feature,.auth{padding:22px}.feature h1,.auth h1{font-size:40px}.featuregrid .card h2{font-size:19px}.featuregrid .card p{font-size:12px;line-height:1.55}
.auth label{font-size:12px}.auth input{font-size:13px;padding:12px}.auth-card p{font-size:12px}.gold-btn,.dark-btn{font-size:12px}
.kicker{font-size:11px}
/* In-game left/right utility panels */
.settings-form label{font-size:12px}.settings-form input,.settings-form select{font-size:12px;padding:7px}.settings-form button,.inspect-actions button,.pet-actions button{font-size:11px;padding:7px 9px}
.item-stats{font-size:11px}.item-tag{font-size:10px}.hero-tab-stats span{font-size:10px}.hero-tab-stats b{font-size:14px}
.boost-row span{font-size:10px}.boost-row b{font-size:10px}.boost-row small{font-size:9px}.boosts-card p{font-size:10px}
.quest div b{font-size:11px}.quest div small{font-size:9px}.quest>strong{font-size:10px}.quest>span{font-size:9px}.quest-summary{font-size:9px}.quest-section-title span{font-size:10px}.quest-section-title small{font-size:9px}.quest-empty{font-size:9px}.quest-inline-form button{font-size:9px;padding:4px 7px}.quest>i{font-size:9px}.arena-controls{gap:8px}.auto-pot-trigger{font-size:10px}.auto-pot-head{font-size:12px}.auto-pot-form label{font-size:10px}.auto-pot-form select{font-size:11px}.toggle{font-size:10px}
/* Dedicated pages: keep the same readable body scale */
.market-page,.season-page,.cosmetic-page,.advanced-page,.gacha-page{font-size:var(--sf-body)}
.market-page .page-head h1,.season-hero h1,.cosmetic-hero h1{font-size:22px}
.market-page .page-head p,.season-hero p,.cosmetic-hero p{font-size:11px}
.market-tabs a{font-size:10px;padding:9px 12px}.filters input,.filters select,.market-panel input{font-size:11px}.market-panel h2{font-size:15px}.market-panel p{font-size:10px}.market-panel th,.market-panel td{font-size:10px}.market-panel th{font-size:9px}.market-panel td small{font-size:9px}.economy-stat span{font-size:9px}.swap-row b,.swap-row span{font-size:10px}.swap-row small{font-size:9px}.market-footer{font-size:9px}.market-footer button{font-size:9px}.listing-name strong{font-size:11px}.listing-name span,.seller b,.seller small{font-size:9px}.price{font-size:12px}.price small{font-size:9px}.market-page .listing button{font-size:11px}.empty-state h2{font-size:14px}.empty-state{font-size:11px}
.season-hero small,.season-status>span,.season-status>strong{font-size:10px}.season-summary b{font-size:17px}.season-summary span{font-size:9px}.season-panel-head small,.season-panel-head>span{font-size:9px}.season-panel-head h2{font-size:19px}.lane-head b{font-size:11px}.lane-head span{font-size:9px}.tier-num{font-size:10px}.tier-reward b{font-size:10px}.tier-reward small{font-size:8px}.tier-action{font-size:9px}.tier-action button{font-size:9px}.season-notes{font-size:9px}
.cosmetic-head b{font-size:13px}.cosmetic-head span{font-size:9px}.cosmetic-active small{font-size:9px}.cosmetic-active b{font-size:12px}.skin-title b{font-size:11px}.skin-title span{font-size:9px}.skin-card p{font-size:9px}.skin-stat small{font-size:8px}.skin-level{font-size:8px}.cosmetic-actions button,.forge-cosmetic button,.tag-action button{font-size:9px}.cosmetic-locked{font-size:9px}.tag-card b{font-size:10px}.tag-card span,.tag-card small{font-size:9px}.tag-unowned{font-size:8px}.cosmetic-notes{font-size:9px}
/* Gacha / Forge / Boss / Duel */
.gacha-head h1{font-size:26px}.gacha-head button,.gacha-head>div{font-size:11px}.gacha-vault .panel-title,.top-prizes .panel-title,.recent-pulls .panel-title,.drop-rates .panel-title{font-size:12px}.gacha-vault .panel-title small,.recent-pulls .panel-title small{font-size:9px}.pity span,.pity b{font-size:10px}.pull small{font-size:10px}.pull span{font-size:18px}.prize-grid strong{font-size:12px}.prize-grid small{font-size:9px}.pull-row small,.pull-row em{font-size:9px}.pull-row strong{font-size:10px}.drop-rates>div:not(.panel-title){font-size:10px}
.forge-step{font-size:10px}.forge-step small{font-size:9px}.forge-description{font-size:10px}.forge-modes>a b{font-size:11px}.forge-modes>a small{font-size:9px}.craft-sacrifice-list b{font-size:9px}.craft-sacrifice-list small{font-size:8px}.forge-message{font-size:10px}.craft-forge-form button{font-size:11px}.seal-card b,.seal-card span{font-size:10px}.seal-card small,.seal-card button{font-size:9px}.ascend-panel h3{font-size:14px}.ascend-panel>b{font-size:10px}.ascend-panel p{font-size:10px}.ascend-slots span,.ascend-slots small{font-size:9px}.material-grid span{font-size:9px}.material-grid b{font-size:12px}.convert-box h3{font-size:11px}.convert-box select,.convert-box input,.forge-control-form select{font-size:10px}.forge-note{font-size:9px}
.boss-stage span{font-size:11px}.boss-stage small,.boss-stage em{font-size:9px}.history-row b{font-size:10px}.history-row small,.history-row em{font-size:9px}.muted{font-size:10px}.boss-reward-row span{font-size:10px}.boss-reward-row b{font-size:10px}.rush-progress>b{font-size:15px}.rush-progress span,.rush-start p{font-size:10px}.cooldown-note{font-size:10px}
.duel-btn{font-size:10px}.duel-empty{font-size:10px}.self-stats small{font-size:8px}.self-stats b{font-size:12px}.duel-history th,.duel-history td{font-size:9px}.duel-toast{font-size:10px}.duel-note{font-size:9px}
/* Salvage readability */
.salvage-toolbar{font-size:10px}.salvage-actions button{font-size:10px}.salvage-gear-info b{font-size:10px}.salvage-gear-info small{font-size:9px}.salvage-gear-reward b{font-size:10px}.salvage-gear-reward small{font-size:9px}.salvage-empty{font-size:10px}.salvage-empty small{font-size:9px}
/* Inputs and controls should never collapse to unreadable text. */
input,select,textarea{font-size:12px;line-height:1.35}
button{line-height:1.25}
@media(max-width:700px){.topbar{height:auto;min-height:64px;flex-wrap:wrap;padding:9px 12px}.topbar nav{order:3;flex-basis:100%;overflow-x:auto;padding-bottom:2px}.topbar nav a{white-space:nowrap}.dashboard{grid-template-columns:1fr;padding:10px}.leftcol,.rightcol{display:block}.arena{height:520px}}
@media(max-width:650px){body{font-size:14px}.topbar nav a{font-size:11px;padding:10px 9px}.brand{font-size:17px}.walletbar{margin-left:auto}.dashboard{padding:7px}.card{padding:11px}.arena{height:470px}.feature h1,.auth h1{font-size:32px}}

/* v1.7.11: exact 32x32 inventory/equipment slots and centered art */
.inventory .equiprow{display:grid;grid-template-columns:repeat(8,32px);gap:4px;justify-content:start;width:100%;min-width:0}
.inventory .equip{width:32px;height:38px;min-height:38px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative}
.inventory .equip .itemicon{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .equip .itemicon img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
.inventory .invgrid{display:grid;grid-template-columns:repeat(8,32px);gap:4px;width:100%;min-width:0;justify-content:start}
.inventory .slot{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .slot .item-visual{width:32px;height:32px;min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;margin:0}
.inventory .slot .item-visual img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
@media(max-width:650px){.inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,32px);gap:4px}.inventory .equip .itemicon,.inventory .equip .itemicon img,.inventory .slot,.inventory .slot .item-visual,.inventory .slot .item-visual img{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
.inv-pages{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:8px 0}.inv-pages a{padding:7px 3px;text-align:center;border:1px solid #3a2c1d;color:#8c806d;text-decoration:none;font-size:10px;border-radius:4px}.inv-pages a.active{color:#f0c85e;border-color:#b9852e;background:#1b140a}.item-visual{position:relative;width:44px;height:44px;border:1px solid #493a26;border-radius:5px;background:radial-gradient(circle,#2a2115,#0b0a08 70%);display:grid;place-items:center;font-size:21px;box-shadow:inset 0 0 10px #000}.item-visual em{position:absolute;right:2px;top:1px;font-style:normal;font-size:10px}.item-visual.rare{border-color:#48bde8}.item-visual.epic{border-color:#c260ff}.item-visual.legendary{border-color:#ff9e2f}.item-visual.mythic{border-color:#ff3d4a}.item-visual.cosmic{border-color:#baff37}.item-visual.divine{border-color:#ff55df}.item-visual.celestial{border-color:#58e9ff}.level-locked{border-color:#8c3b3b!important;background:#2b1010}.level-locked b,.level-locked small{color:#e36b63!important}.level-locked .item-visual{border-color:#a64646!important;filter:saturate(.8)}.slot-link{width:100%;display:flex;flex-direction:column;align-items:center;text-decoration:none;color:inherit}.slot-link b{font-size:9px;line-height:1.15;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.slot-link small{font-size:8px;line-height:1.2}.inspect-lock-form{margin-top:3px}.inspect-lock-form button{font-size:9px}.mini-btn:disabled{opacity:.4;cursor:not-allowed}

.resource-title{margin-top:10px;color:#a58a4e;font-size:10px;font-weight:900;letter-spacing:1px}.resource-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:4px;margin-top:5px;max-height:150px;overflow:auto}.resource-slot{min-width:0;border:1px solid #30271b;background:#0d0c0a;border-radius:4px;padding:5px;text-decoration:none;color:#c9bca6;display:grid;grid-template-columns:18px 1fr;gap:2px 5px;align-items:center}.resource-slot span{grid-row:span 2;font-size:13px;text-align:center}.resource-slot b{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resource-slot small{font-size:8px;color:#7e7567}.resource-slot.legendary{border-color:#ff9e2f}.resource-slot.mythic{border-color:#ff3d4a}.resource-slot.cosmic{border-color:#baff37}.resource-slot.divine{border-color:#ff55df}.resource-slot.celestial{border-color:#58e9ff}.resource-slot.moon{border-color:#cf63ff}.resource-slot.sun{border-color:#e8c85c}.resource-slot.item-locked{box-shadow:inset 0 0 0 1px #6d5420}.resource-slot:hover b{color:#f0ca63}

/* v1.7.7 inventory sizing, centered art, toggle inspection */
.inventory{padding:10px}
.inventory .equiprow{gap:4px;align-items:start}
.inventory .equip{height:auto;min-height:60px;width:100%;overflow:hidden}
.inventory .equip .itemicon{width:100%;aspect-ratio:1/1;max-width:none;display:grid;place-items:center;overflow:hidden;padding:2px;border:1px solid #493a26;border-radius:5px;background:#0b0a08;box-sizing:border-box}
.inventory .equip .itemicon img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}
.inventory .equip small{font-size:7px;line-height:1.15;max-width:100%;margin-top:2px}
.inventory .invgrid{gap:4px}
.inventory .slot{aspect-ratio:1/1;width:100%;height:auto;min-height:0;padding:1px;overflow:hidden}
.inventory .slot .item-visual{width:100%;height:100%;display:grid;place-items:center;overflow:hidden}
.inventory .slot .item-visual img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}
.inventory .slot .item-visual i{font-size:clamp(18px,6vw,30px)}
.inventory .inspect{height:auto;min-height:120px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;overflow:visible}
.inventory .inspect-item-art{width:80px;height:80px;flex:0 0 auto;object-fit:contain;object-position:center}
.inventory .inspect strong,.inventory .inspect span,.inventory .inspect small{max-width:100%;word-break:break-word}
.inventory .inspect .item-stats{width:100%;max-width:260px}
@media(max-width:430px){
 .inventory{padding:9px}
 .inventory .equiprow{gap:3px}
 .inventory .equip .itemicon{padding:2px}
 .inventory .equip small{font-size:6px}
 .inventory .invgrid{gap:4px}
 .inventory .inspect-item-art{width:80px;height:80px}
 .inventory .inspect-actions{justify-content:center}
}


/* v1.7.9 inventory: 30x30 slots and AFK-style resource-first sorting */
.inventory .equiprow{display:grid;grid-template-columns:repeat(8,32px);gap:4px;justify-content:start;width:100%;min-width:0}
.inventory .equip{width:32px;height:38px;min-height:38px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative}
.inventory .equip .itemicon{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .equip .itemicon img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:center;display:block;margin:0}
.inventory .equip small{font-size:6px;line-height:8px;width:32px;max-width:32px;text-align:center;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.inventory .equip-lock{right:-2px;top:-3px;font-size:7px;line-height:8px}
.inventory .invhead{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.inventory .invhead>span{flex:1 1 auto;min-width:90px}
.inventory .inv-actions{display:flex;align-items:center;gap:4px;flex-wrap:nowrap;margin-left:auto}
.inventory .inv-actions form{margin:0}
.inventory .inv-action{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:5px 8px;background:#1d160b;border:1px solid #6c4e20;color:#dcb45b;border-radius:5px;font-size:9px;font-weight:800;text-decoration:none;cursor:pointer;white-space:nowrap;box-sizing:border-box}
.inventory .inv-action:hover{border-color:#b9852e;color:#f0ca63}
.inventory .inv-action.sell-all{border-color:#7b3931;color:#d98678;background:#281411}
.inventory .invgrid{display:grid;grid-template-columns:repeat(8,32px);gap:4px;width:100%;min-width:0;justify-content:start}
.inventory .slot{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .slot .item-visual{width:32px;height:32px;min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;margin:0}
.inventory .slot .item-visual img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:center;display:block;margin:0}
.inventory .slot .item-visual i{font-size:15px;line-height:1}
.inventory .slot>b{font-size:6px;bottom:0}
.inventory .slot strong{font-size:6px;right:0;bottom:0}
.inventory .slot .item-visual em{right:0;top:0;font-size:7px}
.inventory .inspect{margin-top:10px;width:100%;box-sizing:border-box}
@media(max-width:650px){.dashboard{min-width:0}.rightcol{min-width:0;width:100%}.inventory{width:100%;max-width:100%;overflow:hidden}.inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,32px);gap:4px}.inventory .inv-actions{width:auto;margin-left:auto}.inventory .inv-action{flex:0 0 auto}.inventory .equip .itemicon img{width:30px;height:30px}.inventory .slot .item-visual img{width:30px;height:30px}}

/* v1.7.11: exact 32x32 inventory/equipment slots and centered art */
.inventory .equiprow{display:grid;grid-template-columns:repeat(8,32px);gap:4px;justify-content:start;width:100%;min-width:0}
.inventory .equip{width:32px;height:38px;min-height:38px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative}
.inventory .equip .itemicon{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .equip .itemicon img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
.inventory .invgrid{display:grid;grid-template-columns:repeat(8,32px);gap:4px;width:100%;min-width:0;justify-content:start}
.inventory .slot{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .slot .item-visual{width:32px;height:32px;min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;margin:0}
.inventory .slot .item-visual img{width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;object-position:50% 50%;display:block;margin:0 auto}
@media(max-width:650px){.inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,32px);gap:4px}.inventory .equip .itemicon,.inventory .equip .itemicon img,.inventory .slot,.inventory .slot .item-visual,.inventory .slot .item-visual img{width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
/* v1.7.12 inventory sizing: 30.5px slots, slightly smaller centered artwork */
.inventory .equiprow{grid-template-columns:repeat(8,30.5px);gap:4px;align-items:start}
.inventory .equip{width:30.5px;height:50px;min-height:50px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative;overflow:visible}
.inventory .equip .itemicon{width:30.5px;height:30.5px;min-width:30.5px;min-height:30.5px;max-width:30.5px;max-height:30.5px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .equip .itemicon img{width:27.5px;height:27.5px;max-width:27.5px;max-height:27.5px;object-fit:contain;object-position:50% 50%;display:block;flex:0 0 auto;margin:auto}
.inventory .equip small{display:block;font-size:7px;line-height:9px;margin-top:2px;max-width:42px;white-space:nowrap;overflow:visible;text-overflow:clip;text-align:center}
.inventory .invgrid{grid-template-columns:repeat(8,30.5px);gap:4px;align-items:start;justify-content:start}
.inventory .slot{width:30.5px;height:30.5px;min-width:30.5px;min-height:30.5px;max-width:30.5px;max-height:30.5px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .slot .item-visual{width:30.5px;height:30.5px;min-width:30.5px;min-height:30.5px;max-width:30.5px;max-height:30.5px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;margin:0}
.inventory .slot .item-visual img{width:27.5px;height:27.5px;max-width:27.5px;max-height:27.5px;object-fit:contain;object-position:50% 50%;display:block;flex:0 0 auto;margin:auto}
.inventory .slot>b{font-size:6px;line-height:7px;bottom:1px;padding:0 1px}
.inventory .slot strong{font-size:6px;line-height:7px;right:1px;bottom:1px;padding:0 1px}
.inventory .slot .item-visual em{font-size:7px;right:1px;top:1px;line-height:7px}
@media(max-width:650px){.inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,30.5px);gap:4px}.inventory .equip .itemicon,.inventory .slot,.inventory .slot .item-visual{width:30.5px;height:30.5px;min-width:30.5px;min-height:30.5px;max-width:30.5px;max-height:30.5px}.inventory .equip .itemicon img,.inventory .slot .item-visual img{width:27.5px;height:27.5px;max-width:27.5px;max-height:27.5px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
/* v1.7.14 inventory final item presentation */
.inventory .equiprow{grid-template-columns:repeat(8,30.5px);gap:4px;align-items:start}
.inventory .equip{width:30.5px;height:54px;min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative;overflow:visible}
.inventory .equip .itemicon{width:30.5px;height:30.5px;min-width:30.5px;min-height:30.5px;max-width:30.5px;max-height:30.5px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;background:#1b130b}
.inventory .equip .itemicon img{width:26px;height:26px;max-width:26px;max-height:26px;object-fit:contain;object-position:50% 50%;display:block;flex:0 0 auto;margin:auto;border:0;outline:0;box-shadow:none}
.inventory .equip small{display:block;width:100%;font-size:7px;line-height:9px;margin-top:3px;white-space:nowrap;overflow:visible;text-overflow:clip;text-align:center}
.inventory .invgrid{grid-template-columns:repeat(8,30.5px);gap:4px;align-items:start;justify-content:start}
.inventory .slot{width:30.5px;height:30.5px;min-width:30.5px;min-height:30.5px;max-width:30.5px;max-height:30.5px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .slot .item-visual{width:30.5px;height:30.5px;min-width:30.5px;min-height:30.5px;max-width:30.5px;max-height:30.5px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;margin:0;padding:0;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0}
.inventory .slot .item-visual img{width:26px;height:26px;min-width:26px;min-height:26px;max-width:26px;max-height:26px;object-fit:contain;object-position:50% 50%;display:block;flex:0 0 auto;margin:auto;padding:0;border:0!important;outline:0!important;box-shadow:none!important;border-radius:0}
.inventory .slot .item-visual i{margin:auto;line-height:1}
@media(max-width:650px){.inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,30.5px);gap:4px}.inventory .equip .itemicon,.inventory .slot,.inventory .slot .item-visual{width:30.5px;height:30.5px;min-width:30.5px;min-height:30.5px;max-width:30.5px;max-height:30.5px}.inventory .equip .itemicon img,.inventory .slot .item-visual img{width:26px;height:26px;min-width:26px;min-height:26px;max-width:26px;max-height:26px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
/* v1.7.14 final inventory art presentation: slot is 30.5px, visible art is smaller and centered */
.inventory .equiprow{grid-template-columns:repeat(8,30.5px);gap:4px;align-items:start}
.inventory .equip{width:30.5px;height:54px;min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative;overflow:visible}
.inventory .equip .itemicon{width:30.5px;height:30.5px;min-width:30.5px;min-height:30.5px;max-width:30.5px;max-height:30.5px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .equip .itemicon img{width:26px;height:26px;max-width:26px;max-height:26px;object-fit:contain;object-position:50% 50%;display:block;margin:auto;padding:0;border:0;outline:0;box-shadow:none}
.inventory .equip small{display:block;width:100%;font-size:7px;line-height:9px;margin-top:3px;white-space:nowrap;overflow:visible;text-overflow:clip;text-align:center}
.inventory .invgrid{grid-template-columns:repeat(8,30.5px);gap:4px;align-items:start;justify-content:start}
.inventory .slot{width:30.5px;height:30.5px;min-width:30.5px;min-height:30.5px;max-width:30.5px;max-height:30.5px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .slot .item-visual{width:30.5px;height:30.5px;min-width:30.5px;min-height:30.5px;max-width:30.5px;max-height:30.5px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;margin:0;padding:0;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0}
.inventory .slot .item-visual img{width:26px;height:26px;min-width:26px;min-height:26px;max-width:26px;max-height:26px;object-fit:contain;object-position:50% 50%;display:block;margin:auto;padding:0;border:0!important;outline:0!important;box-shadow:none!important;border-radius:0}
.inventory .slot .item-visual i{margin:auto;line-height:1}
@media(max-width:650px){.inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,30.5px);gap:4px}.inventory .equip .itemicon,.inventory .slot,.inventory .slot .item-visual{width:30.5px;height:30.5px;min-width:30.5px;min-height:30.5px;max-width:30.5px;max-height:30.5px}.inventory .equip .itemicon img,.inventory .slot .item-visual img{width:26px;height:26px;min-width:26px;min-height:26px;max-width:26px;max-height:26px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
/* v1.7.15 final inventory presentation: resources share the same backpack grid as items. */
.inventory .equiprow{display:grid;grid-template-columns:repeat(8,30.5px);gap:4px;justify-content:start;align-items:start;width:100%;min-width:0}
.inventory .equip{width:30.5px;height:54px;min-width:30.5px;min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative;overflow:visible}
.inventory .equip .itemicon{width:30.5px;height:30.5px;min-width:30.5px;min-height:30.5px;max-width:30.5px;max-height:30.5px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;background:transparent;border:1px solid #3a2c1d;border-radius:4px}
.inventory .equip .itemicon img{width:26px;height:26px;max-width:26px;max-height:26px;object-fit:contain;object-position:center;display:block;margin:auto;padding:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important}
.inventory .equip small{display:block;width:100%;font-size:7px;line-height:9px;margin-top:3px;white-space:nowrap;overflow:visible;text-align:center;color:#756d60}
.inventory .invgrid{display:grid;grid-template-columns:repeat(8,30.5px);gap:4px;width:100%;min-width:0;justify-content:start;align-items:start}
.inventory .slot{width:30.5px;height:30.5px;min-width:30.5px;min-height:30.5px;max-width:30.5px;max-height:30.5px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;background:#0a0a08;border:1px solid #30271b;border-radius:4px;position:relative}
.inventory .slot .item-visual{position:relative;width:30.5px;height:30.5px;min-width:30.5px;min-height:30.5px;max-width:30.5px;max-height:30.5px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;margin:0;padding:0;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0}
.inventory .slot .item-visual img{width:26px;height:26px;min-width:26px;min-height:26px;max-width:26px;max-height:26px;object-fit:contain;object-position:center;display:block;flex:0 0 auto;margin:auto;padding:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important}
.inventory .slot .item-visual i{font-style:normal;margin:auto;line-height:1;font-size:15px;color:#c48a36}
.inventory .slot .item-visual em{position:absolute;right:0;top:0;font-style:normal;font-size:7px;line-height:7px;z-index:3;text-shadow:0 1px 2px #000}
.inventory .slot>b{position:absolute;left:1px;right:1px;bottom:1px;font-size:6px;line-height:7px;color:#e8dcc5;text-shadow:0 1px 2px #000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:2}
.inventory .slot strong{position:absolute;right:1px;bottom:1px;font-size:6px;line-height:7px;color:#fff;background:#0009;padding:0 1px;border-radius:2px;z-index:3}
/* Rarity-colored inventory outlines, matching the SolForge presentation. */
.inventory .slot.common,.inventory .equip.common .itemicon{border-color:#a8a8a8}
.inventory .slot.uncommon,.inventory .equip.uncommon .itemicon{border-color:#5ce36a}
.inventory .slot.rare,.inventory .equip.rare .itemicon{border-color:#4dc8ff}
.inventory .slot.epic,.inventory .equip.epic .itemicon{border-color:#c86cff}
.inventory .slot.legendary,.inventory .equip.legendary .itemicon{border-color:#ffad35}
.inventory .slot.mythic,.inventory .equip.mythic .itemicon{border-color:#ff3f4a}
.inventory .slot.cosmic,.inventory .equip.cosmic .itemicon{border-color:#baff37}
.inventory .slot.divine,.inventory .equip.divine .itemicon{border-color:#ff55df}
.inventory .slot.celestial,.inventory .equip.celestial .itemicon{border-color:#58e9ff}
.inventory .slot.angel,.inventory .equip.angel .itemicon{border-color:#ffb3ef}
.inventory .slot.god,.inventory .equip.god .itemicon{border-color:#ffd45c}
.inventory .slot.level-locked{border-color:#d34848!important;background:#2b1010}
.inventory .slot.level-locked .item-visual img{filter:saturate(.8)}
.inventory .material-slot i{font-size:16px}
.inventory .material-slot b{font-size:5px;color:#d6cbb5}
.inventory .material-slot.common i{color:#c9c9c9}.inventory .material-slot.rare i{color:#55caff}.inventory .material-slot.epic i{color:#d274ff}.inventory .material-slot.legendary i{color:#ffae32}.inventory .material-slot.mythic i{color:#ff4b43}.inventory .material-slot.cosmic i{color:#c4ff4d}.inventory .material-slot.divine i{color:#ff61e9}.inventory .material-slot.celestial i{color:#6ce8ff}.inventory .material-slot.angel i{color:#ff9eea}.inventory .material-slot.god i{color:#ffd45c}
.inventory .equip.empty-equip .itemicon{border-color:#3a2c1d;background:#0a0a08}
.inventory .equip.empty-equip .itemicon:empty{display:flex}
@media(max-width:650px){.inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,30.5px);gap:4px}.inventory .equip .itemicon,.inventory .slot,.inventory .slot .item-visual{width:30.5px;height:30.5px;min-width:30.5px;min-height:30.5px;max-width:30.5px;max-height:30.5px}.inventory .equip .itemicon img,.inventory .slot .item-visual img{width:26px;height:26px;min-width:26px;min-height:26px;max-width:26px;max-height:26px}}

/* v1.7.16: final inventory artwork treatment. The slot owns the rarity border;
   artwork has no box of its own and is centered inside the slot. */
.inventory .slot{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.inventory .slot .item-visual{position:absolute;inset:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;margin:0;padding:0;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;overflow:hidden}
.inventory .slot .item-visual img{width:26px;height:26px;max-width:26px;max-height:26px;min-width:26px;min-height:26px;display:block;object-fit:contain;object-position:50% 50%;margin:0!important;padding:0!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;flex:0 0 auto}
.inventory .equip{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;box-sizing:border-box}
.inventory .equip .itemicon{display:flex;align-items:center;justify-content:center;padding:0;margin:0;border:1px solid #3a2c1d;background:#0a0a08;box-shadow:none;overflow:hidden;box-sizing:border-box}
.inventory .equip .itemicon img{width:26px;height:26px;max-width:26px;max-height:26px;min-width:26px;min-height:26px;display:block;object-fit:contain;object-position:50% 50%;margin:0!important;padding:0!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;flex:0 0 auto}
.inventory .equip.empty-equip .itemicon{border-color:#3a2c1d!important;background:#0a0a08!important}
.inventory .equip.common .itemicon{border-color:#a8a8a8}.inventory .equip.uncommon .itemicon{border-color:#5ce36a}.inventory .equip.rare .itemicon{border-color:#4dc8ff}.inventory .equip.epic .itemicon{border-color:#c86cff}.inventory .equip.legendary .itemicon{border-color:#ffad35}.inventory .equip.mythic .itemicon{border-color:#ff3f4a}.inventory .equip.cosmic .itemicon{border-color:#baff37}.inventory .equip.divine .itemicon{border-color:#ff55df}.inventory .equip.celestial .itemicon{border-color:#58e9ff}.inventory .equip.angel .itemicon{border-color:#ffb3ef}.inventory .equip.god .itemicon{border-color:#ffd45c}
.inventory .slot.common{border-color:#a8a8a8}.inventory .slot.uncommon{border-color:#5ce36a}.inventory .slot.rare{border-color:#4dc8ff}.inventory .slot.epic{border-color:#c86cff}.inventory .slot.legendary{border-color:#ffad35}.inventory .slot.mythic{border-color:#ff3f4a}.inventory .slot.cosmic{border-color:#baff37}.inventory .slot.divine{border-color:#ff55df}.inventory .slot.celestial{border-color:#58e9ff}.inventory .slot.angel{border-color:#ffb3ef}.inventory .slot.god{border-color:#ffd45c}
.inventory .slot.level-locked{border-color:#d34848!important;background:#2b1010!important}
.inventory .slot .item-visual em{position:absolute;right:0;top:0;font-size:7px;line-height:7px;z-index:5;text-shadow:0 1px 2px #000}
.inventory .slot .item-visual strong{position:absolute;right:1px;bottom:1px;font-size:6px;line-height:7px;color:#fff;background:#0009;padding:0 1px;border-radius:2px;z-index:5}
.inventory .slot>b{position:absolute;left:1px;right:1px;bottom:1px;font-size:6px;line-height:7px;color:#e8dcc5;text-shadow:0 1px 2px #000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:6}
@media(max-width:650px){.inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,30.5px);gap:4px}.inventory .equip,.inventory .equip .itemicon,.inventory .slot{width:30.5px;min-width:30.5px;max-width:30.5px}.inventory .equip .itemicon,.inventory .slot{height:30.5px;min-height:30.5px;max-height:30.5px}.inventory .equip .itemicon img,.inventory .slot .item-visual img{width:26px;height:26px;min-width:26px;min-height:26px;max-width:26px;max-height:26px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
/* v1.7.19 desktop inventory sizing: larger 38px slots while preserving the 8-column layout. */
.inventory .equiprow,
.inventory .invgrid{grid-template-columns:repeat(8,38px);gap:5px;justify-content:start}
.inventory .equip{width:38px;height:66px;min-width:38px}
.inventory .equip .itemicon{width:38px;height:38px;min-width:38px;min-height:38px;max-width:38px;max-height:38px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0;margin:0}
.inventory .equip .itemicon img{width:34px;height:34px;min-width:34px;min-height:34px;max-width:34px;max-height:34px;object-fit:contain;object-position:center;display:block;margin:auto!important;padding:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important}
.inventory .equip small{font-size:7px;line-height:9px;margin-top:4px;max-width:42px;overflow:visible}
.inventory .slot{width:38px;height:38px;min-width:38px;min-height:38px;max-width:38px;max-height:38px;padding:0;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
.inventory .slot .item-visual{position:absolute;inset:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;margin:0;padding:0;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden}
.inventory .slot .item-visual img{width:34px;height:34px;min-width:34px;min-height:34px;max-width:34px;max-height:34px;object-fit:contain;object-position:center;display:block;flex:0 0 auto;margin:auto!important;padding:0;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important}
.inventory .slot .item-visual strong{right:1px;bottom:1px;font-size:7px;line-height:8px}
.inventory .slot .item-visual em{right:1px;top:1px;font-size:8px;line-height:8px}
.inventory .slot>b{font-size:7px;bottom:2px}
@media(max-width:650px){
 .inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,38px);gap:4px;justify-content:start}
 .inventory .equip,.inventory .equip .itemicon,.inventory .slot{width:38px;min-width:38px;max-width:38px}
 .inventory .equip .itemicon,.inventory .slot{height:38px;min-height:38px;max-height:38px}
 .inventory .equip .itemicon img,.inventory .slot .item-visual img{width:34px;height:34px;min-width:34px;min-height:34px;max-width:34px;max-height:34px}
}

/* v1.8 battle screen: animated visual combat layer */
.battle-stage{position:relative;overflow:hidden;isolation:isolate}
.battle-stage:before{content:"";position:absolute;inset:15% 18%;border:1px solid rgba(97,218,235,.16);border-radius:50%;box-shadow:0 0 45px rgba(80,210,230,.08);pointer-events:none}
.battle-unit{position:absolute;z-index:4;display:flex;flex-direction:column;align-items:center;gap:5px;min-width:150px}
.hero-unit{left:16%;bottom:24%}.enemy-unit{right:16%;bottom:24%}
.unit-name{background:rgba(5,7,8,.84);padding:3px 8px;border-radius:4px;color:#eee;font-size:11px;white-space:nowrap;box-shadow:0 2px 10px #0008}.unit-name b{color:#f0c75d}
.unit-hp{width:155px;height:13px;border:1px solid #46372a;background:#080808;border-radius:8px;overflow:hidden;position:relative;box-shadow:0 0 12px #0009}.unit-hp i{display:block;height:100%;background:linear-gradient(90deg,#a92125,#e54a42);transition:width .2s}.hero-unit .unit-hp i{background:linear-gradient(90deg,#25763b,#5fe277)}.unit-hp span{position:absolute;inset:0;text-align:center;font-size:8px;line-height:11px;color:#fff;text-shadow:0 1px 2px #000}
.fighter-avatar,.enemy-avatar{width:92px;height:108px;display:grid;place-items:center;font-size:70px;color:#e6c15a;text-shadow:0 0 24px rgba(255,196,69,.35);filter:drop-shadow(0 12px 14px #000b);animation:breathe 1.8s ease-in-out infinite}.fighter-avatar.rogue{color:#d7a5ff}.fighter-avatar.mage{color:#79d9ff}.enemy-avatar{color:#e74b3f;font-size:76px;animation:enemyBreathe 1.5s ease-in-out infinite}
.battle-effects{position:absolute;inset:0;z-index:7;pointer-events:none}.float-hit{position:absolute;left:50%;top:43%;font-weight:1000;font-size:24px;color:#f4f0e7;text-shadow:0 2px 6px #000,0 0 10px #fff8;animation:floatHit .85s ease-out forwards}.float-hit.crit{color:#ff9f32;font-size:31px}.enemy-hit{transform:translateX(90px)}.hero-hit{transform:translateX(-90px);color:#ff7065}.battle-feed{position:absolute;left:50%;bottom:8%;transform:translateX(-50%);z-index:8;min-width:260px;text-align:center;background:rgba(7,8,8,.82);border:1px solid #3b352b;border-radius:7px;padding:6px 12px;box-shadow:0 8px 25px #0008}.battle-feed span{display:block;color:#69e184;font-size:8px;font-weight:900;letter-spacing:1px}.battle-feed b{display:block;color:#e7dcc9;font-size:10px;margin-top:2px}
@keyframes breathe{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-5px) scale(1.03)}}@keyframes enemyBreathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px) scale(1.04)}}@keyframes floatHit{0%{opacity:0;transform:translate(-50%,15px) scale(.7)}15%{opacity:1}100%{opacity:0;transform:translate(-50%,-65px) scale(1.08)}}
.zone-earning{min-height:18px;display:flex;align-items:center;justify-content:center;line-height:1.15;margin-top:4px;margin-bottom:4px}.zone-earning.eligible{color:#68e78c}.zone-earning.ineligible{color:#d36b61}.zone.selected .zone-earning.eligible{text-shadow:0 0 10px #65e88a55}
@media(max-width:1000px){.battle-unit{min-width:110px}.hero-unit{left:8%}.enemy-unit{right:8%}.unit-hp{width:120px}.fighter-avatar,.enemy-avatar{transform:scale(.82)}.battle-feed{min-width:220px}}

/* v1.8 combat motion */
.battle-unit.attacking{animation:attackLunge .24s ease-in-out}
@keyframes attackLunge{0%{transform:translateX(0) scale(1)}45%{transform:translateX(16px) scale(1.06)}100%{transform:translateX(0) scale(1)}}
.hero-unit.attacking{animation-name:heroLunge}.enemy-unit.attacking{animation-name:enemyLunge}
@keyframes heroLunge{0%{transform:translateX(0)}45%{transform:translateX(20px) scale(1.05)}100%{transform:translateX(0)}}
@keyframes enemyLunge{0%{transform:translateX(0)}45%{transform:translateX(-20px) scale(1.05)}100%{transform:translateX(0)}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
/* v1.8.2: AFK-style centered-left battle session panel */
.battle-session-panel{position:absolute;left:14px;top:50%;transform:translateY(-50%);z-index:10;width:178px;padding:11px 12px;background:rgba(12,11,9,.90);border:1px solid #4a351d;border-radius:8px;box-shadow:0 10px 28px #0009;backdrop-filter:blur(2px)}
.battle-session-title{color:#e5bd58;font-size:10px;font-weight:900;letter-spacing:1px;margin-bottom:7px;border-bottom:1px solid #30251a;padding-bottom:6px}.battle-session-panel>div:not(.battle-session-title){display:flex;justify-content:space-between;gap:8px;padding:4px 0;color:#8f8576;font-size:9px}.battle-session-panel>div b{color:#e6dfd1;font-size:10px}.battle-session-panel>div span:first-letter{color:#e0b94f}
@media(max-width:1000px){.battle-session-panel{left:8px;width:145px;padding:8px 9px}.battle-session-panel>div:not(.battle-session-title){font-size:8px}.battle-session-panel>div b{font-size:9px}}

/* v1.8.1: battle controls and zone alignment */
.zone{display:flex;flex-direction:column;align-items:stretch;height:100%}.zone button{margin-top:auto;display:block}.zone.selected button{background:linear-gradient(#e6bc4d,#b77c20);color:#171108}.zone button:disabled{background:#27231d;color:#776f62}
.arena-top{z-index:30}.auto-pot-trigger{position:relative;z-index:31;pointer-events:auto}.auto-pot-panel{z-index:32;pointer-events:auto}
.battle-actions{position:absolute;right:12px;bottom:12px;z-index:15;display:flex;gap:8px;align-items:center}.battle-action-group{display:flex;gap:8px}.battle-action{border:1px solid #8c6423;background:linear-gradient(180deg,#2a1d0d,#17110a);color:#f2c55d;border-radius:6px;padding:9px 15px;font-size:10px;font-weight:900;cursor:pointer;box-shadow:0 6px 18px #0009}.battle-action.chest-action{background:linear-gradient(180deg,#e7bc4d,#a8751f);color:#181107;box-shadow:0 0 22px #d9a52b55}.battle-action.boss-action{min-width:155px}.battle-action:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.battle-action:hover:not(:disabled){filter:brightness(1.08)}
@media(max-width:1000px){.battle-actions{right:8px;bottom:10px}.battle-action{padding:8px 10px;font-size:9px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
/* v1.8.3 battle layout fixes */
.arena-scene{position:relative;overflow:hidden;isolation:isolate}
.auto-combat-form{margin:0;display:block}
.auto-combat-trigger{border:1px solid #3f6d43;background:#0b120bd9;color:#7ce58a;border-radius:5px;padding:7px 10px;font-size:10px;font-weight:900;cursor:pointer;box-shadow:0 0 14px #49c75b18;display:inline-flex;align-items:center;gap:5px}
.auto-combat-trigger.active{border-color:#3f6d43;color:#7ce58a;background:#0b120bd9}
.auto-combat-trigger.paused{border-color:#b9852e;color:#f0c85e;background:#241a0bd9;box-shadow:0 0 16px #b9852e24}
.battle-session-panel{top:50%;left:14px;width:174px;max-height:calc(100% - 96px);overflow:auto;box-sizing:border-box;scrollbar-width:none}
.battle-session-panel::-webkit-scrollbar{display:none}
.battle-session-title{white-space:nowrap}
.battle-actions{right:14px;bottom:14px;left:auto;top:auto;position:absolute;z-index:40;pointer-events:auto}
.battle-actions form{margin:0}
@media(max-width:1000px){.battle-session-panel{left:8px;width:145px;max-height:calc(100% - 82px)}.battle-actions{right:8px;bottom:10px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
/* v1.8.7: stable battle stats panel + aligned earnings */
.battle-stats-panel{position:absolute;left:14px;top:50%;transform:translateY(-50%);z-index:12;width:174px;padding:11px 12px;background:rgba(12,11,9,.92);border:1px solid #4a351d;border-radius:8px;box-shadow:0 10px 28px #0009;box-sizing:border-box}
.battle-stats-title{color:#e5bd58;font-size:10px;font-weight:900;letter-spacing:1px;margin-bottom:7px;border-bottom:1px solid #30251a;padding-bottom:6px}
.battle-stats-panel>div:not(.battle-stats-title){display:flex;justify-content:space-between;align-items:center;gap:8px;padding:5px 0;border-bottom:1px solid #211b14;color:#8f8576;font-size:9px}
.battle-stats-panel>div:last-child{border-bottom:0}.battle-stats-panel span{color:#817765}.battle-stats-panel b{color:#e6dfd1;font-size:10px;white-space:nowrap}
.earnings{align-items:stretch}.earnings>div{min-width:0;display:flex;flex-direction:column;justify-content:center}.earning-label{min-height:18px;color:#d3ab4e;font-size:10px;font-weight:900;letter-spacing:1px;display:flex;align-items:center;justify-content:space-between;gap:8px}.earning-label em{font-style:normal;color:#77705f;font-size:8px;font-weight:400;letter-spacing:0;white-space:nowrap}.earnings>div:not(:first-child) .earning-label{justify-content:center}.earnings>div:not(:first-child) b{text-align:center}.earnings>div:not(:first-child) span{text-align:center}
@media(max-width:1000px){.battle-stats-panel{left:8px;width:145px;padding:8px 9px}.battle-stats-panel>div:not(.battle-stats-title){font-size:8px}.battle-stats-panel b{font-size:9px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
/* v1.8.8: keep battle stats fully visible in the left-center of the arena. */
.battle-stats-panel{left:18px;top:26%;transform:none;width:176px;max-height:230px;overflow:hidden;z-index:25;padding:10px 12px}
.battle-stats-panel .battle-stats-title{font-size:10px;margin-bottom:5px;padding-bottom:5px}
.battle-stats-panel>div:not(.battle-stats-title){padding:4px 0;font-size:9px;line-height:1.15}
.battle-stats-panel b{font-size:10px}
@media(max-width:1000px){.battle-stats-panel{left:8px;top:20%;width:150px;max-height:210px;padding:8px 9px}.battle-stats-panel>div:not(.battle-stats-title){font-size:8px}.battle-stats-panel b{font-size:9px}}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
/* v1.8.9 defeat recovery */
.death-overlay{position:absolute;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;background:rgba(3,3,3,.72);backdrop-filter:blur(2px);pointer-events:auto}.death-panel{width:min(420px,72%);padding:20px 24px;text-align:center;background:rgba(14,10,8,.97);border:1px solid #9a4037;border-radius:10px;box-shadow:0 16px 50px #000c}.death-panel strong{display:block;color:#ff7165;font-size:19px;font-weight:1000;letter-spacing:1px}.death-panel span{display:block;margin-top:8px;color:#c1b7a7;font-size:11px}.death-panel b{display:block;margin:13px 0 3px;color:#f0c85e;font-size:36px;font-variant-numeric:tabular-nums}.death-panel small{display:block;color:#81796d;font-size:10px}.death-panel em{font-style:normal;color:#d6b55d}.death-panel form{margin-top:16px}.revive-button{border:1px solid #b9852e;background:linear-gradient(180deg,#e3b84b,#9d6c1b);color:#171006;border-radius:6px;padding:10px 16px;font-size:10px;font-weight:1000;cursor:pointer}.revive-button:hover{filter:brightness(1.08)}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
/* v1.8.10 battle chest count */
.battle-action.chest-action .chest-total{font-size:8px;opacity:.82;margin-left:3px;white-space:nowrap}

.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
.class-passive{border:1px solid #3b3020;background:#14120f;border-radius:8px;padding:9px 10px;margin-top:8px}.class-passive span{display:block;color:#e4c36d;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.class-passive small{display:block;color:#8d8579;font-size:9px;line-height:1.4;margin-top:4px}.zone span{line-height:1.35}
.zone-progress-card{margin-top:16px}.zone-progress-card .section-title{display:flex;justify-content:space-between;align-items:center}.zone-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.zone-milestone{border:1px solid rgba(255,255,255,.08);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:5px}.zone-milestone.ready{border-color:#c9a227}.zone-milestone.claimed{opacity:.55}.zone-milestone span{font-size:12px}.zone-milestone small{color:#aeb6c5}.zone-milestone button{margin-top:5px}.zone-milestone em{font-size:10px;font-style:normal;opacity:.65}@media(max-width:900px){.zone-milestones{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.zone-milestones{grid-template-columns:1fr}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
/* v1.12.3: equipped gear art is the item art only; no framed box around it. */
.inventory .equip .itemicon,
.inventory .equip.common .itemicon,
.inventory .equip.uncommon .itemicon,
.inventory .equip.rare .itemicon,
.inventory .equip.epic .itemicon,
.inventory .equip.legendary .itemicon,
.inventory .equip.mythic .itemicon,
.inventory .equip.cosmic .itemicon,
.inventory .equip.divine .itemicon,
.inventory .equip.celestial .itemicon,
.inventory .equip.angel .itemicon,
.inventory .equip.god .itemicon {
  border:0 !important;
  outline:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.inventory .equip .itemicon img{display:block;width:32px;height:32px;object-fit:contain;object-position:center;margin:0;padding:0;border:0;outline:0;box-shadow:none}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
.hero-achievement-link{margin:10px 0}.hero-achievement-link a{display:block;text-align:center;padding:8px;border:1px solid #5b431d;border-radius:6px;background:#15110b;color:#d8b45a;text-decoration:none;font-size:9px;font-weight:900;letter-spacing:1px}.hero-achievement-link a:hover{border-color:#c79a3e;background:#21180d}
/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
.equipped-title{font-size:8px;color:#c7a654;font-weight:800;letter-spacing:.4px}
/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
/* v1.24.0 — unified low-poly fantasy item art presentation */
.inventory .slot .item-visual img,
.inventory .equip .itemicon img,
.inventory .inspect-item-art,
.equipped-potion-widget img,
.listing-icon img { image-rendering:auto; filter:drop-shadow(0 5px 6px rgba(0,0,0,.42)); }
.inventory .slot .item-visual img { transform:scale(1.08); }
.inventory .equip .itemicon img { transform:scale(1.06); }
.listing-icon { display:grid;place-items:center;overflow:hidden; }
.listing-icon img { width:34px;height:34px;object-fit:contain; }

/* v1.26.0: unified transparent low-poly asset presentation. */
.asset-art,.store-icon img,.inventory .item-visual img,.inventory .inspect-item-art,.equipped-potion-widget img,.listing-icon img{background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;object-fit:contain;object-position:center;image-rendering:auto;}
.inventory .slot .item-visual img{transform:scale(1.10);}
.inventory .equip .itemicon img{transform:scale(1.08);}
.inventory .inspect-item-art{max-width:170px;max-height:170px;filter:drop-shadow(0 7px 8px rgba(0,0,0,.38));}
.equipped-potion-widget img{width:54px!important;height:54px!important;max-width:54px!important;max-height:54px!important;filter:drop-shadow(0 6px 7px rgba(0,0,0,.40));}
.feature .store-icon{width:60px;height:60px;display:grid;place-items:center;overflow:visible;}
.feature .store-icon img{width:58px!important;height:58px!important;max-width:58px!important;max-height:58px!important;filter:drop-shadow(0 5px 7px rgba(0,0,0,.42));}
@media(max-width:700px){.feature .store-icon{width:52px;height:52px}.feature .store-icon img{width:50px!important;height:50px!important;max-width:50px!important;max-height:50px!important}.inventory .slot .item-visual img{transform:scale(1.06);}}

/* v1.27.0 potion progression: one red potion family, increasing silhouette size with healing power. */
.feature .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}
.feature .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}
.feature .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}
.feature .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}
.feature .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}
.feature .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}
.feature .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
.store-panel .store-icon.potion-tier-1 img{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important}
.store-panel .store-icon.potion-tier-2 img{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important}
.store-panel .store-icon.potion-tier-3 img{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important}
.store-panel .store-icon.potion-tier-4 img{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important}
.store-panel .store-icon.potion-tier-5 img{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important}
.store-panel .store-icon.potion-tier-6 img{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important}
.store-panel .store-icon.potion-tier-7 img{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important}
.rewards-page,.wallet-page{max-width:1160px;margin:0 auto;padding:18px 22px 60px}.rewards-page .modal-panel,.wallet-page .modal-panel{width:100%;max-height:none;overflow:visible}.wallet-page .wallet-panel{padding-bottom:4px}.wallet-page .wallet-tab-body{display:block!important;margin:14px 20px;padding:16px;border:1px solid #3b2c1c;border-radius:10px;background:#13110e}.wallet-page .wallet-tabs{display:none}.wallet-page .wallet-tab-body[hidden]{display:block!important}.wallet-page .wallet-tab-body h3{margin:0 0 10px;color:#dfbd5d}.wallet-page .wallet-tab-body+.wallet-tab-body{margin-top:10px}.wallet-page .wallet-input{display:flex;align-items:center;gap:8px}.wallet-page .wallet-input input{flex:1}.wallet-page .wallet-input button{background:#17130e;border:1px solid #63481f;color:#d7b75d;border-radius:5px;padding:7px}.wallet-page .wallet-submit{margin-top:10px}.wallet-page .wallet-history{display:grid;gap:8px}.wallet-page .wallet-history>div{display:grid;grid-template-columns:1fr auto;gap:4px;padding:9px;border-bottom:1px solid #2a2319}.wallet-page .wallet-history small{grid-column:1/-1;color:#7d7466}.wallet-page .wallet-history .positive{color:#75df94}.wallet-page .wallet-history .negative{color:#ef8b7e}.wallet-page .wallet-warning{margin:10px 0;padding:10px;border:1px solid #65441d;border-radius:8px;color:#c9b58d;background:#1a150e;font-size:10px}.wallet-page .wallet-demo,.wallet-page .wallet-available,.wallet-page .advanced,.wallet-page .wallet-foot{color:#817869;font-size:9px;margin-top:8px}.wallet-page label{display:block;color:#bdb09a;font-size:10px}.wallet-page label input{display:block;margin-top:5px;width:100%}.walletbar #walletBtn{background:#10100c;border:1px solid #8f7626;color:#e4c55c;border-radius:20px;padding:9px 14px;font-weight:800;text-decoration:none}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
/* v1.28.0 Store polish: align the dedicated Store page with Marketplace styling. */
.store-page .store-section{margin-top:12px;padding:14px}
.store-page .store-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.store-page .store-section-head h2{margin:0;color:#dfbd5d;font-size:13px;letter-spacing:.5px}
.store-page .store-section-head p{margin:4px 0 0;color:#786f64;font-size:8px}
.store-page .store-section-badge{border:1px solid #5a4320;border-radius:14px;padding:5px 9px;color:#c9a858;font-size:8px;font-weight:900;white-space:nowrap}
.store-page .store-grid-clean{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.store-page .store-item-clean{display:grid;grid-template-columns:52px 1fr 120px;align-items:center;gap:9px;min-height:66px;padding:9px 10px;border:1px solid #33291f;background:#12100d;border-radius:7px}
.store-page .store-item-clean:hover{border-color:#63481f}
.store-page .store-icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;background:transparent;border:0;box-shadow:none;border-radius:0}
.store-page .store-icon img{object-fit:contain;display:block;background:transparent;border:0;box-shadow:none;outline:0}
.store-page .store-generic-icon{font-size:24px;color:#d8b253}
.store-page .store-key-icon img{width:42px;height:42px}
.store-page .store-copy strong{display:block;color:#e2d6c2;font-size:10px}
.store-page .store-copy span{display:block;color:#756d62;font-size:8px;line-height:1.4;margin-top:3px}
.store-page .store-buy{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.store-page .store-buy>b{color:#e4c15c;font-size:9px;white-space:nowrap}
.store-page .store-buy form{margin:0;width:auto}
.store-page .store-buy .gold-btn{padding:7px 12px;font-size:9px;min-width:74px}
.store-page .store-potion-item .store-icon{height:64px}
.store-page .store-potion-item .store-icon img{width:var(--potion-w,44px)!important;height:var(--potion-h,56px)!important;max-width:none!important;max-height:none!important}
.store-page .store-potion-item .potion-tier-1 img{--potion-w:32px;--potion-h:43px}
.store-page .store-potion-item .potion-tier-2 img{--potion-w:36px;--potion-h:47px;transform:scaleX(1.04)}
.store-page .store-potion-item .potion-tier-3 img{--potion-w:40px;--potion-h:51px;transform:scaleX(1.08)}
.store-page .store-potion-item .potion-tier-4 img{--potion-w:45px;--potion-h:56px;transform:scaleX(1.12)}
.store-page .store-potion-item .potion-tier-5 img{--potion-w:50px;--potion-h:61px;transform:scaleX(1.16)}
.store-page .store-potion-item .potion-tier-6 img{--potion-w:56px;--potion-h:67px;transform:scaleX(1.21)}
.store-page .store-potion-item .potion-tier-7 img{--potion-w:62px;--potion-h:73px;transform:scaleX(1.26)}
@media(max-width:850px){.store-page .store-grid-clean{grid-template-columns:1fr}}
@media(max-width:520px){.store-page .store-item-clean{grid-template-columns:46px 1fr;}.store-page .store-buy{grid-column:2;align-items:flex-start;flex-direction:row;justify-content:space-between;width:100%}.store-page .store-buy>b{align-self:center}.store-page .store-section-head{align-items:flex-start}}
/* v1.28.0 inventory pet purchase button cleanup. */
.inventory .pet-actions button.pet-buy{width:auto;min-width:0;padding:5px 10px;font-size:9px}
/* v1.33.0 polish: mailbox, gacha rates, leaderboard typography, market rules and pet actions. */
.mailbox-empty-message{font-size:12px!important;line-height:1.5;color:#b8ad9c!important;margin:10px 0}
.gacha-rate-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;padding:10px 12px 12px}
.gacha-rate{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:9px 10px;border:1px solid #2c241b;background:#0e0d0b;border-radius:6px}
.gacha-rate span{color:#b9ad9c;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gacha-rate b{color:#ffd24d;font-size:10px;white-space:nowrap}
.leader-page{font-size:var(--sf-body)}
.leader-page .leader-head h1{font-size:22px}
.leader-page .leader-head span{font-size:10px}
.leader-page .leader-season-state b{font-size:11px}
.leader-page .leader-season-state small{font-size:9px}
.leader-page .v13-tabs b{font-size:10px}
.leader-page .v13-tabs small{font-size:8px}
.leader-page .leader-overview span{font-size:8px}
.leader-page .leader-overview b{font-size:13px}
.leader-page .leader-overview small{font-size:8px}
.leader-page .table-wrap th,.leader-page .table-wrap td{font-size:10px!important}
.leader-page .table-wrap th{font-size:8px!important}
.leader-page .table-wrap td small{font-size:8px!important}
.leader-page .prize-banner{font-size:10px}
.leader-page .leader-history,.leader-page .leader-note{font-size:10px}
.leader-page .leader-explainer{display:none!important}
.inventory .pet-actions button.pet-buy{padding:4px 8px!important;font-size:8px!important;line-height:1.1!important}
.market-page .listing-detail h2{font-size:16px!important}
.market-page .listing-detail p{font-size:10px!important;line-height:1.7}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:9px}}
/* v1.34.0 polish: gacha rates, market swap copy, and Market-style staking. */
.gacha-rate-grid{grid-template-columns:repeat(5,minmax(0,1fr));justify-items:stretch;align-items:stretch}
.gacha-rate{justify-content:center;text-align:center;gap:10px;padding:10px 12px}
.gacha-rate span,.gacha-rate b{font-size:11px}
.gacha-rate b{font-size:12px}
.market-page .swap-minimum{font-size:12px!important;line-height:1.7}
.stake-page{max-width:1180px!important;margin:0 auto!important;padding:14px!important;color:#c7bba8}
.stake-page .page-head{display:flex;align-items:center;gap:15px;border:1px solid #33291f;background:#12100d;padding:15px;border-radius:7px;margin-bottom:10px}
.stake-page .page-head h1{margin:0;color:#e9c45e;font-size:22px}
.stake-page .stake-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:8px}
.stake-page .stake-card,.stake-page .your-stake,.stake-page .top-stakers{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:14px;box-shadow:none}
.stake-page .stake-card h2,.stake-page .top-stakers h2{color:#dfc05f;font-size:15px}
.stake-page .stake-card>p,.stake-page .top-stakers>p{color:#82786b;font-size:10px;line-height:1.7}
.stake-page .stake-input{background:#0d0c0b;border:1px solid #3a3026;border-radius:5px;padding:10px}
.stake-page .stake-input input{font-size:15px}
.stake-page .tier-track{margin:22px 0}
.stake-page .lock-row{gap:8px}
.stake-page .lock-row>label{display:block;padding:12px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .lock-row>label.selected{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.stake-page .your-stake h3{font-size:12px;color:#dfc05f}
.stake-page .your-stake p{font-size:10px;color:#82786b}
.stake-page .your-stake-amount{color:#e5c45d;font-size:26px;font-weight:900}
.stake-page .your-stake button{background:#15120e;border:1px solid #3b2b1c;color:#d8bf72;border-radius:5px;padding:9px;width:100%}
.stake-page .top-stakers{margin-top:8px}
.stake-page .top-stakers table{width:100%;border-collapse:collapse}
.stake-page .top-stakers th,.stake-page .top-stakers td{font-size:10px;padding:9px 8px;border-bottom:1px solid #29231c}
.stake-page .stake-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.stake-page .stake-info-card{border:1px solid #33291f;background:#12100d;border-radius:7px;padding:12px}
.stake-page .stake-info-card b{color:#e5c45d;font-size:15px}.stake-page .stake-info-card span{display:block;color:#b9ad9b;font-size:10px;margin-top:3px}.stake-page .stake-info-card small{display:block;color:#756c60;font-size:9px;margin-top:3px}
@media(max-width:850px){.stake-page .stake-top{grid-template-columns:1fr}.stake-page .stake-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px}}
/* v1.36.0 polish */
.inventory .pet-actions button.pet-buy{padding:2px 6px!important;font-size:7px!important;line-height:1!important;min-height:0!important;border-radius:4px!important;width:auto!important}
/* v1.38.0: inventory pet Purchase buttons reduced by another 50%. */
.inventory .pet-actions button.pet-buy{padding:1px 3px!important;font-size:6px!important;line-height:.9!important;min-height:0!important;border-radius:3px!important;width:auto!important;box-shadow:none!important}
.gacha-rate-grid{display:grid;grid-template-columns:repeat(5,minmax(130px,150px));justify-content:center;justify-items:stretch;gap:8px;padding:12px 10px 14px}
.gacha-rate{display:flex;align-items:center;justify-content:center!important;text-align:center!important;gap:10px;padding:10px 8px;min-height:38px}
.gacha-rate span,.gacha-rate b{font-size:12px!important}
.gacha-rate b{font-size:13px!important}
.claim-balance-btn:disabled{opacity:.38;cursor:not-allowed;filter:none}
.store-page .store-section-head p{display:none!important}
@media(max-width:1000px){.gacha-rate-grid{grid-template-columns:repeat(3,minmax(130px,1fr))}}
@media(max-width:620px){.gacha-rate-grid{grid-template-columns:repeat(2,minmax(120px,1fr));gap:7px;padding:9px}.gacha-rate{padding:8px}.gacha-rate span,.gacha-rate b{font-size:10px!important}}
/* v1.37.0 polish: full-width five-column Gacha drop-rate grid. */
.gacha-page .drop-rates .gacha-rate-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  width:100%!important;
  box-sizing:border-box!important;
  gap:10px!important;
  padding:14px!important;
  justify-content:stretch!important;
}
.gacha-page .drop-rates .gacha-rate{
  min-width:0!important;
  width:auto!important;
  min-height:44px!important;
  padding:11px 10px!important;
  box-sizing:border-box!important;
  justify-content:center!important;
  text-align:center!important;
}
.gacha-page .drop-rates .gacha-rate span,.gacha-page .drop-rates .gacha-rate b{
  font-size:12px!important;
}
.gacha-page .drop-rates .gacha-rate b{font-size:13px!important}
.store-page .store-section-badge{display:none!important}
@media(max-width:1000px){.gacha-page .drop-rates .gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:620px){.gacha-page .drop-rates .gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;padding:9px!important}.gacha-page .drop-rates .gacha-rate{padding:8px!important}.gacha-page .drop-rates .gacha-rate span,.gacha-page .drop-rates .gacha-rate b{font-size:10px!important}}
/* v1.39.0 Hero tab redesign: class-specific low-poly character models + equipped visual loadout. */
.hero-profile-redesign{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);gap:10px;margin-top:10px}
.hero-model-panel,.hero-loadout-panel{border:1px solid #33291f;background:#100e0c;border-radius:7px;overflow:hidden;box-shadow:inset 0 0 28px #0008}
.hero-model-panel{min-height:430px;position:relative}
.hero-model-class{height:48px;padding:8px 12px;border-bottom:1px solid #33291f;background:linear-gradient(180deg,#19140e,#100e0c);display:flex;align-items:center;gap:8px}
.hero-model-class span{font-size:20px}.hero-model-class b{color:#e8c15a;font-size:14px;letter-spacing:1px}.hero-model-class small{margin-left:auto;color:#756c5f;font-size:8px;letter-spacing:1.4px}
.hero-model-stage{position:relative;min-height:380px;height:calc(100% - 48px);display:flex;align-items:flex-end;justify-content:center;overflow:hidden;background:radial-gradient(circle at 50% 38%,#3b2818 0,#17110c 42%,#0d0b09 78%)}
.hero-model{width:100%;height:380px;object-fit:contain;object-position:center bottom;display:block;filter:drop-shadow(0 14px 18px #000b)}
.hero-model-panel.mage .hero-model,.hero-model-panel.rogue .hero-model{width:72%;max-width:330px}
.hero-model-panel.warrior .hero-model{width:94%;max-width:560px}
.hero-gear-overlays{position:absolute;inset:0;pointer-events:none}
.hero-gear-overlay{position:absolute;width:42px;height:42px;object-fit:contain;filter:drop-shadow(0 0 6px #000);opacity:.94}
.hero-gear-overlay.weapon{left:10%;bottom:18%}.hero-gear-overlay.shield{right:10%;bottom:24%}.hero-gear-overlay.helmet{left:50%;top:9%;transform:translateX(-50%)}.hero-gear-overlay.chest{left:50%;top:31%;transform:translateX(-50%)}.hero-gear-overlay.gloves{left:18%;top:45%}.hero-gear-overlay.boots{left:30%;bottom:5%}.hero-gear-overlay.amulet{left:50%;top:45%;transform:translateX(-50%)}.hero-gear-overlay.ring{right:17%;top:52%}
.hero-loadout-panel{padding:0 13px 13px}.hero-loadout-head{display:flex;align-items:center;justify-content:space-between;padding:13px 0 11px;border-bottom:1px solid #33291f}.hero-loadout-head small{display:block;color:#8a7b67;font-size:8px;letter-spacing:1.5px}.hero-loadout-head h3{margin:3px 0 0;color:#ead7b5;font-size:16px}.hero-loadout-head>span{color:#e2bb54;font-size:12px;font-weight:900}
.hero-profile-redesign .hero-equip-list{display:grid;gap:0;margin-top:4px}.hero-profile-redesign .hero-equip-list>div{display:grid;grid-template-columns:74px minmax(0,1fr);gap:8px;padding:8px 0;border-bottom:1px solid #29231c;align-items:center}.hero-profile-redesign .hero-equip-list span{color:#8d8376;font-size:10px}.hero-profile-redesign .hero-equip-list b{font-size:11px;line-height:1.25;text-align:right}.hero-profile-redesign .hero-achievement-link{margin-top:10px}.hero-profile-redesign .hero-tab-stats{margin-top:10px}
@media(max-width:760px){.hero-profile-redesign{grid-template-columns:1fr}.hero-model-panel{min-height:390px}.hero-model-stage{min-height:340px}.hero-model{height:340px}.hero-model-panel.mage .hero-model,.hero-model-panel.rogue .hero-model{width:68%}}
/* v1.40.0 Hero tab polish */
.hero-profile-redesign{grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:12px}
.hero-model-panel{min-height:500px;background:#0b0a08;border-color:#4a351b}
.hero-model-class{height:54px;padding:9px 14px;background:linear-gradient(180deg,#21180e,#100e0c)}
.hero-model-class span{font-size:22px}.hero-model-class b{font-size:16px}.hero-model-class small{font-size:9px}
.hero-model-stage{min-height:445px;height:calc(100% - 54px);background:radial-gradient(circle at 50% 42%,#4a3019 0,#1a120d 44%,#090806 82%)}
.hero-model{height:445px;width:100%;max-width:520px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 18px 20px #000d)}
.hero-model-panel.mage .hero-model,.hero-model-panel.rogue .hero-model{width:100%;max-width:410px}
.hero-equipped-badges{position:absolute;left:10px;right:10px;bottom:10px;display:flex;justify-content:center;gap:5px;flex-wrap:wrap;pointer-events:none}
.hero-equipped-badge{display:flex;align-items:center;gap:3px;padding:2px 5px;border:1px solid #46351f;border-radius:4px;background:#0b0907dd;box-shadow:0 3px 8px #0008}
.hero-equipped-badge img{width:18px;height:18px;object-fit:contain;background:transparent;border:0}.hero-equipped-badge span{font-size:6px;color:#d8c9af;text-transform:uppercase;letter-spacing:.4px}
.hero-equipped-badge.common{border-color:#999}.hero-equipped-badge.uncommon{border-color:#5ce36a}.hero-equipped-badge.rare{border-color:#4dc8ff}.hero-equipped-badge.epic{border-color:#c86cff}.hero-equipped-badge.legendary{border-color:#ffad35}.hero-equipped-badge.mythic{border-color:#ff3f4a}.hero-equipped-badge.cosmic{border-color:#baff37}.hero-equipped-badge.divine{border-color:#ff55df}.hero-equipped-badge.celestial{border-color:#58e9ff}.hero-equipped-badge.angel{border-color:#ffb3ef}.hero-equipped-badge.god{border-color:#ffd45c}
.hero-loadout-panel{padding:0 15px 15px;background:#0e0c0a;border-color:#4a351b}.hero-loadout-head{padding:15px 0 12px}.hero-loadout-head small{font-size:9px}.hero-loadout-head h3{font-size:18px}.hero-loadout-head>span{font-size:13px}
.hero-profile-redesign .hero-equip-list>div{grid-template-columns:72px minmax(0,1fr);padding:9px 0}.hero-profile-redesign .hero-equip-list span{font-size:10px}.hero-profile-redesign .hero-equip-list b{font-size:11px}
.hero-profile-redesign .hero-tab-stats{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.hero-profile-redesign .hero-tab-stats span{display:flex;flex-direction:column;gap:3px;padding:8px;border:1px solid #33291f;background:#12100e;font-size:8px;color:#8d8376}.hero-profile-redesign .hero-tab-stats b{font-size:12px;color:#e9dfcc}
.hero-profile-redesign .hero-achievement-link a{font-size:9px;padding:8px}
@media(max-width:760px){.hero-profile-redesign{grid-template-columns:1fr}.hero-model-panel{min-height:430px}.hero-model-stage{min-height:380px}.hero-model{height:380px}}
/* v1.40.0 landing page is a fixed viewport experience */
html:has(.sf-home),body:has(.sf-home){height:100%;overflow:hidden!important}
.sf-home{height:100vh;min-height:0;overflow:hidden}
.sf-home-hero{height:68vh;max-height:68vh;aspect-ratio:auto;background-size:cover;background-position:center top}
.sf-home-content{height:32vh;box-sizing:border-box;margin:0 auto;padding:8px 18px 10px;overflow:hidden}
.sf-home-stats{padding:9px 14px}.sf-home-stat b{font-size:20px}.sf-home-stat span{font-size:10px}
.sf-home-features{margin-top:8px;gap:10px}.sf-home-feature{min-height:0;height:15vh;padding:12px 10px;box-sizing:border-box}.sf-home-feature .icon{font-size:26px;margin-bottom:4px}.sf-home-feature h2{font-size:14px;margin-bottom:4px}.sf-home-feature p{font-size:10px}
@media(max-width:900px){.sf-home-hero{height:62vh;max-height:62vh}.sf-home-content{height:38vh}.sf-home-feature{height:16vh}}
@media(max-width:560px){html:has(.sf-home),body:has(.sf-home){overflow:auto!important}.sf-home{height:auto;min-height:100vh;overflow:visible}.sf-home-hero{height:610px;max-height:none;aspect-ratio:auto;background-size:auto 610px}.sf-home-content{height:auto;overflow:visible}.sf-home-feature{height:auto;min-height:105px}}
/* v1.40.0 Hero tab responsive correction: the inventory lives in a narrow right column. */
.hero-profile-redesign{display:block;margin-top:10px}
.hero-model-panel,.hero-loadout-panel{width:100%;box-sizing:border-box}
.hero-model-panel{min-height:0}
.hero-model-stage{min-height:360px;height:360px}
.hero-model{height:350px;width:auto!important;max-width:82%!important}
.hero-model-panel.mage .hero-model,.hero-model-panel.rogue .hero-model{width:auto!important;max-width:68%!important}
.hero-equipped-badges{position:static;padding:7px 8px 8px;background:#0d0b09;border-top:1px solid #33291f;justify-content:center}
.hero-equipped-badge{padding:2px 4px}.hero-equipped-badge img{width:20px;height:20px}.hero-equipped-badge span{font-size:6px}
.hero-loadout-panel{margin-top:10px;padding:0 12px 12px}
.hero-profile-redesign .hero-equip-list>div{grid-template-columns:70px minmax(0,1fr);padding:8px 0}
.hero-profile-redesign .hero-equip-list b{text-align:right;overflow-wrap:anywhere}
.hero-profile-redesign .hero-tab-stats{grid-template-columns:1fr 1fr}
@media(max-width:700px){.hero-model-stage{min-height:330px;height:330px}.hero-model{height:320px;max-width:84%!important}.hero-model-panel.mage .hero-model,.hero-model-panel.rogue .hero-model{max-width:72%!important}}
/* v1.40.0 landing page: keep the desktop homepage inside one viewport. */
html:has(.sf-home),body:has(.sf-home){height:100%;overflow:hidden!important}
.sf-home{height:100vh;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.sf-home-hero{flex:0 0 67vh;height:67vh;max-height:67vh;aspect-ratio:auto;background-size:cover;background-position:center top}
.sf-home-content{flex:1 1 auto;height:33vh;max-height:33vh;box-sizing:border-box;margin:0 auto;padding:7px 18px 8px;overflow:hidden;width:100%}
.sf-home-stats{padding:8px 14px}.sf-home-stat b{font-size:19px}.sf-home-stat span{font-size:9px}
.sf-home-features{margin-top:7px;gap:9px}.sf-home-feature{height:15vh;min-height:0;padding:10px 8px}.sf-home-feature .icon{font-size:24px;margin-bottom:3px}.sf-home-feature h2{font-size:13px;margin-bottom:3px}.sf-home-feature p{font-size:9px;line-height:1.35}
@media(max-width:900px) and (min-width:561px){.sf-home-hero{flex-basis:60vh;height:60vh;max-height:60vh}.sf-home-content{height:40vh;max-height:40vh}.sf-home-feature{height:17vh}}
@media(max-width:560px){html:has(.sf-home),body:has(.sf-home){overflow:auto!important}.sf-home{height:auto;min-height:100vh;overflow:visible;display:block}.sf-home-hero{height:610px;max-height:none;aspect-ratio:auto}.sf-home-content{height:auto;max-height:none;overflow:visible}.sf-home-feature{height:auto;min-height:105px}}
/* v1.41.0 Hero paper-doll: equipped item artwork is positioned directly on the class model. */
.hero-model-stage{isolation:isolate}
.hero-model{position:relative;z-index:1;opacity:.82}
.hero-worn-label{position:absolute;left:10px;top:9px;z-index:5;padding:4px 7px;border:1px solid #4a351b;border-radius:4px;background:#0b0907cc;color:#d9b85b;font-size:7px;font-weight:900;letter-spacing:1.1px;pointer-events:none}
.hero-worn-gear{position:absolute;inset:0;z-index:4;pointer-events:none}
.hero-worn-slot{position:absolute;display:grid;place-items:center;filter:drop-shadow(0 5px 7px #000d)}
.hero-worn-slot img{width:100%;height:100%;object-fit:contain;background:transparent;border:0;outline:0;box-shadow:none}
.hero-worn-slot.weapon{width:72px;height:92px;left:8%;bottom:20%;transform:rotate(-8deg)}
.hero-worn-slot.shield{width:70px;height:82px;right:8%;bottom:22%}
.hero-worn-slot.helmet{width:66px;height:66px;left:50%;top:9%;transform:translateX(-50%)}
.hero-worn-slot.chest{width:86px;height:86px;left:50%;top:30%;transform:translateX(-50%)}
.hero-worn-slot.gloves{width:62px;height:62px;left:13%;top:43%}
.hero-worn-slot.boots{width:68px;height:62px;left:29%;bottom:5%}
.hero-worn-slot.amulet{width:46px;height:46px;left:50%;top:43%;transform:translateX(-50%)}
.hero-worn-slot.ring{width:34px;height:34px;right:18%;top:53%}
.hero-worn-slot.common{filter:drop-shadow(0 4px 6px #000d)}
.hero-worn-slot.uncommon{filter:drop-shadow(0 0 6px #54e36c99)}
.hero-worn-slot.rare{filter:drop-shadow(0 0 7px #54c8ff99)}
.hero-worn-slot.epic{filter:drop-shadow(0 0 8px #d274ff99)}
.hero-worn-slot.legendary{filter:drop-shadow(0 0 8px #ffae3299)}
.hero-worn-slot.mythic{filter:drop-shadow(0 0 8px #ff4b4399)}
.hero-worn-slot.cosmic{filter:drop-shadow(0 0 9px #c4ff4d99)}
.hero-worn-slot.divine{filter:drop-shadow(0 0 9px #ff61e999)}
.hero-worn-slot.celestial{filter:drop-shadow(0 0 9px #58e9ff99)}
.hero-worn-slot.angel{filter:drop-shadow(0 0 10px #ffb3efaa)}
.hero-worn-slot.god{filter:drop-shadow(0 0 10px #ffd45caa)}
@media(max-width:700px){
 .hero-model{opacity:.74}
 .hero-worn-slot.weapon{width:62px;height:80px;left:7%;bottom:21%}
 .hero-worn-slot.shield{width:60px;height:72px;right:7%;bottom:23%}
 .hero-worn-slot.helmet{width:58px;height:58px;top:9%}
 .hero-worn-slot.chest{width:76px;height:76px;top:30%}
 .hero-worn-slot.gloves{width:54px;height:54px;left:11%;top:43%}
 .hero-worn-slot.boots{width:58px;height:54px;left:27%;bottom:5%}
 .hero-worn-slot.amulet{width:42px;height:42px;top:43%}
 .hero-worn-slot.ring{width:30px;height:30px;right:16%;top:53%}
}
/* v1.42.0 modular Hero paper-doll: one clean base body, with equipped item sprites mounted to real body locations. */
.hero-model-stage{min-height:410px!important;height:410px!important;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle at 50% 40%,#3a2617 0,#17110d 46%,#0b0907 84%);}
.hero-paperdoll{position:relative;width:260px;height:406px;flex:0 0 260px;}
.hero-paperdoll .hero-model{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain;z-index:1;opacity:1!important;display:block;}
.hero-paperdoll .hero-worn-gear{position:absolute;inset:0;z-index:3;pointer-events:none;}
.hero-paperdoll .hero-worn-slot{position:absolute;display:grid;place-items:center;filter:drop-shadow(0 3px 4px #000d);}
.hero-paperdoll .hero-worn-slot img{width:100%;height:100%;object-fit:contain;background:transparent;border:0;outline:0;box-shadow:none;display:block;}
/* Coordinates are percentages of the same 260x406 paper-doll canvas, so gear stays attached when the model scales. */
.hero-paperdoll .hero-worn-slot.helmet{left:38%;top:2%;width:24%;height:15%;transform:none;}
.hero-paperdoll .hero-worn-slot.chest{left:28%;top:20%;width:44%;height:23%;transform:none;}
.hero-paperdoll .hero-worn-slot.amulet{left:40%;top:18%;width:20%;height:12%;transform:none;}
.hero-paperdoll .hero-worn-slot.weapon{left:2%;top:43%;width:24%;height:30%;transform:rotate(-8deg);transform-origin:center;}
.hero-paperdoll .hero-worn-slot.shield{right:1%;top:43%;width:24%;height:25%;transform:none;}
.hero-paperdoll .hero-worn-slot.gloves{left:31%;top:46%;width:38%;height:15%;transform:none;}
.hero-paperdoll .hero-worn-slot.ring{right:7%;top:57%;width:11%;height:8%;transform:none;}
.hero-paperdoll .hero-worn-slot.boots{left:28%;bottom:2%;width:44%;height:15%;transform:none;}
.hero-paperdoll .hero-worn-slot.common{filter:drop-shadow(0 3px 4px #000d)}
.hero-paperdoll .hero-worn-slot.uncommon{filter:drop-shadow(0 0 5px #54e36c99)}
.hero-paperdoll .hero-worn-slot.rare{filter:drop-shadow(0 0 6px #54c8ff99)}
.hero-paperdoll .hero-worn-slot.epic{filter:drop-shadow(0 0 7px #d274ff99)}
.hero-paperdoll .hero-worn-slot.legendary{filter:drop-shadow(0 0 8px #ffae3299)}
.hero-paperdoll .hero-worn-slot.mythic{filter:drop-shadow(0 0 8px #ff4b4399)}
.hero-paperdoll .hero-worn-slot.cosmic{filter:drop-shadow(0 0 8px #c4ff4d99)}
.hero-paperdoll .hero-worn-slot.divine{filter:drop-shadow(0 0 8px #ff61e999)}
.hero-paperdoll .hero-worn-slot.celestial{filter:drop-shadow(0 0 8px #58e9ff99)}
.hero-paperdoll .hero-worn-slot.angel{filter:drop-shadow(0 0 9px #ffb3efaa)}
.hero-paperdoll .hero-worn-slot.god{filter:drop-shadow(0 0 9px #ffd45caa)}
.hero-worn-label{z-index:10;}
/* Give the achievement destination its own strong visual identity instead of inheriting Store-like panels. */
.achievements-page{max-width:1180px;margin:0 auto;padding:22px 18px 42px;}
.achievements-page .achievements-hero{background:linear-gradient(135deg,#17120d,#0d0b09);border:1px solid #4b381d;box-shadow:0 12px 30px #0008;}
.achievements-page .achievement-grid{align-items:start;}
.achievements-page .section-label{margin-top:4px;}
.achievements-page .achievement-card{background:#12100e;border-color:#30291f;transition:border-color .15s,transform .15s;}
.achievements-page .achievement-card:hover{border-color:#69501f;transform:translateY(-1px);}
.achievements-page .achievement-card.unlocked{background:linear-gradient(135deg,#17130d,#11100e);border-color:#6b5223;}
.achievements-page .achievement-card .badge{flex:0 0 30px;}
.achievements-page .title-btn{cursor:pointer;}
@media(max-width:760px){.hero-model-stage{min-height:395px!important;height:395px!important}.hero-paperdoll{transform:scale(.92);transform-origin:center}.achievements-page{padding:12px 10px 30px;}.achievements-page .achievements-hero{padding:17px;}}
/* v1.43 modular hero paper-doll alignment: every class uses the same body silhouette */
.hero-paperdoll{position:relative;width:260px;height:406px;flex:0 0 260px;}
.hero-paperdoll .hero-model{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain;z-index:1;opacity:1!important;display:block;}
.hero-paperdoll .hero-worn-gear{position:absolute;inset:0;z-index:3;pointer-events:none;}
.hero-paperdoll .hero-worn-slot{position:absolute;display:grid;place-items:center;filter:drop-shadow(0 3px 4px #000d);}
.hero-paperdoll .hero-worn-slot img{width:100%;height:100%;object-fit:contain;background:transparent;border:0;outline:0;box-shadow:none;display:block;}
/* Anchors are based on the actual body silhouette in hero_base_*.png, not the old class artwork. */
.hero-paperdoll .hero-worn-slot.helmet{left:39%;top:0%;width:23%;height:20%;transform:none;}
.hero-paperdoll .hero-worn-slot.chest{left:25%;top:20%;width:50%;height:29%;transform:none;}
.hero-paperdoll .hero-worn-slot.amulet{left:41%;top:21%;width:18%;height:12%;transform:none;}
.hero-paperdoll .hero-worn-slot.gloves{left:31%;top:52%;width:38%;height:17%;transform:none;}
.hero-paperdoll .hero-worn-slot.boots{left:27%;bottom:2%;width:46%;height:18%;transform:none;}
.hero-paperdoll .hero-worn-slot.shield{right:2%;top:49%;width:25%;height:22%;transform:none;}
.hero-paperdoll .hero-worn-slot.ring{right:8%;top:54%;width:10%;height:9%;transform:none;}
.hero-paperdoll .hero-worn-slot.weapon{left:1%;top:39%;width:29%;height:47%;transform:none;transform-origin:center;}
/* Staffs are long and should run from the hand toward the ground. */
.hero-paperdoll .hero-worn-slot.weapon.staff{left:0%;top:34%;width:31%;height:51%;transform:none;}
/* One-handed weapons sit closer to the hand. */
.hero-paperdoll .hero-worn-slot.weapon.sword,
.hero-paperdoll .hero-worn-slot.weapon.axe,
.hero-paperdoll .hero-worn-slot.weapon.hammer,
.hero-paperdoll .hero-worn-slot.weapon.dagger,
.hero-paperdoll .hero-worn-slot.weapon.bow{left:3%;top:43%;width:27%;height:38%;}
.hero-paperdoll .hero-worn-slot.common{filter:drop-shadow(0 3px 4px #000d)}
.hero-paperdoll .hero-worn-slot.uncommon{filter:drop-shadow(0 0 5px #54e36c99)}
.hero-paperdoll .hero-worn-slot.rare{filter:drop-shadow(0 0 6px #54c8ff99)}
.hero-paperdoll .hero-worn-slot.epic{filter:drop-shadow(0 0 7px #d274ff99)}
.hero-paperdoll .hero-worn-slot.legendary{filter:drop-shadow(0 0 8px #ffae3299)}
.hero-paperdoll .hero-worn-slot.mythic{filter:drop-shadow(0 0 8px #ff4b4399)}
.hero-paperdoll .hero-worn-slot.cosmic{filter:drop-shadow(0 0 8px #c4ff4d99)}
.hero-paperdoll .hero-worn-slot.divine{filter:drop-shadow(0 0 8px #ff61e999)}
.hero-paperdoll .hero-worn-slot.celestial{filter:drop-shadow(0 0 8px #58e9ff99)}
.hero-paperdoll .hero-worn-slot.angel{filter:drop-shadow(0 0 9px #ffb3efaa)}
.hero-paperdoll .hero-worn-slot.god{filter:drop-shadow(0 0 9px #ffd45caa)}
@media(max-width:760px){.hero-paperdoll{transform:scale(.92);transform-origin:center;}}
/* v1.43 split paired gear so gloves and boots sit on the actual hands/feet */
.hero-paperdoll .hero-worn-slot.glove-left{left:2%;top:49%;width:22%;height:20%;}
.hero-paperdoll .hero-worn-slot.glove-right{right:2%;top:49%;width:22%;height:20%;}
.hero-paperdoll .hero-worn-slot.boot-left{left:20%;bottom:1%;width:23%;height:19%;}
.hero-paperdoll .hero-worn-slot.boot-right{right:20%;bottom:1%;width:23%;height:19%;}
/* v1.44 final Hero paper-doll anchors: align item sprites to the shared body silhouette. */
.hero-paperdoll{width:260px!important;height:406px!important;flex:0 0 260px!important;}
.hero-paperdoll .hero-model{inset:0!important;width:100%!important;height:100%!important;object-fit:fill!important;}
.hero-paperdoll .hero-worn-gear{inset:0!important;}
.hero-paperdoll .hero-worn-slot{position:absolute!important;display:grid!important;place-items:center!important;}
.hero-paperdoll .hero-worn-slot img{width:100%!important;height:100%!important;object-fit:contain!important;}
/* head / neck / torso */
.hero-paperdoll .hero-worn-slot.helmet{left:34%!important;top:-1%!important;width:32%!important;height:22%!important;}
.hero-paperdoll .hero-worn-slot.chest{left:23%!important;top:19%!important;width:54%!important;height:31%!important;}
.hero-paperdoll .hero-worn-slot.amulet{left:42%!important;top:18%!important;width:16%!important;height:12%!important;}
/* hands / arms */
.hero-paperdoll .hero-worn-slot.glove-left{left:3%!important;top:47%!important;width:20%!important;height:18%!important;}
.hero-paperdoll .hero-worn-slot.glove-right{right:3%!important;top:47%!important;width:20%!important;height:18%!important;}
/* feet */
.hero-paperdoll .hero-worn-slot.boot-left{left:20%!important;bottom:-1%!important;width:20%!important;height:15%!important;}
.hero-paperdoll .hero-worn-slot.boot-right{right:20%!important;bottom:-1%!important;width:20%!important;height:15%!important;}
/* held items */
.hero-paperdoll .hero-worn-slot.weapon{left:2%!important;top:44%!important;width:20%!important;height:30%!important;transform:none!important;}
.hero-paperdoll .hero-worn-slot.weapon.staff{left:1%!important;top:39%!important;width:20%!important;height:42%!important;}
.hero-paperdoll .hero-worn-slot.weapon.sword,.hero-paperdoll .hero-worn-slot.weapon.axe,.hero-paperdoll .hero-worn-slot.weapon.hammer,.hero-paperdoll .hero-worn-slot.weapon.dagger,.hero-paperdoll .hero-worn-slot.weapon.bow{left:2%!important;top:44%!important;width:20%!important;height:30%!important;}
.hero-paperdoll .hero-worn-slot.shield{right:4%!important;top:46%!important;width:19%!important;height:22%!important;}
.hero-paperdoll .hero-worn-slot.ring{right:8%!important;top:53%!important;width:8%!important;height:7%!important;}
@media(max-width:760px){.hero-paperdoll{transform:none!important;width:260px!important;height:406px!important;}}
/* v1.45.1 — Hero overview now shows the currently equipped achievement title. */
/* v1.45.0 — Hero tab no longer renders the character/equipment paper-doll. */
.hero-profile-clean{display:block;margin-top:10px}
.hero-overview-panel,.hero-loadout-panel{width:100%;box-sizing:border-box;border:1px solid #33291f;background:#100e0c;border-radius:7px;overflow:hidden;box-shadow:inset 0 0 28px #0008}
.hero-overview-panel{padding:14px}
.hero-overview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #33291f}
.hero-overview-head small,.hero-overview-grid small,.hero-overview-passive>span,.hero-overview-xp span{display:block;color:#8d7040;font-size:7px;letter-spacing:1.5px;font-weight:900}
.hero-overview-head h3{margin:5px 0 3px;color:#eadfc9;font-size:18px;letter-spacing:1px}.hero-overview-head h3 span{color:#e2bd54}.hero-overview-head p{margin:0;color:#777064;font-size:8px;line-height:1.4}
.hero-overview-level{text-align:right;white-space:nowrap}.hero-overview-level b{display:block;color:#e8c55d;font-size:14px}.hero-overview-level span{display:block;margin-top:3px;color:#766d61;font-size:7px}
.hero-current-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;padding:9px 10px;border:1px solid #3b2d1d;border-radius:5px;background:rgba(20,16,12,.72)}.hero-current-title small{color:#8d7040;font-size:7px;letter-spacing:1.5px;font-weight:900}.hero-current-title b{color:#e8c55d;font-size:10px;text-align:right;overflow-wrap:anywhere}
.hero-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px}
.hero-overview-grid>div{padding:8px 9px;background:#12100e;border:1px solid #2e271f}.hero-overview-grid b{display:block;margin-top:3px;color:#e9dfcc;font-size:12px}
.hero-overview-passive{margin-top:8px;padding:9px 10px;background:linear-gradient(135deg,#17130d,#100e0c);border:1px solid #44351f;border-radius:4px}.hero-overview-passive b{display:block;margin-top:3px;color:#d9bb70;font-size:10px}.hero-overview-passive p{margin:4px 0 0;color:#7e766b;font-size:8px;line-height:1.45}
.hero-overview-xp{margin-top:10px}.hero-overview-xp>div{display:flex;justify-content:space-between;gap:8px}.hero-overview-xp>div b{color:#bfb29f;font-size:7px}.hero-overview-xp>i{display:block;height:5px;margin-top:5px;background:#080706;border:1px solid #30281f;border-radius:5px;overflow:hidden}.hero-overview-xp>i em{display:block;height:100%;background:linear-gradient(90deg,#65471c,#d9b24c)}
.hero-profile-clean .hero-loadout-panel{margin-top:10px;padding:0 12px 12px}.hero-profile-clean .hero-equip-list>div{grid-template-columns:70px minmax(0,1fr);padding:8px 0}.hero-profile-clean .hero-equip-list b{text-align:right;overflow-wrap:anywhere}.hero-profile-clean .hero-tab-stats{grid-template-columns:1fr 1fr}

/* v1.45.0 — Achievements uses the same shell, navigation, panels and footer as the rest of the game. */
.achievements-page{max-width:1180px;margin:0 auto;padding:18px 18px 40px}.achievement-page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}.achievement-page-head>div:first-child small{display:block;color:#8d7040;font-size:8px;font-weight:900;letter-spacing:1.8px}.achievement-page-head h1{margin:4px 0;color:#eadfc9;font-size:22px;letter-spacing:1px}.achievement-page-head p{margin:0;color:#766d62;font-size:9px}.achievement-page-score{width:180px;flex:0 0 180px}.achievement-page-score b{display:block;text-align:right;color:#e7c25c;font-size:17px}.achievement-page-score span{display:block;text-align:right;margin-top:2px;color:#786f63;font-size:7px;letter-spacing:1px}.achievement-page-score>i{display:block;height:6px;margin-top:6px;border:1px solid #3b2f20;background:#080706;border-radius:5px;overflow:hidden}.achievement-page-score em{display:block;height:100%;background:linear-gradient(90deg,#73501d,#e4bd55)}
.achievement-summary{display:grid;grid-template-columns:1fr 1fr 2fr;gap:1px;margin-bottom:16px;background:#33291e;border:1px solid #33291e}.achievement-summary>div{padding:11px 12px;background:#100e0c}.achievement-summary small{display:block;color:#8c7040;font-size:7px;letter-spacing:1.5px;font-weight:900}.achievement-summary b{display:block;margin-top:4px;color:#e1d2b8;font-size:12px}
.achievement-section{margin-top:16px}.achievement-section>.section-title{display:flex;align-items:baseline;gap:9px;padding:10px 10px;border-bottom:1px solid #3a2d1e}.achievement-section>.section-title span{color:#d9bf83;font-size:10px;letter-spacing:1.5px;font-weight:900}.achievement-section>.section-title small{color:#6f675c;font-size:7px}.achievement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:9px}.achievement-card{display:flex;gap:10px;min-width:0;padding:12px;background:#12100e;border:1px solid #30271d;border-radius:5px}.achievement-card.unlocked{background:linear-gradient(135deg,#17130d,#11100e);border-color:#62491f}.achievement-card-badge{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;border:1px solid #58431f;background:#17120c;color:#dfb94f;font-weight:900;font-size:11px}.achievement-card-body{min-width:0;flex:1}.achievement-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.achievement-card-top h2{margin:0;color:#e7d9c2;font-size:11px}.achievement-card-top span{color:#7f7569;font-size:7px;letter-spacing:.7px;white-space:nowrap}.achievement-card.unlocked .achievement-card-top span{color:#75d58b}.achievement-card-body p{margin:5px 0 7px;color:#81776b;font-size:8px;line-height:1.4}.achievement-reward{font-size:7px;color:#655d52}.achievement-reward b,.achievement-card-foot b{color:#d4ae54}.achievement-progress{height:5px;background:#080706;border:1px solid #30281f;border-radius:5px;overflow:hidden;margin:6px 0}.achievement-progress i{display:block;height:100%;background:linear-gradient(90deg,#65471c,#d9b24c)}.achievement-card-foot{display:flex;justify-content:space-between;gap:8px;color:#655d52;font-size:7px}.achievement-title-btn{margin-top:7px;padding:5px 8px;font-size:7px}.achievement-equipped{display:inline-block;margin-top:7px;color:#74d58a;font-size:7px;font-weight:900;letter-spacing:1px}.achievement-empty{padding:24px 12px;text-align:center;border:1px dashed #392e22;border-radius:5px;color:#70675c;font-size:9px;margin-top:9px}
@media(max-width:760px){.achievement-page-head{align-items:flex-start}.achievement-page-score{width:140px;flex-basis:140px}.achievement-grid{grid-template-columns:1fr}.achievements-page{padding:12px 10px 30px}}
@media(max-width:500px){.achievement-page-head{display:block}.achievement-page-score{width:100%;margin-top:10px}.achievement-page-score b,.achievement-page-score span{text-align:left}.achievement-summary{grid-template-columns:1fr 1fr}.achievement-summary>div:last-child{grid-column:1/-1}}
/* v1.46.0 — progression rebalance is server-side; no visual changes required. */
/* v1.47.0 — inventory equipment slot boxes + cleaner item upgrade preview. */
.inventory .equip .itemicon{
  border:1px solid #493a26!important;
  border-radius:5px!important;
  background:radial-gradient(circle,#2a2115,#0b0a08 72%)!important;
  box-shadow:inset 0 0 10px #000,0 0 0 1px rgba(0,0,0,.2);
}
.inventory .equip.common .itemicon{border-color:#493a26!important}
.inventory .equip.uncommon .itemicon{border-color:#79c86a!important}
.inventory .equip.rare .itemicon{border-color:#48bde8!important}
.inventory .equip.epic .itemicon{border-color:#c260ff!important}
.inventory .equip.legendary .itemicon{border-color:#ff9e2f!important}
.inventory .equip.mythic .itemicon{border-color:#ff3d4a!important}
.inventory .equip.cosmic .itemicon{border-color:#baff37!important}
.inventory .equip.divine .itemicon{border-color:#ff55df!important}
.inventory .equip.celestial .itemicon{border-color:#58e9ff!important}
.inventory .equip.angel .itemicon{border-color:#f6f1ff!important}
.inventory .equip.god .itemicon{border-color:#ffd45a!important;box-shadow:inset 0 0 10px #000,0 0 8px rgba(255,205,74,.12)}
.inventory .item-upgrade-preview{
  width:100%;max-width:300px;box-sizing:border-box;margin:10px 0 8px;padding:9px 10px;
  border:1px solid #3a2d1d;border-radius:6px;background:linear-gradient(135deg,#17130d,#0f0d0b);
  text-align:left;
}
.inventory .upgrade-preview-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:7px;border-bottom:1px solid #30261a}
.inventory .upgrade-preview-head b{color:#dcb95e;font-size:8px;letter-spacing:1.2px}
.inventory .upgrade-preview-head span{margin:0;color:#f0d27b;font-size:9px;font-weight:900}
.inventory .upgrade-preview-costs{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:7px}
.inventory .upgrade-preview-costs>span{display:flex;flex-direction:column;gap:2px;padding:6px 7px;background:#100e0c;border:1px solid #292219;border-radius:4px}
.inventory .upgrade-preview-costs small{color:#756b5e;font-size:6px;letter-spacing:.8px;font-weight:900}
.inventory .upgrade-preview-costs strong{color:#e8d9bd;font-size:8px}
.inventory .upgrade-preview-chance{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px;padding-top:6px;border-top:1px solid #30261a;color:#746b5e;font-size:7px}
.inventory .upgrade-preview-chance b{color:#78d987;font-size:8px}
.inventory .upgrade-preview-premium{margin-top:7px;padding:7px 8px;color:#887c6c;font-size:7px;line-height:1.45;background:#100e0c;border:1px solid #292219;border-radius:4px}
@media(max-width:650px){
  .inventory .upgrade-preview-costs{grid-template-columns:1fr}
}
/* v1.49.0: lock periods have a border, but no filled/highlighted state. */
.stake-page .lock-row>label,
.stake-page .lock-row>label:hover,
.stake-page .lock-row>label:focus,
.stake-page .lock-row>label:focus-within {
  border: 1px solid #493a26 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}
.stake-page .lock-row>label.selected { border-color:#b9852e !important; background:transparent !important; box-shadow:none !important; }
.stake-page .lock-row>label input[type="radio"] { accent-color:#8a806f; }

/* v1.49.0: make Inventory > ITEMS equipment slot frames unmistakable. */
.inventory .equip .itemicon { border:1px solid #6a4c22 !important; background:#0b0a08 !important; border-radius:5px !important; box-shadow:inset 0 0 0 1px rgba(255,190,70,.08),inset 0 0 10px #000 !important; }
.inventory .equip.empty-equip .itemicon { border-color:#5a4428 !important; }
.inventory .equip.has-item.epic .itemicon { border-color: #d37cff !important; }
.inventory .equip.has-item.rare .itemicon { border-color: #4dc8ff !important; }
.inventory .equip.has-item.legendary .itemicon { border-color: #ff9c36 !important; }
.inventory .equip.has-item.mythic .itemicon { border-color: #ff4b43 !important; }
.inventory .equip.has-item.cosmic .itemicon { border-color: #c4ff4d !important; }
.inventory .equip.has-item.divine .itemicon { border-color: #ff61e9 !important; }
.inventory .equip.has-item.celestial .itemicon { border-color: #6ce8ff !important; }
.inventory .equip.has-item.angel .itemicon { border-color: #e8c85c !important; }
.inventory .equip.has-item.god .itemicon { border-color: #b48cff !important; }
/* v1.49.0 final equipment slot border pass. */
.inventory .equip .itemicon{border:1px solid #6a4c22!important;border-style:solid!important;outline:0!important}
.inventory .equip.has-item.uncommon .itemicon{border-color:#79c86a!important}.inventory .equip.has-item.rare .itemicon{border-color:#4dc8ff!important}.inventory .equip.has-item.epic .itemicon{border-color:#d37cff!important}.inventory .equip.has-item.legendary .itemicon{border-color:#ff9c36!important}.inventory .equip.has-item.mythic .itemicon{border-color:#ff4b43!important}.inventory .equip.has-item.cosmic .itemicon{border-color:#c4ff4d!important}.inventory .equip.has-item.divine .itemicon{border-color:#ff61e9!important}.inventory .equip.has-item.celestial .itemicon{border-color:#6ce8ff!important}.inventory .equip.has-item.angel .itemicon{border-color:#e8c85c!important}.inventory .equip.has-item.god .itemicon{border-color:#b48cff!important}
/* v1.49.0 Hero status + Nightmare zone treatment. */
.premium-pass-status{margin:8px 0 0;padding:7px 9px;border:1px solid #7a5b24;border-radius:5px;background:#171108;color:#e8c55d;font-size:8px;font-weight:900;letter-spacing:1px;text-align:center;box-shadow:inset 0 0 10px rgba(255,194,70,.06)}
.zone-wrap.nightmare-mode .zone{border-color:#8e3030!important;box-shadow:inset 0 0 0 1px rgba(220,55,55,.14)}
.zone-wrap.nightmare-mode .zone.selected{border-color:#e04b4b!important;box-shadow:inset 0 0 0 1px rgba(255,80,80,.28),0 0 8px rgba(180,30,30,.08)}
.zone-wrap.nightmare-mode .zone-list-title{border-color:#8e3030!important}
.zone-wrap.nightmare-mode .nightmare-switch.on{border-color:#d94747!important;color:#ff7777!important;box-shadow:0 0 10px rgba(220,50,50,.14)}
.upgrade-preview-note{display:block;margin-top:7px;color:#7d7468;font-size:7px;line-height:1.35}
/* v1.49.0: final visible frame for each equipped slot. */ .inventory .equip{border:1px solid #3f311f!important;border-radius:6px!important;padding:2px!important;box-sizing:border-box!important;background:#0b0a08!important}.inventory .equip .itemicon{width:100%!important;height:auto!important;aspect-ratio:1/1!important;border:1px solid #6a4c22!important}.inventory .equip small{margin-top:2px}
/* v1.52.0 Gacha wheel + gold play + compact vault + Powerball choices */
.gacha-page{max-width:980px!important;padding:12px 18px 44px!important}
.gacha-head{margin-bottom:10px!important}.gacha-balance{display:flex;gap:8px;flex-wrap:wrap}.gacha-balance span{border:1px solid #4a351a;background:#12100d;border-radius:5px;padding:6px 9px;color:#d8c59f;font-size:10px}
.gacha-vault{max-width:900px;margin:0 auto 12px!important;padding-bottom:12px!important}.gacha-vault .panel-title{padding:9px 12px!important;font-size:11px}.gacha-vault .panel-title small{float:right;color:#71685b;font-size:8px}
.gacha-play{max-width:720px;margin:0 auto;padding:10px 12px 6px}.vault-wheel{position:relative;max-width:680px;height:178px;margin:0 auto;background:#0b0b0a;border:1px solid #4d351b;border-radius:8px;overflow:hidden;box-shadow:inset 0 0 30px rgba(0,0,0,.55)}
.wheel-window{position:absolute;left:8%;right:8%;top:24px;bottom:20px;overflow:hidden;border-left:1px solid #34271a;border-right:1px solid #34271a}.wheel-window:before,.wheel-window:after{content:"";position:absolute;top:0;bottom:0;width:80px;z-index:2;pointer-events:none}.wheel-window:before{left:0;background:linear-gradient(90deg,#0b0b0a,transparent)}.wheel-window:after{right:0;background:linear-gradient(270deg,#0b0b0a,transparent)}
.wheel-pointer{position:absolute;z-index:5;top:4px;left:50%;transform:translateX(-50%);width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:12px solid #f2b83d;filter:drop-shadow(0 0 5px rgba(255,190,50,.5))}.wheel-pointer:after{content:"";position:absolute;left:-1px;top:-12px;width:2px;height:160px;background:rgba(241,190,68,.28)}
.wheel-track{height:100%;display:flex;align-items:center;gap:6px;width:max-content;padding:0 6px;transform:translateX(0);will-change:transform}.wheel-card{width:116px;height:126px;flex:0 0 116px;border:1px solid #3b3125;border-radius:5px;background:#12100d;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;box-sizing:border-box}.wheel-card img{width:68px;height:68px;object-fit:contain}.wheel-card b{font-size:9px;color:#e9dcc5;text-align:center}.wheel-card small{font-size:7px;color:#756b5e}.wheel-card.common{border-top-color:#777}.wheel-card.uncommon{border-top-color:#66b77b}.wheel-card.rare{border-top-color:#5c9de8}.wheel-card.epic{border-top-color:#c46be9}.wheel-card.legendary{border-top-color:#f0a33a}.wheel-card.mythic{border-top-color:#e56d7d}.wheel-card.cosmic{border-top-color:#cfff42;box-shadow:0 0 14px rgba(207,255,66,.14)}.wheel-card.divine{border-top-color:#62d8ff}.wheel-card.celestial{border-top-color:#fff1a1;box-shadow:0 0 16px rgba(255,238,130,.12)}
.gacha-result{min-height:38px;margin:8px auto 0;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;text-align:center;color:#82786b;font-size:10px}.gacha-result strong{color:#f5e7c8;font-size:13px}.gacha-result span{color:#81776a}.result-rarity{font-weight:900;font-size:9px;letter-spacing:1px;padding:4px 7px;border-radius:4px;border:1px solid #4a3a26}.result-rarity.cosmic{color:#d8ff59;border-color:#7a9630}.result-rarity.divine{color:#74dcff;border-color:#3c7890}.result-rarity.celestial{color:#fff0a0;border-color:#9d8337}.gacha-result.winner{animation:gachaWin .55s ease}.gacha-error{color:#ffaaa3!important}.gacha-note{text-align:center;color:#71685d;font-size:8px;line-height:1.5;margin:4px auto 0;max-width:720px}
@keyframes gachaWin{0%{transform:scale(1);filter:brightness(1)}45%{transform:scale(1.04);filter:brightness(1.7)}100%{transform:scale(1);filter:brightness(1)}}
.gacha-vault .pity{max-width:430px;margin:7px auto 10px}.currency-choice{max-width:360px!important;margin:0 auto 9px!important;gap:7px}.currency-choice .currency{flex:1;text-align:center;padding:9px 10px;border:1px solid #5c431f;border-radius:4px;background:#14110d;color:#d4c6ae;cursor:pointer}.currency-choice .currency.active{background:#18271b;border-color:#6a9b55;box-shadow:none}.currency-choice .currency b{display:block;color:#e9c85a;font-size:10px}.currency-choice .currency.active b{color:#6aff92}.currency-choice .currency small{display:block;margin-top:3px;color:#8d8172;font-size:8px}
.gacha-vault .pulls{max-width:580px!important;gap:8px}.gacha-vault .pull{padding:12px!important}.gacha-vault .pull span{margin:5px;font-size:15px}.gacha-vault .pull small{font-size:8px}.gacha-vault .pull:disabled{opacity:.55;cursor:wait}.gacha-vault .pull.best{box-shadow:0 5px 16px rgba(213,159,36,.12)}
.gacha-vault .top-prizes{margin-bottom:8px}.gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;padding:9px 10px!important}.gacha-rate{min-height:34px!important;padding:7px 8px!important}.gacha-rate-note{padding:0 10px 10px;text-align:center;color:#70685c;font-size:8px}
.powerball-ticket-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.powerball-ticket-buttons form{margin:0}.powerball-ticket-buttons label{display:block;margin-bottom:7px}.powerball-ticket-buttons input{width:100%;box-sizing:border-box}.powerball-choice{width:100%;min-height:62px!important;padding:10px!important;font-weight:900}.powerball-choice small{display:block;margin-top:4px;font-size:8px;opacity:.78}
@media(max-width:700px){.gacha-page{padding:10px 10px 35px!important}.vault-wheel{height:160px}.wheel-window{left:3%;right:3%}.wheel-card{width:102px;flex-basis:102px;height:114px}.wheel-card img{width:60px;height:60px}.gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.powerball-ticket-buttons{grid-template-columns:1fr}}
/* v1.55.0 Gacha copy + fixed 5/4 drop-rate grid */
.gacha-page .gacha-note{font-size:11px!important;line-height:1.55!important;color:#b9ad9c!important;max-width:820px!important;margin:8px auto 2px!important;font-weight:600!important;letter-spacing:.1px}
.gacha-page .gacha-rate-grid{display:grid!important;grid-template-columns:repeat(20,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(42px,auto))!important;grid-auto-flow:row!important;gap:8px!important;padding:10px 12px 12px!important;width:100%!important;box-sizing:border-box!important}
.gacha-page .gacha-rate-grid .gacha-rate{grid-column:span 4!important;min-height:42px!important;padding:9px 8px!important;box-sizing:border-box!important;width:auto!important}
.gacha-page .gacha-rate-grid .gacha-rate:nth-child(n+6){grid-column:span 5!important}
.gacha-page .gacha-rate-grid .gacha-rate span,.gacha-page .gacha-rate-grid .gacha-rate b{font-size:12px!important}
.gacha-page .gacha-rate-grid .gacha-rate b{font-size:13px!important}
@media(max-width:1000px){.gacha-page .gacha-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important}.gacha-page .gacha-rate-grid .gacha-rate,.gacha-page .gacha-rate-grid .gacha-rate:nth-child(n+6){grid-column:auto!important}}
@media(max-width:620px){.gacha-page .gacha-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:auto!important}.gacha-page .gacha-rate-grid .gacha-rate,.gacha-page .gacha-rate-grid .gacha-rate:nth-child(n+6){grid-column:auto!important}.gacha-page .gacha-note{font-size:10px!important}}
/* v1.56.0 Gacha grid + gold pull buttons + hero profile portraits */
.gacha-page .gacha-note{font-size:10px!important;line-height:1.55!important;color:#b9ad9c!important;max-width:820px!important;margin:8px auto 2px!important;font-weight:600!important;letter-spacing:.1px}
.gacha-page .gacha-rate-rows{width:100%!important;box-sizing:border-box!important;padding:12px!important;display:flex!important;flex-direction:column!important;gap:8px!important}
.gacha-page .gacha-rate-row{display:grid!important;width:100%!important;box-sizing:border-box!important;gap:8px!important}
.gacha-page .gacha-rate-row-five{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.gacha-page .gacha-rate-row-four{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.gacha-page .gacha-rate-row .gacha-rate{width:100%!important;min-width:0!important;min-height:44px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;padding:9px 8px!important}
.gacha-page .gacha-rate-row .gacha-rate span{font-size:11px!important}
.gacha-page .gacha-rate-row .gacha-rate b{font-size:12px!important;margin-left:7px!important}
.gacha-page .gacha-vault .pull{background:linear-gradient(180deg,#e8b63f,#a86d12)!important;border:1px solid #d79b2c!important;color:#160f07!important;box-shadow:0 5px 16px rgba(213,159,36,.14)!important}
.gacha-page .gacha-vault .pull.best{background:linear-gradient(180deg,#f0bd48,#b87512)!important;border-color:#e0a334!important;color:#160f07!important}
.gacha-page .gacha-vault .pull strong,.gacha-page .gacha-vault .pull span,.gacha-page .gacha-vault .pull small{color:#160f07!important}
.gacha-page .gacha-vault .pull:disabled{opacity:.55!important}
.hero-profile-picture{overflow:hidden!important;background:#0d0c0a!important;border:1px solid #68491f!important;display:grid!important;place-items:center!important}
.hero-profile-picture img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}
@media(max-width:620px){
 .gacha-page .gacha-rate-rows{padding:9px!important;gap:7px!important}
 .gacha-page .gacha-rate-row-five{grid-template-columns:repeat(5,minmax(0,1fr))!important}
 .gacha-page .gacha-rate-row-four{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 .gacha-page .gacha-rate-row .gacha-rate{min-height:38px!important;padding:7px 4px!important}
 .gacha-page .gacha-rate-row .gacha-rate span{font-size:9px!important}
 .gacha-page .gacha-rate-row .gacha-rate b{font-size:10px!important;margin-left:4px!important}
}
/* v1.57 Gacha pull sizing + guild creation layout */
.gacha-page .gacha-vault .pulls{max-width:360px!important;gap:7px!important}
.gacha-page .gacha-vault .pull{padding:7px 8px!important;min-height:0!important;border-radius:8px!important}
.gacha-page .gacha-vault .pull strong{font-size:10px!important;line-height:1.1!important}
.gacha-page .gacha-vault .pull span{margin:4px!important;font-size:12px!important;line-height:1.05!important}
.gacha-page .gacha-vault .pull small{font-size:7px!important;line-height:1.05!important}
.create-guild-fields{display:flex;gap:8px;width:100%;margin-top:10px}
.create-guild-fields input{flex:1;min-width:0}
.create-guild-submit{display:block;width:100%;margin-top:10px}
@media(max-width:620px){.gacha-page .gacha-vault .pulls{max-width:300px!important}.gacha-page .gacha-vault .pull{padding:6px!important}.gacha-page .gacha-vault .pull span{font-size:11px!important}.gacha-page .gacha-vault .pull small{font-size:7px!important}.create-guild-fields{flex-direction:column}}
/* v1.59.1 admin panel entry */
.admin-panel-link{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 11px;border:1px solid #8d6425;border-radius:7px;background:linear-gradient(180deg,#3a2a13,#1c150c);color:#f2c35b;text-decoration:none;font-size:9px;font-weight:900;letter-spacing:.7px;box-shadow:0 0 14px rgba(213,159,36,.08)}
.admin-panel-link:hover{border-color:#d6a13d;color:#ffe09a;background:#34230f}
@media(max-width:620px){.admin-panel-link{font-size:8px;padding:0 8px}}
/* v1.61.0: focused low-poly battle presentation — scenery + fighters only */
.battle-stage.zone-scene{height:420px;min-height:420px;background-size:cover;background-position:center bottom;border:1px solid rgba(255,255,255,.16);border-radius:14px;box-shadow:inset 0 -90px 120px rgba(0,0,0,.38),0 16px 45px rgba(0,0,0,.25);}
.battle-stage.zone-scene:before{content:"";position:absolute;inset:auto 0 0;height:38%;border:0;border-radius:0;background:linear-gradient(0deg,rgba(5,8,8,.62),transparent);box-shadow:none;z-index:1;pointer-events:none}
.battle-stage.zone-scene:after{display:none!important}
.zone-1{background-image:url('../images/battle/zone1.svg')}.zone-2{background-image:url('../images/battle/zone2.svg')}.zone-3{background-image:url('../images/battle/zone3.svg')}.zone-4{background-image:url('../images/battle/zone4.svg')}.zone-5{background-image:url('../images/battle/zone5.svg')}.zone-6{background-image:url('../images/battle/zone6.svg')}.zone-7{background-image:url('../images/battle/zone7.svg')}.zone-8{background-image:url('../images/battle/zone8.svg')}.zone-9{background-image:url('../images/battle/zone9.svg')}
.battle-zone-label{position:absolute;top:16px;left:18px;z-index:10;display:flex;align-items:baseline;gap:9px;padding:7px 11px;border:1px solid rgba(255,255,255,.15);border-radius:8px;background:rgba(5,8,9,.48);backdrop-filter:blur(4px);box-shadow:0 6px 20px rgba(0,0,0,.2)}
.battle-zone-label span{font-size:9px;font-weight:900;letter-spacing:1.5px;color:#e6c15a}.battle-zone-label b{font-size:12px;color:#fff}.battle-zone-label small{font-size:9px;color:#c5d0d0;opacity:.85}
.battle-stage .orb,.battle-stage .crystal{display:none}
.battle-unit{z-index:5}.hero-unit{left:16%;bottom:11%}.enemy-unit{right:16%;bottom:11%}
.battle-unit .unit-hp{display:none}.battle-unit .unit-name{display:none}.battle-feed{display:none}
.lowpoly-character{position:relative;width:210px;height:245px;background-repeat:no-repeat;background-position:center bottom;background-size:contain;filter:drop-shadow(0 16px 12px rgba(0,0,0,.55));transform-origin:50% 90%;}
.monster-battle-art{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 16px 12px rgba(0,0,0,.58));transform-origin:50% 90%;z-index:2;}
.enemy-model{background-image:none!important;}
.enemy-model:before{display:none!important;content:none!important;}
.enemy-unit.elite .monster-battle-art{transform:translateX(-50%) scale(1.05);}
.enemy-unit.giant .monster-battle-art{transform:translateX(-50%) scale(1.10);}
.enemy-unit.champion .monster-battle-art{transform:translateX(-50%) scale(1.16);filter:drop-shadow(0 16px 12px rgba(0,0,0,.58)) saturate(1.15) brightness(1.04);}
.enemy-unit.boss .monster-battle-art{transform:translateX(-50%) scale(1.20);filter:drop-shadow(0 18px 14px rgba(0,0,0,.62)) saturate(1.12) brightness(1.05);}

.hero-model{background-image:url('../images/battle/hero.svg')}.enemy-model{background-image:url('../images/battle/enemy1.svg')}
.enemy-zone-1{background-image:url('../images/battle/enemy1.svg')}.enemy-zone-2{background-image:url('../images/battle/enemy2.svg')}.enemy-zone-3{background-image:url('../images/battle/enemy3.svg')}.enemy-zone-4{background-image:url('../images/battle/enemy4.svg')}.enemy-zone-5{background-image:url('../images/battle/enemy5.svg')}.enemy-zone-6{background-image:url('../images/battle/enemy6.svg')}.enemy-zone-7{background-image:url('../images/battle/enemy7.svg')}.enemy-zone-8{background-image:url('../images/battle/enemy8.svg')}.enemy-zone-9{background-image:url('../images/battle/enemy9.svg')}
.model-shadow{display:none}.hero-cape,.hero-head,.hero-body,.hero-arm,.hero-leg,.hero-sword,.enemy-body,.enemy-head,.enemy-arm,.enemy-leg,.enemy-weapon{display:none}
.hero-model{animation:modelIdle 2.1s ease-in-out infinite}.enemy-model{animation:modelIdleEnemy 1.8s ease-in-out infinite}
.battle-unit.attacking .lowpoly-character{animation:none}.hero-unit.attacking .hero-model{animation:heroAttack .34s cubic-bezier(.2,.8,.3,1)}.enemy-unit.attacking .enemy-model{animation:enemyAttack .34s cubic-bezier(.2,.8,.3,1)}
.hero-model:after,.enemy-model:after{content:"";position:absolute;left:50%;top:48%;width:0;height:0;border-radius:50%;opacity:0;pointer-events:none}
.hero-unit.attacking .hero-model:after{width:92px;height:24px;left:55%;top:43%;border-top:7px solid rgba(244,250,255,.95);border-radius:50%;transform:rotate(-24deg);box-shadow:0 0 16px rgba(155,220,255,.9);animation:slash .28s ease-out forwards}
.enemy-unit.attacking .enemy-model:after{width:80px;height:22px;left:4%;top:43%;border-top:7px solid rgba(255,170,90,.95);border-radius:50%;transform:rotate(24deg);box-shadow:0 0 15px rgba(255,100,40,.8);animation:slashEnemy .28s ease-out forwards}
.lowpoly-character.hit{animation:hitReact .26s ease-out!important;filter:drop-shadow(0 16px 12px rgba(0,0,0,.55)) brightness(1.45)}
.battle-impact{position:absolute;z-index:9;width:54px;height:54px;border-radius:50%;left:50%;top:53%;transform:translate(-50%,-50%) scale(.2);border:3px solid rgba(255,237,181,.95);box-shadow:0 0 20px rgba(255,178,65,.95),inset 0 0 12px rgba(255,255,255,.8);animation:impactBurst .28s ease-out forwards;pointer-events:none}
.float-hit{top:47%;font-size:25px;font-weight:1000;letter-spacing:.5px;z-index:20}.enemy-hit{left:66%;transform:translateX(-50%)}.hero-hit{left:34%;transform:translateX(-50%);color:#ff8275}.float-hit.crit{font-size:31px;color:#ffd05a;text-shadow:0 2px 7px #000,0 0 14px #ff9b22}
@keyframes modelIdle{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-5px) rotate(-.5deg)}}
@keyframes modelIdleEnemy{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-4px) rotate(.5deg)}}
@keyframes heroAttack{0%{transform:translateX(0) rotate(0) scale(1)}35%{transform:translateX(26px) rotate(-3deg) scale(1.04)}100%{transform:translateX(0) rotate(0) scale(1)}}
@keyframes enemyAttack{0%{transform:translateX(0) rotate(0) scale(1)}35%{transform:translateX(-24px) rotate(3deg) scale(1.04)}100%{transform:translateX(0) rotate(0) scale(1)}}
@keyframes hitReact{0%{transform:translateX(0)}25%{transform:translateX(8px) rotate(2deg)}55%{transform:translateX(-7px) rotate(-2deg)}100%{transform:translateX(0)}}
@keyframes slash{0%{opacity:0;transform:rotate(-24deg) scaleX(.1)}35%{opacity:1}100%{opacity:0;transform:rotate(-24deg) scaleX(1.15)}}
@keyframes slashEnemy{0%{opacity:0;transform:rotate(24deg) scaleX(.1)}35%{opacity:1}100%{opacity:0;transform:rotate(24deg) scaleX(1.15)}}
@keyframes impactBurst{0%{opacity:0;transform:translate(-50%,-50%) scale(.2)}25%{opacity:1}100%{opacity:0;transform:translate(-50%,-50%) scale(1.5)}}
@media(max-width:1000px){.battle-stage.zone-scene{height:350px;min-height:350px}.lowpoly-character{width:165px;height:200px}.hero-unit{left:8%;bottom:8%}.enemy-unit{right:8%;bottom:8%}.battle-zone-label{left:10px;top:10px}.battle-zone-label small{display:none}.float-hit{font-size:21px}}
@media(max-width:560px){.battle-stage.zone-scene{height:290px;min-height:290px}.lowpoly-character{width:130px;height:160px}.hero-unit{left:2%;bottom:5%}.enemy-unit{right:2%;bottom:5%}.battle-zone-label b{font-size:10px}.battle-zone-label{padding:5px 8px}.float-hit{font-size:18px}.float-hit.crit{font-size:24px}}
/* v1.61.2 battle cleanup + admin relocation + hero visibility */
.admin-nav-link{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 10px;border:1px solid #8d6425;border-radius:7px;background:linear-gradient(180deg,#3a2a13,#1c150c);color:#f2c35b;text-decoration:none;font-size:9px;font-weight:900;letter-spacing:.6px;white-space:nowrap}
.admin-nav-link:hover{border-color:#d6a13d;color:#ffe09a;background:#34230f}
.arena-scene.battle-stage.zone-scene{position:absolute!important;inset:0!important;height:auto!important;min-height:0!important;width:auto!important;display:block!important;z-index:1!important;border:0!important;border-radius:8px!important;box-shadow:inset 0 -110px 150px rgba(0,0,0,.42)!important}
.battle-zone-label{display:none!important}
.arena .zone-title{display:block;position:absolute;top:0;left:0;right:0;padding-top:52px;z-index:25;text-align:center;pointer-events:none;text-shadow:0 2px 12px rgba(0,0,0,.9);background:linear-gradient(180deg,rgba(5,7,7,.62),rgba(5,7,7,.22),transparent);padding-bottom:28px}
.arena .zone-title small{display:block;color:#a78a4b;font-size:9px;letter-spacing:2px}
.arena .zone-title h1{font-family:Georgia,serif;font-size:29px;line-height:1.05;margin:5px 0;color:#ead8ad;text-shadow:0 2px 10px #000}
.arena .zone-title span{font-size:10px;color:#a69b89}
@media(max-width:1000px){.arena .zone-title{padding-top:46px}.arena .zone-title h1{font-size:25px}}
@media(max-width:560px){.arena .zone-title{padding-top:42px}.arena .zone-title h1{font-size:21px}.arena .zone-title span{font-size:8px}}
.battle-stage.zone-scene .hero-model{display:block;width:210px;height:245px;object-fit:contain;object-position:center bottom;background:none;opacity:1!important;visibility:visible;position:relative;z-index:6}
@media(max-width:1000px){.arena-scene.battle-stage.zone-scene{position:absolute!important;inset:0!important;height:auto!important;min-height:0!important}.battle-stage.zone-scene .hero-model{width:165px;height:200px}}
@media(max-width:560px){.arena-scene.battle-stage.zone-scene{position:absolute!important;inset:0!important;height:auto!important;min-height:0!important}.battle-stage.zone-scene .hero-model{width:130px;height:160px}}
/* v1.78.8: hide the zone title behind the defeat overlay so the recovery panel stays clear */
.arena.hero-is-downed .zone-title{z-index:0!important}
.arena.hero-is-downed .arena-top{z-index:35!important}

/* v1.63.0 battle scene full-bleed: title and controls overlay the environment */
.arena .arena-top{z-index:35!important}
.arena .auto-pot-panel{z-index:60!important}
.arena .battle-actions{z-index:45!important}
.arena .session{z-index:40!important}
.arena .zone-title{pointer-events:none}
.arena .battle-stage.zone-scene{border-color:transparent!important}
.arena .battle-stage.zone-scene:before{display:none!important}
/* v1.66.0 AFK-style Mystery Vault reward list + reliable wheel audio presentation */
.gacha-page .afk-gacha-rates{width:100%!important;padding:0!important;display:flex!important;flex-direction:column!important;gap:0!important}.gacha-page .afk-gacha-rates .gacha-rate{display:flex!important;align-items:center!important;justify-content:space-between!important;text-align:left!important;min-height:0!important;padding:8px 10px!important;border:0!important;border-top:1px solid #211d18!important;border-radius:0!important;background:transparent!important;box-sizing:border-box!important}.gacha-page .afk-gacha-rates .gacha-rate:first-child{border-top:0!important}.gacha-page .afk-gacha-rates .gacha-rate span{color:#aaa197!important;font-size:11px!important;letter-spacing:.1px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.gacha-page .afk-gacha-rates .gacha-rate span:before{content:'◆ ';color:#a7a099}.gacha-page .afk-gacha-rates .gacha-rate b{color:#f4c94d!important;font-size:12px!important;min-width:72px!important;text-align:right!important}.gacha-result.spinning{visibility:hidden!important;min-height:38px!important}.wheel-card-art{height:68px;width:68px;display:grid;place-items:center}.wheel-card-art img{width:68px!important;height:68px!important;object-fit:contain}.wheel-icon{font-size:36px;line-height:1}.wheel-card.potion{border-top-color:#888}.wheel-card.gear{border-top-color:#c9a247}.wheel-card.token{border-top-color:#e0b746}.wheel-card.boss_key{border-top-color:#8d8b86}.wheel-card.boost{border-top-color:#d2b26a}.wheel-card.skin{border-top-color:#ff69c9;box-shadow:0 0 14px rgba(255,105,201,.14)}
@media(max-width:620px){.gacha-page .afk-gacha-rates .gacha-rate{padding:7px 8px!important}.gacha-page .afk-gacha-rates .gacha-rate span{font-size:10px!important}.gacha-page .afk-gacha-rates .gacha-rate b{font-size:11px!important;min-width:58px!important}.wheel-card-art{height:60px;width:60px}.wheel-card-art img{width:60px!important;height:60px!important}}
/* v1.68.0 guild, potion, profile and account-menu polish */
.user-menu{position:relative;display:inline-flex;align-items:center}.user-menu-toggle{cursor:pointer;border:1px solid #4c381f;background:#17130e;color:#d8c8aa;padding:7px 9px;border-radius:7px;font:inherit;font-size:9px;white-space:nowrap}.user-menu-toggle:hover{border-color:#a87528;color:#f4d477}.user-menu-caret{margin-left:5px;color:#9d7a3d}.user-menu-dropdown{position:absolute;right:0;top:calc(100% + 6px);min-width:130px;z-index:1000;padding:4px;background:#12100d;border:1px solid #68491f;border-radius:8px;box-shadow:0 12px 28px rgba(0,0,0,.55)}.user-menu-dropdown a{display:block;padding:9px 10px;color:#cfc2ad;text-decoration:none;font-size:9px;border-radius:5px}.user-menu-dropdown a:hover{background:#21170c;color:#f6ca55}.guild-tabs{overflow:hidden!important;min-width:0!important}.guild-tabs a{min-width:0!important;white-space:nowrap}.member-table-card{overflow-x:hidden!important}.member-table-head,.member-table-row{min-width:0!important;grid-template-columns:28px minmax(105px,1.7fr) 76px 72px 82px 88px 88px 70px 72px 86px!important;gap:5px!important;padding-left:9px!important;padding-right:9px!important}.member-table-row{overflow:hidden}.member-player{min-width:0}.member-player>div{min-width:0}.member-player strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-table-row>span,.member-table-row>strong,.member-table-head>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.guild-flag-card{position:relative;min-height:250px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle at 50% 35%,rgba(196,142,47,.16),transparent 42%),linear-gradient(160deg,#18130f,#0d0b0a 72%);border:1px solid #4d351c;border-radius:10px}.guild-flag-pole{position:absolute;left:24px;top:18px;bottom:24px;width:8px;background:linear-gradient(90deg,#3b2c20,#9b7436 35%,#d0a44d 55%,#4b3520);border-radius:3px;box-shadow:3px 0 8px rgba(0,0,0,.5)}.guild-flag-pole:before{content:'';position:absolute;left:-7px;top:-7px;width:22px;height:12px;border-radius:7px 7px 3px 3px;background:linear-gradient(135deg,#e0b454,#6b491e);border:1px solid #2a1c10}.guild-flag-pole:after{content:'';position:absolute;left:1px;bottom:-2px;width:14px;height:8px;background:#3a2a1c;clip-path:polygon(0 0,100% 0,75% 100%,25% 100%)}.guild-flag-cloth{position:relative;width:142px;height:194px;margin-left:18px;transform:skewY(-1deg);clip-path:polygon(0 0,100% 0,100% 82%,50% 100%,0 82%);background:var(--flag-primary);border:0;box-shadow:12px 12px 22px rgba(0,0,0,.45);filter:drop-shadow(0 8px 9px rgba(0,0,0,.35))}.guild-flag-cloth:before{content:'';position:absolute;inset:0;border:6px solid var(--flag-accent);clip-path:polygon(0 0,100% 0,100% 82%,50% 100%,0 82%);opacity:.95}.guild-flag-cloth:after{content:'';position:absolute;left:13px;right:13px;top:13px;bottom:28px;background:linear-gradient(135deg,rgba(255,255,255,.15),transparent 35%,rgba(0,0,0,.13));clip-path:polygon(0 0,100% 0,88% 92%,50% 100%,12% 92%);pointer-events:none}.guild-flag-cloth span{position:absolute;z-index:3;left:50%;top:43%;transform:translate(-50%,-50%);font-size:54px;line-height:1;color:#f7d66f;text-shadow:2px 3px 0 rgba(39,25,11,.9),0 0 12px rgba(0,0,0,.55);font-family:Georgia,serif}.guild-flag-cloth.pattern-stripe{background:linear-gradient(90deg,var(--flag-primary) 0 24%,var(--flag-accent) 24% 35%,var(--flag-primary) 35% 65%,var(--flag-accent) 65% 76%,var(--flag-primary) 76%)}.guild-flag-cloth.pattern-chevron{background:linear-gradient(135deg,var(--flag-primary) 0 48%,var(--flag-accent) 48% 53%,var(--flag-primary) 53%)}.guild-flag-cloth.pattern-cross{background:linear-gradient(90deg,transparent 0 38%,var(--flag-accent) 38% 62%,transparent 62%),linear-gradient(0deg,transparent 0 39%,var(--flag-accent) 39% 61%,transparent 61%),var(--flag-primary)}.guild-flag-cloth.pattern-split{background:linear-gradient(135deg,var(--flag-primary) 0 49%,var(--flag-accent) 50% 100%)}.guild-flag-caption{position:absolute;left:14px;right:14px;bottom:10px;text-align:center;background:rgba(8,7,6,.72);border:1px solid #3b2a18;border-radius:6px;padding:6px;z-index:5}.guild-flag-caption b,.guild-flag-caption small{display:block}.guild-flag-caption b{color:#e7bc55;font-size:8px;letter-spacing:1px}.guild-flag-caption small{color:#aaa096;font-size:8px;margin-top:2px}.profile-gear-grid{justify-content:center!important;justify-items:center!important;text-align:center!important}.profile-gear-item{width:100%;max-width:150px;text-align:center!important}.profile-gear-item img{margin-left:auto!important;margin-right:auto!important;display:block!important}.profile-gear-item b,.profile-gear-item small{display:block;text-align:center!important}.invgrid .slot .item-visual img.consumable-art{object-fit:contain!important;object-position:center bottom!important;display:block;margin:auto!important}.invgrid .slot .item-visual img.consumable-art.potion-tier-1{width:30px!important;height:42px!important;max-width:30px!important;max-height:42px!important;transform:none!important}.invgrid .slot .item-visual img.consumable-art.potion-tier-2{width:34px!important;height:46px!important;max-width:34px!important;max-height:46px!important;transform:scaleX(1.04)!important}.invgrid .slot .item-visual img.consumable-art.potion-tier-3{width:39px!important;height:51px!important;max-width:39px!important;max-height:51px!important;transform:scaleX(1.08)!important}.invgrid .slot .item-visual img.consumable-art.potion-tier-4{width:44px!important;height:56px!important;max-width:44px!important;max-height:56px!important;transform:scaleX(1.12)!important}.invgrid .slot .item-visual img.consumable-art.potion-tier-5{width:49px!important;height:61px!important;max-width:49px!important;max-height:61px!important;transform:scaleX(1.16)!important}.invgrid .slot .item-visual img.consumable-art.potion-tier-6{width:54px!important;height:66px!important;max-width:54px!important;max-height:66px!important;transform:scaleX(1.2)!important}.invgrid .slot .item-visual img.consumable-art.potion-tier-7{width:60px!important;height:70px!important;max-width:60px!important;max-height:70px!important;transform:scaleX(1.25)!important}
@media(max-width:1050px){.member-table-head,.member-table-row{grid-template-columns:26px minmax(95px,1.55fr) 68px 62px 72px 78px 78px 66px 66px 78px!important;font-size:8px!important}.member-player img{width:30px;height:30px}}
@media(max-width:760px){.member-table-card{overflow:hidden!important}.member-table-head,.member-table-row{grid-template-columns:24px minmax(0,1fr) 62px 64px 72px 62px 70px!important;min-width:0!important}.member-table-head>span:nth-child(5),.member-table-row>strong:nth-of-type(2),.member-table-head>span:nth-child(6),.member-table-row>span:nth-of-type(2),.member-table-head>span:nth-child(9),.member-table-row .joined-date{display:none!important}.member-actions{justify-content:flex-end}.guild-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}.guild-tabs a{text-align:center!important;padding:9px 4px!important;font-size:8px!important}.guild-flag-card{min-height:220px}.guild-flag-cloth{width:118px;height:166px}.guild-flag-pole{left:18px}.guild-flag-cloth span{font-size:44px}.user-menu-dropdown{right:-4px}}
/* v1.70.0 final potion sizing overrides: identical silhouette box everywhere */
.store-page .store-icon[class*="potion-tier-"] img{width:44px!important;height:44px!important;max-width:44px!important;max-height:44px!important;transform:none!important;object-fit:contain!important;object-position:center!important}
.invgrid .slot .item-visual img.consumable-art{width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important;transform:none!important;object-fit:contain!important;object-position:center!important}
/* v1.79.4: enlarged SFORGE earnings ticker with live-credit status. Estimates only; actual credits remain server-side combat ledger events. */
.earnings-ticker{display:grid!important;grid-template-columns:1.45fr repeat(4,minmax(120px,1fr));gap:0;padding:0!important;overflow:hidden;background:linear-gradient(90deg,#12110d,#0c0d0b);border:1px solid #4a351d;border-radius:8px;box-shadow:0 10px 30px #0008;min-height:104px}
.earnings-ticker>div{padding:15px 16px;border-right:1px solid #2b241a;min-width:0}.earnings-ticker>div:last-child{border-right:0}.earnings-ticker .earn-main{background:linear-gradient(90deg,#16130d,#11100d)}
.earnings-ticker .earn-main b{font-size:30px;color:#e8d28a}.earnings-ticker b{font-size:20px;color:#e5c45d}.earnings-ticker span{font-size:10px;color:#807769}.earnings-ticker .earning-label{margin-bottom:6px;font-size:11px}.earnings-ticker .earning-label em{color:#55b66a}.earnings-ticker .earn-today-value{transition:color .2s}.earnings-ticker .earn-total-day-value{color:#8ee08f}.earn-credit-note{display:block!important;margin-top:4px;font-size:9px!important;color:#8a8275!important}
@media(max-width:1100px){.earnings-ticker{grid-template-columns:1.3fr repeat(2,minmax(140px,1fr))}.earnings-ticker>div:nth-child(4),.earnings-ticker>div:nth-child(5){border-top:1px solid #2b241a}.earnings-ticker>div:nth-child(4){border-right:1px solid #2b241a}.earnings-ticker>div:nth-child(5){border-right:0}}
@media(max-width:650px){.earnings-ticker{grid-template-columns:1fr 1fr}.earnings-ticker .earn-main{grid-column:1/-1;border-right:0}.earnings-ticker>div{border-bottom:1px solid #2b241a}.earnings-ticker>div:nth-child(2n){border-right:0}.earnings-ticker>div:last-child{border-bottom:0}}
/* v1.79.6 Free Tier earnings education modal */
.earnings-ticker .earn-info-trigger{display:inline-block;margin:5px 0 0;padding:0;border:0;background:none;color:#d9bb63;font:inherit;font-size:9px;font-weight:800;letter-spacing:.06em;text-decoration:underline;cursor:pointer}
.earn-info-modal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:20px}.earn-info-modal.open{display:flex}.earn-info-backdrop{position:absolute;inset:0;background:#000b;backdrop-filter:blur(4px)}.earn-info-panel{position:relative;width:min(680px,100%);max-height:calc(100vh - 40px);overflow:auto;background:linear-gradient(180deg,#17130e,#0e0d0b);border:1px solid #6b4e25;border-radius:14px;box-shadow:0 24px 80px #000c;padding:30px}.earn-info-close{position:absolute;top:10px;right:12px;width:34px;height:34px;border:1px solid #49371f;border-radius:50%;background:#100f0c;color:#cdbb91;font-size:24px;line-height:1;cursor:pointer}.earn-info-kicker{font-size:11px;font-weight:900;letter-spacing:.16em;color:#d9b95a;margin-bottom:8px}.earn-info-panel h2{margin:0 45px 12px 0;font-size:28px;line-height:1.12;color:#f0dfaa}.earn-info-panel h2 strong{color:#e9c95e}.earn-info-lead{margin:0 0 20px;color:#b8ad98;font-size:13px;line-height:1.55}.earn-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.earn-info-grid>div{padding:15px;border:1px solid #33291d;border-radius:10px;background:#12100d}.earn-info-grid b{display:block;color:#8f7650;font-size:11px}.earn-info-grid strong{display:block;margin:5px 0;color:#e1c56d;font-size:13px}.earn-info-grid span{display:block;color:#8e8576;font-size:10px;line-height:1.45}.earn-info-callout{margin-top:12px;padding:14px;border:1px solid #3d5b38;border-radius:10px;background:#111810}.earn-info-callout>div{display:flex;justify-content:space-between;gap:10px;align-items:center}.earn-info-callout span{color:#8ca185;font-size:10px;font-weight:800}.earn-info-callout b{color:#8fe29a;font-size:14px}.earn-info-callout i{display:block;height:7px;margin-top:9px;background:#22281f;border-radius:99px;overflow:hidden}.earn-info-callout em{display:block;height:100%;background:#6dc57a;border-radius:99px}.earn-info-pack{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:12px;padding:15px;border:1px solid #4b3920;border-radius:10px;background:#15120d}.earn-info-pack span{display:block;color:#9b8866;font-size:9px;font-weight:900;letter-spacing:.1em}.earn-info-pack b{display:block;color:#ead18a;font-size:15px;margin:3px 0}.earn-info-pack small{display:block;color:#8e8576;font-size:9px;line-height:1.4;max-width:450px}.earn-info-pack .gold-btn{white-space:nowrap;text-decoration:none}.earn-info-foot{margin:14px 0 0;color:#6f675b;font-size:9px;line-height:1.45}
@media(max-width:650px){.earn-info-panel{padding:22px}.earn-info-panel h2{font-size:22px}.earn-info-grid{grid-template-columns:1fr}.earn-info-pack{align-items:flex-start;flex-direction:column}.earn-info-pack .gold-btn{width:100%;text-align:center}}
.earn-info-lock{overflow:hidden}
/* v1.80.0 store unlocks + rewards cleanup */
.starter-pack-unlock{padding:6px 8px;margin-top:5px;border:1px solid #3c4c2d;border-radius:6px;background:#11170f;color:#9bd79b;font-size:10px;font-weight:900;letter-spacing:.03em}
.starter-pack-unlock-note{margin-top:7px;color:#756c5d;font-size:9px;line-height:1.4}
.rewards-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.reward-card{padding:18px;border:1px solid #3a2e20;border-radius:12px;background:linear-gradient(180deg,#15120e,#100f0c)}
.reward-card-kicker{color:#a98a4e;font-size:10px;font-weight:900;letter-spacing:.14em;margin-bottom:8px}
.reward-card h3{margin:0;color:#e8d18b;font-size:26px}.reward-card h3 small{font-size:11px;color:#897a60}
.reward-card p{color:#8e8576;font-size:11px;line-height:1.55;margin:10px 0 0}
.reward-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.reward-metrics span{padding:9px;border:1px solid #2d251b;border-radius:8px;color:#756c5e;font-size:8px;font-weight:800}.reward-metrics b{display:block;color:#d8bd6d;font-size:13px;margin-top:3px}
.reward-how{margin-top:12px}.reward-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.reward-steps>div{padding:12px;border:1px solid #2d251b;border-radius:9px;background:#11100d}.reward-steps b{display:block;color:#6f634e;font-size:10px}.reward-steps strong{display:block;color:#e0c66f;font-size:12px;margin:4px 0}.reward-steps span{display:block;color:#817869;font-size:9px;line-height:1.45}
.reward-boost{margin-top:12px}.boost-row{display:flex;align-items:center;justify-content:space-between;gap:15px}.boost-row strong{display:block;color:#d7c38e;font-size:13px}.boost-row span{display:block;color:#7f7668;font-size:9px;margin-top:3px}.x-follow-btn{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;margin-left:auto;padding:9px 14px;border:1px solid #67501f;border-radius:7px;background:#17130d;color:#e4c55c;text-decoration:none;font-weight:900;font-size:10px}
@media(max-width:800px){.rewards-grid,.reward-steps{grid-template-columns:1fr 1fr}.reward-metrics{grid-template-columns:1fr}.boost-row{align-items:flex-start;flex-direction:column}.boost-row .x-follow-btn{margin-left:0;width:100%}}
@media(max-width:560px){.rewards-grid,.reward-steps{grid-template-columns:1fr}}
/* v1.80.2 Alpha: compact PvP toggle beneath Auto-Combat. */
.auto-combat-pvp-stack{display:flex;flex-direction:column;align-items:stretch;gap:5px}.pvp-toggle-form{margin:0}.pvp-toggle{border:1px solid #4a4a4a;background:#111;color:#8e8a80;border-radius:5px;padding:6px 10px;font-size:9px;font-weight:900;cursor:pointer;min-width:96px}.pvp-toggle.on{border-color:#7a4d91;color:#d9a9f2;background:#180f1f;box-shadow:0 0 14px #8f4fb022}.pvp-toggle.off{border-color:#4c463c;color:#857d70;background:#15130f}.starter-pack-unlock{font-family:inherit!important;font-size:10px!important;font-weight:900!important;color:#9bd79b!important;letter-spacing:.03em!important}
/* v1.80.3 Alpha: Starter Pack include rows and battle controls. */
.starter-pack-items div{font-family:inherit!important;font-size:10px!important;font-weight:900!important;color:#9bd79b!important;letter-spacing:.03em!important;line-height:1.25!important;}
.arena-top .auto-pot-trigger{padding:5px 8px!important;font-size:8px!important;min-width:92px!important;min-height:38px!important;}
.auto-combat-pvp-stack{align-items:center!important;}
.lowpoly-character.pvp-visible{background-image:none!important;}
.pvp-opponent-model{display:none;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center bottom;z-index:2;}
.pvp-opponent-model.active{display:block;}
/* v1.80.3 Alpha: exclusive pet lock presentation. */
.pet-buy:disabled{opacity:.55;cursor:not-allowed;filter:saturate(.45);}
/* v1.80.5 Alpha: polished battle presentation matching the approved SolForge reference. */
.arena{border-color:#5b451f!important;border-radius:9px!important;box-shadow:inset 0 0 90px rgba(0,0,0,.38),0 10px 30px rgba(0,0,0,.48)!important;background:#18251c!important;}
.arena .arena-scene.battle-stage.zone-scene{background-color:#37643d!important;background-size:cover!important;background-position:center bottom!important;}
.arena .arena-scene.battle-stage.zone-scene.zone-1{background-image:url('../images/battle/zone1.svg')!important;}
.arena .arena-scene.battle-stage.zone-scene:after{content:"";display:block!important;position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,rgba(20,35,40,.05) 0%,rgba(13,29,20,.02) 48%,rgba(4,10,8,.36) 100%);}
.arena .zone-title{padding-top:47px!important;padding-bottom:22px!important;background:linear-gradient(180deg,rgba(8,14,14,.58),rgba(8,14,14,.14),transparent)!important;}
.arena .zone-title small{font-size:9px!important;letter-spacing:2.2px!important;color:#c39a4b!important;}
.arena .zone-title h1{font-size:30px!important;letter-spacing:-.3px!important;color:#f0dfb6!important;text-shadow:0 3px 12px rgba(0,0,0,.92)!important;}
.arena .zone-title span{font-size:10px!important;color:#d0c3aa!important;}
.arena .arena-top{top:12px!important;left:12px!important;right:12px!important;}
.arena-top .auto-pot-trigger{padding:5px 8px!important;min-width:90px!important;min-height:34px!important;font-size:8px!important;border-radius:5px!important;letter-spacing:.1px!important;}
.arena-controls{gap:5px!important;}
.auto-combat-pvp-stack{gap:5px!important;align-items:center!important;}
.pvp-toggle{min-width:90px!important;padding:6px 9px!important;font-size:8px!important;border-radius:5px!important;}
.arena .battle-unit{z-index:7!important;}
.arena .hero-unit{left:18%!important;bottom:7%!important;}
.arena .enemy-unit{right:18%!important;bottom:7%!important;}
.arena .battle-stage.zone-scene .hero-model{width:235px!important;height:280px!important;object-fit:contain!important;object-position:center bottom!important;background:none!important;opacity:1!important;visibility:visible!important;filter:drop-shadow(0 18px 12px rgba(0,0,0,.62))!important;}
.arena .battle-stage.zone-scene .hero-model.knight{content:url('../images/heroes/battle_knight.png');}
.arena .battle-stage.zone-scene .hero-model.mage{content:url('../images/heroes/battle_mage.png');}
.arena .battle-stage.zone-scene .hero-model.rogue{content:url('../images/heroes/battle_rogue.png');}
.arena .lowpoly-character.hero-model{animation:modelIdle 2.1s ease-in-out infinite!important;}
.arena .enemy-model{width:210px!important;height:245px!important;z-index:7!important;}
.arena .pvp-opponent-model{object-fit:contain!important;object-position:center bottom!important;filter:drop-shadow(0 18px 12px rgba(0,0,0,.6))!important;}
.arena .session{left:12px!important;right:12px!important;bottom:12px!important;min-height:45px!important;padding:10px 12px!important;background:rgba(10,10,8,.91)!important;border-color:#6a4d1f!important;z-index:40!important;box-shadow:0 8px 20px rgba(0,0,0,.25)!important;}
.arena .session div:first-child{gap:14px!important;}
.arena .session b{font-size:10px!important;color:#e2b94f!important;}
.arena .session span{font-size:10px!important;color:#eee6d7!important;}
.arena .battle-actions{right:12px!important;bottom:69px!important;z-index:42!important;}
.arena .boss-action{border-color:#6b4e20!important;background:rgba(15,13,9,.86)!important;color:#efc65d!important;border-radius:6px!important;padding:9px 12px!important;font-size:9px!important;font-weight:900!important;}
@media(max-width:1000px){.arena .hero-unit{left:9%!important}.arena .enemy-unit{right:9%!important}.arena .battle-stage.zone-scene .hero-model{width:190px!important;height:225px!important}.arena .enemy-model{width:170px!important;height:205px!important}.arena .battle-actions{bottom:62px!important}}
@media(max-width:560px){.arena .hero-unit{left:3%!important}.arena .enemy-unit{right:3%!important}.arena .battle-stage.zone-scene .hero-model{width:145px!important;height:175px!important}.arena .enemy-model{width:135px!important;height:165px!important}.arena .zone-title{padding-top:43px!important}.arena .zone-title h1{font-size:22px!important}.arena .session div:first-child{gap:7px!important}.arena .session span{font-size:8px!important}.arena .battle-actions{bottom:58px!important}}
/* v1.80.6 Alpha: final battle control sizing fix. */
.arena .arena-top{align-items:flex-start!important;}
.arena .arena-top .auto-pot-trigger{align-self:flex-start!important;flex:0 0 auto!important;width:90px!important;min-width:90px!important;max-width:90px!important;height:34px!important;min-height:34px!important;max-height:34px!important;box-sizing:border-box!important;padding:0 6px!important;font-size:9px!important;line-height:32px!important;white-space:nowrap!important;}
.arena .arena-top .auto-combat-pvp-stack{align-items:center!important;}
.arena .arena-top .auto-pot-trigger{letter-spacing:0!important;}
/* v1.82.4 Alpha: monster presentation + server-goal typography cleanup */
.arena .enemy-model{background:none!important;background-image:none!important;}
.arena .enemy-model:before{display:none!important;content:none!important;}
.arena .enemy-model .monster-battle-art{background:transparent!important;border:0!important;box-shadow:none!important;display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important;transform:translateX(-50%)!important;transform-origin:50% 90%!important;}
.arena .enemy-unit.elite .monster-battle-art{transform:translateX(-50%) scale(1.05)!important;}
.arena .enemy-unit.giant .monster-battle-art{transform:translateX(-50%) scale(1.10)!important;}
.arena .enemy-unit.champion .monster-battle-art{transform:translateX(-50%) scale(1.16)!important;}
.arena .enemy-unit.boss .monster-battle-art{transform:translateX(-50%) scale(1.20)!important;}
/* Fire-based and other large silhouettes are kept centered without overwhelming the hero. */
.arena .enemy-unit .monster-battle-art[alt="Fire Elemental"],.arena .enemy-unit .monster-battle-art[alt="Furnace Imp"],.arena .enemy-unit .monster-battle-art[alt="Elemental"],.arena .enemy-unit .monster-battle-art[alt="Singularity Elemental"]{width:78%!important;height:78%!important;bottom:4%!important;}
.arena .enemy-unit .monster-battle-art[alt="Void Dragon"]{width:92%!important;height:92%!important;bottom:0!important;}
/* Server Goal: match the Quest panel's normal readable type scale. */
.server-goal-card{margin:8px 0 12px;padding:10px 10px 9px;border:1px solid #6f501f;border-radius:9px;background:linear-gradient(180deg,#17120d,#0e0c0a);box-shadow:inset 0 0 18px rgba(255,190,60,.035);box-sizing:border-box;overflow:hidden}
.server-goal-card.complete{border-color:#4c7d42}
.server-goal-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:7px}
.server-goal-head b{color:#f4c44f;font-size:11px;letter-spacing:.55px;white-space:nowrap}
.server-goal-head small{color:#9b9387;font-size:9px;white-space:nowrap;text-align:right}
.server-goal-title{margin:0 0 8px;color:#d9d0c2;font-size:10px;line-height:1.45}
.server-goal-title strong{color:#f3d05e}
.server-goal-bar{position:relative;height:17px;border:1px solid #4b381d;border-radius:9px;overflow:hidden;background:#090807;text-align:center;box-sizing:border-box}
.server-goal-bar i{position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,#9d6b18,#e8bd4c);opacity:.9}
.server-goal-bar b{position:relative;z-index:2;font-size:9px;color:#fff0c7;line-height:15px}
.server-goal-meta{display:grid;grid-template-columns:1fr auto;gap:8px;margin:6px 0 8px;color:#aaa094;font-size:9px;line-height:1.25}
.server-goal-meta span:last-child{text-align:right;white-space:nowrap}
.server-goal-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:0 0 6px}
.server-goal-presets button{width:100%;padding:6px 1px;border:1px solid #5d421d;background:#17120c;color:#e8c45d;border-radius:5px;font-size:9px;font-weight:800;cursor:pointer;box-sizing:border-box}
.server-goal-presets button:hover{filter:brightness(1.12)}
.server-goal-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;margin:0}
.server-goal-form input{width:100%;min-width:0;background:#11100e;border:1px solid #5b431f;color:#eee;padding:7px;border-radius:5px;font-size:9px;box-sizing:border-box}
.server-goal-form button{border:1px solid #8c6422;background:linear-gradient(180deg,#d6a83a,#96651b);color:#130f08;border-radius:5px;padding:7px 9px;font-size:9px;font-weight:900;cursor:pointer;white-space:nowrap}
.server-goal-card>small{display:block;margin-top:6px;color:#777066;font-size:8px;line-height:1.35}
.server-goal-my{margin-top:7px;color:#aaa094;font-size:9px}
.server-goal-my strong{color:#e9c45b}
.server-goal-top{margin:6px 0 0;padding-left:17px;border-top:1px solid rgba(255,255,255,.05);padding-top:5px}
.server-goal-top li{display:flex;justify-content:space-between;gap:8px;color:#81796e;font-size:8px;padding:2px 0}
.server-goal-top b{color:#e4bf59;white-space:nowrap}
.server-goal-reward-active{margin-top:8px;padding:7px;border:1px solid #3e6e37;border-radius:5px;background:#0e1b0d;color:#9ce88c;font-size:9px;text-align:center}
.server-goal-reward-active strong{color:#caffbe}
@media(max-width:560px){.server-goal-card{padding:9px 8px}.server-goal-head b{font-size:10px}.server-goal-head small{font-size:8px}.server-goal-title{font-size:9px}.server-goal-meta{font-size:8px}.server-goal-presets button,.server-goal-form input,.server-goal-form button{font-size:8px}}
/* v1.82.5 monster presentation corrections */
.arena .enemy-unit .monster-battle-art{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.arena .enemy-unit .monster-battle-art[alt="Orc Brute"]{
  transform:translateX(-50%) scaleX(1)!important;
}
.arena .enemy-unit .monster-battle-art[alt="Bandit Archer"]{
  width:88%!important;
  height:88%!important;
  bottom:1%!important;
}
.arena .enemy-unit .monster-battle-art[alt="Dock Bandit"]{
  width:112%!important;
  height:112%!important;
  bottom:-1%!important;
}
/* v1.82.6 Alpha: new monster pack — one clean, normalized transparent sprite per monster. */
.arena .enemy-model{background-image:none!important;background:none!important;}
.arena .enemy-model:before,.arena .enemy-model:after{display:none!important;content:none!important;}
.arena .enemy-model .model-shadow,.arena .enemy-model .enemy-body,.arena .enemy-model .enemy-head,.arena .enemy-model .enemy-arm,.arena .enemy-model .enemy-leg,.arena .enemy-model .enemy-weapon{display:none!important;}
.arena .enemy-unit .monster-battle-art{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important;transform:translateX(-50%)!important;background:transparent!important;border:0!important;box-shadow:none!important;}
.arena .enemy-unit.elite .monster-battle-art{transform:translateX(-50%) scale(1.05)!important;}
.arena .enemy-unit.giant .monster-battle-art{transform:translateX(-50%) scale(1.10)!important;}
.arena .enemy-unit.champion .monster-battle-art{transform:translateX(-50%) scale(1.16)!important;}
.arena .enemy-unit.boss .monster-battle-art{transform:translateX(-50%) scale(1.20)!important;}
/* v1.82.7 Alpha: player-scale monster presentation.  The roster PNGs are normalized
   to the visible artwork, so transparent source padding no longer makes enemies tiny. */
.arena .enemy-model{width:235px!important;height:280px!important;overflow:visible!important;}
.arena .enemy-unit .monster-battle-art{
  width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important;
  transform:translateX(-50%)!important;transform-origin:50% 90%!important;
}
.arena .enemy-unit.elite .monster-battle-art{transform:translateX(-50%) scale(1.04)!important;}
.arena .enemy-unit.giant .monster-battle-art{transform:translateX(-50%) scale(1.08)!important;}
.arena .enemy-unit.champion .monster-battle-art{transform:translateX(-50%) scale(1.12)!important;}
.arena .enemy-unit.boss .monster-battle-art{transform:translateX(-50%) scale(1.16)!important;}
@media(max-width:1000px){.arena .enemy-model{width:190px!important;height:225px!important;}}
@media(max-width:560px){.arena .enemy-model{width:160px!important;height:190px!important;}}
/* v1.82.9 Alpha: all 45 monsters use exact player-scale battle boxes. */
.arena .battle-stage.zone-scene .hero-model,.arena .enemy-model{width:235px!important;height:280px!important;object-fit:contain!important;object-position:center bottom!important;overflow:visible!important;}
.arena .enemy-unit .monster-battle-art{display:block!important;width:235px!important;height:280px!important;object-fit:contain!important;object-position:center bottom!important;transform:translateX(-50%)!important;transform-origin:50% 90%!important;image-rendering:auto!important;background:transparent!important;border:0!important;box-shadow:none!important;}
.arena .enemy-unit.elite .monster-battle-art,.arena .enemy-unit.giant .monster-battle-art,.arena .enemy-unit.champion .monster-battle-art,.arena .enemy-unit.boss .monster-battle-art{transform:translateX(-50%)!important;}
@media(max-width:1000px){.arena .battle-stage.zone-scene .hero-model,.arena .enemy-model{width:190px!important;height:225px!important}.arena .enemy-unit .monster-battle-art{width:190px!important;height:225px!important}}
@media(max-width:560px){.arena .battle-stage.zone-scene .hero-model,.arena .enemy-model{width:145px!important;height:175px!important}.arena .enemy-unit .monster-battle-art{width:145px!important;height:175px!important}}
/* v1.82.10 Alpha: exact player-visible monster scale + high-density crisp assets. */
.arena .battle-stage.zone-scene .hero-model,.arena .enemy-model{width:235px!important;height:280px!important;object-fit:contain!important;object-position:center bottom!important;overflow:visible!important;}
.arena .enemy-unit .monster-battle-art{display:block!important;width:235px!important;height:280px!important;object-fit:contain!important;object-position:center bottom!important;transform:translateX(-50%)!important;transform-origin:50% 90%!important;image-rendering:auto!important;background:transparent!important;border:0!important;box-shadow:none!important;}
.arena .enemy-unit.elite .monster-battle-art,.arena .enemy-unit.giant .monster-battle-art,.arena .enemy-unit.champion .monster-battle-art,.arena .enemy-unit.boss .monster-battle-art{transform:translateX(-50%)!important;}
@media(max-width:1000px){.arena .battle-stage.zone-scene .hero-model,.arena .enemy-model{width:190px!important;height:225px!important}.arena .enemy-unit .monster-battle-art{width:190px!important;height:225px!important}}
@media(max-width:560px){.arena .battle-stage.zone-scene .hero-model,.arena .enemy-model{width:145px!important;height:175px!important}.arena .enemy-unit .monster-battle-art{width:145px!important;height:175px!important}}
/* v1.82.11 Alpha: standardized monster canvases against the real player-model battle box. */
.arena .battle-stage.zone-scene .hero-model,
.arena .enemy-model{width:235px!important;height:280px!important;object-fit:contain!important;object-position:center bottom!important;overflow:visible!important;}
.arena .enemy-unit .monster-battle-art{
  display:block!important;
  position:absolute!important;
  left:50%!important;
  bottom:0!important;
  width:235px!important;
  height:280px!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  transform:translateX(-50%)!important;
  transform-origin:50% 100%!important;
  image-rendering:auto!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  filter:drop-shadow(0 16px 12px rgba(0,0,0,.58))!important;
}
/* All monster variants use the same base presentation size. */
.arena .enemy-unit.elite .monster-battle-art,
.arena .enemy-unit.giant .monster-battle-art,
.arena .enemy-unit.champion .monster-battle-art,
.arena .enemy-unit.boss .monster-battle-art{transform:translateX(-50%)!important;}
@media(max-width:1000px){
  .arena .battle-stage.zone-scene .hero-model,.arena .enemy-model{width:190px!important;height:225px!important;}
  .arena .enemy-unit .monster-battle-art{width:190px!important;height:225px!important;}
}
@media(max-width:560px){
  .arena .battle-stage.zone-scene .hero-model,.arena .enemy-model{width:145px!important;height:175px!important;}
  .arena .enemy-unit .monster-battle-art{width:145px!important;height:175px!important;}
}
/* v1.82.12 Alpha: server-wide goal reward banner + active boost presentation */
.server-goal-live{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;padding:9px 12px;border:1px solid #356a8a;border-radius:8px;background:linear-gradient(180deg,#0f1d27,#0d151b);box-shadow:inset 0 0 18px rgba(70,170,230,.05)}
.server-goal-live>div{min-width:0}.server-goal-live b{display:block;color:#e8c85b;font-size:10px;letter-spacing:.6px}.server-goal-live small{display:block;color:#78e79a;font-size:9px;margin-top:4px}.server-goal-live>strong{display:none!important}
.server-goal-boost-row{border-bottom-color:#304027}.server-goal-boost-row span{color:#d9d0b8!important}.server-goal-boost-row .server-goal-boost-value{color:#7bdcff!important;font-weight:900!important;margin-left:auto}
@media(max-width:560px){.server-goal-live{padding:8px 9px}.server-goal-live b{font-size:9px}.server-goal-live small{font-size:8px}.server-goal-live>strong{font-size:10px}}
/* v1.82.13: equipped gear is centered consistently for Knight, Mage and Rogue. */
.profile-gear-grid{display:grid!important;grid-template-columns:repeat(7,minmax(82px,1fr))!important;justify-content:center!important;justify-items:center!important;align-items:start!important;gap:10px!important;width:100%!important;margin:12px auto 0!important;box-sizing:border-box!important;overflow:hidden!important}.profile-gear-item{width:100%!important;max-width:120px!important;min-width:0!important;margin:0 auto!important;text-align:center!important}.profile-gear-item img{display:block!important;width:68px!important;height:68px!important;object-fit:contain!important;margin:0 auto 7px!important}.profile-gear-item b,.profile-gear-item small{display:block!important;text-align:center!important;overflow-wrap:anywhere}.profile-gear-item b{font-size:8px!important}.profile-gear-item small{font-size:7px!important}@media(max-width:900px){.profile-gear-grid{grid-template-columns:repeat(7,minmax(72px,1fr))!important;gap:6px!important}.profile-gear-item img{width:60px!important;height:60px!important}}@media(max-width:650px){.profile-gear-grid{grid-template-columns:repeat(7,minmax(68px,1fr))!important;gap:4px!important;overflow-x:auto!important;padding-bottom:4px!important}.profile-gear-item{min-width:68px!important}.profile-gear-item img{width:56px!important;height:56px!important}}
.server-goal-requirements{display:grid;gap:4px;margin:7px 0;color:#aaa094;font-size:9px}.server-goal-requirements span{display:flex;justify-content:space-between;gap:8px}.server-goal-requirements b{color:#e8c45d}.server-goal-contribute-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:6px}.server-goal-contribute-grid label{color:#777066;font-size:8px}.server-goal-contribute-grid input{display:block;width:100%;box-sizing:border-box;margin-top:3px;background:#11100e;border:1px solid #5b431f;color:#eee;padding:7px;border-radius:5px;font-size:9px}.admin-goal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-goal-option{border:1px solid #332a21;background:#0d0c0a;border-radius:7px;padding:10px}.admin-goal-option h3{margin:0;color:#e2c05e;font-size:10px}.admin-goal-option p{margin:5px 0;color:#81776b;font-size:8px;line-height:1.4}.admin-goal-option small{display:block;color:#a99d8d;font-size:8px;line-height:1.5}.admin-goal-option b{color:#79d89a}.admin-goal-actions{display:flex;justify-content:flex-end;margin-top:7px}.admin-goal-active{border-color:#4c7d42}.admin-goal-status{margin-top:10px;padding:8px;border:1px solid #3e6e37;background:#0e1b0d;color:#9ce88c;border-radius:6px;font-size:9px}.admin-goal-history{margin-top:10px}
/* v1.82.14: Server Goal contribution button uses the same gold/orange action treatment as the rest of the Quest menu. */
.server-goal-contribute-grid>button{grid-column:1/-1;border:1px solid #8c6422!important;background:linear-gradient(180deg,#d6a83a,#96651b)!important;color:#130f08!important;border-radius:5px!important;padding:7px 9px!important;font-size:9px!important;font-weight:900!important;cursor:pointer!important;white-space:nowrap!important;box-sizing:border-box!important}.server-goal-contribute-grid>button:hover{filter:brightness(1.08)}
@media(max-width:560px){.server-goal-contribute-grid>button{grid-column:auto}}
/* v1.82.19: final desktop balance + server-goal contribution validation */
@media (min-width:701px){
  .dashboard{grid-template-columns:minmax(230px,260px) minmax(0,1fr) minmax(310px,340px)!important;gap:12px!important;}
  .leftcol,.centercol,.rightcol{min-width:0!important;}
  .centercol{max-width:none!important;}
  .rightcol{width:auto!important;}
  .inventory{width:100%!important;max-width:none!important;box-sizing:border-box!important;}
  .inventory .equiprow,.inventory .invgrid{grid-template-columns:repeat(8,32px)!important;gap:4px!important;justify-content:start!important;}
}
.server-goal-contribute-grid input[type=number]{min-width:0!important;max-width:100%!important;}
/* v1.82.20: rebalance desktop game columns while preserving the proven right inventory width. */
@media (min-width:701px){
  .dashboard{grid-template-columns:minmax(290px,300px) minmax(0,1fr) minmax(330px,340px)!important;gap:12px!important;}
  .leftcol{width:100%!important;min-width:0!important;}
  .centercol{min-width:0!important;}
  .rightcol{width:100%!important;min-width:0!important;}
  .inventory{width:100%!important;max-width:none!important;}
}
/* v1.82.21: final desktop balance — more room for Hero Status/Quests while preserving the right inventory width. */
@media (min-width:1101px){
  .dashboard{grid-template-columns:300px minmax(0,1fr) 340px!important;gap:12px!important;}
}
@media (min-width:701px) and (max-width:1100px){
  .dashboard{grid-template-columns:270px minmax(0,1fr) 320px!important;gap:10px!important;}
}
.season-view-rewards{color:#e8b53b;text-decoration:underline;font-weight:700;white-space:nowrap}.season-view-rewards:hover{color:#ffd76a}
/* v1.82.30 Alpha: fixed Server Goal progress, game footer, and normalized 1369x1149 monster canvas. */
.server-goal-bar i{transition:width .25s ease;}

.earnings .earn-headline{font-family:Arial,Helvetica,sans-serif;font-size:21px!important;font-weight:900!important;color:#e5c45d!important;line-height:1.1;}
.arena .battle-stage.zone-scene .hero-model,.arena .enemy-model{width:235px!important;height:280px!important;overflow:visible!important;}
.arena .enemy-unit .monster-battle-art{width:235px!important;height:280px!important;object-fit:contain!important;object-position:center bottom!important;image-rendering:auto!important;}
@media(max-width:1000px){.arena .battle-stage.zone-scene .hero-model,.arena .enemy-model{width:190px!important;height:225px!important}.arena .enemy-unit .monster-battle-art{width:190px!important;height:225px!important}}
@media(max-width:560px){.arena .battle-stage.zone-scene .hero-model,.arena .enemy-model{width:145px!important;height:175px!important}.arena .enemy-unit .monster-battle-art{width:145px!important;height:175px!important}}
/* v1.82.30 Alpha: earnings-rate explainer table. */
.earnings-rate-table{margin:10px 0 12px;border:1px solid #33291f;border-radius:7px;overflow:hidden;background:#0e0d0b;}
.earnings-rate-head,.earnings-rate-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;align-items:center;padding:8px 10px;border-bottom:1px solid #29231c;font-size:10px;}
.earnings-rate-head{color:#756c60;font-size:8px;font-weight:900;letter-spacing:.7px;background:#12100d;}
.earnings-rate-row:last-child{border-bottom:0}.earnings-rate-row span{color:#b9ad9b}.earnings-rate-row b{color:#e5c45d}.earnings-rate-row strong{color:#78e79a;}
/* v1.82.31 UI/combat polish */
.season-notes span{padding-left:0!important;border-left:0!important}
.earnings-ticker .earning-label em{color:#59e879!important;text-shadow:0 0 5px #3cff68,0 0 12px #3cff6844!important;animation:sfLiveGlow 1.8s ease-in-out infinite}
@keyframes sfLiveGlow{0%,100%{text-shadow:0 0 4px #3cff68,0 0 8px #3cff6833}50%{text-shadow:0 0 7px #3cff68,0 0 16px #3cff6866}}
.earnings-ticker .earn-day-value,.earnings-ticker .earn-total-day-value{font:inherit!important;font-size:20px!important;font-weight:700!important;color:#e5c45d!important}
.earnings-ticker .earn-total-day-value{color:#e5c45d!important}
.arena .enemy-model{width:235px!important;height:280px!important;overflow:visible!important}
.arena .enemy-unit .monster-battle-art{width:235px!important;height:280px!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center bottom!important;image-rendering:auto!important;transform:translateX(-50%)!important}
.arena .enemy-unit.elite .monster-battle-art,.arena .enemy-unit.giant .monster-battle-art,.arena .enemy-unit.champion .monster-battle-art,.arena .enemy-unit.boss .monster-battle-art{transform:translateX(-50%)!important}
@media(max-width:1000px){.arena .enemy-model{width:190px!important;height:225px!important}.arena .enemy-unit .monster-battle-art{width:190px!important;height:225px!important}}
@media(max-width:560px){.arena .enemy-model{width:145px!important;height:175px!important}.arena .enemy-unit .monster-battle-art{width:145px!important;height:175px!important}}
.arena .arena-top .auto-pot-trigger{width:104px!important;min-width:104px!important;max-width:104px!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;padding-left:4px!important;padding-right:4px!important}
.sf-modal{position:fixed;inset:0;z-index:9998;display:none;align-items:center;justify-content:center;padding:20px}.sf-modal.open{display:flex}.sf-modal-backdrop{position:absolute;inset:0;background:#000b;backdrop-filter:blur(3px)}.sf-modal-panel{position:relative;width:min(500px,100%);padding:24px;background:linear-gradient(180deg,#17130e,#0e0d0b);border:1px solid #9a6b20;border-radius:12px;box-shadow:0 25px 80px #000c;color:#ddd}.sf-modal-panel h2{margin:0 0 12px;color:#f0d18a;font-size:20px}.sf-modal-panel p{color:#c5b9a3;line-height:1.5}.sf-modal-x{position:absolute;right:10px;top:8px;border:0;background:none;color:#9b8d76;font-size:24px;cursor:pointer}.sf-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.auto-pot-control .zone-join-toast{flex-basis:100%;position:relative;left:auto;bottom:auto;z-index:50;display:block;width:max-content;max-width:270px;box-sizing:border-box;margin-top:6px;padding:7px 10px;border:1px solid #b88627;border-radius:9px;background:linear-gradient(180deg,#1b140b,#0f0d0a);color:#f0d28b;font-size:10px;font-weight:800;line-height:1.3;box-shadow:0 8px 25px #0009;opacity:0;transform:translateY(-3px);pointer-events:none;transition:opacity .2s,transform .2s}.auto-pot-control .zone-join-toast.show{opacity:1;transform:translateY(0)}
/* v1.82.36: text-only SolForge combat dashboard — no hero/monster battle art. */
/* v1.82.38: text-combat layout flow fix — keep title/cards/stats/session in normal document flow. */
.sf-combat-dashboard .sf-battle-top{position:relative!important;top:auto!important;left:auto!important;right:auto!important;width:100%!important;height:46px!important;min-height:46px!important;box-sizing:border-box!important;z-index:30!important;}
.sf-combat-dashboard .sf-battle-zone-title{position:relative!important;top:auto!important;left:auto!important;right:auto!important;width:100%!important;box-sizing:border-box!important;z-index:2!important;margin:0!important;padding:8px 12px 9px!important;}
.sf-combat-dashboard .sf-battle-zone-title small{display:block!important;margin:0 0 2px!important;}
.sf-combat-dashboard .sf-battle-zone-title h1{margin:2px 0 3px!important;line-height:1.05!important;}
.sf-combat-dashboard .sf-battle-zone-title span{display:block!important;line-height:1.2!important;}
.sf-combat-dashboard .sf-battle-grid{position:relative!important;z-index:1!important;}
.sf-combat-dashboard .sf-battle-stats{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;z-index:2!important;box-sizing:border-box!important;}
.sf-combat-dashboard .sf-session{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:auto!important;min-height:0!important;z-index:3!important;box-sizing:border-box!important;}
.sf-combat-dashboard .sf-session div:first-child{position:relative!important;}
@media(max-width:700px){.sf-combat-dashboard .sf-battle-top{height:44px!important;min-height:44px!important}.sf-combat-dashboard .sf-battle-zone-title{padding:7px 10px 8px!important}}

.sf-combat-dashboard{height:auto!important;min-height:0!important;overflow:visible!important;background:#080909!important;border:1px solid #4c3a1d!important;border-radius:7px!important;box-shadow:0 14px 45px #0008!important;padding-bottom:0!important;position:relative!important;}
.sf-combat-dashboard .sf-battle-top{position:relative!important;height:42px!important;display:flex!important;justify-content:space-between!important;align-items:flex-start!important;padding:8px 10px 0!important;box-sizing:border-box!important;background:#0b0b0a!important;z-index:30!important;}
.sf-battle-top .arena-controls{margin-left:auto!important}.sf-battle-top .auto-combat-pvp-stack{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:5px!important}.sf-battle-top .auto-pot-trigger,.sf-battle-top .auto-combat-trigger,.sf-battle-top .pvp-toggle{height:28px!important;min-height:28px!important;padding:0 9px!important;line-height:26px!important;font-size:9px!important;white-space:nowrap!important;}
.sf-battle-zone-title{margin:0!important;padding:9px 12px 10px!important;text-align:center!important;background:linear-gradient(180deg,#15120d,#0b0b0a)!important;border-top:1px solid #302718!important;border-bottom:1px solid #3b2c18!important;}
.sf-battle-zone-title h1{font-size:23px!important;margin:2px 0!important}.sf-battle-zone-title span{font-size:8px!important;color:#8f816c!important}
.sf-battle-grid{display:grid;grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);grid-template-rows:auto auto auto;gap:8px;padding:10px;background:#090a0a;position:relative;}
.sf-battle-card{background:linear-gradient(180deg,#121312,#0b0c0c);border:1px solid #302c24;border-radius:6px;padding:10px;min-width:0;box-shadow:inset 0 1px #ffffff04;}
.sf-card-head{display:flex;justify-content:space-between;gap:8px;align-items:center;color:#dcb95c;font-size:10px;letter-spacing:.6px;border-bottom:1px solid #29251e;padding-bottom:6px}.sf-card-head span{color:#8c8476;font-size:8px;letter-spacing:0}.sf-name{font-size:15px;font-weight:900;color:#eee3d0;margin:7px 0}.sf-hp-row{display:flex;justify-content:space-between;color:#8d867a;font-size:8px}.sf-hp-row b{color:#d8d0c1}.sf-hp{height:9px;background:#252725;border-radius:5px;overflow:hidden;margin:4px 0 8px;border:1px solid #1f211f}.sf-hp i{display:block;height:100%;background:#35c967;transition:width .3s}.sf-hp.enemy-hp i{background:#e04b4b}.sf-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px}.sf-stat-grid div{display:flex;justify-content:space-between;gap:5px;font-size:8px;border-bottom:1px solid #1d1e1c;padding:3px 0}.sf-stat-grid span{color:#8f887c}.sf-stat-grid b{color:#e7dfd1;font-size:9px}.sf-vs{display:flex;align-items:center;justify-content:center;color:#e6bd56;font-weight:1000;font-size:14px;text-shadow:0 0 12px #e6bd5633;}
.sf-battle-progress{grid-column:1/-1;background:#10110f;border:1px solid #302b22;border-radius:6px;padding:8px 10px}.sf-battle-progress>div:first-child{display:flex;justify-content:space-between;color:#c4b48e;font-size:9px;margin-bottom:5px}.sf-battle-progress b{color:#70e184}.sf-progress{height:8px;background:#252725;border-radius:5px;overflow:hidden}.sf-progress i{display:block;height:100%;background:#e9b938;transition:width .3s}
.sf-combat-log-panel{grid-column:1/-1;background:#090b0b;border:1px solid #302c24;border-radius:6px;min-height:175px;overflow:hidden}.sf-panel-title{display:flex;justify-content:space-between;align-items:center;padding:7px 9px;border-bottom:1px solid #29251f;color:#e0bc59;font-size:10px;letter-spacing:.6px}.sf-panel-title button{background:#181714;border:1px solid #4a4132;color:#a89d8b;border-radius:4px;font-size:8px;padding:3px 7px;cursor:pointer}.sf-combat-log{height:155px;overflow:auto;padding:4px 7px;scrollbar-width:thin}.log-line{display:grid;grid-template-columns:18px 1fr auto;gap:5px;align-items:center;padding:4px 3px;border-bottom:1px solid #161816;font-size:8px}.log-line span{color:#d9b54f;text-align:center}.log-line b{color:#d9d2c6;font-weight:700}.log-line em{font-style:normal;color:#6e675c;font-size:7px;text-align:right}.log-line.damage b{color:#75d87e}.log-line.taken b{color:#f06c61}.log-line.crit b{color:#f2c044}.log-line.victory b{color:#62e87b}.log-line.reward b{color:#70cfff}.log-line.potion b{color:#c98cff}.log-line.system b{color:#bdb3a1}
.sf-battle-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) minmax(150px,1.5fr);gap:6px;padding:0 10px 8px;background:#090a0a}.sf-battle-stats>div{background:#111310;border:1px solid #2c2a24;border-radius:5px;padding:7px 8px;min-width:0}.sf-battle-stats span{display:block;color:#8d867a;font-size:7px}.sf-battle-stats b{display:block;color:#69e184;font-size:12px;margin-top:3px}.sf-boss-button-wrap{padding:0!important;border:0!important;background:transparent!important;display:flex;align-items:stretch}.sf-boss-button-wrap form{width:100%;display:flex}.sf-boss-button{width:100%;border:1px solid #9b39db;background:linear-gradient(180deg,#321048,#1b0928);color:#e7b7ff;border-radius:6px;font-size:9px;font-weight:900;cursor:pointer;box-shadow:0 0 18px #8d2cc533}.sf-boss-button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}
.sf-session{margin:0 10px 10px!important;background:#10110f!important;border:1px solid #4a371d!important;border-radius:5px!important;padding:8px 10px!important}.sf-session div:first-child{display:flex;align-items:center;gap:12px!important;flex-wrap:wrap}.sf-session b{color:#e1bd58!important;font-size:8px!important}.sf-session span{color:#aaa092!important;font-size:8px!important}.sf-session span:first-letter{color:#e1bd58!important}
@media(max-width:1100px){.sf-battle-grid{grid-template-columns:1fr 30px 1fr}.sf-battle-stats{grid-template-columns:repeat(3,1fr)}.sf-boss-button-wrap{grid-column:1/-1;min-height:42px}.sf-boss-button{min-height:42px}}
@media(max-width:700px){.sf-battle-grid{grid-template-columns:1fr;}.sf-vs{display:none}.sf-battle-stats{grid-template-columns:repeat(2,1fr)}.sf-boss-button-wrap{grid-column:1/-1}.sf-battle-zone-title h1{font-size:19px!important}.sf-combat-log{height:140px}}
/* v1.82.40: combat dashboard cleanup + battle-only heartbeat support */
.sf-combat-dashboard .sf-battle-top{height:42px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:7px 10px!important;box-sizing:border-box!important;}
.sf-combat-dashboard .sf-battle-top .arena-controls{margin-left:auto!important;position:relative!important;z-index:20!important;}
.sf-combat-dashboard .sf-battle-top .auto-combat-pvp-stack{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;}
.sf-combat-dashboard .sf-battle-top .auto-combat-form,.sf-combat-dashboard .sf-battle-top .pvp-toggle-form{display:block!important;margin:0!important;}
.sf-combat-dashboard .sf-battle-top .auto-combat-trigger,.sf-combat-dashboard .sf-battle-top .pvp-toggle{height:28px!important;min-height:28px!important;padding:0 10px!important;line-height:26px!important;white-space:nowrap!important;}
.sf-combat-dashboard .sf-battle-grid{position:relative!important;z-index:1!important;}
.sf-combat-dashboard .sf-battle-stats{position:relative!important;z-index:5!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr)) minmax(190px,1.5fr)!important;gap:6px!important;padding:0 10px 8px!important;background:#090a0a!important;box-sizing:border-box!important;}
.sf-combat-dashboard .sf-battle-stats>div{min-width:0!important;position:relative!important;z-index:6!important;}
.sf-combat-dashboard .sf-chest-button-wrap,.sf-combat-dashboard .sf-boss-button-wrap{padding:0!important;border:0!important;background:transparent!important;display:flex!important;align-items:stretch!important;min-height:42px!important;}
.sf-combat-dashboard .sf-chest-button-wrap form,.sf-combat-dashboard .sf-boss-button-wrap form{width:100%!important;display:flex!important;margin:0!important;}
.sf-combat-dashboard .sf-chest-button,.sf-combat-dashboard .sf-boss-button{width:100%!important;min-height:42px!important;position:relative!important;z-index:10!important;pointer-events:auto!important;}
.sf-combat-dashboard .sf-chest-button{border:1px solid #3e8f55!important;background:linear-gradient(180deg,#12351b,#0b2110)!important;color:#8ee9a0!important;border-radius:6px!important;font-size:9px!important;font-weight:900!important;cursor:pointer!important;}
.sf-combat-dashboard .sf-boss-button{border:1px solid #9b39db!important;background:linear-gradient(180deg,#321048,#1b0928)!important;color:#e7b7ff!important;border-radius:6px!important;font-size:9px!important;font-weight:900!important;cursor:pointer!important;}
.sf-combat-dashboard .sf-chest-button:disabled,.sf-combat-dashboard .sf-boss-button:disabled{opacity:.45!important;cursor:not-allowed!important;box-shadow:none!important;}
@media(max-width:1100px){.sf-combat-dashboard .sf-battle-stats{grid-template-columns:repeat(3,1fr)!important}.sf-combat-dashboard .sf-chest-button-wrap,.sf-combat-dashboard .sf-boss-button-wrap{grid-column:auto!important;}}
@media(max-width:700px){.sf-combat-dashboard .sf-battle-top .auto-combat-pvp-stack{flex-wrap:wrap!important}.sf-combat-dashboard .sf-battle-stats{grid-template-columns:repeat(2,1fr)!important}.sf-combat-dashboard .sf-chest-button-wrap,.sf-combat-dashboard .sf-boss-button-wrap{grid-column:1/-1!important;}}

/* v1.82.42: text-combat cleanup — no floating hit text, four stats + two action buttons, no session strip. */
.battle-effects,.float-hit,.battle-feed{display:none!important;}
.sf-combat-dashboard .sf-battle-stats{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(170px,1.15fr) minmax(190px,1.25fr)!important;align-items:stretch!important;}
.sf-combat-dashboard .sf-battle-stats>div{min-height:42px!important;box-sizing:border-box!important;}
.sf-combat-dashboard .sf-chest-button-wrap,.sf-combat-dashboard .sf-boss-button-wrap{grid-column:auto!important;min-height:42px!important;}
.sf-combat-dashboard .sf-chest-button,.sf-combat-dashboard .sf-boss-button{height:42px!important;min-height:42px!important;}
@media(max-width:1100px){.sf-combat-dashboard .sf-battle-stats{grid-template-columns:repeat(4,minmax(0,1fr))!important;}.sf-combat-dashboard .sf-chest-button-wrap,.sf-combat-dashboard .sf-boss-button-wrap{grid-column:auto!important;}}
@media(max-width:800px){.sf-combat-dashboard .sf-battle-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.sf-combat-dashboard .sf-chest-button-wrap,.sf-combat-dashboard .sf-boss-button-wrap{grid-column:auto!important;}}
/* v1.82.43: restore collapsible Zone List and keep its title controls usable. */
.zone-wrap.collapsible-card.is-collapsed > .zones{display:none!important}
.zone-wrap.collapsible-card > .zone-list-title{cursor:pointer;user-select:none}
.zone-wrap.collapsible-card > .zone-list-title .nightmare-form{position:relative;z-index:2}
#bossPurchaseModal .sf-modal-actions{align-items:center}
#bossPurchaseModal .sf-modal-actions .gold-btn:disabled{opacity:.45;cursor:not-allowed}
.sf-broadcast-bar{width:100%;box-sizing:border-box;padding:10px 18px;background:#c62828;color:#fff;font-weight:900;font-size:12px;letter-spacing:.4px;text-align:center;border-bottom:1px solid #7f1d1d;box-shadow:0 2px 10px #0007;position:relative;z-index:50}.sf-broadcast-bar span{margin-right:8px}.season-lock-banner{margin:8px 0 10px;padding:10px 12px;border:1px solid #8d6a2c;background:#1a1408;color:#e7c15a;border-radius:6px;font-size:9px;font-weight:900;letter-spacing:.5px;text-align:center}.leader-season-status-note{margin:8px 0;padding:8px 10px;border:1px solid #3b3022;background:#12100d;color:#c7a958;border-radius:5px;font-size:8px;font-weight:900;letter-spacing:.6px;text-align:center}
/* SolForge v1.82.45 Alpha updated rarity palette */
.inventory .equip.common .itemicon,.inventory .slot.common,.hero-equipped-badge.common,.item-visual.common,.wheel-card.common{border-color:#9CA3AF!important;color:#9CA3AF!important}
.inventory .equip.uncommon .itemicon,.inventory .slot.uncommon,.hero-equipped-badge.uncommon,.item-visual.uncommon,.wheel-card.uncommon{border-color:#22C55E!important;color:#22C55E!important}
.inventory .equip.rare .itemicon,.inventory .slot.rare,.hero-equipped-badge.rare,.item-visual.rare,.wheel-card.rare{border-color:#3B82F6!important;color:#3B82F6!important}
.inventory .equip.epic .itemicon,.inventory .slot.epic,.hero-equipped-badge.epic,.item-visual.epic,.wheel-card.epic{border-color:#9C27B0!important;color:#9C27B0!important}
.inventory .equip.legendary .itemicon,.inventory .slot.legendary,.hero-equipped-badge.legendary,.item-visual.legendary,.wheel-card.legendary{border-color:#F59E0B!important;color:#F59E0B!important}
.inventory .equip.mythic .itemicon,.inventory .slot.mythic,.hero-equipped-badge.mythic,.item-visual.mythic,.wheel-card.mythic{border-color:#E54241!important;color:#E54241!important}
.inventory .equip.cosmic .itemicon,.inventory .slot.cosmic,.hero-equipped-badge.cosmic,.item-visual.cosmic,.wheel-card.cosmic{border-color:#D6FF4F!important;color:#D6FF4F!important}
.inventory .equip.divine .itemicon,.inventory .slot.divine,.hero-equipped-badge.divine,.item-visual.divine,.wheel-card.divine{border-color:#FF7AD9!important;color:#FF7AD9!important}
.inventory .equip.celestial .itemicon,.inventory .slot.celestial,.hero-equipped-badge.celestial,.item-visual.celestial,.wheel-card.celestial{border-color:#7DF9FF!important;color:#7DF9FF!important}
.inventory .equip.angel .itemicon,.inventory .slot.angel,.hero-equipped-badge.angel,.item-visual.angel,.wheel-card.angel{border-color:#BA7F04!important;color:#BA7F04!important}
.inventory .equip.god .itemicon,.inventory .slot.god,.hero-equipped-badge.god,.item-visual.god,.wheel-card.god{border-color:#624694!important;color:#624694!important}
.craft-salvage .common{color:#9CA3AF}.craft-salvage .uncommon{color:#22C55E}.craft-salvage .rare{color:#3B82F6}.craft-salvage .epic{color:#9C27B0}.craft-salvage .legendary{color:#F59E0B}.craft-salvage .mythic{color:#E54241}.craft-salvage .cosmic{color:#D6FF4F}.craft-salvage .divine{color:#FF7AD9}.craft-salvage .celestial{color:#7DF9FF}.craft-salvage .angel{color:#BA7F04}.craft-salvage .god{color:#624694}
.market-page .listing.common .listing-name strong{color:#9CA3AF}.market-page .listing.uncommon .listing-name strong{color:#22C55E}.market-page .listing.rare .listing-name strong{color:#3B82F6}.market-page .listing.epic .listing-name strong{color:#9C27B0}.market-page .listing.legendary .listing-name strong{color:#F59E0B}.market-page .listing.mythic .listing-name strong{color:#E54241}.market-page .listing.cosmic .listing-name strong{color:#D6FF4F}.market-page .listing.divine .listing-name strong{color:#FF7AD9}.market-page .listing.celestial .listing-name strong{color:#7DF9FF}.market-page .listing.angel .listing-name strong{color:#BA7F04}.market-page .listing.god .listing-name strong{color:#624694}
html:has(.sf-home),body:has(.sf-home){height:auto!important;min-height:100%;overflow-x:hidden!important;overflow-y:scroll!important;position:static!important}.sf-home{height:auto!important;min-height:100vh!important;max-height:none!important;overflow:visible!important}.sf-home-content{height:auto!important;max-height:none!important;overflow:visible!important}
.nightmare-error-note{position:fixed;right:20px;bottom:20px;z-index:9999;padding:10px 14px;border:1px solid #a33;background:#3a0f0f;color:#ffb0aa;border-radius:8px;font-weight:900}
/* Marketplace sell/listing redesign */
.market-sell-tabs{display:flex;gap:8px;margin-bottom:14px}.market-sell-tabs a{padding:10px 14px;font-size:11px}.market-sell-grid{gap:14px}.market-sell-items{padding:14px}.market-sell-section-title{font-size:13px}.market-sell-section-title small{font-size:10px}.market-sell-card{padding:10px}.market-sell-card b{font-size:11px}.market-sell-card small{font-size:9px}.market-sell-form{padding:16px}.market-sell-form h2{font-size:17px}.market-sell-form p{font-size:10px}.market-sell-form label{font-size:10px}.market-sell-form input,.market-sell-form select{font-size:11px;padding:10px}.market-sell-form button{font-size:11px;padding:11px}.market-sell-help{font-size:9px}.market-sell-tabs{display:flex;gap:7px;margin-bottom:12px}.market-sell-tabs a{padding:9px 13px;border:1px solid #3b2b1c;border-radius:7px;background:#11100e;color:#a99d8d;text-decoration:none;font-size:9px;font-weight:900}.market-sell-tabs a.active{border-color:#c17a25;background:#291b0e;color:#efc767}.market-sell-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.8fr);gap:12px}.market-sell-items{border:1px solid #33291f;background:#12100d;border-radius:8px;padding:12px}.market-sell-section-title{display:flex;justify-content:space-between;align-items:center;color:#dfc05f;font-size:12px;margin-bottom:8px}.market-sell-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.market-sell-card{display:block;text-decoration:none;border:1px solid #30271e;background:#0e0d0b;border-radius:7px;padding:8px;color:#ddd;min-width:0}.market-sell-card.active{border-color:#d5a143;background:#19140c;box-shadow:0 0 0 1px #d5a14333}.market-sell-card .sell-art{width:42px;height:42px;display:grid;place-items:center;border:1px solid #493a26;border-radius:6px;background:#080807;margin-bottom:6px;overflow:hidden}.market-sell-card img{width:100%;height:100%;object-fit:contain}.market-sell-card b{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.market-sell-card small{display:block;color:#777066;font-size:7px;margin-top:3px}.market-sell-form{border:1px solid #33291f;background:#12100d;border-radius:8px;padding:14px;position:sticky;top:12px}.market-sell-form h2{margin:0 0 5px;color:#e5c55e;font-size:14px}.market-sell-form p{margin:0 0 12px;color:#7c7266;font-size:8px;line-height:1.5}.market-sell-form label{display:block;color:#aaa092;font-size:8px;margin:8px 0}.market-sell-form input,.market-sell-form select{width:100%;box-sizing:border-box;background:#0d0c0b;border:1px solid #493a26;color:#eee;padding:9px;border-radius:5px;margin-top:4px}.market-sell-form button{width:100%;margin-top:8px}.market-sell-help{margin-top:10px;padding:9px;border:1px solid #2c251d;background:#0e0d0b;color:#746b60;font-size:7px;line-height:1.5;border-radius:6px}.market-sell-help b{color:#d4b65e}@media(max-width:800px){.market-sell-grid{grid-template-columns:1fr}.market-sell-form{position:static}.market-sell-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* SolForge-inspired referral page */
.sf-ref-page{max-width:1160px;margin:0 auto;padding:10px 18px 50px;color:#ddd4c5}.sf-ref-head{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border:1px solid #49361d;background:linear-gradient(180deg,#1a150e,#0f0d0b);border-radius:10px;margin-bottom:12px}.sf-ref-head h1{margin:0;color:#f0c55c;font-size:21px}.sf-ref-head p{margin:4px 0 0;color:#82786b;font-size:9px}.sf-ref-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.sf-ref-card{border:1px solid #352c22;background:#12100d;border-radius:8px;padding:13px}.sf-ref-card h3{margin:0 0 9px;color:#d7bf78;font-size:10px;letter-spacing:.7px}.sf-ref-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.sf-ref-stat{border:1px solid #30271f;background:#0e0d0b;border-radius:6px;padding:9px;text-align:center}.sf-ref-stat b{display:block;color:#f0d8a4;font-size:17px}.sf-ref-stat span{display:block;color:#746b60;font-size:7px;margin-top:3px}.sf-ref-link{grid-column:1/-1;border:1px solid #c18a27;background:linear-gradient(180deg,#241a0c,#17120d);border-radius:8px;padding:12px}.sf-ref-link-head{display:flex;justify-content:space-between;gap:10px;color:#e7bf53;font-size:9px;font-weight:900}.sf-ref-link-row{display:flex;gap:7px;margin-top:8px}.sf-ref-link-row input{flex:1;background:#0d0c0a;border:1px solid #55401f;color:#eee;padding:9px;border-radius:5px;font-size:9px}.sf-ref-link-row button{white-space:nowrap}.sf-ref-hero-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:9px}.sf-ref-highlight{border:1px solid #49351f;background:#17130e;border-radius:8px;padding:12px}.sf-ref-highlight strong{display:block;color:#7de09a;font-size:20px}.sf-ref-highlight b{display:block;color:#d9c9ae;font-size:9px;margin-top:3px}.sf-ref-highlight small{display:block;color:#756b60;font-size:7px;margin-top:5px}.sf-ref-milestones,.sf-ref-recruits,.sf-ref-race,.sf-ref-steps{margin-top:9px}.sf-ref-milestones{grid-column:1/-1}.sf-ref-milestone-row{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.sf-ref-milestone{border:1px solid #33291f;background:#0e0d0b;border-radius:7px;padding:10px;text-align:center}.sf-ref-milestone .num{width:30px;height:30px;display:grid;place-items:center;margin:0 auto 6px;border:1px solid #624a25;border-radius:50%;color:#dcb65b;font-weight:900}.sf-ref-milestone b{display:block;color:#ddd1bd;font-size:8px}.sf-ref-milestone small{color:#70675d;font-size:7px}.sf-ref-recruits{grid-column:1/-1}.sf-ref-recruit-head{display:flex;justify-content:space-between;align-items:center}.sf-ref-recruit-filters{display:flex;gap:5px}.sf-ref-pill{border:1px solid #654b22;background:#17120d;color:#8f8373;border-radius:14px;padding:5px 8px;font-size:7px}.sf-ref-pill.active{color:#f0c45d;border-color:#b17a1d}.sf-ref-empty{text-align:center;padding:18px;color:#756c60;font-size:8px}.sf-ref-race{grid-column:1/-1}.sf-ref-race-row{display:grid;grid-template-columns:34px 1fr 100px 90px;gap:8px;align-items:center;border:1px solid #2b251d;background:#0e0d0b;border-radius:6px;padding:8px;margin-top:5px}.sf-ref-rank{width:25px;height:25px;display:grid;place-items:center;border-radius:7px;background:#d6a73f;color:#18120b;font-weight:900}.sf-ref-race-row:nth-child(3) .sf-ref-rank{background:#aab0b6}.sf-ref-race-row:nth-child(4) .sf-ref-rank{background:#b77d54}.sf-ref-race-row b{font-size:9px}.sf-ref-race-row span{color:#9b9182;font-size:8px;text-align:right}.sf-ref-race-row strong{color:#f0c65a;font-size:9px;text-align:right}.sf-ref-steps{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.sf-ref-step{border:1px solid #2f291f;background:#0e0d0b;border-radius:7px;padding:10px}.sf-ref-step .step-num{float:left;width:22px;height:22px;display:grid;place-items:center;border:1px solid #795a28;border-radius:5px;color:#e1b84f;margin-right:7px;font-weight:900;font-size:8px}.sf-ref-step b{display:block;color:#d8cdbb;font-size:8px}.sf-ref-step span{display:block;color:#746b60;font-size:7px;line-height:1.4;margin-top:3px}.sf-ref-foot{grid-column:1/-1;color:#746b60;font-size:8px;line-height:1.6;padding:2px 2px}.sf-ref-foot b{color:#d6b75d}@media(max-width:800px){.sf-ref-grid,.sf-ref-hero-grid{grid-template-columns:1fr 1fr}.sf-ref-link,.sf-ref-milestones,.sf-ref-recruits,.sf-ref-race,.sf-ref-steps,.sf-ref-foot{grid-column:1/-1}}@media(max-width:520px){.sf-ref-grid,.sf-ref-hero-grid{grid-template-columns:1fr}.sf-ref-stat-grid,.sf-ref-milestone-row,.sf-ref-steps{grid-template-columns:1fr}.sf-ref-race-row{grid-template-columns:30px 1fr}.sf-ref-race-row span,.sf-ref-race-row strong{grid-column:2;text-align:left}}
.store-buy-form{display:grid;gap:6px}.store-qty-row label{display:flex;align-items:center;justify-content:space-between;gap:6px;color:#8f8576;font-size:7px}.store-qty-row input{width:64px;box-sizing:border-box;background:#0d0c0b;border:1px solid #4b3a22;color:#eee;padding:6px;border-radius:4px;font-size:9px;text-align:center}
/* FIXED6: marketplace typography matches the rest of the site */
.market-sell-tabs a{font-size:11px;padding:10px 14px}
.market-sell-section-title{font-size:13px}
.market-sell-section-title small{font-size:10px}
.market-sell-card{padding:10px}
.market-sell-card b{font-size:11px}
.market-sell-card small{font-size:9px}
.market-sell-form{padding:16px}
.market-sell-form h2{font-size:17px}
.market-sell-form p{font-size:10px}
.market-sell-form label{font-size:10px}
.market-sell-form input,.market-sell-form select{font-size:11px;padding:10px}
.market-sell-form button{font-size:11px;padding:11px}
.market-sell-help{font-size:9px}
/* FIXED13: compact single-row item inspection controls */
.inspect-actions-single-line{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:6px;width:100%;}
.inspect-actions-single-line form{display:flex;flex:1 1 0;min-width:0;margin:0;}
.inspect-actions-single-line>button,.inspect-actions-single-line form button{flex:1 1 0;min-width:0;white-space:nowrap;padding:8px 7px;font-size:10px;}
.inspect-actions-single-line .enhance-open-btn{flex:1 1 0;}
.pet-special-label{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:38px;padding:6px 12px;border:1px solid #8b6b22;border-radius:7px;color:#f4c94d;font-weight:800;font-size:11px;line-height:1.15;background:rgba(80,55,15,.25);}
.alpha-bug-trigger{cursor:pointer;}
.alpha-bug-modal{position:fixed;inset:0;z-index:1200;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.72);}
.alpha-bug-modal.open{display:flex;}
.alpha-bug-panel{width:min(760px,96vw);max-height:90vh;overflow:auto;background:#17130f;border:1px solid #8c641f;border-radius:12px;box-shadow:0 20px 70px rgba(0,0,0,.65);padding:20px;color:#e8ddca;}
.alpha-bug-panel h2{margin:0 0 5px;color:#f0b936;}.alpha-bug-panel p{color:#a99d8a;font-size:12px;}
.alpha-bug-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}.alpha-bug-grid label{display:flex;flex-direction:column;gap:5px;color:#c9bca6;font-size:11px;font-weight:700}.alpha-bug-grid .wide{grid-column:1/-1;}
.alpha-bug-grid input,.alpha-bug-grid textarea{background:#0f0d0b;border:1px solid #443a2e;color:#eee;padding:9px;border-radius:6px;font:inherit}.alpha-bug-grid textarea{min-height:100px;resize:vertical;}
.alpha-bug-list{margin-top:18px;border-top:1px solid #332b22}.alpha-bug-row{padding:10px 0;border-bottom:1px solid #2d261f}.alpha-bug-row b{color:#f2c34d}.alpha-bug-row small{display:block;color:#887d6e;margin-top:3px}.alpha-bug-row div{margin-top:6px;color:#c9c0b2;font-size:12px;white-space:pre-wrap;}
@media(max-width:700px){.alpha-bug-grid{grid-template-columns:1fr}.alpha-bug-grid .wide{grid-column:auto}.inspect-actions-single-line>button,.inspect-actions-single-line form button{font-size:9px;padding:7px 4px;}}
/* v1.82.54 crafting/pet art polish */
.pet-supply-count{display:flex;align-items:center;justify-content:center;gap:6px;flex-direction:column;margin:5px 0 3px;text-align:center}.pet-supply-count b{font-size:10px;color:#f0d58f}.pet-supply-count small{font-size:7px;color:#8f877c;letter-spacing:.3px}.pet-special-owned{display:block;text-align:center}.pet-price{text-align:center}.pet-price .pet-usd{color:#a69b8e!important}.pet-actions .pet-special-equip{width:100%;font-weight:900}.pet-buy:disabled{opacity:.35;cursor:not-allowed}.craft-slot-art img,.forge-rarity-art,.seal-item-glyph img,.seal-preview-icon img{width:100%;height:100%;object-fit:contain;display:block}.craft-slot-art{width:48px;height:48px;display:grid;place-items:center}.ff-rarity{min-height:86px}.ff-rarity .forge-rarity-art{width:42px;height:42px}.seal-item-glyph{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px}.seal-preview-icon{width:68px;height:68px;display:grid;place-items:center;position:relative}.seal-preview-icon>img{width:58px;height:58px}.seal-preview-icon>span{position:absolute;right:-3px;bottom:-2px;font-size:16px}.dust-grade-row a{padding:4px}.dust-grade-row a img{width:27px;height:27px;object-fit:contain;margin-bottom:2px}.dust-grade-row b{font-size:9px}.dust-grade-row small{font-size:7px}
/* v1.82.54 UI polish */
.pet-supply-count{justify-content:flex-start!important;text-align:left!important;align-items:flex-start!important;margin:6px 0 2px!important;}
.pet-supply-count b{font-size:10px!important;}
.pet-actions .pet-price{text-align:left!important;width:100%;margin:2px 0 4px;color:#eee;font-weight:800;font-size:11px;}
.pet-actions form{display:flex;justify-content:center;}
.pet-actions .pet-special-label{text-align:center!important;width:100%;}
.pet-buy{min-width:130px;}
.auto-pot-control{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;position:static;float:none;align-self:center;min-height:38px;margin:0;padding:0;}
.quick-potion-form{margin:0;display:flex;align-items:center;position:static;float:none;align-self:center;}
.quick-potion-btn{height:38px;width:38px;padding:3px;border:1px solid #5a411f;border-radius:7px;background:#17130f;display:grid;place-items:center;cursor:pointer;}
.quick-potion-btn img{width:30px;height:32px;object-fit:contain;}
.quick-potion-btn:disabled{opacity:.45;cursor:not-allowed;}
.ff-preview-icon img,.forge-icon img{width:58px;height:58px;object-fit:contain;display:block;}
.seal-preview-icon{margin-top:10px!important;}
.alpha-bug-trigger{margin-left:34px!important;margin-right:34px!important;}

.pet-supply-inline{font-style:normal;font-size:9px;color:#a69b8e;font-weight:800;white-space:nowrap;margin-left:4px;}
/* v1.82.55 pet supply inline polish */
.pet-supply-count{display:none!important;}
.pet-supply-inline{display:inline!important;font-style:normal;font-size:9px;color:#a69b8e;font-weight:800;white-space:nowrap;margin-left:4px;}
/* v1.82.58 pet pricing/button polish */
.inventory .pet-price{text-align:left!important;width:100%;}
.inventory .pet-actions .pet-buy{min-width:0!important;width:36%!important;padding:3px 5px!important;font-size:8px!important;line-height:1!important;}
.inventory .pet-actions form:has(.pet-buy){justify-content:center!important;}
/* FIXED26: pet purchase controls are 40% smaller and centered */
.inventory .pet-actions form:has(.pet-buy){width:100%!important;display:flex!important;justify-content:center!important;}
.inventory .pet-actions button.pet-buy{width:60%!important;min-width:0!important;max-width:60%!important;padding:4px 7px!important;font-size:8px!important;line-height:1!important;}

/* v1.82.72 visual alignment and craft previews */
.inventory .equiprow{align-items:stretch;}
.inventory .equip{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-width:0;}
.inventory .equip .itemicon{display:flex;align-items:center;justify-content:center;width:100%;}
.inventory .equip .itemicon img{display:block;margin:auto;object-fit:contain;object-position:center;}
.inventory .disabled-equip{opacity:.28;filter:grayscale(1);pointer-events:none;border:1px dashed #51493e!important;background:#11100e!important;}
.inventory .disabled-equip .itemicon:after{content:'—';color:#776d5d;font-size:20px;}
.inventory .ascend-slots button{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;}
.inventory .craft-ascend-slots .forge-slot,.inventory .craft-ascend-slots .forge-slot .craft-slot-art{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;}
.inventory .craft-ascend-slots .forge-slot .craft-slot-art{margin:0 auto 5px;}
.inventory .ascend-slots button img,.inventory .ascend-slots .craft-slot-art img{display:block;margin:0 auto;object-fit:contain;object-position:center;}
.inventory .ascend-preview,.inventory .ascend-selected,.inventory .forge-preview,.inventory .ff-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;}
.inventory .ascend-preview img,.inventory .forge-preview img,.inventory .ff-preview-icon img{margin:0 auto;object-fit:contain;object-position:center;}
.inventory .gear-compare{line-height:1.5;}
.inventory .gear-compare>div>span strong{display:block;margin-top:3px;}

/* Final Ascend layout override: keep preview art centered and give it enough room. */
.inventory .forge-preview{min-height:178px!important;height:auto!important;box-sizing:border-box!important;padding:16px 12px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;overflow:visible!important}
.inventory .forge-preview .forge-icon{width:100%!important;min-height:92px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0 auto!important}
.inventory .forge-preview .forge-icon img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:92px!important;object-fit:contain!important;object-position:center center!important;margin:0 auto!important}
.inventory .craft-ascend-slots .forge-slot{min-height:112px!important;padding:10px 7px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important}
.inventory .craft-ascend-slots .forge-slot img{width:auto!important;max-width:100%!important;height:auto!important;max-height:58px!important;object-fit:contain!important;object-position:center!important;margin:0 auto 5px!important}
/* v1.82.79: compact Ascend preview, vivid paid-pack names, visible store artwork */
.inventory .forge-preview{width:calc(100% - 24px)!important;max-width:520px!important;min-height:154px!important;margin:12px auto!important;padding:12px 10px!important;box-sizing:border-box!important}
.inventory .forge-preview .forge-icon{width:calc(100% - 8px)!important;min-height:78px!important;height:78px!important;margin:0 auto!important;border-radius:9px!important}
.inventory .forge-preview .forge-icon img{max-width:100%!important;max-height:76px!important;width:auto!important;height:auto!important;object-fit:contain!important;object-position:center!important}
.inventory .enhance-stat-table b,.inventory .enhance-stat-table strong{font-variant-numeric:tabular-nums}
.slb-player.pack-normal{color:#effaff!important;background:linear-gradient(110deg,#082a61,#1689ff,#0c2c64)!important;border:1px solid #62caff!important;box-shadow:0 0 5px #159bff,0 0 14px #168bffb0,0 0 26px #168bff70!important;text-shadow:0 0 5px #b6edff,0 0 12px #168bff!important;animation:sfPackBlue 1.7s ease-in-out infinite alternate}
.slb-player.pack-pro{color:#fff2f2!important;background:linear-gradient(110deg,#5c0710,#ff263f,#5c0710)!important;border:1px solid #ff8893!important;box-shadow:0 0 6px #ff263f,0 0 16px #ff263fb0,0 0 28px #ff263f70!important;text-shadow:0 0 5px #fff,0 0 12px #ff263f!important;animation:sfPackRed 1.35s ease-in-out infinite alternate}
.slb-player.pack-founder{color:#fff4ff!important;background:linear-gradient(110deg,#31085d,#bd42ff,#4e0e8a,#e8a4ff)!important;background-size:220% 220%!important;border:1px solid #e2a0ff!important;box-shadow:0 0 7px #b943ff,0 0 18px #a12bffb8,0 0 32px #8123ff80!important;text-shadow:0 0 5px #fff,0 0 12px #c56bff!important;animation:sfPackViolet 2s linear infinite, sfPackVioletPulse 1.1s ease-in-out infinite alternate}
@keyframes sfPackBlue{from{filter:brightness(.94);transform:translateY(0)}to{filter:brightness(1.3);transform:translateY(-1px)}}
@keyframes sfPackRed{from{filter:brightness(.92);transform:scale(1)}to{filter:brightness(1.32);transform:scale(1.035)}}
@keyframes sfPackViolet{0%{background-position:0% 50%}100%{background-position:220% 50%}}
@keyframes sfPackVioletPulse{from{filter:brightness(.96)}to{filter:brightness(1.38)}}
.store-icon img{display:block!important;visibility:visible!important;opacity:1!important;width:58px!important;height:58px!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;margin:auto!important}
@media(prefers-reduced-motion:reduce){.slb-player.pack-normal,.slb-player.pack-pro,.slb-player.pack-founder{animation:none!important}}
/* v1.82.85: compact Craft > Ascend item card; keep the frame close to the actual item art. */
.inventory .forge-preview{width:min(100%,190px)!important;max-width:190px!important;min-height:0!important;height:auto!important;margin:8px auto!important;padding:7px 8px!important;box-sizing:border-box!important;gap:3px!important;overflow:hidden!important}
.inventory .forge-preview .forge-icon{width:100%!important;min-height:0!important;height:54px!important;padding:2px!important;box-sizing:border-box!important;margin:0 auto!important}
.inventory .forge-preview .forge-icon img{max-width:100%!important;max-height:50px!important;width:auto!important;height:auto!important;object-fit:contain!important;object-position:center!important}
.inventory .forge-preview strong{font-size:10px!important;line-height:1.15!important}
.inventory .forge-preview small{margin-top:1px!important;font-size:6px!important}
@media(max-width:600px){.inventory .forge-preview{width:min(100%,180px)!important;max-width:180px!important}.inventory .forge-preview .forge-icon{height:52px!important}.inventory .forge-preview .forge-icon img{max-height:48px!important}}

/* v1.82.98 inventory and pet control polish */
.pet-equip-button{background:linear-gradient(180deg,#f4d36c,#c58a19)!important;color:#211606!important;border:1px solid #f8dc7a!important;border-radius:7px!important;font-weight:900!important;min-height:34px!important;padding:8px 12px!important;width:100%!important;cursor:pointer!important}.activate-boost-btn{display:block!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;white-space:normal!important;position:relative!important;z-index:1!important}.inspect-actions-single-line form{min-width:0!important;flex:1 1 auto!important}.inspect-actions-single-line form button{max-width:100%!important}
/* v1.83.03 full-build polish: Gacha prize art and premium upgrade risk */
.top-prizes .prize-grid{grid-template-columns:repeat(auto-fit,minmax(125px,1fr))!important;align-items:stretch!important}
.top-prizes .gacha-prize-card{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;text-align:center!important;gap:7px!important;min-width:0!important;padding:12px 8px!important}
.top-prizes .gacha-prize-card>b{display:flex!important;align-items:center!important;justify-content:center!important;width:70px!important;height:70px!important;margin:0 auto!important}
.top-prizes .gacha-prize-card>b img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important}
.top-prizes .gacha-prize-card strong{display:block!important;line-height:1.25!important}
.top-prizes .gacha-prize-card small{display:block!important}
.top-prizes .grand-prize{border-color:#9e7a28!important;box-shadow:inset 0 0 20px #9e7a2817!important}
.enhance-danger{margin-top:8px;padding:8px;border:1px solid #a33d32;border-radius:6px;background:#2a100d;color:#ff9d8f;font-size:11px;font-weight:900;line-height:1.4}
/* v1.83.03 Active Boosts: icon left, amount centered, countdown right */
.boosts-card .boost-row{display:grid!important;grid-template-columns:34px minmax(0,1fr) 64px!important;align-items:center!important;gap:8px!important;min-height:44px!important;padding:9px 0!important}
.boosts-card .boost-row>span{grid-column:1!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;min-width:0!important;margin:0!important}
.boosts-card .boost-row .active-boost-icon{width:26px!important;height:26px!important;object-fit:contain!important}
.boosts-card .boost-row>b{grid-column:2!important;justify-self:center!important;text-align:center!important;margin:0!important;font-size:11px!important}
.boosts-card .boost-row>small{grid-column:3!important;justify-self:end!important;text-align:right!important;white-space:nowrap!important;font-size:9px!important}
.server-goal-boost-row .server-goal-boost-value{justify-self:center!important;margin:0!important;text-align:center!important}

/* v1.83.05 craft readiness, risk note, and Powerball visual refresh */
.enhance-talisman-note{margin-top:6px;padding:6px 7px;border:1px solid #8c6826;border-radius:7px;background:linear-gradient(135deg,#2b210f,#17120b);color:#f1d078;font-size:9px;font-weight:800;line-height:1.15;text-align:center;white-space:nowrap;letter-spacing:-.15px}
.forge-cost>div.good,.ff-cost-list>div.good{border-color:#236b40!important;background:#0d1b13!important}
.forge-cost>div.bad,.ff-cost-list>div.bad{border-color:#9b332d!important;background:#1d100f!important}
.forge-cost>div.good b,.ff-cost-list>div.good b{color:#6ee58d!important}
.forge-cost>div.bad b,.ff-cost-list>div.bad b{color:#ff6b62!important}
.advanced-page:has(.powerball-ticket-buttons){max-width:1180px;margin:24px auto;padding:0 18px 36px}
.advanced-page:has(.powerball-ticket-buttons) .advanced-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,260px);gap:22px;align-items:center;padding:clamp(22px,4vw,38px);border:1px solid #75521c;border-radius:18px;background:radial-gradient(ellipse at 12% 0%,#533a12 0,transparent 45%),linear-gradient(135deg,#17130d,#090a0b 70%);box-shadow:0 18px 50px #0007}
.advanced-page:has(.powerball-ticket-buttons) .advanced-hero h1{font-size:clamp(28px,4vw,44px);letter-spacing:1.5px;margin:8px 0;color:#ffcf54;text-shadow:0 0 20px #ffbb3530}
.advanced-page:has(.powerball-ticket-buttons) .advanced-hero p{max-width:620px;color:#c4b9a4;line-height:1.65}
.advanced-page:has(.powerball-ticket-buttons) .advanced-balance{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:15px;border:1px solid #49361d;border-radius:13px;background:#0c0c0b;text-align:center}
.advanced-page:has(.powerball-ticket-buttons) .advanced-balance b{font-size:clamp(20px,3vw,30px);color:#ffd45b;grid-row:1}
.advanced-page:has(.powerball-ticket-buttons) .advanced-balance span{font-size:9px;letter-spacing:1px;color:#8f8779}
.advanced-page:has(.powerball-ticket-buttons) .advanced-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:14px;margin:16px 0}
.advanced-page:has(.powerball-ticket-buttons) .card{border:1px solid #33291a;border-radius:14px;background:linear-gradient(145deg,#14120f,#0c0c0b);padding:20px;box-shadow:0 8px 24px #0004}
.advanced-page:has(.powerball-ticket-buttons) .card h2{color:#f3c85b;font-size:13px;letter-spacing:1.2px;margin:0 0 16px;padding-bottom:11px;border-bottom:1px solid #33291a}
.powerball-ticket-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.powerball-ticket-buttons form{display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid #3e2e19;border-radius:12px;background:#0a0a09}
.powerball-ticket-buttons label{display:grid;gap:6px;color:#b6aa95;font-size:11px;font-weight:700}
.powerball-ticket-buttons input{width:100%;box-sizing:border-box;padding:10px;border:1px solid #4b3920;border-radius:8px;background:#12110e;color:#fff}
.powerball-ticket-buttons .powerball-choice{display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center;min-height:62px;border-radius:9px;white-space:normal;background:linear-gradient(180deg,#f5d978,#c38a1b);color:#241807;font-weight:900}
.powerball-ticket-buttons .powerball-choice small{font-size:9px;color:#39270b}
.advanced-page:has(.powerball-ticket-buttons) .history-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 4px;border-bottom:1px solid #282116}
.advanced-page:has(.powerball-ticket-buttons) .history-row>span{color:#e4b83e;font-weight:900}
.advanced-page:has(.powerball-ticket-buttons) .history-row small{color:#a99a80}
@media(max-width:720px){.advanced-page:has(.powerball-ticket-buttons) .advanced-hero,.advanced-page:has(.powerball-ticket-buttons) .advanced-grid{grid-template-columns:1fr}.powerball-ticket-buttons{grid-template-columns:1fr}.advanced-page:has(.powerball-ticket-buttons) .advanced-balance{max-width:none}}
/* v1.83.05 class-change inspection */
.class-change-options{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.class-change-options form{flex:1 1 30%;min-width:85px}.class-change-options button{width:100%;min-height:36px}.class-change-options button:disabled{opacity:.55;filter:grayscale(.65);cursor:not-allowed}
/* v1.83.10 Season 1 launch polish — preserve custom animated battle renderer. */
.player-profile-page .profile-gear-grid{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important;width:100%!important}
.player-profile-page .profile-gear-item{min-width:0!important;width:100%!important;box-sizing:border-box!important;overflow:hidden!important;padding:8px 5px!important}
.player-profile-page .profile-gear-item img{display:block!important;width:100%!important;height:72px!important;max-width:100%!important;object-fit:contain!important}
.player-profile-page .profile-gear-item b{display:block!important;max-width:100%!important;overflow-wrap:anywhere!important;white-space:normal!important;font-size:clamp(8px,.65vw,11px)!important;line-height:1.2!important}
.player-profile-page .profile-gear-item small{font-size:9px!important;white-space:normal!important;overflow-wrap:anywhere!important}
@media(max-width:850px){.player-profile-page .profile-gear-grid{grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:4px!important}.player-profile-page .profile-gear-item{padding:5px 2px!important}.player-profile-page .profile-gear-item img{height:42px!important}.player-profile-page .profile-gear-item b{font-size:8px!important}.player-profile-page .profile-gear-item small{font-size:7px!important}}
/* Keep inventory action buttons compact but readable on one row. */
.inspect-actions-single-line{display:flex!important;flex-wrap:nowrap!important;gap:4px!important;align-items:stretch!important;width:100%!important}
.inspect-actions-single-line:has(.enhance-open-btn){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
.inspect-actions-single-line form{display:flex!important;flex:1 1 0!important;min-width:0!important;margin:0!important}
.inspect-actions-single-line form button,.inspect-actions-single-line>button{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;padding:7px 2px!important;font-size:clamp(8px,.7vw,10px)!important;line-height:1.1!important;white-space:normal!important;overflow-wrap:anywhere!important;min-height:34px!important}
.inspect-actions-single-line:has(.enhance-open-btn) form{flex:initial!important}
.inspect-actions-single-line .enhance-open-btn{flex:initial!important}
/* Two same-size battle actions replace the old four combat metrics. */
.sf-combat-dashboard .sf-battle-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important}
.sf-combat-dashboard .sf-chest-button-wrap,.sf-combat-dashboard .sf-boss-button-wrap{display:flex!important;align-items:stretch!important;justify-content:stretch!important;min-width:0!important;min-height:44px!important;width:100%!important;grid-column:auto!important}
.sf-combat-dashboard .sf-chest-button-wrap form,.sf-combat-dashboard .sf-boss-button-wrap form{display:flex!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;margin:0!important}
.sf-combat-dashboard .sf-chest-button-wrap button,.sf-combat-dashboard .sf-boss-button-wrap button{display:flex!important;align-items:center!important;justify-content:center!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;min-height:44px!important;box-sizing:border-box!important;white-space:normal!important}
@media(max-width:700px){.sf-combat-dashboard .sf-battle-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sf-combat-dashboard .sf-chest-button-wrap,.sf-combat-dashboard .sf-boss-button-wrap{grid-column:auto!important}}
.sf-battle-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important}
.sf-battle-stats .sf-chest-button-wrap,.sf-battle-stats .sf-boss-button-wrap{display:flex!important;min-width:0!important;width:100%!important;min-height:44px!important}
.sf-battle-stats .sf-chest-button-wrap form,.sf-battle-stats .sf-boss-button-wrap form{display:flex!important;width:100%!important;min-width:0!important;margin:0!important}
.sf-battle-stats .sf-chest-button-wrap button,.sf-battle-stats .sf-boss-button-wrap button{width:100%!important;min-width:0!important;min-height:44px!important;box-sizing:border-box!important;white-space:normal!important}
@media(max-width:700px){.sf-battle-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
/* Season 1 Powerball dual-currency presentation. */
.powerball-dual-page{max-width:1180px!important;margin:24px auto!important;padding:0 18px 40px!important}
.powerball-hero{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(220px,300px)!important;gap:20px!important;align-items:center!important}
.powerball-hero h1{color:#ffcf54!important;font-size:clamp(28px,4vw,44px)!important;letter-spacing:1.5px!important;margin:8px 0!important}
.powerball-rules{display:grid!important;gap:8px!important;padding:15px!important;border:1px solid #49361d!important;border-radius:12px!important;background:#100e0b!important;color:#c8bda9!important;font-size:12px!important}
.powerball-rules b{color:#ffcf54!important}
.powerball-dual-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;margin:16px 0!important}
.powerball-pot-card{padding:20px!important;min-width:0!important;overflow:hidden!important}
.powerball-pot-head{display:flex!important;align-items:center!important;gap:12px!important}
.powerball-currency-icon{width:46px!important;height:46px!important;display:grid!important;place-items:center!important;border-radius:12px!important;border:1px solid #6c4b1c!important;background:linear-gradient(145deg,#33220b,#17120b)!important;color:#ffd45c!important;font-size:24px!important}
.sforge-pot .powerball-currency-icon{color:#6df1b7!important;border-color:#22684f!important;background:linear-gradient(145deg,#0c3326,#101410)!important}
.powerball-pot-head small,.powerball-pot-value small,.powerball-prize-row small,.powerball-section-head small{font-size:10px!important;font-weight:900!important;letter-spacing:1.2px!important;color:#b9a77f!important}
.powerball-pot-head h2{margin:3px 0!important;font-size:22px!important;color:#f5d16b!important}
.powerball-pot-head p{margin:0!important;color:#9f9483!important;font-size:12px!important}
.sforge-pot .powerball-pot-head h2{color:#75efbd!important}
.powerball-pot-value{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;margin:18px 0!important;padding:18px 8px!important;border:1px solid #49361d!important;border-radius:10px!important;background:radial-gradient(ellipse at top,#33240e 0,#12100c 70%)!important}
.powerball-pot-value b{font-size:clamp(28px,3vw,42px)!important;line-height:1.1!important;color:#ffcf54!important;font-variant-numeric:tabular-nums!important;overflow-wrap:anywhere!important}
.powerball-pot-value span{font-size:11px!important;letter-spacing:1.5px!important;color:#cbbd9c!important}
.sforge-pot .powerball-pot-value{border-color:#1f5945!important;background:radial-gradient(ellipse at top,#123829 0,#10120f 70%)!important}
.sforge-pot .powerball-pot-value b{color:#75efbd!important}
.powerball-prize-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-bottom:16px!important}
.powerball-prize-row>div{display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0!important;padding:9px 7px!important;border:1px solid #30271c!important;border-radius:7px!important;background:#0d0c0a!important}
.powerball-prize-row b{font-size:12px!important;color:#f0d17a!important;overflow-wrap:anywhere!important}
.sforge-pot .powerball-prize-row b{color:#7df0bf!important}
.powerball-buy-form{display:grid!important;grid-template-columns:85px minmax(0,1fr)!important;gap:10px!important;align-items:end!important}
.powerball-buy-form label{display:grid!important;gap:6px!important;font-size:11px!important;color:#c6b99e!important}
.powerball-buy-form input{width:100%!important;box-sizing:border-box!important;min-height:42px!important}
.powerball-buy-form button{min-height:42px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;line-height:1.15!important}
.powerball-buy-form button small{font-size:9px!important;opacity:.8!important}
.powerball-round-footer{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;margin-top:17px!important;padding-top:12px!important;border-top:1px solid #2e281e!important;color:#a89b87!important;font-size:11px!important}
.powerball-countdown{font-variant-numeric:tabular-nums!important;color:#ffd45c!important;font-weight:900!important}
.sforge-pot .powerball-countdown{color:#75efbd!important}
.powerball-status-note{display:block!important;margin-top:8px!important;color:#9f9584!important;font-size:10px!important;line-height:1.4!important}
.powerball-history-card{padding:18px!important}
.powerball-section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:12px!important}
.powerball-section-head h2{margin:4px 0!important;color:#f4d06a!important}
.powerball-section-head>span{font-size:11px!important;color:#a99d89!important}
.powerball-history-row{display:grid!important;grid-template-columns:80px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;padding:12px 0!important;border-top:1px solid #2c251d!important}
.powerball-history-currency{padding:7px!important;border-radius:6px!important;text-align:center!important;font-size:10px!important;font-weight:900!important;background:#2b1d0b!important;color:#ffd45c!important}
.powerball-history-currency.sforge{background:#0e3024!important;color:#75efbd!important}
.powerball-history-row>div:nth-child(2){display:grid!important;gap:4px!important}
.powerball-history-row small{font-size:10px!important;color:#9d9382!important}
.powerball-history-row>span{font-size:11px!important;color:#d9c99f!important;text-align:right!important}
@media(max-width:760px){.powerball-hero{grid-template-columns:1fr!important}.powerball-dual-grid{grid-template-columns:1fr!important}.powerball-pot-card{padding:14px!important}}
/* v1.83.12 requested UI refinements */
.powerball-hero>div:first-child>small{display:none!important}
.activity-view-all{float:right;color:#e9bf4f!important;font-size:11px;font-weight:800;text-decoration:none;margin-left:10px}
.activity-view-all:hover{text-decoration:underline}
.sf-combat-log-panel{margin:8px 0 12px!important;min-height:120px!important}
.sf-combat-log{height:145px!important}
.sf-battle-stats .sf-chest-button-wrap,.sf-battle-stats .sf-boss-button-wrap{min-height:44px!important;height:44px!important}
.sf-battle-stats .sf-chest-button-wrap button,.sf-battle-stats .sf-boss-button-wrap button{height:44px!important;min-height:44px!important;width:100%!important;box-sizing:border-box!important}
/* Battle dashboard uses its original native size; no container zoom scaling. */
/* v1.83.14 roster, logo help and inventory inspection layout */
.guild-logo-form{margin-bottom:14px!important;gap:10px!important}
.guild-logo-help{display:block!important;position:static!important;clear:both;margin-top:14px!important;line-height:1.55!important;font-size:13px!important;max-width:100%}
.guild-logo-preview{display:block;margin-top:14px;max-width:250px;height:auto}
.member-table-scroll{width:100%;overflow-x:auto}
.member-table-head-wide,.member-table-row-wide{display:grid;grid-template-columns:34px minmax(155px,1.5fr) 82px minmax(75px,.8fr) minmax(85px,.9fr) minmax(100px,1fr) minmax(100px,1fr) 100px 90px 90px minmax(105px,1fr);gap:12px;align-items:center;min-width:1120px}
.member-table-head-wide{padding:12px 10px;color:#c9bda9;font-size:10px;font-weight:900;letter-spacing:.45px;border-bottom:1px solid #3a3021}
.member-table-row-wide{padding:11px 10px;border-bottom:1px solid #29241c;font-size:12px}
.member-table-row-wide .member-player{min-width:0}
.member-role-pill{display:inline-flex;justify-content:center;padding:4px 7px;border-radius:5px;font-size:10px;font-weight:900;background:#342819;color:#e4c16b;text-transform:uppercase}
.member-role-pill.role-owner{background:#4b3813;color:#ffdb6e}.member-role-pill.role-officer{background:#30264a;color:#d0b5ff}.member-power{color:#f5d26d;text-align:center}
.member-donate-status.done{color:#5ce57c;font-weight:900}.member-donate-status.pending{color:#a89d8b}
.member-online-status{white-space:nowrap;font-weight:800}.member-online-status.online{color:#61e77a}.member-online-status.offline{color:#9b9080}
.inspect form{max-width:100%;min-width:0;box-sizing:border-box;margin:8px 0!important}
.inspect form button{box-sizing:border-box;max-width:100%;white-space:normal;overflow-wrap:anywhere;min-width:0}
.inspect>.gear-chest-open-box form,.inspect>.potion-heal-stat+form,.inspect>.class-change-options form{width:100%}
.inspect .class-change-options{display:flex;gap:7px;flex-wrap:wrap;width:100%}.inspect .class-change-options form{flex:1 1 30%;min-width:0}
.activity-filters .gold-btn{flex:0 0 auto}

.inspect>form{display:block!important;flex:0 0 100%!important;width:100%!important;max-width:100%!important;margin:8px 0!important;min-width:0!important}
.inspect>form>button{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
.inspect>.gear-chest-open-box form{display:block!important;width:100%!important}
.inspect .potion-heal-stat+form{width:100%!important;flex:0 0 100%!important}
/* v1.83.16 inventory inspection controls: prevent overflow and restore standard gold buttons */
.inventory .inspect{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;min-width:0!important;overflow:hidden!important;}
.inventory .inspect .potion-heal-stat,
.inventory .inspect .gear-chest-open-box{display:block!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;text-align:center!important;overflow-wrap:anywhere!important;}
.inventory .inspect .potion-heal-stat{padding:9px 10px!important;min-width:0!important;line-height:1.45!important;}
.inventory .inspect>form,
.inventory .inspect .gear-chest-open-box>form{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;flex:0 0 auto!important;margin:4px 0!important;text-align:center!important;box-sizing:border-box!important;}
.inventory .inspect>form>button,
.inventory .inspect .gear-chest-open-box>form>button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:140px!important;max-width:100%!important;height:auto!important;min-height:34px!important;box-sizing:border-box!important;padding:8px 14px!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:11px!important;line-height:1.25!important;}
.inventory .inspect .gold-btn,
.inventory .inspect .inspect-action-btn,
.inventory .inspect .inspect-actions button,
.inventory .inspect .gear-chest-open-box button{background:linear-gradient(180deg,#f4d36c,#c58a19)!important;color:#211606!important;border:1px solid #f8dc7a!important;border-radius:7px!important;font-weight:900!important;box-shadow:none!important;cursor:pointer!important;}
.inventory .inspect .gold-btn:disabled,
.inventory .inspect .inspect-action-btn:disabled{opacity:.5!important;filter:saturate(.55)!important;cursor:not-allowed!important;}
.inventory .inspect .inspect-actions-single-line{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:stretch!important;gap:6px!important;width:100%!important;min-width:0!important;}
.inventory .inspect .inspect-actions-single-line form{display:flex!important;flex:1 1 70px!important;width:auto!important;min-width:0!important;margin:0!important;}
.inventory .inspect .inspect-actions-single-line form button,
.inventory .inspect .inspect-actions-single-line>button{width:100%!important;min-width:0!important;max-width:100%!important;min-height:34px!important;padding:7px 8px!important;font-size:10px!important;white-space:normal!important;overflow-wrap:anywhere!important;}
.inventory .inspect .gear-chest-open-box label{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;flex-wrap:wrap!important;margin:8px 0!important;}
.inventory .inspect .gear-chest-open-box input[type=number]{width:80px!important;max-width:100%!important;box-sizing:border-box!important;}
.inventory .inspect .boss-rush-inspect-box form{width:100%!important;}
.inventory .inspect .revive-inspect-box{text-align:center!important;margin-left:auto!important;margin-right:auto!important;}
.inventory .inspect .key-inspect-box{text-align:center!important;}
.inventory .inspect .chest-unlock-form{margin-bottom:8px!important;}
/* v1.83.19: match OPEN CHEST and FIGHT BOSS dimensions in the battle footer. */
.sf-combat-dashboard .sf-battle-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
.sf-combat-dashboard .sf-battle-stats .sf-chest-button-wrap,.sf-combat-dashboard .sf-battle-stats .sf-boss-button-wrap{width:100%!important;min-width:0!important;grid-column:auto!important;min-height:44px!important;height:44px!important;}
.sf-combat-dashboard .sf-battle-stats .sf-chest-button-wrap form,.sf-combat-dashboard .sf-battle-stats .sf-boss-button-wrap form{display:flex!important;flex:1 1 0!important;width:100%!important;min-width:0!important;margin:0!important;}
.sf-combat-dashboard .sf-battle-stats .sf-chest-button-wrap button,.sf-combat-dashboard .sf-battle-stats .sf-boss-button-wrap button{display:flex!important;flex:1 1 0!important;width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;box-sizing:border-box!important;}
@media(max-width:1100px){.sf-combat-dashboard .sf-battle-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.sf-combat-dashboard .sf-battle-stats .sf-chest-button-wrap,.sf-combat-dashboard .sf-battle-stats .sf-boss-button-wrap{grid-column:auto!important;}}
@media(max-width:700px){.sf-combat-dashboard .sf-battle-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.sf-combat-dashboard .sf-battle-stats .sf-chest-button-wrap,.sf-combat-dashboard .sf-battle-stats .sf-boss-button-wrap{grid-column:auto!important;}}

/* v1.83.21: OPEN CHEST and FIGHT BOSS on one line, same size (220px, shrinking together when space is tight), aligned right.
   (The v1.83.19 rules gave each button wrapper width:100% inside a flex row, so the two buttons overflowed the footer.) */
html body .sf-combat-dashboard .sf-battle-stats{display:flex!important;flex-wrap:nowrap!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important;grid-template-columns:none!important;width:100%!important;box-sizing:border-box!important;container-type:inline-size;}
html body .sf-combat-dashboard .sf-battle-stats>.sf-chest-button-wrap,html body .sf-combat-dashboard .sf-battle-stats>.sf-boss-button-wrap{display:flex!important;flex:0 1 220px!important;width:220px!important;max-width:220px!important;min-width:0!important;height:44px!important;min-height:44px!important;margin:0!important;grid-column:auto!important;}
html body .sf-combat-dashboard .sf-battle-stats>div>form{display:flex!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;margin:0!important;}
html body .sf-combat-dashboard .sf-battle-stats .sf-chest-button,html body .sf-combat-dashboard .sf-battle-stats .sf-boss-button{display:flex!important;align-items:center!important;justify-content:center!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;max-width:100%!important;height:44px!important;min-height:44px!important;margin:0!important;box-sizing:border-box!important;white-space:nowrap!important;overflow:hidden!important;}
html body .sf-combat-dashboard .sf-battle-stats .sf-btn-label{overflow:hidden!important;text-overflow:ellipsis!important;min-width:0!important;}
@container (max-width:380px){html body .sf-combat-dashboard .sf-battle-stats .sf-btn-icon,html body .sf-combat-dashboard .sf-battle-stats .sf-btn-keys img{display:none!important;}html body .sf-combat-dashboard .sf-battle-stats .sf-chest-button,html body .sf-combat-dashboard .sf-battle-stats .sf-boss-button{padding:0 6px!important;gap:5px!important;font-size:11px!important;}}
@media(max-width:520px){html body .sf-combat-dashboard .sf-battle-stats>.sf-chest-button-wrap,html body .sf-combat-dashboard .sf-battle-stats>.sf-boss-button-wrap{flex:1 1 0!important;width:auto!important;max-width:none!important;}}
/* v1.83.76: phone header. The desktop bar (fixed 64px high) didn't fit: the menu labels ran into each other, the menu sat on top of
   the page title and the wallet bar ran off the right edge, so phones zoomed the whole page out. On narrow screens it now stacks:
   logo + account on the first row, balances + Wallet on the second, and the menu as a row of icon buttons you can swipe. */
@media (max-width:760px){
 html body.sf-ui header.topbar{position:relative!important;height:auto!important;min-height:0!important;flex-wrap:wrap!important;align-items:center!important;gap:8px 8px!important;padding:8px 10px 6px!important}
 html body.sf-ui header.topbar>.brand{order:1;flex:1 1 auto!important;min-width:0}
 html body.sf-ui header.topbar>.walletbar{order:2;display:contents!important}
 html body.sf-ui header.topbar .user-menu{order:1;flex:0 0 auto;margin-left:auto}
 html body.sf-ui header.topbar .sf-balances{order:3;flex:1 1 auto!important;min-width:0!important;display:flex!important;height:38px!important}
 html body.sf-ui header.topbar .sf-bal{flex:1 1 50%!important;min-width:0!important;padding:0 8px!important}
 html body.sf-ui header.topbar .sf-bal b{font-size:13px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
 html body.sf-ui header.topbar .sf-bal small{display:none!important}
 html body.sf-ui header.topbar #walletBtn{order:3;flex:0 0 auto!important;height:38px!important;padding:0 12px!important;font-size:12px!important}
 html body.sf-ui header.topbar>nav{order:4;flex:1 1 100%!important;height:auto!important;display:flex!important;justify-content:flex-start!important;gap:4px!important;overflow-x:auto!important;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:2px 0 4px!important;margin:0!important}
 html body.sf-ui header.topbar>nav::-webkit-scrollbar{display:none}
 html body.sf-ui header.topbar>nav a{flex:0 0 auto!important;min-width:58px!important;height:auto!important;padding:6px 6px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:10px!important;line-height:1.1!important;white-space:nowrap!important;border-radius:8px}
 html body.sf-ui header.topbar>nav a .sf-nav-label{display:block!important;font-size:10px!important;overflow:visible!important}
 html body.sf-ui header.topbar>nav a .mail-alert{position:absolute;top:2px;right:6px}
 html body.sf-ui header.topbar>nav a{position:relative}
}
@media (max-width:760px){html body.sf-ui header.topbar #walletBtn{font-size:0!important;width:44px!important;padding:0!important;justify-content:center!important}html body.sf-ui header.topbar #walletBtn svg{width:20px!important;height:20px!important;margin:0!important}}
@media (max-width:760px){html body.sf-ui .top-stakers{overflow-x:auto!important;-webkit-overflow-scrolling:touch}html body.sf-ui .top-stakers table{min-width:0}html body.sf-ui .sf-ref-grid{grid-template-columns:minmax(0,1fr)!important}html body.sf-ui .sf-ref-grid>*{min-width:0!important;max-width:100%!important;box-sizing:border-box}}
@media (max-width:760px){html body.sf-ui main form label,html body.sf-ui main form input,html body.sf-ui main form select{max-width:100%;min-width:0;box-sizing:border-box}html body.sf-ui .market-sell-card form{max-width:100%;flex-wrap:wrap}}
@media (max-width:760px){html body.sf-ui .advanced-balance{flex-wrap:wrap!important;max-width:100%;min-width:0}html body.sf-ui .advanced-balance>*{min-width:0;overflow-wrap:anywhere}}

html body.sf-ui .starter-one-rule{display:block!important;margin:0 0 12px;padding:9px 12px;border:1px solid #2c3346;border-radius:9px;background:rgba(123,97,255,.07);color:#aeb6cb;font-size:12.5px}html body.sf-ui .starter-one-rule b{color:#e7e9f2}

/* v1.83.79: Fragment Forge focused slot picker shows the slot's item art */
html body.sf-ui .ff-slot-icons{grid-template-columns:repeat(auto-fill,minmax(62px,1fr))!important;gap:6px!important}
html body.sf-ui .ff-slot-icon{height:auto!important;min-height:70px;padding:6px 2px 5px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px}
html body.sf-ui .ff-slot-icon img{width:40px;height:40px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 2px 3px rgba(0,0,0,.5))}
html body.sf-ui .ff-slot-icon small{font-size:9px;font-weight:800;letter-spacing:.04em;color:#9a917f;text-transform:uppercase;line-height:1}
html body.sf-ui .ff-slot-icon.selected small{color:#ffd77a}
/* v1.83.80: crafting uses the standard blue — tabs, mode cards, selections and every forge button */
html body.sf-ui .craft-tabs a.active,html body.sf-ui .ff-subtabs a.active,html body.sf-ui .ff-mode-row a.active,html body.sf-ui .dust-grade-row a.active,html body.sf-ui .sealcraft-tier-row a.active,html body.sf-ui .sealcraft-tier-row a.selected,html body.sf-ui .ff-weapon-types a.selected{background:rgba(123,97,255,.15)!important;border-color:#7b61ff!important;color:#fff!important}
html body.sf-ui .ff-slot-icon.selected,html body.sf-ui .craft-ascend-slots .forge-slot.chosen{border-color:#7b61ff!important;background:rgba(123,97,255,.12)!important;box-shadow:0 0 14px rgba(123,97,255,.3)!important;color:#fff!important}
html body.sf-ui .forge-form button,html body.sf-ui .ff-forge-form button,html body.sf-ui .craft-forge-form button,html body.sf-ui #salvageSubmit{background:linear-gradient(135deg,#7b61ff,#22c4ee)!important;border:0!important;color:#fff!important;font-weight:900}
html body.sf-ui .forge-form button:disabled,html body.sf-ui #salvageSubmit:disabled{opacity:.45!important;cursor:not-allowed!important}
/* v1.83.81: battle chest cap notice */
html body.sf-ui .sf-chest-cap-note{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 10px 8px;padding:8px 10px;border:1px solid #7b61ff;border-radius:8px;background:rgba(123,97,255,.12);color:#ddd;font-size:11px}
html body.sf-ui .sf-chest-cap-note[hidden]{display:none}
html body.sf-ui .sf-chest-cap-note span{flex:1 1 220px}html body.sf-ui .sf-chest-cap-note b{color:#fff}
html body.sf-ui .sf-chest-cap-note form{margin:0}
html body.sf-ui .sf-chest-cap-note button{background:linear-gradient(135deg,#7b61ff,#22c4ee)!important;border:0!important;color:#fff!important;font-weight:900;border-radius:6px;padding:8px 12px;cursor:pointer;font-size:11px}
html body.sf-ui .sf-chest-cap-note button:disabled{opacity:.45;cursor:not-allowed}
/* v1.83.81: While you were away popup */
html body.sf-ui .sf-away-modal .sf-modal-panel{border-color:#7b61ff!important;background:linear-gradient(180deg,#141428,#0c0c16)!important;width:min(460px,100%)}
html body.sf-ui .sf-away-modal h2{color:#fff!important}
html body.sf-ui .sf-away-modal p{color:#c9c6dc!important;font-size:13px}
html body.sf-ui .sf-away-modal p b{color:#fff}
html body.sf-ui .sf-away-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
html body.sf-ui .sf-away-grid>div{display:grid;grid-template-columns:24px 1fr;grid-template-rows:auto auto;column-gap:8px;align-items:center;padding:9px 10px;border:1px solid rgba(123,97,255,.35);border-radius:8px;background:rgba(123,97,255,.08)}
html body.sf-ui .sf-away-grid span{grid-row:1/3;font-size:18px;text-align:center}
html body.sf-ui .sf-away-grid b{color:#6ee58d;font-size:14px}
html body.sf-ui .sf-away-grid small{color:#9a97b0;font-size:10px}
html body.sf-ui .sf-away-note{border:1px solid #9b6b2d;border-radius:6px;padding:7px 9px;background:#2a1d0c;color:#e8c27a!important;font-size:11px!important}
html body.sf-ui .sf-away-ok{background:linear-gradient(135deg,#7b61ff,#22c4ee)!important;border:0!important;color:#fff!important;font-weight:900;border-radius:7px;padding:10px 26px;cursor:pointer}
@media (max-width:420px){html body.sf-ui .sf-away-grid{grid-template-columns:1fr}}
/* v1.83.83: treasury (admin) account banner and read-only guild view */
html body.sf-ui .sf-treasury-banner{margin:0 0 10px;padding:10px 12px;border:1px solid #7b61ff;border-radius:8px;background:rgba(123,97,255,.12);color:#d8d5ea;font-size:12px;line-height:1.45}
html body.sf-ui .sf-treasury-banner b{color:#fff}
html body.sf-ui .guild-view-link{display:inline-block;text-decoration:none;text-align:center;background:linear-gradient(135deg,#7b61ff,#22c4ee)!important;border:0!important;color:#fff!important;font-weight:900;border-radius:7px;padding:9px 14px;font-size:11px}
html body.sf-ui a.guild-leaderboard-row{text-decoration:none;color:inherit;cursor:pointer}
html body.sf-ui a.guild-leaderboard-row:hover{border-color:#7b61ff!important}
html body.sf-ui .guild-admin-view{display:grid;gap:12px}
html body.sf-ui .guild-admin-view .gav-head{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
html body.sf-ui .guild-admin-view .gav-head img,html body.sf-ui .guild-admin-view .gav-head .guild-mini-badge{width:64px;height:64px;border-radius:10px}
html body.sf-ui .guild-admin-view .gav-head h1{margin:0;font-size:22px}
html body.sf-ui .gav-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}
html body.sf-ui .gav-stats div{border:1px solid rgba(123,97,255,.35);border-radius:8px;padding:9px 10px;background:rgba(123,97,255,.07)}
html body.sf-ui .gav-stats small{display:block;color:#9a97b0;font-size:10px;text-transform:uppercase;letter-spacing:.4px}
html body.sf-ui .gav-stats b{color:#fff;font-size:14px}
html body.sf-ui .gav-table{width:100%;border-collapse:collapse;font-size:12px}
html body.sf-ui .gav-table th{text-align:left;color:#9a97b0;font-weight:700;font-size:10px;text-transform:uppercase;padding:6px 8px;border-bottom:1px solid #2a2a40}
html body.sf-ui .gav-table td{padding:7px 8px;border-bottom:1px solid #1d1d2c;color:#ddd}
html body.sf-ui .gav-table .on{color:#6ee58d}html body.sf-ui .gav-table .off{color:#777}
html body.sf-ui .gav-wrap{overflow-x:auto}
html body.sf-ui .gav-events{display:grid;gap:4px;font-size:12px;color:#c9c6dc}
html body.sf-ui .gav-events small{color:#8a87a0;margin-right:6px}
/* v1.83.85: mailbox Claim All */
html body.sf-ui .mailbox-claim-all{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
html body.sf-ui .mailbox-claim-all span{color:#c9c6dc;font-size:13px}html body.sf-ui .mailbox-claim-all b{color:#fff}
html body.sf-ui .mailbox-claim-all form{margin:0}
html body.sf-ui .mailbox-claim-all-btn{background:linear-gradient(135deg,#7b61ff,#22c4ee)!important;border:0!important;color:#fff!important;font-weight:900;border-radius:7px;padding:9px 18px;cursor:pointer}
html body.sf-ui .mailbox-panel .mailbox-claim-all{padding:0 2px}

/* v1.83.94: rarity-coloured inventory boxes (bag slots and equipped slots) */
html body.sf-ui .inventory .slot.common,html body.sf-ui .inventory .equip.common{--rc:#9CA3AF;--rg:0}
html body.sf-ui .inventory .slot.uncommon,html body.sf-ui .inventory .equip.uncommon{--rc:#22C55E;--rg:0}
html body.sf-ui .inventory .slot.rare,html body.sf-ui .inventory .equip.rare{--rc:#3B82F6;--rg:3}
html body.sf-ui .inventory .slot.epic,html body.sf-ui .inventory .equip.epic{--rc:#B44BD0;--rg:4}
html body.sf-ui .inventory .slot.legendary,html body.sf-ui .inventory .equip.legendary{--rc:#F59E0B;--rg:5}
html body.sf-ui .inventory .slot.mythic,html body.sf-ui .inventory .equip.mythic{--rc:#E54241;--rg:6}
html body.sf-ui .inventory .slot.cosmic,html body.sf-ui .inventory .equip.cosmic{--rc:#D6FF4F;--rg:7}
html body.sf-ui .inventory .slot.divine,html body.sf-ui .inventory .equip.divine{--rc:#FF7AD9;--rg:7}
html body.sf-ui .inventory .slot.celestial,html body.sf-ui .inventory .equip.celestial{--rc:#7DF9FF;--rg:8}
html body.sf-ui .inventory .slot.angel,html body.sf-ui .inventory .equip.angel{--rc:#E0A21A;--rg:8}
html body.sf-ui .inventory .slot.god,html body.sf-ui .inventory .equip.god{--rc:#A078FF;--rg:10}
html body.sf-ui .inventory .slot.ancient,html body.sf-ui .inventory .equip.ancient{--rc:#C08457;--rg:4}
html body.sf-ui .inventory .invgrid .slot:not(.empty),html body.sf-ui .inventory .equip.has-item{border:2px solid var(--rc,#3a4058)!important;background:#0d1018!important;background:radial-gradient(circle at 50% 35%,color-mix(in srgb,var(--rc,#3a4058) 36%,#0d1018),#0d1018 80%)!important;box-shadow:0 0 calc(var(--rg,0)*1px) color-mix(in srgb,var(--rc,#3a4058) 60%,transparent)!important}

/* v1.83.126: Titan rarity (crafted from 10 Cosmic, between Celestial and Angel): deep emerald, darker than Cosmic's lime */
.inventory .equip.titan .itemicon,.inventory .slot.titan,.hero-equipped-badge.titan,.item-visual.titan,.wheel-card.titan{border-color:#1f9e63!important;color:#2fbf7a!important}
html body.sf-ui .inventory .slot.titan,html body.sf-ui .inventory .equip.titan{--rc:#2fbf7a;--rg:8}
body.sf-ui .inventory .inspect.rarity-titan{--rc:#2fbf7a}
.craft-salvage .titan,.advanced-page .titan{color:#2fbf7a}
.market-page .listing.titan .listing-name strong{color:#2fbf7a}
.hero-worn-slot.titan,.hero-paperdoll .hero-worn-slot.titan{filter:drop-shadow(0 0 10px #2fbf7aaa)}
.inventory .material-slot.titan i{color:#2fbf7a}
.battle-chest-loot-item.titan{border-color:#1f9e63}
.salvage-card.r-titan,.salvage-quick-btn.r-titan{--rc:#2fbf7a}
html body .ff-preview.titan{border-color:#2fbf7a;background:radial-gradient(circle at 50% 45%,#0f2e20 0,#0a100c 55%)}
html body .ff-preview.titan .ff-preview-icon{color:#2fbf7a}
.forge-modes.forge-modes-3{grid-template-columns:1fr 1fr 1fr}
.forge-modes>a.titan-mode.selected{border-color:#2fbf7a;box-shadow:0 0 18px #2fbf7a55;background:#0c1a12}
.forge-modes>a .titan-icon{font-size:22px;line-height:1;filter:drop-shadow(0 0 5px rgba(47,191,122,.35))}
