/* DeepRoute H13.2 language mini-menu.
 * Only the new popup is styled here; existing header geometry/design is untouched.
 */
body.dr-fantasy .dr-language-panel{
  position:fixed;z-index:2600;width:min(286px,calc(100vw - 16px));
  box-sizing:border-box;padding:10px 11px 11px;
  border:1px solid #a67532;border-radius:7px;
  background:linear-gradient(165deg,#2a190d,#130d08 72%);
  box-shadow:0 12px 30px #000b,inset 0 0 0 1px #4e3218;
  color:#ead7af;font-family:Georgia,serif;
}
body.dr-fantasy .dr-language-panel[hidden]{display:none!important;}
body.dr-fantasy .dr-language-heading{
  margin:0 0 8px;padding:0 0 7px;border-bottom:1px solid #69451f;
  color:#f1c979;font:bold 14px/1.2 Georgia,serif;letter-spacing:.04em;
}
body.dr-fantasy .dr-language-row{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  min-height:35px;
}
body.dr-fantasy .dr-language-row+.dr-language-row{border-top:1px solid rgba(120,82,37,.45);}
body.dr-fantasy .dr-language-row-label{font-size:12px;line-height:1.2;}
body.dr-fantasy .dr-language-choice{display:flex;gap:3px;flex:none;}
body.dr-fantasy .dr-language-choice button{
  width:34px;min-width:34px;height:26px;padding:0;
  border:1px solid #86602f;border-radius:5px;background:#17100a;
  color:#ead3a4;font:bold 11px Georgia,serif;cursor:pointer;
}
body.dr-fantasy .dr-language-choice button:hover,
body.dr-fantasy .dr-language-choice button:focus-visible{background:#533119;color:#fff3c9;}
body.dr-fantasy .dr-language-choice button[aria-pressed="true"]{
  background:linear-gradient(#7c5523,#3e2811);color:#fff0bd;
  border-color:#d2a14b;box-shadow:inset 0 0 0 1px #2d1908;
}
body.dr-fantasy .dr-language-choice button:focus-visible{outline:2px solid #76dda9;outline-offset:2px;}
