.view-dungeon #connection,.view-dungeon .scene-footer {display:none}
#expeditionDock[hidden],#expeditionDock .version {display:none!important}
#expeditionDock {
 --brass:#bfac79;--line:#68634c;position:relative;z-index:3;isolation:isolate;flex:none;
 display:grid;grid-template-areas:"spells health load";grid-template-columns:auto 64px auto;
 align-items:center;justify-content:center;column-gap:clamp(10px,1.3vw,25px);
 padding:3px clamp(10px,1.3vw,25px);border-block:1px solid #8d815f;
 background:linear-gradient(180deg,#d0bd861a,transparent 16%,transparent 85%,#10151066),
  repeating-linear-gradient(2deg,#b9ab7a06 0 1px,transparent 1px 5px),linear-gradient(98deg,#30392e,#242f2a 43%,#33392d);
 box-shadow:inset 0 2px #171e19,inset 0 3px #a19b6d33,0 -3px 10px #12191255;
 color:#f2e6c8;font-variant-numeric:tabular-nums;
}
.dungeon-expanded #expeditionDock {
 grid-template-areas:"stock spells health load menus";grid-template-columns:minmax(0,1fr) auto 64px auto minmax(0,1fr);
}
.dock-stock{grid-area:stock;min-width:0}.dock-grimoire{grid-area:spells;justify-self:end}
.dock-health{grid-area:health;justify-self:center;position:relative}
.dock-health::before{content:"";position:absolute;inset:9% -10% 13%;border-block:1px solid #99845a5c;
 background:linear-gradient(90deg,transparent,#b1a17120,transparent);clip-path:polygon(0 50%,15% 0,85% 0,100% 50%,85% 100%,15% 100%)}
#expeditionHealth .combat-heart{width:65px;height:56px;padding:0 0 5px;box-sizing:border-box}
#expeditionHealth .combat-heart strong{font:700 16px/17px BrumesAsul,Georgia,serif}
#expeditionHealth .combat-heart small{font:600 9px/11px "Segoe UI",sans-serif}
.dock-kicker{display:block;color:#d1c194;font:600 9px/12px "Segoe UI",sans-serif;letter-spacing:.13em;text-transform:uppercase}
.dock-grimoire .dock-kicker{margin:0 0 2px 2px}
#expeditionSpells{display:flex;gap:4px}
#expeditionDock .dock-spell{display:grid;place-items:center;position:relative;box-sizing:border-box;
 width:32px;height:32px;min-width:0;min-height:0;padding:2px;margin:0;border:1px solid #988762;border-radius:5px;
 background:linear-gradient(145deg,#514a35,#232c24);box-shadow:inset 0 1px #e4d3a23b,0 1px 2px #121812b0;overflow:hidden}
#expeditionDock .dock-spell img,#expeditionDock .dock-spell svg{display:block;width:100%;height:100%;object-fit:contain;border-radius:2px}
#expeditionDock .dock-spell:hover{border-color:#ecce88;box-shadow:0 0 0 1px #c8a15e80}
.dock-empty{color:#988b69;font:21px/1 Georgia,serif}
#expeditionDock .dock-load {
 grid-area:load;display:grid;grid-template-columns:37px minmax(0,1fr);align-items:center;column-gap:3px;
 width:clamp(145px,13vw,220px);min-width:0;padding:3px 5px;border:1px solid transparent;border-radius:5px;
 text-align:left;background:transparent;color:#eadab8;
}
#expeditionDock .dock-load:hover{background:#b1a57912;border-color:#837658}
.dock-load>img{width:37px;height:auto;filter:drop-shadow(0 1px 1px #111a13)}
.dock-load-details{display:grid;grid-template-columns:1fr auto;align-items:baseline;column-gap:3px;min-width:0}
.dock-load-details b{color:#efe5ce;font:600 12px/16px "Segoe UI",sans-serif;white-space:nowrap}
.dock-load-details .dock-kicker{font-size:9px;letter-spacing:.06em}
.dock-scale{position:relative;grid-column:1/-1;height:14px;isolation:isolate}
.dock-scale::before{position:absolute;content:"";inset:3px 3% 3px;z-index:-1;background:#171f19;
 box-shadow:inset 0 1px 2px #080d08;clip-path:polygon(2% 0,98% 0,100% 50%,98% 100%,2% 100%,0 50%)}
.dock-scale i{display:block;position:absolute;inset:3px 3%;overflow:hidden}
.dock-scale i::after{content:"";display:block;width:var(--carried,0%);height:100%;
 background:linear-gradient(#c0cc8c,#88a263 55%,#58734f);transition:width .25s ease}
.dock-load[data-burden=heavy] .dock-scale i::after{background:linear-gradient(#e9c785,#c59245 55%,#9d693e)}
.dock-load[data-burden=full] .dock-scale i::after{background:linear-gradient(#e8ab81,#b86144 55%,#94402c)}
.dock-load[data-burden=full] .dock-kicker{color:#ffc2a2}
.dock-scale::after{content:"";position:absolute;inset:0;background:url("assets/brumes-interface/charge-reglette.svg") center/100% 100% no-repeat}
#expeditionDock .dock-menus{grid-area:menus;display:none}
#expeditionDock .dock-stock{display:none}
.dungeon-expanded #expeditionDock .dock-stock{display:block}
.dungeon-expanded #expeditionDock .dock-menus{
 display:flex;align-items:center;justify-content:space-evenly;flex-wrap:nowrap;gap:clamp(5px,1vw,20px);
 width:auto;height:auto;min-height:0;margin:0;padding:0 0 0 8px;
 position:static;background:none;border:0;border-left:1px solid var(--line);box-shadow:none;
}
#expeditionDock #resources{margin:0;display:flex;gap:2px;align-items:center;justify-content:space-evenly;flex-wrap:nowrap}
#expeditionDock .res{padding:1px clamp(3px,.45vw,10px);gap:3px;min-width:0;flex:none;background:none;border:0;border-radius:0;box-shadow:none}
#expeditionDock .res .resource-illustration{width:29px;height:29px;flex:none}
#expeditionDock .res .res-value{font:600 14px/18px BrumesAsul,Georgia,serif;color:#efe4c8;white-space:nowrap}
#expeditionDock .res small{font-size:9px;line-height:11px}
#expeditionDock #navigation{order:0;flex:0 0 auto!important;gap:3px;justify-content:start;margin:0;padding:0;width:auto}
#expeditionDock #navigation button{width:32px;min-width:0;height:34px;padding:3px}
#expeditionDock #navigation button[hidden]{display:none!important}
#expeditionDock #navigation .destination-icon{width:25px;height:25px}
#expeditionDock #navigation .destination-label{top:auto;bottom:calc(100% + 6px)}
#expeditionDock .top-actions{--tool-size:32px;gap:0;padding:1px 4px}
#expeditionDock .header-tool .tool-art{width:26px;height:26px}
.view-dungeon.dungeon-expanded #expeditionPanel{height:100dvh;min-height:0}
.view-dungeon.dungeon-expanded #expeditionPanel :is(#sceneBody,#canvasWrap){min-height:0!important}
@media(max-width:1250px){
 #expeditionDock{column-gap:8px;padding-inline:9px}
 #expeditionDock .res{padding:0 4px}#expeditionDock .res .resource-illustration{width:23px;height:23px}
 #expeditionDock .res .res-value{font-size:12px}#expeditionDock .dock-menus{padding-left:4px}
 #expeditionDock #navigation button{width:29px;height:31px}#expeditionDock .top-actions{--tool-size:29px}
}
@media(max-width:1080px){
 .dungeon-expanded #expeditionDock{grid-template-areas:"stock health menus" "spells health load";grid-template-columns:minmax(0,1fr) 65px minmax(0,1fr);row-gap:3px;padding-block:4px}
 #expeditionDock .dock-menus{justify-content:center;border-left:0}#expeditionDock .dock-grimoire{justify-self:center;display:flex;align-items:center;gap:8px}
 #expeditionDock .dock-load{justify-self:center;width:min(100%,200px);padding-block:0}
 #expeditionDock .dock-spell{width:29px;height:29px}
}
@media(max-width:700px){
 body:not(.dungeon-expanded) #expeditionDock{grid-template-columns:minmax(0,1fr) 50px minmax(0,1fr);gap:4px;padding-inline:5px}
 .dungeon-expanded #expeditionDock{grid-template-areas:"stock stock stock" "spells health load" "menus menus menus";
  grid-template-columns:minmax(0,1fr) 50px minmax(0,1fr);gap:1px 4px;padding:2px 5px max(3px,env(safe-area-inset-bottom))}
 #expeditionDock .res .resource-illustration{width:20px;height:20px}
 #expeditionDock .res small,#expeditionDock .dock-grimoire .dock-kicker{display:none}
 #expeditionDock .dock-grimoire{justify-self:end}#expeditionDock .dock-spell{width:25px;height:27px}
 #expeditionSpells{gap:2px}#expeditionHealth .combat-heart{width:53px;height:45px}
 #expeditionHealth .combat-heart strong{font-size:14px;line-height:15px}
 #expeditionDock .dock-load{grid-template-columns:28px minmax(0,1fr);width:min(100%,152px);padding:0 2px}
 .dock-load>img{width:28px}.dock-load-details .dock-kicker{grid-column:1/-1}.dock-load-details b{line-height:12px}
 .dock-scale{height:11px}#expeditionDock .dock-menus{justify-content:space-evenly}
}
@media(prefers-reduced-motion:reduce){.dock-scale i::after{transition:none}}
