/* Shared visual treatment for the level select and visit multiselect. */
body.reforged #questing .dungeon-filters { align-items:center; }
body.reforged #questing .dungeon-filters > label,
body.reforged #questing .dungeon-priority-picker { position:relative;display:flex;align-items:center;gap:9px;min-width:0;color:#d6c9af;font:400 13px/1.5 var(--sans,sans-serif); }
body.reforged #questing :is(#dungeon-level-filter,.dungeon-priority-trigger) {
  appearance:none;box-sizing:border-box;display:block;width:200px;min-width:0;max-width:100%;height:40px;min-height:40px;
  margin:0;padding:8px 36px 8px 12px!important;border:1px solid #65543b!important;border-image:none!important;border-radius:2px;
  background-color:#171512!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23c5aa73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:12px 12px!important;
  color:#e0c993!important;font:400 13px/1.5 var(--sans,sans-serif)!important;text-align:left;text-transform:none;letter-spacing:0;text-shadow:none;
  box-shadow:inset 0 1px #ffffff08!important;cursor:pointer;
}
body.reforged #questing :is(#dungeon-level-filter,.dungeon-priority-trigger):hover,
body.reforged #questing .dungeon-priority-trigger[aria-expanded=true] { background-color:#242017!important;border-color:#9f8552!important;color:#fff0cd!important; }
body.reforged #questing #dungeon-priority-summary { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
body.reforged #questing .dungeon-priority-arrow { display:none; }
body.reforged #questing #dungeon-result-count { padding-bottom:0; }
body.reforged #questing .dungeon-priority-options { position:absolute;z-index:90;inset:calc(100% + 7px) 0 auto auto;min-width:280px;max-width:min(360px,calc(100vw - 48px));margin:0;padding:8px;background:#171512f7;border:1px solid #65543b;border-radius:2px;box-shadow:0 14px 34px #0009;color:#e0c993;backdrop-filter:blur(12px); }
body.reforged #questing .dungeon-priority-options legend { position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }
body.reforged #questing .dungeon-priority-options label { display:flex;flex-direction:row;flex:0 0 auto;align-items:center;gap:10px;min-height:40px;margin:0;padding:8px 10px;border-radius:2px;color:#e0c993;font:400 13px/1.5 var(--sans,sans-serif);cursor:pointer; }
body.reforged #questing .dungeon-priority-options label:hover { background:#c5aa7310;color:#fff0cd; }
body.reforged #questing .dungeon-priority-options .dungeon-priority-all { border-bottom:1px solid #c5aa7330;border-radius:0;margin-bottom:5px;padding-bottom:12px;color:#fff0cd; }
body.reforged #questing .dungeon-priority-options input { appearance:auto;accent-color:#c5aa73;flex:none;width:17px;height:17px;margin:0;cursor:pointer; }
body.reforged #questing :is(#dungeon-level-filter,.dungeon-priority-trigger):focus-visible,
body.reforged #questing .dungeon-priority-options input:focus-visible { outline:2px solid #d9bd75;outline-offset:3px; }
body.reforged #questing :is(#dungeon-level-filter,.dungeon-priority-trigger):focus:not(:focus-visible),
body.reforged #questing .dungeon-priority-options input:focus:not(:focus-visible) { outline:none; }
@media(max-width:700px) {
  body.reforged #questing .dungeon-filters > label,
  body.reforged #questing .dungeon-priority-picker { width:100%;flex:1 1 100%;align-items:stretch;flex-direction:column;gap:6px; }
  body.reforged #questing :is(#dungeon-level-filter,.dungeon-priority-trigger) { width:100%;max-width:none; }
  body.reforged #questing .dungeon-priority-options { left:0;right:auto;min-width:min(280px,100%);width:100%;box-sizing:border-box; }
}
