/* Enabled by the same mqPhone query that owns the game's phone sheets. */
.desktop-hud-control{display:none!important}
.desktop-hud #desktopQuest{display:inline-flex!important;position:relative;min-width:44px;min-height:44px}
.desktop-hud #desktopQuest[aria-expanded="true"]{background:var(--wood-mid);border-color:var(--wood-gold);box-shadow:var(--wood-recess)}
.desktop-hud .desktop-quest-hidden{display:none}
.hud-news{position:absolute;top:2px;right:2px;min-width:10px;min-height:10px;border-radius:12px;background:var(--wood-gold);color:var(--wood-dark);box-shadow:0 0 0 2px var(--wood-dark);font:700 11px/1.3 var(--prose);font-style:normal}
.hud-news[hidden]{display:none}
.desktop-hud .hud .bl{width:min(594px,calc(100vw - var(--desktop-dock-width,var(--dock)) - 3 * var(--gap) - var(--sl) - var(--sr)))}
.desktop-hud .chat-h{align-items:center;padding-bottom:4px}
.desktop-hud #chatX{flex:none;min-width:44px;min-height:44px;padding:0 10px;border:1px solid var(--wood-gold);border-radius:var(--wood-radius);background:var(--wood-surface);color:var(--wood-gold);box-shadow:var(--wood-bevel);font:var(--wood-type-sm)/1 var(--prose)}
.desktop-hud #chatXi{font-size:24px}
.desktop-hud #chatMinimiseLabel{display:inline!important}
.desktop-hud .chat.min{display:none}
.desktop-hud .bl:has(.chat.min){width:56px}
.desktop-hud .bl:has(.chat.min) #desktopChat{display:flex!important;position:relative;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%}
.desktop-hud #desktopUnread{padding:2px 5px}
.desktop-hud .hud .mbar{order:2;padding:8px 0 0;flex:none}
.desktop-hud .hud .panel{order:1}
.desktop-hud .hud .dock.closed{padding:0;border:0;background:none;box-shadow:none}
.desktop-hud .dock.closed::before,.desktop-hud .dock.closed::after{display:none}
.desktop-hud .dock.closed .mbar{padding:0}
.desktop-hud .hud .br{width:max-content;min-width:var(--dock)}
.desktop-hud .hud .panel{width:0;min-width:100%}
.desktop-hud .tabs{grid-template-columns:repeat(6,max-content);justify-content:space-between}
.desktop-hud .tabs .tab{min-width:44px;padding-inline:10px}
.desktop-hud .tabs .tab>span:not(.ti){display:block;max-width:none;flex-shrink:0;white-space:nowrap}
.desktop-hud .sheet-h{position:sticky;top:0;z-index:2;background:var(--wood-surface)}
.desktop-hud .sheet-h button{display:flex;align-items:center;gap:6px;width:auto;min-width:44px;min-height:44px;padding:0 10px;border-radius:var(--wood-radius)}
.desktop-hud .sheet-h button span[aria-hidden]{font-size:24px}
.desktop-hud :is(#desktopQuest,#desktopChat,#chatX,.sheet-h button,.tabs button):focus-visible{outline:3px solid var(--lagoon);outline-offset:3px}
@media(prefers-reduced-motion:reduce){
  .desktop-hud :is(#desktopQuest,#desktopChat,#chatX,.sheet-h button,.tabs button){transition:none;animation:none}
}
