.game-shell{min-height:70vh}.game-hero{border-bottom:1px solid #25292c;background:linear-gradient(120deg,rgba(5,6,7,.98),rgba(5,6,7,.82)),radial-gradient(circle at 78% 20%,rgba(214,170,82,.15),transparent 32%)}.game-hero-inner{display:flex;align-items:end;justify-content:space-between;gap:30px;padding:46px 0 34px}.game-hero h1{font-size:clamp(46px,8vw,88px);line-height:.85;margin:9px 0 14px;letter-spacing:.02em}.game-hero p{max-width:720px;color:#b4b9bd;font-size:16px}.game-save-box{min-width:190px;padding:14px 16px;border:1px solid #4a402f;background:#11100d;border-radius:8px;text-align:right}.game-save-box span,.game-save-box small{display:block;color:#8f969b;font-size:10px;letter-spacing:.14em}.game-save-box strong{display:block;font-size:21px;color:#f0d181;margin:2px 0}.game-section{padding-top:28px}.game-auth{padding:24px;display:grid;gap:18px}.game-auth h2{margin:3px 0 6px;font-size:28px}.game-auth p,.game-auth-note{color:#9da3a8}.game-auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.game-auth-form{border:1px solid #2e3337;background:#0b0d0f;padding:16px;border-radius:8px;display:grid;gap:12px}.game-auth-form label{font-size:12px;color:#c8ccd0;font-weight:700}.game-auth-form input{width:100%;margin-top:6px;background:#070809;border:1px solid #3a4045;color:#fff;border-radius:6px;padding:11px}.game-topbar{display:flex;align-items:center;gap:18px;padding:14px 16px;margin-bottom:14px}.game-active{display:flex;align-items:center;gap:11px;min-width:260px;margin-right:auto}.pulse-dot{width:10px;height:10px;border-radius:50%;background:#666;box-shadow:0 0 0 4px rgba(255,255,255,.04)}.game-active.running .pulse-dot{background:#4ed27b;box-shadow:0 0 0 4px rgba(78,210,123,.12)}.game-active small,.game-topstats small{display:block;color:#81888d;font-size:9px;letter-spacing:.13em}.game-active strong{display:block;margin:1px 0 5px}.game-progress{width:230px;max-width:42vw;height:5px;background:#202429;border-radius:999px;overflow:hidden}.game-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#8b6a2d,#f0d181);transition:width .25s linear}.game-topstats{display:flex;gap:10px}.game-topstats span{min-width:95px;padding:8px 10px;border-left:1px solid #2f3438}.game-topstats b{font-size:15px}.btn.danger{border-color:#713737;background:#2a1111;color:#ffb4b4}.game-offline{padding:14px 16px;margin-bottom:14px;border-color:#655127;background:linear-gradient(90deg,#18140b,#101113)}.game-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:14px}.game-sidebar{align-self:start;position:sticky;top:90px;padding:10px}.game-tabs{display:grid;gap:4px}.game-tab{border:0;background:transparent;color:#aeb4b8;text-align:left;padding:10px 11px;border-radius:6px;display:flex;gap:9px;align-items:center;cursor:pointer}.game-tab:hover,.game-tab.active{background:#202429;color:#fff}.game-tab.active{box-shadow:inset 3px 0 #d6aa52}.game-tab i{font-style:normal;width:23px;text-align:center;font-size:18px}.game-tab span{margin-left:auto;color:#f0d181;font-weight:800}.game-save-link{width:100%;margin-top:10px;padding:9px;border:1px solid #343a3f;background:#0b0d0f;color:#aeb4b8;border-radius:6px;font-size:11px;cursor:pointer}.game-main{padding:20px;min-height:520px}.game-panel-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:18px;border-bottom:1px solid #30353a;padding-bottom:14px}.game-panel-head h2{margin:0;font-size:30px}.game-panel-head p{margin:4px 0 0;color:#8f969b}.game-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.game-action{border:1px solid #30353a;background:linear-gradient(145deg,#15181b,#0b0d0f);padding:15px;border-radius:9px;display:grid;gap:10px;min-width:0}.game-action.locked{opacity:.45}.game-action-top{display:flex;gap:10px;align-items:center}.game-action-icon{font-size:27px}.game-action h3{margin:0;font-size:16px}.game-action small{color:#858d92}.game-reqs{font-size:12px;color:#b0b5b9;min-height:36px}.game-gives{font-size:12px;color:#e2c47d}.game-action button{width:100%}.game-xp-row{margin:10px 0 0}.game-xp-meta{display:flex;justify-content:space-between;font-size:11px;color:#969da2;margin-bottom:5px}.game-xp-bar{height:8px;background:#202429;border-radius:999px;overflow:hidden}.game-xp-bar i{display:block;height:100%;background:linear-gradient(90deg,#72541f,#d6aa52)}.game-bank-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.game-item{border:1px solid #30353a;background:#0c0e10;padding:12px;border-radius:8px;min-width:0}.game-item-head{display:flex;gap:9px;align-items:center}.game-item-icon{font-size:24px}.game-item h3{font-size:14px;margin:0;overflow-wrap:anywhere}.game-item-count{font-size:22px;font-weight:900;margin:10px 0}.game-item-actions{display:flex;flex-wrap:wrap;gap:6px}.game-mini-btn{border:1px solid #3a4045;background:#15181a;color:#ddd;border-radius:5px;padding:6px 8px;font-size:10px;cursor:pointer}.game-mini-btn:hover{border-color:#8b6a2d}.game-equipment{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}.game-slot{border:1px dashed #444b50;border-radius:8px;padding:15px}.game-slot b{display:block;margin-top:6px;color:#f0d181}.game-monster-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.game-monster{border:1px solid #34393d;background:#101214;padding:15px;border-radius:9px}.game-monster-icon{font-size:38px}.game-monster h3{margin:6px 0 3px}.game-monster-stats{display:grid;grid-template-columns:1fr 1fr;gap:5px;font-size:11px;color:#a8aeb2;margin:10px 0}.game-achievements{display:grid;grid-template-columns:1fr 1fr;gap:10px}.game-achievement{border:1px solid #30353a;padding:13px;border-radius:8px;background:#0d0f11}.game-achievement.done{border-color:#6f5929;background:#17130b}.game-achievement strong{display:block}.game-achievement small{color:#8f969b}.game-leaderboard{width:100%;border-collapse:collapse}.game-leaderboard th,.game-leaderboard td{text-align:left;border-bottom:1px solid #2a2e32;padding:10px 8px}.game-leaderboard th{color:#8f969b;font-size:10px;letter-spacing:.09em}.game-save-modal{display:grid;gap:9px}.game-save-modal code{display:block;background:#050607;border:1px solid #33383c;padding:11px;border-radius:6px;word-break:break-all;color:#f0d181}.game-toast{position:fixed;right:20px;bottom:90px;z-index:80;max-width:360px;padding:12px 15px;border-radius:7px;background:#15181b;border:1px solid #4a5055;color:#fff;box-shadow:0 15px 45px rgba(0,0,0,.4);opacity:0;pointer-events:none;transform:translateY(8px);transition:.2s}.game-toast.show{opacity:1;transform:none}.game-toast.bad{border-color:#7d3e3e;color:#ffc0c0}@media(max-width:900px){.game-layout{grid-template-columns:1fr}.game-sidebar{position:static}.game-tabs{grid-template-columns:repeat(4,1fr)}.game-tab{justify-content:center;flex-direction:column;text-align:center;font-size:10px}.game-tab span{margin:0}.game-action-grid,.game-monster-grid{grid-template-columns:1fr 1fr}.game-bank-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:640px){.game-hero-inner{align-items:flex-start;flex-direction:column;padding:32px 0 24px}.game-save-box{text-align:left;width:100%}.game-auth-grid{grid-template-columns:1fr}.game-topbar{align-items:flex-start;flex-wrap:wrap}.game-active{min-width:0;width:100%}.game-progress{max-width:none;width:100%}.game-topstats{width:100%;display:grid;grid-template-columns:repeat(3,1fr)}.game-topstats span{min-width:0;border-left:0;border-top:1px solid #2f3438}.game-layout{gap:10px}.game-tabs{grid-template-columns:repeat(3,1fr)}.game-main{padding:14px}.game-action-grid,.game-monster-grid,.game-bank-grid,.game-achievements,.game-equipment{grid-template-columns:1fr}.game-panel-head{align-items:flex-start;flex-direction:column}.game-toast{left:14px;right:14px;bottom:82px}.game-section .wrap{width:min(var(--max),calc(100% - 22px))}}

/* 2.94 character builds + city reputation map */
.game-auth-form select{width:100%;margin-top:6px;background:#070809;border:1px solid #3a4045;color:#fff;border-radius:6px;padding:11px;font:inherit}.game-power-box{min-width:150px;border:1px solid #4a402f;background:#11100d;border-radius:8px;padding:10px 14px;text-align:right}.game-power-box small,.game-power-box span{display:block;color:#8f969b;font-size:10px;letter-spacing:.08em}.game-power-box strong{display:block;color:#f0d181;font-size:30px;line-height:1.05}.game-class-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.game-class-card{border:1px solid #30353a;background:linear-gradient(145deg,#111416,#0a0c0e);border-radius:9px;padding:14px;display:flex;flex-direction:column;gap:7px}.game-class-card.active{border-color:#8b6a2d;background:linear-gradient(145deg,#19150d,#0c0d0f)}.game-class-icon{font-size:34px}.game-class-card h3{margin:0;font-size:18px}.game-class-card b{color:#e2c47d;font-size:11px;letter-spacing:.04em}.game-class-card p{color:#949ba0;font-size:12px;line-height:1.45;margin:0;min-height:68px}.game-class-card .btn{margin-top:auto}.game-subhead{font-size:13px;letter-spacing:.1em;margin:24px 0 10px;color:#c9cdd0}.game-style-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.game-style-row-compact{margin:16px 0}.game-style-btn{border:1px solid #343a3f;background:#0d0f11;color:#c5c9cc;border-radius:8px;padding:12px;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;text-align:left;gap:2px 9px;cursor:pointer}.game-style-btn>span{grid-row:1/3;font-size:24px;align-self:center}.game-style-btn b{font-size:13px}.game-style-btn small{color:#868d92}.game-style-btn.active{border-color:#8b6a2d;background:#18140c;color:#fff}.game-attr-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.game-attr{border:1px solid #30353a;background:#0d0f11;border-radius:8px;padding:11px;min-width:0}.game-attr>div:first-child{display:flex;align-items:center;gap:8px}.game-attr>div:first-child>span{font-size:23px}.game-attr small{display:block;color:#7f878c;font-size:9px;letter-spacing:.08em}.game-attr strong{display:block;font-size:14px}.game-attr .game-xp-row{margin-top:8px}.game-attr .game-xp-meta{font-size:9px}.game-ability-note{margin-top:16px;padding:13px;border:1px solid #343a3f;background:#0a0c0e;border-radius:8px;color:#9fa5a9;font-size:12px;line-height:1.5}.game-ability-note strong{color:#e2c47d}.game-map-wrap{border:1px solid #31363a;background:#07090a;border-radius:10px;padding:10px}.game-map-scroll{overflow-x:auto}.game-us-map{position:relative;min-width:720px;aspect-ratio:1.95/1;overflow:hidden;border-radius:8px;background:radial-gradient(circle at 25% 40%,rgba(214,170,82,.06),transparent 22%),linear-gradient(145deg,#11171a,#090b0d);clip-path:polygon(3% 17%,18% 12%,25% 18%,34% 14%,45% 19%,55% 16%,65% 21%,75% 18%,89% 26%,96% 36%,93% 48%,97% 61%,89% 64%,84% 77%,73% 79%,67% 71%,55% 75%,48% 82%,35% 80%,29% 75%,17% 79%,10% 69%,7% 55%,2% 48%)}.game-us-map:before{content:"";position:absolute;inset:10px;border:1px solid rgba(255,255,255,.08);clip-path:inherit;pointer-events:none}.game-map-route{position:absolute;height:2px;background:linear-gradient(90deg,rgba(214,170,82,.08),rgba(214,170,82,.5),rgba(214,170,82,.08));transform-origin:left center;opacity:.6}.route-a{left:12%;top:55%;width:76%;transform:rotate(-7deg)}.route-b{left:30%;top:32%;width:48%;transform:rotate(21deg)}.game-city-pin{position:absolute;transform:translate(-50%,-50%);border:0;background:transparent;color:#d9dddf;display:flex;flex-direction:column;align-items:center;min-width:94px;cursor:pointer;padding:4px;z-index:2}.game-city-pin i{width:15px;height:15px;border-radius:50%;background:#7c6332;border:3px solid #15181a;box-shadow:0 0 0 1px #a98a47,0 0 14px rgba(214,170,82,.18)}.game-city-pin b{font-size:11px;margin-top:4px;text-shadow:0 2px 4px #000}.game-city-pin span{font-size:8px;color:#9aa1a5;background:rgba(4,5,6,.8);border-radius:3px;padding:2px 4px;white-space:nowrap}.game-city-pin:hover i,.game-city-pin.selected i{background:#f0d181;box-shadow:0 0 0 2px #4b3b1d,0 0 20px rgba(240,209,129,.45)}.game-city-pin.current b{color:#f0d181}.game-city-pin.current:after{content:"YOU";font-size:7px;letter-spacing:.08em;color:#4ed27b;background:#0b1b11;border:1px solid #245a36;padding:1px 4px;border-radius:3px;margin-top:2px}.game-map-note{position:absolute;right:18px;bottom:15px;color:#656d72;font-size:8px;letter-spacing:.1em}.game-city-detail{margin-top:14px;border:1px solid #30353a;background:#0c0e10;border-radius:9px;padding:16px}.game-city-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.game-city-heading h3{font-size:24px;margin:2px 0 5px}.game-city-heading p{margin:0;color:#8f969b}.game-current-city{font-size:8px;vertical-align:middle;color:#64db8d;border:1px solid #2c7044;border-radius:3px;padding:3px 5px;letter-spacing:.08em}.game-rep-badge{min-width:145px;border:1px solid #3a4045;background:#111416;border-radius:8px;padding:10px 13px;text-align:right}.game-rep-badge small,.game-rep-badge span{display:block;color:#8f969b;font-size:9px;letter-spacing:.08em}.game-rep-badge strong{display:block;color:#e2c47d;font-size:18px}.game-rep-badge.rank-5{border-color:#8b6a2d;background:#1b160c}.game-rep-progress{margin:14px 0}.game-rep-progress>div{display:flex;justify-content:space-between;color:#90979c;font-size:10px}.game-rep-progress>i{display:block;height:8px;background:#202429;border-radius:999px;overflow:hidden;margin-top:5px}.game-rep-progress b{display:block;height:100%;background:linear-gradient(90deg,#735821,#f0d181)}.game-city-unlocks{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}.game-city-unlocks span{font-size:9px;color:#a6acb0;border:1px solid #2d3236;background:#0a0c0e;border-radius:999px;padding:5px 8px}.game-contract-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.game-contract{border:1px solid #30353a;background:#111315;border-radius:8px;padding:12px}.game-contract.locked{opacity:.48}.game-contract-top{display:flex;gap:9px;align-items:center}.game-contract-top>span{font-size:24px}.game-contract h4{margin:0;font-size:14px}.game-contract small,.game-contract p{color:#8f969b;font-size:10px}.game-contract p{min-height:32px}.game-contract .btn{width:100%}
@media(max-width:900px){.game-class-grid{grid-template-columns:1fr 1fr}.game-attr-grid{grid-template-columns:repeat(3,1fr)}.game-contract-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.game-class-grid,.game-style-row,.game-attr-grid,.game-contract-grid{grid-template-columns:1fr}.game-class-card p{min-height:0}.game-power-box{width:100%;text-align:left}.game-city-heading{flex-direction:column}.game-rep-badge{width:100%;text-align:left}.game-map-wrap{padding:6px}.game-us-map{min-width:680px}.game-tab{min-width:0}.game-tabs{grid-template-columns:repeat(3,1fr)}}

/* 2.95 old-school fantasy adventure systems */
.game-tab-name{flex:1;min-width:0}.game-tab b{margin-left:auto;color:#f0d181;font-size:11px}.game-skill-head{align-items:center;justify-content:flex-start}.game-panel-title{min-width:0}.game-skill-scene{width:150px;height:94px;border:1px solid #3b4146;border-radius:10px;background:linear-gradient(180deg,#172127,#0a0d0f);display:flex;align-items:center;justify-content:center;gap:8px;overflow:hidden;position:relative;box-shadow:inset 0 0 45px rgba(214,170,82,.05)}.game-skill-scene span{font-size:34px;filter:drop-shadow(0 4px 5px rgba(0,0,0,.55));animation:gameBob 2.8s ease-in-out infinite}.game-skill-scene span:nth-child(2){font-size:48px;animation-delay:-.8s}.game-skill-scene span:nth-child(3){font-size:25px;animation-delay:-1.4s}.scene-fishing:after{content:"";position:absolute;left:0;right:0;bottom:0;height:28px;background:repeating-radial-gradient(ellipse at 30% 0,#315d70 0 8px,#254755 9px 16px);opacity:.55;animation:gameWater 3s linear infinite}.scene-cooking:after,.scene-smithing:after{content:"";position:absolute;bottom:8px;width:26px;height:26px;border-radius:50%;background:radial-gradient(circle,#ffd66e 0 20%,#ef7e34 35%,transparent 68%);animation:gameFire 1.4s ease-in-out infinite}.scene-farming{background:linear-gradient(#1b2a20 0 65%,#302618 66%)}.scene-woodcutting{background:linear-gradient(#16251b,#0b0e0c)}.scene-mining{background:linear-gradient(145deg,#1b2024,#090b0d)}.scene-herblore span:last-child{animation:gameSpark 1.6s ease-in-out infinite}.game-action-grid{margin-top:18px}.game-action,.game-monster,.game-dungeon-card,.game-quest,.game-item,.game-auction-card,.game-duel-card,.game-farm-plot{transition:border-color .15s,transform .15s,background .15s}@media(hover:hover) and (pointer:fine){.game-action:hover,.game-monster:hover,.game-dungeon-card:hover,.game-quest:hover,.game-item:hover,.game-auction-card:hover,.game-duel-card:hover,.game-farm-plot:hover{border-color:#725b2d;transform:translateY(-1px)}}
.game-character-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px}.game-character-portrait{border:1px solid #3b4146;background:radial-gradient(circle at 50% 20%,rgba(214,170,82,.12),transparent 40%),linear-gradient(#11161a,#090b0d);border-radius:10px;padding:18px;text-align:center;display:flex;flex-direction:column;align-items:center}.game-character-portrait h2{margin:10px 0 2px}.game-character-portrait b{color:#e2c47d}.game-character-portrait>span{color:#9aa1a5;font-size:11px;margin-top:4px}.game-character-info{min-width:0}.game-avatar{position:relative;width:100px;height:126px;margin:auto;animation:gameAvatarIdle 3s ease-in-out infinite;filter:drop-shadow(0 8px 8px rgba(0,0,0,.45))}.game-avatar.large{width:130px;height:160px}.game-avatar.battle{width:82px;height:105px}.game-avatar-aura{position:absolute;inset:10% 5%;border-radius:50%;background:radial-gradient(circle,rgba(214,170,82,.14),transparent 65%);animation:gameAura 2s ease-in-out infinite}.game-avatar-head{position:absolute;top:10%;left:50%;transform:translateX(-50%);font-size:44px;z-index:3}.game-avatar-body{position:absolute;top:43%;left:50%;transform:translateX(-50%);font-size:58px;z-index:2}.game-avatar-weapon{position:absolute;right:2%;top:40%;font-size:38px;transform:rotate(16deg);z-index:4}.game-avatar-armor{position:absolute;left:4%;top:48%;font-size:31px;z-index:4}.game-class-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin:12px 0}.game-class-card{cursor:pointer;text-align:center;min-height:auto}.game-class-card>span{font-size:28px}.game-class-card small{color:#888f94}.game-gear-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.game-gear-card{border:1px solid #343a3f;background:#0d0f11;border-radius:9px;padding:14px;text-align:center}.game-gear-card>small{color:#858d92;letter-spacing:.1em}.game-gear-icon{font-size:38px;margin:8px}.game-gear-card strong,.game-gear-card>span{display:block}.game-gear-card>span{font-size:10px;color:#d0aa58;margin-top:3px}.game-gear-actions{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin-top:10px}.game-mini-btn.gold{border-color:#725b2d;color:#f0d181}.game-battle-stage{margin:10px 0 18px;border:1px solid #4b4029;background:radial-gradient(circle at 50% 50%,rgba(214,170,82,.09),transparent 28%),linear-gradient(#15191c,#090b0d);border-radius:10px;padding:14px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;text-align:center;min-height:150px}.game-battle-stage>div:first-child,.game-battle-stage>div:last-child{display:flex;align-items:center;justify-content:center;flex-direction:column}.game-enemy-sprite{font-size:68px;animation:gameEnemyIdle 2.2s ease-in-out infinite}.game-versus{font-size:30px;color:#d5b05d;display:grid;gap:4px}.game-versus small{font-size:10px;color:#93999d}.game-dungeon-list{display:grid;gap:14px}.game-dungeon-card{border:1px solid #353b3f;background:linear-gradient(145deg,#12161a,#0a0c0e);border-radius:10px;padding:16px}.game-dungeon-card.locked{opacity:.55}.game-dungeon-banner{display:flex;gap:12px;align-items:center}.game-dungeon-banner>span{width:58px;height:58px;border-radius:9px;background:#20262b;display:grid;place-items:center;font-size:34px;border:1px solid #43494e}.game-dungeon-banner h3{margin:0;font-size:20px}.game-dungeon-banner small{color:#92999e}.game-dungeon-card>p{color:#a4aaae}.game-dungeon-path{display:flex;align-items:center;gap:7px;flex-wrap:wrap;background:#080a0b;border:1px solid #282d31;border-radius:7px;padding:10px;font-size:12px}.game-arrow{color:#6e7478}.game-dungeon-reward{display:flex;gap:10px;align-items:center;margin:10px 0;font-size:11px}.game-dungeon-reward b{color:#e2c47d}.game-dungeon-reward span{color:#9ba2a6}.game-dungeon-live{border:1px solid #725b2d;background:#17130c;border-radius:7px;padding:8px 10px;text-align:right}.game-dungeon-live span{display:block;color:#65d98b;font-size:8px;letter-spacing:.12em}.game-dungeon-live b{font-size:13px}.game-quest-list{display:grid;gap:10px}.game-quest{border:1px solid #343a3f;background:#0d1012;border-radius:9px;padding:14px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:start}.game-quest.claimed{border-color:#3d674a;background:#0c1510}.game-quest.locked{opacity:.6}.game-quest-icon{font-size:31px}.game-quest h3{margin:0;font-size:17px}.game-quest h3 span{font-size:8px;color:#65d98b;border:1px solid #356245;border-radius:3px;padding:3px 5px;vertical-align:middle;margin-left:5px}.game-quest p{margin:4px 0;color:#959ca1;font-size:12px}.game-quest ul{list-style:none;padding:0;margin:9px 0;display:grid;gap:4px}.game-quest li{font-size:11px;color:#a2a8ac}.game-quest li.done{color:#73d996}.game-quest li span{display:inline-block;width:19px}.game-quest-lock{color:#d2a85a;font-size:11px;margin:8px 0}.game-quest-reward{display:flex;gap:8px;font-size:10px}.game-quest-reward b{color:#e2c47d}.game-quest-reward span{color:#92999d}.game-farm-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:16px 0}.game-crop-key{border:1px solid #33393d;background:#0d1012;border-radius:8px;padding:10px;display:grid;grid-template-columns:auto 1fr;gap:1px 8px}.game-crop-key>span{grid-row:1/3;font-size:28px}.game-crop-key small{color:#8e959a}.game-farm-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.game-farm-plot{border:1px solid #343a3f;background:linear-gradient(#111814,#0b0d0c);border-radius:9px;padding:13px;text-align:center}.game-farm-plot.ready{border-color:#4b7c53}.game-plot-art{height:76px;border-radius:7px;background:linear-gradient(#1b261d 0 54%,#3a2a18 55%);display:grid;place-items:center;font-size:39px;position:relative;overflow:hidden}.game-plot-art.growing{animation:gameGrow 2.4s ease-in-out infinite}.game-plot-art i{position:absolute;inset:auto 12px 8px;height:4px;background:#20170e;border-radius:50%}.game-farm-plot h3{margin:8px 0 3px}.game-farm-plot p{margin:0 0 8px;color:#92999e;font-size:11px}.game-plant-buttons{display:flex;gap:5px;justify-content:center;flex-wrap:wrap}.game-auction-form{display:grid;grid-template-columns:minmax(180px,2fr) 1fr 1fr auto;gap:9px;align-items:end;margin-bottom:16px;border:1px solid #343a3f;background:#0b0d0f;padding:12px;border-radius:9px}.game-auction-form label{font-size:10px;color:#92999d;letter-spacing:.06em}.game-auction-form select,.game-auction-form input{display:block;width:100%;margin-top:5px;background:#070809;border:1px solid #3a4045;color:#fff;border-radius:5px;padding:9px}.game-auction-grid,.game-duel-grid{display:grid;gap:8px}.game-auction-card,.game-duel-card{border:1px solid #343a3f;background:#0d1012;border-radius:8px;padding:10px;display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:center}.game-auction-card h3,.game-duel-card h3{margin:0}.game-auction-card p,.game-duel-card p{margin:4px 0 0;color:#92999d;font-size:11px}.game-duel-avatar{width:45px;height:45px;border:1px solid #444b50;background:#171b1e;border-radius:50%;display:grid;place-items:center;font-size:26px}.game-duel-record{text-align:right}.game-duel-record b{color:#69d68b;font-size:21px}.game-duel-record span{color:#d57d7d;margin-left:8px}.game-table-wrap{overflow:auto}.game-loading{padding:40px;text-align:center;color:#9ca3a7}.game-tooltip{position:fixed;z-index:500;max-width:330px;background:#161a1e;border:1px solid #6e5930;color:#e7e9ea;padding:9px 11px;border-radius:6px;font-size:11px;line-height:1.45;box-shadow:0 12px 35px rgba(0,0,0,.55);pointer-events:none}.game-modal{position:fixed;inset:0;z-index:450;background:rgba(0,0,0,.72);display:grid;place-items:center;padding:20px}.game-modal[hidden]{display:none}.game-modal-card{width:min(430px,100%);max-height:90%;overflow:auto;border:1px solid #575d62;background:#252c35;border-radius:10px;padding:24px;text-align:center;box-shadow:0 28px 90px rgba(0,0,0,.65);position:relative}.game-modal-x{position:absolute;right:10px;top:8px;border:0;background:transparent;color:#aab0b4;font-size:26px;cursor:pointer}.game-modal-icon{font-size:48px}.game-modal-card h2{margin:5px 0}.game-modal-card p{color:#aeb4b8}.game-offline-summary{display:grid;gap:5px;margin:15px 0;border-top:1px solid #3d444a;border-bottom:1px solid #3d444a;padding:13px}.game-offline-summary span{color:#d7dbde}.game-modal-card ul{list-style:none;padding:0;display:grid;gap:4px}.game-modal-card h3{font-size:12px;letter-spacing:.09em;color:#e2c47d;text-transform:uppercase}.game-modal-card .btn{margin-top:8px;min-width:150px}.game-offline{display:none!important}
@keyframes gameBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes gameWater{0%{transform:translateX(-4px)}50%{transform:translateX(4px)}100%{transform:translateX(-4px)}}@keyframes gameFire{0%,100%{transform:scale(.9)}50%{transform:scale(1.15)}}@keyframes gameSpark{0%,100%{opacity:.4;transform:scale(.8)}50%{opacity:1;transform:scale(1.15)}}@keyframes gameAvatarIdle{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}@keyframes gameAura{0%,100%{opacity:.5;transform:scale(.9)}50%{opacity:1;transform:scale(1.05)}}@keyframes gameEnemyIdle{0%,100%{transform:translateX(0) rotate(0)}50%{transform:translateX(-4px) rotate(-2deg)}}@keyframes gameGrow{0%,100%{transform:scale(.98)}50%{transform:scale(1.02)}}
@media(prefers-reduced-motion:reduce){.game-skill-scene span,.game-avatar,.game-avatar-aura,.game-enemy-sprite,.game-plot-art.growing,.scene-cooking:after,.scene-smithing:after{animation:none!important}}
@media(max-width:900px){.game-character-layout{grid-template-columns:1fr}.game-character-portrait{min-height:260px}.game-farm-grid{grid-template-columns:1fr 1fr}.game-auction-form{grid-template-columns:1fr 1fr}.game-auction-form .btn{grid-column:1/-1}.game-quest{grid-template-columns:42px 1fr}.game-quest>.btn{grid-column:2}.game-farm-actions{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.game-skill-head{align-items:flex-start}.game-skill-scene{width:100%;height:112px}.game-farm-grid,.game-farm-actions,.game-auction-form,.game-gear-grid{grid-template-columns:1fr}.game-auction-card,.game-duel-card{grid-template-columns:auto 1fr}.game-auction-card>.btn,.game-auction-card>.game-mini-btn,.game-duel-card>.btn{grid-column:1/-1;width:100%}.game-quest{grid-template-columns:1fr}.game-quest>.btn{grid-column:auto;width:100%}.game-quest-icon{font-size:38px}.game-battle-stage{grid-template-columns:1fr auto 1fr;padding:9px}.game-enemy-sprite{font-size:50px}.game-avatar.battle{transform:scale(.8)}.game-tooltip{max-width:calc(100% - 20px)}}

/* 2.96 Steam ownership + full class gear + skill scroll shop */
.game-steam-auth{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;border:1px solid #3b4247;background:linear-gradient(145deg,#11161a,#0a0c0e);padding:16px;border-radius:10px;margin-top:16px}.game-steam-shield{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;font-size:30px;background:#18242f;border:1px solid #36516a}.game-steam-auth b,.game-steam-auth span{display:block}.game-steam-auth span{color:#8f989e;font-size:12px;margin-top:3px}.game-create-character{max-width:680px;margin-top:14px}.game-character-portrait>small{color:#6fda92;font-size:9px;letter-spacing:.06em;margin-top:4px}.game-avatar-offhand{position:absolute;left:-2%;top:35%;font-size:30px;z-index:4}.game-combat-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:16px 0}.game-combat-summary span{border:1px solid #30363b;background:#0a0d0f;border-radius:7px;padding:9px;text-align:center;color:#929aa0;font-size:10px}.game-combat-summary b{display:block;color:#e8c977;font-size:19px}.game-gear-grid.seven{grid-template-columns:repeat(4,minmax(0,1fr))}.game-ability-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.game-ability{border:1px solid #30363b;background:#0d1012;border-radius:8px;padding:10px;display:flex;gap:8px;align-items:center}.game-ability>span{font-size:26px}.game-ability b,.game-ability small{display:block}.game-ability small{color:#7f888d;font-size:8px;letter-spacing:.07em}.game-ability.learned{border-color:#4b734f;background:#0c1510}.game-ability.learned small{color:#69d58b}.game-shop-coins{font-size:22px;font-weight:900;color:#f0d181}.game-shop-section{margin:18px 0}.game-shop-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:8px}.game-shop-head h3{margin:0;font-size:17px}.game-shop-head p{margin:0;color:#8e969b;font-size:11px}.game-shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.game-shop-card{border:1px solid #33393e;background:#0d1012;border-radius:8px;padding:10px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:center}.game-shop-card b,.game-shop-card small{display:block}.game-shop-card small{color:#879096;font-size:9px}.game-shop-card>span{color:#e2c47d;font-size:11px;font-weight:800}.game-shop-card>.btn{grid-column:1/-1;width:100%}.game-item-actions button:disabled,.game-shop-card button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:1000px){.game-gear-grid.seven{grid-template-columns:repeat(3,1fr)}.game-ability-grid{grid-template-columns:repeat(3,1fr)}.game-shop-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.game-steam-auth{grid-template-columns:1fr;text-align:center}.game-steam-shield{margin:auto}.game-steam-auth .btn{width:100%}.game-combat-summary,.game-gear-grid.seven,.game-ability-grid,.game-shop-grid{grid-template-columns:1fr}.game-shop-head{align-items:flex-start;flex-direction:column}.game-shop-card{grid-template-columns:auto 1fr}.game-shop-card>span{grid-column:2}.game-shop-card>.btn{grid-column:1/-1}}

/* 2.97 REAL FANTASY ART UPGRADE */
.game-character-portrait{display:grid;justify-items:center;text-align:center;gap:8px}
.game-art-note{display:block;font-style:normal;color:#f0d181;font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.game-avatar-real{position:relative;display:grid;justify-items:center;gap:10px}
.game-avatar-frame{width:min(100%,320px);aspect-ratio:3/4;border-radius:18px;overflow:hidden;border:1px solid #5d4824;background:radial-gradient(circle at top,#2a2114,#0a0c0e 70%);box-shadow:0 18px 50px rgba(0,0,0,.45),inset 0 0 0 1px rgba(255,255,255,.04);position:relative}
.game-avatar-real.large .game-avatar-frame{width:min(100%,360px)}
.game-avatar-real.battle .game-avatar-frame{width:165px;border-radius:14px}
.game-avatar-portrait{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}
.game-avatar-chips{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:-6px}
.game-chip-thumb,.game-gear-thumb,.game-item-art,.game-art-thumb,.game-duel-art{display:block;object-fit:contain;background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.08),rgba(255,255,255,0) 60%),linear-gradient(180deg,#161a1d,#0d0f11);border:1px solid #3a4147;box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)}
.game-chip-thumb{width:48px;height:48px;border-radius:12px;padding:4px}
.game-gear-thumb{width:78px;height:78px;border-radius:14px;padding:6px}
.game-item-art{width:58px;height:58px;border-radius:12px;padding:4px}
.game-art-thumb.emoji,.game-chip-thumb.emoji,.game-gear-thumb.emoji,.game-item-art.emoji{display:grid;place-items:center;color:#f3f4f4;font-size:22px}
.game-gear-thumb.emoji{font-size:34px}
.game-class-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.game-class-card.art{padding:10px;display:grid;grid-template-columns:110px 1fr;align-items:center;gap:12px;text-align:left;cursor:pointer}
.game-class-card.art:disabled{cursor:default;opacity:1}
.game-class-art{width:110px;height:110px;border-radius:14px;object-fit:cover;object-position:center top;display:block;border:1px solid #4b4029;background:#0d1012}
.game-class-copy{display:grid;gap:4px}
.game-class-copy b{font-size:16px;color:#f0d181}
.game-class-copy small{color:#96a0a7;line-height:1.35}
.game-item-icon{display:flex;align-items:center;justify-content:center}
.game-gear-icon{display:flex;align-items:center;justify-content:center;min-height:86px}
.game-duel-avatar{width:60px;height:60px;border-radius:14px;overflow:hidden;border:1px solid #484f55;background:#101316}
.game-duel-art{width:100%;height:100%;border-radius:0;border:0;background:none;box-shadow:none}
.game-shop-card .game-item-icon,.game-auction-card .game-item-icon,.game-item .game-item-icon{width:58px}
.game-shop-card .game-item-icon{align-self:start}
@media (max-width:900px){.game-class-grid{grid-template-columns:1fr}.game-class-card.art{grid-template-columns:90px 1fr}.game-class-art{width:90px;height:90px}.game-avatar-real.large .game-avatar-frame{width:min(100%,300px)}}
@media (max-width:640px){.game-avatar-real.battle .game-avatar-frame{width:120px}.game-chip-thumb{width:40px;height:40px}.game-item-art{width:50px;height:50px}}

/* 2.98 READABILITY + CONTENT EXPANSION */
.game-shell{font-size:17px;line-height:1.55}
.game-shell p,.game-shell li,.game-shell label,.game-shell td,.game-shell code{font-size:15px;line-height:1.55}
.game-panel-head p,.game-character-info p,.game-dungeon-card>p,.game-quest p,.game-city-heading p,.game-auth p,.game-steam-auth span{font-size:15px;line-height:1.55}
.game-tab{font-size:15px;min-height:48px;padding:12px 13px}
.game-tab i{font-size:21px;width:27px}.game-tab b{font-size:14px}.game-tab-name{font-size:15px}
.game-panel-head h2{font-size:34px}.game-character-portrait h2{font-size:30px}.game-subhead{font-size:16px}
.game-action h3,.game-monster h3,.game-dungeon-banner h3,.game-quest h3,.game-shop-head h3,.game-item h3,.game-auction-card h3,.game-duel-card h3{font-size:18px}
.game-action small,.game-monster small,.game-dungeon-banner small,.game-item small,.game-shop-card small,.game-duel-card small,.game-crop-key small,.game-farm-plot p,.game-contract small,.game-contract p,.game-city-unlocks span,.game-rep-progress>div,.game-xp-meta{font-size:13px}
.game-reqs,.game-gives,.game-monster-stats,.game-dungeon-path,.game-dungeon-reward,.game-quest li,.game-quest-reward,.game-ability-note{font-size:14px;line-height:1.5}
.game-style-btn b,.game-class-copy b{font-size:16px}.game-style-btn small,.game-class-copy small{font-size:13px}
.game-attr small,.game-ability small,.game-rep-badge small,.game-rep-badge span,.game-active small,.game-topstats small{font-size:11px}
.game-attr strong{font-size:17px}.game-combat-summary span{font-size:13px}.game-combat-summary b{font-size:22px}
.game-mini-btn{font-size:13px;padding:8px 10px}.btn.small{font-size:13px;padding:9px 12px}.btn{font-size:14px}
.game-item-count{font-size:24px}.game-shop-card>span{font-size:14px}.game-shop-head p{font-size:13px}
.game-tooltip{max-width:420px;font-size:16px;line-height:1.55;padding:13px 15px;border-radius:8px}
.game-modal-card{width:min(520px,100%);padding:28px}.game-modal-card h2{font-size:30px}.game-modal-card p{font-size:16px}.game-offline-summary{font-size:16px}.game-modal-card h3{font-size:15px}.game-modal-card li{font-size:15px}
.game-save-box span,.game-save-box small{font-size:12px}.game-save-box strong{font-size:23px}
.game-steam-auth b{font-size:17px}.game-auth-form label{font-size:14px}.game-auth-form input,.game-auth-form select{font-size:16px;padding:12px}
.game-city-pin b{font-size:13px}.game-city-pin span{font-size:10px}.game-map-note{font-size:10px}
.game-gear-card>small{font-size:11px}.game-gear-card>strong{font-size:15px}.game-gear-card>span{font-size:12px}
@media(max-width:640px){.game-shell{font-size:16px}.game-panel-head h2{font-size:28px}.game-tab{font-size:13px}.game-tab-name{font-size:13px}.game-tooltip{font-size:15px;max-width:calc(100% - 20px)}.game-shell p,.game-shell li,.game-shell label,.game-shell td{font-size:14px}}

/* 2.99 full art overhaul */
.game-shell{font-size:18px;line-height:1.6}
.game-shell p,.game-shell li,.game-shell label,.game-shell td,.game-shell code{font-size:16px;line-height:1.6}
.game-panel-head h2{font-size:36px}
.game-tooltip{max-width:460px;font-size:17px;line-height:1.65;padding:14px 16px}
.game-modal-card{width:min(560px,100%);padding:30px}
.game-modal-card h2{font-size:32px}
.game-modal-card p,.game-offline-summary,.game-modal-card li{font-size:17px}
.game-tab{gap:12px;align-items:center}
.game-tab-art,.game-tab-glyph{width:34px;height:34px;border-radius:9px;flex:0 0 34px;display:grid;place-items:center;border:1px solid #5b4a27;background:linear-gradient(180deg,#1b1f23,#101214);box-shadow:0 2px 12px rgba(0,0,0,.28)}
.game-tab-art{object-fit:cover}
.game-tab-glyph{color:#f0d181;font-weight:900;font-size:16px}
.game-tab-name{margin-right:auto;margin-left:0;color:#f2f4f6;font-weight:700}
.game-skill-scene{width:230px;height:148px;border-radius:12px;overflow:hidden;border:1px solid #4b402c;background:#0d1012;box-shadow:0 14px 40px rgba(0,0,0,.28)}
.game-skill-scene-img{width:100%;height:100%;object-fit:cover;display:block}
.game-action-top{align-items:flex-start}
.game-action-icon{width:60px;height:60px;border-radius:10px;overflow:hidden;border:1px solid #56431e;background:#101214;display:grid;place-items:center;flex:0 0 60px}
.game-action-art{width:100%;height:100%;object-fit:cover;display:block}
.game-monster{display:grid;grid-template-columns:108px 1fr auto;gap:14px;align-items:center;background:linear-gradient(180deg,#121519,#0c0e10)}
.game-monster-icon{width:108px;height:108px;border-radius:12px;overflow:hidden;border:1px solid #5c4930;background:#090b0d}
.game-monster-portrait{width:100%;height:100%;object-fit:cover;display:block}
.game-monster-copy h3{margin:0 0 4px}
.game-monster-copy small{display:block;margin-bottom:8px}
.game-monster-stats{margin:0}
.game-battle-stage{align-items:center}
.game-enemy-sprite{width:126px;height:126px;border-radius:14px;overflow:hidden;border:1px solid #6f5930;background:#08090b;display:grid;place-items:center;box-shadow:0 12px 35px rgba(0,0,0,.32)}
.game-enemy-portrait{width:100%;height:100%;object-fit:cover;display:block}
.game-dungeon-banner.art{display:grid;grid-template-columns:120px 1fr;gap:14px;align-items:center}
.game-dungeon-art{width:120px;height:88px;border-radius:10px;object-fit:cover;border:1px solid #5d492d;display:block}
.game-dungeon-path{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.game-dungeon-enemy{display:inline-grid;grid-template-columns:40px auto auto;gap:8px;align-items:center;padding:6px 9px;border:1px solid #31373b;background:#0c0f11;border-radius:8px}
.game-inline-monster{width:40px;height:40px;border-radius:8px;object-fit:cover;display:block}
.game-dungeon-enemy b{font-size:14px}
.game-dungeon-enemy small{font-size:12px;color:#a1a7ab}
.game-quest.art{display:grid;grid-template-columns:110px 1fr auto;gap:14px;align-items:start}
.game-quest-icon{width:110px;height:110px;border-radius:12px;overflow:hidden;border:1px solid #5f4b2c;background:#090b0d;display:block}
.game-quest-art{width:100%;height:100%;object-fit:cover;display:block}
.game-offline-item{display:flex;align-items:center;gap:10px;justify-content:center}
.game-inline-item-art{width:28px;height:28px;border-radius:6px;object-fit:cover;display:block}
.game-inline-item-art.emoji{font-size:18px}
.game-crop-key{grid-template-columns:58px 1fr;align-items:center}
.game-crop-key>span{font-size:30px}
.game-shop-card,.game-auction-card,.game-duel-card{min-height:88px}
.game-offline-summary{gap:7px}
@media(max-width:900px){.game-monster{grid-template-columns:88px 1fr}.game-monster>.btn{grid-column:1/-1;width:100%}.game-quest.art{grid-template-columns:88px 1fr}.game-quest.art>.btn{grid-column:1/-1;width:100%}.game-skill-scene{width:100%;height:130px}}
@media(max-width:640px){.game-tab-art,.game-tab-glyph{width:28px;height:28px;flex-basis:28px}.game-monster{grid-template-columns:1fr}.game-monster-icon{width:100%;height:164px}.game-dungeon-banner.art{grid-template-columns:1fr}.game-dungeon-art{width:100%;height:140px}.game-quest.art{grid-template-columns:1fr}.game-quest-icon{width:100%;height:180px}.game-shell{font-size:16px}.game-shell p,.game-shell li,.game-shell label,.game-shell td{font-size:15px}.game-tooltip{font-size:16px}}

/* 2.99 final artwork integration */
.game-crop-art-wrap{width:54px;height:54px;border-radius:10px;overflow:hidden;border:1px solid #5d4b2b;background:#0c0e10;display:grid;place-items:center;grid-row:1/3}
.game-crop-art{width:100%;height:100%;object-fit:cover;display:block}
.game-farm-scene-art,.game-farm-crop-art{width:100%;height:100%;object-fit:cover;display:block}
.game-plot-art.empty-art{background:#101412}
.game-plot-art.growing{background:#101412}
.game-attr>div:first-child>span,.game-style-btn>span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;border:1px solid #66522d;background:#17140e;color:#f2d287;font-weight:900;font-size:15px}
.game-hero{background:linear-gradient(120deg,rgba(5,6,7,.96),rgba(5,6,7,.78)),radial-gradient(circle at 78% 20%,rgba(214,170,82,.18),transparent 34%),linear-gradient(#0a0c0e,#070809)}
.game-main,.game-sidebar,.game-topbar{border-color:#4d4028}
.game-action,.game-monster,.game-dungeon-card,.game-quest,.game-item,.game-shop-card,.game-auction-card,.game-duel-card{box-shadow:inset 0 0 0 1px rgba(214,170,82,.04),0 10px 26px rgba(0,0,0,.16)}
.game-gear-empty{width:78px;height:78px;border-radius:14px;border:1px dashed #4e5357;background:linear-gradient(180deg,#121518,#0b0d0f);display:grid;place-items:center;color:#7e858a;font-size:12px;font-weight:900;letter-spacing:.08em}
.game-ability-art{width:44px;height:44px;border-radius:10px;object-fit:cover;border:1px solid #5c4b2d;background:#0b0d0f;flex:0 0 44px}
.game-steam-shield{font-size:12px!important;font-weight:900;letter-spacing:.08em;color:#dceaf5}

/* 3.00 mastery + combat systems */
.game-mastery-explainer{margin:14px 0 18px;padding:13px 15px;border:1px solid #655127;border-radius:9px;background:linear-gradient(90deg,#17130b,#0d1012);display:flex;gap:12px;align-items:center}.game-mastery-explainer b{color:#f0d181;white-space:nowrap}.game-mastery-explainer span{color:#b8bec2;font-size:14px}.game-mastery-row{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;font-size:13px;color:#bfc5c9}.game-mastery-row>i{height:7px;background:#22282c;border-radius:999px;overflow:hidden}.game-mastery-row>i>b{display:block;height:100%;background:linear-gradient(90deg,#796128,#e2bd66)}
.game-system-section{margin-top:24px;border-top:1px solid #30363b;padding-top:20px}.game-panel-head.compact{margin-bottom:12px}.game-prayer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.game-prayer-card{border:1px solid #333a40;background:#0c1013;color:#d8dcdf;padding:14px;border-radius:9px;text-align:left;display:grid;gap:5px;cursor:pointer}.game-prayer-card b{font-size:16px}.game-prayer-card span{color:#939ca2;font-size:13px}.game-prayer-card.active{border-color:#886f31;background:#1b160c;box-shadow:inset 0 0 0 1px rgba(240,209,129,.12)}.game-prayer-card:disabled{opacity:.45;cursor:not-allowed}
.game-combat-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:14px 0 16px}.game-combat-detail-grid span{border:1px solid #33393e;background:#0c0f11;border-radius:8px;padding:10px;color:#91999f;font-size:13px}.game-combat-detail-grid b{display:block;color:#f0d181;font-size:17px;margin-bottom:2px}.game-combat-options{display:flex;gap:8px;margin:10px 0 16px}.game-loot-line{margin-top:9px;padding-top:8px;border-top:1px solid #2b3034;color:#9fa7ac;font-size:12px;line-height:1.45}.game-loot-line b{color:#e2c47d}
.game-slayer-summary{text-align:right}.game-slayer-summary b{display:block;color:#f0d181;font-size:30px}.game-slayer-summary span{font-size:12px;color:#8f989e}.game-slayer-task{display:grid;grid-template-columns:180px 1fr auto;gap:18px;align-items:center;border:1px solid #574628;background:linear-gradient(145deg,#16130d,#0c0f11);border-radius:12px;padding:16px}.game-slayer-art{width:180px;height:150px;object-fit:cover;border-radius:10px;border:1px solid #604c2c}.game-slayer-task h3{font-size:24px;margin:2px 0 5px}.game-slayer-task small{color:#e2c47d;letter-spacing:.1em}.game-empty-system{padding:30px;text-align:center;border:1px dashed #43494e;border-radius:10px;background:#0b0e10}.game-empty-system h3{font-size:22px;margin:0 0 6px}.game-empty-system p{color:#969fa5}
.game-completion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.game-completion-grid article{border:1px solid #343a3f;border-radius:10px;background:linear-gradient(145deg,#111518,#0b0d0f);padding:16px}.game-completion-grid b{display:block;color:#aeb5ba;font-size:14px}.game-completion-grid strong{display:block;font-size:30px;color:#f0d181;margin:5px 0 10px}.game-completion-grid span{font-size:13px;color:#8f989e}.game-completion-bar{height:10px;background:#20262a;border-radius:999px;overflow:hidden;margin-bottom:7px}.game-completion-bar i{display:block;height:100%;background:linear-gradient(90deg,#72541f,#d6aa52)}
.game-upgrade-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.game-upgrade-card{border:1px solid #343a3f;background:#0d1012;border-radius:9px;padding:13px;display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.game-upgrade-card b{font-size:16px;color:#f0d181}.game-upgrade-card p{margin:3px 0 0;color:#929aa0;font-size:13px}.game-upgrade-card>span{color:#e2c47d;font-weight:800}.game-upgrade-card>.btn{grid-column:1/-1}.game-upgrade-card.owned{border-color:#42684c;background:#0c1510}
.game-attr-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:900px){.game-prayer-grid,.game-combat-detail-grid{grid-template-columns:1fr 1fr}.game-slayer-task{grid-template-columns:130px 1fr}.game-slayer-art{width:130px;height:120px}.game-slayer-task>.btn{grid-column:1/-1}.game-upgrade-grid{grid-template-columns:1fr}}
@media(max-width:640px){.game-mastery-explainer{align-items:flex-start;flex-direction:column}.game-prayer-grid,.game-combat-detail-grid,.game-completion-grid,.game-attr-grid{grid-template-columns:1fr}.game-slayer-task{grid-template-columns:1fr}.game-slayer-art{width:100%;height:210px}.game-upgrade-card{grid-template-columns:1fr}.game-upgrade-card>.btn{grid-column:auto}}
.game-skill-milestones{margin:0 0 16px;padding:12px 14px;border:1px solid #31383d;border-radius:9px;background:#0b0e10}.game-skill-milestones>b{display:block;color:#d9ba70;font-size:13px;letter-spacing:.08em;margin-bottom:8px}.game-skill-milestones>div{display:flex;gap:7px;flex-wrap:wrap}.game-skill-milestones span{padding:6px 8px;border:1px solid #32383d;border-radius:999px;color:#747d83;font-size:12px}.game-skill-milestones span.unlocked{border-color:#48634a;color:#8dd9a0;background:#0d1711}
.game-spellbook{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:10px 0 17px;padding:13px;border:1px solid #3d354f;border-radius:10px;background:linear-gradient(145deg,#11101a,#0b0e11)}.game-spellbook h3{grid-column:1/-1;margin:0 0 3px;color:#c9b5ff;font-size:17px}.game-spell-card{border:1px solid #3b3d48;background:#101318;color:#e2e4e6;border-radius:8px;padding:11px;text-align:left;display:grid;gap:4px;cursor:pointer}.game-spell-card b{font-size:15px}.game-spell-card span{font-size:12px;color:#9199a0}.game-spell-card.active{border-color:#7867a3;background:#181426}.game-spell-card:disabled{opacity:.4;cursor:not-allowed}
.game-pet-log{margin-top:18px;padding:15px;border:1px solid #4d4029;border-radius:10px;background:#11100c}.game-pet-log h3{margin:0 0 10px;color:#f0d181}.game-pet-log span{display:inline-block;margin:3px 6px 3px 0;padding:7px 9px;border:1px solid #3a4044;border-radius:7px;color:#c6cbd0;font-size:13px;background:#0b0e10}
@media(max-width:640px){.game-spellbook{grid-template-columns:1fr}}

/* 3.01 COOKING STATIONS + OFFLINE PROGRESSION */
.game-cooking-info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 20px}.game-cooking-info span{border:1px solid #3d3424;background:linear-gradient(180deg,#17140f,#0d0f11);border-radius:9px;padding:12px 13px;color:#b6bbc0;font-size:14px;line-height:1.5}.game-cooking-info b{display:block;color:#f0d181;font-size:15px;margin-bottom:3px}.game-cook-stations{display:grid;gap:18px}.game-cook-station{border:1px solid #4b402b;border-radius:12px;background:linear-gradient(150deg,#151617,#0b0d0f);overflow:hidden;box-shadow:0 16px 42px rgba(0,0,0,.22)}.game-cook-station.locked{opacity:.72}.game-cook-station-art{height:220px;overflow:hidden;background:#08090a;border-bottom:1px solid #4b402b}.game-cook-station-art img{width:100%;height:100%;object-fit:cover;display:block}.game-cook-station-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:17px 18px 12px}.game-cook-station-head h3{margin:2px 0 5px;font-size:25px}.game-cook-station-head p{margin:0;color:#a2a8ad;font-size:15px;max-width:760px}.game-passive-badge{min-width:165px;border:1px solid #416347;background:#0c1710;border-radius:8px;padding:9px 11px;text-align:right}.game-passive-badge small{display:block;color:#70d991;font-size:10px;letter-spacing:.11em}.game-passive-badge b{display:block;font-size:13px;margin-top:2px}.game-cook-recipes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:0 18px 18px}.game-cook-recipe{border:1px solid #333a3f;background:#0d1012;border-radius:9px;padding:13px;display:grid;gap:9px;min-width:0}.game-cook-recipe.locked{opacity:.5}.game-cook-recipe-head{display:flex;align-items:center;gap:11px}.game-cook-recipe-head h3{margin:0;font-size:18px}.game-cook-recipe-head small{display:block;color:#92999e;font-size:13px;margin-top:2px}.game-cook-food-art{width:62px;height:62px;object-fit:cover;border-radius:9px;border:1px solid #54452e;background:#111416}.game-cook-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.game-cook-metrics span{border:1px solid #30363a;background:#080a0c;border-radius:6px;padding:7px;text-align:center;color:#939a9f;font-size:11px}.game-cook-metrics b{display:block;color:#e7c775;font-size:15px}.game-cook-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.game-cook-actions .btn:only-child{grid-column:1/-1}.game-station-lock{margin:0 18px 18px;border:1px dashed #725a2e;background:#151109;border-radius:9px;padding:17px;text-align:center}.game-station-lock b,.game-station-lock span{display:block}.game-station-lock b{color:#e7c775;font-size:17px}.game-station-lock span{color:#aab0b4;margin:4px 0 10px}.game-offline-card{width:min(620px,100%)}.game-offline-passive-list{display:grid;gap:7px}.game-offline-passive{border:1px solid #3a4146;background:#111519;border-radius:7px;padding:9px 11px;text-align:left}.game-offline-passive b,.game-offline-passive span{display:block}.game-offline-passive b{color:#e4c474}.game-offline-passive span{color:#aeb4b8;margin-top:2px;font-size:14px}.game-offline-item.used{opacity:.85}.game-offline-item.used span:before{content:'− ';color:#dd9d70;font-weight:900}.game-modal-card.game-offline-card h3{margin:16px 0 7px}.game-modal-card.game-offline-card ul{max-height:210px;overflow:auto;margin:0}
@media(max-width:900px){.game-cooking-info{grid-template-columns:1fr 1fr}.game-cook-recipes{grid-template-columns:1fr}.game-cook-station-art{height:190px}}
@media(max-width:640px){.game-cooking-info{grid-template-columns:1fr}.game-cook-station-head{flex-direction:column}.game-passive-badge{width:100%;text-align:left}.game-cook-station-art{height:160px}.game-cook-recipes{padding:0 12px 12px}.game-cook-station-head{padding:14px 12px 10px}.game-cook-actions{grid-template-columns:1fr}}
.game-cook-status-stack{display:grid;gap:7px;min-width:185px}.game-stockpile-badge{border:1px solid #66512f;background:#161109;border-radius:8px;padding:9px 11px;text-align:right}.game-stockpile-badge small{display:block;color:#d7b56b;font-size:10px;letter-spacing:.11em}.game-stockpile-badge b{display:block;font-size:13px;margin:2px 0 6px}.game-stockpile-badge .game-mini-btn{padding:5px 8px}.game-upgrade-req{display:block;color:#d59b70;font-size:11px;margin-top:4px}.game-upgrade-req.ok{color:#72d793}@media(max-width:640px){.game-cook-status-stack{width:100%}.game-stockpile-badge{text-align:left}}

/* 3.02 ADVANCED COMBAT + BEGINNER GUIDE SYSTEM ALIGNMENT */
.game-system-note{margin-top:8px!important;padding:8px 10px;border-left:3px solid #b28c43;background:#13110c;color:#d8c99f!important}
.game-mastery-pool{margin:14px 0;padding:14px 15px;border:1px solid #4a402a;border-radius:10px;background:linear-gradient(145deg,#15130e,#0c0f11);display:grid;gap:8px}.game-mastery-pool>div:first-child{display:flex;justify-content:space-between;gap:12px;align-items:center}.game-mastery-pool>div:first-child b{color:#f0d181;letter-spacing:.08em}.game-mastery-pool>div:first-child span{color:#b0b6ba;font-size:13px}.game-mastery-pool>i{height:10px;background:#23282c;border-radius:999px;overflow:hidden}.game-mastery-pool>i>b{height:100%;display:block;background:linear-gradient(90deg,#6d5421,#e2bd66)}.game-mastery-pool p{margin:0;color:#9ca4aa!important;font-size:13px!important}.game-mastery-checkpoints{display:flex;gap:7px;flex-wrap:wrap}.game-mastery-checkpoints span{border:1px solid #383e43;border-radius:999px;padding:5px 9px;font-size:11px;color:#778087}.game-mastery-checkpoints span.active{color:#8fe0a5;border-color:#42654a;background:#0d1711}
.game-secondary-tree-grid{display:flex;flex-wrap:wrap;gap:8px}.game-secondary-tree-grid .game-mini-btn.gold{border-color:#aa843a;background:#221a0c;color:#f3d88e}
.game-combat-detail-grid.advanced{grid-template-columns:repeat(4,minmax(0,1fr))}.game-combat-triangle{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:12px 0;padding:12px;border:1px solid #443b2b;background:#100f0c;border-radius:9px}.game-combat-triangle>b{grid-column:1/-1;color:#f0d181}.game-combat-triangle span{padding:8px 9px;border:1px solid #343a3f;border-radius:7px;text-align:center;color:#9ca4a9}.game-combat-triangle span.active{border-color:#8d7135;background:#1c160b;color:#f1d586}.game-combat-triangle small{grid-column:1/-1;color:#8f979c;font-size:12px;line-height:1.45}
.game-auto-eat-box,.game-combat-control{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:10px 0;padding:12px 13px;border:1px solid #343b40;border-radius:9px;background:#0d1012}.game-auto-eat-box b,.game-auto-eat-box span,.game-combat-control b,.game-combat-control span{display:block}.game-auto-eat-box b,.game-combat-control b{color:#e6c675}.game-auto-eat-box span,.game-combat-control span{color:#939ca2;font-size:13px;margin-top:2px}.game-potion-row{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.game-mini-btn.danger{border-color:#6f3d3d;color:#e5a2a2}
.game-live-combat{margin:16px 0;border:1px solid #56472f;border-radius:11px;background:linear-gradient(145deg,#15130f,#0b0e10);padding:12px}.game-live-combat .game-battle-stage{margin:0}.game-status-row{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.game-status-chip{padding:5px 8px;border-radius:999px;border:1px solid #585d61;background:#181c20;color:#ddd;font-size:11px;font-weight:800}.game-status-chip.poison{border-color:#476947;color:#91df91}.game-status-chip.burn{border-color:#7b4b32;color:#f0a479}.game-status-chip.bleed{border-color:#793f46;color:#e9939c}.game-status-chip.stun{border-color:#6a6290;color:#c1b7f4}.game-status-chip.slow{border-color:#3c6078;color:#87c8ef}.game-combat-log{display:grid;gap:3px;max-height:150px;overflow:auto;border-top:1px solid #353a3e;padding-top:9px}.game-combat-log span{font-size:12px;color:#a3aab0}
.game-monster-stats.advanced{grid-template-columns:repeat(3,minmax(0,1fr))}.game-special-line{margin-top:8px;color:#aab0b4;font-size:12px}.game-special-line b{color:#e3c473}
.game-slayer-tier-box{margin-bottom:16px;padding:14px;border:1px solid #413824;border-radius:10px;background:#100f0b}.game-slayer-tier-box h3{margin:0 0 9px;color:#e6c675}.game-slayer-tier-box p{margin:9px 0 0;color:#91999f;font-size:13px}.game-slayer-tier-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.game-slayer-tier{border:1px solid #343b40;background:#0d1012;color:#cbd0d4;border-radius:7px;padding:9px;display:grid;gap:3px;text-align:left;cursor:pointer}.game-slayer-tier b{font-size:14px}.game-slayer-tier span{font-size:10px;color:#8e979d}.game-slayer-tier.active{border-color:#80682f;background:#1a150a}.game-slayer-tier:disabled{opacity:.46;cursor:not-allowed}.game-slayer-task-actions{display:grid;gap:7px;min-width:150px}.game-slayer-task-actions .btn,.game-slayer-task-actions .game-mini-btn{width:100%}
@media(max-width:1000px){.game-combat-detail-grid.advanced{grid-template-columns:repeat(3,minmax(0,1fr))}.game-slayer-tier-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.game-combat-detail-grid.advanced{grid-template-columns:1fr 1fr}.game-combat-triangle{grid-template-columns:1fr}.game-combat-triangle>b,.game-combat-triangle small{grid-column:auto}.game-auto-eat-box,.game-combat-control{align-items:flex-start;flex-direction:column}.game-potion-row{justify-content:flex-start}.game-slayer-tier-grid{grid-template-columns:1fr 1fr}.game-monster-stats.advanced{grid-template-columns:1fr 1fr}}
@media(max-width:460px){.game-combat-detail-grid.advanced,.game-slayer-tier-grid{grid-template-columns:1fr}}

/* 3.03 Gathering + Firemaking depth */
.gathering-feature{margin-bottom:18px;border:1px solid #4b4029;background:linear-gradient(180deg,#15120c,#0d0f11);border-radius:10px;padding:14px}
.gathering-feature .game-panel-head{margin-bottom:12px}
.game-resource-node-grid,.game-fishing-area-grid,.game-bonfire-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.game-resource-node,.game-fishing-area,.game-bonfire-card{border:1px solid #363d42;background:#0c0f11;border-radius:8px;padding:11px;display:grid;gap:7px;text-align:left;color:#eef1f2}
.game-resource-node.depleted{border-color:#6b3a35;background:#160e0d}
.game-resource-node b,.game-fishing-area b,.game-bonfire-card b{font-size:15px;color:#f0d181}
.game-resource-node small,.game-fishing-area small,.game-bonfire-card small,.game-bonfire-card span{font-size:12px;color:#9ca4aa}
.game-resource-node>i{height:7px;background:#242a2e;border-radius:99px;overflow:hidden}
.game-resource-node>i>b{display:block;height:100%;background:linear-gradient(90deg,#705520,#d6aa52)}
.game-resource-node.depleted>i>b{background:#743f37}
.game-resource-node>span{font-size:12px;color:#c6ccd0}
.game-fishing-area>div{display:flex;gap:8px;flex-wrap:wrap}
.game-fishing-area>div small{padding:3px 6px;border:1px solid #343b40;border-radius:4px;background:#111518}
.game-fishing-area em{font-style:normal;color:#d6aa52;font-size:12px}
.game-bonfire-card{cursor:pointer}
.game-bonfire-card:hover:not(:disabled){border-color:#8b6a2d;background:#17130d}
.game-bonfire-card:disabled{opacity:.45;cursor:not-allowed}
.game-gathering-callout{margin-top:10px;border-left:3px solid #8b6a2d;padding:9px 11px;background:#100f0c;color:#b9c0c4;font-size:13px;line-height:1.5}
@media(max-width:900px){.game-resource-node-grid,.game-fishing-area-grid,.game-bonfire-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.game-resource-node-grid,.game-fishing-area-grid,.game-bonfire-grid{grid-template-columns:1fr}}


/* 3.03.1 continuous combat visibility fix */
.game-continuous-combat{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 12px;padding:10px 12px;border:1px solid #386047;background:#0c1710;border-radius:8px}.game-continuous-combat b{color:#7ee09a;font-size:13px;letter-spacing:.08em}.game-continuous-combat span{color:#b7c2bb;font-size:13px;text-align:right}.game-live-hp{width:170px;max-width:100%;height:8px;margin-top:7px;border-radius:999px;background:#251010;overflow:hidden;border:1px solid #4a2929}.game-live-hp i{display:block;height:100%;background:linear-gradient(90deg,#8e2d2d,#d85a52)}.game-live-hp.enemy i{background:linear-gradient(90deg,#6e2e2e,#b64040)}.game-combat-stop-reason{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #75423d;background:#1b0e0e;border-radius:8px;padding:12px 14px;margin:0 0 14px}.game-combat-stop-reason b{font-size:12px;color:#ff9e96;letter-spacing:.08em}.game-combat-stop-reason span{font-size:15px;color:#f2d5d2}.game-toast.bad{max-width:520px}@media(max-width:640px){.game-continuous-combat,.game-combat-stop-reason{align-items:flex-start;flex-direction:column}.game-continuous-combat span{text-align:left}}

/* 3.04 advanced support skills */
.game-support-card-grid,.game-constellation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.game-support-card,.game-thieving-card,.game-constellation{border:1px solid #343a3f;background:linear-gradient(145deg,#121519,#0b0e10);border-radius:10px;overflow:hidden;display:grid;grid-template-columns:110px 1fr;gap:12px;padding:10px;align-items:center}.game-support-card.active{border-color:#8b6a2d;box-shadow:inset 0 0 0 1px rgba(214,170,82,.15)}.game-support-card img,.game-thieving-card img,.game-constellation img{width:110px;height:110px;object-fit:cover;border-radius:8px;border:1px solid #56431e}.game-support-card h3,.game-thieving-card h3,.game-constellation h3{margin:0 0 4px;font-size:18px}.game-support-card p,.game-thieving-card small,.game-constellation small{color:#91999e;font-size:13px;line-height:1.45}.game-system-value{font-weight:900;color:#f0d181;font-size:16px;text-align:right}.game-astro-mod{display:flex;gap:8px;align-items:center;justify-content:space-between;border-top:1px solid #292f33;padding-top:8px;margin-top:8px}.game-astro-mod span{font-size:13px}.game-constellation{grid-template-columns:120px 1fr}.game-constellation img{width:120px;height:140px}.game-thieving-card span{display:block;color:#e2c47d;font-size:14px;margin:3px 0}.game-system-section .game-panel-head.compact{align-items:center}.game-system-note{color:#e4c77e!important;font-weight:700}.game-support-card .game-item-actions{margin-top:8px}@media(max-width:760px){.game-support-card-grid,.game-constellation-grid{grid-template-columns:1fr}.game-support-card,.game-thieving-card,.game-constellation{grid-template-columns:90px 1fr}.game-support-card img,.game-thieving-card img,.game-constellation img{width:90px;height:90px}.game-constellation img{height:110px}.game-astro-mod{align-items:flex-start;flex-direction:column}.game-astro-mod .game-mini-btn{width:100%}}

/* 3.05 Mastery, utility gear, skillcapes and armour trim */
.game-token-claim{margin-top:12px;padding:10px;border:1px solid #554526;background:linear-gradient(135deg,#18150f,#0b0d0f);border-radius:9px;display:grid;grid-template-columns:48px minmax(0,1fr) auto auto;gap:9px;align-items:center}
.game-token-claim img{width:48px;height:48px;object-fit:cover;border-radius:8px;border:1px solid #80672f}.game-token-claim b,.game-token-claim small{display:block}.game-token-claim small{color:#9da4a8;font-size:12px;margin-top:2px}
.game-combat-loot{margin:12px 0 16px;border:1px solid #66532f;background:linear-gradient(90deg,#17140e,#0c0f11);padding:12px 14px;border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:14px}.game-combat-loot.empty{border-color:#363d42}.game-combat-loot b,.game-combat-loot span{display:block}.game-combat-loot b{color:#efca72;letter-spacing:.06em;font-size:13px}.game-combat-loot span{margin-top:4px;color:#bdc3c6;font-size:13px;line-height:1.45}
.game-mini-btn.trim{border-color:#8b743f;background:linear-gradient(#312816,#17140e);color:#f2d98e}.game-shop-card.owned{border-color:#526d45;background:#101710}.game-shop-grid.skillcapes .game-shop-card{min-height:122px}.game-shop-grid.skillcapes .game-item-art{width:66px;height:66px}.game-shop-grid.skillcapes small{line-height:1.35}
.game-gear-grid.seven{grid-template-columns:repeat(5,minmax(0,1fr))}.game-gear-card span{line-height:1.35}.game-gear-actions{display:flex;flex-wrap:wrap;gap:5px;justify-content:center}
@media(max-width:900px){.game-token-claim{grid-template-columns:42px 1fr}.game-token-claim button{grid-column:auto}.game-gear-grid.seven{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.game-token-claim{grid-template-columns:40px 1fr}.game-token-claim button{grid-column:1/-1;width:100%}.game-combat-loot{align-items:flex-start;flex-direction:column}.game-combat-loot .btn{width:100%}.game-gear-grid.seven{grid-template-columns:1fr 1fr}}
.game-upgrade-card{grid-template-columns:58px minmax(0,1fr) auto!important}.game-upgrade-art{width:58px;height:58px;object-fit:cover;border-radius:9px;border:1px solid #5d4a2a}.game-upgrade-card>.btn{grid-column:1/-1}

/* 3.06 COMBAT SKILLS + GUIDE PROGRESSION */
.game-attack-style-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:10px}
.game-attack-style{border:1px solid #3b4146;background:#0d1012;color:#d9dde0;border-radius:8px;padding:11px;text-align:left;cursor:pointer;display:grid;gap:4px}
.game-attack-style b{font-size:15px;color:#f0d181}.game-attack-style small{font-size:12px;line-height:1.4;color:#92999e}
.game-attack-style.active{border-color:#c3923e;background:linear-gradient(145deg,#251b0d,#111317);box-shadow:inset 0 0 0 1px rgba(240,209,129,.18)}
.game-combat-control.vertical{display:block}.game-combat-control.vertical>div:first-child{margin-bottom:8px}
.game-ammo-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.game-ammo-card{border:1px solid #343a3f;background:#0d1012;color:#d9dde0;border-radius:8px;padding:10px;text-align:left;display:grid;gap:3px;cursor:pointer}
.game-ammo-card b{color:#e6c573;font-size:14px}.game-ammo-card span,.game-ammo-card small{font-size:12px;color:#92999e}.game-ammo-card.active{border-color:#b78a39;background:#1d160c}.game-ammo-card:disabled{opacity:.45;cursor:not-allowed}
.game-magic-combat{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:13px 0}
.game-magic-column{border:1px solid #343a3f;background:#0b0d10;border-radius:9px;padding:10px;display:grid;gap:7px;align-content:start}
.game-magic-column h3{margin:0 0 3px;color:#e2c47d;font-size:16px}
.game-spell-card{width:100%;text-align:left;border:1px solid #343a3f;background:#12151a;color:#e5e8ea;border-radius:7px;padding:9px;display:grid;gap:3px;cursor:pointer}
.game-spell-card b{font-size:14px}.game-spell-card span{font-size:12px;line-height:1.35;color:#a8afb4}.game-spell-card.active{border-color:#7353b7;background:#181225}.game-spell-card:disabled{opacity:.42;cursor:not-allowed}
.game-slayer-area-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.game-slayer-area{border:1px solid #343a3f;background:#0d1012;border-radius:8px;padding:10px;display:grid;gap:4px}.game-slayer-area b{font-size:14px;color:#f0d181}.game-slayer-area span,.game-slayer-area small{font-size:12px;color:#9aa1a6}.game-slayer-area em{font-style:normal;font-size:10px;letter-spacing:.09em;color:#70d493}.game-slayer-area.locked{opacity:.48}.game-slayer-area.locked em{color:#d27d7d}
.game-slayer-shop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.game-slayer-shop-card{display:grid;grid-template-columns:58px 1fr auto;gap:10px;align-items:center;border:1px solid #343a3f;background:#0d1012;border-radius:8px;padding:10px}.game-slayer-shop-card .game-item-art{width:56px;height:56px;object-fit:cover;border-radius:8px}.game-slayer-shop-card b,.game-slayer-shop-card small{display:block}.game-slayer-shop-card small{color:#e2c47d;font-size:12px}.game-slayer-shop-card p{margin:3px 0 0;font-size:12px;color:#969da2}.game-slayer-shop-card.owned{border-color:#4b734f}
.game-combat-guide-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.game-combat-guide-stage{border:1px solid #343a3f;background:#0d1012;border-radius:9px;padding:12px}.game-combat-guide-stage.current{border-color:#b98a3b;background:linear-gradient(145deg,#21180d,#0d1012)}.game-combat-guide-stage b{display:block;color:#f0d181;font-size:15px}.game-combat-guide-stage small{display:block;color:#92999e;margin:2px 0 7px}.game-combat-guide-stage ul{margin:0;padding-left:18px}.game-combat-guide-stage li{font-size:12px;margin:3px 0;color:#c4c9cc}
@media(max-width:1000px){.game-ammo-grid,.game-slayer-area-grid{grid-template-columns:repeat(3,1fr)}.game-magic-combat,.game-combat-guide-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.game-attack-style-grid,.game-ammo-grid,.game-magic-combat,.game-slayer-area-grid,.game-slayer-shop-grid,.game-combat-guide-grid{grid-template-columns:1fr}.game-slayer-shop-card{grid-template-columns:56px 1fr}.game-slayer-shop-card>.btn{grid-column:1/-1;width:100%}}

/* 3.07 FANTASY WORLD MAP + CITY REPUTATION */
.game-world-current{min-width:190px;padding:12px 14px;border:1px solid #574729;border-radius:10px;background:linear-gradient(180deg,#171a1d,#0d0f11);text-align:right}.game-world-current small,.game-world-current span{display:block;color:#9aa2a7;font-size:11px;letter-spacing:.08em}.game-world-current b{display:block;color:#f0d181;font-size:20px;margin:2px 0}.game-world-regions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:12px}.game-world-regions span{border:1px solid #333a40;background:linear-gradient(180deg,#111519,#0b0e10);border-radius:8px;padding:9px 10px}.game-world-regions b,.game-world-regions small{display:block}.game-world-regions b{color:#e8d39a;font-size:13px}.game-world-regions small{color:#889096;font-size:11px;margin-top:2px}.game-world-layout{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(300px,.9fr);gap:12px;align-items:start}.game-world-map-card,.game-world-detail,.game-world-tasks{border:1px solid #3a4147;background:#0a0d0f;border-radius:12px;overflow:hidden}.game-world-map{position:relative;aspect-ratio:14/9;background-size:cover;background-position:center;border-bottom:1px solid #403a2b;overflow:hidden;box-shadow:inset 0 0 60px rgba(0,0,0,.35)}.game-world-map:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.14));box-shadow:inset 0 0 0 2px rgba(227,184,86,.08)}.game-world-pin{position:absolute;transform:translate(-50%,-50%);z-index:3;border:1px solid #5f5237;background:rgba(8,11,13,.92);color:#f4f5f5;border-radius:8px;padding:5px 8px 5px 42px;min-width:118px;text-align:left;box-shadow:0 8px 24px rgba(0,0,0,.45);cursor:pointer}.game-world-pin:hover,.game-world-pin.selected{border-color:#e0b657;background:rgba(23,18,10,.96);z-index:5}.game-world-pin.current{box-shadow:0 0 0 2px rgba(93,207,122,.35),0 8px 24px rgba(0,0,0,.5)}.game-world-pin i{position:absolute;left:7px;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#1a2025;border:1px solid #6b5a34;color:#f0d181;font-style:normal;font-size:10px;font-weight:900}.game-world-pin.current i{border-color:#4e9d68;color:#8ef0a7}.game-world-pin b,.game-world-pin span{display:block;white-space:nowrap}.game-world-pin b{font-size:12px}.game-world-pin span{font-size:10px;color:#9da5aa}.game-world-compass{position:absolute;left:16px;bottom:16px;z-index:2;width:72px;height:72px;border-radius:50%;border:1px solid rgba(230,189,91,.7);background:rgba(6,8,9,.72);display:grid;place-items:center;color:#e6bd5b;text-align:center;font-size:10px;line-height:1.1}.game-world-compass span{font-size:9px}.game-world-legend{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:9px 12px;color:#92999e;font-size:11px}.game-world-legend span{display:flex;align-items:center;gap:6px}.game-world-legend span:last-child{margin-left:auto}.dot{width:9px;height:9px;border-radius:50%;display:inline-block;background:#666}.dot.current{background:#5fc57b}.dot.selected{background:#e0b657}.dot.friendly{background:#7aa6d8}.game-world-detail{position:sticky;top:92px}.game-world-city-art{width:100%;height:180px;object-fit:cover;display:block;border-bottom:1px solid #443a29}.game-world-detail-body{padding:14px}.game-world-detail h3{margin:2px 0 4px;font-size:26px}.game-world-specialty{color:#e1c67f!important}.game-world-focus,.game-world-benefits{margin:12px 0;padding:11px;border:1px solid #343a3f;border-radius:8px;background:#0d1012}.game-world-focus b,.game-world-focus span,.game-world-focus small,.game-world-benefits>b,.game-world-benefits small{display:block}.game-world-focus span{color:#f0d181;margin:4px 0}.game-world-focus small,.game-world-benefits small{color:#8f979c;font-size:12px;line-height:1.45}.game-world-benefits ul{margin:7px 0 8px;padding-left:18px;display:grid;gap:4px}.game-travel-btn{width:100%;margin-top:12px}.game-travel-meta{display:block;text-align:center;color:#899197;font-size:11px;margin-top:7px}.game-world-city-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:12px}.game-world-city-card{border:1px solid #343a3f;background:#0b0e10;border-radius:9px;padding:0;overflow:hidden;color:#e9ecee;text-align:left;cursor:pointer}.game-world-city-card.selected{border-color:#d6aa52;box-shadow:0 0 0 1px rgba(214,170,82,.15)}.game-world-city-card img{width:100%;height:72px;object-fit:cover;display:block}.game-world-city-card>span{display:block;padding:8px}.game-world-city-card b,.game-world-city-card small{display:block}.game-world-city-card b{font-size:12px}.game-world-city-card small{font-size:10px;color:#8f979c;margin-top:2px}.game-world-city-card i{display:block;height:4px;background:#24292d;border-radius:999px;overflow:hidden;margin-top:7px}.game-world-city-card i em{display:block;height:100%;background:linear-gradient(90deg,#81652e,#e0b657)}.game-world-tasks{margin-top:12px;padding:14px}.game-world-tasks .game-panel-head{margin-bottom:12px}.game-contract.locked{opacity:.55}.game-contract-top>span{min-width:40px;height:40px;border-radius:8px;display:grid;place-items:center;border:1px solid #574729;background:#17140e;color:#e8c977;font-size:10px;font-weight:900}.game-current-city{font-size:10px;color:#79dc96;border:1px solid #3d6b4a;border-radius:999px;padding:3px 6px;vertical-align:middle;margin-left:5px}.game-rep-badge.rank-1 strong{color:#8dd8a1}.game-rep-badge.rank-2 strong{color:#8fc5ff}.game-rep-badge.rank-3 strong{color:#d0a5ff}.game-rep-badge.rank-4 strong{color:#f3c975}.game-rep-badge.rank-5 strong{color:#ff9f6f}
@media(max-width:1150px){.game-world-regions{grid-template-columns:repeat(3,1fr)}.game-world-layout{grid-template-columns:1fr}.game-world-detail{position:static}.game-world-city-strip{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.game-world-regions{grid-template-columns:1fr 1fr}.game-world-city-strip{grid-template-columns:1fr 1fr}.game-world-pin{min-width:0;padding:4px 6px 4px 30px}.game-world-pin i{width:20px;height:20px;left:5px}.game-world-pin b{font-size:10px}.game-world-pin span{font-size:8px}.game-world-compass{width:54px;height:54px}.game-world-current{width:100%;text-align:left}.game-world-city-art{height:145px}}

/* 3.07.1 WORLD MAP LAYOUT FIX */
.game-world-head{margin-bottom:12px}
.game-world-head p{max-width:760px}
.game-world-regions{margin-bottom:10px}
.game-world-regions span{padding:8px 10px;transition:.18s ease}
.game-world-regions span.active{border-color:#8c6e31;background:linear-gradient(180deg,#1b160d,#0c0f11);box-shadow:inset 0 -2px #d6aa52}
.game-world-layout.compact-map{grid-template-columns:minmax(0,2.25fr) minmax(355px,.75fr);gap:12px;align-items:stretch;height:clamp(650px,72vh,820px)}
.game-world-layout.compact-map .game-world-map-card{display:flex;flex-direction:column;min-height:0;height:100%}
.game-world-layout.compact-map .game-world-map{flex:1 1 auto;min-height:0;height:auto;aspect-ratio:auto;background-size:cover;background-position:center center}
.game-world-layout.compact-map .game-world-legend{flex:0 0 auto;min-height:42px;background:#0b0e10;border-top:1px solid #272d31}
.game-world-layout.compact-map .game-world-detail{position:sticky;top:82px;height:100%;max-height:none;overflow:auto;scrollbar-width:thin;scrollbar-color:#5a4828 #0b0e10}
.game-world-city-hero{position:relative;height:150px;overflow:hidden;border-bottom:1px solid #443a29;background:#090b0d}
.game-world-city-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02) 35%,rgba(4,6,8,.9) 100%);pointer-events:none}
.game-world-city-hero .game-world-city-art{height:100%;border:0;object-fit:cover;filter:saturate(1.08) contrast(1.03)}
.game-world-city-title{position:absolute;z-index:2;left:14px;right:14px;bottom:10px;display:flex;align-items:end;gap:8px;flex-wrap:wrap}
.game-world-city-title .eyebrow{width:100%;color:#e4c36f;text-shadow:0 2px 5px #000}
.game-world-city-title h3{margin:0;font-size:28px;text-shadow:0 2px 8px #000}
.game-world-detail-body{padding:12px}
.game-world-detail-body .game-world-specialty{margin:0 0 8px;font-weight:800}
.game-world-description{margin:8px 0;color:#b0b6ba;font-size:13px!important;line-height:1.45!important}
.game-world-detail-body .game-rep-badge{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-items:center;min-width:0;width:100%;padding:9px 11px;text-align:left}
.game-world-detail-body .game-rep-badge small{grid-column:1/2}.game-world-detail-body .game-rep-badge strong{grid-column:1/2;font-size:17px}.game-world-detail-body .game-rep-badge span{grid-column:2;grid-row:1/3;align-self:center;font-size:12px}
.game-world-detail-body .game-rep-progress{margin:9px 0 10px}
.game-world-focus,.game-world-benefits{margin:9px 0;padding:9px 10px}
.game-world-benefits ul{margin:5px 0 6px;gap:2px}
.game-world-detail-tasks{margin-top:10px;padding-top:10px;border-top:1px solid #30363b}
.game-world-task-head{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:7px}
.game-world-task-head small,.game-world-task-head b{display:block}.game-world-task-head small{color:#d6aa52;font-size:10px;letter-spacing:.1em}.game-world-task-head b{font-size:15px}.game-world-task-head>span{font-size:9px;letter-spacing:.08em;color:#8f979c;border:1px solid #343a3f;border-radius:999px;padding:4px 6px;white-space:nowrap}
.game-contract-stack{display:grid;gap:6px}
.game-contract.compact{padding:8px 9px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.game-contract.compact .game-contract-top{min-width:0}
.game-contract.compact .game-contract-top>span{min-width:32px;width:32px;height:32px}
.game-contract.compact h4{font-size:13px}.game-contract.compact small{font-size:10px}.game-contract.compact .btn{width:auto;min-width:74px;padding:7px 9px;font-size:10px}
.game-world-city-strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,180px);grid-template-columns:none;gap:8px;margin-top:10px;overflow-x:auto;padding:0 0 5px;scrollbar-width:thin;scrollbar-color:#5a4828 #0b0e10}
.game-world-city-card{min-width:150px}
.game-world-city-card img{height:62px}
.game-world-city-card>span{padding:7px}.game-world-city-card b{font-size:11px}.game-world-city-card small{font-size:9px}
.game-world-city-card.current{box-shadow:0 0 0 1px rgba(95,197,123,.45)}
.game-world-pin.current span{color:#7de299}.game-world-pin.current{border-color:#4e9d68}
.game-world-pin.selected.current{border-color:#e0b657;box-shadow:0 0 0 2px rgba(93,207,122,.35),0 0 0 4px rgba(224,182,87,.18),0 8px 24px rgba(0,0,0,.5)}
@media(max-width:1150px){.game-world-layout.compact-map{grid-template-columns:1fr;height:auto}.game-world-layout.compact-map .game-world-map-card{height:620px}.game-world-layout.compact-map .game-world-detail{position:static;height:auto;max-height:none;overflow:visible}.game-world-city-strip{grid-auto-columns:minmax(150px,180px)}}
@media(max-width:760px){.game-world-layout.compact-map .game-world-map-card{height:500px}.game-world-city-hero{height:165px}.game-contract.compact{grid-template-columns:1fr}.game-contract.compact .btn{width:100%}.game-world-task-head{align-items:flex-start;flex-direction:column}.game-world-city-strip{grid-auto-columns:minmax(145px,165px)}}

/* 3.07.2 UI STABILITY + READABILITY + SEMANTIC COLOR SYSTEM */
.game-shell{
  --ui-skill:#78c9ff;
  --ui-stat:#ff9a76;
  --ui-defence:#8fb7ff;
  --ui-reward:#7fdb95;
  --ui-requirement:#f1bd65;
  --ui-mastery:#c49cff;
  --ui-currency:#f2ce73;
  --ui-reputation:#70d6c2;
  --ui-muted:#aab2b8;
  --ui-cloth:#b69cff;
  --ui-leather:#d69a62;
  --ui-mail:#78aee6;
  --ui-plate:#e7c665;
  --ui-weapons:#f18472;
  --ui-scrolls:#72d1ca;
}

/* General minimum readability: secondary text is no longer microscopic. */
.game-shell small{font-size:12.5px;line-height:1.5}
.game-shell .game-action small,.game-shell .game-item small,.game-shell .game-shop-card small,
.game-shell .game-duel-card small,.game-shell .game-auction-card small,.game-shell .game-contract small,
.game-shell .game-crop-key small,.game-shell .game-support-card p,.game-shell .game-thieving-card small,
.game-shell .game-constellation small,.game-shell .game-attack-style small,.game-shell .game-ammo-card span,
.game-shell .game-ammo-card small,.game-shell .game-spell-card span,.game-shell .game-slayer-area span,
.game-shell .game-slayer-area small,.game-shell .game-slayer-shop-card small,.game-shell .game-slayer-shop-card p{
  font-size:13px;line-height:1.48;color:#aeb6bb;
}
.game-shell .game-panel-head p,.game-shell .game-world-description,.game-shell .game-world-focus small,
.game-shell .game-world-benefits small{color:#b7bec3}

/* Semantic information colors: the same type of information uses the same visual language. */
.game-reqs,.game-quest-lock,.game-action.locked .game-reqs{color:var(--ui-requirement)!important}
.game-gives,.game-quest-reward,.game-dungeon-reward,.game-loot-line{color:var(--ui-reward)!important}
.game-xp-meta span:first-child,.game-tab b,.game-skill-head .eyebrow{color:var(--ui-skill)!important}
.game-mastery-head,.game-mastery-row b,.game-mastery-level,.game-token-claim b{color:var(--ui-mastery)!important}
.game-shop-coins,.game-item-count,.game-system-value,.game-world-current b{color:var(--ui-currency)!important}
.game-monster-stats b,.game-combat-detail-grid b,.game-encounter-meta b,.game-live-hp span{color:var(--ui-stat)!important}
.game-world-focus span,.game-rep-badge strong,.game-world-task-head small{color:var(--ui-reputation)!important}
.game-action h3,.game-item h3,.game-monster h3,.game-dungeon-banner h3,.game-quest h3{color:#f3f5f6}

/* Hover explanations: dark blue panel + color-coded skill/stat/reward/requirement keywords. */
.game-tooltip{
  max-width:480px;
  font-size:17px;
  line-height:1.62;
  padding:15px 17px;
  border:1px solid #4c7ea5;
  border-left:4px solid var(--ui-skill);
  background:linear-gradient(145deg,#101923,#0b1016);
  color:#e9eef2;
  box-shadow:0 18px 48px rgba(0,0,0,.62),0 0 0 1px rgba(120,201,255,.07) inset;
}
.game-tooltip .tip-skill{color:var(--ui-skill);font-weight:850}
.game-tooltip .tip-stat{color:var(--ui-stat);font-weight:850}
.game-tooltip .tip-reward{color:var(--ui-reward);font-weight:850}
.game-tooltip .tip-requirement{color:var(--ui-requirement);font-weight:850}

/* Armory/Shop categories use stable, meaningful colors. */
.game-shop-section{border-left:3px solid #4b5156;padding-left:12px}
.game-shop-section .game-shop-head h3{font-size:19px;letter-spacing:.02em}
.game-shop-section.shop-category-cloth{border-left-color:var(--ui-cloth)}
.game-shop-section.shop-category-cloth .game-shop-head h3{color:var(--ui-cloth)}
.game-shop-section.shop-category-leather{border-left-color:var(--ui-leather)}
.game-shop-section.shop-category-leather .game-shop-head h3{color:var(--ui-leather)}
.game-shop-section.shop-category-mail{border-left-color:var(--ui-mail)}
.game-shop-section.shop-category-mail .game-shop-head h3{color:var(--ui-mail)}
.game-shop-section.shop-category-plate{border-left-color:var(--ui-plate)}
.game-shop-section.shop-category-plate .game-shop-head h3{color:var(--ui-plate)}
.game-shop-section.shop-category-weapons{border-left-color:var(--ui-weapons)}
.game-shop-section.shop-category-weapons .game-shop-head h3{color:var(--ui-weapons)}
.game-shop-section.shop-category-skills{border-left-color:var(--ui-scrolls)}
.game-shop-section.shop-category-skills .game-shop-head h3{color:var(--ui-scrolls)}
.game-shop-section.shop-category-other{border-left-color:var(--ui-reward)}
.game-shop-section.shop-category-other .game-shop-head h3{color:var(--ui-reward)}

/* World map card strip: fixed-size readable cards, horizontal scrolling instead of compression. */
.game-world-city-strip{
  grid-auto-columns:220px!important;
  grid-template-columns:none!important;
  gap:10px;
  padding:2px 0 9px;
  overscroll-behavior-inline:contain;
  scroll-snap-type:x proximity;
}
.game-world-city-card{min-width:220px!important;scroll-snap-align:start}
.game-world-city-card img{height:88px!important}
.game-world-city-card>span{padding:9px 10px!important}
.game-world-city-card b{font-size:13px!important;line-height:1.35}
.game-world-city-card small{font-size:11.5px!important;line-height:1.4;color:#aab2b8!important}
.game-world-city-card i{height:5px;margin-top:8px}
.game-world-city-card.selected{box-shadow:0 0 0 2px rgba(214,170,82,.2)}
.game-world-city-card.current{border-color:#4f9f69;box-shadow:0 0 0 2px rgba(95,197,123,.16)}

/* Right-side city task panel readability. */
.game-world-task-head small{font-size:11.5px!important}
.game-world-task-head b{font-size:16px!important}
.game-world-task-head>span{font-size:10.5px!important}
.game-contract.compact h4{font-size:14.5px!important;color:#f2f4f5}
.game-contract.compact small{font-size:11.5px!important;color:#aeb5ba}
.game-contract.compact .btn{font-size:11.5px!important;min-width:88px}
.game-world-pin b{font-size:12.5px}
.game-world-pin span{font-size:10.5px}
.game-world-regions b{font-size:13.5px}.game-world-regions small{font-size:11.5px}
.game-world-legend{font-size:12px}
.game-travel-meta{font-size:12px}

/* Live action areas update in-place; avoid visual flashing from animations on data refresh. */
.game-encounter-live,.game-live-hp i b,.game-progress i{will-change:width;transition:width .22s linear}
.game-combat-log span{animation:none!important}

@media(max-width:1150px){.game-world-city-strip{grid-auto-columns:205px!important}.game-world-city-card{min-width:205px!important}}
@media(max-width:760px){
  .game-shell small{font-size:12px}
  .game-tooltip{font-size:16px}
  .game-world-city-strip{grid-auto-columns:190px!important}
  .game-world-city-card{min-width:190px!important}
  .game-world-city-card img{height:78px!important}
}

/* 3.07.4 Crown & Ember identity + class-respec safety */
.game-brand-kicker{display:flex;align-items:center;gap:10px;color:#d8c089;font-size:13px;font-weight:900;letter-spacing:.17em;text-transform:uppercase;margin-bottom:7px}
.game-brand-kicker:before{content:'';width:34px;height:1px;background:linear-gradient(90deg,#d9ad54,transparent)}
.game-brand-kicker span{color:#89949d;font-size:11px;letter-spacing:.12em;border-left:1px solid #444b50;padding-left:10px}
.game-title-brand{font-size:clamp(48px,7vw,86px)!important;letter-spacing:.025em!important;line-height:.9!important;margin:5px 0 13px!important;text-shadow:0 5px 28px rgba(0,0,0,.5)}
.game-title-brand em{font-style:normal;color:#d5a84d;font-size:.72em;padding:0 .08em}
.game-hero-copy{max-width:760px!important;font-size:17px!important;line-height:1.6!important}
.game-class-respec-warning{display:grid;gap:4px;margin:13px 0 15px;padding:12px 14px;border:1px solid #775b28;border-left:4px solid #d6aa52;border-radius:8px;background:linear-gradient(90deg,rgba(74,51,18,.32),rgba(14,16,18,.82));box-shadow:inset 0 0 28px rgba(214,170,82,.04)}
.game-class-respec-warning b{color:#f3c96b;font-size:14px;letter-spacing:.08em}
.game-class-respec-warning span{color:#eee5d3;font-size:15px;line-height:1.45}
.game-class-respec-warning small{color:#9fc8e8;font-size:13px;line-height:1.4}
.game-class-copy em{display:block;margin-top:5px;color:#d6aa52;font-size:10px;font-style:normal;font-weight:900;letter-spacing:.07em}
.game-class-card.active .game-class-copy em{color:#79d998}
.game-respec-modal{width:min(620px,100%)!important;text-align:left!important;border-color:#755c2f!important;background:linear-gradient(180deg,#171a1d,#0b0e10)!important}
.game-respec-title{display:flex;align-items:center;justify-content:center;gap:18px;margin:0 auto 15px}
.game-respec-title>span{font-size:28px;color:#d6aa52;font-weight:900}
.game-respec-class-art{width:104px;height:104px;object-fit:cover;border-radius:11px;border:1px solid #69542c;background:#080a0c;box-shadow:0 9px 28px rgba(0,0,0,.45)}
.game-respec-modal h2{text-align:left!important;margin:4px 0 10px!important}
.game-respec-modal>p{color:#c3c9cd!important;text-align:left!important}
.game-respec-cost{display:grid;grid-template-columns:1fr auto;gap:2px 14px;align-items:center;margin:14px 0;padding:12px 14px;border:1px solid #684833;border-radius:8px;background:#17100d}
.game-respec-cost small{grid-column:1;color:#c3916d;font-size:11px;letter-spacing:.1em;font-weight:900}
.game-respec-cost strong{grid-column:2;grid-row:1/3;color:#ffb784;font-size:22px}
.game-respec-cost span{grid-column:1;color:#d7dadd;font-size:13px}
.game-respec-cost.free{border-color:#356b47;background:#0d1711}.game-respec-cost.free small,.game-respec-cost.free strong{color:#72df94}
.game-respec-token-note{padding:10px 12px;border:1px solid #31566b;border-radius:7px;background:#0c1419!important;color:#b9d7e7!important}.game-respec-token-note b{color:#79c5ef}
.game-respec-gear-warning{display:grid;gap:4px;margin:11px 0;padding:10px 12px;border:1px solid #744141;border-radius:7px;background:#1b0f10}.game-respec-gear-warning b{color:#ff9292;font-size:12px;letter-spacing:.09em}.game-respec-gear-warning span{color:#e7caca;font-size:14px}
.game-respec-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.game-respec-actions .btn{min-width:150px}
@media(max-width:640px){.game-brand-kicker{font-size:11px;letter-spacing:.11em}.game-brand-kicker span{font-size:10px}.game-title-brand{font-size:44px!important}.game-respec-class-art{width:80px;height:80px}.game-respec-cost{grid-template-columns:1fr}.game-respec-cost strong,.game-respec-cost span,.game-respec-cost small{grid-column:1;grid-row:auto}.game-respec-actions{display:grid;grid-template-columns:1fr}.game-respec-actions .btn{width:100%}}

/* 3.08 ARMOR SETS + LOOT PROGRESSION */
:root{--rarity-common:#a7afb5;--rarity-uncommon:#64c878;--rarity-rare:#5aa9ff;--rarity-epic:#b17cff;--rarity-legendary:#f0c45c}
.game-rarity-legend{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.game-rarity-legend>span,.game-rarity-chip{display:inline-flex;align-items:center;justify-content:center;border:1px solid currentColor;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:900;letter-spacing:.05em;background:#0a0d0f}.rarity-common{--rarity:var(--rarity-common);color:var(--rarity-common)}.rarity-uncommon{--rarity:var(--rarity-uncommon);color:var(--rarity-uncommon)}.rarity-rare{--rarity:var(--rarity-rare);color:var(--rarity-rare)}.rarity-epic{--rarity:var(--rarity-epic);color:var(--rarity-epic)}.rarity-legendary{--rarity:var(--rarity-legendary);color:var(--rarity-legendary)}
.game-item[class*="rarity-"],.game-set-card[class*="rarity-"],.game-loot-row[class*="rarity-"]{border-color:color-mix(in srgb,var(--rarity) 65%,#30353a);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--rarity) 16%,transparent)}
.game-item[class*="rarity-"] h3{color:var(--rarity)}.game-mini-btn.salvage{border-color:#87486e;color:#ef9fd0;background:#1d0d19}.game-mini-btn.salvage:hover{background:#2d1226}
.game-active-sets{margin:16px 0 22px;padding:14px;border:1px solid #4b402b;border-radius:10px;background:linear-gradient(180deg,#111315,#090b0d)}.game-active-sets>h3{margin:0 0 10px;color:#e7c46e;font-size:16px}.game-active-sets>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.game-active-sets article{display:grid;grid-template-columns:74px 1fr;gap:10px;align-items:center;padding:9px;border:1px solid var(--rarity,#3a4045);border-radius:9px;background:#0c0f11}.game-active-sets img{width:74px;height:74px;object-fit:cover;border-radius:8px}.game-active-sets b,.game-active-sets span,.game-active-sets small{display:block}.game-active-sets b{color:var(--rarity,#f0d181);font-size:15px}.game-active-sets span{color:#dce1e4;font-size:13px;margin:2px 0 4px}.game-active-sets small{color:#9aa2a8;font-size:12px;line-height:1.45}
.game-set-class{margin:20px 0 28px}.game-set-class>.game-shop-head{padding:0 2px 9px;border-bottom:1px solid #30363a}.game-set-class-warrior>.game-shop-head h3{color:#ef7770}.game-set-class-ranger>.game-shop-head h3{color:#69d58b}.game-set-class-mage>.game-shop-head h3{color:#b68cff}.game-set-class-adventurer>.game-shop-head h3{color:#e4bd65}.game-set-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.game-set-card{border:1px solid var(--rarity,#333b40);border-radius:11px;overflow:hidden;background:linear-gradient(180deg,#111518,#0a0c0e);min-width:0}.game-set-card>img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block;border-bottom:1px solid color-mix(in srgb,var(--rarity) 55%,#34393d)}.game-set-card-copy{padding:12px}.game-set-card-copy>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}.game-set-card-copy>div:first-child small{color:#9aa2a8;font-size:12px}.game-set-card h3{margin:8px 0 3px;color:var(--rarity,#f0d181);font-size:19px}.game-set-card p{margin:0 0 10px;color:#a6adb2}.game-set-bonuses{display:grid;gap:6px}.game-set-bonuses>span{display:grid;grid-template-columns:70px 1fr;gap:8px;padding:7px 8px;border:1px solid #30363a;border-radius:7px;color:#858d92;background:#090c0e;font-size:12px}.game-set-bonuses>span.active{border-color:#4b714e;color:#ccefd3;background:#0d1510}.game-set-bonuses b{color:#e3c579}.game-set-piece-list{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}.game-set-piece-list>span{padding:4px 6px;border:1px solid #31373c;border-radius:5px;color:#80898f;font-size:10px}.game-set-piece-list>span.owned{border-color:#476d50;color:#8dde9f}.game-set-piece-list>span.equipped{border-color:#d0a94f;color:#f0d181;background:#17130a}
.game-loot-table-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.game-loot-table-card{border:1px solid #343a3f;border-radius:10px;background:#0b0e10;overflow:hidden}.game-loot-table-card.boss{border-color:#66522d}.game-loot-monster{display:grid;grid-template-columns:72px 1fr;gap:10px;align-items:center;padding:10px;background:linear-gradient(90deg,#11161a,#0b0e10)}.game-loot-monster-art{width:72px;height:72px;border-radius:8px;object-fit:cover}.game-loot-monster small{color:#c8a554;font-size:11px}.game-loot-monster h3{margin:2px 0;font-size:18px}.game-loot-monster span{color:#90989e;font-size:12px}.game-loot-table-head,.game-loot-row{display:grid;grid-template-columns:minmax(0,1.7fr) 90px 72px 56px;gap:8px;align-items:center;padding:7px 10px}.game-loot-table-head{border-top:1px solid #2f3539;border-bottom:1px solid #2f3539;color:#8f989e;font-size:10px;letter-spacing:.07em;text-transform:uppercase}.game-loot-row{border-bottom:1px solid #242a2e;font-size:12px;color:#d9dde0}.game-loot-row:last-child{border-bottom:0}.game-loot-row>span:first-child{display:flex;align-items:center;gap:7px;color:#e9ecee}.game-loot-item-art{width:28px;height:28px;object-fit:cover;border-radius:5px}.game-loot-row strong{color:var(--rarity,#d9dde0)}.game-loot-row em{font-style:normal;color:#b6bdc2}.game-drop-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.game-drop-chip{display:inline-flex;gap:4px;align-items:center;padding:3px 6px;border:1px solid color-mix(in srgb,var(--rarity) 65%,#30363a);border-radius:5px;color:var(--rarity);background:#0a0d0f;font-size:11px}.game-drop-chip b{color:inherit}.game-loot-line>.game-drop-chips{margin-top:7px}
@media(max-width:1100px){.game-set-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-loot-table-grid{grid-template-columns:1fr}.game-active-sets>div{grid-template-columns:1fr}}
@media(max-width:680px){.game-set-grid{grid-template-columns:1fr}.game-loot-table-head,.game-loot-row{grid-template-columns:minmax(0,1fr) 74px 62px 44px;padding:7px 7px;gap:5px}.game-loot-row .game-rarity-chip{font-size:9px;padding:3px 5px}}

/* 3.09 INVENTORY ORGANIZER + GEAR COMPARISON */
.game-bank-organizer{display:grid;gap:10px;margin:0 0 16px;padding:12px;border:1px solid #35414a;border-radius:10px;background:linear-gradient(180deg,#0d1216,#090c0f)}
.game-bank-search input{width:100%;min-height:44px;border:1px solid #46535d;border-radius:8px;background:#080b0e;color:#f4f6f7;padding:10px 12px;font:inherit;font-size:16px}
.game-bank-search input:focus{outline:2px solid rgba(108,181,230,.25);border-color:#6cb5e6}
.game-bank-filters{display:flex;gap:7px;flex-wrap:wrap}
.game-bank-filter{border:1px solid #3a454d;background:#11171b;color:#c7d0d5;border-radius:999px;padding:8px 11px;display:flex;gap:7px;align-items:center;font-size:13px;font-weight:800;cursor:pointer}
.game-bank-filter b{min-width:22px;height:22px;border-radius:999px;background:#202a31;display:grid;place-items:center;color:#9fcff0;font-size:11px}
.game-bank-filter:hover,.game-bank-filter.active{border-color:#6cb5e6;background:#13202a;color:#fff}.game-bank-filter.active b{background:#234661;color:#d8efff}
.game-bank-options{display:flex;gap:10px;align-items:end;flex-wrap:wrap}
.game-bank-options label{display:grid;gap:5px;color:#9da8af;font-size:12px;font-weight:800;letter-spacing:.04em}.game-bank-options select{min-width:185px;background:#080b0e;color:#edf1f3;border:1px solid #414d55;border-radius:7px;padding:9px 10px;font:inherit;font-size:14px}
.game-bank-options .game-mini-btn{margin-left:auto;min-height:39px}
.game-bank-group{margin:18px 0 24px}.game-bank-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 9px;padding:8px 11px;border-left:4px solid #6cb5e6;background:linear-gradient(90deg,rgba(32,74,105,.30),rgba(11,14,16,0));border-radius:5px}
.game-bank-group-head h3{margin:0;color:#d9ecf8;font-size:18px}.game-bank-group-head span{color:#8fa1ac;font-size:12px}
.game-bank-empty{padding:34px;border:1px dashed #3b464e;border-radius:10px;text-align:center;background:#0b0f12}.game-bank-empty h3{margin:0 0 5px}.game-bank-empty p{margin:0;color:#98a2a8}
.game-item.is-equipped{box-shadow:inset 0 0 0 1px rgba(100,210,139,.42);border-color:#4d7a5b}.game-item-badges{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin:8px 0 1px}
.game-equipped-badge,.game-compare-badge{display:inline-flex;align-items:center;min-height:23px;padding:3px 7px;border-radius:999px;font-size:10px;font-weight:950;letter-spacing:.05em;border:1px solid #44515a;background:#151b20;color:#b8c2c8}
.game-equipped-badge{border-color:#447154;color:#8ee0a7;background:#0f1b13}.game-compare-badge.upgrade{border-color:#347349;background:#0d1c12;color:#72e49a}.game-compare-badge.downgrade{border-color:#7d3d42;background:#211012;color:#ff8c96}.game-compare-badge.sidegrade{border-color:#745d2f;background:#1e180d;color:#f2c96f}.game-compare-badge.same{border-color:#446476;background:#101b22;color:#8fd0f4}
.game-shop-card .game-compare-badge,.game-auction-card .game-compare-badge{margin-top:5px;width:max-content}

.game-tooltip.gear-tooltip{width:min(570px,calc(100vw - 24px));max-width:570px;padding:0;overflow:hidden;border-left-width:1px;background:#0b1014}
.gear-tip{font-size:14px;line-height:1.35}.gear-tip-head{display:grid;grid-template-columns:68px minmax(0,1fr);gap:11px;align-items:center;padding:13px 14px;background:linear-gradient(135deg,#17232c,#0d1216);border-bottom:1px solid #304451}
.gear-tip-art{width:68px;height:68px;object-fit:cover;border-radius:9px;border:1px solid #58646b;background:#090c0f}.gear-tip-head strong{display:block;font-size:18px;color:#f4f6f7;margin-bottom:4px}.gear-tip-head small{display:block;color:#98a6ae;margin-top:4px}.gear-tip-slot{color:#9fb5c2;font-size:11px;margin-left:6px}
.gear-verdict{margin:11px 13px 6px;padding:8px 10px;border-radius:7px;text-align:center;font-weight:950;letter-spacing:.06em;font-size:12px}.gear-verdict.upgrade{background:#102519;border:1px solid #36794d;color:#7df0a4}.gear-verdict.downgrade{background:#271215;border:1px solid #85424a;color:#ff929b}.gear-verdict.sidegrade{background:#261f10;border:1px solid #7c6632;color:#f4d274}.gear-verdict.same{background:#111f28;border:1px solid #466a7d;color:#9edcff}
.gear-versus{padding:4px 14px 10px;color:#aeb8be}.gear-versus b{color:#f4d176}.gear-compare-head,.gear-compare-row{display:grid;grid-template-columns:minmax(125px,1.45fr) .75fr .75fr .9fr;gap:7px;align-items:center;padding:7px 14px}.gear-compare-head{background:#10171c;border-top:1px solid #25323a;border-bottom:1px solid #25323a;color:#778892;font-size:10px;font-weight:950;letter-spacing:.07em}.gear-compare-row{border-bottom:1px solid #1d272d}.gear-compare-row>span{color:#b9c4ca}.gear-compare-row>b{color:#e3e8ea;text-align:right}.gear-compare-row>em{text-align:right;font-style:normal;font-weight:950}.gear-compare-row>em.up{color:#70e396}.gear-compare-row>em.down{color:#ff818d}.gear-compare-row>em.same{color:#8a979f}.gear-no-stats{padding:12px 14px;color:#9ba5aa;text-align:center}
.gear-tip-set{margin:10px 14px;padding:8px 10px;border:1px solid #5d4a28;border-radius:7px;background:#17130c;color:#c8b27d}.gear-tip-set b{color:#f1d17c}.gear-tip-set span{color:#a9b1b6}.gear-tip-meta{display:grid;gap:4px;margin:9px 14px;padding:9px 10px;border:1px solid #2c383f;border-radius:7px;background:#0d1215;color:#aeb8bd}.gear-tip-meta b{color:#e2c47d}.gear-not-allowed{color:#ff8791!important}.gear-tip-note{display:block;padding:0 14px 13px;color:#82919a;font-size:11px;line-height:1.4}

@media(max-width:760px){.game-bank-options{display:grid;grid-template-columns:1fr 1fr}.game-bank-options label,.game-bank-options select{width:100%;min-width:0}.game-bank-options .game-mini-btn{grid-column:1/-1;margin:0}.game-bank-filter{font-size:12px}.game-tooltip.gear-tooltip{width:calc(100vw - 16px)}.gear-tip{font-size:13px}.gear-compare-head,.gear-compare-row{grid-template-columns:minmax(105px,1.25fr) .7fr .7fr .8fr;padding-left:10px;padding-right:10px;gap:4px}.gear-tip-head{grid-template-columns:56px 1fr}.gear-tip-art{width:56px;height:56px}}
.gear-tip-set{display:grid;gap:4px}.gear-tip-set span,.gear-tip-set small,.gear-tip-set em{display:block}.gear-tip-set small{color:#b6c0c6;font-size:12px}.gear-tip-set em{margin-top:3px;color:#f2c96f;font-style:normal;font-size:11px;font-weight:800}

/* 3.09.1 LIVE UI + DUNGEON ACTIVITY */
.game-sidebar{
  position:sticky;
  top:78px;
  max-height:calc(100vh - 94px);
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  scrollbar-width:thin;
  scrollbar-color:#6b542c #0b0e10;
}
.game-sidebar::-webkit-scrollbar{width:10px}
.game-sidebar::-webkit-scrollbar-track{background:#0b0e10;border-radius:999px}
.game-sidebar::-webkit-scrollbar-thumb{background:#5d4828;border:2px solid #0b0e10;border-radius:999px}
.game-sidebar::-webkit-scrollbar-thumb:hover{background:#8d6d39}
.game-sidebar .game-save-link{position:sticky;bottom:0;background:#0b0e10;box-shadow:0 -10px 18px rgba(0,0,0,.35)}
.game-xp-bar i,.game-mastery-row i b,.game-mastery-pool>i>b{transition:width .65s ease-out}
.game-dungeon-run-live{border:1px solid #66502d;background:linear-gradient(135deg,#14110d,#0b0e11 58%,#111822);border-radius:12px;padding:15px;margin:0 0 16px;box-shadow:0 14px 34px rgba(0,0,0,.28)}
.game-dungeon-run-head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:10px}
.game-dungeon-run-head h3{margin:1px 0 3px;font-size:25px;color:#f3dfaa}
.game-dungeon-run-head>div>span{color:#9fa7ad;font-size:14px}
.game-dungeon-run-percent{font-size:28px;font-weight:950;color:#e6bd5b}
.game-dungeon-run-bar{height:10px;border:1px solid #343b40;background:#080a0c;border-radius:999px;overflow:hidden;margin-bottom:14px}
.game-dungeon-run-bar i{display:block;height:100%;background:linear-gradient(90deg,#7b5a20,#e0b657,#f2d78b);transition:width .8s linear;box-shadow:0 0 16px rgba(224,182,87,.25)}
.game-dungeon-live-body{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(320px,1.2fr);gap:14px;align-items:stretch}
.game-dungeon-live-enemy{display:grid;grid-template-columns:116px 1fr;gap:13px;align-items:center;border:1px solid #343a40;background:#0c0f12;border-radius:10px;padding:11px}
.game-dungeon-live-art{width:116px;height:116px;object-fit:cover;border-radius:9px;border:1px solid #65502d;animation:dungeonEnemyPulse 2.4s ease-in-out infinite}
.game-dungeon-live-enemy small{display:block;color:#e3b75c;font-size:12px;font-weight:900;letter-spacing:.08em}
.game-dungeon-live-enemy h3{margin:3px 0;font-size:21px}
.game-dungeon-event-feed{border:1px solid #30373c;background:#090c0e;border-radius:10px;padding:12px;display:flex;flex-direction:column;justify-content:center;gap:8px;min-height:140px}
.game-dungeon-event-feed span{display:block;border-left:3px solid #6f8fb0;padding:7px 9px;background:#10151a;color:#dce5eb;font-size:14px;line-height:1.45;animation:dungeonFeedIn .28s ease-out}
.game-dungeon-event-feed span:last-child{border-left-color:#e0b657;color:#f0dca7}
.game-dungeon-live-note{margin:11px 2px 0!important;color:#8f979d!important;font-size:13px!important}
@keyframes dungeonEnemyPulse{0%,100%{transform:scale(1);filter:brightness(.95)}50%{transform:scale(1.025);filter:brightness(1.09)}}
@keyframes dungeonFeedIn{from{opacity:.2;transform:translateY(3px)}to{opacity:1;transform:none}}
@media(max-width:900px){.game-sidebar{position:static;max-height:none;overflow:visible;scrollbar-gutter:auto}.game-sidebar .game-save-link{position:static;box-shadow:none}}
@media(max-width:760px){.game-dungeon-live-body{grid-template-columns:1fr}.game-dungeon-live-enemy{grid-template-columns:88px 1fr}.game-dungeon-live-art{width:88px;height:88px}.game-dungeon-run-head{align-items:flex-start}.game-dungeon-run-percent{font-size:23px}}
@media(prefers-reduced-motion:reduce){.game-dungeon-live-art,.game-dungeon-event-feed span{animation:none!important}.game-dungeon-run-bar i,.game-xp-bar i{transition:none!important}}

/* 3.09.2 LIVE ACTION MASTERY + STOP REASONS */
.game-mastery-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;align-items:center}
.game-mastery-row>span{color:#cfc4eb;font-weight:800;font-size:13px}
.game-mastery-row>span b{color:#d4a8ff}.game-mastery-row>span em{font-style:normal;color:#9fd4ff;font-weight:900}
.game-mastery-row>small{color:#8fa0ad;font-size:11px;text-align:right}
.game-mastery-row>i{grid-column:1/-1;display:block;height:7px;background:#24202d;border:1px solid #3f3450;border-radius:999px;overflow:hidden}
.game-mastery-row>i>b{display:block;height:100%;background:linear-gradient(90deg,#6950a0,#b780e8,#7cbff1);transition:width .35s ease}
.game-mastery-pool [data-live-mastery-pool-bar]{transition:width .35s ease}
.game-stop-reason{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:0 0 16px;padding:14px 16px;border:1px solid #7a3f3f;border-radius:10px;background:linear-gradient(135deg,#211010,#111417);box-shadow:inset 4px 0 #bd5b5b}
.game-stop-reason small{display:block;color:#d98d8d;font-size:11px;font-weight:900;letter-spacing:.11em}
.game-stop-reason h3{margin:2px 0 4px;color:#ffd0d0;font-size:18px}.game-stop-reason p{margin:0;color:#e5e8ea;font-size:15px}
.game-stop-reason>span{flex:0 0 auto;border:1px solid #744747;background:#2a1414;color:#ffb5b5;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900}
.game-stop-reason.dungeon{border-color:#70522d;background:linear-gradient(135deg,#21190f,#111417);box-shadow:inset 4px 0 #c08b40}.game-stop-reason.dungeon small{color:#d8ae6b}.game-stop-reason.dungeon h3{color:#ffe2a8}.game-stop-reason.dungeon>span{border-color:#785e35;background:#261d10;color:#f4cc81}
@media(max-width:640px){.game-stop-reason{align-items:flex-start;flex-direction:column}.game-mastery-row{grid-template-columns:1fr}.game-mastery-row>small{text-align:left}.game-mastery-row>i{grid-column:1}}

/* 3.10 CRAFTING, RECIPE BOOK, CLEAN NAVIGATION + FIXED GEAR INSPECTOR */
.game-tabs{display:block!important}
.game-nav-group{border:1px solid #252d32;border-radius:8px;background:#0c1012;margin-bottom:7px;overflow:hidden}
.game-nav-group-toggle{width:100%;border:0;background:#11171b;color:#cbd5da;padding:9px 10px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;font-weight:950;letter-spacing:.055em;text-align:left;cursor:pointer}
.game-nav-group-toggle:hover,.game-nav-group.open>.game-nav-group-toggle{background:#172027;color:#f1d27f}
.game-nav-group-toggle b{font-size:17px;color:#d6aa52;line-height:1}
.game-nav-group-body{display:none;padding:5px;gap:3px}
.game-nav-group.open .game-nav-group-body{display:grid}
.game-nav-group .game-tab{min-height:42px;padding:8px 9px}
.game-nav-group .game-tab i{width:28px;height:28px;display:grid;place-items:center;flex:0 0 28px}
.game-nav-group .game-tab-name{font-size:13px}
.game-nav-group .game-tab>b{font-size:11px}

.game-inspect-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,390px);gap:16px;align-items:start}
.game-inspect-main{min-width:0}
.game-gear-inspector{position:sticky;top:78px;max-height:calc(100vh - 94px);overflow:auto;overscroll-behavior:contain;border:1px solid #3a4c58;border-radius:11px;background:#090d10;box-shadow:0 18px 42px rgba(0,0,0,.28);scrollbar-width:thin;scrollbar-color:#566875 #0b1014}
.game-inspector-kicker{position:sticky;top:0;z-index:2;padding:9px 12px;border-bottom:1px solid #2c3c46;background:#111a20;color:#86b9d7;font-size:10px;font-weight:950;letter-spacing:.1em}
.game-inspector-empty{padding:18px;min-height:220px;display:flex;flex-direction:column;justify-content:center;gap:8px;text-align:center}
.game-inspector-empty b{color:#f0d181;font-size:15px}.game-inspector-empty p{margin:0;color:#c2cbd0;font-size:14px;line-height:1.5}.game-inspector-empty small{color:#7f909a;line-height:1.45}
.game-gear-inspector .gear-tip-head{border-radius:0}.game-gear-inspector .gear-tip-note{padding-bottom:16px}

.game-recipe-book{margin-bottom:20px;padding:16px;border:1px solid #574729;border-radius:12px;background:linear-gradient(145deg,#14120d,#0b0f12 58%,#10161a)}
.game-recipe-book>.game-panel-head{align-items:center;margin-bottom:12px}.game-recipe-book>.game-panel-head h3{margin:2px 0 5px;font-size:25px;color:#f1d486}.game-recipe-book>.game-panel-head p{max-width:820px;color:#b8c1c6;font-size:14px;line-height:1.5}
.game-recipe-summary{flex:0 0 auto;min-width:150px;padding:10px 13px;border:1px solid #574729;border-radius:9px;background:#0d1113;text-align:center}.game-recipe-summary b{display:block;color:#f0cc73;font-size:24px}.game-recipe-summary span,.game-recipe-summary small{display:block;color:#a9b3b9}.game-recipe-summary small{font-size:10px;margin-top:2px}
.game-recipe-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0 0 15px}.game-recipe-flow span{padding:8px 9px;border:1px solid #344149;border-radius:7px;background:#11171b;color:#bdc8ce;font-size:12px;text-align:center;font-weight:800}
.game-recipe-group{margin-top:14px}.game-recipe-group-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid #323b41}.game-recipe-group-head h4{margin:0;color:#e6c87d;font-size:17px}.game-recipe-group-head span{color:#87959d;font-size:11px}
.game-recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.game-recipe-card{position:relative;border:1px solid #343d43;border-radius:9px;background:#0d1114;padding:11px;display:grid;gap:8px;min-width:0}.game-recipe-card.locked{border-style:dashed;background:#0a0d0f}.game-recipe-card.known{box-shadow:inset 3px 0 rgba(79,174,112,.38)}
.game-recipe-art{height:116px;border:1px solid #2d363c;border-radius:7px;overflow:hidden;background:#080b0d}.game-recipe-item-art{width:100%;height:100%;object-fit:cover}.game-recipe-title h3{font-size:15px;margin:4px 0 2px}.game-recipe-title small{color:#87969e}
.game-recipe-status{width:max-content;max-width:100%;padding:4px 7px;border-radius:999px;font-size:10px;font-weight:950;letter-spacing:.04em}.game-recipe-status.known{border:1px solid #386d4b;background:#0f1d14;color:#78db99}.game-recipe-status.locked{border:1px solid #76532f;background:#21170d;color:#efc273}
.game-recipe-card p{margin:0;color:#b9c3c8;font-size:12px;line-height:1.45}.game-recipe-card p b{color:#e6ca83}.game-recipe-source span{color:#d09b65}.game-recipe-owned{font-size:11px;color:#8e9ba2}.game-recipe-owned em{color:#76d394;font-style:normal;font-weight:900}
.game-recipe-gate{padding:7px 9px;border-radius:7px;font-size:11px;line-height:1.4}.game-recipe-gate.locked{border:1px solid #62472d;background:#1b130d;color:#e8b970}.game-recipe-gate.known{border:1px solid #315f43;background:#0d1911;color:#76d394}

.game-bank-organizer:before{content:"BANK = STORAGE ONLY · EQUIPPED GEAR IS ON YOUR CHARACTER";display:block;margin:0 0 9px;padding:7px 9px;border-left:3px solid #6c9bb7;background:#10171b;color:#9bc8e0;font-size:10px;font-weight:950;letter-spacing:.055em}

@media(max-width:1280px){.game-inspect-layout{grid-template-columns:1fr}.game-gear-inspector{position:static;max-height:none;order:-1}.game-inspector-empty{min-height:110px}.game-recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.game-nav-group-body{grid-template-columns:repeat(2,minmax(0,1fr))}.game-nav-group .game-tab{flex-direction:row;text-align:left;justify-content:flex-start;font-size:12px}.game-nav-group .game-tab span{margin:0}.game-recipe-flow{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.game-nav-group-body,.game-recipe-grid,.game-recipe-flow{grid-template-columns:1fr}.game-recipe-book{padding:11px}.game-recipe-book>.game-panel-head{align-items:flex-start}.game-recipe-summary{width:100%}.game-recipe-art{height:150px}}


/* LAYOUT REPAIR — CURSOR TOOLTIP, COMPACT RECIPES, NO-CROP ART */
.game-inspect-layout{display:block!important}.game-inspect-main{min-width:0}.game-gear-inspector{display:none!important}

/* Crown & Ember artwork: fit the full source image instead of cropping heads/details. */
.game-shell img{object-fit:contain!important;object-position:center center!important}
.game-set-card>img{aspect-ratio:4/3!important;height:auto!important;background:radial-gradient(circle at 50% 38%,#1b2024,#090c0e 72%);padding:4px}
.game-active-sets img,.game-class-art,.game-respec-class-art,.game-avatar-portrait{background:#090c0e}
.game-action-icon,.game-skill-scene,.game-monster-icon,.game-quest-icon,.game-item-icon{background:#090c0e}

/* Armor / gear recipes use compact accordion categories instead of oversized image cards. */
.game-recipe-book.compact-recipes{padding:15px}
.game-recipe-book.compact-recipes .game-recipe-group{margin:8px 0;border:1px solid #333d43;border-radius:9px;background:#0c1013;overflow:hidden}
.game-recipe-book.compact-recipes .game-recipe-group>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;cursor:pointer;background:#11171b;color:#d8e0e4}
.game-recipe-book.compact-recipes .game-recipe-group>summary::-webkit-details-marker{display:none}
.game-recipe-book.compact-recipes .game-recipe-group>summary:after{content:'+';margin-left:8px;color:#d6aa52;font-size:20px;font-weight:900;line-height:1}
.game-recipe-book.compact-recipes .game-recipe-group[open]>summary:after{content:'−'}
.game-recipe-book.compact-recipes .game-recipe-group>summary span{display:flex;align-items:baseline;gap:9px;min-width:0}
.game-recipe-book.compact-recipes .game-recipe-group>summary b{color:#efcf7c;font-size:15px}
.game-recipe-book.compact-recipes .game-recipe-group>summary small{color:#83919a;font-size:11px}
.game-recipe-book.compact-recipes .game-recipe-group>summary em{margin-left:auto;color:#87b89a;font-style:normal;font-size:11px;font-weight:900;white-space:nowrap}
.game-recipe-list{display:grid;gap:7px;padding:9px;border-top:1px solid #283137}
.game-recipe-row{display:grid;grid-template-columns:minmax(220px,1.15fr) minmax(260px,1.6fr) auto;gap:12px;align-items:center;padding:9px 10px;border:1px solid #2d363c;border-radius:8px;background:#090d10;min-width:0}
.game-recipe-row.known{box-shadow:inset 3px 0 rgba(79,174,112,.38)}.game-recipe-row.locked{border-style:dashed}
.game-recipe-row-title{display:flex;align-items:center;gap:8px;min-width:0}.game-recipe-row-title h3{margin:0 0 2px;font-size:14px;overflow-wrap:anywhere}.game-recipe-row-title small{color:#84929a;font-size:10px}
.game-recipe-row-meta{display:grid;gap:2px;color:#aeb9bf;font-size:11px;line-height:1.35;min-width:0}.game-recipe-row-meta b{color:#e2c47d}.game-recipe-row-meta small{color:#8e9aa1;overflow-wrap:anywhere}
.game-recipe-row-end{display:grid;grid-template-columns:auto auto;gap:5px 8px;align-items:center;justify-items:end}.game-recipe-row-end .btn{grid-column:1/-1;width:100%;min-width:120px}.game-recipe-row-end .game-recipe-status{white-space:nowrap}.game-recipe-row-end .game-recipe-owned{white-space:nowrap}
.game-recipe-book.compact-recipes .game-recipe-art{display:none!important}
@media(max-width:980px){.game-recipe-row{grid-template-columns:1fr}.game-recipe-row-end{grid-template-columns:1fr auto;justify-items:start}.game-recipe-row-end .btn{grid-column:1/-1;width:auto}.game-recipe-book.compact-recipes .game-recipe-group>summary{align-items:flex-start}.game-recipe-book.compact-recipes .game-recipe-group>summary span{display:grid;gap:2px}}


/* ARMOR SET PORTRAIT REPAIR */
/* Square source art should render as square portrait panels so heads and full characters stay visible. */
.game-set-card>img{aspect-ratio:1/1!important;width:100%;height:auto!important;object-fit:contain!important;object-position:center top!important;padding:8px 8px 0!important;background:radial-gradient(circle at 50% 24%,#1f252a,#090c0e 74%)!important}
.game-active-sets img{object-fit:contain!important;object-position:center top!important;background:radial-gradient(circle at 50% 24%,#1a1f24,#090c0e 74%)!important}
.game-loot-monster-art,.game-loot-item-art,.game-slayer-shop-card .game-item-art{object-fit:contain!important;object-position:center center!important;background:#090c0e}


/* LIVE COMBAT LAYOUT REPAIR */
/* Keep the active fight compact. Enemy art must never expand to the full content width. */
.game-encounter-live{
  display:grid!important;
  grid-template-columns:minmax(180px,1fr) auto minmax(180px,1fr)!important;
  gap:14px 22px!important;
  align-items:center!important;
  margin:16px 0 18px!important;
  padding:16px!important;
  border:1px solid #56472f!important;
  border-radius:11px!important;
  background:linear-gradient(145deg,#15130f,#0b0e10)!important;
  overflow:hidden!important;
}
.game-encounter-side{
  min-width:0;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  text-align:center!important;
}
.game-encounter-side>.game-enemy-portrait{
  width:220px!important;
  max-width:100%!important;
  height:220px!important;
  aspect-ratio:1/1!important;
  object-fit:contain!important;
  object-position:center center!important;
  border:1px solid #6f5930!important;
  border-radius:14px!important;
  padding:5px!important;
  background:radial-gradient(circle at 50% 38%,#1d2022,#08090b 74%)!important;
  box-shadow:0 12px 35px rgba(0,0,0,.28)!important;
}
.game-encounter-side>.game-avatar-real.battle{width:220px;max-width:100%}
.game-encounter-side>.game-avatar-real.battle .game-avatar-frame{width:165px!important;max-width:100%;height:220px!important;aspect-ratio:auto!important}
.game-encounter-side>b{display:block;color:#f1f3f4;font-size:16px;margin-top:2px}
.game-encounter-live>.game-versus{align-self:center;justify-self:center;min-width:58px;text-align:center}

/* HP text and the actual fill bar are separate so neither clips the other. */
.game-live-hp{
  width:220px!important;
  max-width:100%!important;
  height:auto!important;
  margin-top:2px!important;
  border:0!important;
  border-radius:0!important;
  background:none!important;
  overflow:visible!important;
}
.game-live-hp>span{display:block!important;margin-bottom:5px!important;font-size:12px!important;line-height:1.2!important;color:var(--ui-stat)!important}
.game-live-hp>i{
  display:block!important;
  width:100%!important;
  height:9px!important;
  border-radius:999px!important;
  overflow:hidden!important;
  border:1px solid #4a2929!important;
  background:#251010!important;
}
.game-live-hp>i>b{
  display:block!important;
  height:100%!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,#8e2d2d,#d85a52)!important;
}
.game-live-hp.enemy>i>b{background:linear-gradient(90deg,#6e2e2e,#b64040)!important}

/* Prevent combat labels from running together. */
.game-encounter-meta{
  grid-column:1/-1!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:8px 20px!important;
  padding-top:11px!important;
  border-top:1px solid #343a3e!important;
  color:#aab2b7!important;
  font-size:13px!important;
}
.game-encounter-meta>span{display:inline-flex!important;align-items:baseline!important;gap:5px!important;white-space:nowrap!important}
.game-encounter-meta>span>b{display:inline!important;margin:0!important;color:var(--ui-stat)!important}
.game-encounter-meta>.game-status-row{flex:1 0 100%!important;margin:2px 0 0!important}
.game-encounter-live>.game-combat-log{grid-column:1/-1!important;width:100%!important;margin:0!important}

/* Normal monster cards: keep each stat label/value readable in narrow columns. */
.game-monster-stats.advanced{display:grid!important;grid-template-columns:repeat(3,minmax(72px,1fr))!important;column-gap:12px!important;row-gap:6px!important}
.game-monster-stats.advanced>span{display:flex!important;gap:5px!important;align-items:baseline!important;min-width:0!important}
.game-monster-stats.advanced>span>b{display:inline!important;margin:0!important}

@media(max-width:800px){
  .game-encounter-live{grid-template-columns:1fr auto 1fr!important;gap:12px!important;padding:12px!important}
  .game-encounter-side>.game-enemy-portrait{width:170px!important;height:170px!important}
  .game-encounter-side>.game-avatar-real.battle{width:170px}
  .game-encounter-side>.game-avatar-real.battle .game-avatar-frame{width:128px!important;height:170px!important}
  .game-live-hp{width:170px!important}
}
@media(max-width:560px){
  .game-encounter-live{grid-template-columns:1fr!important}
  .game-encounter-live>.game-versus{order:2}
  .game-encounter-side:first-child{order:1}.game-encounter-side:nth-of-type(2){order:3}
  .game-encounter-meta{order:4}.game-encounter-live>.game-combat-log{order:5}
  .game-encounter-side>.game-enemy-portrait{width:210px!important;height:210px!important}
  .game-live-hp{width:210px!important}
  .game-monster-stats.advanced{grid-template-columns:repeat(2,minmax(72px,1fr))!important}
}


/* LIVE COMBAT INFO PANEL REPAIR */
.game-encounter-live{display:grid!important;grid-template-columns:minmax(360px,540px) minmax(280px,1fr)!important;gap:18px!important;align-items:stretch!important}
.game-encounter-stage{display:grid;grid-template-columns:minmax(160px,1fr) auto minmax(160px,1fr);gap:14px 22px;align-items:center;justify-items:center;min-width:0}
.game-encounter-panel{min-width:0;display:grid;grid-template-rows:auto auto 1fr;gap:10px;padding:12px 14px;border:1px solid #374149;border-radius:10px;background:linear-gradient(180deg,#101418,#0a0d10)}
.game-encounter-panel-head b{display:block;color:#efca72;font-size:14px;letter-spacing:.08em}
.game-encounter-panel-head small{display:block;color:#95a0a6;line-height:1.45;margin-top:4px}
.game-encounter-panel .game-encounter-meta{grid-column:auto!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important;padding-top:0!important;border-top:0!important}
.game-encounter-panel .game-encounter-meta>span{display:grid!important;gap:2px!important;white-space:normal!important;padding:8px 9px;border:1px solid #30373c;border-radius:8px;background:#0b0f12}
.game-encounter-panel .game-encounter-meta>span b{font-size:18px;line-height:1.1}
.game-encounter-panel .game-status-row{display:flex;flex-wrap:wrap;gap:7px;padding:8px 0 0;margin:0!important;border-top:1px solid #283036;grid-column:1/-1}
.game-status-empty{color:#8f989e;font-size:12px}
.game-encounter-panel .game-combat-log{border-top:1px solid #30373c;padding-top:10px;max-height:360px;overflow:auto;align-content:start}
.game-encounter-panel .game-combat-log span{display:block;padding:7px 8px;border:1px solid #283036;border-radius:7px;background:#0b0f12;color:#c7cdd1;line-height:1.4}
.game-encounter-panel .game-combat-log span+span{margin-top:6px}
@media(max-width:1050px){.game-encounter-live{grid-template-columns:1fr!important}.game-encounter-panel .game-encounter-meta{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.game-encounter-stage{grid-template-columns:1fr!important}.game-encounter-stage>.game-versus{order:2}.game-encounter-stage>.game-encounter-side:first-child{order:1}.game-encounter-stage>.game-encounter-side:nth-of-type(2){order:3}.game-encounter-panel .game-encounter-meta{grid-template-columns:1fr}.game-encounter-panel .game-combat-log{max-height:260px}}


/* ARMOR CARD ART ASSET REPAIR */
/* Rebuilt the armor progression art assets so full characters fit the square card cleanly. */
.game-set-card{display:flex;flex-direction:column}
.game-set-card>img{display:block!important;width:100%!important;aspect-ratio:1/1!important;height:auto!important;object-fit:cover!important;object-position:center center!important;padding:0!important;box-sizing:border-box!important;background:#090c0e!important;border-bottom:1px solid color-mix(in srgb,var(--rarity) 55%,#34393d)!important}
.game-set-card-copy{flex:1 1 auto}


/* FULL-WIDTH LIVE COMBAT STAGE REPAIR */
/* Make the active combat encounter use the full available area instead of bunching up on the left. */
.game-encounter-live{
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.35fr) minmax(340px,.95fr)!important;
  gap:18px!important;
  align-items:stretch!important;
}
.game-encounter-stage,
.game-encounter-panel{
  width:100%!important;
  min-width:0!important;
  align-self:stretch!important;
}
.game-encounter-stage{
  display:grid!important;
  grid-template-columns:minmax(220px,1fr) 96px minmax(220px,1fr)!important;
  gap:18px!important;
  align-items:center!important;
  justify-items:stretch!important;
  padding:14px!important;
  border:1px solid #374149!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,#101418,#0a0d10)!important;
}
.game-encounter-stage>.game-encounter-side{
  width:100%!important;
  align-self:stretch!important;
}
.game-encounter-side{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  text-align:center!important;
}
.game-encounter-side>.game-avatar-real.battle,
.game-encounter-side>.game-enemy-portrait{
  width:220px!important;
  max-width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.game-encounter-side>.game-avatar-real.battle .game-avatar-frame{
  margin-left:auto!important;
  margin-right:auto!important;
}
.game-encounter-stage>.game-versus{
  display:grid!important;
  place-items:center!important;
  align-self:center!important;
  justify-self:center!important;
  min-width:96px!important;
  text-align:center!important;
}
.game-encounter-panel{
  display:grid!important;
  grid-template-rows:auto auto 1fr!important;
}
.game-encounter-panel .game-combat-log{
  max-height:none!important;
  min-height:280px!important;
}
@media(max-width:1200px){
  .game-encounter-live{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr)!important}
  .game-encounter-stage{grid-template-columns:minmax(180px,1fr) 82px minmax(180px,1fr)!important}
}
@media(max-width:980px){
  .game-encounter-live{grid-template-columns:1fr!important}
}
@media(max-width:700px){
  .game-encounter-stage{grid-template-columns:1fr!important}
  .game-encounter-stage>.game-versus{order:2}
  .game-encounter-stage>.game-encounter-side:first-child{order:1}
  .game-encounter-stage>.game-encounter-side:nth-of-type(2){order:3}
}


/* WIDE PROFESSIONAL COMBAT LAYOUT */
/* The encounter markup is corrected: player, VS and enemy are true siblings. */
.game-encounter-live{
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(600px,1.55fr) minmax(360px,.85fr)!important;
  gap:16px!important;
  align-items:stretch!important;
  padding:14px!important;
}
.game-encounter-stage{
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:minmax(220px,1fr) 82px minmax(220px,1fr)!important;
  gap:14px!important;
  align-items:center!important;
  justify-items:center!important;
  padding:14px 18px!important;
}
.game-encounter-side{
  width:100%!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
}
.game-encounter-side>.game-avatar-real.battle,
.game-encounter-side>.game-enemy-portrait{width:230px!important;max-width:100%!important}
.game-encounter-stage>.game-versus{width:82px!important;min-width:82px!important;align-self:center!important;justify-self:center!important}
.game-encounter-panel{
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-rows:auto auto minmax(0,1fr)!important;
  padding:14px!important;
}
.game-encounter-panel .game-combat-log{min-height:0!important;max-height:360px!important;overflow:auto!important}

/* Auto Eat and Potion should share one row instead of making the page longer. */
.game-combat-support-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:10px 0 14px}
.game-combat-support-grid .game-combat-control{margin:0!important;min-height:82px!important}
.game-combat-support-grid .game-potion-row{justify-content:flex-end!important}

/* Keep combat style controls wide, even and compact. */
.game-combat-control.vertical{padding:13px 14px!important}
.game-style-row-compact{margin:10px 0!important}
.game-style-row,.game-attack-style-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.game-style-btn,.game-attack-style{min-height:86px!important}

/* Wider monster cards stop Accuracy / DR / Kills from colliding. */
.game-monster-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.game-monster{grid-template-columns:96px minmax(0,1fr) 112px!important;gap:13px!important;align-items:center!important;min-width:0!important}
.game-monster-icon{width:96px!important;height:96px!important}
.game-monster-copy{min-width:0!important}
.game-monster-stats.advanced{grid-template-columns:repeat(3,minmax(105px,1fr))!important;gap:6px 14px!important}
.game-monster-stats.advanced>span{justify-content:space-between!important;gap:8px!important;white-space:nowrap!important}
.game-monster>.btn{width:112px!important;min-width:112px!important;white-space:normal!important}

@media(max-width:1250px){
  .game-encounter-live{grid-template-columns:minmax(520px,1.35fr) minmax(330px,.85fr)!important}
  .game-encounter-side>.game-avatar-real.battle,.game-encounter-side>.game-enemy-portrait{width:205px!important}
  .game-monster-grid{grid-template-columns:1fr!important}
}
@media(max-width:980px){
  .game-encounter-live{grid-template-columns:1fr!important}
  .game-combat-support-grid{grid-template-columns:1fr!important}
}
@media(max-width:720px){
  .game-encounter-stage{grid-template-columns:1fr!important}
  .game-encounter-stage>.game-versus{order:2}
  .game-encounter-side.player{order:1}.game-encounter-side.enemy{order:3}
  .game-monster{grid-template-columns:82px minmax(0,1fr)!important}
  .game-monster>.btn{grid-column:1/-1;width:100%!important}
  .game-monster-stats.advanced{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* COMBAT STYLE ICON ALIGNMENT FIX */
.game-style-btn{align-items:center!important;grid-template-columns:42px minmax(0,1fr)!important;column-gap:12px!important}
.game-style-btn>span{
  grid-row:1 / span 2!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  min-height:36px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  justify-self:center!important;
  padding:0!important;
  margin:0!important;
  line-height:1!important;
  text-indent:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.game-style-btn b,.game-style-btn small{min-width:0!important}


/* STICKY NAV + READABILITY + REPUTATION UX */
/* Keep the left game navigation visible while the main page scrolls. */
.game-section,.game-section>.wrap,.game-layout{overflow:visible!important}
.game-sidebar{
  position:sticky!important;
  top:88px!important;
  align-self:start!important;
  z-index:24!important;
  max-height:calc(100vh - 104px)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  height:max-content!important;
}

/* Slightly larger helpful/supporting text throughout Crown & Ember. */
.game-shell small{font-size:12px!important;line-height:1.48!important}
.game-shell .game-panel-head p,.game-shell .game-world-description,.game-shell .game-system-note,.game-shell .game-auth-note,.game-shell .game-reqs,.game-shell .game-gives{font-size:13px!important;line-height:1.52!important}
.game-tooltip{font-size:13px!important;line-height:1.5!important}
.game-shell .gear-tip-note,.game-shell .game-world-detail small,.game-shell .game-contract small{font-size:12px!important;line-height:1.48!important}
.game-rep-rank-guide{display:block;margin-top:7px;color:#d8bd79!important;font-weight:800;letter-spacing:.025em}
@media(max-width:900px){.game-sidebar{position:static!important;max-height:none!important;overflow:visible!important}}

/* LEARNED ABILITY PROGRESSION + HELP HANDBOOK */
.game-help-nav{width:100%;margin-top:9px;border:1px solid #66522d!important;background:linear-gradient(145deg,#17130c,#0d1012)!important}
.game-help-nav.active{border-color:#d6aa52!important;background:linear-gradient(145deg,#2a200f,#111519)!important}
.game-ability-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-top:22px;margin-bottom:10px}
.game-ability-section-head .game-subhead{margin:0 0 4px}.game-ability-section-head p{margin:0;color:#aab3b8;font-size:14px;line-height:1.5;max-width:900px}.game-ability-section-head>b{color:#f0d181;border:1px solid #66522d;background:#15120c;border-radius:999px;padding:7px 10px;white-space:nowrap;font-size:12px}
.game-ability-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.game-ability.ability-progression{display:grid!important;grid-template-columns:54px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;min-height:118px!important;padding:11px!important}
.game-ability.ability-progression.equipped{border-color:#d1a54c;background:linear-gradient(145deg,#17140d,#0c1210);box-shadow:inset 3px 0 #d1a54c}.game-ability.ability-progression.dormant{border-color:#7b5536;opacity:.84}
.game-ability-copy{min-width:0}.game-ability-copy>b,.game-ability-copy>small,.game-ability-copy>span,.game-ability-copy>em{display:block}.game-ability-copy>b{font-size:17px}.game-ability-copy>small{font-size:11px!important;letter-spacing:.055em;margin-top:2px}.game-ability-copy>span{color:#b8c2c7;font-size:13px;margin-top:5px}.game-ability-copy>em{font-style:normal;color:#94a0a7;font-size:12px;line-height:1.4;margin-top:5px}
.game-ability-mastery{height:7px;margin-top:6px;border-radius:999px;background:#242a2f;overflow:hidden}.game-ability-mastery i{display:block;height:100%;background:linear-gradient(90deg,#7b5b21,#dfb452)}
.game-ability.ability-progression>.game-mini-btn{min-width:92px}

.game-help-index{position:sticky;top:76px;z-index:5;display:flex;gap:7px;flex-wrap:wrap;margin:0 0 18px;padding:10px;border:1px solid #3a4248;border-radius:10px;background:rgba(10,13,15,.96);backdrop-filter:blur(8px)}
.game-help-index a{color:#d6dee2;text-decoration:none;border:1px solid #414b52;background:#11171b;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800}.game-help-index a:hover{border-color:#d3aa54;color:#f2d27c;background:#1b160d}
.game-help-section{scroll-margin-top:140px;margin:0 0 22px;padding:17px;border:1px solid #343c42;border-radius:11px;background:linear-gradient(145deg,#101417,#090c0e)}.game-help-section>h2{margin:0 0 12px;color:#f0d181;font-size:23px}.game-help-intro{color:#b8c1c6;font-size:14px;line-height:1.55}
.game-help-copy{display:grid;gap:8px}.game-help-copy p{margin:0;color:#c4ccd0;font-size:14px;line-height:1.6}.game-help-copy b{color:#edd080}
.game-help-callout{margin:0 0 12px;border-left:4px solid #d6aa52;padding:11px 13px;background:#151209;color:#c6cdd1;font-size:14px;line-height:1.55}.game-help-callout b{color:#f0d181}
.game-help-subsection{margin-top:16px}.game-help-subsection>h3{margin:0 0 9px;color:#d9bd75;font-size:18px}
.game-help-skill-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.game-help-card{border:1px solid #343c42;border-radius:9px;background:#0b0f12;padding:11px;display:grid;gap:8px;align-content:start}.game-help-card-head{display:flex;gap:10px;align-items:center}.game-help-skill-art{width:54px;height:54px;object-fit:contain;border:1px solid #54452a;border-radius:8px;background:#0a0d0f}.game-help-card h4{margin:0;color:#eef1f2;font-size:17px}.game-help-card-head span{color:#9da8ae;font-size:12px}.game-help-card p{margin:0;color:#bdc5c9;font-size:13px;line-height:1.5}.game-help-card small{color:#98a3a9;font-size:12px;line-height:1.45}.game-help-card strong{color:#83d49a;font-size:11px;letter-spacing:.04em}.game-help-card .game-mini-btn{margin-top:auto;width:max-content;max-width:100%}
.game-help-items{margin-top:8px;border:1px solid #343c42;border-radius:9px;background:#0b0f12;overflow:hidden}.game-help-items>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:12px;padding:11px 13px;background:#11171b}.game-help-items>summary::-webkit-details-marker{display:none}.game-help-items>summary b{color:#e6c676;font-size:15px}.game-help-items>summary span{color:#8e999f;font-size:12px}.game-help-items>summary:after{content:'+';color:#d6aa52;font-weight:900}.game-help-items[open]>summary:after{content:'−'}
.game-help-item-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:9px;border-top:1px solid #2d353a}.game-help-item{border:1px solid #2f373c;border-radius:8px;background:#090d10;padding:9px}.game-help-item>div{display:flex;align-items:center;gap:9px}.game-help-item b,.game-help-item small{display:block}.game-help-item b{font-size:14px}.game-help-item small{font-size:11px!important;color:#87939a}.game-help-item p{margin:8px 0 0;color:#b7c0c5;font-size:12px;line-height:1.5}
.game-help-system-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.game-help-system-grid article{border:1px solid #333b40;border-radius:8px;background:#0b0f12;padding:10px}.game-help-system-grid b,.game-help-system-grid span{display:block}.game-help-system-grid b{color:#e8ca7e;font-size:14px}.game-help-system-grid span{color:#aeb8bd;font-size:12px;line-height:1.5;margin-top:3px}
@media(max-width:1100px){.game-help-skill-grid,.game-help-system-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.game-ability-grid,.game-help-skill-grid,.game-help-item-grid,.game-help-system-grid{grid-template-columns:1fr!important}.game-ability.ability-progression{grid-template-columns:54px minmax(0,1fr)!important}.game-ability.ability-progression>.game-mini-btn{grid-column:1/-1;width:100%}.game-ability-section-head{align-items:flex-start;flex-direction:column}.game-help-index{position:static}.game-help-section{padding:12px}}

/* ABILITY OWNERSHIP CLARITY + BANK REQUIREMENT TOOLTIPS */
.game-ability-empty{border:1px dashed #465159;background:#0b0f12;border-radius:10px;padding:18px;margin-bottom:12px;display:grid;gap:5px}.game-ability-empty b{color:#e8ca79;letter-spacing:.06em}.game-ability-empty span{color:#aab4ba;font-size:14px;line-height:1.5}
.game-ability-discovery-box{margin:14px 0 22px;border:1px solid #3a444b;border-radius:10px;background:#0a0d10;overflow:hidden}.game-ability-discovery-box>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 15px;background:linear-gradient(180deg,#12171b,#0d1114)}.game-ability-discovery-box>summary::-webkit-details-marker{display:none}.game-ability-discovery-box>summary span{display:grid;gap:3px}.game-ability-discovery-box>summary b{color:#e3c476;font-size:14px;letter-spacing:.06em}.game-ability-discovery-box>summary small{color:#96a1a7;font-size:13px}.game-ability-discovery-box>summary em{font-style:normal;color:#c0c8cc;font-size:12px;white-space:nowrap}.game-ability-discovery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}.game-ability-discovery{border:1px solid #303940;background:#0d1114;border-radius:9px;padding:10px;display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px;align-items:start}.game-ability-discovery>div{min-width:0;display:grid;gap:3px}.game-ability-discovery b{font-size:15px;color:#e5e8ea}.game-ability-discovery small{font-size:11px;color:#9da8ae}.game-ability-discovery span{font-size:13px;line-height:1.4;color:#bac3c8}.game-ability-discovery em{font-style:normal;font-size:12px;line-height:1.45;color:#d5b96d;margin-top:3px}.game-ability-discovery em strong{color:#f0d181}.game-reqs em,.game-recipe-row-meta em{font-style:normal;color:#d8bd72;font-size:.92em}
@media(max-width:760px){.game-ability-discovery-grid{grid-template-columns:1fr}.game-ability-discovery-box>summary{align-items:flex-start;flex-direction:column}.game-ability-discovery-box>summary em{white-space:normal}}

/* CLASS TRAINING CLARITY + UNIQUE ARMOR SET ART */
.game-class-training-guide{margin:16px 0 22px;padding:15px;border:1px solid #514329;border-radius:11px;background:linear-gradient(145deg,#15130e,#0b0e10);box-shadow:inset 0 0 28px rgba(214,170,82,.035)}
.game-class-training-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:12px}
.game-class-training-head h3{margin:2px 0 5px;font-size:20px;color:#f0d181}.game-class-training-head p{margin:0;color:#aab2b7;line-height:1.5;max-width:850px}
.game-class-training-head>span{white-space:nowrap;border:1px solid #3b4146;border-radius:999px;background:#0b0e10;padding:7px 10px;color:#9da6ab;font-size:12px}.game-class-training-head>span b{color:#efca72}
.game-class-training-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.game-class-training-grid article{min-width:0;border:1px solid #32393e;border-radius:8px;background:#0b0e10;padding:9px 10px;display:grid;gap:3px}.game-class-training-grid small{color:#78858c;font-size:9px;letter-spacing:.1em}.game-class-training-grid strong{font-size:16px;color:#f1f3f4}.game-class-training-grid span{font-size:11px;color:#c5cbce}.game-class-training-grid span b{color:#e5c46f}.game-class-training-grid em{font-style:normal;color:#89949a;font-size:10px;line-height:1.35}.game-class-ability-path{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px;padding-top:10px;border-top:1px solid #2e3438;font-size:12px}.game-class-ability-path b{color:#efca72}.game-class-ability-path span{color:#b9c0c4}
.game-set-card>img{image-rendering:auto!important;filter:saturate(1.05) contrast(1.03)}
@media(max-width:1100px){.game-class-training-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.game-class-training-head{display:grid}.game-class-training-head>span{white-space:normal}.game-class-training-grid{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.game-class-training-grid{grid-template-columns:1fr}}


/* CONTAINED RPG DASHBOARD UI
   Turns Crown & Ember from a long webpage into a fixed-height game workspace. */
body.game-authenticated .game-hero{display:none!important}
body.game-authenticated .game-section{padding-top:12px!important;padding-bottom:14px!important}
body.game-authenticated .game-section>.wrap{width:min(1680px,calc(100% - 24px))!important;max-width:none!important}
body.game-authenticated .game-topbar{position:relative;top:auto;z-index:20;margin-bottom:10px!important;border-color:#3d3421!important;background:linear-gradient(180deg,rgba(19,23,26,.98),rgba(8,10,12,.98))!important;box-shadow:0 10px 30px rgba(0,0,0,.3)}
body.game-authenticated .game-layout{grid-template-columns:210px minmax(0,1fr)!important;gap:10px!important;height:calc(100vh - 164px)!important;min-height:650px!important;align-items:stretch!important}
body.game-authenticated .game-sidebar{position:relative!important;top:auto!important;height:100%!important;max-height:none!important;overflow:auto!important;align-self:stretch!important;border-color:#5a4726!important;background:linear-gradient(180deg,#0d1114,#07090b)!important}
body.game-authenticated .game-main{height:100%!important;min-height:0!important;padding:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;border-color:#4d4028!important;background:linear-gradient(180deg,#11161a,#090c0e)!important}
body.game-authenticated #game-panel{min-height:0!important;flex:1 1 auto!important;overflow:auto!important;padding:18px 20px 24px!important;scrollbar-gutter:stable}

.game-workspace-tabs{flex:0 0 auto;display:flex;align-items:end;gap:18px;padding:0 16px;border-bottom:1px solid #3c4246;background:linear-gradient(180deg,#12181c,#0b0f12);min-height:63px;box-shadow:0 5px 18px rgba(0,0,0,.2)}
.game-workspace-title{display:grid;gap:1px;padding:0 0 10px;min-width:155px}.game-workspace-title span{font-size:10px;letter-spacing:.17em;color:#e2bd67;font-weight:900}.game-workspace-title small{font-size:12px;color:#8f9ba2}
.game-workspace-nav{display:flex;gap:0;align-self:stretch;overflow-x:auto}.game-workspace-nav button{position:relative;border:0;border-left:1px solid #273036;background:transparent;color:#aab3b8;min-width:118px;padding:0 17px;font-size:12px;font-weight:900;letter-spacing:.035em;cursor:pointer}.game-workspace-nav button:last-child{border-right:1px solid #273036}.game-workspace-nav button:hover{background:#151b20;color:#fff}.game-workspace-nav button.active{color:#fff0bc;background:linear-gradient(180deg,#241c0c,#15130d)}.game-workspace-nav button.active:after{content:"";position:absolute;left:14px;right:14px;bottom:0;height:3px;background:#d8aa4d;box-shadow:0 0 12px rgba(216,170,77,.5)}

.game-character-dashboard>.game-character-section{display:none}.game-character-dashboard.view-overview>[data-character-section="overview"],.game-character-dashboard.view-equipment>[data-character-section="equipment"],.game-character-dashboard.view-skills>[data-character-section="skills"]{display:block}
.game-dashboard-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:15px;padding-bottom:13px;border-bottom:1px solid #30383d}.game-dashboard-section-head h2{margin:2px 0 4px;font-size:27px}.game-dashboard-section-head p{margin:0;color:#9faab0;max-width:760px;line-height:1.5}.game-dashboard-section-head.armor{align-items:center}

/* Overview: character art + controls side by side like the approved concept */
.game-character-dashboard.view-overview .game-character-layout{grid-template-columns:minmax(300px,36%) minmax(0,1fr)!important;gap:14px!important;align-items:stretch!important}
.game-character-dashboard.view-overview .game-character-portrait{min-height:430px!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;position:relative!important;overflow:visible!important;background:radial-gradient(circle at 50% 28%,rgba(213,168,73,.12),transparent 44%),#0a0d0f!important}
.game-character-dashboard.view-overview .game-character-portrait .game-avatar-real.large{margin:0 auto 8px!important;max-height:none!important}.game-character-dashboard.view-overview .game-character-portrait .game-avatar-frame{max-height:none!important;overflow:visible!important}.game-character-dashboard.view-overview .game-character-portrait .game-avatar-frame img{max-height:none!important;height:auto!important;object-fit:contain!important;object-position:center top!important}
.game-character-dashboard.view-overview .game-character-info{min-height:430px!important}.game-character-dashboard.view-overview .game-class-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}.game-character-dashboard.view-overview .game-class-card.art{min-height:92px!important;padding:7px!important}.game-character-dashboard.view-overview .game-class-art{width:64px!important;height:64px!important}.game-character-dashboard.view-overview .game-style-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.game-character-dashboard.view-overview .game-combat-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important;margin:12px 0!important}.game-character-dashboard.view-overview .game-class-training-guide{margin-top:12px!important}.game-character-dashboard.view-overview .game-class-training-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}

/* Equipment view */
.game-character-dashboard.view-equipment .game-gear-grid.seven{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:9px!important}.game-character-dashboard.view-equipment .game-gear-card{min-height:188px!important}.game-character-dashboard.view-equipment .game-gear-thumb{max-height:78px!important;object-fit:contain!important}.game-character-dashboard.view-equipment .game-active-sets>div{grid-template-columns:repeat(3,minmax(0,1fr))!important}

/* Skills view */
.game-character-dashboard.view-skills .game-ability-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.game-character-dashboard.view-skills .game-attr-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.game-character-dashboard.view-skills .game-ability-discovery-box{margin-top:12px!important}

/* Armor Sets: one class at a time, six visual tiers across the workspace. */
.game-armor-dashboard{min-width:0}.game-armor-class-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 14px;padding:7px;border:1px solid #343b40;border-radius:9px;background:#080b0d}.game-armor-class-tab{border:1px solid #3b444a;background:#0e1316;color:#aab5ba;border-radius:7px;padding:10px 12px;font-weight:900;cursor:pointer}.game-armor-class-tab:hover{border-color:#80662f;color:#fff}.game-armor-class-tab.active{border-color:#d1a647;background:linear-gradient(180deg,#2c210e,#17120a);color:#ffe29a;box-shadow:inset 0 0 18px rgba(216,170,77,.1)}
.game-set-grid.dashboard{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:9px!important}.game-set-grid.dashboard .game-set-card{min-width:0!important}.game-set-grid.dashboard .game-set-card>img{aspect-ratio:4/5!important;height:auto!important;object-fit:cover!important;object-position:center top!important}.game-set-grid.dashboard .game-set-card-copy{padding:9px!important}.game-set-grid.dashboard .game-set-card-copy h3{font-size:15px!important;margin:6px 0!important}.game-set-grid.dashboard .game-set-card-copy p{font-size:11px!important;margin:4px 0 7px!important}.game-set-grid.dashboard .game-set-bonuses{gap:4px!important}.game-set-grid.dashboard .game-set-bonuses span{padding:5px!important;font-size:9px!important}.game-set-grid.dashboard .game-set-piece-list{display:none!important}

/* Keep imagery contained and prevent oversized cards from making the browser page tall. */
body.game-authenticated .game-main img{max-width:100%}.game-panel-head{margin-bottom:14px!important}.game-panel-head h2{font-size:27px!important}

@media(max-width:1350px){.game-set-grid.dashboard{grid-template-columns:repeat(3,minmax(0,1fr))!important}.game-character-dashboard.view-equipment .game-gear-grid.seven{grid-template-columns:repeat(4,minmax(0,1fr))!important}.game-character-dashboard.view-overview .game-class-training-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:1000px){body.game-authenticated .game-layout{height:auto!important;min-height:0!important;grid-template-columns:1fr!important}.game-workspace-tabs{position:sticky;top:64px;z-index:50;display:block;padding:7px}.game-workspace-title{display:none}.game-workspace-nav button{min-width:105px;height:44px}.game-character-dashboard.view-overview .game-character-layout{grid-template-columns:1fr!important}.game-character-dashboard.view-equipment .game-gear-grid.seven{grid-template-columns:repeat(3,minmax(0,1fr))!important}.game-set-grid.dashboard{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.game-authenticated #game-panel{overflow:visible!important}body.game-authenticated .game-main{height:auto!important;overflow:visible!important}}
@media(max-width:640px){.game-workspace-tabs{margin:0}.game-workspace-nav{display:grid;grid-template-columns:repeat(3,1fr);overflow:visible}.game-workspace-nav button{min-width:0;border:1px solid #273036!important;padding:8px 5px}.game-armor-class-tabs{grid-template-columns:repeat(2,1fr)}.game-set-grid.dashboard,.game-character-dashboard.view-equipment .game-gear-grid.seven,.game-character-dashboard.view-skills .game-attr-grid,.game-character-dashboard.view-skills .game-ability-grid{grid-template-columns:1fr!important}.game-character-dashboard.view-overview .game-class-grid{grid-template-columns:repeat(2,1fr)!important}}

/* OVERVIEW CORE PROGRESSION VISIBILITY */
.game-overview-core{margin-top:12px;border:1px solid #4a4029;border-radius:11px;background:linear-gradient(145deg,#14130f,#090d10);padding:12px;box-shadow:inset 0 0 25px rgba(214,170,82,.035)}
.game-overview-core-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.game-overview-core-head h3{margin:2px 0 0;font-size:18px;color:#f2f4f5}
.game-overview-core-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.game-overview-stat{min-width:0;border:1px solid #30383e;border-radius:8px;background:#0a0e11;padding:8px;display:flex;align-items:center;gap:8px}.game-overview-stat>i{font-style:normal;width:31px;height:31px;flex:0 0 31px;border-radius:50%;display:grid;place-items:center;border:1px solid #665225;background:#17130a;color:#f0cb70;font-weight:900}.game-overview-stat>span{min-width:0;display:grid;gap:2px;width:100%}.game-overview-stat small{font-size:8px;letter-spacing:.09em;color:#87939a}.game-overview-stat b{font-size:14px;color:#f2f4f5}.game-overview-stat em{display:block;height:4px;border-radius:999px;background:#232a2f;overflow:hidden}.game-overview-stat em u{display:block;height:100%;text-decoration:none;background:linear-gradient(90deg,#7d5b1f,#e1b64f)}.game-overview-stat.highlight{border-color:#9a742d;background:linear-gradient(145deg,#1d170d,#0b0e10);box-shadow:inset 3px 0 #d8a942}.game-overview-stat.highlight>i{box-shadow:0 0 12px rgba(216,169,66,.18)}
.game-overview-focus-row{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);gap:8px;margin-top:8px}.game-training-focus,.game-overview-abilities{border:1px solid #30383e;border-radius:8px;background:#090d10;padding:9px}.game-training-focus small,.game-overview-abilities>small{display:block;font-size:8px;letter-spacing:.1em;color:#849198}.game-training-focus strong{display:block;color:#efc968;font-size:15px;margin:3px 0}.game-training-focus span{display:block;color:#9faab0;font-size:11px;line-height:1.35}.game-training-style-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px;padding-top:8px;border-top:1px solid #252d32}.game-training-style-head small{font-size:8px;letter-spacing:.09em;color:#b8a067}.game-training-style-head em{font-style:normal;color:#748087;font-size:8px;text-align:right}.game-training-style-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(82px,1fr));gap:5px;margin-top:6px}.game-training-style-btn{min-width:0;border:1px solid #344047;border-radius:7px;background:#0d1215;color:#c8d0d4;padding:7px 8px;cursor:pointer;text-align:left;font:inherit;transition:border-color .12s ease,background .12s ease,transform .12s ease}.game-training-style-btn:hover{border-color:#6d5a31;background:#121619;transform:translateY(-1px)}.game-training-style-btn b{display:block;color:#f0f2f3;font-size:10px;line-height:1.1}.game-training-style-btn em{display:block;margin-top:3px;color:#849198;font-size:7px;font-style:normal;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-training-style-btn.active{border-color:#a47c31;background:linear-gradient(180deg,#1d170d,#101316);box-shadow:inset 0 0 0 1px rgba(222,176,70,.14)}.game-training-style-btn.active b{color:#efc968}.game-training-style-btn.active em{color:#c8ad6a}.game-overview-abilities>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:6px}.game-overview-ability{min-width:0;border:1px solid #344047;border-radius:7px;background:#0d1215;padding:5px;display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;column-gap:6px;align-items:center}.game-overview-ability img{grid-row:1/3;width:34px;height:34px;object-fit:cover;border-radius:6px;border:1px solid #665225}.game-overview-ability b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-overview-ability small{font-size:7px;letter-spacing:.06em;color:#79c98c}.game-overview-ability.dormant{opacity:.68}.game-overview-ability.dormant small{color:#d3a56b}.game-overview-ability.empty{grid-template-columns:28px minmax(0,1fr);color:#78848a}.game-overview-ability.empty i{grid-row:1/3;width:28px;height:28px;border:1px dashed #465158;border-radius:6px;display:grid;place-items:center;font-style:normal}
@media(max-width:1350px){.game-overview-core-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.game-overview-focus-row{grid-template-columns:1fr}}
@media(max-width:700px){.game-overview-core-head{align-items:flex-start;flex-direction:column}.game-overview-core-grid{grid-template-columns:1fr 1fr}.game-overview-abilities>div{grid-template-columns:1fr}.game-overview-focus-row{grid-template-columns:1fr}}
@media(max-width:430px){.game-overview-core-grid{grid-template-columns:1fr}}

/* SHIELD PROGRESSION + FISHING ROD CLARITY */
.game-shield-tier-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.game-shield-tier{position:relative;min-width:0;border:1px solid #30383e;border-radius:9px;background:linear-gradient(180deg,#0d1215,#080b0d);padding:9px;display:grid;grid-template-columns:64px minmax(0,1fr);gap:8px;align-items:center}.game-shield-tier.owned{border-color:#5e774e}.game-shield-tier.equipped{border-color:#d4aa50;box-shadow:inset 0 0 18px rgba(212,170,80,.08)}.game-shield-art{width:64px;height:64px;object-fit:contain}.game-shield-tier>div{min-width:0;display:grid;gap:2px}.game-shield-tier small{font-size:8px;letter-spacing:.08em;color:#7f8a91}.game-shield-tier b{font-size:12px;color:#f2f4f5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-shield-tier span{font-size:9px;color:#d7bc76}.game-shield-tier em{font-size:8px;color:#8e9aa0;font-style:normal;line-height:1.25}.game-shield-tier>strong{position:absolute;right:6px;top:6px;font-size:7px;letter-spacing:.06em;color:#8fd29d;background:#0d2414;border:1px solid #315a3a;border-radius:999px;padding:3px 5px}.game-shield-tier.equipped>strong{color:#ffe6a4;background:#2b210d;border-color:#816528}
.game-fishing-rod-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.game-fishing-rod{position:relative;border:1px solid #30383e;border-radius:9px;background:linear-gradient(180deg,#0c1215,#080b0d);padding:10px;display:grid;gap:6px;min-height:132px}.game-fishing-rod.owned{border-color:#3c5f68}.game-fishing-rod.active{border-color:#d3a84c;background:linear-gradient(180deg,#19160d,#0b0e10);box-shadow:inset 0 0 22px rgba(211,168,76,.08)}.game-fishing-rod-stage{display:grid;gap:2px}.game-fishing-rod-stage small{font-size:8px;letter-spacing:.11em;color:#829098}.game-fishing-rod-stage b{font-size:14px;color:#eef2f4}.game-fishing-rod>span{font-size:10px;color:#b8c1c6;line-height:1.35}.game-fishing-rod>em{font-style:normal;color:#d7bc76;font-size:9px}.game-fishing-rod>strong{font-size:8px;color:#ffe191;letter-spacing:.08em}.game-fishing-rod .game-mini-btn{margin-top:auto;width:100%}
@media(max-width:1300px){.game-shield-tier-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.game-fishing-rod-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.game-shield-tier-grid,.game-fishing-rod-grid{grid-template-columns:1fr}.game-shield-tier{grid-template-columns:72px minmax(0,1fr)}.game-shield-art{width:72px;height:72px}}


/* ===== 3.10.52 Crown & Ember realm header ===== */
.crown-ember-realm-hero{
  position:relative;
  overflow:hidden;
  border-bottom:1px solid #7a5720!important;
  background:#06080b!important;
  min-height:0!important;
}
.crown-ember-realm-art{
  display:block;
  width:100%;
  height:auto;
  max-height:585px;
  object-fit:cover;
  object-position:center top;
}
.crown-ember-realm-controls{
  position:absolute;
  inset:0;
  pointer-events:none;
}
.crown-ember-back{
  position:absolute;
  top:22px;
  right:max(22px,calc((100vw - var(--max))/2));
  pointer-events:auto;
  background:rgba(5,8,11,.72)!important;
  border-color:rgba(229,181,85,.72)!important;
  color:#f2d58c!important;
  box-shadow:0 10px 30px rgba(0,0,0,.35),inset 0 0 0 1px rgba(255,255,255,.03);
  backdrop-filter:blur(7px);
}
.crown-ember-realm-controls .game-save-box{
  position:absolute;
  right:max(22px,calc((100vw - var(--max))/2));
  bottom:20px;
  pointer-events:auto;
  background:rgba(9,9,8,.78)!important;
  border-color:rgba(213,168,78,.65)!important;
  box-shadow:0 12px 35px rgba(0,0,0,.38);
  backdrop-filter:blur(8px);
}
.game-section{padding-top:18px!important}
.game-auth{
  padding:0!important;
  overflow:hidden;
  border-color:#343b40!important;
  background:linear-gradient(180deg,#0f1316,#090c0f)!important;
  box-shadow:0 16px 46px rgba(0,0,0,.24);
}
.game-steam-login-clean{padding:0!important}
.game-steam-login-clean .game-steam-auth{
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  min-height:142px;
  padding:24px 26px!important;
  background:linear-gradient(90deg,#10161b,#0a0e12 68%,#0c1114)!important;
}
.game-steam-login-clean .game-steam-auth b{
  font-size:18px;
  color:#f4f5f6;
}
.game-steam-login-clean .game-steam-auth span{
  color:#9fb1bf;
  margin-top:5px;
  font-size:14px;
}
.game-steam-login-clean .game-steam-auth .btn.primary{
  min-width:220px;
  min-height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,#efc768,#bd8529)!important;
  border-color:#f1cf79!important;
  color:#0b0c0d!important;
  font-weight:900;
  letter-spacing:.06em;
  box-shadow:0 8px 24px rgba(193,137,41,.18),inset 0 1px rgba(255,255,255,.22);
}
.game-steam-shield{
  width:58px!important;
  height:58px!important;
  border-color:#3a607d!important;
  background:radial-gradient(circle at 35% 30%,#19344a,#0d1a25 70%)!important;
  color:#eef8ff!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05),0 8px 20px rgba(0,0,0,.24);
}
@media(max-width:900px){
  .crown-ember-realm-art{min-height:300px;object-fit:cover;object-position:center top}
  .crown-ember-back{top:14px;right:14px;padding:9px 11px;font-size:10px}
  .crown-ember-realm-controls .game-save-box{right:14px;bottom:12px}
}
@media(max-width:640px){
  .crown-ember-realm-art{height:300px;min-height:300px;object-fit:cover;object-position:50% top}
  .game-steam-login-clean .game-steam-auth{grid-template-columns:52px 1fr!important;gap:13px!important;padding:18px!important}
  .game-steam-login-clean .game-steam-auth .btn.primary{grid-column:1/-1;width:100%;min-width:0}
  .game-steam-login-clean .game-steam-auth b{font-size:16px}
  .game-steam-login-clean .game-steam-auth span{font-size:12px}
}


/* ===== 3.10.52 authenticated realm-header visibility repair =====
   Keep the Crown & Ember realm banner as the real page header after Steam auth,
   and make the HTML hidden attribute authoritative so the login card does not
   remain visible on top of the live game. */
.game-shell [hidden]{display:none!important}
body.game-authenticated .crown-ember-realm-hero{display:block!important}
body.game-authenticated .crown-ember-realm-art{
  display:block!important;
  width:100%!important;
  height:clamp(300px,31vw,430px)!important;
  max-height:430px!important;
  object-fit:cover!important;
  object-position:center top!important;
}
body.game-authenticated .crown-ember-realm-controls{display:block!important}
body.game-authenticated .game-section{padding-top:14px!important}
body.game-authenticated .game-layout{height:calc(100vh - 170px)!important;min-height:650px!important}
@media(max-width:1000px){
  body.game-authenticated .crown-ember-realm-art{height:320px!important;max-height:320px!important}
  body.game-authenticated .game-layout{height:auto!important;min-height:0!important}
}
@media(max-width:640px){
  body.game-authenticated .crown-ember-realm-art{height:270px!important;min-height:270px!important;max-height:270px!important}
}


/* ===== 3.10.52 realm header full-artwork correction =====
   The authenticated view was forcing the 1672x585 realm art into a 430px crop,
   which cut off the lower half of the CROWN & EMBER title. Keep the complete
   approved artwork visible at its natural aspect ratio instead. */
body.game-authenticated .crown-ember-realm-hero{
  display:block!important;
  height:auto!important;
  min-height:0!important;
  overflow:hidden!important;
}
body.game-authenticated .crown-ember-realm-art{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center center!important;
}
body.game-authenticated .crown-ember-realm-controls .game-save-box{
  top:82px!important;
  bottom:auto!important;
}
body.game-authenticated .game-section{padding-top:14px!important}
body.game-authenticated .game-layout{
  height:auto!important;
  min-height:650px!important;
}
@media(max-width:1000px){
  body.game-authenticated .crown-ember-realm-art{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    object-fit:contain!important;
  }
  body.game-authenticated .crown-ember-realm-controls .game-save-box{
    top:auto!important;
    bottom:12px!important;
  }
  body.game-authenticated .game-layout{min-height:0!important}
}
@media(max-width:640px){
  body.game-authenticated .crown-ember-realm-art{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    object-fit:contain!important;
  }
}


/* ===== 3.10.52 compact Crown & Ember realm banner =====
   Keep the approved artwork, but make it a short header so the game begins
   higher on the page. These final rules intentionally override 3.10.46. */
body.game-authenticated .crown-ember-realm-hero{
  display:block!important;
  height:230px!important;
  min-height:230px!important;
  max-height:230px!important;
  overflow:hidden!important;
}
body.game-authenticated .crown-ember-realm-art{
  display:block!important;
  width:100%!important;
  height:230px!important;
  min-height:230px!important;
  max-height:230px!important;
  object-fit:cover!important;
  object-position:center 50%!important;
}
body.game-authenticated .crown-ember-realm-controls{
  height:230px!important;
}
body.game-authenticated .crown-ember-realm-controls .game-save-box{
  top:auto!important;
  bottom:14px!important;
}
body.game-authenticated .crown-ember-back{
  top:14px!important;
}
body.game-authenticated .game-section{
  padding-top:10px!important;
}
body.game-authenticated .game-layout{
  height:auto!important;
  min-height:650px!important;
}
@media(max-width:1000px){
  body.game-authenticated .crown-ember-realm-hero,
  body.game-authenticated .crown-ember-realm-art,
  body.game-authenticated .crown-ember-realm-controls{
    height:190px!important;
    min-height:190px!important;
    max-height:190px!important;
  }
  body.game-authenticated .crown-ember-realm-art{
    object-position:center 50%!important;
  }
  body.game-authenticated .game-layout{
    min-height:0!important;
  }
}
@media(max-width:640px){
  body.game-authenticated .crown-ember-realm-hero,
  body.game-authenticated .crown-ember-realm-art,
  body.game-authenticated .crown-ember-realm-controls{
    height:150px!important;
    min-height:150px!important;
    max-height:150px!important;
  }
  body.game-authenticated .crown-ember-realm-controls .game-save-box{
    display:none!important;
  }
  body.game-authenticated .crown-ember-back{
    top:8px!important;
    right:8px!important;
  }
}


/* ===== 3.10.52 Auctioneer smart market ===== */
.game-auctioneer-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(330px,.8fr);gap:18px;align-items:center;border:1px solid #5f4b24;border-radius:12px;padding:18px;margin-bottom:14px;background:radial-gradient(circle at 88% 20%,rgba(220,173,77,.12),transparent 36%),linear-gradient(145deg,#17150f,#0a0e11);box-shadow:inset 0 0 35px rgba(214,170,82,.035)}
.game-auctioneer-hero h2{margin:3px 0 5px;font-size:28px;color:#f2d486}.game-auctioneer-hero p{margin:0;color:#aab3b8;line-height:1.45;font-size:12px;max-width:820px}
.game-auctioneer-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.game-auctioneer-summary span{border:1px solid #30383e;border-radius:8px;background:#090c0f;padding:9px;text-align:center}.game-auctioneer-summary small{display:block;color:#79858c;font-size:7px;letter-spacing:.09em}.game-auctioneer-summary b{display:block;color:#efd07d;font-size:18px;margin-top:2px}
.game-auction-form.auctioneer{display:block;padding:14px;border-color:#4b4029;background:linear-gradient(180deg,#0d1114,#080b0d)}.game-auction-form-main{display:grid;grid-template-columns:minmax(220px,2fr) .65fr .9fr .9fr;gap:9px;align-items:start}.game-auction-form.auctioneer label small{display:block;margin-top:4px;color:#68737a;font-size:8px;letter-spacing:0;line-height:1.3}.game-auction-form.auctioneer input[readonly]{color:#e6c56f;background:#0d1113}
.game-auction-quote{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:11px 0}.game-auction-quote span{border:1px solid #30383e;border-radius:8px;padding:10px;background:#090c0f}.game-auction-quote small{display:block;font-size:7px;letter-spacing:.1em;color:#748087}.game-auction-quote b{display:block;margin-top:2px;font-size:18px;color:#f2f4f5}.game-auction-quote span:nth-child(3){border-color:#765d2b;background:#17130a}.game-auction-quote span:nth-child(3) b{color:#f1cc70}
.game-auction-mode{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #252c31;padding-top:11px}.game-auction-auto-toggle{display:flex!important;align-items:center;gap:10px;cursor:pointer;letter-spacing:0!important}.game-auction-auto-toggle input{width:18px!important;height:18px;margin:0!important;accent-color:#d7a842}.game-auction-auto-toggle span{display:block}.game-auction-auto-toggle b{display:block;color:#f0ce77;font-size:11px}.game-auction-auto-toggle small{display:block!important;color:#879299!important;font-size:9px!important;max-width:660px}
.game-auction-market,.game-auction-listings{margin-top:16px;border-top:1px solid #272e32;padding-top:13px}.game-auction-market-table{border:1px solid #30383e;border-radius:9px;overflow:hidden}.game-auction-market-head,.game-auction-market-row{display:grid;grid-template-columns:minmax(230px,2fr) .7fr .8fr .8fr .55fr 60px;gap:8px;align-items:center;padding:8px 10px}.game-auction-market-head{background:#0b0e11;color:#737f86;font-size:8px;letter-spacing:.1em}.game-auction-market-row{border-top:1px solid #252c30;background:#0a0d0f;font-size:11px}.game-auction-market-row:nth-child(odd){background:#0c1012}.game-auction-market-row>span:first-child{display:flex;align-items:center;gap:8px;min-width:0}.game-auction-market-row b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-auction-market-row .gold{color:#e5c36e;font-weight:800}.game-market-thumb{width:30px!important;height:30px!important;object-fit:contain;border-radius:5px}
.game-auction-title-row{display:flex;align-items:center;gap:7px}.game-auction-title-row h3{min-width:0}.game-auction-auto-badge{font-size:7px;letter-spacing:.08em;color:#f6d985;border:1px solid #7a612d;background:#211a0c;border-radius:999px;padding:3px 6px;white-space:nowrap}.game-auction-card-market{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}.game-auction-card-market span{font-size:8px;color:#7f8b91;border:1px solid #2c3337;border-radius:999px;padding:2px 5px}.game-auction-card.auction-auto-card{border-color:#665127;background:linear-gradient(145deg,#14120c,#0c1012)}.game-empty-market{padding:20px;text-align:center;color:#778289;font-size:11px;background:#090c0e}
@media(max-width:1050px){.game-auctioneer-hero{grid-template-columns:1fr}.game-auction-form-main{grid-template-columns:1fr 1fr}.game-auction-market-table{overflow-x:auto}.game-auction-market-head,.game-auction-market-row{min-width:760px}.game-auctioneer-summary{max-width:620px}}
@media(max-width:640px){.game-auctioneer-summary{grid-template-columns:1fr 1fr}.game-auction-form-main,.game-auction-quote{grid-template-columns:1fr 1fr}.game-auction-mode{align-items:stretch;flex-direction:column}.game-auction-mode .btn{width:100%}.game-auctioneer-hero h2{font-size:23px}}

/* ===== 3.10.52 portrait polish, armor glisten, combat audio, NPC trainers ===== */
.game-character-dashboard.view-overview .game-character-portrait .game-avatar-real.large{
  max-height:none!important;
  overflow:visible!important;
  margin:auto auto 8px!important;
}
.game-character-dashboard.view-overview .game-character-portrait .game-avatar-frame{
  flex:0 0 auto;
  margin:0 auto;
}
.game-character-dashboard.view-overview .game-character-portrait .game-avatar-chips{
  position:relative;
  z-index:4;
  margin-top:8px!important;
  padding-top:0!important;
}
.game-avatar-frame{isolation:isolate;position:relative}
.game-avatar-frame .game-avatar-portrait{position:relative;z-index:1}
/* 3.10.95: localized equipment sparkles only — never sweep across the whole portrait. */
.game-local-sparkle{position:absolute;z-index:3;width:10px;height:10px;pointer-events:none;opacity:0;filter:drop-shadow(0 0 5px rgba(255,228,150,.78));animation:gameLocalSpark 4.8s ease-in-out infinite}
.game-local-sparkle:before,.game-local-sparkle:after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:linear-gradient(90deg,transparent,#fff5d6 42%,#fff 50%,#ffe4a1 58%,transparent)}
.game-local-sparkle:before{width:18px;height:2px}.game-local-sparkle:after{width:2px;height:18px}
.game-local-sparkle.spark-armor-b{animation-delay:1.6s}.game-local-sparkle.spark-weapon{animation-delay:2.7s}.game-local-sparkle.spark-shield{animation-delay:3.6s}
.game-avatar-real[data-avatar-class="warrior"] .spark-armor-a{left:56%;top:30%}.game-avatar-real[data-avatar-class="warrior"] .spark-armor-b{left:48%;top:47%}.game-avatar-real[data-avatar-class="warrior"] .spark-weapon{left:34%;top:69%}.game-avatar-real[data-avatar-class="warrior"] .spark-shield{left:71%;top:46%}
.game-avatar-real[data-avatar-class="adventurer"] .spark-armor-a{left:56%;top:31%}.game-avatar-real[data-avatar-class="adventurer"] .spark-armor-b{left:48%;top:48%}.game-avatar-real[data-avatar-class="adventurer"] .spark-weapon{left:34%;top:68%}.game-avatar-real[data-avatar-class="adventurer"] .spark-shield{left:70%;top:47%}
.game-avatar-real[data-avatar-class="ranger"] .spark-armor-a{left:55%;top:34%}.game-avatar-real[data-avatar-class="ranger"] .spark-armor-b{left:47%;top:51%}.game-avatar-real[data-avatar-class="ranger"] .spark-weapon{left:66%;top:56%}.game-avatar-real[data-avatar-class="ranger"] .spark-shield{display:none}
.game-avatar-real[data-avatar-class="mage"] .spark-armor-a{left:54%;top:35%}.game-avatar-real[data-avatar-class="mage"] .spark-armor-b{left:47%;top:52%}.game-avatar-real[data-avatar-class="mage"] .spark-weapon{left:68%;top:52%}.game-avatar-real[data-avatar-class="mage"] .spark-shield{left:37%;top:56%}
@keyframes gameLocalSpark{0%,58%,100%{opacity:0;transform:scale(.45) rotate(0)}64%{opacity:.35}70%{opacity:1;transform:scale(1.05) rotate(45deg)}76%{opacity:.28;transform:scale(.72) rotate(90deg)}}


.game-duel-trainers,.game-duel-players{margin-top:14px}.game-duel-grid.npc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-duel-card.npc{min-height:118px;background:linear-gradient(145deg,#11171a,#0b0e10);border-color:#3b464c}.game-duel-card.npc.practice{border-left:3px solid #4f8a61}.game-duel-card.npc.balanced{border-left:3px solid #b18a3d}.game-duel-card.npc.challenge{border-left:3px solid #a45b43}.game-duel-card.npc .game-duel-avatar{width:62px;height:62px;border-radius:12px;overflow:hidden}.game-duel-card.npc .game-duel-art{width:100%;height:100%;object-fit:cover;object-position:center top}.game-duel-card.npc em{display:block;margin-top:5px;color:#87949b;font-size:9px;font-style:normal;line-height:1.35}.game-duel-name-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.game-duel-name-row span{font-size:8px;letter-spacing:.08em;border:1px solid #655027;color:#f1ca6c;border-radius:999px;padding:3px 6px;background:#171208}

@media(prefers-reduced-motion:reduce){.game-local-sparkle{animation:none!important;opacity:.22!important}}


/* 3.10.54 Premium mining node art */
.mining-showcase{overflow:hidden}
.mining-node-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.game-mining-node{position:relative;overflow:hidden;padding:14px;border:1px solid #534627;background:linear-gradient(180deg,#16120c,#090c0f);border-radius:14px;display:grid;grid-template-columns:160px minmax(0,1fr);gap:14px;align-items:center;box-shadow:0 16px 32px rgba(0,0,0,.24)}
.game-mining-node:before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,211,114,.06),transparent 45%,rgba(91,138,176,.05));pointer-events:none}
.game-mining-node.active{border-color:#d0a54f;box-shadow:0 0 0 1px rgba(240,209,129,.18),0 22px 42px rgba(0,0,0,.34)}
.game-mining-node.depleted{border-color:#66413b;background:linear-gradient(180deg,#170f0d,#090c0e)}
.game-resource-scene{position:relative;height:132px;border:1px solid #3c4348;border-radius:14px;background:radial-gradient(circle at 50% 18%,rgba(255,255,255,.08),transparent 30%),linear-gradient(180deg,#13171b,#0a0d0f);overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)}
.game-resource-scene:after{content:'';position:absolute;left:-20%;right:-20%;bottom:-34%;height:66%;background:radial-gradient(circle at 50% 0,rgba(255,214,124,.18),rgba(255,214,124,0) 65%)}
.game-resource-scene-glow{position:absolute;inset:-8%;background:radial-gradient(circle at 50% 45%,rgba(255,255,255,.12),transparent 52%);mix-blend-mode:screen;animation:miningScenePulse 4s ease-in-out infinite}
.game-resource-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform-origin:50% 55%;animation:miningArtFloat 4.8s ease-in-out infinite}
.game-resource-scene-sheen{position:absolute;top:-10%;bottom:-10%;left:-45%;width:38%;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,241,196,.22),rgba(255,255,255,0));transform:skewX(-18deg);animation:miningSheen 5.5s linear infinite;mix-blend-mode:screen}
.game-resource-impact{position:absolute;right:18px;bottom:16px;width:52px;height:52px;pointer-events:none}
.game-resource-impact span{position:absolute;left:50%;top:50%;width:18px;height:18px;border-radius:50%;background:radial-gradient(circle,rgba(255,229,157,.95) 0,rgba(255,229,157,.4) 35%,rgba(255,229,157,0) 70%);transform:translate(-50%,-50%) scale(.4);opacity:0;animation:miningSparkBurst 2.5s ease-in-out infinite}
.game-resource-impact span:nth-child(1){animation-delay:.2s}
.game-resource-impact span:nth-child(2){left:28%;top:62%;animation-delay:.8s}
.game-resource-impact span:nth-child(3){left:70%;top:34%;animation-delay:1.3s}
.game-resource-meta{display:grid;gap:9px;min-width:0}
.game-resource-title{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.game-resource-title b{font-size:18px;color:#f0d181}
.game-resource-title small{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#78d799;text-align:right}
.game-mining-node.depleted .game-resource-title small{color:#d18d7a}
.game-resource-statline,.game-resource-foot{display:flex;flex-wrap:wrap;gap:8px}
.game-resource-statline span,.game-resource-foot span{border:1px solid #313940;background:#0b0f12;border-radius:999px;padding:5px 9px;font-size:11px;color:#c1c8cd}
.game-resource-foot span:last-child{color:#9fd7ff}
.game-mining-node.depleted .game-resource-foot span:last-child{color:#d6a58c}
.game-mining-node>i,.game-mining-node .game-resource-meta>i{height:8px;background:#252c31;border-radius:999px;overflow:hidden}
.game-mining-node .game-resource-meta>i>b{display:block;height:100%;background:linear-gradient(90deg,#7e6023,#f0cb70)}
.game-mining-node.depleted .game-resource-meta>i>b{background:linear-gradient(90deg,#7e433c,#c97564)}
.game-mining-node.active .game-resource-scene{box-shadow:inset 0 0 0 1px rgba(255,234,184,.08),0 0 24px rgba(222,184,89,.08)}
.game-mining-node.active .game-resource-art{animation-duration:3.2s;transform:scale(1.035)}
.game-mining-node.active .game-resource-scene-sheen{animation-duration:3.5s;opacity:1}
.game-mining-node.depleted .game-resource-scene-glow,.game-mining-node.depleted .game-resource-art,.game-mining-node.depleted .game-resource-scene-sheen,.game-mining-node.depleted .game-resource-impact span{animation-play-state:paused;opacity:.45;filter:grayscale(.25) saturate(.75)}
.game-resource-scene.ore-copper{box-shadow:inset 0 0 0 1px rgba(216,140,83,.16),0 0 18px rgba(216,140,83,.08)}
.game-resource-scene.ore-tin{box-shadow:inset 0 0 0 1px rgba(168,200,218,.12),0 0 18px rgba(168,200,218,.08)}
.game-resource-scene.ore-iron{box-shadow:inset 0 0 0 1px rgba(139,161,181,.14),0 0 18px rgba(139,161,181,.08)}
.game-resource-scene.ore-coal{box-shadow:inset 0 0 0 1px rgba(255,133,73,.14),0 0 18px rgba(255,133,73,.08)}
.game-resource-scene.ore-silver{box-shadow:inset 0 0 0 1px rgba(215,229,243,.16),0 0 18px rgba(215,229,243,.08)}
.game-resource-scene.ore-gold{box-shadow:inset 0 0 0 1px rgba(243,198,95,.18),0 0 18px rgba(243,198,95,.08)}
.game-resource-scene.ore-essence{box-shadow:inset 0 0 0 1px rgba(143,123,255,.18),0 0 18px rgba(143,123,255,.08)}
@keyframes miningScenePulse{0%,100%{opacity:.55}50%{opacity:1}}
@keyframes miningArtFloat{0%,100%{transform:scale(1) translateY(0)}50%{transform:scale(1.015) translateY(-3px)}}
@keyframes miningSheen{0%{left:-45%;opacity:0}10%{opacity:.9}50%{opacity:.75}100%{left:115%;opacity:0}}
@keyframes miningSparkBurst{0%,62%,100%{opacity:0;transform:translate(-50%,-50%) scale(.35)}70%{opacity:.95;transform:translate(-50%,-50%) scale(1)}84%{opacity:0;transform:translate(-50%,-50%) scale(1.5)}}
@media(max-width:1100px){.mining-node-grid{grid-template-columns:1fr}.game-mining-node{grid-template-columns:150px minmax(0,1fr)}}
@media(max-width:640px){.game-mining-node{grid-template-columns:1fr;padding:12px}.game-resource-scene{height:170px}.game-resource-title{display:grid;gap:4px}.game-resource-title small{text-align:left}}

/* ===== 3.10.55 Shop tabs + item clarity ===== */
.game-shop-tabs{
  display:flex;
  gap:7px;
  overflow-x:auto;
  padding:4px 2px 10px;
  margin:0 0 10px;
  scrollbar-width:thin;
}
.game-shop-tab{
  flex:0 0 auto;
  min-height:38px;
  padding:8px 12px;
  border:1px solid #38434a;
  border-radius:8px;
  background:linear-gradient(180deg,#11171b,#0a0e11);
  color:#aeb8be;
  font:inherit;
  font-size:12px;
  font-weight:900;
  letter-spacing:.035em;
  cursor:pointer;
}
.game-shop-tab:hover{border-color:#766030;color:#efd284;background:#17130c}
.game-shop-tab.active{border-color:#c69a42;color:#ffe297;background:linear-gradient(180deg,#251c0d,#120f0a);box-shadow:inset 0 -2px #d3a64d,0 7px 18px rgba(0,0,0,.18)}
.game-shop-legend{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px 9px;
  margin:0 0 18px;
  padding:10px 12px;
  border:1px solid #303940;
  border-radius:9px;
  background:linear-gradient(90deg,#0c1115,#0a0d0f);
}
.game-shop-legend small{color:#829099;font-size:11px;margin-right:5px}
.game-use-chip{
  display:inline-flex;
  align-items:center;
  width:max-content;
  min-height:22px;
  padding:3px 7px;
  border-radius:999px;
  border:1px solid currentColor;
  background:#0b0f12;
  font-size:9px;
  font-weight:950;
  letter-spacing:.065em;
  line-height:1;
  white-space:nowrap;
}
.game-use-chip.use-good{color:#f0c65e;background:#1d170b}
.game-use-chip.use-usable{color:#75d89a;background:#0d1912}
.game-use-chip.use-reagent{color:#70bcec;background:#0d171e}
.game-use-chip.use-common{color:#a8b2b9;background:#11161a}
.game-use-chip.use-trash{color:#ef8c8c;background:#211011}
.game-shop-card{border-color:color-mix(in srgb,var(--rarity,#33393e) 58%,#33393e)}
.game-shop-card-copy{min-width:0;display:grid;gap:4px}
.game-shop-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}
.game-shop-title-row>b{color:var(--rarity,#f1f3f4);font-size:15px;line-height:1.25}
.game-shop-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px;flex:0 0 auto}
.game-shop-card-copy>small{color:#96a1a8!important;font-size:11px!important;line-height:1.35!important}
.game-shop-card-copy>p{margin:3px 0 0;color:#b7c0c5;font-size:12px;line-height:1.45}
.game-shop-card>span{align-self:start;color:#e7c66f!important;font-size:13px!important;white-space:nowrap}
.game-shop-empty{padding:34px 20px;border:1px dashed #46515a;border-radius:10px;text-align:center;background:#0b0f12}
.game-shop-empty h3{margin:0 0 6px;color:#e4c574}.game-shop-empty p{margin:0;color:#919ca3}
.game-shop-section.shop-category-potions{border-left-color:#72c98b}
.game-shop-section.shop-category-reagents{border-left-color:#69b7e6}.game-shop-section.shop-category-reagents .game-shop-head h3{color:#87c9ef}
.game-shop-section.shop-category-combat{border-left-color:#d28970}.game-shop-section.shop-category-combat .game-shop-head h3{color:#e8a286}
.game-shop-section.shop-category-scrolls{border-left-color:var(--ui-scrolls)}.game-shop-section.shop-category-scrolls .game-shop-head h3{color:var(--ui-scrolls)}
.game-shop-section.shop-category-capes{border-left-color:#d8b25b}.game-shop-section.shop-category-capes .game-shop-head h3{color:#f0d181}
.game-shop-section.shop-category-upgrades{border-left-color:#6fb9e4}.game-shop-section.shop-category-upgrades .game-shop-head h3{color:#8bcef5}
.game-shop-section.shop-category-utility{border-left-color:#8c9da8}.game-shop-section.shop-category-utility .game-shop-head h3{color:#bdc7cc}
.game-shop-section .game-shop-head>span{color:#7f8b93;font-size:11px;font-weight:800;white-space:nowrap}

/* Rich item hover: spaced paragraphs and color-coded keep/sell guidance. */
.game-tooltip.item-tooltip{width:min(490px,calc(100vw - 24px));max-width:490px;padding:0;overflow:hidden;border-left-width:1px;background:#0b1014}
.item-tip{font-size:13px;line-height:1.48}
.item-tip-head{display:grid;grid-template-columns:64px minmax(0,1fr);gap:11px;align-items:center;padding:13px 14px;background:linear-gradient(135deg,#17232c,#0d1216);border-bottom:1px solid #304451}
.item-tip-art{width:64px;height:64px;object-fit:cover;border-radius:9px;border:1px solid #58646b;background:#090c0f}
.item-tip-head strong{display:block;color:#f2f5f6;font-size:18px;line-height:1.25;margin-bottom:6px}
.item-tip-head small{display:block;color:#91a0a9;margin-top:6px;text-transform:capitalize}
.item-tip-badges{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.item-tip-grade{display:grid;gap:4px;margin:11px 13px 8px;padding:9px 10px;border-radius:8px;border:1px solid #37434b;background:#10161a}
.item-tip-grade b{font-size:11px;letter-spacing:.07em}.item-tip-grade span{font-size:12px;line-height:1.45;color:#c0c9ce}
.item-tip-grade.use-good{border-color:#765d28;background:#1a150b}.item-tip-grade.use-good b{color:#f2ce73}
.item-tip-grade.use-usable{border-color:#37684a;background:#0f1913}.item-tip-grade.use-usable b{color:#84e0a4}
.item-tip-grade.use-reagent{border-color:#315f78;background:#0d171e}.item-tip-grade.use-reagent b{color:#8bd1f4}
.item-tip-grade.use-common{border-color:#4a555c;background:#11161a}.item-tip-grade.use-common b{color:#b9c3c9}
.item-tip-grade.use-trash{border-color:#7b4145;background:#201012}.item-tip-grade.use-trash b{color:#ff929a}
.item-tip-purpose,.item-tip-extra{margin:8px 14px!important;padding:0!important;color:#d7dde0!important;font-size:13px!important;line-height:1.55!important}
.item-tip-extra{color:#b2c8d6!important}
.item-tip-sources{display:grid;gap:0;margin:10px 13px 13px;padding:9px 10px;border:1px solid #2b373f;border-radius:8px;background:#0d1215}
.item-tip-sources p{margin:0!important;padding:4px 0!important;color:#9fabb2!important;font-size:12px!important;line-height:1.45!important;border-bottom:1px solid #1e282e}
.item-tip-sources p:last-child{border-bottom:0}.item-tip-sources b{color:#e4c574}
.gear-tip-head .game-use-chip{margin-left:4px;vertical-align:middle}

@media(max-width:760px){
  .game-shop-tabs{padding-bottom:8px}
  .game-shop-tab{font-size:11px;padding:8px 10px}
  .game-shop-title-row{display:grid;gap:5px}
  .game-shop-badges{justify-content:flex-start}
  .game-tooltip.item-tooltip{width:calc(100vw - 16px)}
  .item-tip-head{grid-template-columns:54px 1fr}.item-tip-art{width:54px;height:54px}
}
.game-shop-section.shop-category-potions .game-shop-head h3{color:#8fe0a6}
.game-help-item-badges{display:flex!important;gap:5px;flex-wrap:wrap;margin-top:6px;font-style:normal}
.game-help-item-badges .game-rarity-chip,.game-help-item-badges .game-use-chip{font-size:8px;padding:3px 6px}


/* ===== 3.10.60 Crown & Ember background soundtrack ===== */
.game-music-console{
  position:relative;
  display:grid;
  grid-template-columns:42px minmax(150px,1fr) minmax(150px,190px);
  grid-template-areas:"emblem copy volume" "emblem copy toggle";
  align-items:center;
  column-gap:10px;
  row-gap:5px;
  min-width:430px;
  padding:8px 10px;
  border:1px solid #b78a38;
  border-radius:9px;
  background:linear-gradient(135deg,#2a1d0b 0%,#15120c 48%,#0b0e11 100%);
  box-shadow:inset 0 0 0 1px rgba(255,220,132,.08),0 0 22px rgba(214,170,82,.13);
  overflow:hidden;
}
.game-music-console::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(110deg,transparent 0 38%,rgba(255,223,142,.10) 48%,transparent 58% 100%);
  transform:translateX(-80%);animation:gameMusicSheen 7s ease-in-out infinite;
}
.game-music-console.music-off{border-color:#4a4f53;background:linear-gradient(135deg,#151719,#0a0c0e);box-shadow:none;opacity:.82}
.game-music-emblem{grid-area:emblem;position:relative;z-index:1;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid #e0b85c;background:radial-gradient(circle at 40% 35%,#ffe5a0,#c69232 58%,#563a12);color:#171006;font-size:22px;font-weight:950;box-shadow:0 0 15px rgba(225,177,72,.28)}
.game-music-copy{grid-area:copy;position:relative;z-index:1;display:grid;line-height:1.1;min-width:0}.game-music-copy small{color:#c6a65f;font-size:7px!important;font-weight:950;letter-spacing:.14em;white-space:nowrap}.game-music-copy strong{color:#fff0bd;font-size:13px;margin:2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-music-copy span{color:#8fe2aa;font-size:8px;font-weight:900;letter-spacing:.06em;white-space:nowrap}.music-off .game-music-copy span{color:#a4a9ad}
.game-music-toggle{grid-area:toggle;position:relative;z-index:1;width:100%;min-width:0;min-height:30px;border:1px solid #e0b85c;border-radius:7px;padding:0 12px;background:linear-gradient(#d4a64a,#8b6121);color:#160f05;font:inherit;font-size:10px;font-weight:950;letter-spacing:.055em;cursor:pointer;white-space:nowrap;box-shadow:inset 0 1px rgba(255,255,255,.24);justify-self:stretch;align-self:start}
.game-music-toggle:hover{filter:brightness(1.12)}.game-music-toggle.is-off{border-color:#656c71;background:linear-gradient(#292e32,#16191b);color:#d1d5d8;box-shadow:none}
.game-music-volume{grid-area:volume;position:relative;z-index:1;display:grid;gap:4px;min-width:0;align-self:end}.game-music-volume>span{display:flex;justify-content:space-between;gap:8px;color:#b8aa87;font-size:8px;font-weight:950;letter-spacing:.09em}.game-music-volume b{color:#ffe297;font-size:9px}.game-music-volume input{width:100%;min-width:0;accent-color:#e0b85c;cursor:pointer}
@keyframes gameMusicSheen{0%,72%,100%{transform:translateX(-85%);opacity:0}78%{opacity:1}92%{transform:translateX(85%);opacity:.65}}
@media(max-width:1250px){.game-music-console{grid-template-columns:38px minmax(150px,1fr) minmax(150px,190px);grid-template-areas:"emblem copy volume" "emblem copy toggle";min-width:0}.game-music-emblem{width:36px;height:36px}.game-topstats span{min-width:82px}}
@media(max-width:760px){.game-music-console{order:4;width:100%;min-width:0;grid-template-columns:40px minmax(0,1fr);grid-template-areas:"emblem copy" "volume volume" "toggle toggle"}.game-music-volume{width:100%}.game-music-copy strong{font-size:12px}.game-music-toggle{min-height:36px}.game-topbar #game-stop{order:5}}
@media(prefers-reduced-motion:reduce){.game-music-console::before{animation:none}}
/* 3.10.60 preserved duel responsive layout after combat-audio removal */
@media(max-width:900px){.game-duel-grid.npc-grid{grid-template-columns:1fr}}
@media(max-width:640px){.game-duel-card.npc{grid-template-columns:54px 1fr}.game-duel-card.npc .game-duel-avatar{width:54px;height:54px}}


/* ===== 3.10.62 Crown & Ember integrated game shell =====
   Crown & Ember now owns its page chrome. The BasicTRK brand block is removed
   on game.html only; navigation remains available in a compact fantasy bar.
   The realm title is live HTML/CSS rather than a cropped banner image. */
body.crown-ember-page{
  background:
    radial-gradient(circle at 50% -120px,rgba(184,112,32,.16),transparent 420px),
    linear-gradient(180deg,#070809 0,#080a0c 280px,#060708 100%);
}
body.crown-ember-page .crown-ember-topline{
  height:2px;
  background:linear-gradient(90deg,transparent,#75531f 24%,#e2b45a 50%,#75531f 76%,transparent);
  box-shadow:0 1px 18px rgba(214,170,82,.2);
}
body.crown-ember-page .crown-ember-site-header{
  position:relative;
  top:auto;
  z-index:95;
  border-bottom:1px solid rgba(151,111,45,.46);
  background:linear-gradient(180deg,rgba(9,10,11,.99),rgba(8,9,10,.94));
  box-shadow:0 12px 34px rgba(0,0,0,.28);
  backdrop-filter:blur(12px);
}
body.crown-ember-page .crown-ember-site-nav{
  min-height:58px!important;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:0 8px;
}
body.crown-ember-page .crown-ember-site-links{
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(12px,2.2vw,31px);
  width:100%;
}
body.crown-ember-page .crown-ember-site-links a{
  position:relative;
  padding:20px 1px 18px;
  color:#b9b3a5;
  font-family:Georgia,'Times New Roman',serif;
  font-size:12px;
  font-weight:700;
  letter-spacing:.055em;
  text-transform:uppercase;
  white-space:nowrap;
  transition:color .18s ease;
}
body.crown-ember-page .crown-ember-site-links a:hover,
body.crown-ember-page .crown-ember-site-links a.active{color:#f0cf7d}
body.crown-ember-page .crown-ember-site-links a.active:after{
  content:"";
  position:absolute;
  left:14%;right:14%;bottom:10px;height:1px;
  background:linear-gradient(90deg,transparent,#e4b95f,transparent);
  box-shadow:0 0 10px rgba(226,180,90,.45);
}
body.crown-ember-page .crown-ember-menu-btn{display:none}
body.crown-ember-page .crown-ember-realm-hero,
body.crown-ember-page.game-authenticated .crown-ember-realm-hero{
  position:relative!important;
  display:grid!important;
  place-items:center;
  height:auto!important;
  min-height:188px!important;
  max-height:none!important;
  overflow:visible!important;
  border-bottom:1px solid rgba(142,99,35,.62)!important;
  background:
    radial-gradient(ellipse at 50% 15%,rgba(229,157,55,.11),transparent 48%),
    radial-gradient(circle at 18% 72%,rgba(111,48,16,.11),transparent 28%),
    radial-gradient(circle at 82% 62%,rgba(91,45,18,.09),transparent 30%),
    linear-gradient(180deg,#0b0c0e 0,#090a0c 66%,#070809 100%)!important;
  box-shadow:inset 0 -20px 42px rgba(0,0,0,.25),0 12px 34px rgba(0,0,0,.18);
}
body.crown-ember-page .crown-ember-realm-hero:before,
body.crown-ember-page .crown-ember-realm-hero:after{
  content:"";
  position:absolute;
  pointer-events:none;
  width:4px;height:4px;border-radius:50%;
  background:#d8732d;
  box-shadow:
    -310px 32px 0 0 rgba(219,91,29,.46),
    -222px -18px 0 1px rgba(244,151,52,.32),
    -138px 52px 0 0 rgba(181,64,24,.35),
    154px 38px 0 1px rgba(221,91,28,.38),
    246px -24px 0 0 rgba(241,146,49,.32),
    338px 43px 0 1px rgba(183,65,24,.34);
  filter:blur(.15px);
  opacity:.72;
}
body.crown-ember-page .crown-ember-realm-hero:before{top:58px;left:50%}
body.crown-ember-page .crown-ember-realm-hero:after{bottom:38px;left:50%;transform:scale(.7);opacity:.4}
body.crown-ember-page .crown-ember-title-wrap{
  position:relative;
  z-index:2;
  width:min(960px,calc(100% - 300px));
  min-width:560px;
  padding:20px 0 19px;
  display:grid;
  justify-items:center;
  text-align:center;
}
body.crown-ember-page .crown-ember-crown{
  color:#e6bd64;
  font-size:31px;
  line-height:1;
  text-shadow:0 2px 10px rgba(218,140,42,.28);
  margin-bottom:1px;
}
body.crown-ember-page .crown-ember-title{
  margin:0;
  display:flex;
  align-items:baseline;
  justify-content:center;
  flex-wrap:wrap;
  gap:.18em;
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(44px,5.1vw,78px);
  font-weight:500;
  line-height:.92;
  letter-spacing:.015em;
  text-transform:uppercase;
  background:linear-gradient(180deg,#fff1b4 0,#e5b552 33%,#bd7928 71%,#f0c96b 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 3px 8px rgba(0,0,0,.48));
}
body.crown-ember-page .crown-ember-title em{
  font-style:normal;
  font-size:.78em;
  color:#dfac4a;
  -webkit-text-fill-color:#dfac4a;
}
body.crown-ember-page .crown-ember-title-rule{
  width:min(420px,68%);
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:12px;
  align-items:center;
  color:#b78236;
  margin:1px 0 7px;
}
body.crown-ember-page .crown-ember-title-rule.lower{margin:9px 0 2px}
body.crown-ember-page .crown-ember-title-rule i{height:1px;background:linear-gradient(90deg,transparent,#b78236)}
body.crown-ember-page .crown-ember-title-rule i:last-child{background:linear-gradient(90deg,#b78236,transparent)}
body.crown-ember-page .crown-ember-title-rule b{font-size:8px;font-weight:400}
body.crown-ember-page .crown-ember-realm-tagline{
  margin:4px 0 0;
  color:#807764;
  font-family:Georgia,'Times New Roman',serif;
  font-size:10px!important;
  font-weight:700;
  letter-spacing:.34em;
  text-transform:uppercase;
}
body.crown-ember-page .crown-ember-realm-controls{
  position:absolute!important;
  inset:0!important;
  height:auto!important;
  pointer-events:none;
  z-index:3;
}
body.crown-ember-page .crown-ember-realm-controls .game-save-box,
body.crown-ember-page.game-authenticated .crown-ember-realm-controls .game-save-box{
  top:50%!important;
  right:max(22px,calc((100vw - var(--max))/2))!important;
  bottom:auto!important;
  transform:translateY(-50%);
  min-width:156px;
  padding:11px 13px;
  background:rgba(10,10,9,.62)!important;
  border-color:rgba(194,145,63,.48)!important;
  box-shadow:none;
  backdrop-filter:blur(7px);
}
body.crown-ember-page .crown-ember-realm-controls .game-save-box strong{font-size:17px}
body.crown-ember-page .game-section{padding-top:10px!important}
body.crown-ember-page .game-topbar{margin-top:0}
@media(max-width:1100px){
  body.crown-ember-page .crown-ember-site-links{gap:15px}
  body.crown-ember-page .crown-ember-site-links a{font-size:10px;letter-spacing:.03em}
  body.crown-ember-page .crown-ember-title-wrap{width:calc(100% - 220px);min-width:0}
}
@media(max-width:760px){
  body.crown-ember-page .crown-ember-site-nav{min-height:54px!important;justify-content:flex-end}
  body.crown-ember-page .crown-ember-menu-btn{display:block!important;border:1px solid #765927;background:#15120c;color:#f0cf7d;border-radius:6px;padding:9px 12px;font-weight:900;letter-spacing:.08em}
  body.crown-ember-page .crown-ember-site-links{display:none!important;position:absolute;top:54px;left:10px;right:10px;width:auto;padding:8px;border:1px solid #5e4725;border-radius:8px;background:#090b0d;box-shadow:0 18px 40px rgba(0,0,0,.48);z-index:120}
  body.crown-ember-page .crown-ember-site-links.open{display:grid!important;grid-template-columns:1fr 1fr;gap:4px}
  body.crown-ember-page .crown-ember-site-links a{padding:11px 12px;border-radius:5px;text-align:center;background:#0d1012}
  body.crown-ember-page .crown-ember-site-links a.active:after{display:none}
  body.crown-ember-page .crown-ember-realm-hero,
  body.crown-ember-page.game-authenticated .crown-ember-realm-hero{min-height:152px!important}
  body.crown-ember-page .crown-ember-title-wrap{width:100%;padding:19px 90px 16px 18px;min-width:0}
  body.crown-ember-page .crown-ember-title{font-size:clamp(34px,10vw,52px)}
  body.crown-ember-page .crown-ember-crown{font-size:24px}
  body.crown-ember-page .crown-ember-title-rule{width:min(330px,86%)}
  body.crown-ember-page .crown-ember-realm-controls .game-save-box,
  body.crown-ember-page.game-authenticated .crown-ember-realm-controls .game-save-box{display:block!important;right:10px!important;min-width:78px;padding:8px 9px;text-align:right}
  body.crown-ember-page .crown-ember-realm-controls .game-save-box span{font-size:7px}
  body.crown-ember-page .crown-ember-realm-controls .game-save-box strong{font-size:13px}
  body.crown-ember-page .crown-ember-realm-controls .game-save-box small{display:none}
}
@media(max-width:430px){
  body.crown-ember-page .crown-ember-realm-controls .game-save-box{display:none!important}
  body.crown-ember-page .crown-ember-title-wrap{padding-right:18px}
  body.crown-ember-page .crown-ember-title{font-size:34px;gap:.12em}
  body.crown-ember-page .crown-ember-realm-tagline{letter-spacing:.2em}
}

/* 3.10.62 class-card alignment repair */
.game-character-dashboard.view-overview .game-class-card.art{
  grid-template-columns:64px minmax(0,1fr)!important;
  column-gap:10px!important;
  text-align:left!important;
}
.game-character-dashboard.view-overview .game-class-copy{
  min-width:0!important;
  justify-self:stretch!important;
  align-self:center!important;
}
.game-character-dashboard.view-overview .game-class-copy b,
.game-character-dashboard.view-overview .game-class-copy small,
.game-character-dashboard.view-overview .game-class-copy em{
  margin-left:0!important;
  text-align:left!important;
}
@media(max-width:640px){
  .game-character-dashboard.view-overview .game-class-card.art{
    grid-template-columns:64px minmax(0,1fr)!important;
  }
}


/* 3.10.64 remove brown portrait frame on overview */
.game-character-dashboard.view-overview .game-character-portrait .game-avatar-frame{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible!important;
}
.game-character-dashboard.view-overview .game-character-portrait .game-avatar-portrait{
  border-radius:16px;
  box-shadow:0 14px 36px rgba(0,0,0,.42);
}
.game-character-dashboard.view-overview .game-character-portrait .game-avatar-aura{
  inset:6% -2% 18% -2%;
}

/* 3.10.67 frameless Warrior portrait repair */
.game-character-dashboard.view-overview .game-character-portrait .game-avatar-frame{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible!important;
}
.game-character-dashboard.view-overview .game-character-portrait .game-avatar-portrait{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  object-fit:contain!important;
}

/* 3.10.68 dungeon result screen + visible current-action motion */
.game-active.running .game-progress i{background-size:180% 100%;animation:gameCurrentActionFlow 1.2s linear infinite}
@keyframes gameCurrentActionFlow{from{background-position:100% 0}to{background-position:-80% 0}}
.game-dungeon-result{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:15px;align-items:center;margin:0 0 16px;padding:16px;border:1px solid #3d7651;border-radius:12px;background:linear-gradient(135deg,#0d1a12,#0a0e11);box-shadow:inset 4px 0 #55c779,0 14px 34px rgba(0,0,0,.26)}
.game-dungeon-result.failed{border-color:#814740;background:linear-gradient(135deg,#21100f,#0a0e11);box-shadow:inset 4px 0 #d45c52,0 14px 34px rgba(0,0,0,.26)}
.game-dungeon-result.stopped{border-color:#6c5a37;background:linear-gradient(135deg,#1b160d,#0a0e11);box-shadow:inset 4px 0 #ba8a3d,0 14px 34px rgba(0,0,0,.26)}
.game-dungeon-result-mark{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;font-size:30px;font-weight:950;background:#13301e;color:#7de39e;border:1px solid #37754b}
.game-dungeon-result.failed .game-dungeon-result-mark{background:#351413;color:#ff958b;border-color:#7c3f39}.game-dungeon-result.stopped .game-dungeon-result-mark{background:#2b2111;color:#efc977;border-color:#70562f}
.game-dungeon-result h3{margin:2px 0 5px;font-size:25px}.game-dungeon-result p{margin:0 0 10px;color:#abb3b8}.game-dungeon-result-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.game-dungeon-result-stats span{border:1px solid #2d3539;border-radius:7px;background:#080c0e;padding:8px;min-width:0}.game-dungeon-result-stats small{display:block;color:#7e8a90;font-size:8px;letter-spacing:.08em}.game-dungeon-result-stats b{display:block;margin-top:2px;color:#f1d17d;font-size:13px;overflow-wrap:anywhere}.game-dungeon-clear-reward{margin-top:9px;padding:9px 11px;border:1px solid #66532d;border-radius:7px;background:#17130c}.game-dungeon-clear-reward b{color:#f0cf78;margin-right:8px}.game-dungeon-clear-reward span{color:#d7d1bd}.game-dungeon-failure{margin-top:9px;color:#efaaa4}.game-dungeon-result-modal{width:min(760px,100%)}.game-dungeon-result.compact{grid-template-columns:54px minmax(0,1fr);text-align:left;border:0;box-shadow:none;margin:0;padding:8px;background:transparent}.game-dungeon-result.compact>.btn{display:none}.game-dungeon-result.compact .game-dungeon-result-stats{grid-template-columns:1fr 1fr}
@media(max-width:760px){.game-dungeon-result{grid-template-columns:52px 1fr}.game-dungeon-result>.btn{grid-column:1/-1;width:100%}.game-dungeon-result-stats{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){.game-active.running .game-progress i{animation:none!important}}


/* 3.10.69 private administrator autonomous Farming Bot */
.game-admin-farm-bot{margin:0 0 18px;padding:16px;border:1px solid #6d5429;border-radius:12px;background:linear-gradient(135deg,#17130b,#0a0e10);box-shadow:inset 4px 0 #b88935,0 14px 34px rgba(0,0,0,.22)}
.game-admin-farm-bot.running{border-color:#3f7750;box-shadow:inset 4px 0 #55c779,0 14px 34px rgba(0,0,0,.24)}
.game-admin-bot-head{display:flex;gap:14px;align-items:flex-start;justify-content:space-between}.game-admin-bot-head h3{margin:3px 0 5px;font-size:22px}.game-admin-bot-head p{margin:0;color:#aeb5b7;max-width:760px}.game-admin-bot-state{flex:0 0 auto;border:1px solid #6b4d2a;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:950;letter-spacing:.1em;background:#26180b;color:#e2b662}.game-admin-bot-state.on{border-color:#37754b;background:#102519;color:#7de39e}
.game-admin-bot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}.game-admin-bot-grid>div{padding:10px 11px;border:1px solid #2d3539;border-radius:8px;background:#080c0e}.game-admin-bot-grid small{display:block;color:#7f8a8f;font-size:8px;letter-spacing:.08em}.game-admin-bot-grid b{display:block;margin-top:4px;color:#f0cf78;font-size:13px;overflow-wrap:anywhere}
.game-admin-bot-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.game-admin-bot-status{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;align-items:center;margin-top:12px;padding:10px 12px;border:1px solid #273034;border-radius:8px;background:#080b0d}.game-admin-bot-status b{font-size:9px;letter-spacing:.1em;color:#c7a75d}.game-admin-bot-status span{color:#d8dddf}.game-admin-bot-status small{grid-column:1/-1;color:#778389}
@media(max-width:760px){.game-admin-bot-head{display:grid}.game-admin-bot-state{justify-self:start}.game-admin-bot-grid{grid-template-columns:1fr 1fr}}
@media(max-width:430px){.game-admin-bot-grid{grid-template-columns:1fr}.game-admin-bot-controls>*{width:100%}}

/* ===== 3.10.71 FULL-WIDTH DESKTOP + READABILITY PASS =====
   Desktop-only presentation upgrade. This intentionally preserves game logic,
   artwork files, image aspect behavior, mobile breakpoints, and the 3.10.70
   mining-art mapping fix. It mirrors the more readable browser-zoomed view
   without requiring the player to zoom the browser. */
@media (min-width:1101px){
  /* Use the available desktop canvas instead of stopping at the old 1680px cap. */
  body.crown-ember-page.game-authenticated .game-section>.wrap{
    width:calc(100% - 16px)!important;
    max-width:2360px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* Give the permanent navigation a little more room while the main workspace expands. */
  body.crown-ember-page.game-authenticated .game-layout{
    grid-template-columns:248px minmax(0,1fr)!important;
    gap:12px!important;
  }
  body.crown-ember-page.game-authenticated .game-sidebar{
    padding:12px!important;
  }
  body.crown-ember-page.game-authenticated .game-tab{
    padding:11px 12px!important;
  }
  body.crown-ember-page.game-authenticated .game-tab-name{
    font-size:14px!important;
    line-height:1.35!important;
  }
  body.crown-ember-page.game-authenticated .game-tab b{
    font-size:12px!important;
  }

  /* Increase reading size inside the game without scaling or stretching artwork. */
  body.crown-ember-page.game-authenticated #game-panel{
    padding:22px 24px 28px!important;
  }
  body.crown-ember-page.game-authenticated .game-shell{
    font-size:19px!important;
    line-height:1.62!important;
  }
  body.crown-ember-page.game-authenticated .game-shell small{
    font-size:13.5px!important;
    line-height:1.52!important;
  }
  body.crown-ember-page.game-authenticated .game-panel-head p,
  body.crown-ember-page.game-authenticated .game-dashboard-section-head p,
  body.crown-ember-page.game-authenticated .game-world-description,
  body.crown-ember-page.game-authenticated .game-system-note,
  body.crown-ember-page.game-authenticated .game-auth-note,
  body.crown-ember-page.game-authenticated .game-reqs,
  body.crown-ember-page.game-authenticated .game-gives{
    font-size:14.5px!important;
    line-height:1.55!important;
  }
  body.crown-ember-page.game-authenticated .game-panel-head h2,
  body.crown-ember-page.game-authenticated .game-dashboard-section-head h2{
    font-size:30px!important;
  }
  body.crown-ember-page.game-authenticated .game-workspace-title span{
    font-size:11px!important;
  }
  body.crown-ember-page.game-authenticated .game-workspace-title small{
    font-size:13px!important;
  }
  body.crown-ember-page.game-authenticated .game-workspace-nav button{
    min-width:128px!important;
    padding-left:19px!important;
    padding-right:19px!important;
    font-size:13px!important;
  }
  body.crown-ember-page.game-authenticated .btn{
    font-size:13px!important;
  }
  body.crown-ember-page.game-authenticated .game-mini-btn{
    font-size:12px!important;
  }

  /* Mining is the densest current screen, so make its live labels readable too. */
  body.crown-ember-page.game-authenticated .game-resource-title b{
    font-size:20px!important;
  }
  body.crown-ember-page.game-authenticated .game-resource-title small{
    font-size:12.5px!important;
  }
  body.crown-ember-page.game-authenticated .game-resource-statline span,
  body.crown-ember-page.game-authenticated .game-resource-foot span{
    font-size:12.5px!important;
    padding:6px 10px!important;
  }

  /* Mining art keeps the exact 3.10.70 sizing/cropping behavior; only layout and text change. */
  body.crown-ember-page.game-authenticated .game-resource-art{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }
}


/* ===== 3.10.72 Crown & Ember live ember header ===== */
.crown-ember-realm-hero{position:relative;isolation:isolate}
.crown-ember-realm-hero:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 40%,rgba(255,175,70,.07),transparent 34%),linear-gradient(180deg,rgba(9,10,12,.06),rgba(5,7,8,.16));pointer-events:none;z-index:0}
.crown-ember-title-wrap{position:relative;z-index:2}
.crown-ember-title{position:relative;text-shadow:0 4px 24px rgba(0,0,0,.35),0 0 30px rgba(226,157,64,.12)}
.crown-ember-title em{color:#f0a047;text-shadow:0 0 18px rgba(255,138,30,.35),0 0 32px rgba(255,187,98,.18)}
.crown-ember-realm-tagline{position:relative;text-shadow:0 2px 14px rgba(0,0,0,.44),0 0 12px rgba(255,177,66,.08)}
.crown-ember-embers{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:1}
.crown-ember-embers i{position:absolute;left:var(--x);bottom:-14px;width:8px;height:8px;border-radius:50%;background:radial-gradient(circle,rgba(255,233,174,.98) 0%,rgba(255,173,76,.86) 35%,rgba(255,106,24,.35) 58%,rgba(255,106,24,0) 76%);box-shadow:0 0 12px rgba(255,146,50,.55),0 0 28px rgba(255,188,102,.18);opacity:0;transform:translate3d(0,0,0) scale(.58);animation:crownEmberFloat var(--t,8.5s) linear infinite;animation-delay:var(--d)}
.crown-ember-embers i:nth-child(3n){width:10px;height:10px;filter:blur(.15px)}
.crown-ember-embers i:nth-child(4n){width:6px;height:6px;opacity:0}
@keyframes crownEmberFloat{0%{transform:translate3d(0,0,0) scale(.55);opacity:0}10%{opacity:.78}35%{opacity:.92}70%{opacity:.42}100%{transform:translate3d(42px,-250px,0) scale(1.12);opacity:0}}
@media(max-width:900px){.crown-ember-embers i{width:6px;height:6px}@keyframes crownEmberFloat{0%{transform:translate3d(0,0,0) scale(.55);opacity:0}12%{opacity:.7}36%{opacity:.86}70%{opacity:.36}100%{transform:translate3d(30px,-165px,0) scale(1.08);opacity:0}}}
@media(prefers-reduced-motion:reduce){.crown-ember-embers i{animation:none!important;opacity:.22}.crown-ember-title em{animation:none!important}}


/* 3.10.75 — Crafting & Production Skill Book · Simplified skill navigation */
.game-production-book{
  overflow:hidden;
  border:1px solid #5b4525;
  border-radius:14px;
  background:#090c0e;
  box-shadow:0 24px 70px rgba(0,0,0,.34),inset 0 0 0 1px rgba(229,181,80,.045);
}
.game-book-header{
  display:grid;
  grid-template-columns:minmax(300px,1fr) auto;
  gap:0 22px;
  align-items:center;
  padding:16px 18px 0;
  border-bottom:1px solid #392f22;
  background:linear-gradient(180deg,#111519,#0b0f12);
}
.game-book-title{display:flex;align-items:center;gap:14px;min-width:0}
.game-book-title-art{width:58px;height:58px;object-fit:cover!important;border:1px solid #80602c;border-radius:50%;background:#0b0d0f;box-shadow:0 0 22px rgba(207,155,55,.14)}
.game-book-title h2{margin:2px 0 4px;color:#efcf7e;font:700 28px/1.05 Georgia,'Times New Roman',serif;letter-spacing:.045em}
.game-book-title p{margin:0;color:#9ea8ae;font-size:12px;line-height:1.45;max-width:760px}
.game-book-view-tabs{display:flex;align-self:end;height:100%;gap:2px}
.game-book-view-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;color:#d2b775;padding:14px 14px 13px;font:700 13px/1 Georgia,'Times New Roman',serif;letter-spacing:.08em;cursor:pointer}
.game-book-view-tabs button:hover{background:#12171b;color:#f5d889}.game-book-view-tabs button.active{border-bottom-color:#d6a844;color:#f6d989;background:linear-gradient(180deg,transparent,rgba(214,168,68,.08))}
.game-book-controls{grid-column:1/-1;display:grid;grid-template-columns:minmax(320px,1fr) 150px;gap:10px;padding:11px 0 15px}
.game-book-controls label{display:grid;gap:5px}.game-book-controls label>span{font-size:9px;letter-spacing:.12em;font-weight:900;color:#7f8b92}
.game-book-controls input,.game-book-controls select{min-width:0;height:42px;border:1px solid #37424a;border-radius:7px;background:#0a0e11;color:#d7dee2;padding:0 12px;font-size:13px;outline:none}
.game-book-controls input:focus,.game-book-controls select:focus{border-color:#b78635;box-shadow:0 0 0 1px rgba(183,134,53,.26)}
.game-book-shell{display:grid;grid-template-columns:minmax(420px,.95fr) minmax(480px,1.22fr);min-height:640px}

.game-book-skill-tabs{grid-column:1/-1;display:grid;grid-template-columns:repeat(7,minmax(118px,1fr));gap:8px;padding:13px 0 2px;overflow:auto;scrollbar-width:thin}
.game-book-skill-tab{min-width:0;display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #303a40;border-radius:7px;background:#0b1013;color:#c3ccd1;padding:8px 10px;cursor:pointer;transition:border-color .15s,background .15s,transform .15s;white-space:nowrap}
.game-book-skill-tab:hover{border-color:#765b2d;background:#131719}.game-book-skill-tab.active{border-color:#d6a640;background:linear-gradient(180deg,#2b1e0d,#15130e);box-shadow:inset 0 -2px #dfa946,0 0 18px rgba(207,155,55,.10)}
.game-book-skill-tab-art{width:34px;height:34px;object-fit:cover!important;border:1px solid #564427;border-radius:5px;background:#090b0d}.game-book-skill-tab span{display:grid;min-width:0;text-align:left}.game-book-skill-tab b{overflow:hidden;text-overflow:ellipsis;color:#ddc583;font:700 12px/1.1 Georgia,'Times New Roman',serif}.game-book-skill-tab small{margin-top:3px;color:#75828a;font-size:9px}.game-book-skill-tab.active b{color:#f3cf79}
.game-book-center{min-width:0;padding:10px;border-right:1px solid #3a3022;background:#0d1114}
.game-book-category-tabs{display:flex;gap:4px;overflow:auto;padding:1px 0 9px;border-bottom:1px solid #30383d;scrollbar-width:thin}
.game-book-category-tabs button{flex:0 0 auto;border:1px solid #2f3940;border-radius:5px;background:#0b1013;color:#b8c1c6;padding:8px 11px;font:700 11px/1 Georgia,'Times New Roman',serif;cursor:pointer;white-space:nowrap}.game-book-category-tabs button.active{border-color:#d6a744;background:linear-gradient(180deg,#e0ad48,#b47b25);color:#15120d;box-shadow:0 0 16px rgba(207,156,60,.13)}
.game-book-recipe-list{display:grid;gap:5px;padding:8px 0;max-height:590px;overflow:auto;scrollbar-color:#66512d #0b0f12}
.game-book-recipe-row{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;border:1px solid #2b343a;border-radius:6px;background:#090d10;color:#dbe1e4;padding:6px 8px;text-align:left;cursor:pointer;min-width:0}
.game-book-recipe-row:hover{border-color:#5e5037;background:#101519}.game-book-recipe-row.active{border-color:#dfa83e;background:linear-gradient(90deg,#2b200f,#17140e 55%,#101417);box-shadow:inset 3px 0 #e6b44f}.game-book-recipe-row.locked{opacity:.68}.game-book-recipe-row[hidden]{display:none!important}
.game-book-row-art{width:50px;height:50px;border:1px solid #354049;border-radius:5px;background:#090b0d;overflow:hidden}.game-book-row-image{width:100%;height:100%;object-fit:contain!important;padding:2px}.game-book-row-copy{display:grid;gap:3px;min-width:0}.game-book-row-copy b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e1e7ea;font:700 14px/1.15 Georgia,'Times New Roman',serif}.game-book-row-copy small{color:#7f8b92;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.game-book-row-mastery{display:grid;justify-items:end;gap:3px;min-width:92px;color:#dcad4c}.game-book-row-mastery small{color:#8d999f;font-size:8px;font-weight:800;letter-spacing:.05em}.game-book-row-mastery strong{font:700 11px/1 Georgia,'Times New Roman',serif;color:#e7c56e}.game-book-row-mastery-bar{display:block;width:74px;height:4px;border-radius:999px;overflow:hidden;background:#17130d;border:1px solid #5e4c2d}.game-book-row-mastery-bar b{display:block;height:100%;background:linear-gradient(90deg,#a87423,#e3bb58)}
.game-book-details{min-width:0;padding:15px;background:linear-gradient(90deg,#d9c9a5,#ebddbd 18%,#efe3c7 82%,#d7c49b);color:#17130e;box-shadow:inset 10px 0 22px rgba(72,46,19,.14)}
.game-book-detail-page[hidden]{display:none!important}.game-book-detail-head{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;align-items:start;padding-bottom:13px;border-bottom:1px solid rgba(87,58,27,.35)}
.game-book-detail-art{height:150px;border:2px solid #765824;background:linear-gradient(145deg,#1b2022,#0b0e10);padding:6px;box-shadow:inset 0 0 0 2px #c7a96a,0 6px 18px rgba(59,38,17,.18)}.game-book-output-art{width:100%;height:100%;object-fit:contain!important}.game-book-detail-head .eyebrow{color:#8f631d}.game-book-detail-head h2{margin:5px 0 8px;color:#18130d;font:700 29px/1.05 Georgia,'Times New Roman',serif}.game-book-detail-head p{margin:0 0 8px;color:#453822;font:400 13px/1.55 Georgia,'Times New Roman',serif}
.game-book-pattern{display:grid;gap:3px;margin:11px 0;padding:9px 11px;border-radius:4px;font-size:10px}.game-book-pattern b{font-size:10px;letter-spacing:.08em}.game-book-pattern.known{border:1px solid #6c8a58;background:rgba(77,120,70,.11)}.game-book-pattern.locked{border:1px solid #9a6b34;background:rgba(137,82,25,.11)}
.game-book-detail-columns{display:grid;grid-template-columns:1.2fr .8fr;gap:13px;margin-top:13px}.game-book-detail-columns section>h4{margin:0 0 8px;padding:7px 9px;background:#2a2117;color:#e8c978;font:700 11px/1 Georgia,'Times New Roman',serif;letter-spacing:.08em}
.game-book-material-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.game-book-material{display:grid;grid-template-columns:45px minmax(0,1fr);gap:7px;align-items:center;position:relative;padding:6px;border:1px solid rgba(90,64,32,.28);background:rgba(255,250,236,.28)}.game-book-material.short{border-color:rgba(142,61,39,.38)}.game-book-material-art{width:43px;height:43px;object-fit:contain!important;background:#131719;border:1px solid #4c4436;padding:2px}.game-book-material div{display:grid;gap:2px}.game-book-material b{font:700 11px/1.2 Georgia,'Times New Roman',serif}.game-book-material span{font-size:9px;color:#594a36}.game-book-material strong{grid-column:1/-1;font-size:8px;color:#4c7a45}.game-book-material.short strong{color:#963e2d}
.game-book-stat-list{display:grid;border:1px solid rgba(89,61,28,.28)}.game-book-stat-list span{display:flex;justify-content:space-between;gap:14px;padding:8px 9px;border-bottom:1px solid rgba(89,61,28,.18);font-size:10px}.game-book-stat-list span:last-child{border-bottom:0}.game-book-stat-list b{font-family:Georgia,'Times New Roman',serif}.game-book-stat-list em{font-style:normal;font-weight:800;color:#4a3821;text-align:right}
.game-book-craft-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:14px;padding-top:13px;border-top:1px solid rgba(91,62,28,.35)}.game-book-craft-row>div{display:grid;gap:3px}.game-book-craft-row small{font-size:8px;font-weight:900;letter-spacing:.1em;color:#7c653e}.game-book-craft-row b{font:700 13px/1.25 Georgia,'Times New Roman',serif}.game-book-craft-row span{font-size:9px;color:#6b5c47}.game-book-craft-row .btn{min-width:170px;border-color:#8c621e;color:#17120c;background:linear-gradient(180deg,#edc75e,#c8942c)}
.game-book-empty{margin:10px 0;padding:18px;border:1px dashed #665332;border-radius:6px;background:#11100d;text-align:center;color:#a9b3b8}.game-book-empty b,.game-book-empty span{display:block}.game-book-empty b{color:#e0bc68;margin-bottom:4px}
.game-book-info-view{display:grid;gap:14px}.game-book-view-head{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:7px 4px 11px;border-bottom:1px solid #313a40}.game-book-view-head h3{margin:2px 0 4px;color:#efcf7e;font:700 23px/1.05 Georgia,'Times New Roman',serif}.game-book-view-head p{margin:0;color:#9da8ae;font-size:12px;line-height:1.45}.game-book-view-head>b{color:#cfaa5b;font-size:12px;white-space:nowrap}
.game-book-material-index,.game-book-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.game-book-material-index article,.game-book-tool-grid article{display:grid;grid-template-columns:58px minmax(0,1fr);gap:9px;align-items:center;border:1px solid #303a40;border-radius:7px;background:#0a0e11;padding:8px}.game-book-index-art,.game-book-tool-art{width:56px;height:56px;object-fit:contain!important;border:1px solid #3c474e;background:#090b0d;padding:3px}.game-book-material-index h4,.game-book-tool-grid h4{margin:0 0 3px;color:#e5ca84;font:700 13px/1.2 Georgia,'Times New Roman',serif}.game-book-material-index span,.game-book-tool-grid span{display:block;color:#80bc91;font-size:9px;font-weight:900}.game-book-material-index small,.game-book-tool-grid small{display:block;color:#89969d;font-size:9px;line-height:1.35;margin-top:3px}
.game-book-mastery-list{display:grid;gap:6px}.game-book-mastery-list article{border:1px solid #303a40;border-radius:6px;background:#0a0e11;padding:8px}.game-book-mastery-list article>div{display:flex;justify-content:space-between;gap:12px}.game-book-mastery-list b{color:#e1c67e;font-size:11px}.game-book-mastery-list span,.game-book-mastery-list small{color:#829098;font-size:9px}.game-book-mastery-list i{display:block;height:4px;margin:6px 0 4px;background:#253038;border-radius:99px;overflow:hidden}.game-book-mastery-list i b{display:block;height:100%;background:#cda042}
.game-book-side-note{padding:20px;border:1px solid rgba(90,64,32,.28);background:rgba(255,250,236,.22);font-family:Georgia,'Times New Roman',serif}.game-book-side-note b{font-size:20px}.game-book-side-note p{color:#4e402d;line-height:1.6}
@media(max-width:1450px){.game-book-skill-tabs{grid-template-columns:repeat(7,minmax(110px,1fr))}.game-book-shell{grid-template-columns:minmax(370px,.9fr) minmax(410px,1.12fr)}.game-book-detail-head{grid-template-columns:120px 1fr}.game-book-detail-art{height:120px}.game-book-material-list{grid-template-columns:1fr}.game-book-title h2{font-size:25px}}
@media(max-width:1120px){.game-book-header{grid-template-columns:1fr}.game-book-view-tabs{order:2;overflow:auto}.game-book-skill-tabs{order:3;display:flex}.game-book-skill-tab{flex:0 0 150px;justify-content:flex-start}.game-book-controls{order:4;grid-template-columns:1fr 130px}.game-book-shell{grid-template-columns:1fr}.game-book-details{border-top:1px solid #4b3b25}.game-book-center{border-right:0}.game-book-detail-columns{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.game-book-controls{grid-template-columns:1fr}.game-book-shell{grid-template-columns:1fr}.game-book-skill-tabs{display:flex;overflow:auto}.game-book-skill-tab{flex:0 0 145px}.game-book-center{padding:8px}.game-book-details{padding:11px}.game-book-detail-columns,.game-book-material-index,.game-book-tool-grid{grid-template-columns:1fr}.game-book-detail-head{grid-template-columns:90px 1fr}.game-book-detail-art{height:90px}.game-book-detail-head h2{font-size:22px}.game-book-craft-row{align-items:stretch;flex-direction:column}.game-book-craft-row .btn{width:100%}.game-book-title-art{width:48px;height:48px}.game-book-title h2{font-size:22px}.game-book-view-tabs button{padding:11px 10px}}
.game-book-cook-buttons{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.game-book-cook-buttons .btn{min-width:150px}
.game-book-station.locked{opacity:.58}.game-book-station-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
.game-book-bonfire-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.game-book-bonfire{display:grid;gap:4px;border:1px solid #3b4449;border-radius:7px;background:#0a0e11;color:#dce2e5;padding:12px;text-align:left;cursor:pointer}.game-book-bonfire:hover:not(:disabled){border-color:#b38639;background:#13130f}.game-book-bonfire:disabled{opacity:.46;cursor:not-allowed}.game-book-bonfire b{color:#ebca78;font:700 14px Georgia,'Times New Roman',serif}.game-book-bonfire span{color:#aab4b9;font-size:10px}.game-book-bonfire small{color:#7f8d94;font-size:9px}
@media(max-width:760px){.game-book-cook-buttons{width:100%;justify-content:stretch}.game-book-cook-buttons .btn{width:100%}.game-book-bonfire-grid{grid-template-columns:1fr}}


/* 3.10.76 — Recipe Mastery clarity */
.game-book-mastery-note{margin-top:10px;padding:9px 10px;border:1px solid rgba(112,77,31,.28);background:rgba(255,248,229,.32);font:400 12px/1.45 Georgia,'Times New Roman',serif}.game-book-mastery-note b,.game-book-mastery-note span{display:block}.game-book-mastery-note b{color:#6d4616;margin-bottom:3px}.game-book-mastery-note span{color:#4f412c}
.game-book-mastery-guide{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.game-book-mastery-guide>div{border:1px solid #394248;background:#0e1316;border-radius:9px;padding:11px 12px}.game-book-mastery-guide b,.game-book-mastery-guide span{display:block}.game-book-mastery-guide b{color:#e3bf68;font-size:11px;letter-spacing:.08em}.game-book-mastery-guide span{color:#aeb7bc;margin-top:5px;font-size:12px;line-height:1.45}
@media(max-width:760px){.game-book-mastery-guide{grid-template-columns:1fr}.game-book-row-mastery{min-width:78px}.game-book-row-mastery-bar{width:62px}}


/* Adventure book shell */
.game-adventure-book-shell{border:1px solid #4a3921;border-radius:18px;background:linear-gradient(180deg,#090d11 0%,#05080b 100%);box-shadow:0 18px 42px rgba(0,0,0,.3);overflow:hidden}
.game-adventure-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.95fr);gap:18px;padding:22px 22px 18px;border-bottom:1px solid rgba(196,153,69,.25);background:linear-gradient(90deg,rgba(10,12,16,.92) 0%,rgba(10,12,16,.82) 42%,rgba(8,10,14,.62) 100%)}
.game-adventure-hero:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 20% 18%,rgba(214,164,71,.16),transparent 30%),radial-gradient(circle at 72% 26%,rgba(31,91,151,.17),transparent 28%);pointer-events:none}
.game-adventure-hero-copy{position:relative;z-index:1;max-width:780px;display:grid;gap:10px}
.game-adventure-hero-copy h2{margin:0;color:#f0c86e;font-size:52px;line-height:.96;letter-spacing:.01em}
.game-adventure-hero-copy p{margin:0;color:#d5dbe0;font-size:16px;line-height:1.58;max-width:780px}
.game-adventure-hero-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:2px}
.game-adventure-hero-chips span{border:1px solid rgba(240,200,110,.28);background:rgba(7,12,16,.48);padding:8px 12px;border-radius:999px;color:#efc96d;font-size:12px;font-weight:800;letter-spacing:.04em}
.game-adventure-hero-art{position:relative;min-height:170px;border:1px solid rgba(196,153,69,.22);border-radius:16px;background:linear-gradient(180deg,rgba(7,10,14,.15),rgba(7,10,14,.1)),url('/assets/img/arcade/crown-ember-hero-card.webp') center/cover no-repeat;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)}
.game-adventure-top-tabs{display:flex;flex-wrap:wrap;gap:10px;padding:14px 22px 18px;border-bottom:1px solid rgba(196,153,69,.16)}
.game-adventure-top-tab{display:flex;align-items:center;gap:10px;border:1px solid #333d43;background:#0e1419;color:#dce3e7;border-radius:12px;padding:11px 14px;cursor:pointer;min-width:150px;justify-content:flex-start}
.game-adventure-top-tab b{font-size:16px}
.game-adventure-top-tab small{margin-left:auto;color:#78b8ff;font-size:14px;font-weight:800}
.game-adventure-top-tab.active{border-color:#cda14c;background:linear-gradient(180deg,#231607 0%,#16110a 100%);box-shadow:0 0 0 1px rgba(205,161,76,.18) inset}
.game-adventure-top-tab-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;border:1px solid rgba(205,161,76,.35);background:rgba(205,161,76,.12);color:#f0c86e;font-weight:900;font-size:18px;flex:0 0 34px}
.game-adventure-book-body{padding:18px 20px 22px}
.game-adventure-book-body>.game-panel-head:first-child{margin-top:0;padding-top:0}
.game-adventure-book-body .game-panel-head h2{font-size:34px}
.game-adventure-book-body .game-panel-head p{font-size:15px;line-height:1.55}
.game-adventure-book-body .game-combat-loot,.game-adventure-book-body .game-dungeon-run-live,.game-adventure-book-body .game-slayer-task,.game-adventure-book-body .game-empty-system{border-radius:14px}
@media(max-width:1200px){.game-adventure-hero{grid-template-columns:1fr}.game-adventure-hero-art{min-height:150px}.game-adventure-hero-copy h2{font-size:44px}}
@media(max-width:760px){.game-adventure-hero{padding:18px 16px 16px}.game-adventure-top-tabs{padding:12px 16px 14px}.game-adventure-book-body{padding:14px 14px 18px}.game-adventure-top-tab{min-width:calc(50% - 8px)}.game-adventure-hero-copy h2{font-size:34px}.game-adventure-hero-copy p{font-size:14px}}
@media(max-width:520px){.game-adventure-top-tab{min-width:100%}}

/* ===== 3.10.78 Adventure Guide true book rebuild ===== */
.game-adventure-guide{overflow:hidden;border:1px solid #5a4527;border-radius:16px;background:#070b0e;box-shadow:0 24px 70px rgba(0,0,0,.34),inset 0 0 0 1px rgba(229,181,80,.045)}
.game-adventure-guide-header{position:relative;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.9fr);grid-template-areas:'title banner' 'tabs tabs' 'controls controls';gap:0 20px;padding:18px 18px 0;border-bottom:1px solid #392f22;background:linear-gradient(180deg,#11161a,#0a0f12)}
.game-adventure-guide-title{grid-area:title;align-self:center;min-width:0;padding:8px 0 14px}
.game-adventure-guide-title h2{margin:3px 0 7px;color:#efcf7e;font:700 44px/.98 Georgia,'Times New Roman',serif;letter-spacing:.045em;text-shadow:0 0 20px rgba(223,171,75,.08)}
.game-adventure-guide-title p{margin:0;max-width:840px;color:#aeb8bd;font-size:14px;line-height:1.55}
.game-adventure-guide-banner{grid-area:banner;min-height:150px;margin:0 0 14px;border:1px solid #5b4525;border-radius:12px;background:linear-gradient(90deg,rgba(5,9,12,.05),rgba(5,9,12,.12)),url('/assets/img/arcade/crown-ember-hero-card.webp') center/cover no-repeat;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02),0 10px 30px rgba(0,0,0,.2)}
.game-adventure-guide-tabs{grid-area:tabs;display:grid;grid-template-columns:repeat(5,minmax(125px,1fr));gap:8px;padding:4px 0 12px}
.game-adventure-guide-tab{display:flex;align-items:center;gap:10px;min-width:0;border:1px solid #303a40;border-radius:8px;background:#0b1013;color:#c5ced3;padding:9px 12px;cursor:pointer;transition:.15s}
.game-adventure-guide-tab:hover{border-color:#765b2d;background:#131719}.game-adventure-guide-tab.active{border-color:#d6a640;background:linear-gradient(180deg,#2c1f0e,#15130e);box-shadow:inset 0 -2px #dfa946,0 0 18px rgba(207,155,55,.1)}
.game-adventure-guide-tab .game-tab-art{width:36px;height:36px;object-fit:cover!important;border:1px solid #564427;border-radius:6px;background:#090b0d;flex:0 0 36px}.game-adventure-guide-tab span{display:grid;min-width:0}.game-adventure-guide-tab b{color:#dfc784;font:700 13px/1.05 Georgia,'Times New Roman',serif}.game-adventure-guide-tab small{margin-top:3px;color:#6eb8f4;font-size:10px;font-weight:900}.game-adventure-guide-tab.active b{color:#f3cf79}
.game-adventure-guide-controls{grid-area:controls;display:grid;grid-template-columns:minmax(300px,1fr) 170px 150px;gap:10px;padding:0 0 15px}.game-adventure-guide-controls label{display:grid;gap:5px}.game-adventure-guide-controls label>span{font-size:9px;letter-spacing:.12em;font-weight:900;color:#7f8b92}.game-adventure-guide-controls input,.game-adventure-guide-controls select{min-width:0;height:42px;border:1px solid #37424a;border-radius:7px;background:#0a0e11;color:#d7dee2;padding:0 12px;font-size:13px;outline:none}.game-adventure-guide-controls input:focus,.game-adventure-guide-controls select:focus{border-color:#b78635;box-shadow:0 0 0 1px rgba(183,134,53,.26)}
.game-adventure-guide-main{display:grid;grid-template-columns:190px minmax(420px,.95fr) minmax(520px,1.18fr);min-height:640px;background:#090d10}
.game-adventure-category-rail{padding:10px;border-right:1px solid #31291e;background:linear-gradient(180deg,#0a0d0f,#080b0d)}.game-adventure-category-rail button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:1px solid transparent;border-radius:7px;background:transparent;color:#c3ccd1;padding:11px 10px;text-align:left;cursor:pointer;margin-bottom:5px}.game-adventure-category-rail button:hover{border-color:#3a4348;background:#101519}.game-adventure-category-rail button.active{border-color:#d1a040;background:linear-gradient(90deg,#271b0d,#13171a);box-shadow:inset 3px 0 #e0ad48}.game-adventure-category-rail span{font:700 12px/1.1 Georgia,'Times New Roman',serif}.game-adventure-category-rail small{color:#66b7e8;font-size:10px;font-weight:900}
.game-adventure-guide-list{min-width:0;padding:10px;border-right:1px solid #392f22;background:#0d1114}.game-adventure-guide-list-head{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:2px 2px 9px;border-bottom:1px solid #30383d}.game-adventure-guide-list-head b{color:#e8c979;font:700 15px Georgia,'Times New Roman',serif}.game-adventure-guide-list-head span{color:#78858c;font-size:10px}.game-adventure-guide-list>[data-adventure-entry-list]{display:grid;gap:5px;max-height:600px;overflow:auto;padding:8px 0;scrollbar-color:#66512d #0b0f12}
.game-adventure-entry{display:grid;grid-template-columns:56px minmax(0,1fr) auto 18px;align-items:center;gap:10px;width:100%;border:1px solid #2b343a;border-radius:7px;background:#090d10;color:#dbe1e4;padding:6px 8px;text-align:left;cursor:pointer;min-width:0}.game-adventure-entry:hover{border-color:#5e5037;background:#101519}.game-adventure-entry.active{border-color:#dfa83e;background:linear-gradient(90deg,#2b200f,#17140e 55%,#101417);box-shadow:inset 3px 0 #e6b44f}.game-adventure-entry.locked{opacity:.62}.game-adventure-entry[hidden]{display:none!important}.game-adventure-entry-art{width:54px;height:54px;border:1px solid #354049;border-radius:6px;background:#090b0d;overflow:hidden}.game-adventure-entry-image{width:100%;height:100%;object-fit:cover!important;display:block}.game-adventure-entry-copy{display:grid;gap:3px;min-width:0}.game-adventure-entry-copy b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e2e8eb;font:700 14px/1.15 Georgia,'Times New Roman',serif}.game-adventure-entry-copy small{color:#839097;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-adventure-entry-loot{display:flex;align-items:center;justify-content:flex-end;gap:4px;min-width:110px}.game-adventure-entry-loot>small{display:block;color:#7b878d;font-size:7px;font-weight:900;letter-spacing:.08em;margin-right:3px}.game-adventure-loot-icon{width:28px;height:28px;object-fit:contain!important;border:1px solid #364048;background:#090b0d;border-radius:4px;padding:2px}.game-adventure-entry-arrow{color:#aeb7bc;font-size:23px}.game-adventure-entry-progress{display:grid;justify-items:end;gap:4px;min-width:90px}.game-adventure-entry-progress i{display:block;width:76px;height:5px;background:#263038;border-radius:99px;overflow:hidden}.game-adventure-entry-progress i b{display:block;height:100%;background:#cda042}.game-adventure-entry-progress small{font-size:9px;color:#829098}
.game-adventure-entry-no-art{grid-template-columns:minmax(0,1fr) auto 18px}
.game-adventure-entry-no-art .game-adventure-entry-copy b{white-space:normal;overflow:visible;text-overflow:clip}
.game-adventure-entry-no-art .game-adventure-entry-copy small{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.25}
.game-completion-summary-entry{align-items:flex-start;padding-top:8px;padding-bottom:8px}
.game-completion-summary-entry .game-adventure-entry-progress{padding-top:3px}

.game-adventure-guide-details{min-width:0;padding:10px;background:#11100d}.game-adventure-parchment{height:100%;min-height:620px;padding:18px;border:1px solid #b99a66;border-radius:8px;background:linear-gradient(180deg,#efe0b9,#e6d19f 52%,#ddc28c);color:#2b2116;box-shadow:inset 0 0 0 2px rgba(103,70,32,.14),0 10px 26px rgba(0,0,0,.22);font-family:Georgia,'Times New Roman',serif}.game-adventure-parchment .eyebrow{color:#77511d}.game-adventure-detail-head{display:grid;grid-template-columns:160px minmax(0,1fr);gap:18px;align-items:start}.game-adventure-detail-art{height:160px;border:2px solid #7f5a22;background:#0b0d0f;padding:4px;box-shadow:inset 0 0 0 1px #d5b56c}.game-adventure-detail-image{width:100%;height:100%;object-fit:cover!important}.game-adventure-detail-head h2{margin:3px 0 5px;color:#2c1d12;font:700 30px/1 Georgia,'Times New Roman',serif}.game-adventure-detail-head p{margin:0;color:#604d34;font-size:13px}.game-adventure-detail-copy{margin:16px 0;color:#4b3a28;font-size:14px;line-height:1.55}.game-adventure-stat-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.game-adventure-stat-chips span{border:1px solid rgba(86,58,28,.25);background:rgba(255,255,255,.18);padding:6px 8px;border-radius:999px;color:#4b3928;font-size:10px}.game-adventure-stat-chips b{color:#2a1c12}.game-adventure-parchment-section{margin-top:15px;padding-top:12px;border-top:1px solid rgba(93,63,30,.28)}.game-adventure-parchment-section h3{margin:0 0 9px;padding:6px 8px;background:#4b3218;color:#f3dc9d;font:700 12px/1 Georgia,'Times New Roman',serif;letter-spacing:.05em}.game-adventure-loot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.game-adventure-loot-grid>div{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-areas:'art name' 'art chance';gap:1px 7px;align-items:center;border:1px solid rgba(91,62,28,.24);background:rgba(255,255,255,.18);padding:6px}.game-adventure-loot-card-art{grid-area:art;width:42px;height:42px;object-fit:contain!important;border:1px solid rgba(91,62,28,.3);background:#0d1012;padding:2px}.game-adventure-loot-grid b{grid-area:name;color:#342315;font-size:10px}.game-adventure-loot-grid span{grid-area:chance;color:#6b563d;font-size:9px}.game-adventure-detail-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:15px 0}.game-adventure-detail-stats>span{display:grid;gap:3px;border:1px solid rgba(91,62,28,.24);background:rgba(255,255,255,.16);padding:9px}.game-adventure-detail-stats small{color:#7a6549;font-size:8px;font-weight:900;letter-spacing:.08em}.game-adventure-detail-stats b{color:#302013;font-size:12px}.game-adventure-main-action{width:100%;min-height:48px;border-color:#8c621e!important;color:#17120c!important;background:linear-gradient(180deg,#edc75e,#c8942c)!important;font:700 15px Georgia,'Times New Roman',serif!important}.game-adventure-dual-actions{display:grid;grid-template-columns:1fr auto;gap:9px;align-items:center}
.game-adventure-live-combat{margin:12px 0;padding:10px;border:1px solid rgba(91,62,28,.26);background:rgba(53,36,18,.08)}.game-adventure-live-stats{display:flex;flex-wrap:wrap;gap:7px;margin:7px 0}.game-adventure-live-stats span{padding:5px 7px;border:1px solid rgba(91,62,28,.2);font-size:10px}.game-adventure-parchment .game-live-hp i{background:rgba(86,58,28,.25)}.game-adventure-parchment .game-combat-log.compact{max-height:116px;overflow:auto;background:rgba(51,34,17,.08);border-color:rgba(91,62,28,.2)}.game-adventure-parchment .game-combat-log span{color:#473624}
.game-adventure-dungeon-live{display:grid;grid-template-columns:1fr auto;gap:8px;margin:12px 0;padding:10px;border:1px solid rgba(91,62,28,.25);background:rgba(255,255,255,.12)}.game-adventure-dungeon-live>div:first-child{display:grid;gap:3px}.game-adventure-dungeon-live>div:first-child small{color:#7b6040;font-size:8px;font-weight:900}.game-adventure-dungeon-live>div:first-child b{font-size:15px}.game-adventure-dungeon-live>div:first-child span{font-size:10px}.game-adventure-dungeon-live>strong{font-size:22px;color:#7b4b14}.game-adventure-run-bar{grid-column:1/-1;display:block;height:6px;border-radius:999px;background:rgba(77,53,27,.2);overflow:hidden}.game-adventure-run-bar b{display:block;height:100%;background:#c88e2c}.game-adventure-dungeon-live-enemy{grid-column:1/-1;height:90px;overflow:hidden}.game-adventure-dungeon-live-enemy img{width:100%;height:100%;object-fit:cover!important}.game-adventure-dungeon-live .game-dungeon-event-feed{grid-column:1/-1;max-height:88px;overflow:auto}.game-adventure-dungeon-live .game-dungeon-event-feed span{display:block;font-size:9px;color:#55452f}
.game-adventure-dungeon-path{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.game-adventure-dungeon-path .game-dungeon-enemy{background:rgba(255,255,255,.16);border-color:rgba(91,62,28,.25);color:#392a1a}.game-adventure-dungeon-path .game-arrow{color:#73541f}.game-adventure-quest-reward{display:grid;gap:4px}.game-adventure-quest-reward b{color:#342315}.game-adventure-quest-reward span{color:#66513a;font-size:11px}.game-adventure-objectives{display:grid;gap:7px;margin:0;padding:0;list-style:none}.game-adventure-objectives li{display:flex;gap:8px;align-items:flex-start;border:1px solid rgba(91,62,28,.18);background:rgba(255,255,255,.14);padding:8px;color:#4c3b29}.game-adventure-objectives li.done{color:#3b6b43}.game-adventure-objectives li span{font-weight:900}
.game-adventure-completion-big{display:grid;gap:8px;margin:18px 0;padding:18px;border:1px solid rgba(91,62,28,.25);background:rgba(255,255,255,.17)}.game-adventure-completion-big strong{font-size:44px;color:#704915}.game-adventure-completion-big span{color:#5e4a34}.game-adventure-completion-big i{height:8px;background:rgba(89,62,32,.2);overflow:hidden;border-radius:999px}.game-adventure-completion-big i b{display:block;height:100%;background:#b77c22}.game-adventure-completion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.game-adventure-completion-chip{display:grid;gap:2px;padding:8px;border:1px solid rgba(91,62,28,.2);background:rgba(255,255,255,.15)}.game-adventure-completion-chip b{font-size:10px}.game-adventure-completion-chip small{font-size:9px;color:#6a563d}
.game-adventure-guide-footer{display:grid;grid-template-columns:1.05fr .95fr 1fr;gap:8px;padding:10px;border-top:1px solid #3b3021;background:#090d10}.game-adventure-guide-footer>section{min-width:0;border:1px solid #3c3529;background:linear-gradient(180deg,#111518,#0b0e10);padding:10px;border-radius:8px}.game-adventure-footer-head{display:flex;justify-content:space-between;gap:10px;padding-bottom:7px;margin-bottom:7px;border-bottom:1px solid #2d3438}.game-adventure-footer-head span{color:#d6b766;font:700 11px Georgia,'Times New Roman',serif;letter-spacing:.06em}.game-adventure-footer-head small{color:#7e8a91;font-size:8px}.game-adventure-footer-loot{display:flex;gap:6px;align-items:center;min-height:42px;margin-bottom:7px}.game-adventure-footer-item{position:relative;display:block;width:42px;height:42px;border:1px solid #384249;border-radius:5px;background:#090c0f}.game-adventure-footer-art{width:100%;height:100%;object-fit:contain!important;padding:2px}.game-adventure-footer-item b{position:absolute;right:2px;bottom:1px;padding:1px 3px;border-radius:3px;background:#0b0d0f;color:#efcf7e;font-size:8px}.game-adventure-footer-empty{display:block;color:#808b91;font-size:10px;line-height:1.35}.game-adventure-footer-quests{display:grid;gap:6px}.game-adventure-footer-quest{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px}.game-adventure-footer-quest b{color:#d7dee2;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-adventure-footer-quest span{color:#8d999f;font-size:9px}.game-adventure-footer-quest i{grid-column:1/-1;height:5px;background:#283138;border-radius:999px;overflow:hidden}.game-adventure-footer-quest i b{display:block;height:100%;background:#cda042}.game-adventure-footer-slayer{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:8px;align-items:center}.game-adventure-footer-slayer.empty{grid-template-columns:1fr}.game-adventure-footer-monster{width:44px;height:44px;object-fit:cover!important;border:1px solid #3a444b;border-radius:5px}.game-adventure-footer-slayer>div{display:grid;gap:3px}.game-adventure-footer-slayer b{color:#d8e0e4;font-size:10px}.game-adventure-footer-slayer span{color:#7f8b92;font-size:9px}
.game-adventure-extra{margin:10px;border:1px solid #3c3429;border-radius:8px;background:#0b1013;overflow:hidden}.game-adventure-extra>summary{cursor:pointer;list-style:none;padding:11px 13px;color:#e3c274;font:700 12px Georgia,'Times New Roman',serif}.game-adventure-extra>summary::-webkit-details-marker{display:none}.game-adventure-extra>summary:after{content:'+';float:right;color:#d0a244}.game-adventure-extra[open]>summary:after{content:'−'}.game-adventure-extra-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 10px 10px}.game-adventure-setup-block{border:1px solid #303a40;border-radius:7px;background:#090d10;padding:9px}.game-adventure-setup-block>b{display:block;color:#e2c376;font-size:11px;margin-bottom:6px}.game-adventure-setup-block>div{display:flex;flex-wrap:wrap;gap:5px}.game-adventure-setup-block small{display:block;color:#7f8b92;font-size:9px;margin-top:5px}.game-adventure-list-empty{padding:18px;text-align:center;color:#89959b;font-size:11px}
@media(max-width:1500px){.game-adventure-guide-main{grid-template-columns:165px minmax(360px,.9fr) minmax(450px,1.08fr)}.game-adventure-detail-head{grid-template-columns:130px minmax(0,1fr)}.game-adventure-detail-art{height:130px}.game-adventure-detail-head h2{font-size:26px}.game-adventure-guide-title h2{font-size:38px}}
@media(max-width:1180px){.game-adventure-guide-header{grid-template-columns:1fr;grid-template-areas:'title' 'banner' 'tabs' 'controls'}.game-adventure-guide-banner{min-height:130px}.game-adventure-guide-tabs{overflow:auto;display:flex}.game-adventure-guide-tab{flex:0 0 155px}.game-adventure-guide-controls{grid-template-columns:1fr 150px 135px}.game-adventure-guide-main{grid-template-columns:150px 1fr}.game-adventure-guide-details{grid-column:1/-1;border-top:1px solid #392f22}.game-adventure-parchment{min-height:0}.game-adventure-guide-footer{grid-template-columns:1fr 1fr}.game-adventure-guide-footer>section:last-child{grid-column:1/-1}}
@media(max-width:760px){.game-adventure-guide-header{padding:14px 12px 0}.game-adventure-guide-title h2{font-size:29px}.game-adventure-guide-title p{font-size:12px}.game-adventure-guide-controls{grid-template-columns:1fr}.game-adventure-guide-main{grid-template-columns:1fr}.game-adventure-category-rail{display:flex;overflow:auto;border-right:0;border-bottom:1px solid #31291e}.game-adventure-category-rail button{flex:0 0 150px;margin:0 5px 0 0}.game-adventure-guide-list{border-right:0}.game-adventure-entry{grid-template-columns:50px minmax(0,1fr) 18px}.game-adventure-entry-no-art{grid-template-columns:minmax(0,1fr) 18px}.game-adventure-entry-loot,.game-adventure-entry-progress{display:none}.game-adventure-detail-head{grid-template-columns:96px minmax(0,1fr)}.game-adventure-detail-art{height:96px}.game-adventure-detail-head h2{font-size:21px}.game-adventure-loot-grid,.game-adventure-detail-stats,.game-adventure-completion-grid{grid-template-columns:1fr}.game-adventure-guide-footer{grid-template-columns:1fr}.game-adventure-guide-footer>section:last-child{grid-column:auto}.game-adventure-extra-grid{grid-template-columns:1fr}.game-adventure-dual-actions{grid-template-columns:1fr}}


/* ===== 3.10.79 Guide references and richer information ===== */
.game-guide-info-block{margin-top:13px;padding:10px;border:1px solid rgba(94,63,30,.28);background:rgba(255,255,255,.13);color:#493724}.game-guide-info-block.compact{padding:9px}.game-guide-info-block>h4{margin:0 0 9px;padding:6px 8px;background:#4b3218;color:#f3dc9d;font:700 11px/1 Georgia,'Times New Roman',serif;letter-spacing:.06em}.game-guide-info-block p.game-guide-intro,.game-guide-fineprint{margin:7px 0;color:#604d34;font-size:10px;line-height:1.45}.game-guide-source-none{display:block;color:#75634c;font-size:9px;line-height:1.35;margin-top:4px}
.game-guide-steps{list-style:none;padding:0;margin:0;display:grid;gap:7px}.game-guide-steps>li{display:grid;grid-template-columns:23px minmax(0,1fr);gap:7px;align-items:start}.game-guide-steps>li>b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#4b3218;color:#f3dc9d;font-size:10px}.game-guide-steps strong{display:block;font-size:10px;color:#382718;margin:1px 0 3px}.game-guide-steps p{margin:2px 0 5px;color:#5f4c35;font-size:9px;line-height:1.4}.game-guide-material-sources{display:grid;gap:6px;margin-top:5px}.game-guide-material-source{padding:6px;border:1px solid rgba(91,62,28,.18);background:rgba(255,255,255,.1)}.game-guide-material-source>span{display:flex;justify-content:space-between;gap:8px}.game-guide-material-source>span b{font-size:9px;color:#392817}.game-guide-material-source>span small{font-size:8px;color:#755f43}.game-guide-subsection{margin-top:8px;padding-top:7px;border-top:1px solid rgba(91,62,28,.22)}.game-guide-subsection>b{font-size:9px;color:#64451f;letter-spacing:.05em}.game-guide-loot-use{margin-top:6px}.game-guide-loot-use>b{font-size:9px;color:#3a2818}.game-guide-objective-list{display:grid;gap:6px}.game-guide-objective-help{display:grid;grid-template-columns:24px minmax(0,1fr);gap:7px;padding:6px;border:1px solid rgba(91,62,28,.18);background:rgba(255,255,255,.1)}.game-guide-objective-help>span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#4b3218;color:#f3dc9d;font-size:9px}.game-guide-objective-help.done{opacity:.68}.game-guide-objective-help div>b{display:block;color:#392817;font-size:9px}.game-guide-objective-help div>small{display:block;color:#705b40;font-size:8px;margin-top:2px}
.game-adventure-parchment .game-guide-info-block{font-family:Georgia,'Times New Roman',serif}
@media(max-width:760px){.game-guide-gear-meta,.game-guide-stat-grid{grid-template-columns:1fr}}


/* ===== 3.10.80 combat health visibility ===== */
.game-adventure-live-combat{display:grid;gap:10px}
.game-adventure-live-battle{display:grid;grid-template-columns:minmax(0,1fr) 66px minmax(0,1fr);gap:10px;align-items:center}
.game-adventure-live-side{display:grid;grid-template-columns:78px minmax(0,1fr);gap:10px;align-items:center;padding:8px;border:1px solid rgba(91,62,28,.22);background:rgba(255,255,255,.12)}
.game-adventure-live-avatar{width:78px;height:78px;border:2px solid #7f5a22;background:#0b0d0f;padding:3px;box-shadow:inset 0 0 0 1px #d5b56c;overflow:hidden}
.game-adventure-live-avatar img,.game-adventure-live-avatar canvas,.game-adventure-live-avatar svg,.game-adventure-live-avatar .game-avatar-portrait{width:100%;height:100%;object-fit:cover!important;display:block}
.game-adventure-live-copy{display:grid;gap:4px;min-width:0}
.game-adventure-live-copy small{color:#7a6549;font-size:8px;font-weight:900;letter-spacing:.1em}
.game-adventure-live-copy b{color:#302013;font-size:18px;line-height:1.05}
.game-adventure-live-copy>span{color:#5d4a35;font-size:10px;line-height:1.35}
.game-adventure-live-versus{display:grid;place-items:center;width:66px;height:66px;border-radius:50%;border:1px solid rgba(91,62,28,.28);background:radial-gradient(circle at 50% 42%,rgba(255,255,255,.18),rgba(75,50,24,.25));color:#6c4816;font:700 22px/1 Georgia,'Times New Roman',serif}
.game-adventure-parchment .game-adventure-live-combat .game-live-hp{width:100%;max-width:none;margin-top:2px}
.game-adventure-parchment .game-adventure-live-combat .game-live-hp>span{font-size:11px!important}
@media(max-width:700px){.game-adventure-live-battle{grid-template-columns:1fr}.game-adventure-live-versus{width:52px;height:52px;justify-self:center}.game-adventure-live-side{grid-template-columns:66px minmax(0,1fr)}.game-adventure-live-avatar{width:66px;height:66px}}


/* ===== 3.10.81 live-combat portrait fit ===== */
.game-adventure-live-avatar.player{padding:4px;background:linear-gradient(180deg,#17120c,#080b0d);display:grid;place-items:center}
.game-adventure-live-player-art{width:100%!important;height:100%!important;display:block!important;object-fit:contain!important;object-position:center bottom!important;border:0!important;border-radius:0!important;background:#090c0e}
.game-adventure-live-avatar.player:after{content:"";position:absolute;inset:4px;pointer-events:none;box-shadow:inset 0 0 18px rgba(214,170,82,.12)}
.game-adventure-live-avatar{position:relative}


/* ===== 3.10.82 small in-page help cards ===== */
.game-page-quick-help{display:grid;grid-template-columns:190px minmax(0,1fr);gap:10px 14px;align-items:start;margin:10px 12px 14px;padding:10px 12px;border:1px solid #6d542b;border-radius:9px;background:linear-gradient(180deg,#17130d,#0d1012);box-shadow:inset 0 0 0 1px rgba(228,184,96,.04)}
.game-production-book>.game-page-quick-help,.game-adventure-guide>.game-page-quick-help{margin:0;border-left:0;border-right:0;border-radius:0;background:linear-gradient(180deg,#12130f,#0b0f12)}
.game-page-quick-help-title{display:grid;gap:3px}.game-page-quick-help-title span{color:#8d9498;font-size:8px;font-weight:900;letter-spacing:.12em}.game-page-quick-help-title b{color:#efca72;font:700 15px/1.1 Georgia,'Times New Roman',serif}
.game-page-quick-help-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.game-page-quick-help-steps>span{display:grid;grid-template-columns:22px minmax(0,1fr);gap:7px;align-items:start;color:#bcc5c9;font-size:10px;line-height:1.4}.game-page-quick-help-steps>span>b{display:grid;place-items:center;width:21px;height:21px;border:1px solid #80622d;border-radius:50%;background:#21180c;color:#f0ce7c;font-size:9px}
.game-page-quick-help>p{grid-column:2;margin:0;color:#8f9a9f;font-size:9px;line-height:1.4}.game-page-quick-help>p:before{content:'TIP · ';color:#c9a357;font-weight:900;letter-spacing:.05em}
@media(max-width:900px){.game-page-quick-help{grid-template-columns:1fr}.game-page-quick-help-steps{grid-template-columns:1fr}.game-page-quick-help>p{grid-column:1}}


/* ===== 3.10.83 readability + top status separation ===== */
/* Keep one top status box, but visually group action/STOP/stats away from music. */
body.crown-ember-page.game-authenticated .game-topbar{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(360px,520px)!important;
  align-items:center!important;
  gap:24px!important;
}
.game-status-cluster{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  padding-right:22px;
  border-right:1px solid #3d3428;
}
.game-status-cluster .game-active{
  flex:1 1 360px;
  min-width:280px;
  margin-right:0!important;
}
.game-status-cluster .game-active>div{min-width:0;flex:1 1 auto}
.game-status-cluster .game-progress{width:100%!important;max-width:460px!important}
.game-status-cluster #game-stop{flex:0 0 auto;margin:0 4px 0 0;min-width:72px}
.game-status-cluster .game-topstats{flex:0 0 auto;gap:4px}
.game-status-cluster .game-topstats span{min-width:88px;padding:7px 9px}
.game-topbar .game-music-console{justify-self:end;width:min(100%,520px);min-width:360px}

/* Readability pass: increase only small/subtext, not panels or main headings. */
.game-page-quick-help-title span{font-size:10px!important}
.game-page-quick-help-title b{font-size:16px!important}
.game-page-quick-help-steps>span{font-size:12px!important;line-height:1.48!important}
.game-page-quick-help-steps>span>b{font-size:10px!important}
.game-page-quick-help>p{font-size:11px!important;line-height:1.48!important}

.game-book-title p,.game-book-view-head p{font-size:13.5px!important;line-height:1.5!important}
.game-book-controls label>span{font-size:10.5px!important}
.game-book-skill-tab small{font-size:10.5px!important}
.game-book-row-copy small{font-size:11px!important}
.game-book-row-mastery small{font-size:10px!important}
.game-book-row-mastery strong{font-size:12px!important}
.game-book-pattern,.game-book-pattern b{font-size:11.5px!important}
.game-book-material span{font-size:10.5px!important}
.game-book-material strong{font-size:9.5px!important}
.game-book-stat-list span{font-size:11.5px!important;line-height:1.4!important}
.game-book-craft-row small{font-size:9.5px!important}
.game-book-craft-row span{font-size:10.5px!important;line-height:1.4!important}
.game-book-material-index span,.game-book-tool-grid span{font-size:10.5px!important}
.game-book-material-index small,.game-book-tool-grid small{font-size:10.5px!important;line-height:1.4!important}
.game-book-mastery-list span,.game-book-mastery-list small{font-size:10.5px!important}
.game-book-bonfire span{font-size:11.5px!important}.game-book-bonfire small{font-size:10.5px!important}

.game-adventure-guide-title p{font-size:15px!important;line-height:1.58!important}
.game-adventure-guide-tab small{font-size:11px!important}
.game-adventure-guide-controls label>span{font-size:10.5px!important}
.game-adventure-category-rail small{font-size:11px!important}
.game-adventure-guide-list-head span{font-size:11px!important}
.game-adventure-entry-copy small{font-size:11px!important}
.game-adventure-entry-loot>small{font-size:9.5px!important}
.game-adventure-entry-progress small{font-size:10.5px!important}
.game-adventure-detail-head p{font-size:14px!important}
.game-adventure-detail-copy{font-size:15px!important;line-height:1.6!important}
.game-adventure-stat-chips span{font-size:11px!important}
.game-adventure-loot-grid b{font-size:11px!important}.game-adventure-loot-grid span{font-size:10.5px!important}
.game-adventure-detail-stats small{font-size:9.5px!important}.game-adventure-detail-stats b{font-size:13px!important}
.game-adventure-live-stats span{font-size:11px!important}
.game-adventure-footer-head small{font-size:10px!important}
.game-adventure-footer-empty{font-size:11px!important}
.game-adventure-footer-quest b{font-size:11px!important}.game-adventure-footer-quest span{font-size:10.5px!important}
.game-adventure-footer-slayer b{font-size:11px!important}.game-adventure-footer-slayer span{font-size:10.5px!important}
.game-adventure-setup-block small{font-size:10.5px!important;line-height:1.4!important}

.game-guide-info-block p.game-guide-intro,.game-guide-fineprint{font-size:11.5px!important;line-height:1.5!important}
.game-guide-source-none{font-size:10.5px!important}
.game-guide-gear-meta small,.game-guide-stat-grid small{font-size:9.5px!important}
.game-guide-gear-meta b,.game-guide-stat-grid b{font-size:11.5px!important}
.game-guide-set-bonuses>b{font-size:11.5px!important}.game-guide-set-bonuses span{font-size:10.5px!important}
.game-guide-steps strong{font-size:11.5px!important}.game-guide-steps p{font-size:10.5px!important;line-height:1.48!important}
.game-guide-material-source>span b{font-size:10.5px!important}.game-guide-material-source>span small{font-size:9.5px!important}
.game-guide-subsection>b,.game-guide-loot-use>b{font-size:10.5px!important}
.game-guide-objective-help div>b{font-size:10.5px!important}.game-guide-objective-help div>small{font-size:9.5px!important;line-height:1.4!important}

/* Top-bar labels get a mild bump while preserving their existing footprint. */
.game-status-cluster .game-active small,.game-status-cluster .game-topstats small{font-size:11px!important}
.game-status-cluster .game-topstats b{font-size:16px!important}

@media(max-width:1280px){
  body.crown-ember-page.game-authenticated .game-topbar{grid-template-columns:1fr!important;gap:12px!important}
  .game-status-cluster{border-right:0;border-bottom:1px solid #3d3428;padding:0 0 12px}
  .game-topbar .game-music-console{justify-self:stretch;width:100%;max-width:none;min-width:0}
}
@media(max-width:760px){
  .game-status-cluster{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
  .game-status-cluster .game-active{grid-column:1/-1;min-width:0;width:100%}
  .game-status-cluster .game-topstats{grid-column:1/-1;width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .game-status-cluster #game-stop{grid-column:2;grid-row:1;align-self:start;justify-self:end}
}

/* ===== 3.10.84 Full Crown & Ember Guidebook conversion ===== */
.game-universal-guidebook .game-universal-guide-controls{grid-template-columns:minmax(320px,1fr)!important}
.game-universal-guidebook .game-adventure-guide-main{grid-template-columns:180px minmax(340px,.78fr) minmax(560px,1.22fr)}
.game-universal-guidebook .game-adventure-guide-list>[data-universal-entry-list]{display:grid;gap:5px;max-height:600px;overflow:auto;padding:8px 0;scrollbar-color:#66512d #0b0f12}
.game-universal-guidebook .game-adventure-entry.complete{border-color:#5e7d55;background:linear-gradient(90deg,#152417,#101617)}
.game-universal-guidebook .game-adventure-entry-progress>b{color:#e9c872;font-size:12px}
.game-universal-progress{display:grid;grid-template-columns:150px minmax(300px,1fr) 150px auto;gap:10px;align-items:center;margin:10px;border:1px solid #3c3429;border-radius:8px;background:#0b1013;padding:10px 12px;color:#d7dee2}
.game-universal-progress>div{display:grid;gap:2px}.game-universal-progress>div>span{color:#87939a;font-size:10px;font-weight:900;letter-spacing:.06em}.game-universal-progress>div>b{color:#e5c77a;font:700 17px Georgia,'Times New Roman',serif}.game-universal-progress-main .game-xp-row{margin:0}.game-universal-token{grid-template-columns:auto auto!important;align-items:center;gap:7px!important}
.game-guidebook-plot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.game-guidebook-plot-grid>div{display:grid;gap:5px;padding:8px;border:1px solid rgba(91,62,28,.24);background:rgba(255,255,255,.14)}.game-guidebook-plot-grid>div.ready{border-color:#8b6d2f;background:rgba(218,181,88,.18)}.game-guidebook-plot-grid b{color:#332317;font-size:10px}.game-guidebook-plot-grid span{color:#655038;font-size:9px}
.game-guidebook-mod-grid{display:grid;gap:7px}.game-guidebook-mod-grid>div{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'name button' 'meta button';gap:2px 8px;align-items:center;padding:8px;border:1px solid rgba(91,62,28,.22);background:rgba(255,255,255,.12)}.game-guidebook-mod-grid b{grid-area:name;color:#352417;font-size:10px}.game-guidebook-mod-grid span{grid-area:meta;color:#6c573c;font-size:9px}.game-guidebook-mod-grid button{grid-area:button}
.game-guidebook-bonus-grid{display:grid;gap:7px}.game-guidebook-bonus-grid>div{display:grid;grid-template-columns:80px minmax(0,1fr);gap:8px;padding:8px;border:1px solid rgba(91,62,28,.22);background:rgba(255,255,255,.11);opacity:.72}.game-guidebook-bonus-grid>div.active{border-color:#816022;background:rgba(225,184,74,.19);opacity:1}.game-guidebook-bonus-grid b{color:#654515;font-size:10px}.game-guidebook-bonus-grid span{color:#493725;font-size:10px;line-height:1.4}
.game-guidebook-item-actions{margin-top:15px;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.game-guidebook-item-actions>*{min-height:40px}
.game-guidebook-index-card{display:grid;width:100%;gap:5px;margin:7px 0;padding:11px;border:1px solid #2f393f;border-radius:7px;background:#0a0f12;color:#d7dee2;text-align:left;cursor:pointer}.game-guidebook-index-card.active{border-color:#c4963d;background:linear-gradient(90deg,#261c0d,#111619);cursor:default}.game-guidebook-index-card b{color:#e4c573;font:700 13px Georgia,'Times New Roman',serif}.game-guidebook-index-card span{color:#8e999f;font-size:10px;line-height:1.45}
.game-guidebook-workspace{padding:12px!important;background:linear-gradient(180deg,#e7d39f,#dbc08a)!important}.game-guidebook-embedded{min-height:570px;padding:13px;border:1px solid #3a3329;border-radius:7px;background:#0a0f12;color:#d9e0e4;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)}.game-guidebook-embedded .game-panel-head:first-child{margin-top:0}.game-guidebook-embedded .game-panel-head h2,.game-guidebook-embedded .game-panel-head h3,.game-guidebook-embedded h2,.game-guidebook-embedded h3{color:#e7c97c}.game-guidebook-embedded p,.game-guidebook-embedded small{color:#9ba6ac}
.game-legacy-guidebook .game-adventure-guide-main{grid-template-columns:180px 290px minmax(650px,1.6fr)}
@media(max-width:1500px){.game-universal-guidebook .game-adventure-guide-main{grid-template-columns:165px minmax(300px,.7fr) minmax(500px,1.15fr)}.game-legacy-guidebook .game-adventure-guide-main{grid-template-columns:155px 260px minmax(560px,1.5fr)}}
@media(max-width:1180px){.game-universal-guidebook .game-adventure-guide-main,.game-legacy-guidebook .game-adventure-guide-main{grid-template-columns:150px 1fr}.game-universal-guidebook .game-adventure-guide-details,.game-legacy-guidebook .game-adventure-guide-details{grid-column:1/-1}.game-universal-progress{grid-template-columns:1fr 1fr}.game-universal-progress-main{grid-column:1/-1;grid-row:2}}
@media(max-width:760px){.game-universal-guidebook .game-adventure-guide-main,.game-legacy-guidebook .game-adventure-guide-main{grid-template-columns:1fr}.game-universal-progress{grid-template-columns:1fr}.game-universal-progress-main{grid-column:auto;grid-row:auto}.game-guidebook-plot-grid,.game-guidebook-item-actions{grid-template-columns:1fr}.game-guidebook-workspace{padding:8px!important}.game-guidebook-embedded{padding:9px;min-height:0}}

/* ===== 3.10.85 Dungeon log readability + dungeon loot tables ===== */
.game-adventure-dungeon-live .game-dungeon-event-feed,
.game-dungeon-run-live .game-dungeon-event-feed{
  background:#080b0d!important;
  border-color:#343b40!important;
  padding:12px!important;
  gap:7px!important;
}
.game-adventure-dungeon-live .game-dungeon-event-feed{
  max-height:150px!important;
  min-height:108px!important;
}
.game-adventure-dungeon-live .game-dungeon-event-feed span,
.game-dungeon-run-live .game-dungeon-event-feed span{
  display:block!important;
  padding:8px 10px!important;
  border:1px solid #242d33!important;
  border-left:4px solid #7e919d!important;
  border-radius:4px!important;
  background:#10161a!important;
  color:#e7edf1!important;
  font-size:12px!important;
  line-height:1.48!important;
  font-weight:600!important;
  letter-spacing:.005em!important;
  text-shadow:0 1px 1px #000!important;
}
.game-adventure-dungeon-live .game-dungeon-event-feed span.player,
.game-dungeon-run-live .game-dungeon-event-feed span.player{border-left-color:#55a8df!important;color:#cdeaff!important;background:#0d1820!important}
.game-adventure-dungeon-live .game-dungeon-event-feed span.enemy,
.game-dungeon-run-live .game-dungeon-event-feed span.enemy{border-left-color:#d06056!important;color:#ffd5cf!important;background:#1b1010!important}
.game-adventure-dungeon-live .game-dungeon-event-feed span.boss,
.game-dungeon-run-live .game-dungeon-event-feed span.boss{border-left-color:#e0ae45!important;color:#ffe5a8!important;background:#1c170c!important}
.game-adventure-dungeon-live .game-dungeon-event-feed span.clash,
.game-dungeon-run-live .game-dungeon-event-feed span.clash{border-left-color:#8d78c6!important;color:#ded4ff!important;background:#151221!important}
.game-adventure-dungeon-live .game-dungeon-event-feed span.system,
.game-dungeon-run-live .game-dungeon-event-feed span.system{border-left-color:#89969d!important;color:#edf2f4!important}

.game-dungeon-loot-table{margin-top:16px!important}
.game-dungeon-loot-coins{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid rgba(91,62,28,.22);background:rgba(255,255,255,.14)}
.game-dungeon-loot-coins b{color:#3a2817;font-size:12px}.game-dungeon-loot-coins small{color:#745f43;font-size:9px}
.game-dungeon-loot-fixed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:7px}
.game-dungeon-loot-entry{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px;align-items:center;padding:7px;border:1px solid rgba(91,62,28,.22);background:rgba(255,255,255,.14)}
.game-dungeon-loot-entry>img{width:42px;height:42px;object-fit:contain!important;background:#0d1012;border:1px solid rgba(91,62,28,.3);padding:2px}
.game-dungeon-loot-entry>div{display:grid;gap:2px}.game-dungeon-loot-entry b{color:#382617;font-size:10px}.game-dungeon-loot-entry small{color:#745f43;font-size:9px}
.game-dungeon-chest-list{margin-top:11px;padding-top:9px;border-top:1px solid rgba(91,62,28,.22)}
.game-dungeon-chest-list>h4{margin:0 0 7px;color:#62441f;font-size:10px;letter-spacing:.08em}
.game-dungeon-chest-row{border:1px solid rgba(91,62,28,.24);background:rgba(255,255,255,.12);margin-top:6px}
.game-dungeon-chest-row>summary{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;align-items:center;cursor:pointer;padding:7px;list-style:none}
.game-dungeon-chest-row>summary::-webkit-details-marker{display:none}.game-dungeon-chest-row>summary:after{content:'+';position:absolute;right:12px;color:#77511d;font-weight:900}.game-dungeon-chest-row[open]>summary:after{content:'−'}
.game-dungeon-chest-row>summary{position:relative;padding-right:30px}.game-dungeon-chest-row>summary>img{width:44px;height:44px;object-fit:contain!important;background:#0d1012;border:1px solid rgba(91,62,28,.3);padding:2px}
.game-dungeon-chest-row>summary>span{display:grid;gap:3px}.game-dungeon-chest-row>summary b{color:#382617;font-size:11px}.game-dungeon-chest-row>summary small{color:#705a3e;font-size:9px}
.game-dungeon-chest-contents{padding:0 8px 8px}.game-dungeon-chest-coins{display:grid;gap:2px;padding:7px;border-top:1px solid rgba(91,62,28,.18)}.game-dungeon-chest-coins b{font-size:10px;color:#382617}.game-dungeon-chest-coins small{font-size:8px;color:#705a3e}
.game-dungeon-chest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:6px}.game-dungeon-chest-drop{display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-areas:'art name' 'art chance';gap:1px 6px;align-items:center;padding:5px;border:1px solid rgba(91,62,28,.18);background:rgba(255,255,255,.12)}.game-dungeon-chest-drop>span{grid-area:art}.game-dungeon-chest-drop>span img{width:34px;height:34px;object-fit:contain!important;background:#0d1012;border:1px solid rgba(91,62,28,.25);padding:2px}.game-dungeon-chest-drop>b{grid-area:name;color:#382617;font-size:9px}.game-dungeon-chest-drop>small{grid-area:chance;color:#735d41;font-size:8px}.game-dungeon-chest-drop.rare{border-color:rgba(128,83,24,.4);background:rgba(218,174,79,.12)}
@media(max-width:700px){.game-dungeon-loot-fixed,.game-dungeon-chest-grid{grid-template-columns:1fr}.game-dungeon-loot-coins{align-items:flex-start;flex-direction:column}}
.game-adventure-dungeon-live .game-dungeon-event-feed span{font-size:13px!important;line-height:1.52!important}


/* ===== 3.10.86 Items & Trade duplicate index removal ===== */
.game-items-trade-guidebook .game-adventure-guide-main{grid-template-columns:180px minmax(0,1fr)!important}
.game-items-trade-guidebook .game-adventure-guide-details{grid-column:auto!important;min-width:0}
.game-items-trade-guidebook .game-guidebook-workspace{min-width:0}
.game-items-trade-guidebook .game-guidebook-embedded{min-width:0}
@media(max-width:1500px){.game-items-trade-guidebook .game-adventure-guide-main{grid-template-columns:165px minmax(0,1fr)!important}}
@media(max-width:1180px){.game-items-trade-guidebook .game-adventure-guide-main{grid-template-columns:150px minmax(0,1fr)!important}.game-items-trade-guidebook .game-adventure-guide-details{grid-column:auto!important}}
@media(max-width:760px){.game-items-trade-guidebook .game-adventure-guide-main{grid-template-columns:1fr!important}.game-items-trade-guidebook .game-adventure-guide-details{grid-column:1!important}}


/* ===== 3.10.87 Guidebook menu cleanup ===== */
/* The permanent left site navigation already selects Character/World, Gathering,
   Support, Items/Trade and Community pages. Do not repeat those same destinations
   again inside the universal Guidebook header. */
.game-universal-guide-header-clean{
  grid-template-areas:'title banner' 'controls controls'!important;
}
.game-universal-guide-header-clean .game-adventure-guide-tabs{display:none!important}

/* Legacy/heavy workspaces (Character, World Map, Shop, Auctions, Duel Arena,
   Leaderboard) now use the full book width. Their old section rail and duplicate
   Guidebook Index have been removed in markup. */
.game-legacy-guidebook-clean .game-adventure-guide-main{
  grid-template-columns:minmax(0,1fr)!important;
}
.game-legacy-guidebook-clean .game-adventure-guide-details{
  grid-column:1/-1!important;
  min-width:0!important;
}
.game-legacy-guidebook-clean .game-guidebook-workspace,
.game-legacy-guidebook-clean .game-guidebook-embedded{min-width:0!important}

@media(max-width:1180px){
  .game-universal-guide-header-clean{
    grid-template-columns:1fr!important;
    grid-template-areas:'title' 'banner' 'controls'!important;
  }
}


/* ===== 3.10.88 Full-page Guidebook outer gold frame removal ===== */
/* Large workspace pages use their dark embedded content directly. The parchment/gold
   shell was decorative only and made Character, Auctions, Leaderboard and similar
   pages look double-framed. */
.game-legacy-guidebook-clean .game-guidebook-workspace{
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  min-height:0!important;
}
.game-legacy-guidebook-clean .game-guidebook-embedded{
  margin:0!important;
}
@media(max-width:760px){
  .game-legacy-guidebook-clean .game-guidebook-workspace{padding:0!important}
}


/* 3.10.91 Jewelcrafting + equipment sockets */
.game-gear-card .game-gear-icon{position:relative}
.game-gear-socket-dot{position:absolute;right:8px;bottom:8px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:rgba(7,11,16,.94);border:1px solid rgba(210,176,102,.55);color:#8f7a55;font-style:normal;font-size:16px;box-shadow:0 0 0 3px rgba(0,0,0,.25)}
.game-gear-socket-dot.filled{color:#f3cf70;border-color:#e0b24f;box-shadow:0 0 16px rgba(224,178,79,.28)}
.game-socket-box{margin:10px 0 2px;padding:10px;border:1px solid rgba(190,158,91,.22);background:linear-gradient(180deg,rgba(35,28,19,.72),rgba(12,14,17,.72));border-radius:10px;text-align:left}
.game-socket-box.filled{border-color:rgba(226,183,80,.46)}
.game-socket-status{display:flex;gap:9px;align-items:center;min-width:0}.game-socket-orb{width:31px;height:31px;flex:0 0 31px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(216,177,84,.48);color:#e9bd54;background:rgba(5,7,9,.64)}
.game-socket-status div{min-width:0}.game-socket-status small{display:block;color:#b99654;font-size:10px;letter-spacing:.12em}.game-socket-status b{display:block;color:#f4ead0;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-socket-status em{display:block;color:#aeb4ba;font-size:10px;font-style:normal;line-height:1.25;margin-top:2px}
.game-socket-actions{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px;margin-top:8px}.game-socket-actions select{min-width:0;width:100%;background:#0b0e12;color:#e8e1d1;border:1px solid rgba(190,158,91,.28);border-radius:7px;padding:7px 8px;font-size:11px}.game-socket-actions .game-mini-btn{padding:6px 8px;font-size:10px;white-space:nowrap}
.game-gear-card.has-socket-gem{box-shadow:inset 0 0 0 1px rgba(225,183,81,.14)}
@media(max-width:760px){.game-socket-actions{grid-template-columns:1fr 1fr}.game-socket-actions select{grid-column:1/-1}}


/* ===== 3.10.95 consent-based PvP ===== */
.game-pvp-settings{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:15px;border:1px solid #3c464c;border-radius:12px;background:linear-gradient(145deg,#101417,#090c0e);margin-bottom:14px}.game-pvp-settings.on{border-color:#537b5b;box-shadow:inset 0 0 0 1px rgba(113,188,127,.06)}.game-pvp-settings.off{border-color:#6d4d45}.game-pvp-settings small{font-size:8px;letter-spacing:.12em;color:#7f8b91}.game-pvp-settings h3{margin:3px 0 4px;color:#f1d07a}.game-pvp-settings p{margin:0;color:#8d989e;max-width:760px;line-height:1.45}.game-pvp-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.game-pvp-columns.lower{margin-top:14px}.game-pvp-columns>section{border:1px solid #293136;border-radius:10px;padding:12px;background:#090c0e}.game-pvp-request{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid #30393f;border-radius:9px;padding:10px;background:#0c1013;margin-top:8px}.game-pvp-request.incoming{border-left:3px solid #c89d47}.game-pvp-request.outgoing{border-left:3px solid #537da2}.game-pvp-request h3{margin:3px 0}.game-pvp-request small{color:#859198}.game-pvp-request-actions,.game-pvp-player-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.game-pvp-empty{padding:12px;color:#748087;border:1px dashed #2d353a;border-radius:8px;text-align:center}.game-duel-card.player-pvp.locked{opacity:.62}.game-duel-card.player-pvp p b{color:#d4ae57}.game-pvp-blocked-row,.game-pvp-history-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px;border-bottom:1px solid #242b2f}.game-pvp-blocked-row span{display:flex;align-items:center;gap:8px}.game-pvp-history-row b{min-width:44px}.game-pvp-history-row.win b{color:#7bc887}.game-pvp-history-row.loss b{color:#d4796c}.game-pvp-history-row em{font-style:normal;color:#efd17c}.game-pvp-request-modal{max-width:620px}.game-pvp-request-modal .game-respec-actions{grid-template-columns:1fr 1fr 1fr}.game-pvp-request-modal h2{margin-top:8px}.game-pvp-request-modal p{color:#98a2a7;line-height:1.55}.game-art-thumb[src*="/gems/"],.game-item-art[src*="/gems/"],.game-market-thumb[src*="/gems/"],.game-book-output-art[src*="/gems/"]{background:radial-gradient(circle,rgba(255,255,255,.05),transparent 66%);object-fit:contain;padding:4px}
@media(max-width:800px){.game-pvp-columns{grid-template-columns:1fr}.game-pvp-settings{align-items:stretch;flex-direction:column}.game-pvp-settings .btn{width:100%}.game-pvp-request{grid-template-columns:1fr}.game-pvp-request-actions{justify-content:stretch}.game-pvp-request-actions .btn{flex:1}.game-pvp-request-modal .game-respec-actions{grid-template-columns:1fr}}


/* 3.11.06 — Gear Shop Book GUI */
.game-shop-book .game-book-header{grid-template-columns:minmax(360px,1fr) auto;gap:14px 22px;padding-bottom:0}
.game-shop-book-coins{display:grid;grid-template-columns:auto auto;align-items:end;gap:0 8px;min-width:150px;padding:11px 14px;border:1px solid #5e4827;border-radius:8px;background:linear-gradient(180deg,#17140e,#0b0e10);box-shadow:inset 0 0 0 1px rgba(235,190,93,.06)}
.game-shop-book-coins small{grid-column:1/-1;color:#88764a;font-size:8px;font-weight:900;letter-spacing:.14em}.game-shop-book-coins b{color:#f0ca69;font:700 28px/1 Georgia,'Times New Roman',serif}.game-shop-book-coins span{color:#a69570;font:700 10px Georgia,'Times New Roman',serif;padding-bottom:3px}
.game-shop-book-tabs{grid-column:1/-1;display:flex;gap:6px;overflow:auto;padding:12px 0 14px;scrollbar-width:thin}
.game-shop-book-tab{flex:0 0 auto;min-width:128px;display:grid;gap:4px;border:1px solid #303a40;border-radius:6px;background:#0a0f12;color:#c3ccd0;padding:8px 11px;text-align:left;cursor:pointer}
.game-shop-book-tab:hover{border-color:#725b32;background:#121619}.game-shop-book-tab.active{border-color:#d4a346;background:linear-gradient(180deg,#2c210f,#14130f);box-shadow:inset 0 -2px #d9a744,0 0 16px rgba(207,155,55,.09)}
.game-shop-book-tab b{color:#dfc77f;font:700 11px/1.15 Georgia,'Times New Roman',serif;white-space:nowrap}.game-shop-book-tab small{color:#748087;font-size:8px;letter-spacing:.04em}.game-shop-book-tab.active b{color:#f2d27e}
.game-shop-book .game-book-shell{min-height:690px}.game-shop-book-list-head{display:flex;align-items:end;justify-content:space-between;gap:14px;padding:4px 4px 10px;border-bottom:1px solid #30383d}.game-shop-book-list-head small{display:block;color:#6f7a80;font-size:8px;font-weight:900;letter-spacing:.13em}.game-shop-book-list-head h3{margin:3px 0 0;color:#eccb78;font:700 21px/1 Georgia,'Times New Roman',serif}.game-shop-book-list-head>span{color:#87949a;font-size:9px}
.game-shop-book-entry{grid-template-columns:58px minmax(0,1fr) 96px}.game-shop-book-row-price{display:grid;justify-items:end;gap:4px;min-width:90px}.game-shop-book-row-price strong{color:#d9b35b;font:700 11px Georgia,'Times New Roman',serif}.game-shop-book-row-price small{color:#718087;font-size:7px;font-weight:900;letter-spacing:.07em}.game-shop-book-entry.active .game-shop-book-row-price strong{color:#f0ce74}
.game-shop-book-detail{min-height:100%;font-family:Georgia,'Times New Roman',serif}.game-shop-book-badges{display:flex;flex-wrap:wrap;gap:5px;align-items:center;margin-bottom:8px}.game-shop-book-note{display:grid;gap:4px;margin-top:13px;padding:10px 12px;border-left:4px solid #9a7128;background:rgba(110,78,31,.10)}.game-shop-book-note b{font-size:11px;color:#5d431c}.game-shop-book-note span{font-size:10px;line-height:1.45;color:#574832}
@media(max-width:1120px){.game-shop-book .game-book-header{grid-template-columns:1fr}.game-shop-book-coins{justify-self:start}.game-shop-book-tabs{order:3}.game-shop-book .game-book-shell{grid-template-columns:1fr}.game-shop-book .game-book-center{border-right:0}.game-shop-book .game-book-details{border-top:1px solid #4b3b25}}
@media(max-width:760px){.game-shop-book-tab{min-width:122px}.game-shop-book-entry{grid-template-columns:52px minmax(0,1fr)}.game-shop-book-row-price{grid-column:2;justify-items:start}.game-shop-book .game-book-detail-head{grid-template-columns:92px minmax(0,1fr)}.game-shop-book-coins b{font-size:23px}}

/* 3.11.07: keep every standalone equipment silhouette fully visible. */
img[src*="/equipment31107/"]{object-fit:contain;object-position:center}

/* 3.11.08: uncluttered guide headers and readable admin farming controls. */
.game-adventure-guide-header{grid-template-columns:minmax(0,1fr);grid-template-areas:'title' 'tabs' 'controls'}
.game-universal-guidebook>.game-admin-farm-bot{display:block;grid-column:1/-1;min-width:0;margin:16px;padding:20px;}
.game-universal-guidebook>.game-admin-farm-bot .game-admin-bot-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}
.game-universal-guidebook>.game-admin-farm-bot .game-admin-bot-grid small{font-size:12px;line-height:1.5}
.game-universal-guidebook>.game-admin-farm-bot .game-admin-bot-grid b{font-size:16px;line-height:1.5}
.game-universal-guidebook>.game-admin-farm-bot .game-admin-bot-controls{gap:12px;margin-top:16px}
.game-universal-guidebook>.game-admin-farm-bot .game-admin-bot-controls button{min-height:44px;padding:10px 16px;font-size:13px;white-space:normal}
.game-universal-guidebook>.game-admin-farm-bot .game-admin-bot-status{grid-template-columns:minmax(0,1fr);gap:8px;overflow-wrap:anywhere}
.game-universal-guidebook>.game-admin-farm-bot .game-admin-bot-status b,.game-universal-guidebook>.game-admin-farm-bot .game-admin-bot-status small{font-size:12px}
@media(max-width:760px){.game-universal-guidebook>.game-admin-farm-bot{margin:12px;padding:16px}.game-universal-guidebook>.game-admin-farm-bot .game-admin-bot-controls button{flex:1 1 180px}}

/* 3.11.11 Frontier Guilds visible hub */
.game-frontier-featured-nav{position:relative!important;margin:0 0 10px!important;border:1px solid #b9852f!important;background:linear-gradient(135deg,#35200d,#17120d 60%,#0c1114)!important;box-shadow:inset 3px 0 #e2ac49,0 8px 24px rgba(0,0,0,.2)!important}.game-frontier-featured-nav .game-tab-name{display:grid!important}.game-frontier-featured-nav .game-tab-name b{color:#f0cc72;font-size:12px}.game-frontier-featured-nav .game-tab-name small{color:#d98a46;font-size:8px;letter-spacing:.09em}.game-frontier-featured-nav>em{margin-left:auto;border:1px solid #c49036;border-radius:999px;padding:3px 6px;color:#f4d17d;background:#281b0d;font-size:8px;font-style:normal;font-weight:900;letter-spacing:.08em}.game-frontier-featured-nav.active{box-shadow:inset 3px 0 #ffd36d,0 0 22px rgba(216,157,56,.16)!important}
.game-frontier-hub{overflow:hidden;border:1px solid #5a4527;border-radius:16px;background:#080c0f;box-shadow:0 24px 70px rgba(0,0,0,.34)}.game-frontier-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);gap:24px;padding:28px;background:linear-gradient(90deg,rgba(11,13,14,.96),rgba(20,14,8,.88)),url('/assets/img/arcade/crown-ember-hero-card.webp') center/cover no-repeat;border-bottom:1px solid #5a4527}.game-frontier-hero h2{margin:4px 0 10px;color:#efc966;font:700 44px/1 Georgia,'Times New Roman',serif;letter-spacing:.04em}.game-frontier-hero p{max-width:840px;margin:0;color:#c5ced3;font-size:15px;line-height:1.6}.game-frontier-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.game-frontier-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;align-content:center}.game-frontier-stats span{display:grid;gap:4px;border:1px solid #604927;border-radius:9px;background:rgba(9,11,13,.82);padding:12px}.game-frontier-stats small{color:#98845c;font-size:9px;font-weight:900;letter-spacing:.1em}.game-frontier-stats b{color:#efcf7e;font:700 20px Georgia,'Times New Roman',serif}.game-frontier-grid{display:grid;grid-template-columns:minmax(420px,.9fr) minmax(520px,1.1fr);gap:12px;padding:12px}.game-frontier-grid>section{min-width:0;border:1px solid #3d3528;border-radius:10px;background:#0c1114;padding:14px}.game-frontier-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid #31383d}.game-frontier-section-head h3{margin:2px 0 0;color:#e6c66f;font:700 20px Georgia,'Times New Roman',serif}.game-frontier-route{display:grid;gap:7px;padding-top:10px}.game-frontier-route-stop{display:grid;grid-template-columns:32px minmax(0,1fr) 18px;gap:10px;align-items:center;width:100%;border:1px solid #344049;border-radius:8px;background:#0a0e11;color:#cbd4d9;padding:10px;text-align:left;cursor:pointer}.game-frontier-route-stop:hover{border-color:#9c7635;background:#121416}.game-frontier-route-stop>span{display:grid;place-items:center;width:30px;height:30px;border:1px solid #8a662d;border-radius:50%;color:#edc66a;background:#25190d;font-weight:900}.game-frontier-route-stop>div{display:grid;gap:3px}.game-frontier-route-stop b{color:#e3c676;font:700 13px Georgia,'Times New Roman',serif}.game-frontier-route-stop small{color:#86939a;font-size:10px}.game-frontier-route-stop>strong{color:#d4a64b;font-size:22px}.game-frontier-route-stop.complete{border-color:#376349}.game-frontier-route-stop.complete>span{border-color:#4b9366;color:#8dd6a5;background:#10251a}.game-frontier-skill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:10px}.game-frontier-skill-card{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid #344049;border-radius:8px;background:#0a0e11;color:#cbd4d9;padding:9px;text-align:left;cursor:pointer}.game-frontier-skill-card:hover{border-color:#9c7635;background:#121416}.game-frontier-skill-art{width:54px;height:54px;object-fit:cover!important;border:1px solid #4a4f50;border-radius:6px}.game-frontier-skill-card>span{display:grid;gap:3px}.game-frontier-skill-card b{color:#e3c676;font:700 12px Georgia,'Times New Roman',serif}.game-frontier-skill-card small{color:#86939a;font-size:9px}.game-frontier-skill-card strong{color:#d5a54a;font-size:9px;white-space:nowrap}.game-frontier-note{display:flex;gap:12px;align-items:center;padding:13px 16px;border-top:1px solid #463a29;background:#11100d}.game-frontier-note b{color:#efc965;font-size:10px;letter-spacing:.09em}.game-frontier-note span{color:#b7c0c5;font-size:11px}.game-frontier-note strong{color:#eed184}
@media(max-width:1100px){.game-frontier-hero,.game-frontier-grid{grid-template-columns:1fr}.game-frontier-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.game-frontier-hero{padding:18px}.game-frontier-hero h2{font-size:32px}.game-frontier-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.game-frontier-grid{padding:8px}.game-frontier-skill-grid{grid-template-columns:1fr}.game-frontier-note{align-items:flex-start;flex-direction:column}}


/* 3.11.13 GUIDE CLEANUP + HIGH-CONTRAST READABILITY */
/* Guide references are informational text only. They no longer look or behave like navigation buttons. */
  display:inline-grid;
  gap:2px;
  max-width:100%;
  margin:3px 8px 3px 0;
  padding:0 0 0 8px;
  border-left:3px solid currentColor;
  color:inherit;
  line-height:1.35;
}

/* The How This Works boxes are intentionally plain and high contrast. */
.game-page-quick-help{
  grid-template-columns:190px minmax(0,1fr)!important;
  background:#0b0d0f!important;
  border-color:#7b6231!important;
  color:#f1f3f4!important;
}
.game-page-quick-help-title span{color:#c6cbd0!important}
.game-page-quick-help-title b{color:#f2cf78!important}
.game-page-quick-help-summary{
  color:#f1f3f4;
  font-size:12px;
  line-height:1.5;
  padding:7px 9px;
  border:1px solid #343a3e;
  border-radius:6px;
  background:#121518;
}
.game-page-quick-help-steps{grid-column:2}
.game-page-quick-help-steps>span{color:#eef1f2!important}
.game-page-quick-help-steps>span>b{color:#111!important;background:#f0ca72!important;border-color:#f0ca72!important}
.game-page-quick-help>p{color:#d8dde0!important}
.game-page-quick-help>p:before{color:#f2cf78!important}

/* Remove the blue/purple Mastery copy that was hard to read on dark cards. */
.game-mastery-explainer{
  background:#0a0c0e!important;
  border-color:#7b6231!important;
  box-shadow:inset 0 0 0 1px rgba(242,207,120,.04);
}
.game-mastery-explainer b{color:#f2cf78!important}
.game-mastery-explainer span{color:#f2f4f5!important}
.game-mastery-row>span{color:#f1f3f4!important}
.game-mastery-row>span b{color:#f2cf78!important}
.game-mastery-row>span em{color:#f1f3f4!important}
.game-mastery-row>small{color:#c8d0d5!important}
.game-mastery-row>i{background:#171a1d!important;border-color:#3c4247!important}
.game-mastery-row>i>b{background:linear-gradient(90deg,#8c6a2b,#e0bc63)!important}
.game-mastery-head,.game-mastery-level,.game-token-claim b{color:#f2cf78!important}

@media(max-width:900px){
  .game-page-quick-help{grid-template-columns:1fr!important}
  .game-page-quick-help-summary,.game-page-quick-help-steps,.game-page-quick-help>p{grid-column:1!important}
}

/* 3.11.14 CONTEXT HELP + FARM TIMER READABILITY */
/* Reference text is intentionally informational only; it should never look like a navigation trap. */
  color:#eef1f2!important;
  background:transparent!important;
  border-radius:0!important;
  cursor:default!important;
  text-decoration:none!important;
}

/* Farming countdowns: centered, larger, and readable below every occupied plot. */
.game-farm-timer{
  display:grid!important;
  place-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  min-height:58px;
  margin:7px auto 10px!important;
  padding:7px 10px;
  width:min(100%,210px);
  border:1px solid #4a4f42;
  border-radius:7px;
  background:#0a0d0b;
  text-align:center!important;
  color:#f1f3f4!important;
}
.game-farm-plot .game-farm-timer>span{
  display:block;
  color:#d8c783!important;
  font-size:11px!important;
  font-weight:900;
  letter-spacing:.11em;
  line-height:1.2;
}
.game-farm-plot .game-farm-timer>b{
  display:block;
  color:#f5dc84!important;
  font:800 22px/1.05 Georgia,'Times New Roman',serif!important;
}
.game-farm-plot .game-farm-timer>small{
  display:block;
  color:#c7ced1!important;
  font-size:11px!important;
  line-height:1.2;
}
.game-farm-timer.ready{
  border-color:#5f8b5d;
  background:#0d1710;
}
.game-farm-timer.ready strong{
  color:#a8e0a7;
  font-size:14px;
  letter-spacing:.06em;
  text-align:center;
}

/* Same treatment inside the Farming guidebook so the timer is consistent everywhere. */
.game-guidebook-farm-timer{
  display:grid;
  place-items:center;
  justify-content:center;
  gap:1px;
  min-height:50px;
  padding:6px 8px;
  border:1px solid rgba(91,62,28,.32);
  background:rgba(44,31,16,.08);
  text-align:center;
}
.game-guidebook-farm-timer small{
  color:#6b4f20!important;
  font-size:10px!important;
  font-weight:900;
  letter-spacing:.1em;
}
.game-guidebook-farm-timer strong{
  color:#4d3211!important;
  font:800 18px/1.05 Georgia,'Times New Roman',serif!important;
}
.game-guidebook-farm-timer em{
  color:#655038!important;
  font-size:10px!important;
  font-style:normal;
}
.game-guidebook-farm-timer.ready{
  border-color:#816022;
  background:rgba(225,184,74,.16);
}
.game-guidebook-farm-timer.ready strong{
  color:#553607!important;
  font-size:12px!important;
  letter-spacing:.05em;
}


/* 3.11.15 PARCHMENT GUIDE LEGIBILITY HOTFIX */
/* The guide panels use a light parchment background, so all helper text inside them must be dark. */
.game-adventure-parchment .game-mastery-row>span{
  color:#3d2b1b!important;
}
.game-adventure-parchment .game-mastery-row>span b{
  color:#6c4617!important;
}
.game-adventure-parchment .game-mastery-row>span em{
  color:#5d4a33!important;
}
.game-adventure-parchment .game-mastery-row>small{
  color:#655038!important;
  font-size:12px!important;
}
.game-adventure-parchment .game-mastery-row>i{
  background:#1b1f22!important;
  border-color:#45413b!important;
}
.game-adventure-parchment .game-guide-info-block,
.game-adventure-parchment .game-guide-fineprint,
.game-adventure-parchment .game-guide-info-block p.game-guide-intro{
  color:#4f3d2a!important;
}
.game-adventure-parchment .game-guide-source-none{
  color:#5d4a34!important;
}
  color:#4c3a27!important;
  background:rgba(91,62,28,.06)!important;
  border-left-color:#8a642f!important;
  padding:4px 0 4px 8px!important;
  margin:4px 10px 4px 0!important;
}
  color:#6f4918!important;
  font-size:11.5px!important;
}
  color:#5b4732!important;
  opacity:1!important;
  font-size:10.5px!important;
  line-height:1.42!important;
}
  display:none!important;
}

/* ===== 3.11.16 Unified Auction House ===== */
.game-auction-main-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px;padding:8px;border:1px solid #423720;border-radius:10px;background:#090d10}
.game-auction-main-tabs button{appearance:none;border:1px solid #30383e;border-radius:7px;background:#101518;color:#aeb8bd;padding:9px 13px;font-size:10px;font-weight:900;letter-spacing:.07em;cursor:pointer}
.game-auction-main-tabs button:hover{border-color:#7f632e;color:#ecd07e}
.game-auction-main-tabs button.active{border-color:#a57a31;background:linear-gradient(180deg,#2a1e0d,#17130c);color:#f0cf79;box-shadow:inset 0 0 0 1px rgba(240,207,121,.08)}
.game-auction-workspace{min-width:0}
.game-auction-toolbar{display:flex;align-items:end;gap:10px;margin:0 0 12px;padding:11px;border:1px solid #30383e;border-radius:9px;background:#0b0f12}
.game-auction-toolbar label{display:grid;gap:5px;flex:1;min-width:220px}
.game-auction-toolbar label>span{color:#8e9aa0;font-size:9px;font-weight:900;letter-spacing:.08em}
.game-auction-toolbar input{width:100%;min-height:38px;border:1px solid #3a444a;border-radius:6px;background:#080b0d;color:#eef1f2;padding:8px 10px}
.game-auction-card-actions{display:grid;gap:6px;align-content:center;min-width:90px}
.game-auction-undercut-badge{font-size:7px;letter-spacing:.08em;color:#ffd18a;border:1px solid #a55d2d;background:#35160d;border-radius:999px;padding:3px 6px;white-space:nowrap}
.game-auction-card.auction-undercut-card{border-color:#8e572c;box-shadow:inset 3px 0 #b86a31}
.game-auction-shopping-list{display:grid;gap:7px}
.game-auction-shopping-list>article{display:grid;grid-template-columns:42px minmax(180px,1.6fr) .55fr .65fr auto auto;gap:9px;align-items:center;border:1px solid #30383e;border-radius:8px;background:#0a0e11;padding:9px}
.game-auction-shopping-list>article>div{display:grid;gap:3px;min-width:0}.game-auction-shopping-list>article>div>b{color:#e2c575;font-size:11px}.game-auction-shopping-list>article>div>small{color:#849198;font-size:9px}
.game-auction-shopping-list>article>span{display:grid;gap:2px}.game-auction-shopping-list>article>span>small{color:#77848b;font-size:7px;font-weight:900;letter-spacing:.08em}.game-auction-shopping-list>article>span>b{color:#eef1f2;font-size:12px}
.game-auction-history-table .game-auction-market-head,.game-auction-history-table .game-auction-market-row{grid-template-columns:minmax(220px,1.7fr) .55fr .65fr .65fr .7fr minmax(190px,1fr)}
.game-auction-history-table .game-auction-market-row>span:last-child{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.game-auction-history-details{position:relative}.game-auction-history-details summary{cursor:pointer;list-style:none;border:1px solid #3a4247;border-radius:5px;padding:5px 7px;color:#d4b86d;font-size:8px;font-weight:900}.game-auction-history-details summary::-webkit-details-marker{display:none}
.game-auction-history-list{position:absolute;z-index:40;right:0;top:calc(100% + 5px);width:210px;max-height:230px;overflow:auto;border:1px solid #55462c;border-radius:7px;background:#090d0f;box-shadow:0 12px 28px rgba(0,0,0,.4);padding:6px}
.game-auction-history-list>span{display:flex!important;justify-content:space-between!important;gap:8px!important;padding:6px!important;border-bottom:1px solid #252d31}.game-auction-history-list>span:last-child{border-bottom:0}.game-auction-history-list b{color:#e8c875;font-size:9px}.game-auction-history-list small{color:#8c989e;font-size:8px}
.game-auction-no-history{color:#7f8b91;font-size:8px}
.game-auction-unified-hero{margin-bottom:10px}
@media(max-width:900px){.game-auction-toolbar{align-items:stretch;flex-direction:column}.game-auction-shopping-list>article{grid-template-columns:42px minmax(0,1fr) auto}.game-auction-shopping-list>article>span{grid-column:2}.game-auction-shopping-list>article>button{grid-column:auto}.game-auction-history-table{overflow-x:auto}.game-auction-history-table .game-auction-market-head,.game-auction-history-table .game-auction-market-row{min-width:900px}}
@media(max-width:640px){.game-auction-main-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.game-auction-main-tabs button{white-space:normal}.game-auction-card-actions{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}.game-auction-shopping-list>article{grid-template-columns:42px minmax(0,1fr)}.game-auction-shopping-list>article>span,.game-auction-shopping-list>article>button{grid-column:2}}


/* 3.11.17 GUIDE OUTPUT CLEANUP */
/* WHAT YOU GET is intentionally reward-only. Usage instructions live in HOW THIS WORKS. */
.game-adventure-parchment .game-guide-usage-lines{display:grid;gap:4px;margin-top:4px}
.game-adventure-parchment .game-guide-usage-lines p{margin:0;color:#4a3826!important;font-size:11px!important;line-height:1.5!important}

/* 3.11.18 GLOBAL GUIDE CLEANUP */
/* Legacy reference/link strips are retired everywhere. Guidance now lives in HOW THIS WORKS prose. */
.game-guide-plain-help{margin:5px 0!important;color:#4f3d2a!important;font-size:11px!important;line-height:1.5!important}
.game-guide-usage-lines{display:grid;gap:3px}
.game-guide-usage-lines p{margin:3px 0!important;color:#4f3d2a!important;font-size:11px!important;line-height:1.5!important}
.game-guide-effect-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:6px}
.game-guide-effect-chip{display:inline-flex;align-items:center;border:1px solid rgba(91,62,28,.26);background:rgba(255,255,255,.15);padding:6px 8px;color:#3f2d1c;font-size:10.5px;border-radius:5px}
.game-multi-tree-controls{display:flex;flex-wrap:wrap;gap:7px;margin-top:6px}


/* ===== 3.11.18 in-page character inspect + equipped gear hover ===== */
.game-character-dashboard.view-overview .game-avatar-frame.inspectable{
  cursor:grab;
  perspective:900px;
  touch-action:pan-y;
  user-select:none;
  -webkit-user-select:none;
  overflow:hidden!important;
  background:radial-gradient(circle at 50% 24%,rgba(213,168,73,.16),transparent 42%),linear-gradient(180deg,#17130d,#090c0f)!important;
}
.game-character-dashboard.view-overview .game-avatar-frame.inspectable.dragging{cursor:grabbing}
.game-avatar-turn-layer{
  position:absolute;
  inset:0;
  transform-origin:50% 54%;
  transform-style:preserve-3d;
  transform:perspective(900px) rotateY(var(--avatar-turn,0deg)) scale(var(--avatar-zoom,1));
  transition:transform .18s ease-out,filter .18s ease-out;
  will-change:transform;
}
.game-avatar-frame.inspectable.dragging .game-avatar-turn-layer{transition:none}
.game-avatar-frame.inspectable .game-avatar-turn-layer:after{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(0,0,0,.16),transparent 26%,transparent 74%,rgba(0,0,0,.16));
  mix-blend-mode:multiply;
  opacity:.35;
}
.game-avatar-frame.inspectable .game-avatar-portrait{pointer-events:none;user-select:none;-webkit-user-drag:none}
.game-avatar-inspect-hint{
  position:absolute;
  left:50%;
  bottom:8px;
  z-index:8;
  transform:translateX(-50%);
  display:grid;
  gap:1px;
  min-width:180px;
  padding:5px 9px;
  border:1px solid rgba(218,181,101,.38);
  border-radius:999px;
  background:rgba(5,8,10,.82);
  color:#d6dde0;
  text-align:center;
  pointer-events:none;
  backdrop-filter:blur(4px);
}
.game-avatar-inspect-hint b{color:#f0ca70;font-size:9px;letter-spacing:.12em}
.game-avatar-inspect-hint span{color:#a9b4ba;font-size:8px}
.game-avatar-inspect-controls{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin-top:2px}
.game-avatar-inspect-controls .game-mini-btn{font-size:9px;min-height:28px;padding:5px 8px}
.game-avatar-inspect-note{display:block;max-width:340px!important;margin:0 auto!important;color:#87949b!important;font-size:9px!important;line-height:1.35!important}
.game-avatar-chips.inspect-slots{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(46px,1fr));
  gap:6px!important;
  width:min(100%,360px);
  margin:2px auto 0!important;
}
.game-avatar-equip-slot{
  position:relative;
  display:grid;
  justify-items:center;
  align-content:start;
  gap:3px;
  min-width:0;
  padding:5px 3px 4px;
  border:1px solid #3b444a;
  border-radius:7px;
  background:linear-gradient(180deg,#11171a,#090c0f);
  outline:none;
  cursor:help;
}
.game-avatar-equip-slot:hover,.game-avatar-equip-slot:focus{border-color:#a47c35;box-shadow:0 0 0 1px rgba(228,186,91,.18),0 6px 18px rgba(0,0,0,.28)}
.game-avatar-equip-slot>small{width:100%;overflow:hidden;text-overflow:ellipsis;color:#8c989f!important;font-size:7.5px!important;font-weight:900;letter-spacing:.06em;line-height:1.1;white-space:nowrap;text-transform:uppercase}
.game-avatar-equip-slot .game-chip-thumb{width:42px;height:42px;border-radius:7px;padding:3px}
.game-avatar-equip-slot>b{min-height:10px;color:#e1c474;font-size:7.5px;line-height:1.1;white-space:nowrap}
.game-avatar-equip-slot.empty{min-height:69px;align-content:center;border-style:dashed;opacity:.62}
.game-avatar-equip-slot.empty>i{font-style:normal;color:#6f7a80;font-size:8px;font-weight:900;letter-spacing:.08em}

/* Equipped hover now reports the actual current item state rather than only a swap comparison. */
.gear-tip-state{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:8px 13px 11px}
.gear-tip-state>span{display:grid;gap:2px;min-width:0;padding:8px 9px;border:1px solid #2f3b42;border-radius:7px;background:#0d1215}
.gear-tip-state>span.socketed{border-color:#63512f;background:#17130d}
.gear-tip-state small{color:#78878f;font-size:9px;font-weight:950;letter-spacing:.08em}
.gear-tip-state b{color:#e7edf0;font-size:12px;overflow-wrap:anywhere}
.gear-tip-state em{color:#9eabb1;font-size:10px;font-style:normal;line-height:1.3}
.gear-tip-state>span.socketed b{color:#f0ce77}
.gear-current-head,.gear-current-row{display:grid;grid-template-columns:minmax(130px,1fr) auto;gap:10px;align-items:center;padding:7px 14px}
.gear-current-head{background:#10171c;border-top:1px solid #25323a;border-bottom:1px solid #25323a;color:#778892;font-size:10px;font-weight:950;letter-spacing:.07em}
.gear-current-row{border-bottom:1px solid #1d272d}
.gear-current-row span{color:#b9c4ca}.gear-current-row b{color:#f1d17c;text-align:right}
@media(max-width:640px){
  .game-avatar-chips.inspect-slots{grid-template-columns:repeat(5,minmax(40px,1fr));gap:4px!important}
  .game-avatar-equip-slot{padding:4px 2px}.game-avatar-equip-slot .game-chip-thumb{width:36px;height:36px}
  .gear-tip-state{grid-template-columns:1fr}.game-avatar-inspect-hint{min-width:150px}
}

/* ===== REALM MAP PAN + WRAPPED REPUTATION GRID ===== */
/* The map is larger than its viewport so click-drag panning has real travel room. */
.game-world-map-viewport{position:relative;flex:1 1 auto;min-height:0;overflow:hidden;cursor:grab;background:#080b0d;border-bottom:1px solid #403a2b;touch-action:none;user-select:none;-webkit-user-select:none}
.game-world-map-viewport.dragging{cursor:grabbing}
.game-world-map-viewport .game-world-map{position:absolute!important;left:0;top:0;width:132%!important;height:132%!important;min-height:132%!important;aspect-ratio:auto!important;border-bottom:0!important;will-change:transform;transition:none!important;overflow:hidden}
.game-world-map-viewport .game-world-pin{user-select:none;-webkit-user-select:none}
.game-world-layout.compact-map .game-world-map-card>.game-world-map-viewport{flex:1 1 auto}

/* Reputation/area cards now wrap into an even grid. No horizontal slider. */
.game-world-city-strip{
  display:grid!important;
  grid-auto-flow:row!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-columns:auto!important;
  gap:10px!important;
  overflow:visible!important;
  overflow-x:visible!important;
  padding:0!important;
  margin-top:12px!important;
  scroll-snap-type:none!important;
}
.game-world-city-card{min-width:0!important;width:100%!important;scroll-snap-align:none!important}
.game-world-regions{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.game-world-legend span:last-child{margin-left:0!important}

@media(max-width:1150px){
  .game-character-dashboard.view-overview .game-character-layout{grid-template-columns:260px minmax(0,1fr)}
  .game-world-city-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .game-world-regions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .game-world-city-card{min-width:0!important}
}
@media(max-width:760px){
  .game-character-dashboard.view-overview .game-character-layout{grid-template-columns:1fr}
  .game-world-city-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:520px){
  .game-world-city-strip,.game-world-regions{grid-template-columns:1fr!important}
}


/* 3.11.21 ORIGINAL 2D CHARACTER RESTORE */
/* The Character page is intentionally static 2D again. Equipment below remains fully inspectable. */
.game-character-dashboard.view-overview .game-character-portrait .game-avatar-real.large{
  width:100%;
}
.game-character-dashboard.view-overview .game-avatar-real.large .game-avatar-frame{
  width:min(100%,330px)!important;
  aspect-ratio:4/5!important;
  margin:0 auto!important;
  cursor:default!important;
  touch-action:auto!important;
  overflow:hidden!important;
}
.game-character-dashboard.view-overview .game-avatar-real.large .game-avatar-portrait{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  transform:none!important;
}
.game-character-dashboard.view-overview .game-avatar-chips.inspect-slots{
  width:min(100%,330px)!important;
  margin:10px auto 0!important;
}


/* ===== 3.11.22 REALM EXPEDITIONS + CHARACTER/HERO CLEANUP ===== */
/* Keep the original 2D class artwork fully visible. Never crop the character portrait. */
.game-character-dashboard.view-overview .game-avatar-real.large .game-avatar-frame{
  aspect-ratio:auto!important;
  width:min(100%,360px)!important;
  min-height:0!important;
  overflow:visible!important;
}
.game-character-dashboard.view-overview .game-avatar-real.large .game-avatar-portrait{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:610px!important;
  object-fit:contain!important;
  object-position:center top!important;
}
/* The old duplicate Player/Class/Combat/Skill Total block was removed from the realm hero. */
.crown-ember-realm-controls,.game-save-box#game-save-summary{display:none!important}

.game-expedition-page{display:grid;gap:14px}.game-expedition-page>.game-panel-head{align-items:center}.game-expedition-summary{display:grid;grid-template-columns:repeat(4,minmax(85px,1fr));gap:7px;min-width:min(100%,420px)}.game-expedition-summary span{display:grid;gap:3px;padding:9px;border:1px solid #4b402d;border-radius:7px;background:#0b0f12}.game-expedition-summary small{color:#8f9a9f;font-size:9px;font-weight:900;letter-spacing:.08em}.game-expedition-summary b{color:#e8c875;font:700 17px Georgia,'Times New Roman',serif}.game-expedition-section{border:1px solid #39352d;border-radius:10px;background:#0a0e11;padding:12px}.game-expedition-runs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.game-expedition-run{display:grid;gap:8px;padding:12px;border:1px solid #3a454b;border-radius:9px;background:#0d1215}.game-expedition-run h3{margin:0;color:#e6c777;font:700 18px Georgia,'Times New Roman',serif}.game-expedition-run p{margin:0;color:#aab4b9;font-size:11px}.game-expedition-run.running>strong{color:#f0ce7d;font:700 22px Georgia,'Times New Roman',serif}.game-expedition-run.running>i{height:8px;border-radius:99px;background:#20292f;overflow:hidden}.game-expedition-run.running>i>b{display:block;height:100%;background:linear-gradient(90deg,#725723,#ddb75a)}.game-expedition-run.choice{border-color:#89672c;background:#171108}.game-expedition-run.ready{border-color:#3e7651;background:#0d1711}.game-expedition-choice-actions{display:flex;flex-wrap:wrap;gap:7px}.game-expedition-result-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.game-expedition-result-summary span{display:grid;gap:2px;padding:7px;border:1px solid #344047;background:#090d0f}.game-expedition-result-summary small{font-size:8px;color:#839097}.game-expedition-result-summary b{color:#dfc16e;font-size:13px}.game-expedition-result-summary .matched{border-color:#6e6430}.game-expedition-loot{display:flex;flex-wrap:wrap;gap:6px}.game-expedition-loot>span{display:grid;grid-template-columns:36px auto;grid-template-areas:'art name' 'art qty';gap:1px 6px;align-items:center;padding:5px 7px;border:1px solid #344047;background:#090d0f}.game-expedition-loot-art{grid-area:art;width:36px;height:36px;object-fit:contain!important}.game-expedition-loot b{grid-area:name;color:#dde3e6;font-size:10px}.game-expedition-loot small{grid-area:qty;color:#a7b0b5;font-size:9px}.game-expedition-discovery{display:grid;gap:2px;padding:8px;border-left:3px solid #b58c38;background:#15110b}.game-expedition-discovery b{color:#e7c66f;font-size:9px;letter-spacing:.08em}.game-expedition-discovery span{color:#e2e6e8;font-size:12px}.game-expedition-discovery small{color:#aab4b9;font-size:10px}.game-expedition-routes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.game-expedition-route{display:grid;gap:9px;padding:12px;border:1px solid #354149;border-radius:9px;background:#0c1114}.game-expedition-route.locked{opacity:.66}.game-expedition-route-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.game-expedition-route-head small{color:#8f9a9f;font-size:8px;font-weight:900;letter-spacing:.08em}.game-expedition-route-head h3{margin:3px 0 0;color:#e6c777;font:700 17px Georgia,'Times New Roman',serif}.game-expedition-route-head>span{padding:4px 7px;border:1px solid #57636a;border-radius:99px;color:#b9c2c6;font-size:8px;font-weight:900}.game-expedition-route p{margin:0;color:#aab4b9;font-size:11px;line-height:1.45}.game-expedition-route-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.game-expedition-route-meta>span{display:grid;gap:2px;padding:6px;border:1px solid #2f393f;background:#090d10}.game-expedition-route-meta small{color:#7f8b92;font-size:8px;font-weight:900}.game-expedition-route-meta b{color:#d7dee2;font-size:10px;line-height:1.35}.game-expedition-launch{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,.6fr) auto;gap:7px;align-items:end}.game-expedition-launch label{display:grid;gap:4px;color:#8f9a9f;font-size:8px;font-weight:900}.game-expedition-launch select{min-width:0;height:38px;border:1px solid #3e494f;border-radius:5px;background:#090d10;color:#dce2e5;padding:0 8px}.game-expedition-lock{padding:8px;border:1px solid #5d4831;background:#17110b;color:#d1b27a;font-size:10px}.game-expedition-pets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.game-expedition-pet{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;padding:10px;border:1px solid #364249;background:#0b1013}.game-expedition-pet>div{display:grid}.game-expedition-pet b{color:#e3c575;font-size:11px}.game-expedition-pet small{color:#819097;font-size:9px}.game-expedition-pet>span{align-self:start;color:#9aa5aa;font-size:8px;font-weight:900}.game-expedition-pet p{grid-column:1/-1;margin:0;color:#aab4b9;font-size:10px;line-height:1.4}.game-expedition-pet.missing{opacity:.55}.game-relic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.game-relic-set{padding:10px;border:1px solid #3a444a;background:#0a0f12}.game-relic-set.complete{border-color:#8d7133;background:#151108}.game-relic-set>div:first-child{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'region count' 'name count';gap:2px 8px}.game-relic-set small{grid-area:region;color:#7f8b92;font-size:8px}.game-relic-set h3{grid-area:name;margin:0;color:#e1c16b;font:700 14px Georgia,'Times New Roman',serif}.game-relic-set>div:first-child>b{grid-area:count;align-self:center;color:#e8cf8a}.game-relic-set>div:last-child{display:grid;gap:4px;margin-top:8px}.game-relic-set>div:last-child span{color:#79858b;font-size:10px}.game-relic-set>div:last-child span.found{color:#dbe2e5}.game-secret-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.game-secret-location{display:grid;gap:4px;padding:10px;border:1px solid #333d42;background:#090d10}.game-secret-location b{color:#dfbf6c}.game-secret-location span{color:#9da8ad;font-size:10px;line-height:1.4}.game-secret-location.hidden{opacity:.58;filter:saturate(.4)}
@media(max-width:1100px){.game-expedition-routes,.game-expedition-runs,.game-relic-grid,.game-secret-grid{grid-template-columns:1fr}.game-expedition-pets{grid-template-columns:repeat(2,minmax(0,1fr))}.game-expedition-launch{grid-template-columns:1fr 1fr}.game-expedition-launch .btn{grid-column:1/-1}}
@media(max-width:650px){.game-expedition-summary{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}.game-expedition-pets{grid-template-columns:1fr}.game-expedition-route-meta,.game-expedition-result-summary{grid-template-columns:1fr}.game-expedition-launch{grid-template-columns:1fr}}

/* ===== 3.11.24 FULL 2D CHARACTER FIT — final authority =====
   Older overview rules capped the portrait at 320px and clipped the flex parent.
   These final rules intentionally override every earlier Character overview cap. */
.game-character-dashboard.view-overview .game-character-portrait{
  min-height:0!important;
  height:auto!important;
  overflow:visible!important;
  justify-content:flex-start!important;
}
.game-character-dashboard.view-overview .game-character-portrait .game-avatar-real.large{
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  margin:0 auto 8px!important;
}
.game-character-dashboard.view-overview .game-character-portrait .game-avatar-real.large .game-avatar-frame{
  width:min(100%,360px)!important;
  height:auto!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  overflow:visible!important;
  margin:0 auto!important;
}
.game-character-dashboard.view-overview .game-character-portrait .game-avatar-real.large .game-avatar-frame img.game-avatar-portrait{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center top!important;
  transform:none!important;
}
.game-character-dashboard.view-overview .game-character-portrait .game-avatar-chips.inspect-slots{
  width:min(100%,360px)!important;
  margin:10px auto 0!important;
}


/* 3.11.27 PET DISCOVERY — full artwork, no emoji/clipart assets */
.game-pet-discovery-modal{width:min(980px,94vw);max-width:980px;padding:0 18px 20px;overflow:hidden;border-color:#735721;background:linear-gradient(180deg,#0c1013 0%,#080b0d 100%)}
.game-pet-discovery-banner{margin:0 -18px 16px;padding:14px 22px;text-align:center;border-bottom:1px solid #745a24;background:linear-gradient(180deg,#1b160d,#0c0f11);color:#f1cd72;font:700 clamp(28px,4vw,48px) Georgia,'Times New Roman',serif;letter-spacing:.035em;text-shadow:0 2px 14px rgba(0,0,0,.8)}
.game-pet-discovery-grid{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(300px,1.1fr);gap:18px;align-items:stretch}
.game-pet-discovery-art-wrap{min-height:430px;border:1px solid #5f4c29;border-radius:10px;overflow:hidden;background:#06090b}
.game-pet-discovery-art{display:block;width:100%;height:100%;min-height:430px;object-fit:cover!important;object-position:center}
.game-pet-discovery-copy{display:flex;flex-direction:column;gap:10px;padding:8px 4px}
.game-pet-discovery-copy h2{margin:0;color:#f0cc75;font:700 clamp(30px,4vw,44px) Georgia,'Times New Roman',serif}
.game-pet-discovery-desc{margin:0;color:#d5dde0;font-size:14px;line-height:1.55}
.game-pet-discovery-specialty{display:grid;gap:4px;margin-top:6px;padding:12px;border:1px solid #5d4a27;border-left:4px solid #b88d39;background:#111317}
.game-pet-discovery-specialty small,.game-pet-discovery-meta small{color:#8f9ba1;font-size:9px;font-weight:900;letter-spacing:.09em}
.game-pet-discovery-specialty strong{color:#ebc86f;font:700 20px Georgia,'Times New Roman',serif}
.game-pet-discovery-specialty span{color:#bcc5ca;font-size:12px;line-height:1.45}
.game-pet-discovery-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:auto}
.game-pet-discovery-meta>span{display:grid;gap:4px;padding:10px;border:1px solid #364047;background:#090d0f}
.game-pet-discovery-meta b{color:#e4e9eb;font-size:11px;line-height:1.35}
.game-pet-discovery-continue{display:block;min-width:260px;margin:18px auto 0}
.game-expedition-pet{grid-template-columns:70px minmax(0,1fr) auto!important;align-items:start}
.game-expedition-pet-art{grid-row:1/3;width:64px;height:64px;object-fit:cover!important;border:1px solid #4b5660;border-radius:6px;background:#070a0c}
.game-expedition-pet p{grid-column:2/-1!important}
.game-adventure-pet-chip{display:grid!important;grid-template-columns:42px 1fr;grid-template-areas:'art name' 'art source';align-items:center;gap:2px 8px}
.game-adventure-pet-chip img{grid-area:art;width:42px;height:42px;object-fit:cover!important;border:1px solid #80612a;border-radius:5px}
.game-adventure-pet-chip b{grid-area:name}.game-adventure-pet-chip small{grid-area:source}
@media(max-width:760px){.game-pet-discovery-grid{grid-template-columns:1fr}.game-pet-discovery-art-wrap,.game-pet-discovery-art{min-height:300px;max-height:380px}.game-pet-discovery-meta{grid-template-columns:1fr}.game-expedition-pet{grid-template-columns:58px minmax(0,1fr) auto!important}.game-expedition-pet-art{width:52px;height:52px}}

/* ===== 3.11.29 REALM JOURNAL BOOKLET ===== */
.game-realm-book{border:1px solid #5b492b;border-radius:13px;overflow:hidden;background:#0b0f12;box-shadow:0 20px 54px rgba(0,0,0,.28)}
.game-realm-book-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 18px;align-items:end;padding:17px 18px 0;background:linear-gradient(180deg,#17150f,#0c1013 88%);border-bottom:1px solid #574729}
.game-realm-book-header h2{margin:3px 0 5px;color:#f0d17c;font:700 30px/1.05 Georgia,'Times New Roman',serif;letter-spacing:.035em}
.game-realm-book-header p{margin:0 0 13px;max-width:850px;color:#9fa9ae;font-size:13px;line-height:1.5}
.game-realm-current{align-self:center;min-width:175px;padding:9px 12px;border:1px solid #5c4828;border-radius:8px;background:#0a0d0f;text-align:right}
.game-realm-current small,.game-realm-current span{display:block;color:#849097;font-size:8px;letter-spacing:.1em}.game-realm-current b{display:block;margin:2px 0;color:#edca73;font:700 17px Georgia,'Times New Roman',serif}
.game-realm-book-tabs{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding-top:2px}
.game-realm-book-tabs button{min-width:0;border:1px solid #31383d;border-bottom:0;border-radius:7px 7px 0 0;background:#0a0e11;color:#bdc6cb;padding:9px 10px 10px;text-align:left;cursor:pointer}
.game-realm-book-tabs button b,.game-realm-book-tabs button small{display:block}.game-realm-book-tabs button b{color:#d8c17f;font:700 12px Georgia,'Times New Roman',serif}.game-realm-book-tabs button small{margin-top:3px;color:#707d84;font-size:8px;line-height:1.25}
.game-realm-book-tabs button:hover{border-color:#765b2d;background:#11161a}.game-realm-book-tabs button.active{border-color:#d3a247;background:linear-gradient(180deg,#2b210f,#17130d);box-shadow:inset 0 -3px #d9a846}.game-realm-book-tabs button.active b{color:#f2d17a}.game-realm-book-tabs button.active small{color:#a99970}
.game-realm-book-shell{display:grid;grid-template-columns:minmax(480px,1.08fr) minmax(440px,.92fr);min-height:720px}
.game-realm-book-page{min-width:0;padding:15px}
.game-realm-book-left{background:linear-gradient(135deg,#0f1417,#090c0e 70%,#11140f);border-right:1px solid #4d3d27;color:#dce2e5}
.game-realm-book-right{background:linear-gradient(90deg,#d8c69f,#eee0bf 16%,#f1e5c9 84%,#d6c299);color:#1e1710;box-shadow:inset 12px 0 25px rgba(73,47,17,.14)}
.game-realm-page-title{display:flex;align-items:end;justify-content:space-between;gap:10px;padding:0 2px 10px;margin-bottom:10px;border-bottom:1px solid rgba(115,84,42,.34)}
.game-realm-book-left .game-realm-page-title{border-color:#30383d}.game-realm-page-title small{color:#82612e;font-size:8px;font-weight:900;letter-spacing:.13em}.game-realm-book-left .game-realm-page-title small{color:#7f8c92}.game-realm-page-title h3{margin:0;color:#332315;font:700 22px Georgia,'Times New Roman',serif}.game-realm-book-left .game-realm-page-title h3{color:#e9c977}
.game-realm-book .realm-book-regions{margin-bottom:10px;grid-template-columns:repeat(2,minmax(0,1fr))!important}.game-realm-book .realm-book-regions span{padding:7px 9px}.game-realm-book .realm-book-regions b{font-size:11px}.game-realm-book .realm-book-regions small{font-size:9px}
.game-realm-book .realm-book-map{height:390px;display:flex;flex-direction:column}.game-realm-book .realm-book-map>.game-world-map-viewport{flex:1 1 auto}.game-realm-book .game-world-map-viewport .game-world-map{width:140%!important;height:140%!important;min-height:140%!important}
.game-realm-area-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:11px}.game-realm-area-grid .game-world-city-card img{height:58px}.game-realm-area-grid .game-world-city-card>span{padding:7px}.game-realm-area-grid .game-world-city-card b{font-size:11px}.game-realm-area-grid .game-world-city-card small{font-size:9px}
.game-realm-book-right .game-world-city-hero{height:auto!important;aspect-ratio:24/13;min-height:280px;overflow:hidden;border:2px solid #876529;background:#1a1d1d;box-shadow:inset 0 0 0 2px #c9aa67,0 5px 15px rgba(77,50,20,.18)}.game-realm-book-right .game-world-city-art{width:100%;height:100%!important;border:0;object-fit:cover!important;object-position:center center!important}.game-realm-book-right .game-world-city-title{padding:11px 12px;background:linear-gradient(90deg,rgba(33,24,16,.95),rgba(33,24,16,.88));color:#f0d281}.game-realm-book-right .game-world-city-title .eyebrow{color:#c69b50}.game-realm-book-right .game-world-city-title h3{color:#f3d487;margin:2px 0;font:700 26px Georgia,'Times New Roman',serif}
.game-realm-city-page{padding-top:11px;font-family:Georgia,'Times New Roman',serif}.game-realm-book-right .game-world-specialty{color:#6d4c1b!important;font-size:14px;font-weight:700}.game-realm-book-right .game-rep-badge,.game-realm-book-right .game-world-focus,.game-realm-book-right .game-world-benefits,.game-realm-book-right .game-world-detail-tasks{background:rgba(90,62,27,.07);border-color:rgba(91,63,29,.32);color:#2f2417}.game-realm-book-right .game-rep-badge small,.game-realm-book-right .game-rep-badge span,.game-realm-book-right .game-world-focus small,.game-realm-book-right .game-world-benefits small{color:#6c5a43}.game-realm-book-right .game-rep-badge strong,.game-realm-book-right .game-world-focus b,.game-realm-book-right .game-world-benefits>b,.game-realm-book-right .game-world-focus span{color:#67471a}.game-realm-book-right .game-world-description{color:#4b3c28;line-height:1.55}.game-realm-book-right .game-world-benefits li{color:#4c3c28}.game-realm-book-right .game-world-task-head small,.game-realm-book-right .game-world-task-head span{color:#6b593d}.game-realm-book-right .game-world-task-head b{color:#553a16}.game-realm-book-right .game-contract{background:rgba(45,31,18,.08);border-color:rgba(85,58,27,.28)}.game-realm-book-right .game-contract h4{color:#3c2a15}.game-realm-book-right .game-contract small{color:#68563f}
.game-realm-how{margin-top:14px;padding:11px 13px;border-left:4px solid #9a7128;background:rgba(110,78,31,.11);font-family:Georgia,'Times New Roman',serif}.game-realm-how h4{margin:0 0 5px;color:#5d421b;font-size:11px;letter-spacing:.08em}.game-realm-how p{margin:0;color:#4c3c29;font-size:11px;line-height:1.55}
.game-realm-ledger-intro>p{margin:0 0 11px;color:#a8b1b6;line-height:1.5}.game-realm-ledger-intro .realm-ranks{padding:10px;border:1px solid #58462a;border-radius:7px;background:#15120d;color:#e7c875;text-align:center}
.game-realm-region-ledger{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}.game-realm-region-ledger article{padding:12px;border:1px solid #343c41;border-radius:8px;background:#0a0e11}.game-realm-region-ledger small,.game-realm-region-ledger span{display:block;color:#7d8990;font-size:9px}.game-realm-region-ledger h3{margin:3px 0;color:#e4c677;font:700 17px Georgia,'Times New Roman',serif}.game-realm-region-ledger b{display:block;color:#d8e0e4;font-size:13px;margin-bottom:3px}
.game-realm-reputation-list{display:grid;gap:7px}.game-realm-reputation-row{display:grid;grid-template-columns:66px minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid rgba(83,59,28,.27);border-radius:6px;background:rgba(86,61,29,.08);padding:6px;text-align:left;cursor:pointer;color:#2f2417}.game-realm-reputation-row:hover{border-color:#9b712c;background:rgba(121,83,30,.13)}.game-realm-reputation-row img{width:66px;height:58px;object-fit:cover;border:1px solid #7c5c27}.game-realm-reputation-row span{min-width:0}.game-realm-reputation-row small,.game-realm-reputation-row b,.game-realm-reputation-row em{display:block}.game-realm-reputation-row small{color:#796443;font-size:8px}.game-realm-reputation-row b{color:#3b2915;font:700 14px Georgia,'Times New Roman',serif}.game-realm-reputation-row em{color:#68553a;font-size:9px;font-style:normal}.game-realm-reputation-row i{display:block;height:4px;margin-top:5px;background:rgba(64,43,20,.16);border-radius:999px;overflow:hidden}.game-realm-reputation-row i u{display:block;height:100%;background:#b68532;text-decoration:none}.game-realm-reputation-row>strong{color:#6c4c1d;font-size:9px}
.game-realm-collection-summary{display:grid;justify-items:center;padding:25px 15px;border:1px solid #554326;border-radius:10px;background:radial-gradient(circle,rgba(216,170,73,.08),transparent 64%),#0a0e11;text-align:center}.game-realm-collection-summary small{color:#84724a;font-size:9px;letter-spacing:.13em}.game-realm-collection-summary strong{margin:4px 0;color:#efcf79;font:700 38px Georgia,'Times New Roman',serif}.game-realm-collection-summary span{color:#89949a;font-size:11px}
.game-realm-relic-index,.game-realm-secret-index{display:grid;gap:8px;margin-top:11px}.game-realm-relic-index article,.game-realm-secret-index article{padding:11px;border:1px solid #343c41;border-radius:8px;background:#0a0e11}.game-realm-relic-index article.complete{border-color:#7b6b36}.game-realm-relic-index small,.game-realm-secret-index small{color:#7e8990;font-size:8px}.game-realm-relic-index h3,.game-realm-secret-index h3{margin:3px 0;color:#e0c579;font:700 16px Georgia,'Times New Roman',serif}.game-realm-relic-index b{color:#d9e0e3}.game-realm-relic-index i{display:block;height:4px;margin-top:7px;background:#1b2023;border-radius:999px;overflow:hidden}.game-realm-relic-index i u{display:block;height:100%;background:#c09239;text-decoration:none}.game-realm-secret-index p{margin:5px 0 0;color:#899399;font-size:10px;line-height:1.45}.game-realm-secret-index article.hidden{opacity:.65}
.game-realm-relic-pages,.game-realm-secret-pages{display:grid;gap:10px}.game-realm-relic-pages>section,.game-realm-secret-pages>section{padding:11px;border:1px solid rgba(89,63,31,.25);border-radius:6px;background:rgba(90,63,29,.07)}.game-realm-relic-pages section>div{display:flex;align-items:end;justify-content:space-between;gap:8px;margin-bottom:7px}.game-realm-relic-pages small,.game-realm-secret-pages small{color:#7f6743;font-size:8px;letter-spacing:.08em}.game-realm-relic-pages h3,.game-realm-secret-pages h3{margin:2px 0;color:#4a3217;font:700 17px Georgia,'Times New Roman',serif}.game-realm-relic-pages section>span{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-top:1px solid rgba(83,59,28,.16)}.game-realm-relic-pages span b{color:#493620;font-size:11px}.game-realm-relic-pages span em{font-style:normal;font-size:8px;font-weight:900}.game-realm-relic-pages span.found em{color:#527042}.game-realm-relic-pages span.missing em{color:#8b6f4c}.game-realm-secret-pages p{margin:5px 0;color:#51412d;font-size:11px;line-height:1.5}.game-realm-secret-pages span{display:block;margin-top:7px;color:#6b4b1f;font-size:10px;font-weight:700}.game-realm-secret-pages section.hidden{opacity:.66}
.game-realm-book .realm-book-summary{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:11px}.game-realm-book-section{margin-top:13px}.game-realm-book-section .game-dashboard-section-head h2{font-size:20px}.game-realm-empty{padding:15px;border:1px dashed #394348;border-radius:8px;text-align:center}.game-realm-empty b,.game-realm-empty span{display:block}.game-realm-empty b{color:#e2c777}.game-realm-empty span{margin-top:4px;color:#828e95;font-size:10px}.game-realm-book .game-expedition-pets{grid-template-columns:1fr}.game-realm-book .game-expedition-pet{grid-template-columns:62px minmax(0,1fr) auto}.game-realm-book .game-expedition-pet-art{width:62px;height:62px}.game-realm-book .game-expedition-pet p{grid-column:2/-1}
.game-realm-route-intro{padding-bottom:10px;border-bottom:1px solid rgba(86,60,28,.3)}.game-realm-route-intro small{color:#886729;font-size:8px;letter-spacing:.12em}.game-realm-route-intro h3{margin:3px 0;color:#4c3318;font:700 23px Georgia,'Times New Roman',serif}.game-realm-route-intro p{margin:0;color:#5d4b34;font-size:11px;line-height:1.5}.game-realm-book .realm-book-routes{grid-template-columns:1fr;gap:9px;margin-top:11px}.game-realm-book-right .game-expedition-route{background:rgba(56,39,20,.09);border-color:rgba(92,64,28,.3);color:#302418}.game-realm-book-right .game-expedition-route h3{color:#4e3418}.game-realm-book-right .game-expedition-route p,.game-realm-book-right .game-expedition-route-meta small{color:#6a5941}.game-realm-book-right .game-expedition-route-meta b{color:#4a361d}.game-realm-book-right .game-expedition-route-head>span{color:#644819;border-color:#8a672d;background:rgba(135,94,32,.09)}.game-realm-book-right .game-expedition-launch{border-color:rgba(92,64,28,.28);background:rgba(89,60,25,.06)}.game-realm-book-right .game-expedition-launch label{color:#634a2b}.game-realm-book-right .game-expedition-launch select{background:#211b13;color:#f0dfb7;border-color:#7b5c2a}

/* Bank sales are always a paired, explicit action. */
.game-bank-sell-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;grid-column:1/-1;width:100%}.game-bank-sell-actions .game-mini-btn{width:100%;min-height:36px}.game-sell-confirm-modal{width:min(650px,94vw)!important;text-align:left!important}.game-sell-confirm-modal h2{margin:4px 0 10px!important}.game-sell-confirm-modal>p{color:#c1c8cc!important;line-height:1.55}.game-sell-confirm-modal .game-respec-actions{grid-template-columns:1fr 1fr}.game-sell-confirm-modal .game-respec-cost strong{font-size:28px}

@media(max-width:1180px){.game-realm-book-shell{grid-template-columns:1fr}.game-realm-book-left{border-right:0;border-bottom:1px solid #4d3d27}.game-realm-book .realm-book-map{height:520px}.game-realm-book-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.game-realm-book-tabs button{border-bottom:1px solid #31383d;border-radius:7px}.game-realm-book-tabs button.active{border-bottom-color:#d3a247}}
@media(max-width:760px){.game-realm-book-header{grid-template-columns:1fr}.game-realm-current{justify-self:stretch;text-align:left}.game-realm-book-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.game-realm-book-page{padding:10px}.game-realm-book .realm-book-map{height:430px}.game-realm-area-grid,.game-realm-region-ledger{grid-template-columns:1fr 1fr}.game-realm-reputation-row{grid-template-columns:54px minmax(0,1fr)}.game-realm-reputation-row img{width:54px;height:50px}.game-realm-reputation-row>strong{grid-column:2}.game-bank-sell-actions{grid-template-columns:1fr}.game-sell-confirm-modal .game-respec-actions{grid-template-columns:1fr}}
@media(max-width:520px){.game-realm-book-tabs,.game-realm-area-grid,.game-realm-region-ledger{grid-template-columns:1fr}.game-realm-book .realm-book-map{height:350px}}


/* ===== 3.11.30 REALM MAP SPACE + COMPACT INDEX ===== */
.game-realm-book .realm-book-map{height:560px}
.game-realm-index{margin-top:12px;padding-top:10px;border-top:1px solid #30383d}
.game-realm-index-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:8px}
.game-realm-index-head small,.game-realm-index-head b{display:block}.game-realm-index-head small{color:#79878e;font-size:8px;letter-spacing:.12em}.game-realm-index-head b{margin-top:2px;color:#e7ca7a;font:700 15px Georgia,'Times New Roman',serif}.game-realm-index-head>span{color:#768188;font-size:9px;text-align:right}
.game-realm-index-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.game-realm-index-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 4px;gap:6px 8px;align-items:center;min-width:0;padding:8px 9px;border:1px solid #30383d;border-radius:7px;background:#0a0e11;color:#e4e8ea;text-align:left;cursor:pointer}
.game-realm-index-row:hover{border-color:#82692f;background:#101316}.game-realm-index-row.selected{border-color:#d2a64f;box-shadow:0 0 0 1px rgba(210,166,79,.14)}.game-realm-index-row.current{border-color:#4d8060}
.game-realm-index-main,.game-realm-index-rank{min-width:0}.game-realm-index-main b,.game-realm-index-main small,.game-realm-index-rank strong,.game-realm-index-rank small{display:block}.game-realm-index-main b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f0f2f3;font-size:11px}.game-realm-index-main b em{display:inline-block;margin-left:5px;padding:1px 4px;border:1px solid #3e7452;border-radius:999px;color:#80dda0;font-size:7px;font-style:normal;vertical-align:1px}.game-realm-index-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;color:#748087;font-size:8px}.game-realm-index-rank{text-align:right}.game-realm-index-rank strong{color:#d9c078;font-size:9px}.game-realm-index-rank small{margin-top:2px;color:#77838a;font-size:8px}
.game-realm-index-row>i{grid-column:1/-1;display:block;height:4px;background:#20262a;border-radius:999px;overflow:hidden}.game-realm-index-row>i u{display:block;height:100%;background:linear-gradient(90deg,#7e642f,#d8ae55);text-decoration:none}
@media(max-width:1180px){.game-realm-book .realm-book-map{height:610px}.game-realm-index-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.game-realm-book .realm-book-map{height:470px}.game-realm-index-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-realm-index-head{align-items:flex-start;flex-direction:column}.game-realm-index-head>span{text-align:left}}
@media(max-width:520px){.game-realm-book .realm-book-map{height:390px}.game-realm-index-grid{grid-template-columns:1fr}}

/* 3.11.31 BANK GEAR COMPARISON */
.game-bank-book-entry.is-gear .game-adventure-entry-copy{min-width:0}
.game-bank-book-compare{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}
.game-bank-book-compare .game-compare-badge{font-size:9px;min-height:20px;padding:2px 6px}
.game-bank-detail-verdict{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:7px 0 8px}
.game-bank-detail-verdict>span{color:#665238;font-size:12px;font-weight:750}
.game-bank-gear-compare{padding:0!important;border:1px solid #806739!important;background:#0b1014!important;overflow:hidden}
.game-bank-gear-compare>h3{margin:0!important;padding:9px 12px!important;background:#4b3417!important;color:#f1d697!important;border-bottom:1px solid #806739!important}
.game-bank-gear-compare .gear-tip{color:#dfe5e8}
.game-bank-gear-compare .gear-tip-head{border-radius:0}
.game-bank-gear-compare .gear-tip-note{padding-bottom:12px}
.game-bank-book-detail[data-item-id]{cursor:default}
@media(max-width:760px){.game-bank-detail-verdict{align-items:flex-start;flex-direction:column}.game-bank-gear-compare .gear-compare-head,.game-bank-gear-compare .gear-compare-row{grid-template-columns:minmax(95px,1.1fr) .7fr .7fr .8fr}}

/* ===== 3.11.32 CRAFTED GEAR PROGRESSION ===== */
.game-gear-card.has-crafted-upgrade{border-color:#6f5b2f}
.game-gear-owned-upgrade,.game-gear-next{display:grid;gap:2px;width:100%;margin-top:8px;padding:7px 8px;border-radius:6px;text-align:left}
.game-gear-owned-upgrade{border:1px solid #3f7754;background:rgba(33,91,55,.16)}
.game-gear-owned-upgrade small,.game-gear-next small{font-size:7px;font-weight:900;letter-spacing:.11em}
.game-gear-owned-upgrade small{color:#79d59b}.game-gear-owned-upgrade b{color:#dff6e7;font-size:10px}.game-gear-owned-upgrade span{color:#9fb6a7;font-size:8px}
.game-gear-next{border:1px solid #6f5b2f;background:rgba(112,82,30,.15)}
.game-gear-next small{color:#bca15f}.game-gear-next b{color:#f0d383;font-size:10px}.game-gear-next span{color:#a59570;font-size:8px}
.game-gear-next.ready{border-color:#3e8159;background:rgba(38,107,66,.17)}.game-gear-next.ready small,.game-gear-next.ready span{color:#7fd9a0}
.game-gear-next.owned{border-color:#4e7ea4;background:rgba(44,89,126,.16)}.game-gear-next.owned small,.game-gear-next.owned span{color:#87bee8}
.game-gear-next.locked{border-color:#6c4850;background:rgba(105,46,60,.12)}.game-gear-next.locked small,.game-gear-next.locked span{color:#bf8793}
.game-gear-next.materials{border-color:#7b6531;background:rgba(112,88,30,.13)}
.game-gear-progression{margin-top:16px;padding:13px;border:1px solid #57472b;border-radius:10px;background:linear-gradient(180deg,#11161a,#0a0e11)}
.game-gear-progression-head{display:flex;align-items:end;justify-content:space-between;gap:16px;padding-bottom:10px;border-bottom:1px solid #30383d}
.game-gear-progression-head small{display:block;color:#887240;font-size:8px;font-weight:900;letter-spacing:.12em}.game-gear-progression-head h3{margin:3px 0;color:#e7c979;font:700 19px Georgia,'Times New Roman',serif}.game-gear-progression-head p{margin:0;max-width:850px;color:#8f9a9f;font-size:10px;line-height:1.5}.game-gear-progression-head>b{white-space:nowrap;color:#d2b76e;font-size:10px}
.game-gear-progression-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
.game-gear-progression-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border:1px solid #30383d;border-radius:8px;background:#0a0e11}
.game-gear-progression-row.ready{border-color:#3f7654}.game-gear-progression-row.owned{border-color:#466f91}.game-gear-progression-row.locked{opacity:.88}.game-gear-progression-row.max{border-color:#4b4f52}
.game-gear-progression-copy small,.game-gear-progression-copy b,.game-gear-progression-copy span{display:block}.game-gear-progression-copy small{color:#78858b;font-size:8px;letter-spacing:.08em}.game-gear-progression-copy b{margin:2px 0;color:#e8cb7c;font-size:12px}.game-gear-progression-copy span{color:#8f9a9f;font-size:9px;line-height:1.4}
.game-gear-progression-actions{display:grid;justify-items:end;gap:6px;text-align:right}.game-gear-progression-actions>strong{color:#c6ad6b;font-size:9px;letter-spacing:.05em}.game-gear-progression-row.ready .game-gear-progression-actions>strong{color:#77d59a}.game-gear-progression-row.owned .game-gear-progression-actions>strong{color:#82bce5}.game-gear-progression-row.max>strong{color:#8d989d;font-size:9px}
@media(max-width:900px){.game-gear-progression-list{grid-template-columns:1fr}.game-gear-progression-head{align-items:flex-start;flex-direction:column}.game-gear-progression-row{grid-template-columns:1fr}.game-gear-progression-actions{justify-items:start;text-align:left}}

/* ===== 3.11.33 DUNGEON ATTUNEMENT + READINESS ===== */
.game-gear-owned-upgrade.clickable,.game-gear-next.clickable{appearance:none;cursor:pointer;font:inherit}.game-gear-owned-upgrade.clickable:hover,.game-gear-next.clickable:hover{transform:translateY(-1px);filter:brightness(1.08)}.game-gear-owned-upgrade em,.game-gear-next em{margin-top:3px;color:#d8c17f;font-size:8px;font-style:normal;font-weight:900;letter-spacing:.08em}.game-gear-next:disabled{cursor:default;transform:none;filter:none;opacity:.78}
.game-dungeon-ward-loadout{margin-top:14px;padding:13px;border:1px solid #4c5b63;border-radius:10px;background:linear-gradient(180deg,#0f1519,#090d10)}
.game-dungeon-ward-head{display:flex;align-items:end;justify-content:space-between;gap:16px;padding-bottom:10px;border-bottom:1px solid #30383d}.game-dungeon-ward-head small{display:block;color:#7590a0;font-size:8px;font-weight:900;letter-spacing:.12em}.game-dungeon-ward-head h3{margin:3px 0;color:#dbe9ef;font:700 18px Georgia,'Times New Roman',serif}.game-dungeon-ward-head p{margin:0;max-width:850px;color:#87959d;font-size:10px;line-height:1.5}.game-dungeon-ward-head> b{color:#8fc2da;font-size:9px;letter-spacing:.08em}
.game-dungeon-ward-owned{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}.game-dungeon-ward-chip{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px;align-items:center;padding:7px;border:1px solid #344149;border-radius:7px;background:#0a1014;color:#dce4e8;text-align:left;cursor:pointer}.game-dungeon-ward-chip:hover{border-color:#68899a}.game-dungeon-ward-chip.active{border-color:#d0a84f;background:linear-gradient(180deg,#1f1a10,#101216)}.game-dungeon-ward-art{width:42px;height:42px;object-fit:contain;background:#080b0d;border:1px solid #37434a;border-radius:5px;padding:2px}.game-dungeon-ward-chip b,.game-dungeon-ward-chip small{display:block}.game-dungeon-ward-chip b{color:#e4d199;font-size:10px}.game-dungeon-ward-chip small{margin-top:2px;color:#7f9098;font-size:8px;line-height:1.3}.game-dungeon-ward-empty{grid-column:1/-1;padding:10px;border:1px dashed #39464d;border-radius:7px;color:#819097;font-size:9px}
.game-dungeon-readiness{margin:13px 0;padding:12px;border:1px solid rgba(87,63,31,.34);border-radius:8px;background:rgba(95,66,29,.06)}.game-dungeon-readiness.ready{border-color:rgba(54,111,71,.48);background:rgba(46,101,62,.08)}.game-dungeon-readiness.blocked{border-color:rgba(130,71,52,.42);background:rgba(118,55,39,.06)}
.game-dungeon-readiness-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:9px;border-bottom:1px solid rgba(83,59,28,.18)}.game-dungeon-readiness-head small{display:block;color:#775c34;font-size:8px;font-weight:900;letter-spacing:.12em}.game-dungeon-readiness-head h3{margin:3px 0;color:#4f3517;font:700 17px Georgia,'Times New Roman',serif}.game-dungeon-readiness-head p{margin:0;max-width:720px;color:#67543a;font-size:10px;line-height:1.5}.game-dungeon-readiness-head>strong{padding:4px 7px;border:1px solid #8c6a33;border-radius:999px;color:#72501f;font-size:8px;letter-spacing:.08em}.game-dungeon-readiness.ready .game-dungeon-readiness-head>strong{border-color:#60875f;color:#477347}
.game-dungeon-readiness-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:9px}.game-dungeon-readiness-check{display:grid;grid-template-columns:24px minmax(0,1fr);gap:7px;align-items:center;padding:7px;border:1px solid rgba(85,61,31,.18);border-radius:6px;background:rgba(255,255,255,.13)}.game-dungeon-readiness-check>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#7c4537;color:#fff;font-size:12px;font-weight:900}.game-dungeon-readiness-check.ready>span{background:#4e7a50}.game-dungeon-readiness-check.recommended>span{background:#806b42}.game-dungeon-readiness-check b,.game-dungeon-readiness-check small{display:block}.game-dungeon-readiness-check b{color:#3f2d19;font-size:10px}.game-dungeon-readiness-check small{margin-top:2px;color:#79684f;font-size:8px}.game-dungeon-readiness-action{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:9px;padding-top:9px;border-top:1px solid rgba(83,59,28,.16)}.game-dungeon-readiness-action small{color:#6f5a3d;font-size:9px}
@media(max-width:900px){.game-dungeon-ward-owned{grid-template-columns:repeat(2,minmax(0,1fr))}.game-dungeon-readiness-grid{grid-template-columns:1fr}}
@media(max-width:560px){.game-dungeon-ward-head,.game-dungeon-readiness-head{flex-direction:column}.game-dungeon-ward-owned{grid-template-columns:1fr}}


/* 3.11.35 WEAPON IDENTITY + SET BONUS VISIBILITY */
.game-gear-set-status{margin:7px 0 2px;padding:6px 7px;border:1px solid #4a3d24;border-radius:6px;background:#141108;text-align:left}.game-gear-set-status>b{display:block;color:#e6c56e;font-size:10px;margin-bottom:5px}.game-gear-set-status>span{display:flex;gap:4px;flex-wrap:wrap}.game-gear-set-status i{font-style:normal;font-size:9px;font-weight:800;letter-spacing:.04em;padding:3px 5px;border:1px solid #353a3d;border-radius:4px;color:#70787d;background:#090b0c}.game-gear-set-status i.active{border-color:#4c7d55;color:#9be6aa;background:#0c1710}.game-gear-set-status i.next{border-color:#a98537;color:#f2cd6f;background:#1a1409}
.gear-tip-set-bonuses{display:grid;gap:5px;margin-top:5px}.gear-tip-set-bonuses small{padding:6px 7px;border:1px solid #343a3d;border-radius:5px;background:#0b0e10;color:#8e979d!important}.gear-tip-set-bonuses small strong{display:block;color:#9ba3a8;margin-bottom:2px}.gear-tip-set-bonuses small.active{border-color:#4b754f;background:#0c1610;color:#c9efd0!important}.gear-tip-set-bonuses small.active strong{color:#75dc8c}.gear-tip-set-bonuses small.next{border-color:#94752f;background:#171208;color:#efd08a!important}.gear-tip-set-bonuses small.next strong{color:#f0c95f}
.game-active-set-thresholds{display:grid;gap:5px;margin-top:6px}.game-active-set-thresholds small{padding:5px 7px!important;border:1px solid #30363a;border-radius:5px;background:#090c0e;color:#7e878d!important}.game-active-set-thresholds small b{display:block!important;font-size:10px!important;color:#8e979c!important}.game-active-set-thresholds small.active{border-color:#4b754f;background:#0c1610;color:#caefd1!important}.game-active-set-thresholds small.active b{color:#75dc8c!important}.game-active-set-thresholds small.next{border-color:#94752f;background:#171208;color:#efd08a!important}.game-active-set-thresholds small.next b{color:#f0c95f!important}
.game-gear-thumb[src*="weapons31135"],.item-tip-art[src*="weapons31135"],.game-bank-book-art[src*="weapons31135"]{object-fit:contain!important;filter:drop-shadow(0 5px 8px rgba(0,0,0,.5))}

/* 3.11.44 GLOBAL PAGE SCROLL
   Vertical scrolling belongs to the page, not nested game panels. */
html,
body.crown-ember-page{
  height:auto!important;
  min-height:100%!important;
  overflow-y:auto!important;
  overscroll-behavior-y:auto!important;
}
body.game-authenticated{
  overflow-y:auto!important;
  overscroll-behavior-y:auto!important;
}
body.game-authenticated .game-section,
body.game-authenticated .game-section>.wrap,
body.game-authenticated .game-layout,
body.game-authenticated .game-main,
body.game-authenticated #game-panel{
  overflow:visible!important;
}
body.game-authenticated .game-layout{
  height:auto!important;
  min-height:650px!important;
  align-items:start!important;
}
body.game-authenticated .game-sidebar{
  position:sticky!important;
  top:88px!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  overscroll-behavior:auto!important;
  align-self:start!important;
}
body.game-authenticated .game-main{
  height:auto!important;
  min-height:650px!important;
  display:block!important;
}
body.game-authenticated #game-panel{
  min-height:0!important;
  flex:none!important;
  scrollbar-gutter:auto!important;
}
.game-gear-inspector,
.game-world-layout.compact-map .game-world-detail{
  max-height:none!important;
  height:auto!important;
  overflow:visible!important;
  overscroll-behavior:auto!important;
}
.game-book-recipe-list,
.game-adventure-guide-list>[data-adventure-entry-list],
.game-universal-guidebook .game-adventure-guide-list>[data-universal-entry-list],
.game-combat-log,
.game-encounter-panel .game-combat-log,
.game-adventure-parchment .game-combat-log.compact,
.game-adventure-dungeon-live .game-dungeon-event-feed{
  max-height:none!important;
  overflow-y:visible!important;
  overscroll-behavior-y:auto!important;
}
.game-table-wrap{
  overflow-x:auto!important;
  overflow-y:visible!important;
}
/* Horizontal rails keep horizontal scrolling only. */
.game-world-city-strip,
.game-workspace-nav,
.game-book-skill-tabs,
.game-book-category-tabs,
.game-book-view-tabs,
.game-adventure-guide-tabs,
.game-adventure-category-rail,
.game-shop-book-tabs{
  overflow-x:auto!important;
  overflow-y:hidden!important;
}
/* Modals intentionally retain their own vertical scrolling. */
.game-modal-card{
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
}
@media(max-width:900px){
  body.game-authenticated .game-sidebar{position:static!important}
}

/* 3.11.46 EVEN PAGE SCROLL */
html, body.crown-ember-page { scroll-behavior:auto!important; }

/* 3.11.47 READABILITY PASS — enlarge small explanatory/help copy only.
   Keep primary headings, bold titles and action buttons at their existing sizes. */
.game-page-quick-help-summary{
  font-size:14px!important;
  line-height:1.58!important;
}
.game-page-quick-help-steps>span{
  font-size:13.5px!important;
  line-height:1.58!important;
}
.game-page-quick-help>p{
  font-size:13px!important;
  line-height:1.55!important;
}
.game-guide-info-block p.game-guide-intro,
.game-guide-fineprint{
  font-size:13.5px!important;
  line-height:1.58!important;
}
.game-guide-steps p{
  font-size:13px!important;
  line-height:1.55!important;
}
.game-guide-source-none{
  font-size:12px!important;
  line-height:1.48!important;
}
.game-guide-material-source>span small,
.game-guide-objective-help div>small{
  font-size:11.5px!important;
  line-height:1.48!important;
}
.game-guide-usage-lines p{
  font-size:13px!important;
  line-height:1.58!important;
}
.game-adventure-detail-copy{
  font-size:16px!important;
  line-height:1.65!important;
}
.game-adventure-detail-head p{
  font-size:15px!important;
  line-height:1.5!important;
}
.game-adventure-parchment-section>p{
  font-size:14px!important;
  line-height:1.58!important;
}
.game-recipe-book>.game-panel-head p,
.game-book-title p,
.game-book-view-head p{
  font-size:15px!important;
  line-height:1.58!important;
}
.game-recipe-card p{
  font-size:14px!important;
  line-height:1.55!important;
}
.game-recipe-title small,
.game-recipe-row-title small{
  font-size:12px!important;
  line-height:1.45!important;
}
.game-recipe-row-meta{
  font-size:12.5px!important;
  line-height:1.5!important;
}
.game-recipe-row-meta small,
.game-recipe-owned,
.game-recipe-gate{
  font-size:12px!important;
  line-height:1.5!important;
}
.game-encounter-panel-head small{
  font-size:13px!important;
  line-height:1.55!important;
}
.game-encounter-panel .game-combat-log span{
  font-size:13px!important;
  line-height:1.5!important;
}
.game-status-empty{
  font-size:13px!important;
}
.game-realm-how p{
  font-size:13px!important;
  line-height:1.6!important;
}
.game-realm-ledger-intro>p,
.game-world-description{
  font-size:14px!important;
  line-height:1.6!important;
}
.game-expedition-route p,
.game-expedition-pet p,
.game-secret-location span{
  font-size:12px!important;
  line-height:1.5!important;
}
/* Generic panel explanatory paragraphs: readable, while headings remain untouched. */
.game-panel-head p{
  font-size:14px!important;
  line-height:1.5!important;
}


/* 3.11.48 RECIPE FINDER + CRAFT STATUS + COMPACT SOUNDTRACK LABEL */
.game-music-copy small{
  font-size:6px!important;
  letter-spacing:.08em!important;
  max-width:112px;
  overflow:hidden;
  text-overflow:ellipsis;
}
.game-tooltip.recipe-tooltip{
  width:min(460px,calc(100vw - 24px));
  max-width:460px;
  padding:0!important;
  overflow:hidden;
  border-color:#b88a35;
  background:#101419;
}
.game-find-recipe-tip{padding:14px 15px;background:linear-gradient(180deg,#171208,#0c1013)}
.game-find-recipe-tip>small{display:block;color:#e1b84f;font-size:10px;font-weight:950;letter-spacing:.12em;margin-bottom:4px}
.game-find-recipe-tip h4{margin:0 0 10px;color:#fff1bd;font-size:18px}
.game-find-recipe-sources{display:grid;gap:6px}
.game-find-recipe-sources p{display:grid;grid-template-columns:24px 1fr;gap:8px;align-items:start;margin:0!important;padding:7px 8px;border:1px solid #4a402a;border-radius:7px;background:#0c0f11;color:#d9dde0!important;font-size:13px!important;line-height:1.45!important}
.game-find-recipe-sources p>b{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#5b3e17;color:#ffd974;font-size:11px}
.game-find-recipe-next{margin-top:10px;padding:9px 10px;border-left:3px solid #d4a23d;background:#211a0e;display:grid;gap:3px}
.game-find-recipe-next strong{font-size:10px;letter-spacing:.1em;color:#f0c65f}.game-find-recipe-next span{font-size:13px;line-height:1.45;color:#efe8d6}
.game-find-recipe-btn{cursor:help!important}
.game-craft-status{position:relative;display:grid;grid-template-columns:54px minmax(0,1fr);gap:11px;align-items:center;margin:13px 0 5px;padding:11px 12px 15px;border:1px solid #67542c;border-radius:8px;background:linear-gradient(135deg,#151719,#0b0e10);overflow:hidden}
.game-craft-status.active{border-color:#d0a143;box-shadow:inset 0 0 20px rgba(208,161,67,.08)}
.game-craft-status.complete{border-color:#4f8059;background:linear-gradient(135deg,#101b13,#0b0f0c)}
.game-craft-status-art{width:54px;height:54px;border:1px solid #5c5035;border-radius:7px;background:#07090a;display:grid;place-items:center;overflow:hidden}
.game-craft-status-image{width:100%;height:100%;object-fit:contain}
.game-craft-status-copy{min-width:0;display:grid;gap:2px}.game-craft-status-copy small{color:#caa75c;font-size:9px;font-weight:950;letter-spacing:.12em}.game-craft-status-copy b{color:#fff0bd;font-size:15px}.game-craft-status-copy span{color:#d0d4d6;font-size:12.5px;line-height:1.45}.game-craft-status-copy em{color:#8f9aa0;font-size:9px;font-style:normal;font-weight:900;letter-spacing:.08em}
.game-craft-status-bar{position:absolute;left:0;right:0;bottom:0;height:4px;background:#292b2b}.game-craft-status-bar>b{display:block;height:100%;width:0;background:linear-gradient(90deg,#8c6624,#efbd52);transition:width .12s linear}.game-craft-status.complete .game-craft-status-bar>b{width:100%!important;background:linear-gradient(90deg,#477a52,#72d28b)}
@media(max-width:640px){.game-tooltip.recipe-tooltip{width:calc(100vw - 16px)}.game-craft-status{grid-template-columns:46px 1fr}.game-craft-status-art{width:46px;height:46px}}

/* 3.11.49 Character Builder */
.game-character-builder{margin:20px 0 0;padding:18px;border:1px solid #725625;border-radius:12px;background:linear-gradient(135deg,#17130c,#0b0f11);box-shadow:inset 4px 0 #c29137,0 14px 34px rgba(0,0,0,.22)}
.game-character-builder.running{border-color:#39704a;box-shadow:inset 4px 0 #55c779,0 14px 34px rgba(0,0,0,.25)}
.game-character-builder.global-off{opacity:.86}
.game-character-builder-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.game-character-builder-head h3{margin:3px 0 6px;font-size:20px;color:#f2dfad}
.game-character-builder-head p{margin:0;max-width:850px;font-size:13px;line-height:1.55;color:#b8c0c4}
.game-character-builder-state{flex:0 0 auto;padding:7px 10px;border:1px solid #80602a;border-radius:999px;font-size:11px;font-weight:900;letter-spacing:.08em;color:#f2d27d;background:#18130a}
.game-character-builder.running .game-character-builder-state{border-color:#3f7d51;color:#8be6a6;background:#0d1b12}
.game-character-builder-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:15px}
.game-character-builder-grid>div{min-width:0;padding:11px 12px;border:1px solid #343a3e;border-radius:8px;background:#0b0f11}
.game-character-builder-grid small{display:block;margin-bottom:4px;font-size:10px;font-weight:900;letter-spacing:.08em;color:#909ba1}
.game-character-builder-grid b{display:block;font-size:13px;line-height:1.4;color:#f0e4c4;overflow-wrap:anywhere}
.game-character-builder-message{display:grid;grid-template-columns:auto 1fr;gap:12px;margin-top:10px;padding:11px 12px;border:1px solid #30383c;border-radius:8px;background:#080c0e}
.game-character-builder-parallel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}.game-character-builder-parallel>div{display:grid;gap:3px;min-width:0;padding:10px 11px;border:1px solid #2d3c35;border-radius:8px;background:linear-gradient(145deg,#09100c,#0a0d0f)}.game-character-builder-parallel small{font-size:9px;font-weight:900;letter-spacing:.08em;color:#77a786}.game-character-builder-parallel b{font-size:12px;line-height:1.35;color:#dce8df;overflow-wrap:anywhere}.game-character-builder-parallel span{font-size:10px;line-height:1.35;color:#8e9b94}
.game-character-builder-message b{font-size:11px;color:#d9b964}
.game-character-builder-message span{font-size:13px;line-height:1.45;color:#c8d0d4}
.game-character-builder-actions{display:flex;align-items:center;gap:14px;margin-top:12px;flex-wrap:wrap}
.game-character-builder-actions small{font-size:12px;line-height:1.45;color:#9da7ac}
@media(max-width:900px){.game-character-builder-grid,.game-character-builder-parallel{grid-template-columns:repeat(2,minmax(0,1fr))}.game-character-builder-head{flex-direction:column}.game-character-builder-message{grid-template-columns:1fr}}
@media(max-width:560px){.game-character-builder-grid,.game-character-builder-parallel{grid-template-columns:1fr}}

/* 3.11.50 Dungeon Token Shop */
.game-dungeon-token-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;border-bottom:1px solid #5b4725;background:linear-gradient(180deg,#19150d,#0d1113);box-shadow:inset 0 -1px rgba(224,170,64,.12)}
.game-dungeon-token-balance{display:flex;align-items:center;gap:12px;min-width:0}.game-dungeon-token-art{width:58px;height:58px;object-fit:contain!important;padding:5px;border:1px solid #765d2e;border-radius:9px;background:radial-gradient(circle at 50% 40%,#28200f,#080b0d 72%);box-shadow:0 0 18px rgba(211,161,57,.12)}
.game-dungeon-token-balance>div{display:grid;gap:2px;min-width:0}.game-dungeon-token-balance small{font-size:9px;font-weight:950;letter-spacing:.13em;color:#b99a59}.game-dungeon-token-balance b{font:700 18px/1.15 Georgia,'Times New Roman',serif;color:#ffe2a0}.game-dungeon-token-balance span{font-size:11.5px;line-height:1.4;color:#98a2a7;max-width:650px}
.game-dungeon-mode-tabs{display:flex;gap:8px;flex:0 0 auto}.game-dungeon-mode-tabs button{min-width:132px;padding:10px 13px;border:1px solid #4d4637;border-radius:7px;background:#0a0e10;color:#9da7ac;font-size:10px;font-weight:950;letter-spacing:.08em;cursor:pointer}.game-dungeon-mode-tabs button:hover{border-color:#8c6c32;color:#e4c77d}.game-dungeon-mode-tabs button.active{border-color:#d5a33f;color:#ffe4a2;background:linear-gradient(180deg,#34250e,#18130b);box-shadow:inset 0 -2px #d5a33f}
.token-shop-controls{grid-template-columns:minmax(280px,1fr)!important}.token-shop-controls .game-adventure-search{max-width:none}
.game-adventure-entry.token-shop-entry{grid-template-columns:56px minmax(0,1fr) 74px 18px}.game-dungeon-shop-price{display:grid;justify-items:center;align-content:center;min-width:68px;padding:5px 7px;border:1px solid #514325;border-radius:6px;background:#141108}.game-dungeon-shop-price small{font-size:7px;font-weight:950;letter-spacing:.12em;color:#8e805c}.game-dungeon-shop-price b{font-size:17px;line-height:1;color:#f2c55c}.game-dungeon-shop-price em{font-size:7px;font-style:normal;font-weight:900;letter-spacing:.08em;color:#b8a571}
.game-dungeon-shop-detail .game-adventure-main-action{margin-top:16px}.game-dungeon-shop-requirements{display:flex;flex-wrap:wrap;gap:7px}.game-dungeon-shop-requirements span{padding:7px 9px;border:1px solid #33453a;border-radius:6px;background:#101813;color:#9cd6aa;font-size:11px;font-weight:800}.game-dungeon-shop-requirements span.locked{border-color:#65402e;background:#1d120d;color:#d58f72}
.game-dungeon-shop-purpose{margin-top:14px;padding:12px 13px;border-left:3px solid #d0a13f;background:linear-gradient(90deg,#21190b,#111315)}.game-dungeon-shop-purpose b{display:block;margin-bottom:4px;color:#e8bd58;font-size:10px;letter-spacing:.1em}.game-dungeon-shop-purpose p{margin:0!important;color:#c7ced1!important;font-size:12px!important;line-height:1.5!important}
.game-dungeon-title{display:inline-block;margin:2px 0 5px;padding:4px 9px;border:1px solid #ae8130;border-radius:999px;background:linear-gradient(180deg,#2b1d09,#151008);color:#f0c968;font-size:10px;font-style:normal;font-weight:950;letter-spacing:.09em;text-transform:uppercase;box-shadow:0 0 16px rgba(221,166,61,.12)}
@media(max-width:760px){.game-dungeon-token-toolbar{align-items:stretch;flex-direction:column;padding:11px 12px}.game-dungeon-mode-tabs{width:100%}.game-dungeon-mode-tabs button{flex:1;min-width:0}.game-dungeon-token-art{width:50px;height:50px}.game-dungeon-token-balance b{font-size:16px}.game-adventure-entry.token-shop-entry{grid-template-columns:50px minmax(0,1fr) 62px 14px}.game-dungeon-shop-price{min-width:56px;padding:4px}.game-dungeon-shop-price b{font-size:14px}}

/* Realm Journal city-art aspect-ratio repair (3.11.52+, preserved in 3.11.60) */
@media(max-width:760px){.game-realm-book-right .game-world-city-hero{min-height:220px;aspect-ratio:24/13}.game-realm-book-right .game-world-city-title{left:10px;right:10px;bottom:10px}}
@media(max-width:520px){.game-realm-book-right .game-world-city-hero{min-height:190px}}

/* 3.11.66 Background Reputation */
.game-rep-farm{margin:0 0 12px;padding:12px;border:1px solid rgba(92,64,29,.35);border-radius:8px;background:linear-gradient(180deg,rgba(121,84,34,.10),rgba(65,43,21,.06));color:#332719;font-family:Georgia,'Times New Roman',serif}
.game-rep-farm-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}.game-rep-farm-head h2{margin:2px 0 4px;color:#4f3618;font-size:22px}.game-rep-farm-head p{margin:0;max-width:660px;color:#66523a;font-size:12px;line-height:1.45}.game-rep-farm-head>span{flex:0 0 auto;border:1px solid rgba(104,72,32,.35);border-radius:999px;padding:5px 8px;color:#795522;background:rgba(255,250,230,.38);font:800 9px Arial,sans-serif;letter-spacing:.06em}
.game-rep-farm-running,.game-rep-farm-idle{border:1px solid rgba(94,65,30,.30);background:rgba(255,252,235,.42);border-radius:7px;padding:10px;margin-bottom:10px}.game-rep-farm-running{display:grid;grid-template-columns:minmax(0,1fr) 190px auto;gap:10px;align-items:center}.game-rep-farm-running small,.game-rep-farm-idle small{display:block;color:#8a6832;font:800 8px Arial,sans-serif;letter-spacing:.08em}.game-rep-farm-running h3,.game-rep-farm-idle h3{margin:2px 0;color:#4b3216;font-size:16px}.game-rep-farm-running p,.game-rep-farm-idle p{margin:0;color:#6d583f;font-size:11px;line-height:1.4}.game-rep-farm-live{min-width:0}.game-rep-farm-live b,.game-rep-farm-live span,.game-rep-farm-live em{display:block}.game-rep-farm-live b{color:#6a491c;font-size:15px}.game-rep-farm-live span,.game-rep-farm-live em{color:#7b674b;font:700 9px Arial,sans-serif;font-style:normal}.game-rep-farm-live i{display:block;height:6px;margin-top:5px;background:rgba(70,46,20,.16);border-radius:999px;overflow:hidden}.game-rep-farm-live i u{display:block;height:100%;background:linear-gradient(90deg,#8a6425,#d7a945);text-decoration:none;transition:width .25s linear}
.game-rep-farm-picker{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(180px,.6fr);gap:9px;margin-bottom:9px}.game-rep-farm-picker label,.game-rep-farm-picker>div{border:1px solid rgba(89,61,28,.25);background:rgba(255,252,238,.30);border-radius:6px;padding:8px}.game-rep-farm-picker label>span,.game-rep-farm-picker>div>small{display:block;color:#806334;font:800 8px Arial,sans-serif;letter-spacing:.08em;margin-bottom:5px}.game-rep-farm-picker select{width:100%;min-height:38px;border:1px solid rgba(87,59,26,.38);border-radius:5px;background:#f1e4c6;color:#3f2d18;padding:7px;font:700 12px Arial,sans-serif}.game-rep-farm-picker>div b,.game-rep-farm-picker>div span{display:block}.game-rep-farm-picker>div b{color:#4a3218;font-size:14px}.game-rep-farm-picker>div span{color:#7d6645;font:700 10px Arial,sans-serif;margin-top:2px}
.game-rep-farm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.game-rep-farm-card{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:7px;border:1px solid rgba(91,63,29,.27);border-radius:6px;background:rgba(255,251,235,.36);padding:9px;min-width:0}.game-rep-farm-card.active{border-color:#9b712c;background:rgba(185,130,47,.14)}.game-rep-farm-card.locked{opacity:.57}.game-rep-farm-card small{color:#86652f;font:800 8px Arial,sans-serif;letter-spacing:.07em}.game-rep-farm-card h4{margin:1px 0 3px;color:#432d16;font-size:14px}.game-rep-farm-card p{margin:0;color:#6b573e;font-size:10px;line-height:1.35}.game-rep-farm-card-meta{grid-column:1;display:flex;gap:8px;flex-wrap:wrap}.game-rep-farm-card-meta span{border-radius:999px;background:rgba(95,65,28,.09);padding:3px 6px;color:#725326;font:800 9px Arial,sans-serif}.game-rep-farm-card .btn{grid-column:2;grid-row:1/3;align-self:center;min-width:95px}.game-rep-farm-note{display:flex;gap:9px;align-items:flex-start;margin-top:9px;border-top:1px solid rgba(87,59,27,.20);padding-top:8px}.game-rep-farm-note b{flex:0 0 auto;color:#765423;font:800 8px Arial,sans-serif;letter-spacing:.07em}.game-rep-farm-note span{color:#6e5b42;font-size:10px;line-height:1.4}
@media(max-width:760px){.game-rep-farm-running{grid-template-columns:1fr}.game-rep-farm-picker,.game-rep-farm-grid{grid-template-columns:1fr}.game-rep-farm-card{grid-template-columns:1fr}.game-rep-farm-card .btn{grid-column:1;grid-row:auto;width:100%}.game-rep-farm-head{flex-direction:column}.game-rep-farm-note{flex-direction:column}}

/* 3.11.70 — Active XP Bonuses + complete Help booklet */
.game-xp-boost-panel{margin:10px 0 14px}
.game-xp-boost-card{border:1px solid #584528;border-radius:12px;background:linear-gradient(145deg,#11161a,#090d10 68%,#17130d);box-shadow:0 10px 28px rgba(0,0,0,.24),inset 0 0 0 1px rgba(222,176,77,.035);padding:12px 14px}
.game-xp-boost-card.active{border-color:#8c692f;box-shadow:0 12px 34px rgba(0,0,0,.26),inset 0 0 22px rgba(198,145,48,.045)}
.game-xp-boost-summary{display:flex;align-items:center;justify-content:space-between;gap:14px}.game-xp-boost-summary>div{display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:baseline;min-width:0}.game-xp-boost-summary small{grid-column:1/-1;color:#8f9ba1;font-size:9px;font-weight:900;letter-spacing:.14em}.game-xp-boost-summary strong{color:#f0cd75;font:800 28px/1 Georgia,'Times New Roman',serif}.game-xp-boost-summary span{color:#c5ced2;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-xp-boost-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.game-xp-boost-chip{display:grid;grid-template-columns:auto auto;gap:2px 8px;align-items:center;min-width:165px;border:1px solid #3d493f;border-radius:8px;background:#0b1110;padding:7px 9px}.game-xp-boost-chip b{color:#dce8df;font-size:11px}.game-xp-boost-chip em{color:#7fdda0;font-size:11px;font-style:normal;font-weight:900}.game-xp-boost-chip small{grid-column:1/-1;color:#819089;font-size:9px;line-height:1.25}.game-xp-boost-chip.negative{border-color:#5a3936;background:#130d0d}.game-xp-boost-chip.negative em{color:#ef9c92}.game-xp-boost-empty,.game-xp-boost-more{align-self:center;color:#89959b;font-size:10px}.game-xp-boost-more{border:1px dashed #4c4a3d;border-radius:999px;padding:6px 9px;color:#c3ad72}

.game-help-book{overflow:hidden;border:1px solid #6e5329;border-radius:15px;background:#090d0f;box-shadow:0 24px 70px rgba(0,0,0,.35),inset 0 0 0 1px rgba(236,193,91,.04)}
.game-help-book-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 18px;align-items:end;padding:18px 18px 0;background:radial-gradient(circle at 22% 0,rgba(139,92,26,.18),transparent 34%),linear-gradient(180deg,#1c1710,#0b1013 88%);border-bottom:1px solid #6a512b}.game-help-book-header h2{margin:3px 0 6px;color:#f0d27f;font:700 34px/1.03 Georgia,'Times New Roman',serif;letter-spacing:.035em}.game-help-book-header p{margin:0 0 13px;max-width:900px;color:#aab4b9;font-size:13px;line-height:1.55}.game-help-book-progress{justify-self:end;display:grid;min-width:210px;text-align:right;padding:9px 11px;margin-bottom:12px;border:1px solid #5c492b;border-radius:8px;background:#11100c}.game-help-book-progress small{color:#826f4c;font-size:8px;font-weight:900;letter-spacing:.12em}.game-help-book-progress b{color:#ead084;font:700 15px Georgia,'Times New Roman',serif}.game-help-book-progress span{color:#8b969c;font-size:9px;margin-top:3px}
.game-help-book-tabs{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.game-help-book-tabs button{min-width:0;border:1px solid #3b3e37;border-bottom:0;border-radius:8px 8px 0 0;background:#0b1012;color:#bbc4c8;padding:9px 10px 10px;text-align:left;cursor:pointer;transition:.14s}.game-help-book-tabs button b,.game-help-book-tabs button small{display:block}.game-help-book-tabs button b{color:#d8c17c;font:700 11px Georgia,'Times New Roman',serif;letter-spacing:.025em}.game-help-book-tabs button small{margin-top:3px;color:#68767d;font-size:8px;line-height:1.25}.game-help-book-tabs button:hover{border-color:#84632f;background:#141719}.game-help-book-tabs button.active{border-color:#e0ad4c;background:linear-gradient(180deg,#30230f,#18140d);box-shadow:inset 0 -3px #dfa945}.game-help-book-tabs button.active b{color:#f6d687}.game-help-book-tabs button.active small{color:#aa9870}
.game-help-book-shell{position:relative;display:grid;grid-template-columns:1fr 1fr;min-height:760px;background:#d7c39c}.game-help-book-shell:after{content:'';position:absolute;top:0;bottom:0;left:50%;width:18px;transform:translateX(-50%);pointer-events:none;background:linear-gradient(90deg,rgba(72,44,16,.16),rgba(255,247,219,.32) 45%,rgba(72,44,16,.14));box-shadow:0 0 18px rgba(57,35,13,.18)}.game-help-book-page{position:relative;min-width:0;max-height:900px;overflow:auto;padding:18px 20px 26px;color:#2c2115;font-family:Georgia,'Times New Roman',serif;scrollbar-color:#8e7040 #d2bd93}.game-help-book-left{background:linear-gradient(100deg,#cdb88d,#eadbb8 12%,#f0e3c5 92%,#d0b98c);border-right:1px solid #9e7c46}.game-help-book-right{background:linear-gradient(80deg,#d0ba8d,#f1e4c5 10%,#eadab6 88%,#c7af80);border-left:1px solid #b18e53}.game-help-book-page-title{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:14px;padding-bottom:8px;border-bottom:1px solid rgba(91,62,27,.36)}.game-help-book-page-title small{color:#8a672e;font-size:8px;font-weight:900;letter-spacing:.14em}.game-help-book-page-title h3{margin:0;color:#3c2a17;font:700 24px Georgia,'Times New Roman',serif}.game-help-book-subhead{margin:17px 0 8px;color:#5b3e1c;font:700 15px Georgia,'Times New Roman',serif;letter-spacing:.045em;border-bottom:1px solid rgba(91,62,27,.2);padding-bottom:5px}.game-help-book-copy{display:grid;gap:8px}.game-help-book-copy p{margin:0;color:#4c3d2a;font-size:12px;line-height:1.6}.game-help-book-copy b{color:#503313}.game-help-book-note{margin:0 0 10px;padding:9px 11px;border:1px solid rgba(105,75,35,.3);border-radius:7px;background:rgba(111,78,36,.07);color:#59472f;font-size:11px;line-height:1.5}.game-help-book-callout{margin-top:14px;padding:11px 13px;border:1px solid rgba(119,81,29,.38);border-left:4px solid #9e6d25;background:rgba(133,91,34,.085);box-shadow:inset 0 0 18px rgba(255,255,255,.15)}.game-help-book-callout b,.game-help-book-callout span{display:block}.game-help-book-callout b{color:#5a3915;font-size:11px;letter-spacing:.06em}.game-help-book-callout span{margin-top:4px;color:#56452f;font-size:11px;line-height:1.5}
.game-help-character-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px;padding:12px;border:1px solid rgba(98,68,31,.36);border-radius:8px;background:rgba(83,56,26,.08)}.game-help-character-card>div{display:grid}.game-help-character-card small{color:#87642c;font-size:8px;font-weight:900;letter-spacing:.12em}.game-help-character-card b{color:#3b2916;font-size:16px}.game-help-character-card span{color:#6a583e;font-size:10px;margin-top:3px}.game-help-character-card>strong{flex:0 0 auto;color:#654317;font-size:11px;text-align:right}.game-help-step-list{display:grid;gap:8px}.game-help-step{display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;padding:9px;border:1px solid rgba(91,65,35,.25);border-radius:7px;background:rgba(255,255,255,.17)}.game-help-step>i{display:grid;place-items:center;width:30px;height:30px;border:1px solid #90672e;border-radius:50%;background:#352615;color:#f2d695;font-style:normal;font-weight:900}.game-help-step>div{display:grid;gap:3px}.game-help-step b{color:#432d17;font-size:13px}.game-help-step span{color:#65523a;font-size:10px;line-height:1.45}.game-help-book-button,.game-help-step button,.game-help-book-skill button,.game-help-unlock button{justify-self:start;margin-top:4px;border:1px solid #715326;border-radius:6px;background:#2c2114;color:#efd189;padding:6px 9px;font:800 9px/1 sans-serif;letter-spacing:.04em;cursor:pointer}.game-help-book-button:hover,.game-help-step button:hover,.game-help-book-skill button:hover,.game-help-unlock button:hover{border-color:#b98435;background:#3b2c18;color:#ffe0a0}
.game-help-book-grid{display:grid;gap:9px}.game-help-book-grid.two{grid-template-columns:1fr 1fr}.game-help-system-card{display:grid;align-content:start;gap:4px;min-height:98px;padding:10px;border:1px solid rgba(94,66,32,.27);border-radius:8px;background:rgba(255,255,255,.16)}.game-help-system-card b{color:#432d17;font-size:13px}.game-help-system-card span{color:#625039;font-size:10px;line-height:1.48}.game-help-system-card .game-help-book-button{margin-top:auto}.game-help-phase-list{display:grid;gap:8px}.game-help-phase{display:grid;gap:3px;padding:10px 11px;border-left:4px solid #8c6226;background:rgba(105,73,31,.075);border-radius:0 7px 7px 0}.game-help-phase small{color:#936b31;font-size:8px;font-weight:900;letter-spacing:.11em}.game-help-phase b{color:#432b14;font-size:13px}.game-help-phase span{color:#625038;font-size:10px;line-height:1.48}.game-help-unlock-list{display:grid;gap:6px}.game-help-unlock{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 9px;border:1px solid rgba(94,67,34,.25);border-radius:7px;background:rgba(255,255,255,.13)}.game-help-unlock>div{display:grid;gap:2px}.game-help-unlock small{color:#8a6731;font-size:8px;font-weight:900}.game-help-unlock b{color:#422c18;font-size:12px}.game-help-unlock span{color:#6a573e;font-size:9px}.game-help-unlock button{flex:0 0 auto;margin:0}.game-help-level-chips{display:grid;grid-template-columns:1fr 1fr;gap:6px}.game-help-level-chip{display:flex;align-items:center;justify-content:space-between;border:1px solid rgba(99,69,31,.28);border-radius:6px;background:rgba(255,255,255,.13);padding:7px 8px;cursor:pointer}.game-help-level-chip b{color:#4a3218;font-size:10px}.game-help-level-chip span{color:#80602c;font-size:9px;font-weight:900}
.game-help-book-skill-list{display:grid;gap:7px}.game-help-book-skill{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:9px;align-items:center;padding:8px;border:1px solid rgba(92,65,31,.25);border-radius:7px;background:rgba(255,255,255,.14)}.game-help-book-skill-art{width:46px;height:46px;object-fit:cover!important;border:1px solid #89662e;border-radius:6px;background:#19150f}.game-help-book-skill>div{display:grid;gap:2px}.game-help-book-skill small{color:#8c682f;font-size:8px;font-weight:900}.game-help-book-skill b{color:#3d2915;font-size:13px}.game-help-book-skill span{color:#69573f;font-size:9px;line-height:1.35}.game-help-book-skill em{color:#866128;font-size:8px;font-style:normal;font-weight:800}.game-help-book-skill button{margin:0}.game-help-training-table{display:grid;gap:7px}.game-help-training-table article{padding:9px 10px;border:1px solid rgba(91,64,31,.25);border-radius:7px;background:rgba(255,255,255,.14)}.game-help-training-table article>b{display:block;color:#543918;font-size:11px}.game-help-training-table article>span{display:block;margin-top:3px;color:#665239;font-size:10px;line-height:1.45}.game-help-training-table strong{color:#684617}.game-help-ability-list{display:grid;gap:6px}.game-help-ability-list.compact{max-height:360px;overflow:auto;padding-right:3px}.game-help-ability-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px;border:1px solid rgba(91,64,31,.25);border-radius:7px;background:rgba(255,255,255,.13)}.game-help-ability-row img{width:40px;height:40px;object-fit:cover;border:1px solid #8c682d;border-radius:5px}.game-help-ability-row>div{display:grid;gap:2px}.game-help-ability-row small{color:#8b672e;font-size:7px;font-weight:900}.game-help-ability-row b{color:#432d17;font-size:11px}.game-help-ability-row span{color:#66543b;font-size:8px;line-height:1.35}.game-help-ability-row em{color:#7c5a25;font-size:7px;font-style:normal}.game-help-ability-row>strong{color:#5b451f;font-size:8px;text-align:right}
.game-help-boost-list{display:grid;gap:6px}.game-help-boost-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 9px;border:1px solid rgba(70,104,74,.35);border-radius:7px;background:rgba(57,111,66,.07)}.game-help-boost-row>div{display:grid}.game-help-boost-row b{color:#315028;font-size:11px}.game-help-boost-row span{color:#657052;font-size:9px}.game-help-boost-row strong{color:#35723a;font-size:12px}.game-help-boost-row.negative{border-color:rgba(120,57,51,.35);background:rgba(121,49,43,.06)}.game-help-boost-row.negative strong{color:#963c35}.game-help-book .game-xp-boost-card{margin-bottom:12px;background:linear-gradient(145deg,#2d281d,#191810);border-color:#8b692f}.game-help-book .game-xp-boost-summary small{color:#c0a76c}.game-help-book .game-xp-boost-summary span{color:#e2d7bd}.game-help-book .game-xp-boost-chip{background:#181a14;border-color:#5e6038}.game-help-book .game-xp-boost-summary .game-mini-btn{display:none}
.game-help-book-item-reference{display:grid;gap:7px}.game-help-book-items{border:1px solid rgba(92,63,29,.3);border-radius:7px;background:rgba(255,255,255,.12);overflow:hidden}.game-help-book-items>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:10px;padding:9px 10px;background:rgba(87,58,25,.07)}.game-help-book-items>summary::-webkit-details-marker{display:none}.game-help-book-items>summary b{color:#493017;font-size:11px}.game-help-book-items>summary span{color:#7a6039;font-size:9px}.game-help-book-items>summary:after{content:'+';color:#7b561f;font-weight:900}.game-help-book-items[open]>summary:after{content:'−'}.game-help-book-item-grid{display:grid;gap:6px;padding:7px;border-top:1px solid rgba(92,63,29,.24)}.game-help-book-item{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px;align-items:start;padding:7px;border:1px solid rgba(91,63,29,.21);border-radius:6px;background:rgba(255,255,255,.15)}.game-help-book-item>.game-item-art{width:40px;height:40px}.game-help-book-item>div{display:grid;gap:2px}.game-help-book-item b{color:#402b16;font-size:10px}.game-help-book-item small{display:flex;gap:4px;flex-wrap:wrap}.game-help-book-item p{margin:2px 0 0;color:#66533b;font-size:8px;line-height:1.4}
@media(max-width:1180px){.game-help-book-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.game-help-book-tabs button{border-bottom:1px solid #3b3e37;border-radius:7px}.game-help-book-tabs button.active{border-bottom-color:#e0ad4c}.game-help-book-shell{grid-template-columns:1fr}.game-help-book-shell:after{display:none}.game-help-book-left{border-right:0;border-bottom:2px solid #896b3c}.game-help-book-right{border-left:0}.game-help-book-page{max-height:none}.game-xp-boost-summary>div{grid-template-columns:auto 1fr}}
@media(max-width:760px){.game-xp-boost-summary{align-items:flex-start;flex-direction:column}.game-xp-boost-summary>div{width:100%}.game-xp-boost-summary .game-mini-btn{width:100%}.game-xp-boost-chip{flex:1 1 155px}.game-help-book-header{grid-template-columns:1fr}.game-help-book-progress{justify-self:stretch;text-align:left}.game-help-book-tabs{grid-template-columns:1fr 1fr}.game-help-book-page{padding:13px 12px 20px}.game-help-book-page-title{align-items:flex-start;flex-direction:column}.game-help-book-grid.two,.game-help-level-chips{grid-template-columns:1fr}.game-help-book-skill{grid-template-columns:42px minmax(0,1fr)}.game-help-book-skill-art{width:40px;height:40px}.game-help-book-skill>button{grid-column:1/-1;width:100%}.game-help-unlock{align-items:flex-start;flex-direction:column}.game-help-unlock button{width:100%}.game-help-ability-row{grid-template-columns:38px minmax(0,1fr)}.game-help-ability-row img{width:36px;height:36px}.game-help-ability-row>strong{grid-column:2;text-align:left}}
@media(max-width:520px){.game-help-book-tabs{grid-template-columns:1fr}.game-xp-boost-summary>div{grid-template-columns:1fr}.game-xp-boost-summary span{white-space:normal}.game-xp-boost-chip{flex:1 1 100%}}


/* 3.11.71 — Expanded Help, contextual guide buttons, larger Help body text */
.game-context-help-btn{display:inline-flex;align-items:center;justify-content:center;min-height:31px;border:1px solid #9b7431;border-radius:999px;background:linear-gradient(180deg,#352817,#20180f);color:#f1d38a;padding:7px 12px;font:900 10px/1 sans-serif;letter-spacing:.055em;cursor:pointer;box-shadow:0 3px 12px rgba(0,0,0,.18)}
.game-context-help-btn:hover{border-color:#e2ae4f;background:#443219;color:#ffe2a0}.game-context-help-btn.compact{min-height:28px;padding:6px 10px;font-size:9px}.game-context-help-float{margin-left:auto;align-self:flex-start;display:flex;padding:3px}.game-page-quick-help-actions{display:flex;align-items:flex-start;justify-content:flex-end}
.game-page-quick-help{grid-template-columns:minmax(150px,.6fr) minmax(130px,.45fr) minmax(260px,1.4fr)!important}.game-page-quick-help-summary{grid-column:1/3!important}.game-page-quick-help-steps{grid-column:3!important}.game-page-quick-help>p{grid-column:1/-1!important}

/* Help booklet readability: headings stay bold, fine print is intentionally larger. */
.game-help-book-header p{font-size:16px!important;line-height:1.65!important;color:#c7d0d4!important}.game-help-book-progress small{font-size:10px!important}.game-help-book-progress span{font-size:12px!important;line-height:1.45!important}.game-help-book-tabs button b{font-size:13px!important}.game-help-book-tabs button small{font-size:11px!important;line-height:1.4!important}.game-help-book-page-title small{font-size:10px!important}.game-help-book-copy p,.game-help-book-note,.game-help-book-callout span{font-size:14px!important;line-height:1.62!important}.game-help-book-callout b{font-size:12px!important}.game-help-character-card small{font-size:10px!important}.game-help-character-card span{font-size:13px!important;line-height:1.5!important}.game-help-character-card>strong{font-size:13px!important}.game-help-step span,.game-help-system-card span,.game-help-phase span{font-size:13px!important;line-height:1.58!important}.game-help-step b,.game-help-system-card b,.game-help-phase b{font-size:14px!important}.game-help-phase small,.game-help-unlock small,.game-help-book-skill small{font-size:10px!important}.game-help-unlock span{font-size:12px!important;line-height:1.5!important}.game-help-unlock b{font-size:13px!important}.game-help-level-chip b{font-size:12px!important}.game-help-level-chip span{font-size:11px!important}.game-help-book-skill span{font-size:12px!important;line-height:1.5!important}.game-help-book-skill em{font-size:11px!important;line-height:1.4!important}.game-help-training-table article>span{font-size:13px!important;line-height:1.55!important}.game-help-ability-row small{font-size:9px!important}.game-help-ability-row b{font-size:12px!important}.game-help-ability-row span{font-size:11px!important;line-height:1.48!important}.game-help-ability-row em,.game-help-ability-row>strong{font-size:10px!important;line-height:1.4!important}.game-help-boost-row span{font-size:11px!important}.game-help-book-items>summary span{font-size:11px!important}.game-help-book-item b{font-size:12px!important}.game-help-book-item p{font-size:11px!important;line-height:1.55!important}
.game-help-book-button,.game-help-step button,.game-help-book-skill button,.game-help-unlock button{font-size:10px!important;padding:7px 10px!important}
.game-help-book-subhead{font-size:14px!important;letter-spacing:.035em}

.game-help-currency-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.game-help-currency-card{padding:12px;border:1px solid rgba(96,66,31,.3);border-radius:8px;background:rgba(255,255,255,.14)}.game-help-currency-card h4{margin:0 0 9px;color:#4b3015;font:700 16px/1.15 Georgia,'Times New Roman',serif}.game-help-currency-card p{display:grid;gap:2px;margin:0 0 8px}.game-help-currency-card p:last-child{margin-bottom:0}.game-help-currency-card p>b{color:#785521;font-size:10px;letter-spacing:.06em}.game-help-currency-card p>span{color:#5f4d35;font-size:13px;line-height:1.55}.game-help-special-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.game-help-special-card{display:grid;gap:4px;padding:10px;border:1px solid rgba(96,66,31,.27);border-radius:7px;background:rgba(255,255,255,.13)}.game-help-special-card>b{color:#472e16;font-size:14px}.game-help-special-card>span{color:#645239;font-size:13px;line-height:1.55}.game-help-special-card>em{color:#866028;font-size:11px;font-style:normal;font-weight:800}
@media(max-width:900px){.game-page-quick-help{grid-template-columns:1fr!important}.game-page-quick-help-title,.game-page-quick-help-actions,.game-page-quick-help-summary,.game-page-quick-help-steps,.game-page-quick-help>p{grid-column:1!important}.game-page-quick-help-actions{justify-content:flex-start}.game-help-currency-grid,.game-help-special-grid{grid-template-columns:1fr}.game-context-help-float{margin-left:0}}
@media(max-width:760px){.game-help-book-header p{font-size:15px!important}.game-help-book-copy p,.game-help-book-note,.game-help-book-callout span,.game-help-step span,.game-help-system-card span,.game-help-phase span,.game-help-training-table article>span,.game-help-currency-card p>span,.game-help-special-card>span{font-size:13px!important}.game-help-book-skill span,.game-help-unlock span{font-size:12px!important}}


/* 3.11.73 — Slayer readability + live action art motion examples */
.game-slayer-summary-entry{align-items:flex-start;padding-top:8px;padding-bottom:8px}
.game-slayer-summary-entry .game-adventure-entry-copy b,
.game-slayer-summary-entry .game-adventure-entry-copy small{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.28!important}
.game-slayer-summary-entry .game-adventure-entry-copy b{font-size:14px!important}
.game-slayer-summary-entry .game-adventure-entry-copy small{font-size:11px!important}

.game-action-icon{position:relative;isolation:isolate}
.game-action-icon>.game-action-art{position:relative;z-index:1}
.game-action-fx{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:hidden;border-radius:inherit}
.game-action-tool{position:absolute;width:48px;height:48px;filter:drop-shadow(0 2px 2px rgba(0,0,0,.7));transform-origin:22% 78%}
.fx-mining .game-action-tool,.fx-woodcutting .game-action-tool,.fx-smithing .game-action-tool{left:13px;top:-1px;animation:gameToolStrike 1.05s cubic-bezier(.45,.03,.3,1) infinite}
.fx-farming .game-action-tool{left:10px;top:0;animation:gameHarvestSweep 1.35s ease-in-out infinite}
.fx-cutting .game-action-tool{left:9px;top:2px;animation:gameCutSweep 1.15s ease-in-out infinite}
.fx-fishing .game-action-tool{left:3px;top:0;animation:gameRodTug 1.45s ease-in-out infinite;transform-origin:16% 88%}
.game-action-impact{position:absolute;right:7px;bottom:10px;width:8px;height:8px;border-radius:50%;background:radial-gradient(circle,#fff4ae 0 18%,#e0a83c 22% 42%,transparent 48%);opacity:0;animation:gameImpactFlash 1.05s linear infinite}
.game-action-fx-particle{position:absolute;width:4px;height:3px;background:#c18d43;border-radius:1px;opacity:0}
.fx-mining .game-action-fx-particle{background:#b9bec0}.fx-farming .game-action-fx-particle{background:#77a74c}.fx-smithing .game-action-fx-particle{background:#ffbe54}
.game-action-fx-particle.p1{right:9px;bottom:12px;animation:gameChip1 1.05s linear infinite}.game-action-fx-particle.p2{right:12px;bottom:13px;animation:gameChip2 1.05s linear infinite}.game-action-fx-particle.p3{right:8px;bottom:16px;animation:gameChip3 1.05s linear infinite}
.game-action-ripple{position:absolute;border:1px solid rgba(153,211,234,.9);border-radius:50%;width:16px;height:6px;left:35px;bottom:5px;opacity:0}.game-action-ripple.r1{animation:gameRipple 1.45s ease-out infinite}.game-action-ripple.r2{animation:gameRipple 1.45s .35s ease-out infinite}
.fx-fire .game-action-flame{position:absolute;bottom:5px;width:13px;height:24px;border-radius:60% 40% 62% 38%;background:linear-gradient(180deg,#fff4a8 0 15%,#f7b53c 40%,#d4481d 85%);filter:drop-shadow(0 0 4px rgba(243,127,31,.75));transform-origin:50% 100%}.game-action-flame.f1{left:18px;animation:gameFlame 1.05s ease-in-out infinite}.game-action-flame.f2{left:29px;height:18px;animation:gameFlame .85s .2s ease-in-out infinite}.game-action-flame.f3{left:37px;height:14px;animation:gameFlame .72s .1s ease-in-out infinite}
.fx-magic .game-action-orbit{position:absolute;left:12px;top:12px;width:36px;height:36px;border:1px solid rgba(204,157,255,.75);border-radius:50%;box-shadow:0 0 7px rgba(130,80,220,.45)}.game-action-orbit.o1{animation:gameOrbit 2s linear infinite}.game-action-orbit.o2{transform:scale(.68);border-color:rgba(236,206,112,.75);animation:gameOrbit 1.4s reverse linear infinite}.game-action-star{position:absolute;width:4px;height:4px;background:#f4dd8e;box-shadow:0 0 6px #f4dd8e;animation:gameStar 1.1s ease-in-out infinite}.game-action-star.s1{left:17px;top:13px}.game-action-star.s2{right:15px;bottom:14px;animation-delay:.45s}
.game-action-mortar{position:absolute;left:18px;bottom:8px;width:28px;height:13px;border-radius:4px 4px 12px 12px;background:linear-gradient(#8e9498,#4b5256);border:1px solid #252a2d}.game-action-pestle{position:absolute;left:31px;top:9px;width:6px;height:33px;border-radius:4px;background:linear-gradient(90deg,#aeb3b6,#626a6e);transform-origin:50% 90%;animation:gamePestle 1s ease-in-out infinite}
.game-action-coin{position:absolute;width:12px;height:12px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff2a1,#d7a533 45%,#7f5316);box-shadow:0 0 4px rgba(223,177,70,.7);animation:gameCoin 1.25s ease-in-out infinite}.game-action-coin.c1{left:18px;top:14px}.game-action-coin.c2{right:13px;bottom:13px;animation-delay:.35s}
.game-action-speed{position:absolute;left:6px;width:30px;height:2px;background:linear-gradient(90deg,transparent,#e9d281,transparent);opacity:0;animation:gameSpeed 1s linear infinite}.game-action-speed.l1{top:18px}.game-action-speed.l2{top:30px;animation-delay:.2s}.game-action-speed.l3{top:42px;animation-delay:.4s}
@keyframes gameToolStrike{0%,12%{transform:rotate(-44deg) translate(-1px,-2px)}48%,57%{transform:rotate(16deg) translate(1px,2px)}70%,100%{transform:rotate(-44deg) translate(-1px,-2px)}}
@keyframes gameHarvestSweep{0%,15%{transform:rotate(-28deg)}55%{transform:rotate(22deg)}75%,100%{transform:rotate(-28deg)}}
@keyframes gameCutSweep{0%,18%{transform:rotate(-22deg)}50%{transform:rotate(18deg)}72%,100%{transform:rotate(-22deg)}}
@keyframes gameRodTug{0%,24%,100%{transform:rotate(-4deg)}45%{transform:rotate(6deg)}62%{transform:rotate(-1deg)}}
@keyframes gameImpactFlash{0%,45%{opacity:0;transform:scale(.35)}50%{opacity:1;transform:scale(1.35)}61%,100%{opacity:0;transform:scale(.6)}}
@keyframes gameChip1{0%,48%{opacity:0;transform:translate(0,0)}51%{opacity:1}76%{opacity:0;transform:translate(-10px,-11px) rotate(80deg)}100%{opacity:0}}
@keyframes gameChip2{0%,48%{opacity:0;transform:translate(0,0)}52%{opacity:1}78%{opacity:0;transform:translate(8px,-13px) rotate(-70deg)}100%{opacity:0}}
@keyframes gameChip3{0%,48%{opacity:0;transform:translate(0,0)}53%{opacity:1}79%{opacity:0;transform:translate(3px,-17px) rotate(100deg)}100%{opacity:0}}
@keyframes gameRipple{0%,44%{opacity:0;transform:scale(.45)}50%{opacity:.8}100%{opacity:0;transform:scale(1.7)}}
@keyframes gameFlame{0%,100%{transform:scale(.86,1) rotate(-4deg);opacity:.72}50%{transform:scale(1.08,.86) rotate(5deg);opacity:1}}
@keyframes gameOrbit{to{transform:rotate(360deg)}}
@keyframes gameStar{0%,100%{opacity:.2;transform:scale(.5)}50%{opacity:1;transform:scale(1.5)}}
@keyframes gamePestle{0%,100%{transform:rotate(-14deg)}50%{transform:rotate(14deg)}}
@keyframes gameCoin{0%,100%{transform:translateY(5px) rotateY(0);opacity:.35}50%{transform:translateY(-6px) rotateY(180deg);opacity:1}}
@keyframes gameSpeed{0%{opacity:0;transform:translateX(-10px)}30%{opacity:.8}100%{opacity:0;transform:translateX(28px)}}
@media(prefers-reduced-motion:reduce){.game-action-fx *{animation:none!important}}


/* 3.11.74 — Current Action topbar uses the real live action animation without changing panel dimensions. */
.game-current-action-visual{position:relative;flex:0 0 64px;width:64px;height:64px;align-self:center;overflow:hidden;border:1px solid #4a402f;border-radius:8px;background:radial-gradient(circle at 50% 38%,#1a2024,#090c0e 72%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.025),0 4px 12px rgba(0,0,0,.22)}
.game-current-action-visual[hidden]{display:none!important}
.game-current-action-icon{position:relative;width:100%;height:100%;overflow:hidden;border-radius:inherit}
.game-current-action-art{position:relative;z-index:1;width:100%;height:100%;object-fit:cover;display:block}
.game-current-action-visual .game-action-fx{border-radius:7px}
.game-current-action-visual .game-action-tool{width:52px;height:52px;left:8px;top:-1px}
.game-current-action-visual .fx-fishing .game-action-tool{left:2px;top:0}
.game-current-action-visual .fx-farming .game-action-tool{left:7px;top:0}
.game-current-action-visual .game-action-impact{right:6px;bottom:9px}
@media(max-width:760px){.game-current-action-visual{flex-basis:52px;width:52px;height:52px}.game-current-action-visual .game-action-tool{width:44px;height:44px;left:5px}.game-current-action-visual .fx-fishing .game-action-tool{left:0}}
@media(prefers-reduced-motion:reduce){.game-current-action-visual .game-action-fx *{animation:none!important}}


/* 3.11.75 — Current Action uses animated tools/effects directly on the existing progress strip. No thumbnail box. */
.game-progress{position:relative;overflow:visible!important;isolation:isolate}
.game-progress>i{position:relative;z-index:1;border-radius:inherit}
.game-progress-fx{--action-progress:0%;position:absolute;z-index:5;left:clamp(11px,var(--action-progress),calc(100% - 11px));top:50%;width:46px;height:38px;transform:translate(-50%,-50%);pointer-events:none;filter:drop-shadow(0 2px 2px rgba(0,0,0,.72));transition:left .24s linear}
.game-progress-fx[hidden]{display:none!important}
.game-strip-svg{display:block;width:46px;height:38px;overflow:visible}
.game-strip-metal{fill:#c5cdd1;stroke:#31383c;stroke-width:1.2}.game-strip-handle{fill:#8e5d31;stroke:#382416;stroke-width:1.1}.game-strip-target{fill:#626b70;stroke:#353b3f;stroke-width:1.1}.game-strip-target.wood{fill:#76502d;stroke:#3b2819}.game-strip-target.plank{fill:#895d34;stroke:#412a19}.game-strip-log{fill:#6d4728;stroke:#382315;stroke-width:1.1}.game-strip-anvil{fill:#707a7f;stroke:#30373b;stroke-width:1.2}
.game-progress-fx[data-fx="mining"] .game-strip-tool,.game-progress-fx[data-fx="woodcutting"] .game-strip-tool,.game-progress-fx[data-fx="smithing"] .game-strip-tool,.game-progress-fx[data-fx="contract"] .game-strip-tool{transform-box:fill-box;transform-origin:20% 82%;animation:gameStripStrike .82s cubic-bezier(.46,.02,.35,1) infinite}
.game-progress-fx[data-fx="woodcutting"] .game-strip-tool{animation-duration:.92s}.game-strip-sparks{fill:#e7c46e;opacity:0;animation:gameStripSpark .82s linear infinite}.game-strip-sparks.wood{fill:#c88a48;animation-duration:.92s}.game-strip-sparks.hot{fill:#ffb449}
.game-strip-rod{transform-box:fill-box;transform-origin:10% 95%;animation:gameStripRod 1.25s ease-in-out infinite}.game-strip-rod .game-strip-handle{fill:none;stroke:#a36b38;stroke-width:3;stroke-linecap:round}.game-strip-line{fill:none;stroke:#d9e1e5;stroke-width:1}.game-strip-bobber{fill:#e35454;stroke:#f2e6b5;stroke-width:1;animation:gameStripBobber 1.25s ease-in-out infinite}.game-strip-ripple{fill:none;stroke:#8dd5eb;stroke-width:1;opacity:0}.game-strip-ripple.r1{animation:gameStripRipple 1.25s ease-out infinite}.game-strip-ripple.r2{animation:gameStripRipple 1.25s .35s ease-out infinite}
.game-strip-crop{fill:#5e9d4d;stroke:#315b2d;stroke-width:1}.game-strip-sickle{transform-box:fill-box;transform-origin:20% 80%;animation:gameStripSweep 1.05s ease-in-out infinite}.game-strip-knife,.game-strip-blade{transform-box:fill-box;transform-origin:16% 84%;animation:gameStripSweep .86s ease-in-out infinite}
.game-strip-flame{fill:#e8742f;filter:drop-shadow(0 0 3px rgba(244,149,52,.8));transform-box:fill-box;transform-origin:50% 100%;animation:gameStripFlame .7s ease-in-out infinite}.game-strip-flame.f2{fill:#ffd25c;animation-delay:.16s}
.game-strip-magic-ring{fill:none;stroke:#b88cff;stroke-width:1.3;transform-box:fill-box;transform-origin:center;animation:gameStripOrbit 1.3s linear infinite}.game-strip-magic-ring.r2{stroke:#efd177;animation-direction:reverse;animation-duration:.9s}.game-strip-rune{fill:#d9b9ff;filter:drop-shadow(0 0 4px #9b6ee0);transform-box:fill-box;transform-origin:center;animation:gameStripPulse .85s ease-in-out infinite}
.game-strip-mortar{fill:#676f74;stroke:#30363a;stroke-width:1.1}.game-strip-pestle{transform-box:fill-box;transform-origin:50% 90%;animation:gameStripPestle .8s ease-in-out infinite}.game-strip-bubble{fill:#a778d7;opacity:.85;animation:gameStripBubble 1.1s ease-out infinite}.game-strip-bubble.b2{animation-delay:.35s}
.game-strip-coin{fill:#d7a33c;stroke:#7d551b;stroke-width:1;filter:drop-shadow(0 0 2px rgba(237,190,69,.6));animation:gameStripCoin 1.05s ease-in-out infinite}.game-strip-coin.c2{animation-delay:.25s}.game-strip-hand{fill:#9a6e53;animation:gameStripHand 1.05s ease-in-out infinite}
.game-strip-speed{fill:none;stroke:#e8cf7b;stroke-width:2;stroke-linecap:round;opacity:0;animation:gameStripSpeed .75s linear infinite}.game-strip-speed.s2{animation-delay:.15s}.game-strip-speed.s3{animation-delay:.3s}.game-strip-boot{fill:#8a6742;stroke:#3d2a1b;stroke-width:1;animation:gameStripBoot .75s ease-in-out infinite}
.game-strip-arrow{fill:none;stroke:#d7dde0;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;animation:gameStripArrow .72s ease-in-out infinite}.game-strip-hit{fill:#f3c75d;filter:drop-shadow(0 0 3px #f1a944);transform-box:fill-box;transform-origin:center;animation:gameStripHit .72s ease-in-out infinite}
.game-strip-combat-orb{fill:#9b6de4;filter:drop-shadow(0 0 5px #8955d4);animation:gameStripPulse .7s ease-in-out infinite}.game-strip-magic-bolt{fill:#c8a7ff;filter:drop-shadow(0 0 4px #9a6ce0);animation:gameStripBolt .7s ease-in-out infinite}
.game-strip-slash{fill:none;stroke:#e9edf0;stroke-width:1.6;stroke-linecap:round;opacity:0;animation:gameStripSlash .72s ease-out infinite}.game-strip-slash.s2{animation-delay:.08s}.game-strip-slash.s3{animation-delay:.16s}.game-progress-fx[data-fx="combat_melee"] .game-strip-blade{animation:gameStripCombatBlade .72s ease-in-out infinite}
@keyframes gameStripStrike{0%,18%{transform:rotate(-40deg)}48%,55%{transform:rotate(13deg)}68%,100%{transform:rotate(-40deg)}}
@keyframes gameStripSpark{0%,43%{opacity:0;transform:translate(0,0)}50%{opacity:1}70%,100%{opacity:0;transform:translate(4px,-4px)}}
@keyframes gameStripRod{0%,100%{transform:rotate(-6deg)}45%{transform:rotate(8deg)}65%{transform:rotate(2deg)}}@keyframes gameStripBobber{0%,100%{transform:translateY(0)}48%{transform:translateY(-4px)}}@keyframes gameStripRipple{0%,40%{opacity:0;transform:scale(.5)}55%{opacity:.9}100%{opacity:0;transform:scale(1.4)}}
@keyframes gameStripSweep{0%,100%{transform:rotate(-28deg)}50%{transform:rotate(22deg)}}@keyframes gameStripFlame{0%,100%{transform:scaleY(.82) skewX(-4deg)}50%{transform:scaleY(1.15) skewX(5deg)}}@keyframes gameStripOrbit{to{transform:rotate(360deg)}}@keyframes gameStripPulse{0%,100%{transform:scale(.82);opacity:.7}50%{transform:scale(1.12);opacity:1}}
@keyframes gameStripPestle{0%,100%{transform:rotate(-18deg)}50%{transform:rotate(18deg)}}@keyframes gameStripBubble{0%{opacity:0;transform:translateY(4px) scale(.6)}35%{opacity:.9}100%{opacity:0;transform:translateY(-10px) scale(1.25)}}@keyframes gameStripCoin{0%,100%{transform:translateY(2px) rotateY(0)}50%{transform:translateY(-4px) rotateY(180deg)}}@keyframes gameStripHand{0%,100%{transform:translateX(-2px)}50%{transform:translateX(5px)}}
@keyframes gameStripSpeed{0%{opacity:0;transform:translateX(-6px)}35%{opacity:1}100%{opacity:0;transform:translateX(12px)}}@keyframes gameStripBoot{0%,100%{transform:translateY(2px) rotate(-5deg)}50%{transform:translateY(-4px) rotate(7deg)}}@keyframes gameStripArrow{0%,100%{transform:translateX(-5px)}55%{transform:translateX(4px)}}@keyframes gameStripHit{0%,45%{opacity:0;transform:scale(.4)}58%{opacity:1;transform:scale(1.2)}100%{opacity:0;transform:scale(.7)}}@keyframes gameStripBolt{0%{transform:translateX(-4px) scaleX(.65)}55%{transform:translateX(5px) scaleX(1.1)}100%{transform:translateX(6px) scaleX(.7);opacity:.4}}
@keyframes gameStripCombatBlade{0%,100%{transform:rotate(-32deg) translate(-2px,2px)}48%{transform:rotate(24deg) translate(3px,-2px)}}@keyframes gameStripSlash{0%,38%{opacity:0;stroke-dasharray:0 40}52%{opacity:1;stroke-dasharray:28 40}100%{opacity:0;stroke-dasharray:35 40}}
@media(max-width:760px){.game-progress-fx{width:38px;height:32px}.game-strip-svg{width:38px;height:32px}}
@media(prefers-reduced-motion:reduce){.game-progress-fx *{animation:none!important}.game-progress-fx{transition:none!important}}


/* ===== 3.11.97 COMBAT HEALTH BAR PLACEMENT + DEPLETION ===== */
/* Keep the HP label and bar inside the same Your Health / Enemy Health card. */
.game-adventure-parchment .game-adventure-live-side{
  overflow:hidden!important;
}
.game-adventure-parchment .game-adventure-live-copy{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.game-adventure-parchment .game-adventure-live-combat .game-live-hp{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  margin:5px 0 0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
.game-adventure-parchment .game-adventure-live-combat .game-live-hp>span{
  display:block!important;
  width:100%!important;
  margin:0 0 5px!important;
  color:#eef3f6!important;
  font-size:12px!important;
  line-height:1.2!important;
  text-align:left!important;
}
.game-adventure-parchment .game-adventure-live-combat .game-live-hp>i{
  display:block!important;
  position:relative!important;
  width:100%!important;
  height:11px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #43191d!important;
  border-radius:3px!important;
  background:#07090b!important;
  overflow:hidden!important;
  box-shadow:inset 0 1px 3px rgba(0,0,0,.95)!important;
  box-sizing:border-box!important;
}
.game-adventure-parchment .game-adventure-live-combat .game-live-hp>i>b,
.game-adventure-parchment .game-adventure-live-combat .game-live-hp.enemy>i>b{
  display:block!important;
  position:relative!important;
  left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
  height:100%!important;
  min-width:0!important;
  margin:0!important;
  border:0!important;
  border-radius:2px!important;
  background:#d43a46!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.13)!important;
  transition:width .22s linear!important;
}
.game-adventure-parchment .game-adventure-live-combat .game-live-hp.enemy>i>b{
  background:#c72f3b!important;
}
/* The empty portion is intentionally near-black, not pale red. */
.game-adventure-parchment .game-adventure-live-combat .game-live-hp>i:after{
  content:none!important;
}

/* 3.11.101 dungeon Auto Repeat controls */
.game-dungeon-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}.game-dungeon-actions>.btn{margin-top:0;flex:1 1 150px}.game-dungeon-result>.game-dungeon-actions{align-self:center;margin-top:0}.game-dungeon-result-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:760px){.game-dungeon-result>.game-dungeon-actions{grid-column:1/-1;width:100%}.game-dungeon-result-stats{grid-template-columns:1fr 1fr}.game-dungeon-actions>.btn{width:100%}}


/* ===== 3.11.102 RESTORED FULL CROWN & EMBER REALM HEADER =====
   Bring back the approved wide realm artwork (warrior + centered title + castle)
   while preserving the current action/XP/sound/game layout below it. */
body.crown-ember-page .crown-ember-legacy-hero,
body.crown-ember-page.game-authenticated .crown-ember-legacy-hero{
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
  padding:0!important;
  background:#050607!important;
  border-bottom:1px solid rgba(151,104,38,.72)!important;
  box-shadow:0 14px 38px rgba(0,0,0,.28)!important;
}
body.crown-ember-page .crown-ember-legacy-hero:before,
body.crown-ember-page .crown-ember-legacy-hero:after{display:none!important}
body.crown-ember-page .crown-ember-legacy-hero .crown-ember-realm-art,
body.crown-ember-page.game-authenticated .crown-ember-legacy-hero .crown-ember-realm-art{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center center!important;
}
body.crown-ember-page .crown-ember-legacy-hero .crown-ember-embers{
  display:block!important;
  inset:0!important;
  z-index:2!important;
  mix-blend-mode:screen;
}
body.crown-ember-page .crown-ember-legacy-hero .crown-ember-embers i{
  bottom:-18px;
  width:9px;height:9px;
  animation-name:crownEmberHeroFloat!important;
}
@keyframes crownEmberHeroFloat{
  0%{transform:translate3d(0,0,0) scale(.45) rotate(0deg);opacity:0}
  8%{opacity:.45}
  34%{opacity:.9}
  72%{opacity:.42}
  100%{transform:translate3d(42px,-420px,0) scale(1.25) rotate(110deg);opacity:0}
}
@media(max-width:760px){
  body.crown-ember-page .crown-ember-legacy-hero,
  body.crown-ember-page.game-authenticated .crown-ember-legacy-hero{height:220px!important;min-height:220px!important;max-height:220px!important}
  body.crown-ember-page .crown-ember-legacy-hero .crown-ember-realm-art,
  body.crown-ember-page.game-authenticated .crown-ember-legacy-hero .crown-ember-realm-art{height:220px!important;min-height:220px!important;max-height:220px!important;object-fit:cover!important;object-position:50% center!important}
  @keyframes crownEmberHeroFloat{0%{transform:translate3d(0,0,0) scale(.45);opacity:0}12%{opacity:.55}65%{opacity:.4}100%{transform:translate3d(24px,-185px,0) scale(1.1);opacity:0}}
}
@media(prefers-reduced-motion:reduce){body.crown-ember-page .crown-ember-legacy-hero .crown-ember-embers i{animation:none!important;opacity:.16!important}}


/* ===== 3.11.103 FIRST-PAINT COMPACT REALM HEADER =====
   Mirrors the unified-ui rule so the browser never flashes the former full-width
   hero while later stylesheets are still loading. */
body.crown-ember-page .crown-ember-legacy-hero,
body.crown-ember-page.game-authenticated .crown-ember-legacy-hero{
  display:block!important;position:relative!important;
  width:min(520px,calc(100% - 34px))!important;aspect-ratio:3/1!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  margin:16px auto 0!important;padding:0!important;overflow:hidden!important;
  border:1px solid rgba(194,145,56,.72)!important;border-radius:7px!important;
  background:#050607!important;box-shadow:0 10px 28px rgba(0,0,0,.34)!important;
}
body.crown-ember-page .crown-ember-legacy-hero .crown-ember-realm-art,
body.crown-ember-page.game-authenticated .crown-ember-legacy-hero .crown-ember-realm-art{
  display:block!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;
  object-fit:cover!important;object-position:center center!important;
}
@media(max-width:760px){body.crown-ember-page .crown-ember-legacy-hero,body.crown-ember-page.game-authenticated .crown-ember-legacy-hero{width:min(460px,calc(100% - 20px))!important;aspect-ratio:3/1!important;height:auto!important;min-height:0!important;max-height:none!important;margin-top:10px!important}}


/* ===== 3.11.104 FULL-WIDTH REALM BANNER =====
   Keep the 3.11.103 banner height, but let the approved Crown & Ember artwork
   fill the available page width from the first paint. */
body.crown-ember-page .crown-ember-legacy-hero,
body.crown-ember-page.game-authenticated .crown-ember-legacy-hero{
  width:100%!important;max-width:none!important;height:174px!important;min-height:174px!important;max-height:174px!important;
  aspect-ratio:auto!important;margin:0 auto!important;border-width:0 0 1px!important;border-radius:0!important;
  box-shadow:0 10px 28px rgba(0,0,0,.28)!important;
}
body.crown-ember-page .crown-ember-legacy-hero .crown-ember-realm-art,
body.crown-ember-page.game-authenticated .crown-ember-legacy-hero .crown-ember-realm-art{
  width:100%!important;height:174px!important;min-height:174px!important;max-height:174px!important;
  object-fit:cover!important;object-position:50% 51%!important;
}
@media(max-width:760px){
 body.crown-ember-page .crown-ember-legacy-hero,body.crown-ember-page.game-authenticated .crown-ember-legacy-hero{width:100%!important;height:128px!important;min-height:128px!important;max-height:128px!important;margin:0!important;border-radius:0!important}
 body.crown-ember-page .crown-ember-legacy-hero .crown-ember-realm-art,body.crown-ember-page.game-authenticated .crown-ember-legacy-hero .crown-ember-realm-art{height:128px!important;min-height:128px!important;max-height:128px!important;object-fit:cover!important}
}

/* 3.11.104 Gear Enhancement explanation / confirmation */
.game-upgrade-guide{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 14px}.game-upgrade-guide>div{border:1px solid #4d4330;background:linear-gradient(180deg,#17140d,#0f1114);border-radius:8px;padding:10px 12px}.game-upgrade-guide b{display:block;color:#efc65e;font-size:11px;letter-spacing:.09em;margin-bottom:4px}.game-upgrade-guide span{display:block;color:#c9d0d6;font-size:12px;line-height:1.45}.game-upgrade-confirm-modal{max-width:720px!important}.game-upgrade-confirm-title{display:grid;grid-template-columns:90px 1fr;gap:15px;align-items:center;margin:14px 0}.game-upgrade-confirm-title>div:last-child{border:1px solid #66512f;background:#17130c;border-radius:8px;padding:12px}.game-upgrade-confirm-title small,.game-upgrade-confirm-title span{display:block;color:#aeb8c0}.game-upgrade-confirm-title strong{display:block;color:#f1c95f;font-size:28px;margin:2px 0}.game-upgrade-confirm-reqs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.game-upgrade-confirm-reqs>div{border:1px solid #3b4d59;background:#0c1821;border-radius:7px;padding:10px}.game-upgrade-confirm-reqs>div.ok{border-color:#376b4d}.game-upgrade-confirm-reqs>div.missing{border-color:#7f3d45;background:#211114}.game-upgrade-confirm-reqs span,.game-upgrade-confirm-reqs small{display:block}.game-upgrade-confirm-reqs span{color:#9fb0bc;font-size:10px;letter-spacing:.09em}.game-upgrade-confirm-reqs b{display:block;color:#f3f6f8;font-size:17px;margin:2px 0}.game-upgrade-confirm-reqs small{color:#aeb8c0}.game-upgrade-failure-warning,.game-upgrade-progression-note{border-radius:7px;padding:10px 12px;margin:10px 0}.game-upgrade-failure-warning{border:1px solid #81434a;background:#251215}.game-upgrade-failure-warning b{color:#ff8f99}.game-upgrade-progression-note{border:1px solid #675630;background:#19160d}.game-upgrade-progression-note b{color:#ebc55f}.game-upgrade-failure-warning b,.game-upgrade-progression-note b{display:block;font-size:11px;letter-spacing:.08em;margin-bottom:4px}.game-upgrade-failure-warning span,.game-upgrade-progression-note span{color:#d4d9dd;font-size:12px;line-height:1.45}@media(max-width:700px){.game-upgrade-guide{grid-template-columns:1fr}.game-upgrade-confirm-reqs{grid-template-columns:1fr}.game-upgrade-confirm-title{grid-template-columns:70px 1fr}}
