/* Keep the scroll viewport above the dock, including banners on small screens. */
@media(max-width:959px){
 html.gv-v2 body #gameScreen #gameLayout #mainContent{display:flex!important;flex-direction:column;min-height:0;overflow:hidden!important}
 html.gv-v2 body #gameScreen #gameLayout #mainContent>.tab-panel.active:not(#panelHome):not(#panelFishing){flex:1 1 0!important;min-height:0!important;height:auto!important;overflow:auto!important;scroll-padding:16px;overscroll-behavior:contain}
}
/* Visual audit 2026-09-10: scene and content have separate owners. */
@media(min-width:960px){
 html.gv-v2 body #gameScreen #gameLayout #mainContent>.tab-panel.active:not(#panelHome):not(#panelFishing){flex:1 1 0!important;min-height:0!important;height:auto!important;max-height:none;overflow:auto!important;contain:layout style!important;padding-bottom:28px!important;scroll-padding:24px;overscroll-behavior:contain}
 html.gv-v2 #panelWork.gcit-work .v2-work-content{padding:24px;}
 html.gv-v2 #panelWork.gcit-work .work-hero{padding-bottom:12px}
 html.gv-v2 #panelWork.gcit-work .work-hour-btn{min-height:76px}
}
/* Child previews live within the owning overlay, outside its clipped card. */
html.gv-v2 .veil-kit .inv-act-close.gvp-action{background:transparent!important;color:#f5e2ba!important}
html.gv-v2 .dlr-locked{opacity:1!important;filter:none!important;background-color:#201c29!important}
html.gv-v2 .dlr-locked :is(.dlr-reward-img,.dlr-item-icon){opacity:.65;filter:saturate(.5)}
html.gv-v2 :is(.dlr-day-num,.dlr-reward-name,.dlr-status){font-size:12px!important;color:#e9dcc6!important}
html.gv-v2 .pg-reward-label{background:#101927dc;padding:5px 10px;border-radius:3px;color:#f4e8d5}
html.gv-v2 .pass-gallery .pg-reward:disabled{opacity:1!important}
html.gv-v2 #modalCard.gb-dialog[data-ware] .gvi-head{display:grid!important;grid-template-columns:80px minmax(0,1fr);text-align:left;align-items:center}
html.gv-v2 #modalCard.gb-dialog .gb-ware-crest{display:none}
html.gv-v2 #modalCard.gb-dialog .gb-inspect-body{padding-top:8px}
html.gv-v2 .pg-reward-status{font-size:12px;color:#e2d5c7;background:#101927dc;padding:4px 8px;border-radius:3px}
html.gv-v2 #panelShop .gb-bazaar{max-width:1640px!important;margin-inline:auto;width:100%;box-sizing:border-box}
html.gv-v2 #modalCard.gb-dialog .gvi-head{grid-template-columns:80px minmax(0,1fr);padding:16px 24px!important}
html.gv-v2 #modalCard.gb-dialog .gvi-icon{width:80px;height:80px;min-height:0}
html.gv-v2 #modalCard.gb-dialog .gvi-icon :is(img,.item-icon-wrap){width:70px!important;height:70px!important}
html.gv-v2 #modalCard.gb-dialog .gb-inspect-eyebrow{padding-top:14px}
html.gv-v2 #modalCard.gb-dialog .gvi-acts,html.gv-v2 #itemCard .gvi-acts{position:sticky;bottom:0;background:#211a29!important;z-index:2;padding-block:12px}
html.gv-v2 #itemCard .armory-display{min-height:260px}
@media(max-height:850px){html.gv-v2 #itemCard .armory-display{min-height:180px}html.gv-v2 #itemCard .armory-display .gvi-icon{height:160px}html.gv-v2 #itemCard .armory-details{padding:20px}}
@media(max-width:1400px),(max-height:850px){
 html.gv-v2 .gv-frontier-war{width:450px;height:150px;max-width:calc(100% - 24px);top:0;padding:48px 78px 12px;background-size:contain}
 html.gv-v2 .gv-war-summary{font-size:11px;line-height:1.3;white-space:normal}
 html.gv-v2 .gv-war-side{font-size:11px}
}
@media(max-width:650px){html.gv-v2 .gv-frontier-war{width:370px;height:124px;padding:35px 56px 8px;top:0}html.gv-v2 .gv-war-caption{font-size:11px}html.gv-v2 .gv-war-summary{font-size:11px}html.gv-v2 .veil-kit .inv-modal-header{padding:14px 48px 12px 16px}html.gv-v2 .veil-kit .section-title{font-size:22px}html.gv-v2 .veil-kit .inv-scroll-area{padding-inline:14px}html.gv-v2 #itemCard .armory-display{min-height:130px;height:130px}html.gv-v2 #itemCard .armory-display .gvi-icon{height:130px}}
.gvp-child-layer{position:fixed;inset:0;pointer-events:none;z-index:2}
.gvp-child-layer .arena-item-tooltip{pointer-events:auto;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important}
html.gv-v2 #modalCard:has(.gvpc)>.modal-close-x{display:none!important}
html.gv-v2 #modalCard .gvpc-close{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;border:1px solid #c4a268!important;border-image:none!important;border-radius:50%!important;background:#211a28!important;color:#f6dfab!important;font-size:24px!important;line-height:38px!important;box-shadow:0 3px 8px #0008!important;right:12px!important;top:12px!important;z-index:3}
html.gv-v2 #modalCard:has(.gvpc) .v2-motion-toggle{right:64px!important}
html.gv-v2 #modalCard .veil-kit .btn.gvp-action:not(.gvp-primary){background:transparent!important;color:#f5e2ba!important;box-shadow:none!important}
html.gv-v2 #itemCard .armory-display .item-icon-wrap{overflow:visible!important}
html.gv-v2 #itemCard .armory-display .item-icon-wrap img{margin:0!important;max-width:100%;max-height:100%}
html.gv-v2 :is(.gp-preview-note,.gp-level,.gp-evolution-step span,.gp-evolution-step small,.gp-traveller>span,.gp-subtitle,.gp-card-status,.gp-card-level){font-size:12px!important;color:#e0d2c7!important}
html.gv-v2 .gp-collection{background:#211a29d9;box-shadow:none;border:0}
html.gv-v2 .gcit-forge .fr-hub{min-height:0;padding-top:12px}
html.gv-v2 .gcit-forge .fr-hubcards{margin-top:12px;gap:24px}
html.gv-v2 .gcit-forge .fr-hubcard{min-height:300px;border:0!important;border-radius:8px!important;box-shadow:none!important;background:none!important}
html.gv-v2 .gcit-forge .fr-hubcard-body{padding:20px;background:linear-gradient(transparent,#171725e8 35%)}
html.gv-v2 .gcit-guild{max-width:620px;margin-inline:auto}
html.gv-v2 .gcit-guild .guild-empty{padding:24px!important}
html.gv-v2 #modalCard:has(.dlr-modal){background:#211a29!important;background-image:none!important}
html.gv-v2 #modalCard:has(.dlr-modal)::before{display:none!important}
html.gv-v2 #panelWork.gcit-work .v2-work-content{background:#211c29df;border:0;box-shadow:none;border-radius:0}
/* The shared painted button family keeps corners at a fixed rendered size. */
html.gv-v2 :is(.gvp-action,.pg-primary,.pg-secondary,.mbx-btn,.ga-inspect,.ashop-buy-btn,.ashop-bracket-btn,.arena-hist-btn,.ga-action){border:16px solid transparent!important;border-image:url('/v2/art/council/button-stone.webp') 100 fill / 16px / 0 stretch!important;background:none!important;border-radius:0!important;padding:2px 8px!important;min-height:48px!important;box-shadow:none!important;color:#f3e1bd!important;line-height:1.3}
html.gv-v2 :is(.gvp-action.gvp-primary,.pg-primary,.ga-inspect,.ashop-buy-btn,.ashop-bracket-btn,.arena-hist-btn,.ga-action){border-image-source:url('/v2/art/council/button-gold.webp')!important;color:#2a1c15!important;text-shadow:none!important}
html.gv-v2 #panelArena.ga-reborn .ga-challenge-status{background-size:100% 100%;min-height:400px;padding:70px 28px 28px;gap:8px}
html.gv-v2 #panelArena.ga-reborn .gvas-mychip{padding:8px 0;min-height:40px}
html.gv-v2 #panelArena.ga-reborn .gcit-flame{display:none}
html.gv-v2 body #modalCard.gvp-surface[data-gvp-kind=notice],html.gv-v2 body .gvp-dedicated[data-gvp-kind=notice]{border:24px solid transparent!important;border-image:url('/v2/art/council/dialog.webp') 150 fill / 24px / 0 stretch!important;background:none!important;border-radius:0!important;padding:20px;box-shadow:0 12px 32px #0007!important}
html.gv-v2 #modalCard.gvp-surface[data-gvp-kind=notice]::before{display:none!important}
html.gv-v2 body #modalCard:has(.gvpc){border:0!important;border-image:none!important;padding:0!important;background:#211a29!important}
html.gv-v2 #panelArena.ga-reborn :is(.ga-inspect,.ashop-buy-btn,.ashop-bracket-btn,.arena-hist-btn,.ga-action){background:none!important;border:16px solid transparent!important;border-image:url('/v2/art/council/button-gold.webp') 100 fill / 16px / 0 stretch!important;padding:2px 8px!important;color:#2a1c15!important}
html.gv-v2 .gcit-forge .fr-doll{height:370px;min-height:370px;max-width:350px}
html.gv-v2 body #diamondShopOverlay :is(.ds-buy-btn,.dscode-btn),html.gv-v2 body #itemCard .gvi-btn,html.gv-v2 body #panelTavern .gv-rift-view :is(.rf2-go,.rf2-btn),html.gv-v2 body #panelTavern .gv-rift-refill :is(summary,.rf2-buy),html.gv-v2 .chronicle .ac-odbierz,html.gv-v2 :is(.hb-go,.hb-close){background:none!important;border:16px solid transparent!important;border-image:url('/v2/art/council/button-stone.webp') 100 fill / 16px / 0 stretch!important;padding:2px 8px!important;min-height:48px;box-shadow:none!important;color:#f3e1bd!important}
html.gv-v2 body #diamondShopOverlay :is(.ds-buy-btn,.dscode-btn),html.gv-v2 body #itemCard .gvi-btn.primary,html.gv-v2 body #panelTavern .gv-rift-view .rf2-go,html.gv-v2 .chronicle .ac-odbierz,html.gv-v2 .hb-go{border-image-source:url('/v2/art/council/button-gold.webp')!important;color:#2a1c15!important;text-shadow:none!important}
html.gv-v2 .courier-mail .mbx-btn::before{display:none!important}
html.gv-v2 .veil-kit .inv-action-bar button{background:none!important;border:16px solid transparent!important;border-image:url('/v2/art/council/button-stone.webp') 100 fill / 16px / 0 stretch!important;color:#f3e1bd!important;padding:2px 8px!important;min-height:48px;box-shadow:none!important}
html.gv-v2 .mx-purchase .mx-inspect-art{height:190px;padding:20px 18px 40px;max-width:180px}
html.gv-v2 .mx-purchase .mx-inspect-art .mx-item-art{height:125px;width:140px}
html.gv-v2 .mx-purchase>.mx-primary{position:relative;bottom:auto;z-index:auto;margin-top:12px}
html.gv-v2 body #modalCard.gb-dialog[data-ware],html.gv-v2 body .mx-dialog,html.gv-v2 body #itemCard.treasury-item{border:20px solid transparent!important;border-image:url('/v2/art/council/dialog.webp') 150 fill / 20px / 0 stretch!important;border-radius:0!important;background:none!important;box-shadow:0 12px 32px #0008!important}
html.gv-v2 #modalCard.gb-dialog::before,html.gv-v2 #modalCard.gb-dialog::after{display:none!important}
html.gv-v2 body #modalCard.gb-dialog :is(.gvi-btn,.btn-primary,.btn-secondary){background:none!important;border:16px solid transparent!important;border-image:url('/v2/art/council/button-stone.webp') 100 fill / 16px / 0 stretch!important;color:#f3e1bd!important;padding:2px 8px!important;min-height:48px;box-shadow:none!important}
html.gv-v2 body #modalCard.gb-dialog :is(.gvi-btn.primary,.btn-primary){border-image-source:url('/v2/art/council/button-gold.webp')!important;color:#2a1c15!important}
html.gv-v2 body #modalCard.gb-dialog button:is(.gvi-btn,.btn-primary,.btn-secondary)::before,html.gv-v2 body #modalCard.gb-dialog button:is(.gvi-btn,.btn-primary,.btn-secondary)::after{display:none!important;content:none!important}
html.gv-v2 .cx-welcome{min-height:220px;padding-top:18px;padding-bottom:20px}
html.gv-v2 .cx-welcome h1,html.gv-v2 .cx-welcome h2{font-size:32px}
html.gv-v2 .cx-nav{background:#211a29ed;border:0}
html.gv-v2 .cx-chapter small{font-size:12px;color:#d7c9bb}
html.gv-v2 .gvwb-details{background:#211a29ee!important;box-shadow:none!important;border:0!important}
@media(max-width:650px){html.gv-v2 #panelHero .h7-medal{max-width:130px;max-height:130px;margin-inline:auto}html.gv-v2 #panelHero .h7-c{padding-top:12px}html.gv-v2 #panelHero .h7-name{font-size:25px}html.gv-v2 #panelHero .h7-tablet{margin-top:10px}html.gv-v2 .mx-limit{font-size:12px}html.gv-v2 .cx-welcome{min-height:180px}html.gv-v2 .cx-welcome h1,html.gv-v2 .cx-welcome h2{font-size:27px}}
html.gv-v2 .gf-harbor .fish-header{background:linear-gradient(90deg,#121927ed,#121927b8 65%,#12192790)!important}
html.gv-v2 .gf-scene-caption{padding:18px 24px;left:12px;right:auto;max-width:calc(100% - 24px);background:radial-gradient(ellipse at 35% 40%,#141c29f2 25%,#141c29bd 58%,transparent 76%)}
html.gv-v2 .gf-subtitle,html.gv-v2 .gf-scene-caption p{color:#f0e5d0;text-shadow:0 2px 4px #000}
html.gv-v2 .gf-locations{background:#211d29ed;border:0}
html.gv-v2 .gf-harbor .fish-subtabs{background:#191925de!important}
html.gv-v2 .gf-location{background:#302837b8;border:0;border-radius:0;border-bottom:1px solid #ab8a5b55}
html.gv-v2 .gf-cast-tray{background:#211d29ed;border:0;box-shadow:none;padding:14px 18px}
html.gv-v2 .gf-cast-tray .gf-primary{border:16px solid transparent;border-image:url('/v2/art/council/button-gold.webp') 100 fill / 16px / 0 stretch;background:none;padding:2px 8px;box-shadow:none;color:#2a1c15}
html.gv-v2 .gx-picker .gx-route,html.gv-v2 #expPickerModal .gx-route{border:0!important;border-bottom:1px solid #c9a66a55!important;border-image:none!important;border-radius:0!important;background:#201b28!important;box-shadow:none!important;min-height:82px!important;padding:10px!important;color:#eee0c7!important}
html.gv-v2 #expPickerModal .gx-route[aria-current=true]{background:#4b3b2b!important}
html.gv-v2 .gx-route-label small{color:#d5c6b4!important;font-size:12px!important}
html.gv-v2 body:has(#skillTreeOverlay:not([style*="display: none"]):not([style*="display:none"])) #tabBar{visibility:hidden!important;pointer-events:none!important}
@media(max-width:959px){
 html.gv-v2 #mainContent>#pathStrip.path .path-in{display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;gap:8px!important;padding:10px 24px 10px 0!important;width:100%;box-sizing:border-box}
 html.gv-v2 #pathStrip .path-rail{display:none}
 html.gv-v2 #pathStrip .path-txt{min-width:0}
 html.gv-v2 #pathStrip .path-go{grid-column:2;justify-self:start;max-width:100%;margin:0!important}
 html.gv-v2 #pathStrip .path-title{font-size:14px}
 html.gv-v2 .gf-scene-caption{padding:14px;max-width:calc(100% - 24px)}
}
/* Painted frames: 150x150 source corners always map to square 30px corners.
   Only the plain wooden rails and unornamented lining extend with content. */
html.gv-v2 body #panelArena.ga-reborn :is(.ga-ranking-board,.ga-rank-gallery,.ashop-card,.ashop-bracket,.arena-hist-card),
html.gv-v2 body #modalCard:has(.ga-inspection,.gvas-bpick),
html.gv-v2 body #panelTavern .gv-rift-view :is(.rf2-stam,.gv-rift-briefing,.rf2-plaque),
html.gv-v2 body #panelTavern .gv-rift-refill .rf2-stam-buys,
html.gv-v2 body #panelDungeon :is(.gv-journey-footer,.gv-depth-relic-info,.dnx-zpick,.dnx-zone){
 border:30px solid transparent!important;
 border-image:url('/v2/art/council/dialog.webp') 150 fill / 30px / 0 stretch!important;
 background:none!important;border-radius:0!important;box-shadow:none!important;
 padding:18px!important;box-sizing:border-box;backdrop-filter:none!important;
}
html.gv-v2 body #panelArena.ga-reborn .arena-hist-card{aspect-ratio:auto;min-height:230px}
html.gv-v2 body #panelArena.ga-reborn .ashop-card{padding:12px!important}
html.gv-v2 body #panelArena.ga-reborn .ga-challenge-status{background-size:100% auto;background-position:center top}
html.gv-v2 body #panelTavern .gv-rift-view :is(.rf2-stam,.gv-rift-briefing,.rf2-plaque){overflow:visible}
html.gv-v2 body #panelTavern .gv-rift-refill .rf2-stam-buys{width:340px;max-width:calc(100vw - 30px);z-index:20}

/* Depths: a chamber stage followed by an explicitly controlled bestiary carousel. */
html.gv-v2 body #panelDungeon .gv-journey{display:flex;flex-direction:column;gap:24px;height:auto;min-height:0;max-width:1440px;margin:auto}
html.gv-v2 body #panelDungeon .gv-journey-detail{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);grid-template-rows:auto minmax(320px,430px);gap:12px 32px;align-items:center}
html.gv-v2 body #panelDungeon .gv-journey-heading{grid-column:1;grid-row:1}
html.gv-v2 body #panelDungeon .gv-journey-scene{grid-column:1;grid-row:2;height:100%;min-height:320px}
html.gv-v2 body #panelDungeon .gv-journey-footer{grid-column:2;grid-row:1/3;text-align:left;width:100%;align-self:center;color:#efdfce}
html.gv-v2 body #panelDungeon .gv-journey-lore{font-size:14px;line-height:1.65;margin:0 0 18px}
html.gv-v2 body #panelDungeon .gv-journey-lore summary{font:700 22px/1.2 var(--font-display);color:#ffe0a2}
html.gv-v2 body #panelDungeon .gv-journey-ability{font-size:13px;line-height:1.6;padding:16px 0;border-block:1px solid #b4935c44}
html.gv-v2 body #panelDungeon .gv-journey-actions{flex-direction:column;align-items:stretch;gap:18px;margin:22px 0}
html.gv-v2 body #panelDungeon .gv-journey-actions .gv-depth-clock{align-items:flex-start}
html.gv-v2 body #panelDungeon .gv-codex-zone{font-size:13px;line-height:1.5}
html.gv-v2 body #panelDungeon .gv-journey-mobile-path{display:none}
html.gv-v2 body #panelDungeon .gv-journey-rail{padding:0;margin:0;height:auto;border:0;border-radius:0;background:none;box-shadow:none;min-width:0}
html.gv-v2 body #panelDungeon .gv-journey-rail::before,html.gv-v2 body #panelDungeon .gv-journey-rail::after{display:none}
html.gv-v2 body #panelDungeon .gv-journey-rail-head{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:12px 4px;text-align:left;text-shadow:0 2px 5px #171022}
html.gv-v2 body #panelDungeon .gv-journey-crest{position:static;transform:none;flex:none;background:none;box-shadow:none;border:0}
html.gv-v2 body #panelDungeon .gv-journey-rail-head h2{margin:0;font-size:24px}
html.gv-v2 body #panelDungeon .gv-journey-rail-head>p{display:none}
html.gv-v2 body #panelDungeon .gv-journey-rail-head .gv-journey-find{width:auto;margin-left:auto}
html.gv-v2 body #panelDungeon .gv-journey-controls{display:flex;align-items:center;gap:12px}
html.gv-v2 body #panelDungeon .gv-journey-count{font-size:13px;min-width:50px;text-align:center;font-variant-numeric:tabular-nums}
html.gv-v2 body #panelDungeon .gv-journey-list{display:flex;gap:18px;flex:none;padding:12px 6px 20px;margin:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;mask-image:none;border:0;min-width:0}
html.gv-v2 body #panelDungeon .gv-journey-step{flex:0 0 190px;padding:0;scroll-snap-align:center}
html.gv-v2 body #panelDungeon .gv-journey-step::before{display:none}
html.gv-v2 body #panelDungeon .gv-journey-row{display:flex;flex-direction:column;gap:8px;width:100%;height:100%;min-height:260px;padding:14px 10px;box-sizing:border-box;border:18px solid transparent;border-image:url('/v2/art/council/dialog.webp') 150 fill / 18px / 0 stretch;background:none;border-radius:0;box-shadow:none;outline:none;text-align:center}
html.gv-v2 body #panelDungeon .gv-journey-row.selected{filter:drop-shadow(0 0 5px #f4cf8688)}
html.gv-v2 body #panelDungeon .gv-journey-portrait{width:100%;height:120px;background:none;border:0;box-shadow:none}
html.gv-v2 body #panelDungeon .gv-journey-row .gv-journey-portrait img{width:130px;height:130px;object-fit:contain;transform:none}
html.gv-v2 body #panelDungeon .gv-journey-mark{position:absolute;top:12px;left:12px;z-index:3}
html.gv-v2 body #panelDungeon .gv-journey-portrait::after{display:none}
html.gv-v2 body #panelDungeon .gv-journey-words{align-items:center;gap:6px;padding:0}
html.gv-v2 body #panelDungeon .gv-journey-words strong{font-size:15px}
html.gv-v2 body #panelDungeon .gv-journey-words small,html.gv-v2 body #panelDungeon .gv-journey-status{font-size:12px;align-self:center}
html.gv-v2 body #panelDungeon :is(.gv-depth-button,.gv-journey-find,.gv-journey-arrow,.dnx-claim,.dnx-zpick-go,.dmap-back){border:14px solid transparent!important;border-image:url('/v2/art/council/button-stone.webp') 100 fill / 14px / 0 stretch!important;background:none!important;border-radius:0!important;box-shadow:none!important;color:#f8dfb1;min-height:46px;padding:3px 12px;font:600 14px var(--font-display)}
html.gv-v2 body #panelDungeon :is(.gv-depth-button,.dnx-claim,.dnx-zpick-go){border-image-source:url('/v2/art/council/button-gold.webp')!important;color:#352314}
html.gv-v2 body #panelDungeon .gv-journey-arrow{min-width:46px;padding:0;font-size:24px;cursor:pointer}
html.gv-v2 body #panelDungeon .gv-journey-arrow:disabled{opacity:.45;cursor:default}
html.gv-v2 body #panelDungeon .gv-depth-header .dng-subtab{border:0!important;background:none!important;box-shadow:none!important;border-radius:0;color:#ffe6bb!important;text-shadow:0 2px 4px #110e1a;position:relative;isolation:isolate}
html.gv-v2 body #panelDungeon .gv-depth-header .dng-subtab::before{content:'';position:absolute;inset:-6px;z-index:-1;background:radial-gradient(ellipse,#1b1427ef 20%,#1b1427a0 50%,transparent 72%)}
html.gv-v2 body #panelDungeon .gv-depth-header .dng-subtab.active::after{content:'';position:absolute;bottom:0;left:10%;right:10%;height:8px;background:url('/img/ui/card/divider.webp') center/contain no-repeat}
/* Relic: visible artifact and readable values, including the unearned state. */
html.gv-v2 body #panelDungeon .gv-depth-relic{max-width:1250px;grid-template-columns:minmax(250px,.8fr) minmax(0,1.2fr);padding:16px 28px 32px;gap:32px}
html.gv-v2 body #panelDungeon .gv-depth-relic :is(.vs-card-frame,.vs-card-icon,.vs-card-stat.dim){opacity:1!important;filter:none}
html.gv-v2 body #panelDungeon .gv-depth-relic .vs-card-frame{display:grid;place-items:center}
html.gv-v2 body #panelDungeon .gv-depth-relic .vs-card-stat{font-size:14px;color:#e5d7ca}
html.gv-v2 body #panelDungeon .gv-depth-relic .vs-card-desc{font-size:14px;line-height:1.7;background:none;border:0;padding:16px 0 0}
html.gv-v2 body #panelDungeon .gv-depth-relic .dng-relic-next{background:none;border:0;border-block:1px solid #bc985855;border-radius:0;padding:18px 0;margin:20px 0;color:#eedbc7}
/* Zones are an atlas of the actual chambers, not a merchant illustration. */
html.gv-v2 body #panelDungeon .gv-depth-zones{max-width:1440px;margin:auto;padding:0 28px 32px!important}
html.gv-v2 body #panelDungeon .gv-depth-zone-banner{display:block;padding:0;background:none}
html.gv-v2 body #panelDungeon .gv-depth-zone-banner>img{display:none}
html.gv-v2 body #panelDungeon .gv-depth-zone-intro{background:none;padding:0 8px;text-shadow:0 2px 5px #130e22}
html.gv-v2 body #panelDungeon .gv-depth-zone-intro h2{font-size:32px;margin:10px 0}
html.gv-v2 body #panelDungeon .gv-depth-zone-intro>p{max-width:none}
html.gv-v2 body #panelDungeon .gv-depth-zones .dnx-zgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
html.gv-v2 body #panelDungeon .gv-depth-zones .dnx-ztile{border:20px solid transparent;border-image:url('/v2/art/council/dialog.webp') 150 fill / 20px / 0 stretch;border-radius:0;background:none;overflow:visible;padding:0 0 12px;box-shadow:none}
html.gv-v2 body #panelDungeon .gv-depth-zones .dnx-ztile>img{height:auto;aspect-ratio:16/9;object-fit:cover;filter:none}
html.gv-v2 body #panelDungeon .gv-depth-zones .dnx-ztile.sel{outline:none;filter:drop-shadow(0 0 6px #efcb8e99)}
html.gv-v2 body #panelDungeon .gv-depth-zone-name{font-size:18px;padding:14px 5px 6px}
html.gv-v2 body #panelDungeon .gv-depth-zone-state{font-size:13px;color:#e6d5c6}
html.gv-v2 body #panelDungeon .gv-depth-auto-zone .dnx-zgrid{grid-template-columns:minmax(0,360px)!important;justify-content:center}
html.gv-v2 body #panelDungeon .gv-depth-auto-zone .dnx-ztile{cursor:default;transform:none;filter:none}
html.gv-v2 body #panelDungeon .gv-depth-auto-zone .dnx-zpick{justify-content:center;text-align:center}
@media(max-width:959px){
 html.gv-v2 body #panelDungeon .gv-journey-detail{display:flex;flex-direction:column;gap:12px}
 html.gv-v2 body #panelDungeon .gv-journey-scene{width:100%;height:320px;flex:none}
 html.gv-v2 body #panelDungeon .gv-journey-footer{max-width:620px}
 html.gv-v2 body #panelDungeon .gv-journey-heading h2{font-size:30px}
 html.gv-v2 body #panelDungeon .gv-journey-rail-head{gap:10px}
 html.gv-v2 body #panelDungeon .gv-journey-rail-head h2{font-size:21px}
 html.gv-v2 body #panelDungeon .gv-journey-rail-head .gv-journey-find{margin-left:0}
 html.gv-v2 body #panelDungeon .gv-journey-controls{margin-left:auto}
 html.gv-v2 body #panelDungeon .gv-depth-relic{padding:0 12px 28px;gap:12px}
 html.gv-v2 body #panelDungeon .gv-depth-zones{padding:0 12px 28px!important}
 html.gv-v2 body #panelDungeon .gv-depth-zones .dnx-zgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 html.gv-v2 body #panelDungeon .gv-depth-zone-name{font-size:14px}
 html.gv-v2 body #panelDungeon .gv-depth-zones .dnx-ztile{border-width:12px;border-image-width:12px}
 html.gv-v2 body #panelArena.ga-reborn :is(.ga-ranking-board,.ga-rank-gallery,.ashop-card,.ashop-bracket,.arena-hist-card),html.gv-v2 body #panelTavern .gv-rift-view :is(.rf2-stam,.gv-rift-briefing,.rf2-plaque),html.gv-v2 body #panelDungeon :is(.gv-journey-footer,.gv-depth-relic-info,.dnx-zpick,.dnx-zone){border-width:22px!important;border-image-width:22px!important;padding:12px!important}
}
/* Pagination keeps readable arrows; never compress a long button into a star. */
html.gv-v2 body #panelArena.ga-reborn :is(#lbPrev,#lbNext),html.gv-v2 body #panelDungeon .gv-journey-arrow{
 border:14px solid transparent!important;border-image:url('/v2/art/council/button-stone.webp') 100 fill / 14px / 0 stretch!important;
 background:none!important;min-width:76px!important;width:76px;min-height:48px;height:48px;padding:0!important;font-size:26px!important;line-height:20px;color:#ffe5b0!important;box-shadow:none!important;
}
html.gv-v2 body #panelArena.ga-reborn :is(#lbPrev,#lbNext):disabled{opacity:.4;filter:grayscale(.7)}
/* Auto height prevents percentage-height cards from overflowing the rail. */
html.gv-v2 body #panelDungeon .gv-journey-list{align-items:stretch;height:auto!important;max-height:none!important;min-height:0!important;padding-bottom:24px;box-sizing:border-box}
html.gv-v2 body #panelDungeon .gv-journey-step{display:flex;align-items:stretch;height:auto;min-height:0}
html.gv-v2 body #panelDungeon .gv-journey-row{height:auto!important;min-height:310px;flex:1;overflow:visible}
html.gv-v2 body #panelDungeon .gv-creature-kind{display:block;width:100%;padding:6px 10px;background:#42334f;color:#eadbfa!important;font:700 12px var(--font-display);letter-spacing:1px;box-sizing:border-box}
html.gv-v2 body #panelDungeon .boss .gv-creature-kind{background:#785229;color:#ffe2a3!important}
html.gv-v2 body #panelDungeon .boss .gv-creature-kind::before{content:'◆ ';color:#ffe2a3}
html.gv-v2 body #panelDungeon .gv-creature-tier{font:500 11px var(--font-body);color:#decaa9}
/* Workshop: painted noticeboard and wooden shift choices retain native actions. */
html.gv-v2 body #panelWork.gcit-work .v2-work-content{
 border:30px solid transparent!important;border-image:url('/v2/art/council/dialog.webp') 150 fill / 30px / 0 stretch!important;background:none!important;border-radius:0!important;box-shadow:none!important;padding:20px!important;width:min(660px,100%);overflow:visible;
}
html.gv-v2 body #panelWork.gcit-work .work-hero{position:relative;padding-bottom:18px}
html.gv-v2 body #panelWork.gcit-work .work-hero>img{display:block;width:76px;height:76px;object-fit:contain;margin:8px auto 12px;filter:drop-shadow(0 5px 6px #0c071c88)}
html.gv-v2 body #panelWork.gcit-work .work-subtitle{color:#e2d2c4;font-size:14px}
html.gv-v2 body #panelWork.gcit-work .work-rate-card{background:none!important;border:0!important;padding:18px 0!important;position:relative}
html.gv-v2 body #panelWork.gcit-work .work-rate-card::before,html.gv-v2 body #panelWork.gcit-work .work-rate-card::after{content:'';position:absolute;left:0;right:0;height:10px;background:url('/img/ui/card/divider.webp') center/contain no-repeat}
html.gv-v2 body #panelWork.gcit-work .work-rate-card::before{top:0}html.gv-v2 body #panelWork.gcit-work .work-rate-card::after{bottom:0}
html.gv-v2 body #panelWork.gcit-work .work-hour-btn{border:16px solid transparent!important;border-image:url('/v2/art/council/button-stone.webp') 100 fill / 16px / 0 stretch!important;background:none!important;border-radius:0!important;box-shadow:none!important;min-height:94px;padding:6px!important;animation:none}
html.gv-v2 body #panelWork.gcit-work .work-hour-btn:hover{filter:brightness(1.12);transform:translateY(-2px)}
html.gv-v2 body #panelWork.gcit-work .work-hour-val{font-size:24px}
html.gv-v2 body #panelWork.gcit-work .work-hour-bonus{display:block;width:max-content;margin:5px auto;font-size:11px}
html.gv-v2 body #panelWork.gcit-work :is(#workClaimBtn,#workCancelBtn){border:14px solid transparent!important;border-image:url('/v2/art/council/button-gold.webp') 100 fill / 14px / 0 stretch!important;background:none!important;border-radius:0!important;box-shadow:none!important;min-height:48px;padding:4px 18px;color:#342212}
html.gv-v2 body #panelWork.gcit-work #workCancelBtn{border-image-source:url('/v2/art/council/button-stone.webp')!important;color:#f4dcad}
.mx-loading{max-width:1000px;margin:24px auto;display:flex;align-items:center;justify-content:center;gap:24px;padding:28px;box-sizing:border-box;border:26px solid transparent;border-image:url('/v2/art/council/dialog.webp') 150 fill / 26px / 0 stretch;color:#f5dfb4}
.mx-loading img{width:90px;height:90px;object-fit:contain;filter:drop-shadow(0 8px 7px #130d2080)}
.mx-loading strong{font:700 23px/1.3 var(--font-display)}
.mx-loading p{font-size:14px;color:#e4d2c5;margin:10px 0 0}
.mx-content[aria-busy=true]{opacity:.45;pointer-events:none}
@media(prefers-reduced-motion:no-preference){.mx-loading img{animation:mx-wares-arrive 2s ease-in-out infinite}@keyframes mx-wares-arrive{50%{transform:translateY(-6px)}}}
@media(max-width:700px){html.gv-v2 body #panelWork.gcit-work .v2-work-content{border-width:22px!important;border-image-width:22px!important;padding:14px!important}html.gv-v2 body #panelWork.gcit-work .work-hours-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mx-loading{padding:16px;gap:12px;flex-direction:column;text-align:center}.mx-loading strong{font-size:20px}html.gv-v2 body #panelDungeon .gv-journey-arrow{min-width:56px!important;width:56px}}
/* The logo's bottom margin must stay inside the painted profile surface. */
html.gv-v2 body #sidebarHeroContent{height:auto!important;min-height:100%;display:flow-root}
html.gv-v2 body :is(#sidebarLeft,#panelHero) .gv-hero-chamber{display:flow-root;background-color:#171921!important;box-sizing:border-box}
html.gv-v2 body :is(#sidebarLeft,#panelHero) .gv-hero-chamber .h7-ground{display:flow-root;padding-bottom:20px!important}
html.gv-v2 body :is(#sidebarLeft,#panelHero) .gv-hero-chamber .h7-logo{margin-bottom:0!important}
/* Rarity belongs to the cutout, never to a rectangular animated sweep. */
html.gv-v2 :is(.gvi,.gvi-tip,.mx-dialog,.gb-dialog) .item-icon-wrap::before,
html.gv-v2 :is(.gvi,.gvi-tip,.mx-dialog,.gb-dialog) .item-icon-wrap::after{content:none!important;display:none!important;animation:none!important}
html.gv-v2 :is(.gvi,.gvi-tip,.mx-dialog,.gb-dialog) .item-icon-wrap{animation:none!important;box-shadow:none!important;background:none!important}
html.gv-v2 #itemCard .armory-display .item-icon-wrap img{filter:drop-shadow(0 7px 9px #08041180)!important}
html.gv-v2 body #gameScreen #gameLayout #mainContent>#panelDungeon.tab-panel.active{padding-bottom:72px!important;scroll-padding-bottom:48px}
html.gv-v2 body #panelDungeon .gv-journey-rail{scroll-margin-bottom:48px}
/* New purpose-drawn buttons. Whole artwork uses contain, never stretching or slicing. */
html.gv-v2 body :is(#itemCard,#modalCard,#panelArena.ga-reborn,#panelDungeon,#panelTavern,#panelWork,#panelMarket,#modalOverlay,.gvp-overlay,.gvwb-overlay) :is(.gvi-btn,.gvi-btn.primary,.btn-primary,.btn-secondary,.gvp-action,.ga-inspect,.ga-action,.ashop-buy-btn,.ashop-bracket-btn,.ashop-refresh-btn,.arena-hist-btn,.gv-depth-button,.gv-journey-find,.dmap-back,.dnx-claim,.dnx-zpick-go,.rf2-go,.gv-rift-refill>summary,.mx-primary,.mx-secondary,[id="workClaimBtn"],[id="workCancelBtn"]){
 border:0!important;border-image:none!important;border-radius:0!important;background:url('/v2/art/council/action-walnut.webp') center / contain no-repeat!important;box-shadow:none!important;
 min-height:56px!important;height:auto;min-width:170px;max-width:100%;padding:14px 28px!important;color:#ffe8bc!important;text-align:center;line-height:1.3!important;font-size:14px!important;box-sizing:border-box;
}
html.gv-v2 body :is(#itemCard,#modalCard,#panelArena.ga-reborn,#panelDungeon,#panelTavern,#panelWork,#panelMarket,#modalOverlay,.gvp-overlay,.gvwb-overlay) :is(.gvi-btn.primary,.btn-primary,.ga-inspect,.ashop-buy-btn,.gv-depth-button,.dnx-claim,.dnx-zpick-go,.rf2-go,.mx-primary,[id="workClaimBtn"]){background-image:url('/v2/art/council/action-amber.webp')!important;color:#342211!important;text-shadow:none!important}
html.gv-v2 body #itemCard .gvi-acts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html.gv-v2 body #itemCard .gvi-acts .gvi-btn{width:100%;min-width:0!important;font-size:14px!important;padding-inline:24px!important}
html.gv-v2 body #itemCard .gvi-acts-sub{grid-template-columns:repeat(2,minmax(0,1fr));justify-items:center}
html.gv-v2 body #itemCard.treasury-item .gvi-acts.gvi-acts-sub .gvi-btn,html.gv-v2 body #panelWork.gcit-work .work-hour-btn{
 background:url('/v2/art/council/action-compact.webp') center / contain no-repeat!important;border:0!important;border-image:none!important;min-height:80px!important;max-width:180px;padding:12px 24px!important;box-shadow:none!important;color:#ffe8bc!important;font-size:13px!important;
}
html.gv-v2 body #panelArena.ga-reborn :is(#lbPrev,#lbNext),html.gv-v2 body #panelDungeon .gv-journey-arrow{
 border:0!important;border-image:none!important;background:url('/v2/art/council/nav-bronze.webp') center / contain no-repeat!important;
 width:48px!important;min-width:48px!important;height:48px!important;min-height:48px!important;padding:0!important;color:#ffe6af!important;font-size:25px!important;line-height:48px!important;
}
html.gv-v2 body #itemCard .gvi-btn::before,html.gv-v2 body #itemCard .gvi-btn::after{display:none!important;content:none!important}
@media(max-width:600px){html.gv-v2 body #itemCard .gvi-acts:not(.gvi-acts-sub){grid-template-columns:1fr}html.gv-v2 body #itemCard .gvi-acts-sub .gvi-btn{padding:12px 17px!important;font-size:12px!important}html.gv-v2 body #panelDungeon .gv-journey-rail-head .gv-journey-find{min-width:170px!important}}
html.gv-v2 body :is(.pass-gallery,.courier-mail,.guide-handbook,.veil-kit,#diamondShopOverlay) :is(.pg-primary,.pg-secondary,.mbx-btn,.ds-buy,.ds-item-btn,.hb-btn){border:0!important;border-image:none!important;border-radius:0!important;background:url('/v2/art/council/action-walnut.webp') center/contain no-repeat!important;box-shadow:none!important;min-height:56px;min-width:170px;padding:14px 28px!important;color:#ffe8bc!important;line-height:1.3!important}
html.gv-v2 body :is(.pass-gallery,#diamondShopOverlay) :is(.pg-primary,.ds-buy,.ds-item-btn){background-image:url('/v2/art/council/action-amber.webp')!important;color:#342211!important}
html.gv-v2 body :is(.pass-gallery,.courier-mail,.guide-handbook,.veil-kit,#diamondShopOverlay) :is(.pg-primary,.pg-secondary,.mbx-btn,.ds-buy,.ds-item-btn,.hb-btn)::before,html.gv-v2 body :is(.pass-gallery,.courier-mail,.guide-handbook,.veil-kit,#diamondShopOverlay) :is(.pg-primary,.pg-secondary,.mbx-btn,.ds-buy,.ds-item-btn,.hb-btn)::after{display:none!important;content:none!important}
/* Initial wheel must chain vertically out of the horizontal creature rail. */
html.gv-v2 body #panelDungeon .gv-journey-list{overscroll-behavior-x:contain!important;overscroll-behavior-y:auto!important}
/* World bosses use square atlas cells and a deliberately smaller hero stage. */
.gcb-stage:has(.gcb-worldboss) .vb-fight{gap:clamp(12px,3vw,60px);padding:0 3%;align-items:flex-end;padding-bottom:80px}
.gcb-stage:has(.gcb-worldboss) .vb-token{--gcb-width:clamp(95px,13vw,190px)}
.gcb-stage:has(.gcb-worldboss) .vb-token:has(.gcb-worldboss){--gcb-width:clamp(240px,33vw,480px)}
.gcb-stage:has(.gcb-worldboss) .vb-token:has(.gcb-worldboss) .vb-portwrap,.gcb-stage:has(.gcb-worldboss) .vb-token:has(.gcb-worldboss) .vb-port{height:var(--gcb-width)}
.gcb-stage .gcb-worldboss{--gcb-scale:1!important}
html.gv-v2 body .gvwb-shell{background:none!important;border:0!important;padding:30px 0!important;max-height:none!important;overflow:visible!important}
html.gv-v2 body .gvwb-layout{grid-template-columns:minmax(240px,.85fr) minmax(0,1.3fr);gap:24px}
html.gv-v2 body .gvwb-details{border:24px solid transparent!important;border-image:url('/v2/art/council/dialog.webp') 150 fill / 24px / 0 stretch!important;background:none!important;padding:18px!important;border-radius:0!important}
html.gv-v2 body .gvwb-hero{padding:34px 10px!important;text-shadow:0 3px 9px #080511}
html.gv-v2 body .gvwb-portrait{height:440px!important;max-height:52vh!important}
html.gv-v2 body .gvwb-treasure{display:grid!important;grid-template-columns:145px minmax(0,1fr);align-items:center!important;text-align:left!important;gap:18px!important;overflow:visible!important;animation:none!important;border:0!important;padding:0 0 22px!important;border-bottom:1px solid #ad834c80!important}
html.gv-v2 body .gvwb-relic-art{background:url('/v2/art/council/nav-bronze.webp') center/contain no-repeat;width:145px;height:145px;display:grid;place-items:center}
html.gv-v2 body .gvwb-relic-art img{width:128px!important;height:128px!important;object-fit:contain;background:none!important;border:0!important;box-shadow:none!important;filter:drop-shadow(0 4px 7px #080410)}
html.gv-v2 body .gvwb-relic-art span{bottom:-8px!important;right:auto!important;background:#3e243e!important;color:#ffe0a0!important;letter-spacing:2px;padding:4px 9px!important}
html.gv-v2 body .gvwb-treasure>div:last-child>div:first-child{font-family:Cinzel,Georgia,serif;font-size:23px!important;color:#ffe2a1!important;margin-bottom:10px}
html.gv-v2 body .gvwb-treasure>div:last-child>div{color:#e0cbd0!important;line-height:1.6}
html.gv-v2 body .gvwb-stats>div{background:none!important;border:0!important;border-right:1px solid #ae87534d!important;border-radius:0!important;padding:15px 4px!important}
html.gv-v2 body .gvwb-stats>div>div:last-child{font-size:27px!important}
html.gv-v2 body .gvwb-personal>div:not(.gvwb-stats){background:none!important;border:0!important;padding:14px 0!important;color:#e4d4c8!important;line-height:1.7}
html.gv-v2 body .gvwb-ranking{padding:16px 0!important;border-top:1px solid #a9815366!important}
/* Expedition atlas: one continuous painted camp, framed roster and illustrated routes. */
html.gv-v2 body #mainContent:has(> #panelExpedition.active){background:url('/v2/art/expedition-v2-camp.webp') center/cover no-repeat!important}
html.gv-v2 body #panelExpedition .gx-state{display:grid;place-items:center;min-height:60dvh;padding:24px;box-sizing:border-box}
html.gv-v2 body #panelExpedition .gx-state .gx-camp-briefing{max-width:480px;text-align:center}
html.gv-v2 body #panelExpedition .gx-state h1{font-size:clamp(24px,4vw,34px);margin:8px 0 18px}
html.gv-v2 body #panelExpedition .gx-state p{line-height:1.6;margin-bottom:20px}
html.gv-v2 body #gameScreen #gameLayout #mainContent>#panelExpedition.active.gx-panel{overflow:auto!important;background:none!important;padding-bottom:50px!important}
html.gv-v2 body .gx-camp{height:auto;min-height:100%;background:transparent!important;display:block}
html.gv-v2 body .gx-head{background:linear-gradient(#100d21dc,#100d2155,transparent)!important;border:0;padding:32px;color:#fff0d1;text-shadow:0 2px 7px #070511}
html.gv-v2 body .gx-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,390px);overflow:visible;min-height:680px;gap:24px;padding:0 30px 30px}
html.gv-v2 body .gx-scene{background:none!important;padding:24px;overflow:visible;min-height:640px;justify-content:flex-end}
html.gv-v2 body .gx-camp-art{display:none}
html.gv-v2 body .gx-scene:after{inset:auto 0 0;height:370px;background:radial-gradient(ellipse,#100c1ded,transparent 75%)}
html.gv-v2 body .gx-camp-caption{margin-top:280px}
html.gv-v2 body .gx-roster{border:24px solid transparent!important;border-image:url('/v2/art/council/dialog.webp') 150 fill / 24px / 0 stretch!important;background:none!important;padding:12px 15px;overflow:visible}
html.gv-v2 body .gx-crew{grid-template-columns:82px minmax(0,1fr);padding:18px 0;gap:14px}
html.gv-v2 body .gx-crew-art{width:82px;height:90px;clip-path:none}
html.gv-v2 body .gx-crew h3{font-size:16px;color:#ffdfaa}
html.gv-v2 body .gx-crew-number,html.gv-v2 body .gx-roster-note,html.gv-v2 body .gx-perks{color:#e0cbd0}
html.gv-v2 body .gx-modal{background:linear-gradient(#0a071bc9,#0a071bed),url('/v2/art/expedition-v2-camp.webp') center/cover!important}
html.gv-v2 body .gx-modal .exp-modal,html.gv-v2 body .gx-dialog{border:22px solid transparent!important;border-image:url('/v2/art/council/dialog.webp') 150 fill / 22px / 0 stretch!important;background:none!important;border-radius:0!important}
html.gv-v2 body .gx-picker-head{background:none;border:0;padding:12px 16px 20px}
html.gv-v2 body .gx-picker-layout{grid-template-columns:300px minmax(0,1fr);gap:18px}
html.gv-v2 body .gx-destinations{display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:12px;padding:8px;background:none;border:0}
html.gv-v2 body .gx-modal .gx-route{display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;position:relative;isolation:isolate;min-width:0!important;width:100%!important;min-height:160px!important;padding:65px 10px 12px!important;border:1px solid #b89460!important;border-image:none!important;border-radius:5px!important;background:#15101b!important;box-shadow:0 4px 10px #080510!important;overflow:hidden;text-align:left;gap:0}
html.gv-v2 body .gx-route-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;border-radius:0;mask-image:linear-gradient(#000 15%,#0005 60%,transparent)}
html.gv-v2 body .gx-route-label b{font-size:13px;color:#ffe3ae;text-shadow:0 2px 3px #000}
html.gv-v2 body .gx-route-label small{font-size:12px;color:#efdbcd}
html.gv-v2 body .gx-route-arrow{display:none}
html.gv-v2 body .gx-modal .gx-route[aria-current=true]{outline:2px solid #ffdc86;outline-offset:2px;filter:brightness(1.12)}
html.gv-v2 body .gx-destination-stage{background:transparent}
html.gv-v2 body .gx-destination-shade{background:linear-gradient(transparent 25%,#23142244 55%,#231422 100%)}
html.gv-v2 body .gx-native-details .gx-destination-body{background:#231422d9;color:#f1dfcc;padding:18px 24px!important}
html.gv-v2 body .gx-native-details .gx-description{color:#efddcb!important;font-size:14px!important}
html.gv-v2 body .gx-dispatch{position:static;background:#231422e8;padding:18px 24px}
html.gv-v2 body :is(.gx-camp,.gx-modal) :is(.gx-primary,.gx-secondary,.gx-claim,.gx-small){background:url('/v2/art/council/action-walnut.webp') center/contain no-repeat!important;border:0!important;border-image:none!important;box-shadow:none!important;min-height:54px;min-width:170px;padding:14px 26px!important;color:#ffe4b7;font-size:13px!important}
html.gv-v2 body :is(.gx-camp,.gx-modal) :is(.gx-primary,.gx-claim){background-image:url('/v2/art/council/action-amber.webp')!important;color:#342211!important}
html.gv-v2 body .gx-picker-head #expPickerClose{background:url('/v2/art/council/nav-bronze.webp') center/contain no-repeat!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;border:0!important;padding:0!important;flex:none}
@media(max-width:700px){
 html.gv-v2 body .gvwb-layout{grid-template-columns:1fr}
 html.gv-v2 body .gvwb-treasure{grid-template-columns:110px 1fr;gap:12px}
 html.gv-v2 body .gvwb-relic-art{width:110px;height:110px}html.gv-v2 body .gvwb-relic-art img{width:100px!important;height:100px!important}
 html.gv-v2 body .gvwb-treasure>div:last-child>div:first-child{font-size:19px!important}
 html.gv-v2 body .gx-layout{display:flex;padding:0 12px 28px;gap:20px}
 html.gv-v2 body .gx-scene{min-height:500px;padding:20px}
 html.gv-v2 body .gx-camp-caption{margin-top:230px}
 html.gv-v2 body .gx-head{padding:22px 18px;flex-wrap:wrap}
 html.gv-v2 body .gx-roster{padding:10px}
 html.gv-v2 body .gx-picker-layout{display:flex;gap:10px}
 html.gv-v2 body .gx-destinations{display:flex;overflow-x:auto;overscroll-behavior-y:auto;padding:8px;flex-shrink:0}
 html.gv-v2 body .gx-modal .gx-route{flex:0 0 145px;min-height:160px!important}
 html.gv-v2 body .gx-modal .exp-modal{border-width:14px!important;border-image-width:14px!important}
 .gcb-stage:has(.gcb-worldboss) .vb-token{--gcb-width:clamp(70px,21vw,120px)}
 .gcb-stage:has(.gcb-worldboss) .vb-token:has(.gcb-worldboss){--gcb-width:clamp(175px,52.5vw,300px)}
}
html.gv-v2 body #expPickerModal .gx-route{min-height:150px!important;padding:65px 10px 12px!important;border:1px solid #b89460!important;border-radius:5px!important;background:#15101b!important;box-shadow:0 4px 10px #080510!important}
html.gv-v2 body .gx-fire{display:none}
html.gv-v2 body .gx-camp-caption{margin-top:180px}
html.gv-v2 body .gvwb-personal>div>div>div[style*="rgba(255,20,147"]{background:#38223999!important;border:0!important;border-left:2px solid #c19757!important;border-radius:0!important;padding:12px!important}
html.gv-v2 body .gvwb-personal [style*="color: rgb(255, 20, 147)"],html.gv-v2 body .gvwb-personal [style*="color:#FF1493"]{color:#e5bc78!important}
html.gv-v2 body .gvwb-details .gvp-primary{background-image:url('/v2/art/council/action-amber.webp')!important;color:#30200e!important}
/* Expedition readability: painted backing owns both caption and mastery. */
html.gv-v2 body #panelExpedition .gx-camp-briefing{position:relative;isolation:isolate;width:100%;max-width:640px;box-sizing:border-box;border:24px solid transparent;border-image:url('/v2/art/council/dialog.webp') 150 fill / 24px / 0 stretch;padding:20px 22px;box-shadow:0 12px 25px #08061170;color:#f5e6d3}
html.gv-v2 body #panelExpedition .gx-camp-caption{margin:0!important;max-width:none;text-shadow:none}
html.gv-v2 body #panelExpedition .gx-camp-caption h2{font-size:clamp(23px,2.3vw,30px);color:#ffe4ad;margin:0 0 14px}
html.gv-v2 body #panelExpedition .gx-camp-caption p{font-size:15px;line-height:1.7;color:#f5e6d3;max-width:55ch;margin-bottom:18px}
html.gv-v2 body #panelExpedition .gx-mastery{max-width:none;padding-top:20px;border-top:1px solid #d4aa6860}
html.gv-v2 body #panelExpedition :is(.gx-mastery-open,.gx-xp,.gx-perks){color:#f2dfc9;font-size:14px!important;line-height:1.6}
html.gv-v2 body #panelExpedition .gx-mastery-open{flex-wrap:wrap;white-space:normal;min-height:40px}
html.gv-v2 body #panelExpedition .gx-mastery-open b{color:#ffe0a0;font-size:14px}
html.gv-v2 body #panelExpedition .gx-mastery-track{height:8px;background:#110b17}
html.gv-v2 body #panelExpedition .gx-scene{justify-content:flex-end;padding:180px 0 0;min-height:620px}
html.gv-v2 body #panelExpedition .gx-scene:after{display:none}
/* The atlas is one painted surface, not stacked opaque rectangles. */
/* The painted dialog is the frame. The legacy inset outline cuts through its artwork. */
html.gv-v2 body #expPickerModal .exp-modal.gvp-surface::before{content:none;display:none}
html.gv-v2 body #expPickerModal .gx-destination-stage{display:block!important;background:none!important;min-height:0;overflow:auto;padding-bottom:12px}
html.gv-v2 body #expPickerModal .gx-native-details{display:block!important;flex:none!important;min-height:0!important;height:auto!important;background:none!important;margin:0!important;padding:0!important}
html.gv-v2 body #expPickerModal .gx-native-details[hidden]{display:none!important}
html.gv-v2 body #expPickerModal .gx-native-details .gx-destination-body{background:none!important;display:flex!important;flex-direction:column!important;min-height:0!important;padding:16px 22px!important;gap:12px!important}
html.gv-v2 body #expPickerModal .gx-dispatch{background:none!important;position:static!important;margin:0!important;padding:18px 22px 8px!important;border-top:1px solid #c5a06955;min-height:0!important;flex:none!important}
html.gv-v2 body #expPickerModal .gx-destination-banner{height:clamp(200px,27vh,290px)!important;min-height:0!important;border-radius:0;mask-image:linear-gradient(#000 75%,transparent 100%)}
html.gv-v2 body #expPickerModal .gx-destination-shade{background:linear-gradient(transparent 30%,#190f21a6 100%)}
html.gv-v2 body #expPickerModal .gx-destination-title{bottom:25px}
html.gv-v2 body #expPickerModal .gx-duration{background:none;border:0;padding:0;color:#fff0c7;text-shadow:0 2px 4px #000}
html.gv-v2 body #expPickerModal .expr-row{padding:12px 0!important;font-size:14px!important}
html.gv-v2 body #expPickerModal :is(.expr-k,.expr-p,.expr-none,.gx-description,.gx-dispatch-reason){color:#f3dfc7!important;font-size:14px!important;line-height:1.6!important}
html.gv-v2 body #expPickerModal .gx-picker-layout{align-items:stretch;grid-template-rows:minmax(0,1fr)}
html.gv-v2 body #expPickerModal .gx-destination-stage{height:100%;box-sizing:border-box;overflow-y:auto;scroll-padding-block:12px;overscroll-behavior-y:contain}
html.gv-v2 body #expPickerModal .gx-destinations{max-height:100%;box-sizing:border-box}
@media(max-width:700px){
 html.gv-v2 body #panelExpedition .gx-camp-briefing{border-width:18px;border-image-width:18px;padding:15px 12px}
 html.gv-v2 body #expPickerModal.gx-modal{padding:10px!important}
 html.gv-v2 body #panelExpedition .gx-scene{padding:150px 0 0;min-height:0}
 html.gv-v2 body #expPickerModal .gx-picker-layout{align-items:stretch}
 html.gv-v2 body #expPickerModal .exp-modal{height:auto!important;max-height:calc(100dvh - 20px)!important;overflow-y:auto!important;box-sizing:border-box}
 html.gv-v2 body #expPickerModal .gx-picker-layout{flex:none;flex-direction:column}
 html.gv-v2 body #expPickerModal .gx-destination-stage{height:auto;overflow:visible;flex:none}
 html.gv-v2 body #expPickerModal .gx-native-details .gx-destination-body,html.gv-v2 body #expPickerModal .gx-dispatch{padding-left:12px!important;padding-right:12px!important}
}
html.gv-v2 body #panelExpedition .gx-camp-briefing{background:#211725!important;background-clip:padding-box!important}
html.gv-v2 body #expPickerModal .gx-native-details .expr-row{grid-template-columns:minmax(112px,auto) minmax(0,1fr)!important;column-gap:18px!important}
html.gv-v2 body #expPickerModal .expr-k{white-space:normal;overflow-wrap:normal}
html.gv-v2 body #expPickerModal .gx-destination-banner{mask-image:none}
html.gv-v2 body #expPickerModal .gx-destination-art{mask-image:linear-gradient(#000 65%,transparent 100%)}
@media(max-width:700px){html.gv-v2 body #expPickerModal .gx-native-details .expr-row{grid-template-columns:112px minmax(0,1fr)!important;column-gap:12px!important}html.gv-v2 body #expPickerModal .gx-native-details .expr-k{font-size:12px!important}}

/* Fishing atlas: a single map with explicit daily-boost pins. */
html.gv-v2 body #panelFishing.active{overflow:auto!important;display:block;padding-bottom:40px!important}
html.gv-v2 body #panelFishing .gf-harbor{display:block;min-height:100%;background:linear-gradient(#181322eb,#181322e8)!important;color:#f5e4cd}
html.gv-v2 body #panelFishing .fish-subtab-content{overflow:visible;min-height:0}
html.gv-v2 body #panelFishing .fish-header{padding:24px;gap:12px}
html.gv-v2 body #panelFishing .fish-subtabs{display:flex;flex-wrap:wrap;gap:12px;padding:10px 24px 18px;background:none!important;border:0}
html.gv-v2 body #panelFishing .fish-subtab{flex:1;min-width:130px;max-width:230px;height:62px;border:0;background:url('/v2/art/council/action-walnut.webp') center/contain no-repeat!important;border-radius:0;color:#ffdfaa;font-size:14px}
html.gv-v2 body #panelFishing .fish-subtab.active{background-image:url('/v2/art/council/action-amber.webp')!important;color:#322112}
html.gv-v2 body #panelFishing .gf-shore-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;height:auto;min-height:0;gap:22px;padding:0 24px 30px;align-items:start}
html.gv-v2 body #panelFishing .gf-locations{min-width:0;background:none!important;padding:0;display:block;border:0}
html.gv-v2 body #panelFishing .gf-locations h2{font:700 24px Cinzel,Georgia,serif;color:#ffdfaa;margin:12px 0 8px}
html.gv-v2 body #panelFishing .gf-map-instruction{font-size:14px;color:#e9d8c9;margin:0 0 18px;line-height:1.6}
html.gv-v2 body #panelFishing .gf-map-scroll{overflow-x:auto;overscroll-behavior-x:contain;overscroll-behavior-y:auto;border:18px solid transparent;border-image:url('/v2/art/council/dialog.webp') 150 fill / 18px / 0 stretch;scrollbar-color:#bf9557 #211728;scrollbar-width:thin}
html.gv-v2 body #panelFishing .gf-world-map{position:relative;min-width:680px;aspect-ratio:1.5;isolation:isolate}
html.gv-v2 body #panelFishing .gf-map-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:-1}
html.gv-v2 body #panelFishing .gf-location{position:absolute;left:var(--pin-x);top:var(--pin-y);transform:translate(-50%,-50%);width:180px;min-height:64px;padding:12px 13px;display:flex;align-items:center;justify-content:center;gap:5px;border:0!important;border-radius:0;background:url('/v2/art/council/action-compact.webp') center/contain no-repeat!important;box-shadow:none;text-align:center;color:#ffe3b1;filter:drop-shadow(0 5px 5px #000b)}
html.gv-v2 body #panelFishing .gf-location img,html.gv-v2 body #panelFishing .gf-location i{display:none}
html.gv-v2 body #panelFishing .gf-location b{font:700 12px/1.3 Cinzel,Georgia,serif;display:block}
html.gv-v2 body #panelFishing .gf-location small{display:block;color:#eee1cc;font-size:11px;margin-top:4px}
html.gv-v2 body #panelFishing .gf-location[aria-pressed=true]{outline:2px solid #ffdd8b;outline-offset:3px;border-radius:18px}
html.gv-v2 body #panelFishing .gf-location.gf-locked{opacity:1}
html.gv-v2 body #panelFishing .gf-pin-boost{position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%);min-width:210px;background:#203527;color:#ffeaa4;border:1px solid #eac579;border-radius:4px;padding:7px 8px;font-size:12px;white-space:nowrap;box-shadow:0 3px 8px #0009}
html.gv-v2 body #panelFishing .gf-provisions{margin-top:18px;padding:16px 20px;border:18px solid transparent;border-image:url('/v2/art/council/dialog.webp') 150 fill / 18px / 0 stretch;background:none;display:grid;grid-template-columns:1fr 1fr;gap:20px}
html.gv-v2 body #panelFishing .gf-shore{height:auto;min-height:0;padding:0 12px 14px;overflow:visible;border:22px solid transparent;border-image:url('/v2/art/council/dialog.webp') 150 fill / 22px / 0 stretch;background:#211525!important;display:flex;flex-direction:column;isolation:isolate}
html.gv-v2 body #panelFishing .gf-shore .gf-landscape{position:relative!important;inset:auto!important;width:calc(100% + 24px)!important;height:230px!important;margin:0 -12px;object-fit:cover;opacity:1!important;z-index:0;border-radius:0;mask-image:linear-gradient(#000 65%,transparent)}
html.gv-v2 body #panelFishing .gf-shore:after{display:none}
html.gv-v2 body #panelFishing .gf-atmosphere{height:230px;z-index:1}
html.gv-v2 body #panelFishing .gf-scene-caption{position:relative;inset:auto;max-width:none;background:none;padding:12px 0;margin:0}
html.gv-v2 body #panelFishing .gf-scene-caption h2{font-size:25px;margin:12px 0;color:#ffe2ad}
html.gv-v2 body #panelFishing .gf-scene-caption p{font-size:14px;line-height:1.7;color:#f0ddca;text-shadow:none}
html.gv-v2 body #panelFishing .gf-hot{font-size:13px;line-height:1.6;color:#ffe29a}
html.gv-v2 body #panelFishing .gf-cast-tray{position:static;width:100%;padding:16px 0 0;background:none!important;border:0;border-top:1px solid #b3936555;margin-top:8px;box-shadow:none}
html.gv-v2 body #panelFishing .gf-cast-buttons{display:flex;flex-direction:column;gap:10px}
html.gv-v2 body #panelFishing .gf-cast-note{color:#e7d3c4;line-height:1.6;font-size:13px}
/* Painted materials across the logbook, tournament and workshop. */
html.gv-v2 body #panelFishing :is(.fish-bestiary-header,.gf-fish-detail,.fish-craft-card,.ft-leaderboard,.ft-entry,.ft-rules,.ft-prizes){border:20px solid transparent!important;border-image:url('/v2/art/council/dialog.webp') 150 fill / 20px / 0 stretch!important;background:none!important;border-radius:0!important;padding:16px!important;box-shadow:0 7px 16px #0004}
html.gv-v2 body #panelFishing .fish-bestiary{padding:24px}
html.gv-v2 body #panelFishing .fish-bestiary-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}
html.gv-v2 body #panelFishing .fish-best-card{border:12px solid transparent;border-image:url('/v2/art/council/dialog.webp') 150 fill / 12px / 0 stretch;background:none;padding:12px;color:#f4e0c5;border-radius:0}
html.gv-v2 body #panelFishing .gf-atlas-tabs{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0}
html.gv-v2 body #panelFishing .gf-atlas-tab{flex:1;min-width:140px;min-height:70px;background:#241928;border:1px solid #a58655;color:#f4dfb8;border-radius:4px}
html.gv-v2 body #panelFishing .gf-atlas-tab[aria-pressed=true]{outline:2px solid #efc87e}
html.gv-v2 body #panelFishing .fish-workshop-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
html.gv-v2 body #panelFishing .fish-craft-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;min-width:0;position:relative}
html.gv-v2 body #panelFishing .fish-craft-icon{width:120px;height:120px;flex-shrink:0;background:none;filter:drop-shadow(0 8px 8px #0008)}
html.gv-v2 body #panelFishing .fish-craft-name{font-size:19px;color:#ffdea7}
html.gv-v2 body #panelFishing :is(.fish-craft-desc,.fish-workshop-desc,.fish-bestiary-progress,.fish-bestiary-records){font-size:14px;line-height:1.65;color:#f0dfcb}
html.gv-v2 body #panelFishing .fish-craft-btn{margin-top:auto}
html.gv-v2 body #panelFishing .gf-workshop-scene{height:310px}
html.gv-v2 body #panelFishing .gf-workshop-scene>div{padding:18px;background:#191222e8;border-radius:4px;max-width:80%}
html.gv-v2 body #panelFishing .ft-hero-content{background:linear-gradient(90deg,#1a1229ef,#1a122980);color:#f0dfc8;padding:26px;max-width:620px}
html.gv-v2 body #panelFishing .ftn-lb-row{background:#23162bdb;color:#f5e0c6;padding:12px;border-bottom:1px solid #b18b5544}
/* Keep frame corners outside the scrolling content of every fishing dialog. */
html.gv-v2 body #modalOverlay.gf-modal #modalCard.gf-dialog{border:24px solid transparent!important;border-image:url('/v2/art/council/dialog.webp') 150 fill / 24px / 0 stretch!important;border-radius:0!important;background:#24172c!important;padding:20px!important;box-sizing:border-box;max-height:calc(100dvh - 24px);overflow:auto}
html.gv-v2 body .gf-dialog :is(.gf-info,.fish-catch-modal,.fish-drops-modal,.ft-info,.gf-haul,.fdeep,.fdeep-next,.fish-catch-rewards,.fdeep-haul){background:none!important;border:0!important;box-shadow:none!important;color:#f2dfc7}
html.gv-v2 body .gf-dialog :is(p,.fdeep-risk,.fdeep-cost,.fish-drops-hint){font-size:14px;line-height:1.6;color:#f2dfc7}
html.gv-v2 body .gf-dialog .gf-haul-header{background:none!important}
html.gv-v2 body .gf-game :is(.fmr-content,.ftb-header,.ftug-bars,.fpur-bars,.freel-meters){border:18px solid transparent!important;border-image:url('/v2/art/council/dialog.webp') 150 fill / 18px / 0 stretch!important;border-radius:0!important;background:#211629!important;padding:15px!important;color:#f2dfc6}
html.gv-v2 body :is(#panelFishing,.gf-dialog,.gf-game) :is(.gf-primary,.gf-secondary,.fish-craft-btn,.fish-buy-energy button,.fish-catch-btn,.fdeep-dive,.fdeep-bank-btn,.ft-entry-btn,.fmr-start-btn,.freel-btn){border:0!important;border-image:none!important;background:url('/v2/art/council/action-walnut.webp') center/contain no-repeat!important;border-radius:0!important;box-shadow:none!important;min-width:170px;min-height:58px;padding:14px 28px!important;color:#ffe3b0!important;font-size:14px!important;line-height:1.4}
html.gv-v2 body :is(#panelFishing,.gf-dialog,.gf-game) :is(.gf-primary,.fmr-start-btn,.ft-entry-btn){background-image:url('/v2/art/council/action-amber.webp')!important;color:#33200d!important}
@media(max-width:1100px){html.gv-v2 body #panelFishing .gf-shore-layout{grid-template-columns:1fr}html.gv-v2 body #panelFishing .gf-shore{max-width:none;display:grid;grid-template-columns:1fr 1fr;gap:0 22px}html.gv-v2 body #panelFishing .gf-shore .gf-landscape{width:100%!important;margin:0;grid-row:1/3}html.gv-v2 body #panelFishing .gf-atmosphere{display:none}html.gv-v2 body #panelFishing .gf-cast-tray{grid-column:2}}
@media(max-width:700px){html.gv-v2 body #panelFishing .gf-shore-layout{padding:0 12px 30px;gap:18px}html.gv-v2 body #panelFishing .gf-shore{display:flex;padding:0 10px 12px}html.gv-v2 body #panelFishing .gf-provisions{grid-template-columns:1fr;padding:12px;gap:12px}html.gv-v2 body #panelFishing .fish-header{display:flex;flex-wrap:wrap;padding:18px}html.gv-v2 body #panelFishing .fish-subtabs{display:grid;grid-template-columns:1fr 1fr;padding:0 16px 16px;gap:4px}html.gv-v2 body #panelFishing .fish-subtab{min-width:0;width:100%;font-size:12px}html.gv-v2 body #panelFishing .gf-atlas-layout{grid-template-columns:1fr}html.gv-v2 body #panelFishing .fish-bestiary{padding:16px}html.gv-v2 body #modalOverlay.gf-modal #modalCard.gf-dialog{border-width:16px!important;border-image-width:16px!important;padding:12px!important}html.gv-v2 body #panelFishing .gf-workshop-scene>div{left:12px;max-width:92%;padding:12px}}

html.gv-v2 body #panelFishing .gf-cast-tray{transform:none!important;left:auto!important;right:auto!important;bottom:auto!important;box-sizing:border-box}
html.gv-v2 body #panelFishing .gf-location{height:68px;min-height:68px}
html.gv-v2 body #modalOverlay.gf-modal #modalCard.gf-dialog .fdeep-summary{background:none!important;border:0!important;padding:12px 0}
@media(max-width:1550px) and (min-width:701px){html.gv-v2 body #panelFishing .gf-shore-layout{grid-template-columns:1fr}html.gv-v2 body #panelFishing .gf-shore{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}html.gv-v2 body #panelFishing .gf-shore .gf-landscape{grid-row:1/3;width:100%!important;margin:0;height:100%!important;min-height:300px}html.gv-v2 body #panelFishing .gf-cast-tray{grid-column:2}html.gv-v2 body #panelFishing .gf-atmosphere{display:none}}
html.gv-v2 body #panelFishing .gf-harbor{background:none!important}
html.gv-v2 body #panelFishing .gf-shore-layout{max-width:1500px;margin:0 auto}
html.gv-v2 body #panelFishing :is(.fish-workshop,.fish-bestiary,.fish-tournament-wrap){max-width:1500px;margin-left:auto;margin-right:auto}
html.gv-v2 body #panelFishing .fish-best-card{background:none!important;border:12px solid transparent!important;border-image:url('/v2/art/council/dialog.webp') 150 fill / 12px / 0 stretch!important;border-radius:0!important}
html.gv-v2 body #panelFishing .fish-milestones{background:none;border:0;gap:12px;display:flex;flex-wrap:wrap}
html.gv-v2 body #panelFishing .fish-milestones>div{background:#23172b;border:1px solid #a07d4e;color:#efdbc0;padding:12px;flex:1;min-width:100px}
html.gv-v2 body #panelFishing .gf-pin-boost{min-width:220px}
html.gv-v2 body #modalOverlay.gf-modal #modalCard .fdeep-basket{background:none!important;border:0!important;border-radius:0;padding:12px 0;border-block:1px solid #b18a554d!important}
html.gv-v2 body #modalOverlay.gf-modal #modalCard .fdeep-actions{display:flex;flex-direction:column;gap:10px;align-items:stretch}
html.gv-v2 body #modalOverlay.gf-modal #modalCard .fdeep-btn{flex:none;min-height:64px;width:100%;padding:12px 26px;border:0!important;border-image:none!important;border-radius:0;box-shadow:none;background:url('/v2/art/council/action-walnut.webp') center/contain no-repeat!important;color:#ffe1a8;font:700 16px Cinzel,Georgia,serif}
html.gv-v2 body #modalOverlay.gf-modal #modalCard .fdeep-btn.bank{background-image:url('/v2/art/council/action-amber.webp')!important;color:#35220f}
html.gv-v2 body #modalOverlay.gf-modal #modalCard .fdeep-btn.dive>img{display:none}
html.gv-v2 body #modalOverlay.gf-modal #modalCard .fdeep-cost{font-size:12px;color:#b7ecdf;line-height:1.4}
html.gv-v2 body #panelFishing .gf-cast-buttons .gf-primary{background-image:url('/v2/art/council/action-amber.webp')!important;color:#35220f!important}

/* Purpose-made 3:2 refill tiles. Preserve every painted corner and live price. */
html.gv-v2 body #panelTavern .gv-rift-refill .rf2-stam-buys{
 width:440px;max-width:calc(100vw - 20px);border-width:20px!important;
 border-image-width:20px!important;padding:10px!important;gap:12px;
 grid-template-columns:repeat(2,minmax(0,1fr));
 scroll-margin-block:20px calc(var(--council-rail-height,170px) + 36px);
}
html.gv-v2 body #panelTavern .gv-rift-refill .rf2-buy{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 align-content:center;justify-items:center;gap:3px!important;
 width:100%;height:auto!important;min-height:0!important;aspect-ratio:3/2;box-sizing:border-box;
 border:0!important;border-image:none!important;border-radius:0!important;
 padding:18px 12px 10px!important;background:url('/v2/art/rift-refills/gold.webp') center/contain no-repeat!important;
 box-shadow:none!important;text-align:center;color:#ffedc7!important;
}
html.gv-v2 body #panelTavern .gv-rift-refill .rf2-buy.dia{background-image:url('/v2/art/rift-refills/diamond.webp')!important}
html.gv-v2 body #panelTavern .gv-rift-refill .rf2-buy::after{display:none!important}
html.gv-v2 body #panelTavern .gv-rift-refill .rf2-buy b{font-size:23px!important;line-height:1.05;color:#fff0ce}
html.gv-v2 body #panelTavern .gv-rift-refill .rf2-buy.dia b{color:#b5edff}
html.gv-v2 body #panelTavern .gv-rift-refill .rf2-buy>span{display:flex;align-items:center;justify-content:center;gap:4px;font-size:15px;line-height:1.15;color:#fff0ce;white-space:nowrap}
html.gv-v2 body #panelTavern .gv-rift-refill .rf2-buy>span img{width:18px;height:18px;object-fit:contain}
html.gv-v2 body #panelTavern .gv-rift-refill .rf2-buy i{grid-column:1!important;font:500 11px/1.1 var(--font-body);color:#dfcda9!important}
html.gv-v2 body #panelTavern .gv-rift-refill .rf2-buy:hover:not(:disabled){filter:brightness(1.12)}
html.gv-v2 body #panelTavern .gv-rift-refill .rf2-buy:focus-visible{outline:2px solid #fff0bd;outline-offset:3px}
html.gv-v2 body #panelTavern .gv-rift-refill .rf2-buy:disabled{filter:saturate(.35);opacity:.6}
/* One scroll owner; the old absolute Rift layer hid the real content height. */
html.gv-v2 body #panelTavern.gv-rift>.rf2{position:relative!important;inset:auto;overflow:visible;min-height:100%}
html.gv-v2 body #panelTavern .rf2-active .gv-rift-view{grid-template-rows:auto auto;gap:12px 24px;padding:12px 20px 16px;min-height:0}
html.gv-v2 body #panelTavern .gv-rift-view .rf2-stam{border-width:12px!important;border-image-width:12px!important;padding:6px!important;gap:3px 10px;grid-template-columns:34px minmax(0,1fr) auto}
html.gv-v2 body #panelTavern .gv-rift-supply-art{width:34px;height:42px}
html.gv-v2 body #panelTavern .gv-rift-view .rf2-stam-val{font-size:21px}
html.gv-v2 body #panelTavern .gv-rift-view .rf2-stam-track{height:10px}
html.gv-v2 body #panelTavern .gv-rift-view .rf2-stam-reset{grid-row:2;margin:0}
html.gv-v2 body #panelTavern .gv-rift-view .rf2-stam-empty{justify-content:flex-start;margin:0;padding:2px 0;border:0;border-radius:0;background:none;line-height:1.4}
html.gv-v2 body #panelTavern .rf2-active .gv-rift-hero{align-self:start;max-width:280px;margin:auto}
html.gv-v2 body #panelTavern .rf2-active .rf2-stage{align-self:start}
html.gv-v2 body #panelTavern .rf2-active .rf2-plaque{display:grid;grid-template-columns:84px minmax(0,1fr);gap:6px 12px;align-items:center;border-width:18px!important;border-image-width:18px!important;padding:10px!important;margin:0}
html.gv-v2 body #panelTavern .rf2-active .rf2-plaque>*{min-width:0;grid-area:auto;grid-column:1/-1}
html.gv-v2 body #panelTavern .rf2-active .rf2-plaque::before,html.gv-v2 body #panelTavern .rf2-active .rf2-plaque::after{display:none}
html.gv-v2 body #panelTavern .rf2-active .gv-rift-journey-art{grid-column:1;grid-row:1/4;width:84px;height:84px;margin:0;float:none}
html.gv-v2 body #panelTavern .rf2-active .rf2-plaque .rf2-time{grid-column:2;grid-row:1;display:flex;flex-wrap:wrap;align-items:baseline;margin:0;gap:4px 8px;white-space:normal;font-size:10px}
html.gv-v2 body #panelTavern .rf2-active .rf2-plaque .rf2-time b{font-size:28px}
html.gv-v2 body #panelTavern .rf2-active .rf2-plaque .rf2-name{grid-column:2;grid-row:2;font-size:21px;min-height:0;margin:0}
html.gv-v2 body #panelTavern .rf2-active .rf2-plaque .rf2-sub{grid-column:2;grid-row:3;letter-spacing:.05em;margin:0}
html.gv-v2 body #panelTavern .rf2-active .gv-rift-progress{margin:8px 0;height:8px}
html.gv-v2 body #panelTavern .rf2-active .rf2-plaque .rf2-rw{margin:0;padding:12px 0 4px;gap:10px 16px;justify-content:center}
html.gv-v2 body #panelTavern .rf2-active .rf2-acts{margin:0;padding:6px 0 0}
@media(max-width:959px){
 html.gv-v2 body #panelTavern .rf2-active .gv-rift-view{padding:12px;gap:12px}
 html.gv-v2 body #panelTavern .rf2-active .gv-rift-hero{display:none}
 html.gv-v2 body #panelTavern .gv-rift-view .rf2-stam{grid-template-columns:32px minmax(0,1fr);gap:4px 8px}
 html.gv-v2 body #panelTavern .gv-rift-supply-art{width:32px;height:44px}
 html.gv-v2 body #panelTavern .gv-rift-refill{grid-column:1/-1}
 html.gv-v2 body #panelTavern .gv-rift-view .rf2-stam-reset{grid-column:2}
 html.gv-v2 body #panelTavern .rf2-active .rf2-plaque{grid-template-columns:64px minmax(0,1fr);gap:6px 10px}
 html.gv-v2 body #panelTavern .rf2-active .gv-rift-journey-art{width:64px;height:72px}
 html.gv-v2 body #panelTavern .rf2-active .rf2-plaque .rf2-name{font-size:18px}
}
/* Async renderers may retain display:block on an inactive page after a replay. */
html.gv-v2 #mainContent>.tab-panel:not(.active){display:none!important}
/* The harbor owns its vertical scroll, including on narrow flex layouts. */
html.gv-v2 body #gameScreen #gameLayout #mainContent>#panelFishing.active{flex:1 1 0!important;min-height:0!important;height:0!important;max-height:none;overflow-y:auto!important;overflow-x:hidden!important;scroll-padding:24px;overscroll-behavior-y:contain}
/* Lift the entire stamina stacking context above the destination islands. */
html.gv-v2 body #panelTavern .rf2-stam:has(.gv-rift-refill[open]){z-index:10}
html.gv-v2 body #panelTavern .gv-rift-refill[open] .rf2-stam-buys{max-height:min(380px,60dvh);overflow-y:auto;overscroll-behavior-y:contain}
html.gv-v2 body #panelFishing .fish-buy-energy{display:flex;flex-direction:column;align-items:center;min-width:0;width:100%;gap:0}
html.gv-v2 body #panelFishing .fish-buy-energy #fishBuyEnergyBtn{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center;justify-content:center;gap:7px;width:100%;max-width:300px;min-width:0;min-height:76px;font-size:17px!important;padding:18px 30px!important;white-space:nowrap}
html.gv-v2 body #panelFishing .fish-energy-purchase-status{font-size:13px;line-height:1.5;color:#efdbb5;margin:8px 0 0;text-align:center}
html.gv-v2 body #panelFishing .fish-energy-purchase-reason{font-size:14px;font-weight:600;line-height:1.5;color:#ffd391;margin:8px auto 0;max-width:320px;text-align:center}
