/* Crown & Ember 3.11.80 — unified game shell
   Layout-only pass: keeps all existing gameplay IDs/data hooks intact while
   bringing the site header, action strip, left menu, workspace tabs and content
   frames onto one dark navy / gold visual grid. */

body.crown-ember-page.game-authenticated{
  --ce80-bg:#06111d;
  --ce80-bg2:#081827;
  --ce80-panel:#0b1927;
  --ce80-panel2:#0e2031;
  --ce80-panel3:#10263a;
  --ce80-line:#20394d;
  --ce80-line2:#2c4a60;
  --ce80-gold:#e3b64d;
  --ce80-gold2:#f2ca68;
  --ce80-text:#f4f7fb;
  --ce80-muted:#aebdca;
  --ce80-green:#43d58a;
  --ce80-red:#f06b75;
  --ce80-blue:#78d8ff;
  background:
    radial-gradient(circle at 58% -140px,rgba(65,118,160,.16),transparent 520px),
    linear-gradient(180deg,#05101b 0,#071522 360px,#06111d 100%)!important;
  color:var(--ce80-text)!important;
}

/* Keep the real site navigation visible on authenticated game pages. */
body.crown-ember-page.game-authenticated #site-footer,
body.crown-ember-page.game-authenticated .game-hero:not(.crown-ember-legacy-hero){display:none!important}
body.crown-ember-page.game-authenticated .crown-ember-topline{display:block!important;height:1px!important;background:#8f6a28!important}
body.crown-ember-page.game-authenticated .crown-ember-site-header{
  display:block!important;position:sticky!important;top:0!important;z-index:260!important;
  height:60px!important;border-bottom:1px solid rgba(203,154,58,.38)!important;
  background:rgba(4,10,16,.985)!important;box-shadow:0 10px 28px rgba(0,0,0,.3)!important;
}
body.crown-ember-page.game-authenticated .crown-ember-site-nav{
  width:min(1540px,calc(100% - 34px))!important;max-width:none!important;min-height:59px!important;
  margin:0 auto!important;padding:0!important;display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;gap:30px!important;align-items:center!important;
}
body.crown-ember-page.game-authenticated .crown-ember-game-brand{
  display:flex!important;align-items:center!important;gap:12px!important;min-width:max-content!important;
  color:var(--ce80-gold2)!important;text-decoration:none!important;font-family:Georgia,'Times New Roman',serif!important;
  font-size:16px!important;font-weight:800!important;letter-spacing:.16em!important;text-transform:uppercase!important;
}
body.crown-ember-page.game-authenticated .crown-ember-game-brand-mark{
  font-size:29px!important;line-height:1!important;color:#f1c75e!important;filter:drop-shadow(0 0 8px rgba(225,177,70,.18));
}
body.crown-ember-page.game-authenticated .crown-ember-site-links{
  width:auto!important;margin:0!important;justify-content:center!important;gap:clamp(16px,2vw,30px)!important;
}
body.crown-ember-page.game-authenticated .crown-ember-site-links a{
  padding:22px 1px 18px!important;font-size:10px!important;color:#c8d0d7!important;letter-spacing:.06em!important;
}
body.crown-ember-page.game-authenticated .crown-ember-site-links a.active,
body.crown-ember-page.game-authenticated .crown-ember-site-links a:hover{color:var(--ce80-gold2)!important}
body.crown-ember-page.game-authenticated .crown-ember-ui-version{
  color:#91a1ae!important;font-size:10px!important;letter-spacing:.08em!important;white-space:nowrap!important;
}

/* Main application canvas */
body.crown-ember-page.game-authenticated .game-shell{min-height:calc(100vh - 60px)!important;background:transparent!important}
body.crown-ember-page.game-authenticated .game-section{padding:0!important;margin:0!important}
body.crown-ember-page.game-authenticated .game-section>.wrap{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
}
body.crown-ember-page.game-authenticated #game-app{min-height:calc(100vh - 60px)!important;background:transparent!important}

/* Unified status deck */
body.game-authenticated .game-topbar.card{
  position:relative!important;top:auto!important;z-index:80!important;
  width:min(1540px,calc(100% - 34px))!important;max-width:none!important;
  min-height:154px!important;margin:28px auto 18px!important;padding:14px!important;
  display:grid!important;grid-template-columns:minmax(360px,1.2fr) minmax(320px,.9fr) minmax(430px,1.15fr)!important;
  gap:14px!important;align-items:stretch!important;
  border:1px solid #1b364b!important;border-radius:8px!important;
  background:linear-gradient(180deg,rgba(9,25,39,.98),rgba(7,19,31,.98))!important;
  box-shadow:0 18px 46px rgba(0,0,0,.24)!important;
}
body.game-authenticated .game-status-cluster{display:contents!important}
body.game-authenticated .game-action-status-card{
  min-width:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;
  align-items:center!important;padding:14px 14px 14px 70px!important;position:relative!important;
  border:1px solid #203d52!important;border-radius:6px!important;background:linear-gradient(180deg,#0d2030,#091725)!important;
}
body.game-authenticated .game-action-status-card:before{
  content:"⌁";position:absolute;left:17px;top:50%;transform:translateY(-50%) rotate(-26deg);
  width:38px;height:58px;display:grid;place-items:center;color:#efbf52;font-size:42px;font-family:Georgia,serif;
  text-shadow:0 0 12px rgba(229,181,71,.16);
}
body.game-authenticated .game-active{
  min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;
}
body.game-authenticated .game-active small,
body.game-authenticated .game-topstats small{
  color:#a7b7c5!important;font-size:9px!important;font-weight:900!important;letter-spacing:.17em!important;
}
body.game-authenticated .game-active strong{display:block;margin:6px 0 8px!important;color:#f5f7fa!important;font-size:12px!important}
body.game-authenticated .game-progress{width:100%!important;height:8px!important;border-radius:99px!important;background:#03101a!important;border:1px solid #13283a!important;overflow:hidden!important}
body.game-authenticated .game-progress i{background:linear-gradient(90deg,#e0ad3f,#f1c65b)!important;box-shadow:0 0 10px rgba(232,181,66,.2)!important}
body.game-authenticated .game-progress-fx{opacity:.7!important}
body.game-authenticated #game-stop{
  position:static!important;align-self:center!important;min-width:86px!important;height:45px!important;padding:0 14px!important;
  border-radius:5px!important;border:1px solid #be4851!important;background:linear-gradient(180deg,#b9414b,#96343c)!important;color:#fff!important;
  font-size:11px!important;font-weight:900!important;
}
body.game-authenticated #game-xp-boost-panel{
  min-width:0!important;margin:0!important;padding:0!important;display:block!important;background:transparent!important;
}
body.game-authenticated .game-xp-boost-card{
  height:100%!important;margin:0!important;padding:13px 14px!important;border:1px solid #203d52!important;border-radius:6px!important;
  background:linear-gradient(180deg,#0d2030,#091725)!important;display:grid!important;grid-template-rows:auto 1fr!important;
}
body.game-authenticated .game-xp-boost-summary{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:start!important}
body.game-authenticated .game-xp-boost-summary>div{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;column-gap:12px!important;align-items:end!important}
body.game-authenticated .game-xp-boost-summary small{grid-column:1/-1;color:#a7b7c5!important;font-size:9px!important;font-weight:900!important;letter-spacing:.16em!important}
body.game-authenticated .game-xp-boost-summary strong{color:#53dc91!important;font-size:30px!important;line-height:1!important;margin-top:6px!important}
body.game-authenticated .game-xp-boost-summary span{align-self:center!important;color:#c9d4dd!important;font-size:11px!important}
body.game-authenticated .game-xp-boost-summary .game-mini-btn.gold{
  grid-column:2!important;grid-row:1/3!important;align-self:center!important;height:45px!important;padding:0 15px!important;
  border-color:#c99329!important;background:linear-gradient(180deg,#2a2416,#18160f)!important;color:#f1c758!important;
}
body.game-authenticated .game-xp-boost-chips{display:grid!important;gap:5px!important;margin-top:10px!important}
body.game-authenticated .game-xp-boost-chip{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:2px 8px!important;
  padding:7px 9px!important;border:1px solid #264359!important;border-radius:4px!important;background:#0a1825!important;
}
body.game-authenticated .game-xp-boost-chip b{color:#f0f4f8!important;font-size:11px!important}
body.game-authenticated .game-xp-boost-chip em{color:#54dc8e!important;font-size:10px!important;font-style:normal!important;font-weight:900!important}
body.game-authenticated .game-xp-boost-chip small{grid-column:1/-1;color:#8ea0af!important;font-size:9px!important}
body.game-authenticated .game-xp-boost-empty{color:#91a1af!important;font-size:10px!important;padding-top:7px!important}
body.game-authenticated .game-topstats{
  margin:0!important;min-width:0!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  border:1px solid #203d52!important;border-radius:6px!important;background:linear-gradient(180deg,#0d2030,#091725)!important;overflow:hidden!important;
}
body.game-authenticated .game-topstats span{
  min-width:0!important;padding:24px 12px!important;display:grid!important;place-content:center!important;text-align:center!important;
  border-left:1px solid #20384b!important;
}
body.game-authenticated .game-topstats span:first-child{border-left:0!important}
body.game-authenticated .game-topstats span:before{display:block!important;margin-bottom:8px!important;font-size:22px!important;line-height:1!important}
body.game-authenticated .game-topstats span:nth-child(1):before{content:"●";color:#e6b443!important;text-shadow:8px 5px 0 rgba(230,180,67,.7)}
body.game-authenticated .game-topstats span:nth-child(2):before{content:"♥";color:#f0747d!important}
body.game-authenticated .game-topstats span:nth-child(3):before{content:"▮▮▮";color:#6fd8ff!important;letter-spacing:2px!important}
body.game-authenticated .game-topstats b{font-size:16px!important;color:#fff!important;margin-top:5px!important}
body.game-authenticated #game-coins{color:#f0c558!important}
body.game-authenticated #game-hp{color:#f27880!important}
body.game-authenticated #game-level{color:#7cdbff!important}
body.game-authenticated .game-music-console{display:grid!important}

/* Main two-column workspace */
body.game-authenticated .game-layout{
  width:min(1640px,calc(100% - 22px))!important;max-width:none!important;margin:0 auto 30px!important;
  display:grid!important;grid-template-columns:232px minmax(0,1fr)!important;gap:18px!important;align-items:start!important;
  height:auto!important;min-height:720px!important;
}
body.game-authenticated .game-sidebar.card{
  position:sticky!important;top:78px!important;align-self:start!important;height:calc(100vh - 92px)!important;max-height:none!important;
  overflow-y:auto!important;overflow-x:hidden!important;margin:0!important;padding:0 0 18px!important;
  border:1px solid #1b3549!important;border-radius:7px!important;
  background:linear-gradient(180deg,#071522,#06101b)!important;box-shadow:0 16px 40px rgba(0,0,0,.22)!important;
}
body.game-authenticated .idle-ui-brand{
  min-height:67px!important;padding:12px 14px!important;display:flex!important;gap:11px!important;align-items:center!important;
  border-bottom:1px solid #243b4d!important;background:linear-gradient(180deg,#0b1c2b,#081522)!important;
}
body.game-authenticated .idle-ui-brand-mark{
  width:38px!important;height:38px!important;flex:0 0 38px!important;display:grid!important;place-items:center!important;
  border:1px solid #9a742c!important;border-radius:7px!important;background:#07121d!important;color:#f1c65d!important;font-size:20px!important;
}
body.game-authenticated .idle-ui-brand strong{color:#efc65f!important;font-size:12px!important;letter-spacing:.11em!important}
body.game-authenticated .idle-ui-brand small{color:#8395a4!important;font-size:9px!important;letter-spacing:.16em!important}
body.game-authenticated .game-tabs{padding:7px 0 0!important}
body.game-authenticated .game-nav-group{margin:0!important;border:0!important;background:transparent!important}
body.game-authenticated .game-nav-group-toggle{
  pointer-events:none!important;height:30px!important;padding:9px 13px 6px!important;border:0!important;border-top:1px solid #1e3345!important;
  background:#06111c!important;color:#e2b54f!important;font-size:9px!important;font-weight:900!important;letter-spacing:.14em!important;text-transform:uppercase!important;
}
body.game-authenticated .game-nav-group:first-child .game-nav-group-toggle{border-top:0!important}
body.game-authenticated .game-nav-group-toggle b{display:none!important}
body.game-authenticated .game-nav-group-body{display:grid!important;gap:1px!important;padding:2px 7px 8px!important}
body.game-authenticated .game-nav-group .game-tab,
body.game-authenticated .game-help-nav{
  width:100%!important;min-height:36px!important;margin:0!important;padding:5px 8px!important;display:flex!important;align-items:center!important;gap:9px!important;
  border:1px solid transparent!important;border-radius:4px!important;background:transparent!important;color:#c4d0da!important;font-size:11px!important;text-align:left!important;
}
body.game-authenticated .game-nav-group .game-tab:hover,
body.game-authenticated .game-help-nav:hover{background:#0d2030!important;border-color:#213e53!important;color:#fff!important}
body.game-authenticated .game-nav-group .game-tab.active,
body.game-authenticated .game-help-nav.active{
  background:linear-gradient(90deg,rgba(143,99,22,.75),rgba(61,48,24,.52))!important;border-color:#a67c2c!important;color:#fff4c6!important;
  box-shadow:inset 3px 0 #f0c45a,0 0 16px rgba(218,167,61,.08)!important;
}
body.game-authenticated .game-tab-art,
body.game-authenticated .game-tab-glyph{
  width:25px!important;height:25px!important;flex:0 0 25px!important;border:0!important;border-radius:3px!important;background:transparent!important;color:#dbe7ef!important;
}
body.game-authenticated .game-tab-name{font-size:11px!important;font-weight:700!important;color:inherit!important}
body.game-authenticated .game-tab>b{margin-left:auto!important;padding:2px 5px!important;border-radius:3px!important;background:#07111a!important;color:#7fe1ac!important;font-size:9px!important}
body.game-authenticated .game-save-link{
  margin:7px 8px 0!important;width:calc(100% - 16px)!important;border:1px solid #283e50!important;border-radius:4px!important;
  background:#091724!important;color:#9cabb7!important;
}

body.game-authenticated .game-main.card{
  min-width:0!important;min-height:720px!important;height:auto!important;padding:0 0 28px!important;margin:0!important;overflow:visible!important;
  border:1px solid #1b3549!important;border-radius:7px!important;background:linear-gradient(180deg,#081725,#07131f)!important;
  box-shadow:0 16px 42px rgba(0,0,0,.2)!important;
}
body.game-authenticated #game-panel{
  max-width:none!important;min-height:0!important;height:auto!important;overflow:visible!important;margin:0!important;padding:22px 22px 28px!important;
}

/* Character & World row: one even, aligned navigation strip */
body.game-authenticated .game-workspace-tabs{
  max-width:none!important;margin:0!important;min-height:66px!important;padding:0 12px!important;display:grid!important;
  grid-template-columns:250px minmax(0,1fr)!important;align-items:stretch!important;gap:0!important;
  border-bottom:1px solid #244056!important;background:#07131f!important;box-shadow:none!important;
}
body.game-authenticated .game-workspace-title{
  min-width:0!important;padding:0 18px!important;display:flex!important;align-items:center!important;gap:8px!important;border-right:1px solid #223a4c!important;
}
body.game-authenticated .game-workspace-title:before{content:"●";color:#efbb4b!important;font-size:17px!important}
body.game-authenticated .game-workspace-title span{color:#e8bb52!important;font-size:10px!important;letter-spacing:.14em!important;font-weight:900!important}
body.game-authenticated .game-workspace-title small{display:none!important}
body.game-authenticated .game-workspace-nav{display:grid!important;grid-template-columns:repeat(8,minmax(95px,1fr))!important;gap:0!important;overflow:visible!important}
body.game-authenticated .game-workspace-nav button{
  min-width:0!important;height:66px!important;padding:0 8px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
  border:0!important;border-right:1px solid #203749!important;background:transparent!important;color:#d2dce4!important;
  font-size:10px!important;font-weight:800!important;letter-spacing:0!important;white-space:nowrap!important;
}
body.game-authenticated .game-workspace-nav button:hover{background:#0d1d2a!important;color:#fff!important}
body.game-authenticated .game-workspace-nav button.active{
  background:linear-gradient(180deg,#3a2b12,#18170f)!important;color:#fff6d3!important;box-shadow:inset 0 -3px #edbd4e!important;
}
body.game-authenticated .game-workspace-nav button.active:after{display:none!important}
body.game-authenticated .game-workspace-tab-icon{font-size:16px!important;line-height:1!important;color:#d8e3eb!important}
body.game-authenticated .game-workspace-nav button.active .game-workspace-tab-icon{color:#f0c354!important}
body.game-authenticated .game-workspace-nav button b{font:inherit!important;color:inherit!important}

/* Universal content frame */
body.game-authenticated .game-universal-guidebook,
body.game-authenticated .game-legacy-guidebook-clean{
  border:1px solid #9b7329!important;border-radius:7px!important;overflow:hidden!important;background:#07121d!important;box-shadow:none!important;
}
body.game-authenticated .game-universal-guide-header-clean{
  min-height:190px!important;padding:28px 30px!important;display:block!important;position:relative!important;overflow:hidden!important;
  border-bottom:1px solid #a27a2d!important;
  background:
    linear-gradient(90deg,rgba(5,13,21,.99) 0%,rgba(5,13,21,.94) 42%,rgba(5,13,21,.46) 68%,rgba(5,13,21,.10) 100%),
    url('/assets/img/arcade/crown-ember-hero-card.webp') right 43% center / 72% auto no-repeat,
    #07131f!important;
}
body.game-authenticated .game-universal-guide-header-clean:after{
  content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.18));
}
body.game-authenticated .game-universal-guide-header-clean .game-adventure-guide-title{position:relative;z-index:1!important;max-width:720px!important}
body.game-authenticated .game-universal-guide-header-clean .eyebrow{color:#efbc50!important;font-size:10px!important;letter-spacing:.22em!important}
body.game-authenticated .game-universal-guide-header-clean h2{
  margin:12px 0 6px!important;color:#fff!important;font-family:Georgia,'Times New Roman',serif!important;font-size:44px!important;line-height:1!important;
  text-shadow:0 2px 18px rgba(0,0,0,.65)!important;
}
body.game-authenticated .game-universal-guide-header-clean p{
  max-width:670px!important;margin:12px 0 0!important;color:#e1e8ee!important;font-size:13px!important;line-height:1.55!important;text-shadow:0 1px 8px #000!important;
}
body.game-authenticated .game-universal-guide-header-clean .game-adventure-guide-controls{
  position:absolute!important;right:24px!important;bottom:20px!important;z-index:2!important;width:min(360px,38%)!important;
}
body.game-authenticated .game-universal-guide-header-clean .game-adventure-search{background:rgba(7,18,29,.86)!important;border-color:#385069!important}

/* Make embedded sections read like a single family rather than scattered old cards. */
body.game-authenticated .game-guidebook-embedded,
body.game-authenticated .game-adventure-guide-details,
body.game-authenticated .game-guidebook-workspace{background:#07131f!important}
body.game-authenticated .game-guidebook-embedded{padding:0!important}
body.game-authenticated .game-panel-head,
body.game-authenticated .game-dashboard-section-head,
body.game-authenticated .game-system-section,
body.game-authenticated .game-guide-info-block,
body.game-authenticated .game-character-info,
body.game-authenticated .game-character-portrait,
body.game-authenticated .game-support-card,
body.game-authenticated .game-action,
body.game-authenticated .game-item,
body.game-authenticated .game-gear-card,
body.game-authenticated .game-class-card,
body.game-authenticated .game-auction-workspace,
body.game-authenticated .game-adventure-parchment,
body.game-authenticated .game-book-detail-page{
  border-color:#254156!important;background:#0b1a28!important;color:#edf3f7!important;box-shadow:none!important;
}
body.game-authenticated .game-panel-head,
body.game-authenticated .game-dashboard-section-head{border-radius:6px!important}
body.game-authenticated .game-panel-head h2,
body.game-authenticated .game-panel-head h3,
body.game-authenticated .game-dashboard-section-head h2,
body.game-authenticated .game-adventure-parchment h2,
body.game-authenticated .game-adventure-parchment h3{color:#fff!important}
body.game-authenticated .game-panel-head p,
body.game-authenticated .game-dashboard-section-head p,
body.game-authenticated .game-adventure-parchment p{color:#b9c6d0!important}
body.game-authenticated .game-guide-info-block h4,
body.game-authenticated .game-system-section .eyebrow{color:#e5b84f!important}

/* Side-by-side instructional rows get equal spacing. */
body.game-authenticated .game-guide-steps{gap:10px!important}
body.game-authenticated .game-guide-steps li{border-color:#244156!important;background:#091825!important;border-radius:5px!important}
body.game-authenticated .game-guide-steps li>b{background:#e4b64f!important;color:#16130a!important}

/* Buttons / accents consistent with new shell */
body.game-authenticated .btn.primary{background:#2d84c8!important;border-color:#4b9edf!important;color:#fff!important}
body.game-authenticated .btn.ghost{background:#0c1e2c!important;border-color:#345169!important;color:#dce6ed!important}
body.game-authenticated .game-mini-btn{background:#0b1c29!important;border-color:#315067!important;color:#d6e1e8!important}
body.game-authenticated .game-mini-btn.gold{background:#241d10!important;border-color:#9f762b!important;color:#efc45d!important}

/* Keep old contrast pass, but normalize legacy warm/dark body copy inside the game. */
body.game-authenticated .game-main :is(p,span,small,li,td,th,label,em){text-shadow:none!important}
body.game-authenticated .game-main .muted,
body.game-authenticated .game-main .game-reqs,
body.game-authenticated .game-main .game-book-recipe-row p,
body.game-authenticated .game-main .game-book-recipe-row small{color:#b1c0cb!important}

@media(max-width:1350px){
  body.game-authenticated .game-topbar.card{grid-template-columns:minmax(330px,1.1fr) minmax(300px,.9fr)!important}
  body.game-authenticated .game-topstats{grid-column:1/-1!important;min-height:112px!important}
  body.game-authenticated .game-workspace-tabs{grid-template-columns:210px minmax(0,1fr)!important}
  body.game-authenticated .game-workspace-nav button{font-size:9px!important}
}
@media(max-width:1050px){
  body.crown-ember-page.game-authenticated .crown-ember-site-nav{grid-template-columns:auto 1fr auto!important}
  body.crown-ember-page.game-authenticated .crown-ember-site-links{display:none!important}
  body.crown-ember-page.game-authenticated .crown-ember-menu-btn{display:block!important;justify-self:end!important}
  body.game-authenticated .game-layout{grid-template-columns:200px minmax(0,1fr)!important;gap:10px!important}
  body.game-authenticated .game-workspace-tabs{display:block!important;padding:0!important}
  body.game-authenticated .game-workspace-title{height:45px!important;border-right:0!important;border-bottom:1px solid #20384b!important}
  body.game-authenticated .game-workspace-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body.game-authenticated .game-workspace-nav button{height:49px!important;border-bottom:1px solid #203749!important}
}
@media(max-width:800px){
  body.crown-ember-page.game-authenticated .crown-ember-game-brand{font-size:12px!important}
  body.crown-ember-page.game-authenticated .crown-ember-game-brand-mark{font-size:22px!important}
  body.game-authenticated .game-topbar.card{width:calc(100% - 18px)!important;margin:12px auto!important;grid-template-columns:1fr!important}
  body.game-authenticated .game-topstats{grid-column:auto!important}
  body.game-authenticated .game-layout{width:calc(100% - 14px)!important;grid-template-columns:1fr!important}
  body.game-authenticated .game-sidebar.card{position:static!important;height:auto!important;max-height:none!important}
  body.game-authenticated .game-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;padding:7px!important}
  body.game-authenticated .game-nav-group{border:1px solid #20384a!important;border-radius:5px!important}
  body.game-authenticated .game-nav-group-toggle{border-top:0!important}
  body.game-authenticated .game-workspace-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.game-authenticated .game-universal-guide-header-clean{min-height:160px!important;padding:22px!important;background-position:right center!important;background-size:120% auto!important}
  body.game-authenticated .game-universal-guide-header-clean h2{font-size:32px!important}
  body.game-authenticated .game-universal-guide-header-clean .game-adventure-guide-controls{position:static!important;width:100%!important;margin-top:16px!important}
}

/* 3.11.81 — Production frame cleanup
   Production pages use the same cool blue/gray structural borders as the rest of the game.
   Gold remains an accent for headings, selected controls, progress, and action buttons only. */
body.game-authenticated .game-production-book{
  border-color:#254156!important;
  box-shadow:none!important;
}
body.game-authenticated .game-production-book .game-book-header{
  border-bottom-color:#254156!important;
}
body.game-authenticated .game-production-book .game-book-center{
  border-right-color:#254156!important;
}
body.game-authenticated .game-production-book .game-book-details{
  border-color:#254156!important;
  box-shadow:none!important;
}
body.game-authenticated .game-production-book .game-book-detail-head{
  border-bottom-color:#405062!important;
}
body.game-authenticated .game-production-book .game-book-detail-art{
  border-color:#405064!important;
  box-shadow:none!important;
}
body.game-authenticated .game-production-book .game-book-material,
body.game-authenticated .game-production-book .game-book-stat-list,
body.game-authenticated .game-production-book .game-book-stat-list span,
body.game-authenticated .game-production-book .game-book-side-note,
body.game-authenticated .game-production-book .game-book-mastery-note,
body.game-authenticated .game-production-book .game-book-mastery-guide>div,
body.game-authenticated .game-production-book .game-book-material-index article,
body.game-authenticated .game-production-book .game-book-tool-grid article,
body.game-authenticated .game-production-book .game-book-mastery-list article{
  border-color:#405064!important;
}
body.game-authenticated .game-production-book .game-book-craft-row{
  border-top-color:#405062!important;
}
@media(max-width:1120px){
  body.game-authenticated .game-production-book .game-book-details{
    border-top-color:#254156!important;
  }
}

/* 3.11.82 — Production detail frame + Current Action animation repair
   1) The production detail pane must not expose the old parchment/gold surround.
   2) The live Mining/Fishing/etc. tool animation rides over the progress strip,
      so the strip must not clip the 46x38 animated SVG. */
body.game-authenticated .game-production-book .game-book-details{
  background:#0b1a28!important;
  color:#edf3f7!important;
  border:0!important;
  box-shadow:none!important;
}
body.game-authenticated .game-production-book .game-book-detail-page{
  background:#0b1a28!important;
  border:0!important;
  box-shadow:none!important;
}
body.game-authenticated .game-production-book .game-book-detail-head{
  border-bottom-color:#405062!important;
}
body.game-authenticated .game-production-book .game-book-detail-art{
  border:1px solid #405064!important;
  box-shadow:none!important;
}
body.game-authenticated .game-progress{
  overflow:visible!important;
}
body.game-authenticated .game-progress-fx{
  overflow:visible!important;
  clip-path:none!important;
}


/* 3.11.84 — visible reward / milestone animation pass
   Event effects are deliberately anchored to the panel where the reward happens.
   They remain visible long enough to read and do not depend on reduced-motion OS
   settings, because these are short user-requested feedback events rather than
   looping page decoration. */
.game-celebration-layer{position:fixed;inset:0;z-index:240;pointer-events:none;overflow:hidden}

/* Progression / quest banners */
.game-fx-banner{position:absolute;left:50%;top:15%;min-width:360px;max-width:min(640px,90vw);padding:20px 30px 22px;transform:translate(-50%,-42px) scale(.88);opacity:0;text-align:center;border:2px solid #9b762d;border-radius:10px;background:linear-gradient(180deg,rgba(22,31,40,.99),rgba(6,12,18,.99));box-shadow:0 24px 78px #000d,0 0 0 1px rgba(245,198,88,.12) inset,0 0 34px rgba(229,174,57,.12);transition:opacity .34s ease,transform .46s cubic-bezier(.16,.8,.2,1);overflow:hidden}
.game-fx-banner.show{opacity:1;transform:translate(-50%,0) scale(1)}
.game-fx-banner.pulse{box-shadow:0 24px 78px #000d,0 0 0 1px rgba(245,198,88,.18) inset,0 0 52px rgba(229,174,57,.2)}
.game-fx-banner small,.game-fx-banner span{display:block}.game-fx-banner small{position:relative;z-index:3;color:#f1c861;font-size:10px;font-weight:950;letter-spacing:.2em}.game-fx-banner b{position:relative;z-index:3;display:block;margin:6px 0 4px;color:#fff7d9;font:700 34px/1.04 Georgia,'Times New Roman',serif;text-shadow:0 3px 18px #000}.game-fx-banner span{position:relative;z-index:3;color:#e4edf3;font-size:13px;font-weight:700}
.game-fx-banner.mastery{border-color:#9f74c7;box-shadow:0 24px 78px #000d,0 0 44px rgba(171,99,231,.18)}.game-fx-banner.mastery small{color:#e0c0ff}.game-fx-banner.quest{border-color:#c39232;box-shadow:0 24px 78px #000d,0 0 52px rgba(255,195,67,.2)}.game-fx-banner.quest small{color:#ffdc78}
.game-fx-banner-rays{position:absolute;left:50%;top:50%;width:460px;height:460px;transform:translate(-50%,-50%);background:repeating-conic-gradient(from 0deg,rgba(255,211,106,.18) 0 6deg,transparent 6deg 18deg);opacity:.62;animation:ceFxRaySpin 8s linear infinite}.game-fx-banner-flare{position:absolute;left:50%;top:50%;width:210px;height:210px;border-radius:50%;transform:translate(-50%,-50%);background:radial-gradient(circle,rgba(255,226,138,.24),transparent 68%);animation:ceFxBannerFlare 1.25s ease-in-out infinite alternate}
@keyframes ceFxRaySpin{to{transform:translate(-50%,-50%) rotate(360deg)}}@keyframes ceFxBannerFlare{from{opacity:.35;transform:translate(-50%,-50%) scale(.8)}to{opacity:.9;transform:translate(-50%,-50%) scale(1.15)}}

/* Rare / epic / legendary drop notice */
.game-fx-rare-drop{position:absolute;right:28px;top:106px;width:332px;min-height:86px;display:grid;grid-template-columns:70px minmax(0,1fr);gap:12px;align-items:center;padding:10px 14px;opacity:0;transform:translateX(70px) scale(.92);border:2px solid #5e7fa0;border-radius:9px;background:linear-gradient(135deg,#122434,#071019);box-shadow:0 18px 46px #000c;transition:opacity .34s ease,transform .44s cubic-bezier(.18,.82,.2,1);overflow:hidden}
.game-fx-rare-drop.show{opacity:1;transform:none}.game-fx-rare-drop.ring{animation:ceFxRareCardRing .65s ease-out}
.game-fx-rare-drop img,.game-fx-rare-drop>i{width:66px;height:66px;object-fit:contain!important;display:grid;place-items:center;border-radius:7px;background:#050b10;border:1px solid #52687a;padding:4px;font-style:normal;font-size:36px;position:relative;z-index:3;filter:drop-shadow(0 5px 10px #000c)}.game-fx-rare-drop div:not(.game-fx-rare-drop-glow):not(.game-fx-rare-drop-rays){position:relative;z-index:3;min-width:0}.game-fx-rare-drop small{display:block;color:#c3d0da;font-size:9px;font-weight:950;letter-spacing:.18em}.game-fx-rare-drop b{display:block;margin:3px 0;color:#fff;font:700 19px/1.08 Georgia,'Times New Roman',serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-fx-rare-drop span{color:#eff6fa;font-weight:900;font-size:11px}
.game-fx-rare-drop-glow{position:absolute;inset:-34px;background:radial-gradient(circle at 20% 50%,rgba(91,172,255,.42),transparent 50%);filter:blur(4px);animation:ceFxRarePulse 1s ease-in-out infinite alternate}.game-fx-rare-drop-rays{position:absolute;left:34px;top:43px;width:150px;height:150px;transform:translate(-50%,-50%);background:repeating-conic-gradient(rgba(110,190,255,.16) 0 6deg,transparent 6deg 20deg);animation:ceFxRaySpin 7s linear infinite}
.game-fx-rare-drop.rarity-epic{border-color:#a566d8;box-shadow:0 18px 46px #000c,0 0 40px rgba(174,82,244,.26)}.game-fx-rare-drop.rarity-epic .game-fx-rare-drop-glow{background:radial-gradient(circle at 20% 50%,rgba(196,103,255,.5),transparent 52%)}.game-fx-rare-drop.rarity-legendary{border-color:#e0a53b;box-shadow:0 18px 46px #000c,0 0 48px rgba(255,191,58,.34)}.game-fx-rare-drop.rarity-legendary .game-fx-rare-drop-glow{background:radial-gradient(circle at 20% 50%,rgba(255,196,72,.58),transparent 52%)}
@keyframes ceFxRarePulse{from{opacity:.45;transform:scale(.92)}to{opacity:1;transform:scale(1.08)}}@keyframes ceFxRareCardRing{0%{filter:brightness(1)}50%{filter:brightness(1.7)}100%{filter:brightness(1)}}

/* Flying loot item */
.game-fx-fly-loot{position:absolute;width:64px;height:64px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle,#1a3448 0 56%,#071018 74%);border:2px solid #6b8ba5;box-shadow:0 0 34px rgba(96,176,255,.38),0 10px 30px #000b;will-change:transform,opacity;z-index:6}.game-fx-fly-loot:after{content:"";position:absolute;inset:-10px;border-radius:50%;border:1px solid rgba(127,197,255,.22);animation:ceFxLootOrbit 1s linear infinite}.game-fx-fly-loot img{width:54px;height:54px;object-fit:contain!important;filter:drop-shadow(0 5px 10px #000c)}.game-fx-fly-loot i{font-style:normal;font-size:34px}.game-fx-fly-loot.rarity-rare{box-shadow:0 0 38px rgba(86,168,255,.66),0 10px 30px #000b}.game-fx-fly-loot.rarity-epic{border-color:#b376e2;box-shadow:0 0 42px rgba(190,93,255,.72),0 10px 30px #000b}.game-fx-fly-loot.rarity-legendary{border-color:#f1b342;box-shadow:0 0 48px rgba(255,199,69,.9),0 10px 30px #000b}@keyframes ceFxLootOrbit{to{transform:rotate(360deg)}}

/* Standalone Bank chest opening overlay */
.game-fx-chest-open{position:absolute;left:50%;top:45%;width:min(620px,90vw);padding:22px 26px 20px;transform:translate(-50%,-50%) scale(.93);opacity:0;text-align:center;border:2px solid #9e762c;border-radius:12px;background:linear-gradient(180deg,rgba(15,26,35,.99),rgba(5,10,15,.99));box-shadow:0 34px 100px #000e,0 0 60px rgba(238,181,57,.2);transition:opacity .28s ease,transform .35s ease}.game-fx-chest-open.show{opacity:1;transform:translate(-50%,-50%) scale(1)}
.game-fx-chest-title{position:relative;z-index:4;color:#e6c16a;font-size:10px;font-weight:950;letter-spacing:.2em;margin-bottom:3px}.game-fx-chest-art{position:relative;z-index:3;width:160px;height:145px;margin:auto;display:grid;place-items:center}.game-fx-chest-art img,.game-fx-chest-art>i{display:block;width:142px;height:142px;object-fit:contain!important;margin:auto;filter:drop-shadow(0 18px 26px #000d)}.game-fx-chest-art>i{font-style:normal;font-size:100px}.game-fx-chest-open>b{position:relative;z-index:4;display:block;margin-top:-5px;color:#f6d57f;font:700 20px Georgia,'Times New Roman',serif;letter-spacing:.09em;text-shadow:0 3px 14px #000}.game-fx-chest-open.shake .game-fx-chest-art{animation:ceFxChestShakeLong 1.2s ease-in-out infinite}.game-fx-chest-open.open .game-fx-chest-art{animation:ceFxChestOpenStrong 1.05s cubic-bezier(.18,.78,.22,1) forwards}.game-fx-chest-burst{position:absolute;left:50%;top:38%;width:390px;height:390px;transform:translate(-50%,-50%) scale(.15);border-radius:50%;opacity:0;background:radial-gradient(circle,rgba(255,235,159,.92) 0,rgba(255,183,56,.35) 28%,transparent 68%)}.game-fx-chest-open.open .game-fx-chest-burst{animation:ceFxChestBurstStrong 1.3s ease-out forwards}
.game-fx-open-loot{position:relative;z-index:4;margin-top:12px;min-height:74px;display:flex;justify-content:center;gap:8px;flex-wrap:wrap;padding:10px;border:1px solid #30485a;border-radius:8px;background:#07121b}.game-fx-open-loot-card{width:118px;display:grid;grid-template-columns:42px 1fr;grid-template-areas:'art name' 'art qty';gap:1px 7px;align-items:center;padding:6px;border:1px solid #405668;border-radius:6px;background:#0d1b26;transition:opacity .28s ease,transform .38s cubic-bezier(.18,.8,.2,1),box-shadow .35s ease}.game-fx-open-loot-card.pending{opacity:.12;transform:scale(.68);filter:grayscale(.7)}.game-fx-open-loot-card.landed{opacity:1;transform:scale(1.08);filter:none;box-shadow:0 0 22px rgba(93,174,255,.42)}.game-fx-open-loot-card img,.game-fx-open-loot-card>i{grid-area:art;width:42px;height:42px;object-fit:contain!important;display:grid;place-items:center;background:#050b10;border:1px solid #344b5e;border-radius:5px;font-style:normal}.game-fx-open-loot-card b{grid-area:name;color:#f2f7fa;font-size:10px;line-height:1.05;text-align:left}.game-fx-open-loot-card em{grid-area:qty;color:#edca72;font-style:normal;font-size:10px;font-weight:900;text-align:left}.game-fx-open-loot-card.rarity-epic{border-color:#8952ad}.game-fx-open-loot-card.rarity-legendary{border-color:#b77d26}.game-fx-open-empty{color:#c2ced6;font-size:11px;padding:15px}.game-fx-chest-open.secured .game-fx-open-loot{box-shadow:0 0 26px rgba(93,174,255,.12) inset}

/* Dungeon reward chest lives in the actual result panel. */
.game-dungeon-reward-stage{display:grid;grid-template-columns:160px minmax(0,1fr);gap:12px;align-items:stretch;margin-top:12px;padding:8px;border:1px solid #294456;border-radius:8px;background:#07131d}.game-dungeon-result-chest{position:relative;display:grid;place-items:center;align-content:center;gap:3px;min-height:138px;border:1px solid #627483;border-radius:8px;background:radial-gradient(circle at 50% 30%,rgba(228,181,76,.18),transparent 58%),#071018;overflow:hidden}.game-dungeon-result-chest img{position:relative;z-index:3;width:94px;height:94px;object-fit:contain!important;filter:drop-shadow(0 10px 16px #000c)}.game-dungeon-result-chest small{position:relative;z-index:4;color:#e3c36e;font-size:8px;font-weight:950;letter-spacing:.11em}.game-dungeon-result-chest.attention{box-shadow:0 0 20px rgba(236,183,60,.16) inset}.game-dungeon-result-chest.shake img{animation:ceFxChestShakeLong .66s ease-in-out infinite}.game-dungeon-result-chest.open img{animation:ceFxChestOpenStrong 1.05s cubic-bezier(.18,.78,.22,1) forwards}.game-dungeon-chest-glow{position:absolute;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(255,217,116,.72),rgba(235,158,36,.22) 38%,transparent 68%);opacity:0}.game-dungeon-result-chest.open .game-dungeon-chest-glow{animation:ceFxDungeonGlowStrong 1.45s ease-out forwards}.game-dungeon-chest-ring{position:absolute;width:118px;height:118px;border:2px solid rgba(238,190,74,.28);border-radius:50%;opacity:.5;animation:ceFxDungeonRing 1.8s linear infinite}.game-dungeon-result-chest.open .game-dungeon-chest-ring{border-color:rgba(255,219,117,.7);box-shadow:0 0 24px rgba(255,201,66,.3)}
.game-dungeon-result-loot-tray{min-width:0;border:1px solid #38566a;border-radius:8px;background:#081621;padding:10px;transition:border-color .35s ease,box-shadow .35s ease}.game-dungeon-result-loot-tray.receiving{border-color:#5e8aad;box-shadow:0 0 24px rgba(92,170,231,.14) inset}.game-dungeon-result-loot-tray.complete{border-color:#6c7d61;box-shadow:0 0 24px rgba(91,209,137,.13) inset}.game-dungeon-result-loot-tray>small{display:block;margin-bottom:8px;color:#c1ced8;font-size:8px;font-weight:950;letter-spacing:.14em}.game-dungeon-result-loot-tray>div{display:flex;gap:8px;flex-wrap:wrap}
.game-dungeon-result-loot-card{position:relative;min-width:112px;max-width:178px;display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-areas:'art name' 'art qty';gap:1px 7px;align-items:center;padding:7px 8px;border:1px solid #3b5263;border-radius:6px;background:#0d1b26;overflow:hidden;transition:opacity .3s ease,transform .38s cubic-bezier(.18,.8,.2,1),filter .3s ease,box-shadow .3s ease}.game-dungeon-result-loot-card.pending{opacity:.08;transform:scale(.62);filter:grayscale(.8) blur(.4px)}.game-dungeon-result-loot-card.landed{opacity:1;transform:scale(1.08);filter:none;box-shadow:0 0 22px rgba(91,174,239,.42)}.game-dungeon-result-loot-card img,.game-dungeon-result-loot-card>i{grid-area:art;width:42px;height:42px;object-fit:contain!important;display:grid;place-items:center;background:#050b10;border:1px solid #344b5e;border-radius:5px;font-style:normal}.game-dungeon-result-loot-card b{grid-area:name;color:#f0f6f9;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-dungeon-result-loot-card em{grid-area:qty;color:#e2c778;font-style:normal;font-size:10px;font-weight:950}.game-dungeon-result-loot-card.rarity-rare{border-color:#5688ba;box-shadow:0 0 14px rgba(72,145,216,.14) inset}.game-dungeon-result-loot-card.rarity-epic{border-color:#9660bd;box-shadow:0 0 20px rgba(164,88,221,.2) inset;animation:ceFxLootGlowStrong 1.05s ease-in-out infinite alternate}.game-dungeon-result-loot-card.rarity-legendary{border-color:#c58929;box-shadow:0 0 24px rgba(238,170,48,.26) inset;animation:ceFxLegendGlowStrong .95s ease-in-out infinite alternate}.game-dungeon-result-empty{color:#91a2af;font-size:10px;padding:12px}

@keyframes ceFxChestShakeLong{0%,100%{transform:translateX(0) rotate(0) scale(1)}10%{transform:translateX(-10px) rotate(-5deg) scale(1.02)}20%{transform:translateX(11px) rotate(5deg)}31%{transform:translateX(-9px) rotate(-4deg)}43%{transform:translateX(9px) rotate(4deg) scale(1.03)}56%{transform:translateX(-7px) rotate(-3deg)}70%{transform:translateX(6px) rotate(3deg)}84%{transform:translateX(-3px) rotate(-1deg)}}
@keyframes ceFxChestOpenStrong{0%{transform:scale(1);filter:brightness(1)}26%{transform:scale(.86);filter:brightness(.95)}52%{transform:scale(1.28);filter:brightness(2.2) drop-shadow(0 0 42px #ffd66b)}72%{transform:scale(1.1);filter:brightness(1.55) drop-shadow(0 0 32px #f6bb43)}100%{transform:scale(1.04);filter:brightness(1.2) drop-shadow(0 0 20px #e9a93b)}}
@keyframes ceFxChestBurstStrong{0%{opacity:0;transform:translate(-50%,-50%) scale(.12)}24%{opacity:1}68%{opacity:.72}100%{opacity:0;transform:translate(-50%,-50%) scale(1.55)}}@keyframes ceFxDungeonGlowStrong{0%{opacity:0;transform:scale(.2)}28%{opacity:1}100%{opacity:.28;transform:scale(1.55)}}@keyframes ceFxDungeonRing{to{transform:rotate(360deg)}}
@keyframes ceFxLootGlowStrong{from{box-shadow:0 0 10px rgba(164,88,221,.16) inset,0 0 4px rgba(164,88,221,.08)}to{box-shadow:0 0 28px rgba(174,94,232,.36) inset,0 0 18px rgba(174,94,232,.34)}}@keyframes ceFxLegendGlowStrong{from{box-shadow:0 0 10px rgba(238,170,48,.18) inset,0 0 5px rgba(238,170,48,.1)}to{box-shadow:0 0 30px rgba(242,177,55,.42) inset,0 0 22px rgba(242,177,55,.42)}}

/* Pet discovery: obvious but contained movement. */
.game-pet-discovery-modal{animation:ceFxPetModalIn .5s cubic-bezier(.16,.8,.2,1)}.game-pet-discovery-art-wrap{position:relative;overflow:hidden}.game-pet-discovery-art{animation:ceFxPetIdle 3.6s ease-in-out infinite;transform-origin:50% 68%;filter:drop-shadow(0 12px 22px #0008)}.game-pet-discovery-art-wrap:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(112deg,transparent 32%,rgba(255,239,184,.25) 48%,transparent 64%);transform:translateX(-120%);animation:ceFxPetSheen 3.6s .7s ease-in-out infinite}.game-pet-discovery-banner{animation:ceFxPetBanner 1.15s ease-in-out infinite alternate}
@keyframes ceFxPetModalIn{from{opacity:0;transform:translateY(28px) scale(.95)}to{opacity:1;transform:none}}@keyframes ceFxPetIdle{0%,100%{transform:translateY(0) rotate(-.7deg) scale(1)}50%{transform:translateY(-9px) rotate(.7deg) scale(1.025)}}@keyframes ceFxPetSheen{0%,46%{transform:translateX(-120%)}78%,100%{transform:translateX(120%)}}@keyframes ceFxPetBanner{from{text-shadow:0 2px 14px rgba(0,0,0,.8),0 0 0 rgba(241,205,114,0)}to{text-shadow:0 2px 14px rgba(0,0,0,.8),0 0 26px rgba(241,205,114,.5)}}

@media(max-width:760px){.game-fx-rare-drop{right:10px;left:10px;top:88px;width:auto}.game-dungeon-reward-stage{grid-template-columns:1fr}.game-dungeon-result-chest{min-height:116px}.game-fx-banner{top:12%;min-width:0;width:calc(100vw - 24px)}.game-fx-chest-open{width:calc(100vw - 20px);padding:16px 12px}.game-fx-open-loot-card{width:104px}}
/* Respect reduced motion for decorative loops only. One-shot reward feedback still plays. */
@media(prefers-reduced-motion:reduce){.game-fx-banner-rays,.game-fx-banner-flare,.game-fx-rare-drop-glow,.game-fx-rare-drop-rays,.game-fx-fly-loot:after,.game-dungeon-chest-ring,.game-dungeon-result-loot-card.rarity-epic,.game-dungeon-result-loot-card.rarity-legendary,.game-pet-discovery-art,.game-pet-discovery-art-wrap:after,.game-pet-discovery-banner{animation-duration:4s!important;animation-iteration-count:1!important}}


/* Crown & Ember 3.11.85 — wider canvas, fully exposed menu, dungeon food + healing FX */
@media (min-width:1051px){
body.crown-ember-page.game-authenticated .crown-ember-site-nav{width:calc(100% - 14px)!important}
body.game-authenticated .game-topbar.card{width:calc(100% - 14px)!important;margin:18px 7px 14px!important}
body.game-authenticated .game-layout{width:calc(100% - 12px)!important;margin:0 6px 30px!important;grid-template-columns:232px minmax(0,1fr)!important;gap:12px!important}
body.game-authenticated .game-sidebar.card{position:static!important;top:auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;align-self:start!important}
body.game-authenticated .game-main.card{min-width:0!important;width:100%!important}
body.game-authenticated #game-panel{padding-left:18px!important;padding-right:18px!important}
body.game-authenticated .game-adventure-guide,body.game-authenticated .game-universal-guidebook,body.game-authenticated .game-legacy-guidebook-clean{width:100%!important;max-width:none!important}
}
@media (min-width:1501px){
body.game-authenticated .game-adventure-guide-main{grid-template-columns:180px minmax(390px,.78fr) minmax(620px,1.42fr)!important}
body.game-authenticated .game-universal-guidebook .game-adventure-guide-main{grid-template-columns:175px minmax(360px,.72fr) minmax(650px,1.5fr)!important}
body.game-authenticated .game-legacy-guidebook .game-adventure-guide-main{grid-template-columns:175px 300px minmax(700px,1.7fr)!important}
}
body.game-authenticated .game-combat-food-loadout{margin:16px 0!important;border:1px solid #2b4c62!important;border-radius:7px!important;background:linear-gradient(180deg,#0c1e2c,#081622)!important;overflow:hidden!important}
body.game-authenticated .game-combat-food-head{min-height:70px!important;padding:12px 14px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:14px!important;align-items:center!important;border-bottom:1px solid #274457!important;background:linear-gradient(180deg,#102638,#0b1d2b)!important}
body.game-authenticated .game-combat-food-head small{display:block!important;color:#78d8ff!important;font-size:9px!important;font-weight:900!important;letter-spacing:.15em!important}
body.game-authenticated .game-combat-food-head h3{margin:3px 0 2px!important;color:#fff!important;font-size:18px!important}
body.game-authenticated .game-combat-food-head p{margin:0!important;color:#b8c8d4!important;font-size:11px!important;line-height:1.4!important}
body.game-authenticated .game-combat-food-current{padding:12px 14px!important;display:grid!important;grid-template-columns:66px minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;border-bottom:1px solid #203b4e!important}
body.game-authenticated .game-combat-food-art{width:66px!important;height:66px!important;display:grid!important;place-items:center!important;border:1px solid #4e6c80!important;border-radius:7px!important;background:#07131e!important;position:relative!important;overflow:visible!important}
body.game-authenticated .game-combat-food-art.healing{animation:ceFoodSourcePulse .7s ease-in-out 2!important;box-shadow:0 0 0 2px rgba(80,224,138,.18),0 0 24px rgba(80,224,138,.38)!important}
body.game-authenticated .game-combat-food-art .game-food-art{width:58px!important;height:58px!important;object-fit:contain!important}
body.game-authenticated .game-combat-food-plus{color:#708797!important;font-size:31px!important;font-weight:900!important}
body.game-authenticated .game-combat-food-copy{display:grid!important;gap:2px!important;min-width:0!important}
body.game-authenticated .game-combat-food-copy>b{color:#88a2b5!important;font-size:9px!important;letter-spacing:.14em!important}
body.game-authenticated .game-combat-food-copy>strong{color:#fff!important;font-size:16px!important}
body.game-authenticated .game-combat-food-copy>span{color:#b5c4cf!important;font-size:10px!important;line-height:1.45!important}
body.game-authenticated .game-combat-food-actions{display:flex!important;gap:7px!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important}
body.game-authenticated .game-combat-food-actions>span{color:#91a6b5!important;font-size:10px!important}
body.game-authenticated .game-combat-food-picker{padding:10px 12px 12px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
body.game-authenticated .game-combat-food-choice{min-width:0!important;min-height:58px!important;padding:7px!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;gap:8px!important;align-items:center!important;border:1px solid #365468!important;border-radius:5px!important;background:#0a1a27!important;color:#edf5fa!important;text-align:left!important;cursor:pointer!important}
body.game-authenticated .game-combat-food-choice:hover{background:#10283a!important;border-color:#63849a!important}
body.game-authenticated .game-combat-food-choice.active{border-color:#d1a34b!important;background:linear-gradient(180deg,#302817,#1a1b16)!important;box-shadow:inset 3px 0 #efc15a!important}
body.game-authenticated .game-combat-food-choice .game-food-choice-art{width:40px!important;height:40px!important;object-fit:contain!important}
body.game-authenticated .game-combat-food-choice span{display:grid!important;gap:2px!important;min-width:0!important}
body.game-authenticated .game-combat-food-choice b{color:#fff!important;font-size:10px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.game-authenticated .game-combat-food-choice small{color:#b9c7d0!important;font-size:9px!important}
body.game-authenticated .game-combat-food-choice em{color:#f2c75c!important;font-size:8px!important;font-style:normal!important;font-weight:900!important;letter-spacing:.08em!important}
body.game-authenticated .game-combat-food-warning{padding:8px 12px!important;border-top:1px solid #59462a!important;background:#21190e!important;color:#f0cb75!important;font-size:10px!important}
body.game-authenticated .game-combat-food-loadout.dungeon{border-color:#396078!important}
body.game-authenticated .game-combat-food-loadout.dungeon .game-combat-food-head small:before{content:"♥ ";color:#f1747d!important}
.game-fx-food-heal{position:absolute!important;z-index:9999!important;width:54px!important;height:54px!important;display:grid!important;place-items:center!important;pointer-events:none!important;filter:drop-shadow(0 8px 12px #000b) drop-shadow(0 0 12px rgba(83,223,145,.42))!important}
.game-fx-food-heal img{width:54px!important;height:54px!important;object-fit:contain!important}
.game-fx-food-heal i{font-style:normal!important;font-size:40px!important}
.game-fx-food-heal-label{position:absolute!important;z-index:10000!important;pointer-events:none!important;text-align:center!important;padding:7px 11px!important;border:1px solid #3c8d64!important;border-radius:7px!important;background:rgba(4,22,15,.96)!important;box-shadow:0 8px 22px #000b,0 0 18px rgba(75,226,137,.25)!important}
.game-fx-food-heal-label small{display:block!important;color:#82e5ae!important;font-size:8px!important;font-weight:900!important;letter-spacing:.14em!important}
.game-fx-food-heal-label b{display:block!important;color:#7ff0ae!important;font-size:18px!important;white-space:nowrap!important}
.game-hp-heal-pulse{animation:ceHpHealPulse .55s ease-in-out 2!important}
@keyframes ceFoodSourcePulse{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
@keyframes ceHpHealPulse{0%,100%{filter:none}50%{filter:brightness(1.8) drop-shadow(0 0 8px #4fe58a)}}
@media(max-width:1200px){body.game-authenticated .game-combat-food-picker{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){body.game-authenticated .game-combat-food-head{grid-template-columns:1fr!important}body.game-authenticated .game-combat-food-current{grid-template-columns:58px minmax(0,1fr)!important}body.game-authenticated .game-combat-food-actions{grid-column:1/-1!important;justify-content:flex-start!important}body.game-authenticated .game-combat-food-picker{grid-template-columns:1fr!important}}


/* 3.11.85 menu rule: never create a second vertical scroll window inside the left navigation. */
body.game-authenticated .game-sidebar.card{height:auto!important;max-height:none!important;overflow-y:visible!important;overflow-x:visible!important}
@media (min-width:801px){body.game-authenticated .game-sidebar.card{position:static!important;top:auto!important}}

/* 3.11.86 — full-width workspace, permanently exposed navigation, 3 character slots + Account Vault */
body.game-authenticated .game-layout{
  width:calc(100% - 8px)!important;
  margin:0 4px 36px!important;
  grid-template-columns:220px minmax(0,1fr)!important;
  gap:10px!important;
}
body.game-authenticated .game-sidebar.card{
  position:static!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  align-self:start!important;
}
body.game-authenticated .game-main.card{min-width:0!important;width:100%!important;max-width:none!important}
body.game-authenticated .game-nav-group-static{cursor:default!important;pointer-events:none!important}
body.game-authenticated .game-nav-group-static:after{display:none!important}
body.game-authenticated .game-nav-group-body{display:block!important;max-height:none!important;overflow:visible!important}

.game-character-select{display:grid;gap:18px}
.game-character-select-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;padding:22px 24px;border:1px solid #294456;border-radius:8px;background:linear-gradient(180deg,#0e2231,#091824)}
.game-character-select-head h2{margin:3px 0 5px!important;color:#fff!important;font-family:Georgia,serif!important;font-size:30px!important}
.game-character-select-head p{max-width:900px;margin:0!important;color:#bdcbd5!important;line-height:1.55!important}
.game-character-select-active{min-width:190px;padding:12px 16px;border:1px solid #7a602d;border-radius:6px;background:#17160f;text-align:right}
.game-character-select-active small{display:block;color:#d9b257!important;font-size:9px!important;letter-spacing:.14em!important}
.game-character-select-active b{display:block;margin-top:4px;color:#fff!important;font-size:17px!important}
.game-character-slot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.game-character-slot{position:relative;min-height:310px;padding:16px;border:1px solid #314e61;border-radius:8px;background:linear-gradient(180deg,#0e2130,#091722);box-shadow:0 12px 30px #0005;overflow:hidden}
.game-character-slot.active{border-color:#c49a43;box-shadow:inset 0 0 0 1px #5b4725,0 14px 34px #0007}
.game-character-slot-number{color:#e6ba59!important;font-size:9px!important;font-weight:900!important;letter-spacing:.14em!important;text-transform:uppercase!important}
.game-character-slot-art{height:125px;margin:9px -2px 6px;display:grid;place-items:center;border:1px solid #263f51;border-radius:6px;background:radial-gradient(circle at 50% 36%,#173449,#07131d 70%);overflow:hidden}
.game-character-slot-class-art{width:100%;height:100%;object-fit:contain!important;filter:drop-shadow(0 10px 14px #0008)}
.game-character-slot-copy small{color:#88a4b6!important;text-transform:uppercase!important;letter-spacing:.08em!important;font-size:9px!important}
.game-character-slot-copy h3{margin:3px 0 8px!important;color:#fff!important;font-family:Georgia,serif!important;font-size:22px!important}
.game-character-slot-copy p{margin:8px 0 0!important;color:#879aa8!important;font-size:9px!important}
.game-character-slot-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.game-character-slot-stats span{padding:7px 8px;border:1px solid #263e4f;border-radius:4px;background:#09151f;color:#9eb0bd!important;font-size:9px!important}
.game-character-slot-stats b{color:#fff!important;font-size:11px!important}
.game-character-slot-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}
.game-character-slot-actions .btn{min-width:92px}
.game-character-slot-actions .game-mini-btn.danger{border-color:#773840!important;color:#ff9299!important;background:#241013!important}
.game-character-slot.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-style:dashed;background:linear-gradient(180deg,#0b1924,#08131c)}
.game-character-slot-empty-mark{width:72px;height:72px;margin:20px auto 8px;border:1px solid #486579;border-radius:50%;display:grid;place-items:center;color:#e6ba59!important;font-size:40px!important;background:#0a1822}
.game-character-slot.empty h3{margin:6px 0!important;color:#fff!important;font-family:Georgia,serif!important}
.game-character-slot.empty p{max-width:290px;color:#9eb0bc!important;line-height:1.5!important}

.game-account-vault{border:1px solid #2d4a5d;border-radius:8px;background:linear-gradient(180deg,#0b1c29,#08151f);overflow:hidden}
.game-account-vault-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;padding:18px 20px;border-bottom:1px solid #2b4759;background:#0d202e}
.game-account-vault-head h2{margin:2px 0 5px!important;color:#fff!important;font-family:Georgia,serif!important;font-size:26px!important}
.game-account-vault-head p{max-width:980px;margin:0!important;color:#adbec9!important;font-size:10px!important;line-height:1.55!important}
.game-vault-badge{padding:8px 12px;border:1px solid #775d2b;border-radius:20px;background:#17150d;color:#e6ba59!important;font-size:9px!important;font-weight:900!important;letter-spacing:.09em!important}
.game-vault-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.game-vault-columns>section{min-width:0;padding:16px}
.game-vault-columns>section+section{border-left:1px solid #294455}
.game-vault-columns h3{margin:0 0 10px!important;color:#e6ba59!important;font-size:12px!important;letter-spacing:.07em!important;text-transform:uppercase!important}
.game-vault-list{display:grid;gap:6px;max-height:520px;overflow:auto;padding-right:3px}
.game-vault-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px;border:1px solid #294354;border-radius:5px;background:#091722}
.game-vault-item{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px;align-items:center;min-width:0}
.game-vault-item-art{width:40px!important;height:40px!important;object-fit:contain!important;border:1px solid #304b5d;border-radius:4px;background:#050b10}
.game-vault-item span{display:grid;gap:1px;min-width:0}
.game-vault-item b{color:#f2f7fa!important;font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.game-vault-item small{color:#8fa5b4!important;font-size:8px!important}
.game-vault-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}
.game-vault-empty{padding:18px;border:1px dashed #314b5c;border-radius:6px;color:#8599a7!important;text-align:center;font-size:10px!important}
.game-character-manage-modal form{display:grid;gap:12px;margin-top:14px}
.game-character-manage-modal label{display:grid;gap:5px;color:#c7d4dc!important;font-size:10px!important;font-weight:800!important}
.game-character-manage-modal input,.game-character-manage-modal select{width:100%;padding:11px 12px;border:1px solid #3b5769;border-radius:5px;background:#091722;color:#fff!important}
.game-character-manage-modal.danger{border-color:#6c343a!important}
.game-character-delete-actions{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap}

@media(max-width:1180px){.game-character-slot-grid{grid-template-columns:1fr}.game-vault-columns{grid-template-columns:1fr}.game-vault-columns>section+section{border-left:0;border-top:1px solid #294455}}
@media(max-width:800px){body.game-authenticated .game-layout{width:calc(100% - 10px)!important;margin:0 5px 24px!important;grid-template-columns:1fr!important}.game-character-select-head,.game-account-vault-head{grid-template-columns:1fr}.game-character-select-active{text-align:left}.game-vault-row{grid-template-columns:1fr}.game-vault-actions{justify-content:flex-start}}

/* ===== 3.11.87 READABILITY PASS — larger non-bold explanatory copy =====
   Increase white/body/help text without enlarging headings, bold labels, buttons or borders. */
body.game-authenticated .game-page-quick-help-summary{
  font-size:15.5px!important;
  line-height:1.62!important;
}
body.game-authenticated .game-page-quick-help-steps>span{
  font-size:14.5px!important;
  line-height:1.62!important;
}
body.game-authenticated .game-page-quick-help>p{
  font-size:14.5px!important;
  line-height:1.62!important;
}
body.game-authenticated .game-guide-info-block p.game-guide-intro,
body.game-authenticated .game-guide-fineprint{
  font-size:15px!important;
  line-height:1.62!important;
}
body.game-authenticated .game-guide-steps p{
  font-size:14.5px!important;
  line-height:1.6!important;
}
body.game-authenticated .game-guide-source-none{
  font-size:13.5px!important;
  line-height:1.55!important;
}
body.game-authenticated .game-guide-material-source>span small,
body.game-authenticated .game-guide-objective-help div>small{
  font-size:13px!important;
  line-height:1.55!important;
}
body.game-authenticated .game-guide-usage-lines p{
  font-size:14.5px!important;
  line-height:1.62!important;
}
body.game-authenticated .game-realm-how p{
  font-size:14.5px!important;
  line-height:1.65!important;
}
body.game-authenticated .game-adventure-detail-copy{
  font-size:16.5px!important;
  line-height:1.68!important;
}
body.game-authenticated .game-adventure-parchment-section>p{
  font-size:15px!important;
  line-height:1.62!important;
}
body.game-authenticated .game-book-detail-head p{
  font-size:15.5px!important;
  line-height:1.58!important;
}
body.game-authenticated .game-book-material span,
body.game-authenticated .game-book-craft-row span{
  font-size:12.5px!important;
  line-height:1.5!important;
}
body.game-authenticated .game-book-material-index small,
body.game-authenticated .game-book-tool-grid small{
  font-size:12.5px!important;
  line-height:1.5!important;
}
body.game-authenticated .game-book-mastery-list span,
body.game-authenticated .game-book-mastery-list small{
  font-size:12px!important;
  line-height:1.48!important;
}
body.game-authenticated .game-book-bonfire span{
  font-size:13px!important;
  line-height:1.5!important;
}
body.game-authenticated .game-book-bonfire small{
  font-size:12.5px!important;
  line-height:1.5!important;
}
body.game-authenticated .game-recipe-row-meta small,
body.game-authenticated .game-recipe-owned,
body.game-authenticated .game-recipe-gate{
  font-size:13px!important;
  line-height:1.55!important;
}
body.game-authenticated .game-action small,
body.game-authenticated .game-item small,
body.game-authenticated .game-monster small,
body.game-authenticated .game-farm-plot p,
body.game-authenticated .game-contract small,
body.game-authenticated .game-contract p,
body.game-authenticated .game-city-unlocks span,
body.game-authenticated .game-rep-progress>div{
  font-size:13.5px!important;
  line-height:1.5!important;
}
body.game-authenticated .game-character-builder-head p,
body.game-authenticated .game-character-builder-message span,
body.game-authenticated .game-character-builder-actions small{
  font-size:14px!important;
  line-height:1.58!important;
}
body.game-authenticated .game-character-select-head p,
body.game-authenticated .game-account-vault-head p,
body.game-authenticated .game-character-slot.empty p{
  font-size:13.5px!important;
  line-height:1.58!important;
}
@media(max-width:760px){
  body.game-authenticated .game-page-quick-help-summary,
  body.game-authenticated .game-guide-info-block p.game-guide-intro,
  body.game-authenticated .game-guide-fineprint{font-size:14.5px!important}
  body.game-authenticated .game-page-quick-help-steps>span,
  body.game-authenticated .game-guide-steps p{font-size:14px!important}
}

/* ===== 3.11.88 SUPPORT SKILL READABILITY + DUNGEON CHEST ROW FIX ===== */
/* Alt. Magic, Agility and Thieving use the universal/support guidebook rather than
   the normal production templates. Their helper copy remained smaller than the
   3.11.87 readability pass. Keep headings/buttons unchanged and enlarge only the
   explanatory / secondary text. */
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="altmagic"] .game-adventure-entry-copy small,
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="agility"] .game-adventure-entry-copy small,
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="thieving"] .game-adventure-entry-copy small{
  font-size:14px!important;
  line-height:1.52!important;
  color:#c6cdd1!important;
}
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="altmagic"] .game-adventure-detail-head p,
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="agility"] .game-adventure-detail-head p,
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="thieving"] .game-adventure-detail-head p{
  font-size:15px!important;
  line-height:1.55!important;
}
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="altmagic"] .game-adventure-detail-copy,
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="agility"] .game-adventure-detail-copy,
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="thieving"] .game-adventure-detail-copy{
  font-size:16px!important;
  line-height:1.66!important;
}
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="altmagic"] .game-guide-plain-help,
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="agility"] .game-guide-plain-help,
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="thieving"] .game-guide-plain-help,
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="altmagic"] .game-guide-info-block p,
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="agility"] .game-guide-info-block p,
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="thieving"] .game-guide-info-block p{
  font-size:15px!important;
  line-height:1.65!important;
}
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="altmagic"] .game-adventure-parchment-section>p,
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="agility"] .game-adventure-parchment-section>p,
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="thieving"] .game-adventure-parchment-section>p{
  font-size:15px!important;
  line-height:1.62!important;
}
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="altmagic"] .game-adventure-loot-grid span,
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="agility"] .game-adventure-loot-grid span,
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="thieving"] .game-adventure-loot-grid span{
  font-size:12.5px!important;
  line-height:1.45!important;
}
/* Legacy cards can still appear while switching/rendering these pages. */
body.game-authenticated .game-thieving-card small,
body.game-authenticated .game-thieving-card p,
body.game-authenticated .game-thieving-card span,
body.game-authenticated .game-support-card small,
body.game-authenticated .game-support-card p{
  font-size:14px!important;
  line-height:1.55!important;
}
body.game-authenticated .game-skill-head .game-panel-title>p{
  font-size:15px!important;
  line-height:1.62!important;
}

/* Dungeon treasure chest summary: keep the chest + chance/help copy as one wide,
   readable horizontal row instead of a narrow tooltip-looking column. */
body.game-authenticated .game-dungeon-chest-list,
body.game-authenticated .game-dungeon-chest-row{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
body.game-authenticated .game-dungeon-chest-row{
  display:block!important;
  border-radius:7px!important;
  overflow:hidden!important;
}
body.game-authenticated .game-dungeon-chest-row>summary{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:60px minmax(0,1fr)!important;
  gap:12px!important;
  align-items:center!important;
  padding:10px 42px 10px 10px!important;
}
body.game-authenticated .game-dungeon-chest-row>summary>img{
  width:58px!important;
  height:58px!important;
}
body.game-authenticated .game-dungeon-chest-row>summary>span{
  min-width:0!important;
  width:auto!important;
  display:flex!important;
  flex-direction:column!important;
  gap:4px!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
body.game-authenticated .game-dungeon-chest-row>summary b{
  font-size:15px!important;
  line-height:1.35!important;
}
body.game-authenticated .game-dungeon-chest-row>summary small{
  display:block!important;
  width:auto!important;
  max-width:none!important;
  font-size:14px!important;
  line-height:1.5!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
body.game-authenticated .game-dungeon-chest-list>h4{
  font-size:13px!important;
}
body.game-authenticated .game-dungeon-chest-coins b{
  font-size:13px!important;
}
body.game-authenticated .game-dungeon-chest-coins small{
  font-size:12.5px!important;
  line-height:1.45!important;
}
body.game-authenticated .game-dungeon-chest-drop>b{
  font-size:12.5px!important;
}
body.game-authenticated .game-dungeon-chest-drop>small{
  font-size:11.5px!important;
  line-height:1.4!important;
}
@media(max-width:760px){
  body.game-authenticated .game-dungeon-chest-row>summary{
    grid-template-columns:50px minmax(0,1fr)!important;
    gap:9px!important;
    padding:9px 34px 9px 9px!important;
  }
  body.game-authenticated .game-dungeon-chest-row>summary>img{
    width:48px!important;
    height:48px!important;
  }
  body.game-authenticated .game-dungeon-chest-row>summary small{
    font-size:13px!important;
  }
}


/* ===== 3.11.93 PRODUCTION IMAGE TOOLTIPS + RESTORED SOUNDTRACK ===== */
/* The soundtrack was accidentally hidden by the unified 3.11.80 shell. Restore it as
   a fourth aligned card in the same status deck. */
body.game-authenticated .game-music-console{
  display:grid!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  align-self:stretch!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  grid-template-areas:"emblem copy" "transport transport" "volume volume" "toggle toggle"!important;
  gap:7px 10px!important;
  padding:12px!important;
  border:1px solid #8f6b28!important;
  border-radius:6px!important;
  background:linear-gradient(180deg,#14202a,#0b151d)!important;
  box-shadow:none!important;
}
body.game-authenticated .game-music-console::before{opacity:.35!important}
body.game-authenticated .game-music-emblem{width:40px!important;height:40px!important}
body.game-authenticated .game-music-copy small{font-size:9px!important;color:#d2ad58!important}
body.game-authenticated .game-music-copy strong{font-size:13px!important;color:#f5f7fa!important}
body.game-authenticated .game-music-copy span{font-size:9px!important}
body.game-authenticated .game-music-transport{grid-area:transport;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;position:relative;z-index:1}
body.game-authenticated .game-music-transport button{
  min-height:32px;border:1px solid #315168;border-radius:5px;background:#0a1a27;color:#e7eef3;
  font:800 10px/1 Inter,Arial,sans-serif;letter-spacing:.08em;cursor:pointer;
}
body.game-authenticated .game-music-transport button:hover{border-color:#d0a13f;color:#f4ca67;background:#122334}
body.game-authenticated .game-music-volume{width:100%!important}
body.game-authenticated .game-music-toggle{min-height:32px!important}

/* Four equal-status regions on wide screens; two tidy rows on medium screens. */
@media(min-width:1351px){
  body.game-authenticated .game-topbar.card{
    grid-template-columns:minmax(300px,1.15fr) minmax(270px,.85fr) minmax(300px,.82fr) minmax(330px,1fr)!important;
    min-height:0!important;
  }
  body.game-authenticated .game-topstats{grid-column:auto!important;min-height:0!important}
}
@media(min-width:801px) and (max-width:1350px){
  body.game-authenticated .game-topbar.card{grid-template-columns:minmax(330px,1.1fr) minmax(300px,.9fr)!important}
  body.game-authenticated .game-action-status-card{grid-column:1!important}
  body.game-authenticated #game-xp-boost-panel{grid-column:2!important}
  body.game-authenticated .game-topstats{grid-column:1!important;min-height:112px!important}
  body.game-authenticated .game-music-console{grid-column:2!important}
}
@media(max-width:800px){body.game-authenticated .game-music-console{grid-column:auto!important}}

/* Production / crafting hover help belongs to the picture only. Every item image now carries
   its item id, so the existing rich item tooltip explains food HP, potion use, gear stats,
   socket gems, ammo, runes, ingredients and recipe/material uses. */
body.game-authenticated .game-production-book :is(.game-book-row-image,.game-book-output-art,.game-book-material-art,.game-book-index-art,.game-book-tool-art,.game-craft-status-image)[data-item-id]{
  cursor:help!important;outline:none!important;
}
body.game-authenticated .game-production-book :is(.game-book-row-image,.game-book-output-art,.game-book-material-art,.game-book-index-art,.game-book-tool-art,.game-craft-status-image)[data-item-id]:hover,
body.game-authenticated .game-production-book :is(.game-book-row-image,.game-book-output-art,.game-book-material-art,.game-book-index-art,.game-book-tool-art,.game-craft-status-image)[data-item-id]:focus{
  box-shadow:0 0 0 2px rgba(234,190,83,.65),0 0 18px rgba(234,190,83,.24)!important;
}


/* Crown & Ember 3.11.93 — make Combat Food / Auto Eat permanently visible in live Combat. */
body.game-authenticated .game-combat-food-loadout.combat{
  margin:18px 0 20px!important;
  border:2px solid #416a82!important;
  box-shadow:0 10px 28px rgba(0,0,0,.26),inset 0 1px rgba(126,196,235,.06)!important;
}
body.game-authenticated .game-combat-food-loadout.combat .game-combat-food-head{
  min-height:78px!important;
  background:linear-gradient(180deg,#143047,#0b2030)!important;
  border-bottom-color:#3a6178!important;
}
body.game-authenticated .game-combat-food-loadout.combat .game-combat-food-head small{
  color:#8be1ff!important;font-size:10px!important;
}
body.game-authenticated .game-combat-food-loadout.combat .game-combat-food-head h3{
  font-size:20px!important;
}
body.game-authenticated .game-combat-food-loadout.combat .game-combat-food-head p,
body.game-authenticated .game-combat-food-loadout.combat .game-combat-food-copy>span{
  font-size:12px!important;
}
body.game-authenticated .game-combat-food-loadout.combat .game-combat-food-copy>strong{font-size:17px!important}
@media (min-width:1500px){
  body.game-authenticated .game-combat-food-loadout.combat .game-combat-food-picker{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}


/* ===== 3.11.93 TOP-CENTER CHEST + DROP NOTICES ===== */
/* Chest openings and explicit loot drops now reuse the same brief top-center
   celebration language as level/mastery notices. They intentionally fade fast. */
.game-fx-banner.loot{
  top:9.5%;
  min-width:360px;
  max-width:min(540px,92vw);
  padding:11px 16px 12px;
  border-width:1px;
  background:linear-gradient(180deg,rgba(18,31,42,.985),rgba(5,12,18,.985));
  box-shadow:0 18px 52px #000c,0 0 30px rgba(92,174,239,.14);
}
.game-fx-banner.loot .game-fx-banner-rays{width:320px;height:320px;opacity:.24}
.game-fx-banner.loot .game-fx-banner-flare{width:150px;height:150px;opacity:.55}
.game-fx-banner-loot-row{position:relative;z-index:4;display:grid;grid-template-columns:58px minmax(0,1fr);gap:12px;align-items:center;text-align:left}
.game-fx-banner-loot-row>img,.game-fx-banner-loot-row>i{width:56px;height:56px;object-fit:contain!important;display:grid;place-items:center;padding:4px;border:1px solid #4d6678;border-radius:7px;background:#050b10;font-style:normal;font-size:32px;filter:drop-shadow(0 5px 10px #000b)}
.game-fx-banner.loot small{font-size:9px;letter-spacing:.17em;color:#bcd8ea}
.game-fx-banner.loot b{margin:3px 0 2px;font-size:23px;line-height:1.05;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.game-fx-banner.loot span{font-size:12px;color:#e8f1f6}
.game-fx-banner.loot.rarity-rare{border-color:#5e8fbb;box-shadow:0 18px 52px #000c,0 0 34px rgba(74,155,230,.23)}
.game-fx-banner.loot.rarity-epic{border-color:#9f68c8;box-shadow:0 18px 52px #000c,0 0 38px rgba(177,88,235,.25)}
.game-fx-banner.loot.rarity-legendary{border-color:#d59b36;box-shadow:0 18px 52px #000c,0 0 44px rgba(242,177,56,.31)}
@media(max-width:760px){.game-fx-banner.loot{top:76px;min-width:0;width:calc(100vw - 20px);padding:9px 12px}.game-fx-banner-loot-row{grid-template-columns:50px minmax(0,1fr)}.game-fx-banner-loot-row>img,.game-fx-banner-loot-row>i{width:48px;height:48px}.game-fx-banner.loot b{font-size:19px}}

/* 3.11.94 Bank / comparison / stacked top notices / duel combat */
body.game-authenticated .game-bank-empty-detail{display:grid;place-items:center;align-content:center;text-align:center;min-height:520px!important;border-color:#2b4354!important;background:linear-gradient(180deg,#0d1c29,#09141e)!important;color:#e8f0f5!important}
body.game-authenticated .game-bank-empty-detail h2{margin:6px 0 8px!important;color:#fff!important}
body.game-authenticated .game-bank-empty-detail p{max-width:520px!important;color:#b8c8d4!important;font-size:14px!important;line-height:1.6!important}
.game-bank-empty-detail-icon{font-size:48px;color:#d8ab4e;margin-bottom:8px}
.game-bank-quick-image{display:block;width:100%;height:100%}
.game-bank-quick-image img{width:100%;height:100%;object-fit:contain!important}
body.game-authenticated .game-guidebook-item-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.game-authenticated .game-guidebook-item-actions .game-bank-sell-actions{display:contents}
body.game-authenticated .game-guidebook-item-actions .salvage.danger{border-color:#8a463e!important;color:#ffd0c8!important;background:#2a1715!important}
/* Keep comparison values directly beneath NOW / AFTER / CHANGE instead of drifting to the far right. */
body.game-authenticated .game-bank-gear-compare .gear-compare-head,body.game-authenticated .game-bank-gear-compare .gear-compare-row{grid-template-columns:minmax(155px,1fr) 86px 86px 96px!important;column-gap:10px!important;max-width:690px!important;padding-left:12px!important;padding-right:12px!important}
body.game-authenticated .game-bank-gear-compare .gear-compare-head>b,body.game-authenticated .game-bank-gear-compare .gear-compare-head>em,body.game-authenticated .game-bank-gear-compare .gear-compare-row>b,body.game-authenticated .game-bank-gear-compare .gear-compare-row>em{text-align:center!important;justify-self:stretch!important}
body.game-authenticated .game-bank-gear-compare .gear-compare-head>span,body.game-authenticated .game-bank-gear-compare .gear-compare-row>span{text-align:left!important}
/* All transient messages live in one top stack. */
.game-fx-banner.notice{min-width:300px;max-width:min(640px,calc(100vw - 28px));padding:10px 18px 12px;border-width:1px;background:linear-gradient(180deg,rgba(16,30,42,.99),rgba(7,15,22,.99));box-shadow:0 14px 42px #000c}.game-fx-banner.notice b{font:800 15px/1.3 Inter,Segoe UI,Arial,sans-serif;margin:3px 0;color:#f5f8fa}.game-fx-banner.notice small{font-size:9px}.game-fx-banner.notice.bad{border-color:#9a4a4a}.game-fx-banner.notice.bad small{color:#ff9f9f}.game-fx-banner.notice .game-fx-banner-rays,.game-fx-banner.notice .game-fx-banner-flare{display:none}
/* Duel acceptance opens a real combat replay window. */
.game-duel-combat-modal{width:min(860px,calc(100vw - 30px));max-width:860px!important}.game-duel-combat-modal>h2{text-align:center;margin:6px 0 18px}.game-duel-combat-modal>h2 span{color:#d6aa52;font-size:.65em;margin:0 12px}.game-duel-live-grid{display:grid;grid-template-columns:1fr 60px 1fr;gap:14px;align-items:center}.game-duel-live-grid section{padding:14px;border:1px solid #314859;background:#0b1721;border-radius:8px}.game-duel-live-grid section>b{display:block;margin-bottom:8px;color:#fff;font-size:16px}.game-duel-live-grid section>strong{display:block;margin-top:6px;color:#c8d6df;font-size:12px}.game-duel-live-vs{text-align:center;color:#e6ba55;font-size:30px}.game-duel-live-hp{height:13px;border-radius:99px;background:#35161b;border:1px solid #67313a;overflow:hidden}.game-duel-live-hp i{display:block;height:100%;background:linear-gradient(90deg,#ca3f51,#f06975);transition:width .35s ease}.game-duel-live-hp.enemy i{background:linear-gradient(90deg,#9c3a43,#dc5860)}.game-duel-live-log{height:230px;overflow:auto;display:flex;flex-direction:column;gap:5px;margin:16px 0;padding:12px;border:1px solid #2d4352;background:#07121a;border-radius:7px}.game-duel-live-log span{display:block;padding:7px 9px;border-bottom:1px solid #162733;color:#d6e2e9}.game-duel-live-log strong{color:#ff9c9c}.game-duel-live-log em{color:#9cb5c5}.game-duel-live-result{margin:12px 0;padding:12px;border:1px solid #78602c;background:#16130c;text-align:center;border-radius:7px}.game-duel-live-result b,.game-duel-live-result span{display:block}.game-duel-live-result b{color:#f1c65f;font:700 28px Georgia,serif}.game-duel-live-result span{color:#e9eef1;margin-top:4px}
@media(max-width:760px){body.game-authenticated .game-bank-gear-compare .gear-compare-head,body.game-authenticated .game-bank-gear-compare .gear-compare-row{grid-template-columns:minmax(105px,1fr) 62px 62px 72px!important;column-gap:4px!important}.game-duel-live-grid{grid-template-columns:1fr}.game-duel-live-vs{font-size:20px}.game-duel-live-log{height:180px}}

/* 3.11.94 all gear comparison popups: keep NOW / AFTER / CHANGE values directly under their headers. */
.gear-compare-head,.gear-compare-row{grid-template-columns:minmax(145px,1fr) 82px 82px 92px!important;column-gap:8px!important}
.gear-compare-head>b,.gear-compare-head>em,.gear-compare-row>b,.gear-compare-row>em{text-align:center!important;justify-self:stretch!important}
@media(max-width:760px){.gear-compare-head,.gear-compare-row{grid-template-columns:minmax(100px,1fr) 60px 60px 70px!important;column-gap:3px!important}}

/* 3.11.94 Bank browse page: compact Melvor-style item tiles on the left; click opens details on the right. */
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="bank"] [data-universal-entry-list]{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:7px!important;align-content:start}
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="bank"] .game-bank-book-entry{position:relative;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:62px auto auto;gap:5px!important;justify-items:center;align-content:start;min-height:126px;padding:7px 5px!important;text-align:center!important;box-shadow:none}
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="bank"] .game-bank-book-entry.active{box-shadow:inset 0 0 0 2px #e2ad47!important}
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="bank"] .game-bank-book-entry .game-adventure-entry-art{width:62px!important;height:62px!important}
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="bank"] .game-bank-book-entry .game-adventure-entry-copy{display:block!important;min-width:0;width:100%}
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="bank"] .game-bank-book-entry .game-adventure-entry-copy>b{display:block;font-size:11px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="bank"] .game-bank-book-entry .game-adventure-entry-copy>small{display:block;font-size:8px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#8fa0aa!important}
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="bank"] .game-bank-book-entry .game-bank-book-compare{display:none!important}
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="bank"] .game-bank-book-entry .game-adventure-entry-progress{display:block!important;min-width:0!important;text-align:center}
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="bank"] .game-bank-book-entry .game-adventure-entry-progress small{display:none!important}
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="bank"] .game-bank-book-entry .game-adventure-entry-progress b{font-size:10px;color:#f0cb72}
body.game-authenticated .game-universal-guidebook[data-universal-guidebook="bank"] .game-bank-book-entry .game-adventure-entry-arrow{display:none!important}
@media(max-width:760px){body.game-authenticated .game-universal-guidebook[data-universal-guidebook="bank"] [data-universal-entry-list]{grid-template-columns:repeat(auto-fill,minmax(92px,1fr))}body.game-authenticated .game-universal-guidebook[data-universal-guidebook="bank"] .game-bank-book-entry{min-height:116px;grid-template-rows:56px auto auto}body.game-authenticated .game-universal-guidebook[data-universal-guidebook="bank"] .game-bank-book-entry .game-adventure-entry-art{width:56px!important;height:56px!important}}


/* ===== 3.11.96 FINAL TREASURE ROW / FARM BOT / NOTICE STABILITY ===== */
body.game-authenticated .game-dungeon-chest-row>summary{
  display:flex!important;flex-direction:row!important;align-items:center!important;
  width:100%!important;min-width:0!important;gap:12px!important;padding:10px 42px 10px 10px!important;
  box-sizing:border-box!important;position:relative!important;
}
body.game-authenticated .game-dungeon-chest-row>summary>.game-adventure-loot-card-art{
  grid-area:auto!important;flex:0 0 58px!important;width:58px!important;height:58px!important;margin:0!important;
}
body.game-authenticated .game-dungeon-chest-row>summary>span{
  flex:1 1 auto!important;display:block!important;min-width:0!important;width:auto!important;max-width:none!important;
  white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;
}
body.game-authenticated .game-dungeon-chest-row>summary b,
body.game-authenticated .game-dungeon-chest-row>summary small{
  display:block!important;width:100%!important;max-width:none!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;
}
body.game-authenticated .game-dungeon-chest-row>summary b{font-size:15px!important;line-height:1.3!important;margin-bottom:3px!important}
body.game-authenticated .game-dungeon-chest-row>summary small{font-size:14px!important;line-height:1.45!important}
body.game-authenticated .game-farming-admin-top{width:100%!important;max-width:none!important;margin:0 0 16px!important;overflow:visible!important}
body.game-authenticated .game-farming-admin-top .game-admin-farm-bot{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;overflow:visible!important;box-sizing:border-box!important}
body.game-authenticated .game-farming-admin-top .game-admin-bot-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important}
body.game-authenticated .game-farming-admin-top .game-admin-bot-controls{display:flex!important;flex-wrap:wrap!important;gap:10px!important}
body.game-authenticated .game-farming-admin-top .game-admin-bot-controls>*{flex:1 1 180px!important;min-width:0!important}


/* ===== 3.11.103 COMPACT CROWN & EMBER HEADER =====
   Keep the approved warrior/title/castle art visible after authentication, but as
   a centered header panel instead of a page-wide hero. Everything from Current
   Action downward keeps the 3.11.102 unified layout. */
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;
}
body.crown-ember-page .crown-ember-legacy-hero .crown-ember-embers,
body.crown-ember-page.game-authenticated .crown-ember-legacy-hero .crown-ember-embers{
  display:block!important;position:absolute!important;inset:0!important;z-index:2!important;
  overflow:hidden!important;pointer-events:none!important;mix-blend-mode:screen;
}
body.crown-ember-page .crown-ember-legacy-hero .crown-ember-embers i,
body.crown-ember-page.game-authenticated .crown-ember-legacy-hero .crown-ember-embers i{
  width:5px!important;height:5px!important;bottom:-8px!important;
  animation-name:crownEmberCompactFloat!important;
}
@keyframes crownEmberCompactFloat{
  0%{transform:translate3d(0,0,0) scale(.5);opacity:0}
  14%{opacity:.52} 58%{opacity:.72}
  100%{transform:translate3d(18px,-150px,0) scale(1.15);opacity:0}
}
body.crown-ember-page.game-authenticated .crown-ember-legacy-hero + .game-section .game-topbar.card{margin-top:14px!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;
  }
}
@media(prefers-reduced-motion:reduce){
  body.crown-ember-page .crown-ember-legacy-hero .crown-ember-embers i{animation:none!important;opacity:.14!important}
}

/* 3.11.103 duel replay controls */
.game-duel-result-actions{grid-template-columns:1fr 1fr!important;gap:10px!important}.game-duel-result-actions[hidden]{display:none!important}@media(max-width:560px){.game-duel-result-actions{grid-template-columns:1fr!important}}


/* ===== 3.11.104 FULL-WIDTH CROWN & EMBER HEADER ===== */
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!important;border-width:0 0 1px!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{width:100%!important;height:174px!important;min-height:174px!important;max-height:174px!important;object-fit:cover!important;object-position:50% 51%!important}
body.crown-ember-page.game-authenticated .crown-ember-site-nav{grid-template-columns:minmax(0,1fr) auto!important;gap:18px!important}
body.crown-ember-page.game-authenticated .crown-ember-site-links{justify-content: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: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}}
