/* Site-wide selector style (user 2026-10-25): every selector / toggle / tab group uses the Calendar & Results top-bar pill
   (.fdcal-bar.uni, ur2d-final-calendar). One rounded dark-glass container, borderless rounded items inside, muted mono labels,
   soft white fill on hover / active. Overrides component styles, hence the !important + html body prefix.
   Containers: driver switch (.fdd-dsw), team switch (.tp-ctx / .tp-sw > .tp-swl / .tp-ssel / .tp-hvchip),
   tab groups (.fdt-tabs, .fra-tabs, .frp-tabs), league filters (.tp-jf / .fdd-jf), H2H season row (.tp-lsel), inline-styled groups
   tagged .ur-seg; every dropdown (see the dropdown block below). Not here: big league logos, Tweaks panel. */
:root{--urs-line:rgba(243,241,236,.16);--urs-bg:rgba(7,7,7,.72);--urs-hov:rgba(243,241,236,.08);--urs-on:rgba(243,241,236,.14);--urs-mute:#B8B8C0}
html body .tp-root .fdd-dsw,html body .tp-root .tp-ctx,html body .tp-root .tp-sw>.tp-swl,html body .tp-root .tp-sw>.tp-ssel,html body .tp-root .tp-hvchip,html body .fdt-tabs,html body .fra-tabs,html body .frp-tabs,html body .tp-root .tp-jf,html body .tp-root.fdd .fdd-jf,html body .tp-root .tp-lsel,html body .fdd-chips,html body .ur-seg{display:inline-flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:2px!important;height:42px!important;max-width:100%;box-sizing:border-box!important;padding:0 4px!important;border:1px solid var(--urs-line)!important;border-radius:999px!important;background:var(--urs-bg)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:none!important}
html body .tp-root .tp-ctx .fdd-dsw{height:34px!important;padding:0 4px 0 0!important;margin-right:2px;border:0!important;border-right:1px solid var(--urs-line)!important;border-radius:0!important;background:none!important;-webkit-backdrop-filter:none;backdrop-filter:none}
html body .fdt-tabs{margin-bottom:24px}
html body .tp-root .tp-lsel{overflow-x:auto;padding:0 4px!important;margin:16px 0 4px}
html body .tp-root .tp-lsel .sep{flex:none!important;width:1px!important;height:22px!important;margin:0 6px!important;padding:0!important;background:var(--urs-line)!important;border:0!important}
html body .tp-root .fdd-dsw .ar,html body .tp-root .fdd-dsw .tp-popb,html body .tp-root .tp-ctx .tp-popb,html body .tp-root .tp-sw>.tp-swl button,html body .fdt-tab,html body .fra-tab,html body .frp-tab,html body .tp-root .tp-jf button,html body .tp-root.fdd .fdd-jf button,html body .tp-root .tp-lsel button,html body .fdd-chip,html body .ur-seg>button{box-sizing:border-box!important;cursor:pointer;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px;height:34px!important;min-width:34px;margin:0!important;padding:0 14px!important;border:0!important;border-radius:999px!important;background:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;color:var(--urs-mute)!important;font-family:'JetBrains Mono',monospace!important;font-weight:500!important;font-size:12px!important;line-height:1!important;letter-spacing:.12em!important;text-transform:uppercase;white-space:nowrap;transition:background .15s,color .15s,opacity .2s,filter .2s}
html body .tp-root .fdd-dsw .ar:hover,html body .tp-root .fdd-dsw .tp-popb:hover,html body .tp-root .tp-ctx .tp-popb:hover,html body .tp-root .tp-sw>.tp-swl button:hover,html body .fdt-tab:hover,html body .fra-tab:hover,html body .frp-tab:hover,html body .tp-root .tp-jf button:hover,html body .tp-root.fdd .fdd-jf button:hover,html body .tp-root .tp-lsel button:hover,html body .fdd-chip:hover,html body .ur-seg>button:hover,
html body .tp-root .tp-popb[aria-expanded="true"]{background:var(--urs-hov)!important;color:#fff!important}
html body .fdt-tab[aria-selected="true"],html body .fra-tab[aria-pressed="true"],html body .frp-tab[aria-pressed="true"],html body .tp-root .tp-jf button.on,html body .tp-root.fdd .fdd-jf button.on,html body .tp-root .tp-lsel button.on,html body .tp-root .tp-sw>.tp-swl button.on,html body .fdd-chip[aria-pressed="true"],html body .ur-seg>button[aria-pressed="true"],html body .ur-seg>button[aria-selected="true"]{background:var(--urs-on)!important;color:#fff!important}
html body .tp-root .tp-lsel button.on i{color:#fff!important}
html body .tp-root .fdd-dsw .ar{width:34px!important;padding:0!important;font-family:'Archivo',sans-serif!important;font-size:18px!important;letter-spacing:0!important}
html body .tp-root .fdd-dsw .ar[disabled]{opacity:.3;cursor:default;background:transparent!important;color:var(--urs-mute)!important}
html body .tp-root .tp-popb,html body .tp-root .tp-popb span{color:#fff}
html body .tp-root .tp-sw>.tp-ssel{padding:0 6px 0 16px!important;gap:10px!important}
html body .tp-root .tp-hvchip{padding:0 14px 0 12px!important;gap:10px!important}
html body .tp-root .tp-ctx .tp-tmrow{height:34px;align-items:center}
html body .tp-root .fdd-dsw .ar:focus-visible,html body .tp-root .tp-popb:focus-visible,html body .fdt-tab:focus-visible,html body .fra-tab:focus-visible,html body .frp-tab:focus-visible,html body .tp-root .tp-jf button:focus-visible,html body .tp-root.fdd .fdd-jf button:focus-visible,html body .tp-root .tp-lsel button:focus-visible,html body .fdd-chip:focus-visible,html body .ur-seg>button:focus-visible{outline:2px solid #fff!important;outline-offset:-2px!important}
html body .ur-seg>button{width:auto!important}
html body .ur-seg>button img,html body .fdd-chip img{max-height:22px}
html body .fdd-chip.lgo{padding:0 12px!important}
/* glide indicator (ur2d-selectors.js): one shared pill slides to the active button */
html body .urs-g{position:relative!important}
html body .urs-g>:not(.urs-glide){position:relative;z-index:1}
html body .urs-g>.urs-glide{position:absolute;left:0;top:0;z-index:0;border-radius:999px;background:var(--urs-on);pointer-events:none;transition:transform .38s cubic-bezier(.3,.7,.2,1),width .38s cubic-bezier(.3,.7,.2,1),height .38s,opacity .2s}
html body .urs-g.urs-g.urs-g>:is(button,a)[aria-pressed="true"],html body .urs-g.urs-g.urs-g>:is(button,a)[aria-selected="true"],html body .urs-g.urs-g.urs-g>:is(button,a).on{background:transparent!important;box-shadow:none!important}
@media (prefers-reduced-motion:reduce){html body .urs-g>.urs-glide{transition:none}}
/* ONE dropdown style site-wide (user 2026-11-04: "all dropdown menus use this style" = the Calendar & Results round picker,
   .fdcal-pick .urrp-btn). Trigger = 42px dark-glass pill (34px when it sits inside another pill or a dense card / table),
   JetBrains Mono 12px .12em caps, value in white, small red ▼ that flips when open. Menu = #0B0B0D panel, hairline border,
   red 2px top rule, square corners; picked row = 3px accent bar on the left (like the round picker's season list).
   Covers: every native <select> except the Tweaks panel (ur2d-selectors.js also gives them the custom list), the H2H driver
   pickers + calendar fallback (.fdcs), team / driver page menus (.tp-popb / .tp-ddb), the quali lap picker (.frq-lpb). */
html body select:not(.twk-field){appearance:none;-webkit-appearance:none;height:42px!important;box-sizing:border-box!important;padding:0 40px 0 18px!important;border:1px solid var(--urs-line)!important;border-radius:999px!important;background-color:var(--urs-bg)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6'%3E%3Cpath d='M0 0h8L4 6z' fill='%23E10600'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 16px center!important;background-size:8px 6px!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff!important;font-family:'JetBrains Mono',monospace!important;font-weight:700!important;font-size:12px!important;line-height:1!important;letter-spacing:.12em!important;text-transform:uppercase;cursor:pointer;transition:background-color .15s,border-color .15s}
html body select:not(.twk-field):hover{background-color:rgba(24,24,26,.82)!important}
html body select:not(.twk-field):focus-visible{outline:2px solid #fff;outline-offset:2px}
html body select:not(.twk-field) option{background:#0B0B0D;color:#F3F1EC;text-transform:none;letter-spacing:normal}
html body select:not(.twk-field).open{background-color:rgba(24,24,26,.82)!important;border-color:rgba(243,241,236,.32)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6'%3E%3Cpath d='M0 6h8L4 0z' fill='%23E10600'/%3E%3C/svg%3E")!important}
html body select:not(.twk-field)+span[aria-hidden],html body select:not(.twk-field)+svg,html body .fdh-sel:after,html body .fdr-pick:after,html body .fwi-sw:after,html body .flc-pw::after,html body .fdd-rvsel:after{display:none!important}
html body .tp-root .tp-ssel select{height:34px!important;padding:0 28px 0 4px!important;border:0!important;background-color:transparent!important;-webkit-backdrop-filter:none;backdrop-filter:none;background-position:right 10px center!important}
html body .tp-root .tp-ssel select:hover,html body .tp-root .tp-ssel select.open{background-color:var(--urs-hov)!important;border-radius:999px!important}
html body .fdr-pick select,html body select.flc-pick,html body select.fwi-sel{height:34px!important;padding:0 32px 0 14px!important;background-position:right 13px center!important}
html body select.flc-pick{letter-spacing:.06em!important}
/* custom list for the selects (ur2d-selectors.js) */
.ur-selpop{position:fixed;z-index:1000;box-sizing:border-box;display:flex;flex-direction:column;width:max-content;max-width:min(360px,calc(100vw - 16px));padding:6px 0;background:#0B0B0D;border:1px solid #2a2a30;border-radius:0;box-shadow:inset 0 2px 0 #E10600,0 24px 60px rgba(0,0,0,.6);animation:ur-selpop-in .16s ease both;font-family:'Archivo',sans-serif}
@keyframes ur-selpop-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.ur-selpop:focus{outline:none}
.ur-selpop input{all:unset;box-sizing:border-box;flex:none;width:calc(100% - 24px);height:36px;padding:0 12px;margin:8px 12px 6px;border:1px solid #2a2a30;font-family:'Archivo',sans-serif;font-size:14px;color:#F3F1EC}
.ur-selpop input:focus{border-color:#8A8A92}.ur-selpop input::placeholder{color:#8A8A92}
.ur-selpop .hd{flex:none;padding:4px 16px 8px;font:500 11px/1.2 'JetBrains Mono',monospace;letter-spacing:.2em;text-transform:uppercase;color:#8A8A92}
.ur-selpop .ls{display:grid;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(243,241,236,.2) transparent}
.ur-selpop .ls button{all:unset;box-sizing:border-box;cursor:pointer;position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:9px 16px;transition:background .12s}
.ur-selpop .ls button.hi{background:rgba(255,255,255,.04)}
.ur-selpop .ls button.on:before{content:'';position:absolute;left:0;top:6px;bottom:6px;width:3px;background:#E10600}
.ur-selpop .ls button.dis{opacity:.4;cursor:default}
.ur-selpop .ls b{display:flex;align-items:center;gap:9px;font-stretch:72%;font-weight:800;font-size:16px;letter-spacing:.02em;text-transform:uppercase;color:#bdbdc4;white-space:nowrap}
.ur-selpop .ls button.on b,.ur-selpop .ls button.hi b{color:#F3F1EC}
.ur-selpop .ls i{font:500 11px/1 'JetBrains Mono',monospace;font-style:normal;letter-spacing:.14em;text-transform:uppercase;color:#8A8A92;white-space:nowrap}
.ur-selpop .ls button.on i,.ur-selpop .ls button.hi i{color:#B8B8C0}
.ur-selpop .none{padding:12px 16px;font:500 12px/1.4 'JetBrains Mono',monospace;letter-spacing:.12em;text-transform:uppercase;color:#8A8A92}
/* H2H driver pickers + calendar fallback switch (.fdcs, FDCS_CSS in ur2d-final-calendar) */
html body .fdcs>button{border:1px solid var(--urs-line)!important;border-radius:999px!important;background:var(--urs-bg)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
html body .fdcs>button:hover:not([disabled]),html body .fdcs .bt[aria-expanded="true"]{background:rgba(24,24,26,.82)!important;border-color:rgba(243,241,236,.32)!important}
html body .fdcs .bt{height:42px!important;padding:0 16px 0 18px!important;gap:10px!important;font:700 12px/1 'JetBrains Mono',monospace!important;letter-spacing:.12em!important;text-transform:uppercase!important;color:#fff!important}
html body .fdcs .bt i{font-size:8px!important;color:#E10600!important}
html body .fdcs .ar{width:42px!important;height:42px!important;padding:0!important}
html body .fdcs .pop{padding:6px 0!important;border:1px solid #2a2a30!important;border-radius:0!important;box-shadow:inset 0 2px 0 #E10600,0 24px 60px rgba(0,0,0,.6)!important}
html body .fdcs .pop input{width:calc(100% - 24px)!important;margin:8px 12px 6px!important;height:36px!important}
html body .fdcs .pop .hd{padding:4px 16px 8px!important}
html body .fdcs .ls>button{position:relative;padding:9px 16px!important}
html body .fdcs .ls>button.on{background:transparent!important}
html body .fdcs .ls>button.hi{background:rgba(255,255,255,.04)!important}
html body .fdcs .ls>button.on:before{content:'';position:absolute;left:0;top:6px;bottom:6px;width:3px;background:var(--lc,#E10600)}
/* team / driver page menus */
html body .tp-root .tp-popb i,html body .tp-root .tp-ddb i{display:inline-flex!important;font-size:0!important;line-height:0!important;font-style:normal;transition:transform .2s}
html body .tp-root .tp-popb i:after,html body .tp-root .tp-ddb i:after{content:'▼';font-size:8px;line-height:1;color:#E10600}
html body .tp-root .tp-popb[aria-expanded="true"] i,html body .tp-root .tp-ddb[aria-expanded="true"] i{transform:rotate(180deg)}
html body .tp-root .tp-ddb{height:42px!important;padding:0 16px 0 14px!important;border:1px solid var(--urs-line)!important;background:var(--urs-bg)!important;font-family:'JetBrains Mono',monospace!important;font-weight:700!important;font-size:12px!important;letter-spacing:.12em!important;color:#fff!important}
html body .tp-root .tp-ddb:hover,html body .tp-root .tp-ddb[aria-expanded="true"]{background:rgba(24,24,26,.82)!important;border-color:rgba(243,241,236,.32)!important}
html body .tp-root .tp-popm,html body .tp-root .tp-ddm,html body .frq-pop{background:#0B0B0D!important;border:1px solid #2a2a30!important;border-radius:0!important;box-shadow:inset 0 2px 0 #E10600,0 24px 60px rgba(0,0,0,.6)!important}
html body .tp-root .fdd-dpm .ls>button{position:relative}
html body .tp-root .fdd-dpm .ls>button.on{background:transparent!important}
html body .tp-root .fdd-dpm .ls>button.on.hi,html body .tp-root .fdd-dpm .ls>button.on:hover{background:rgba(243,241,236,.07)!important}
html body .tp-root .fdd-dpm .ls>button.on:before{content:'';position:absolute;left:0;top:6px;bottom:6px;width:3px;background:var(--tc,#E10600)}
/* quali / laps lap picker (.frq-lpb, ur2d-race-analysis-quali) */
html body .frq-lpb{grid-template-columns:10px 44px minmax(0,1fr) 12px!important;padding:6px 18px 6px 16px!important;border:1px solid var(--urs-line)!important;border-radius:999px!important;background:var(--urs-bg)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
html body .frq-lpb:hover,html body .frq-lpb[aria-expanded="true"]{background:rgba(24,24,26,.82)!important;border-color:rgba(243,241,236,.32)!important}
html body .frq-lpb .sw{align-self:center!important;margin:0!important;width:10px;height:10px;border-radius:50%}
html body .frq-lpb small{font:500 11px/1 'JetBrains Mono',monospace!important;letter-spacing:.12em!important}
html body .frq-lpb .cv{width:auto!important;height:auto!important;border:0!important;transform:none!important;display:inline-flex;justify-content:center;transition:transform .2s}
html body .frq-lpb .cv:after{content:'▼';font-size:8px;line-height:1;color:#E10600}
html body .frq-lpb[aria-expanded="true"] .cv{transform:rotate(180deg)!important}
@media (max-width:560px){html body .fdt-tabs,html body .fra-tabs,html body .frp-tabs,html body .fdd-chips,html body .ur-seg{overflow-x:auto;scrollbar-width:none}}
