/* Opt-in layout. Normal HØL and its gameplay renderer keep their existing rules. */
#holegame #hole-player-bar #hole-focus-button{float:none!important;width:auto!important;min-width:0!important;min-height:0!important;height:20px!important;box-sizing:border-box!important;margin:0!important;padding:0 7px!important;background:#181818!important;color:#bbb!important;border:1px solid #555!important;box-shadow:none!important;text-shadow:none!important;font:bold 8px/18px 'Courier New',monospace!important}
#holegame #hole-player-bar #hole-focus-button[aria-pressed="true"]{background:#1b2c3f!important;color:#b7d6ff!important;border-color:#7895b7!important}
body.hole-focus-mode{margin:0;padding:0;background:#08090b;color:#ccc;overflow-x:hidden}
body.hole-focus-mode>#container{display:none!important}
#hole-focus-shell{width:100%;min-height:100dvh;box-sizing:border-box;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:#08090b}
#hole-focus-shell>#holegame{width:100%;max-width:none;margin:0;box-sizing:border-box}
#hole-focus-shell .hole-focus-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* A small menu in the existing player bar replaces the extra mode toolbar. */
#hole-focus-shell #hole-focus-presets{position:relative;flex:none;z-index:6100;margin:0;border:0;background:none}
#hole-focus-shell #hole-focus-presets[hidden]{display:none!important}
#hole-focus-shell #hole-focus-presets>summary{display:flex;align-items:center;gap:5px;height:20px;box-sizing:border-box;padding:0 7px;color:#b9c9df;background:#181c23;border:1px solid #556476;font:bold 8px/18px 'Courier New',monospace;cursor:pointer;list-style:none;white-space:nowrap}
#hole-focus-shell #hole-focus-presets>summary::-webkit-details-marker{display:none}
#hole-focus-shell #hole-focus-presets>summary:after{content:'▾';color:#8fa7c3}
#hole-focus-shell #hole-focus-presets[open]>summary{background:#1b2c3f;border-color:#7895b7}
#hole-focus-shell .hole-focus-preset-popup{position:absolute;right:0;top:calc(100% + 3px);width:260px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 80px);overflow:auto;box-sizing:border-box;padding:4px;background:#15191f;border:1px solid #596576;box-shadow:2px 3px 8px #000a;text-align:left;color:#c6ced8;font:10px/1.4 'Courier New',monospace}
#hole-focus-shell .hole-focus-preset-list{box-sizing:border-box;padding-right:16px;scrollbar-gutter:stable;max-height:min(220px,40dvh);overflow:auto;scrollbar-width:thin;overscroll-behavior:contain}
#hole-focus-shell .hole-focus-preset-row{display:flex;gap:3px;padding:1px 0}
#hole-focus-shell #holegame .hole-focus-preset-popup button{width:auto!important;min-width:0!important;min-height:24px!important;height:auto!important;margin:0!important;padding:3px 7px!important;box-sizing:border-box!important;border:1px solid #414b59!important;background:#1e242c!important;color:#c6ced8!important;box-shadow:none!important;text-shadow:none!important;font:bold 9px/16px 'Courier New',monospace!important;cursor:pointer;text-align:left}
#hole-focus-shell #holegame .hole-focus-preset-popup button:hover{background:#293749!important;border-color:#6d87a8!important}
#hole-focus-shell #holegame .hole-focus-preset-choice{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#hole-focus-shell #holegame .hole-focus-preset-choice:before{content:'·';display:inline-block;width:13px;color:#718094}
#hole-focus-shell #holegame .is-selected .hole-focus-preset-choice{background:#233449!important;color:#d2e5fc!important}
#hole-focus-shell #holegame .is-selected .hole-focus-preset-choice:before{content:'✓';color:#a6c8f0}
#hole-focus-shell .hole-focus-preset-footer{display:flex;border-top:1px solid #39434f;padding:5px 0 0;margin-top:4px}
#hole-focus-shell #holegame .hole-focus-preset-footer button{flex:1}
#hole-focus-shell .hole-focus-preset-form:not(:empty){border-top:1px solid #39434f;margin-top:5px;padding:6px 2px 2px}
#hole-focus-shell .hole-focus-preset-form label{display:block;color:#abb9cb;font:9px/1.5 'Courier New',monospace}
#hole-focus-shell #holegame .hole-focus-preset-form input{display:block;width:100%;box-sizing:border-box;margin:4px 0 6px;padding:5px;background:#0d1117;border:1px solid #66788f;color:#fff;font:11px/1.4 'Courier New',monospace}
#hole-focus-shell .hole-focus-preset-actions{display:flex;flex-wrap:wrap;gap:4px}
#hole-focus-shell .hole-focus-preset-feedback{display:block;margin-top:4px;color:#e8b879;font-size:9px}
#hole-focus-shell button[hidden]{display:none!important}
#hole-focus-shell #hole-test-banner{display:none!important}
#hole-focus-shell #hole-player-bar{flex-wrap:wrap;gap:4px}
#hole-focus-shell #hole-guide,#hole-focus-shell #hole-coop-lia{max-width:1000px;margin:0 auto;box-sizing:border-box}
#hole-focus-shell #holegame.hole-focus-desktop #hole-upgrade-menus.hole-focus-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:32px;gap:0;padding:0;align-items:stretch;box-sizing:border-box}
#hole-focus-shell .hole-focus-window{display:flex;flex-direction:column;position:relative;min-width:0;min-height:0;overflow:hidden;border:1px solid #4b4d52;background:#0b0b0d;box-sizing:border-box;text-align:left;box-shadow:none}
#hole-focus-shell .hole-focus-window[hidden]{display:none!important}
#hole-focus-shell .hole-focus-window.is-collapsed{border:0;outline:1px solid #4b4d52;outline-offset:-1px}
#hole-focus-shell .hole-focus-window-content{flex:1;min-width:0;min-height:0;overflow:auto;overscroll-behavior:auto;scrollbar-width:thin;scrollbar-color:#515862 #101114}
#hole-focus-shell .hole-focus-window-content>div,#hole-focus-shell .hole-focus-window-content>details{min-width:0;box-sizing:border-box}
#hole-focus-shell .hole-focus-window-content>.hole-upgrade-menu,#hole-focus-shell .hole-focus-window-content>#hole-mystic-menu,#hole-focus-shell .hole-focus-window-content>#hole-jokerslots,#hole-focus-shell .hole-focus-window-content>#hole-nikosjokk{margin:0!important;border:0!important;width:100%}
#hole-focus-shell .hole-focus-drag-title{cursor:grab;touch-action:none;user-select:none}
#hole-focus-shell .hole-focus-drag-title:focus-visible,#hole-focus-shell .hole-focus-resize:focus-visible{outline:2px solid #8dbaf3;outline-offset:-2px}
#hole-focus-shell .hole-focus-window-content>.hole-upgrade-menu>.hole-panel-titlebar,#hole-focus-shell .hole-focus-window-content>#hole-mystic-menu>.hole-panel-titlebar,#hole-focus-shell .hole-focus-window-content>#hole-jokerslots>.hole-panel-titlebar,#hole-focus-shell .hole-focus-window-content>#hole-nikosjokk>.hole-panel-titlebar{position:sticky;top:0;z-index:22}
#hole-focus-shell #holegame #hole-active-menu>.hole-panel-titlebar{background:#24180f;color:#d0a16c;border-bottom-color:#78512f}
#hole-focus-shell #holegame #hole-passive-menu>.hole-panel-titlebar{background:#102028;color:#73b6cc;border-bottom-color:#356475}
#hole-focus-shell #holegame .hole-focus-resize{position:absolute;right:0;bottom:0;z-index:30;width:18px;min-width:18px;height:18px;margin:0;padding:0;background:#161b23;color:#96acc4;border:0;font:16px/18px monospace;cursor:nwse-resize;touch-action:none;box-shadow:none}
#hole-focus-shell .is-collapsed>.hole-focus-resize{display:none!important}
#hole-focus-shell .hole-focus-window.is-moving{border-color:#93b7e2;outline:1px solid #93b7e2}
body.hole-focus-moving,body.hole-focus-moving *{user-select:none!important;cursor:grabbing!important}
#hole-focus-shell .hole-focus-worksite #hole-dig-frame{margin:0!important;border:0}
#hole-focus-shell .hole-focus-worksite #hole-dig-frame-bar{position:sticky;top:0;z-index:22}
#hole-focus-shell #holegame.hole-focus-desktop :is(#hole-active-menu,#hole-passive-menu,#hole-mystic-menu){display:flex;flex-direction:column;height:100%}
#hole-focus-shell #holegame.hole-focus-desktop :is(#hole-active-menu,#hole-passive-menu,#hole-mystic-menu)>.hole-panel-titlebar{flex:none}
#hole-focus-shell #holegame.hole-focus-desktop :is(#hole-active-shop-list,#hole-passive-shop-list,#hole-mystic-shop-list){flex:1;min-height:0;height:auto;max-height:none}
#hole-focus-shell #holegame.hole-focus-desktop #hole-mystic-menu>.hole-spec-toolbar{flex:none}
#hole-focus-shell #holegame.hole-focus-desktop #hole-loot-list{overflow:visible}
#hole-focus-shell #holegame.hole-focus-desktop .hole-inventory-scroll{height:auto;max-height:300px;max-height:min(38dvh,300px)}
#hole-focus-shell #holegame.hole-focus-desktop #hole-boss-farm-list{max-height:none}
/* The scene fills the visual window; its renderer expands the visible world. */
#hole-focus-shell .hole-focus-worksite>.hole-focus-window-content{display:flex;flex-direction:column;overflow:hidden}
#hole-focus-shell .hole-focus-worksite #hole-dig-frame{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
#hole-focus-shell .hole-focus-worksite #hole-dig-frame-bar{flex:none;width:100%;box-sizing:border-box}
#hole-focus-shell .hole-focus-worksite #hole-canvas-wrap{flex:1;min-height:0;width:100%;height:0;margin:0!important}
#hole-focus-shell .hole-focus-worksite #hole-canvas{display:block;width:100%!important;height:100%!important;aspect-ratio:auto!important}
#hole-focus-shell .hole-focus-worksite.is-collapsed #hole-camera-controls{display:none}
#hole-focus-shell .hole-focus-worksite #hole-camera-controls{flex:none;width:100%;box-sizing:border-box}
#hole-focus-shell .hole-focus-worksite #hole-leaderboard{flex:none;min-height:0;max-height:45%;width:100%;box-sizing:border-box;overflow:auto}
#hole-focus-shell .hole-focus-generated-title{display:flex;flex:none;align-items:center;justify-content:space-between;box-sizing:border-box;height:30px;padding:4px 6px;background:#192433;color:#adc4e1;border-bottom:1px solid #455c76;font:bold 9px 'Courier New',monospace}
#hole-focus-shell .hole-focus-action>.hole-focus-generated-title{background:#291516;color:#dbafb1;border-color:#79474a}
#hole-focus-shell #holegame .hole-focus-collapse{width:18px!important;min-width:18px!important;height:18px!important;margin:0!important;padding:0!important;border:1px solid #555!important;background:#181818!important;color:#aaa!important;font:bold 12px/16px monospace!important;box-shadow:none!important;cursor:pointer}
#hole-focus-shell .has-generated-title.is-collapsed>.hole-focus-window-content{display:none}
#hole-focus-shell .hole-focus-action>.hole-focus-window-content{display:flex;overflow:hidden}
#hole-focus-shell #holegame .hole-focus-action #hole-dig-button{flex:1;min-width:0;min-height:40px;width:100%;height:100%;margin:0!important;padding:8px!important;font-size:clamp(18px,2vw,36px);box-sizing:border-box}
#hole-focus-shell .hole-focus-buy{display:flex;flex:none;gap:3px;box-sizing:border-box;padding:4px;background:#111;border-bottom:1px solid #424242}
#hole-focus-shell #holegame .hole-focus-buy button{flex:1;min-width:0;width:auto!important;margin:0!important;min-height:26px;padding:4px 2px!important;background:#292929!important;color:#aaa!important;border:1px outset #555!important;font:bold 8px/1.3 'Courier New',monospace!important;white-space:nowrap;box-shadow:none!important;cursor:pointer}
#hole-focus-shell #holegame .hole-focus-buy button.selected{background:#600!important;color:#fff!important;border-color:#a44!important}
#hole-focus-shell #holegame.hole-focus-desktop #hole-buy-amount,#hole-focus-shell .hole-collapsed>.hole-focus-buy{display:none!important}
#hole-focus-shell #holegame.hole-focus-desktop :is(.hole-item-list,.hole-inventory-scroll,#hole-boss-farm-list,#hole-mystic-shop-list,#hole-leaderboard){overscroll-behavior:auto}
/* Container queries use the tab's own dimensions, including narrow PC tabs. */
#hole-focus-shell [data-focus-panel="readout"]{container:hole-overview / size}
#hole-focus-shell [data-focus-panel="readout"]>.hole-focus-window-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}
#hole-focus-shell #holegame [data-focus-panel="readout"] :is(#hole-main-readout,#hole-info,#hole-performance){grid-column:1/-1;width:100%;border-left:0;border-right:0;margin:0;min-width:0}
#hole-focus-shell #holegame [data-focus-panel="readout"] :is(#hole-main-readout>div,.hole-info-power,.hole-info-small,#hole-performance>div){padding:clamp(5px,1.1cqw,11px) 5px}
#hole-focus-shell #holegame [data-focus-panel="readout"] :is(#hole-depth,#hole-money,#hole-power,#hole-passive-power-main,#hole-critical-power){font-size:clamp(14px,3.4cqw,26px);line-height:1.18;letter-spacing:0}
#hole-focus-shell #holegame [data-focus-panel="readout"] .hole-info-small>b{font-size:clamp(10px,2cqw,15px);line-height:1.3}
#hole-focus-shell #holegame [data-focus-panel="readout"] :is(#hole-performance b,#hole-performance i){font-size:clamp(9px,1.7cqw,13px);line-height:1.35;white-space:normal;overflow-wrap:anywhere}
#hole-focus-shell #holegame [data-focus-panel="readout"] :is(.hole-readout-label,.hole-info-power>span,.hole-info-small>span,#hole-performance span){font-size:clamp(8px,1.4cqw,10px);line-height:1.25}
#hole-focus-shell #holegame [data-focus-panel="readout"] #hole-crit-readout{display:flex;flex-wrap:wrap;justify-content:center;gap:3px 8px;font-size:clamp(8px,1.6cqw,11px);line-height:1.4}
#hole-focus-shell #holegame [data-focus-panel="readout"] #hole-money-skill-bonus{white-space:normal;overflow-wrap:anywhere;font-size:clamp(8px,1.5cqw,10px)}
@container hole-overview (max-width:359px){
 #hole-focus-shell #holegame [data-focus-panel="readout"] :is(.hole-info-active-power,.hole-info-passive-power,.hole-info-small){grid-column:1/-1;border-right:0}
 #hole-focus-shell #holegame [data-focus-panel="readout"] .hole-info-small{display:flex;align-items:center;justify-content:space-between;gap:5px;border-bottom:1px solid #292929}
 #hole-focus-shell #holegame [data-focus-panel="readout"] .hole-info-value{flex-wrap:wrap}
 #hole-focus-shell #holegame [data-focus-panel="readout"] #hole-money-skill-bonus{width:100%;text-align:right}
 #hole-focus-shell #holegame [data-focus-panel="readout"] #hole-performance{grid-template-columns:1fr}
 #hole-focus-shell #holegame [data-focus-panel="readout"] #hole-performance>div:first-child{border-right:0;border-bottom:1px solid #333}
}
@container hole-overview (min-width:360px) and (max-width:679px){
 #hole-focus-shell #holegame [data-focus-panel="readout"] :is(#hole-main-readout>div,.hole-info-power,.hole-info-small,#hole-performance>div){padding:3px}
 #hole-focus-shell #holegame [data-focus-panel="readout"] :is(#hole-depth,#hole-money,#hole-power,#hole-passive-power-main,#hole-critical-power){font-size:16px}
 #hole-focus-shell #holegame [data-focus-panel="readout"] .hole-info-small>b{font-size:11px}
 #hole-focus-shell #holegame [data-focus-panel="readout"] :is(.hole-readout-label,.hole-info-power>span,.hole-info-small>span,#hole-performance span){font-size:8px}
 #hole-focus-shell #holegame [data-focus-panel="readout"] :is(#hole-performance b,#hole-performance i){font-size:10px}
 #hole-focus-shell #holegame [data-focus-panel="readout"] #hole-crit-readout{font-size:8px;margin-top:3px}
}
@container hole-overview (min-width:680px){
 #hole-focus-shell [data-focus-panel="readout"]>.hole-focus-window-content{grid-template-columns:repeat(2,minmax(0,1fr))}
 #hole-focus-shell #holegame [data-focus-panel="readout"] #hole-main-readout{grid-column:1;grid-row:1;border-right:1px solid #333}
 #hole-focus-shell #holegame [data-focus-panel="readout"] #hole-performance{grid-column:2;grid-row:1}
 #hole-focus-shell #holegame [data-focus-panel="readout"] #hole-info{grid-row:2}
}
@container hole-overview (min-width:900px){
 #hole-focus-shell [data-focus-panel="readout"]>.hole-focus-window-content{grid-template-columns:minmax(0,1fr) minmax(0,3fr) minmax(0,1fr)}
 #hole-focus-shell #holegame [data-focus-panel="readout"] #hole-main-readout{grid-column:1;grid-row:1;grid-template-columns:1fr}
 #hole-focus-shell #holegame [data-focus-panel="readout"] #hole-info{grid-column:2;grid-row:1;border-right:1px solid #333}
 #hole-focus-shell #holegame [data-focus-panel="readout"] #hole-performance{grid-column:3;grid-row:1;grid-template-columns:1fr}
 #hole-focus-shell #holegame [data-focus-panel="readout"] :is(#hole-main-readout>div:first-child,#hole-performance>div:first-child){border-right:0;border-bottom:1px solid #333}
 #hole-focus-shell #holegame [data-focus-panel="readout"] :is(#hole-depth,#hole-money,#hole-power,#hole-passive-power-main,#hole-critical-power){font-size:16px}
 #hole-focus-shell #holegame [data-focus-panel="readout"] :is(#hole-main-readout>div,.hole-info-power,.hole-info-small,#hole-performance>div){padding:5px 3px}
 #hole-focus-shell #holegame [data-focus-panel="readout"] :is(#hole-performance b,#hole-performance i){font-size:9px}
}
@media(max-width:700px),(pointer:coarse){
 #hole-focus-shell #holegame .hole-player-controls{gap:3px;flex-wrap:wrap}
}

/* v238: contained list scrolling, with explicit workspace navigation. */
#hole-focus-shell .hole-focus-window-content,
#hole-focus-shell #holegame.hole-focus-desktop :is(.hole-item-list,.hole-inventory-scroll,#hole-boss-farm-list,#hole-mystic-shop-list,#hole-leaderboard,#hole-equipped-details,.hole-build-summary,.hole-set-summary){overscroll-behavior:contain}
#hole-focus-page-nav{position:fixed;right:32px;bottom:4px;z-index:6000;display:flex;flex-direction:row;gap:2px;padding:2px;background:#13171de8;border:1px solid #465365;box-sizing:border-box}
#hole-focus-page-nav button{display:block;width:24px;height:25px;padding:0;margin:0;border:1px solid #516073;background:#202935;color:#c5d4e5;font:bold 15px/23px monospace;cursor:pointer}
#hole-focus-page-nav button:hover{background:#33445a}
/* The game's inline display:block must not defeat the tree's flex viewport. */
#hole-focus-shell #holegame.hole-focus-desktop #hole-mystic-menu{display:flex!important}
#hole-focus-shell #holegame.hole-focus-desktop #hole-mystic-shop-list{flex:1 1 0;height:0;min-height:0;overflow:auto}
/* Small, explicit corner controls leave the entire button height usable. */
#hole-focus-shell .hole-focus-action{display:flex}
#hole-focus-shell .hole-focus-action>.hole-focus-window-content{width:100%;height:100%}
#hole-focus-shell .hole-focus-action>.hole-focus-dig-grip{position:absolute;left:2px;top:2px;z-index:35;display:flex;align-items:center;justify-content:center;width:26px!important;min-width:26px!important;height:24px!important;min-height:24px!important;padding:0!important;background:#3a2020;color:#c4a3a3;border:1px solid #754646;border-radius:0 0 4px 0;font:16px/22px monospace!important;opacity:.85}
#hole-focus-shell #holegame .hole-focus-action>.hole-focus-collapse{position:absolute;right:3px;top:3px;z-index:35;background:#3a2020!important;border-color:#754646!important;color:#c4a3a3!important}
#hole-focus-shell .hole-focus-action>.hole-focus-resize{right:0;bottom:0;background:#3a2020;color:#ba9696}
#hole-focus-shell .hole-focus-action>.hole-focus-dig-grip:hover{background:#583333;color:#fff;opacity:1}
#hole-focus-shell .hole-focus-action.is-collapsed>.hole-focus-dig-grip{position:relative;inset:auto;justify-content:flex-start;width:100%!important;min-width:0!important;height:32px!important;min-height:32px!important;padding:4px 32px 4px 8px!important;border:0;border-radius:0;font:bold 11px/24px monospace!important}
#hole-focus-shell .hole-focus-action.is-collapsed>.hole-focus-dig-grip>span:after{content:' GRÆV'}
/* One inventory, with a pinned strip that expands beside the list when it fits. */
#holegame .hole-equipment-slots>.hole-equipment-character{display:none}
#hole-focus-shell [data-focus-panel="items"]{container:hole-gear-window / size}
#hole-focus-shell [data-focus-panel="items"]>.hole-focus-window-content{overflow:hidden;display:flex;min-height:0}
#hole-focus-shell #holegame.hole-focus-desktop #hole-loot-overview{display:flex;flex-direction:column;width:100%;height:100%;min-height:0}
#hole-focus-shell #holegame.hole-focus-desktop #hole-loot-overview:not([open])>#hole-loot-list{display:none}
#hole-focus-shell #holegame.hole-focus-desktop #hole-loot-overview>summary{flex:none}
#hole-focus-shell #holegame.hole-focus-desktop #hole-loot-overview::details-content{display:flex;flex:1;min-height:0;overflow:hidden}
#hole-focus-shell #holegame.hole-focus-desktop #hole-loot-list{display:flex;flex-direction:column;flex:1;height:calc(100cqh - 32px);min-height:0;max-height:none;overflow:hidden}
#hole-focus-shell #holegame.hole-focus-desktop .hole-inventory-scroll{flex:1;min-height:0;height:0;max-height:none;overflow:auto;padding:6px;box-sizing:border-box}
#hole-focus-shell #holegame .hole-equipment-dock{position:relative;bottom:auto;display:flex;flex-direction:column;flex:none;max-height:60%;min-height:0;min-width:0;z-index:auto;margin:0;padding:6px 8px;background:#141a24;border:0;border-top:1px solid #4d617c;box-shadow:none;box-sizing:border-box}
#hole-focus-shell #holegame .hole-equipment-dock>b{flex:none;display:block;color:#b3cfee;font:bold 10px/1.4 monospace}
#hole-focus-shell #holegame .hole-equipment-dock>.hole-equipment-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:3px 12px}
#hole-focus-shell #holegame .hole-equipment-dock>small{flex:none;font:9px/1.4 monospace;color:#9da8b6;margin:2px 0 4px}
#hole-focus-shell #holegame .hole-equipment-slots{flex:none;gap:4px;margin:2px 0 5px}
#hole-focus-shell #holegame .hole-equipment-slot>small{display:block;text-align:center;font-size:8px;line-height:10px;min-height:20px;margin:0;color:#aebed2}
#hole-focus-shell #holegame .hole-equipment-slot>button{display:block;width:100%;height:auto!important;min-height:0!important;max-width:56px;position:relative;aspect-ratio:1;padding:3px;margin:0 auto;overflow:hidden;box-sizing:border-box}
#hole-focus-shell #holegame .hole-equipment-slot>button>img{position:absolute;inset:3px;width:calc(100% - 6px);height:calc(100% - 6px);object-fit:contain}
#hole-focus-shell #holegame .hole-equipment-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 8px;flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain}
#hole-focus-shell #holegame .hole-equipment-info>:is(#hole-equipped-details,[open]){grid-column:1/-1}
#hole-focus-shell #holegame #hole-equipped-details:empty{display:none}
#hole-focus-shell #holegame .hole-equipment-dock :is(#hole-equipped-details,.hole-build-summary,.hole-set-summary){max-height:none;overflow:visible;margin:0}
#hole-focus-shell #holegame .hole-equipment-info>details>summary{font:9px/16px monospace;cursor:pointer}
#hole-focus-shell #holegame .hole-equipment-dock button[data-gear-action="remove"]{padding:7px 12px;min-height:32px;margin:8px 0;background:#482729;border:2px outset #936263;color:#f0bfc0;font:bold 10px/1.4 monospace;cursor:pointer}
@container hole-gear-window (min-width:720px) and (min-height:352px){
 #hole-focus-shell #holegame.hole-focus-desktop #hole-loot-list{display:grid;grid-template-columns:minmax(0,1fr) 320px;grid-template-rows:minmax(0,1fr)}
 #hole-focus-shell #holegame.hole-focus-desktop .hole-inventory-scroll{grid-column:1;grid-row:1;height:100%}
 #hole-focus-shell #holegame.hole-focus-desktop .hole-equipment-dock{grid-column:2;grid-row:1;height:100%;max-height:none;border:0;border-left:1px solid #4d617c;padding:8px}
 #hole-focus-shell #holegame.hole-focus-desktop .hole-equipment-slots{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:72px 72px 72px;gap:4px;width:100%;max-width:320px;margin:4px auto 6px;align-items:start;justify-content:stretch}
 #hole-focus-shell #holegame.hole-focus-desktop .hole-equipment-slot{position:relative;z-index:1;min-width:0}
 #hole-focus-shell #holegame.hole-focus-desktop .hole-equipment-slot>small{min-height:20px;font-size:8px;line-height:10px}
 #hole-focus-shell #holegame.hole-focus-desktop .hole-equipment-slot>button{max-width:52px}
 #hole-focus-shell #holegame.hole-focus-desktop .hole-equipment-character{display:block;position:absolute;left:50%;top:76px;transform:translateX(-50%);width:62.65px!important;height:148px!important;max-width:none;object-fit:contain;pointer-events:none;z-index:0;image-rendering:pixelated}
 #hole-focus-shell #holegame.hole-focus-desktop [data-equipment-slot="0"]{grid-column:3;grid-row:1}
 #hole-focus-shell #holegame.hole-focus-desktop [data-equipment-slot="1"]{grid-column:4;grid-row:2}
 #hole-focus-shell #holegame.hole-focus-desktop [data-equipment-slot="2"]{grid-column:1;grid-row:2}
 #hole-focus-shell #holegame.hole-focus-desktop [data-equipment-slot="3"]{grid-column:5;grid-row:2}
 #hole-focus-shell #holegame.hole-focus-desktop [data-equipment-slot="4"]{grid-column:1;grid-row:3}
 #hole-focus-shell #holegame.hole-focus-desktop [data-equipment-slot="5"]{grid-column:2;grid-row:3}
 #hole-focus-shell #holegame.hole-focus-desktop [data-equipment-slot="6"]{grid-column:5;grid-row:3}
 #hole-focus-shell #holegame.hole-focus-desktop .hole-equipment-info{grid-template-columns:1fr;gap:5px;align-content:start}
}
