/* BF2 8.2.1 — one integrated, accessible language control for PC/H5. */
.b48-public .top #bf70-picker{display:inline-flex!important;align-items:center;gap:0!important;margin:0!important;flex:0 0 auto;max-width:100%;align-self:center}
.b48-public .top #bf70-picker>span[aria-hidden="true"]{display:none!important}
.b48-public .top #bf70-picker select{
 box-sizing:border-box;appearance:none;-webkit-appearance:none;
 width:auto!important;max-width:168px!important;min-height:38px!important;
 padding:7px 27px 7px 31px!important;margin:0!important;
 border:1px solid var(--line)!important;border-radius:18px!important;
 color:var(--text)!important;background:
 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339dec9' stroke-width='1.65'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cellipse cx='12' cy='12' rx='4' ry='9'/%3E%3Cpath d='M3 12h18M5 7h14M5 17h14'/%3E%3C/svg%3E") left 9px center/18px 18px no-repeat,
 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%239ab6c4' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") right 8px center/13px 13px no-repeat,
 var(--bf81-btn)!important;box-shadow:var(--bf81-shadow);font-size:13px!important;cursor:pointer;
}
.b48-public .top #bf70-picker select option{background:var(--card);color:var(--text)}
.b48-public .top #bf70-picker select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.b48-public .top nav#bf81-nav a:hover:not([aria-current=page]):not(.active){color:var(--accent);border-bottom-color:transparent;box-shadow:none}
@media(min-width:1100px){
 .b48-public .top{display:grid;grid-template-columns:max-content minmax(0,1fr) max-content max-content;gap:14px;align-items:center;max-width:1500px;min-height:64px;padding:10px 20px}
 .b48-public .top .brand{grid-column:1;grid-row:1;margin:0}
 .b48-public .top nav#bf81-nav{grid-column:2;grid-row:1;display:flex;flex-wrap:nowrap;justify-content:safe center;overflow-x:auto;min-width:0;width:100%;gap:0;scrollbar-width:thin;scrollbar-color:var(--line) transparent;order:0}
 .b48-public .top nav#bf81-nav a{flex:0 0 auto;font-size:13px;padding:8px clamp(5px,.54vw,10px)}
 .b48-public .top #theme{grid-column:3;grid-row:1;white-space:nowrap;margin:0;min-height:38px}
 .b48-public .top #bf70-picker{grid-column:4;grid-row:1}
 .b48-public .top #bf81-menu{display:none}
}
/* If a translated navigation row is long, keep its start reachable instead of clipping. */
@media(min-width:1100px) and (max-width:1320px){.b48-public .top nav#bf81-nav{justify-content:flex-start}.b48-public .top{gap:10px}}
@media(min-width:761px) and (max-width:1099px){
 .b48-public .top{display:grid;grid-template-columns:minmax(0,1fr) max-content max-content;gap:7px 12px;padding:9px 14px}
 .b48-public .top .brand{grid-row:1;grid-column:1;margin:0}
 .b48-public .top #theme{grid-row:1;grid-column:2;margin:0;min-height:38px}
 .b48-public .top #bf70-picker{grid-row:1;grid-column:3}
 .b48-public .top nav#bf81-nav{grid-row:2;grid-column:1/-1;display:flex;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;gap:3px;width:100%;padding:0}
 .b48-public .top nav#bf81-nav a{flex:0 0 auto}
}
@media(max-width:760px){
 .b48-public .top #bf70-picker select{max-width:123px!important;min-height:33px!important;padding:5px 21px 5px 25px!important;background-position:left 6px center,right 5px center,center!important;background-size:15px 15px,11px 11px,auto!important;font-size:12px!important}
}
@media(max-width:360px){.b48-public .top #bf70-picker select{max-width:102px!important;font-size:11px!important;padding-left:22px!important;padding-right:18px!important;background-position:left 4px center,right 4px center,center!important}}
