.player select[hidden], .site-head select[hidden] { display:none; }
.line-picker { position:relative; min-width:0; color:#edf6ff; }
.line-picker summary { list-style:none; display:flex; align-items:center; gap:12px; min-height:40px; padding:0 13px; border:1px solid #345573; border-radius:7px; background:linear-gradient(115deg,#183c61,#102a44); font-size:17px; font-weight:650; cursor:pointer; }
.line-picker summary::-webkit-details-marker { display:none; }
.line-picker summary span { font-size:inherit; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.line-picker summary::after { content:""; flex:none; width:7px; height:7px; margin:-3px 1px 0 auto; border:solid #a5d6ff; border-width:0 1.7px 1.7px 0; transform:rotate(45deg); }
.line-picker[open] summary { border-color:#5798ca; }
.line-picker[open] summary::after { transform:rotate(225deg); margin-top:4px; }
.line-picker summary[aria-disabled=true] { cursor:wait; opacity:.65; }
.line-picker .picker-list { position:absolute; z-index:5; top:calc(100% + 6px); left:0; min-width:100%; width:max-content; max-width:calc(100vw - 24px); max-height:min(52dvh,420px); overflow:auto; overscroll-behavior:contain; padding:5px; background:#0d2238; border:1px solid #3c5b78; border-radius:9px; box-shadow:0 12px 28px #04101d66; }
:is(.player, .site-head) .line-picker .picker-list button { display:flex; align-items:center; gap:15px; width:100%; min-height:42px; padding:8px 12px; font-weight:600; font-family:inherit; font-size:15px; line-height:1.25; color:#dceafa; background:transparent; text-align:left; white-space:nowrap; border:0; border-radius:5px; }
:is(.player, .site-head) .line-picker .picker-list button:hover,:is(.player, .site-head) .line-picker .picker-list button:focus-visible { background:#213f5c; }
:is(.player, .site-head) .line-picker .picker-list button[aria-current=true] { background:#0056a4; color:white; }
.line-picker button[aria-current=true]::after { content:"✓"; margin-left:auto; }
.line-picker summary:focus-visible,.line-picker button:focus-visible { outline:2px solid #9ed4ff; outline-offset:-2px; }
.equipment-picker { display:none; }
@media(max-width:720px),(any-pointer:coarse) and (max-height:560px) {
  .equipment-picker { display:block; }
  .player nav.view-nav:has(.equipment-picker) { top:66px; background:transparent; border:0; overflow:visible; }
  .site-head .production-picker { position:absolute; top:calc(100% + 9px); right:8px; width:calc(50% - 12px); }
  .production-picker .picker-list { left:auto; right:0; }
  .line-picker summary { min-height:44px; font-size:15px; }
  :is(.player, .site-head) .line-picker .picker-list button { min-height:44px; }
}

.language-picker { margin-left:auto; flex-shrink:0; }
.language-picker .picker-list { left:auto; right:0; }
