:root{--ui-font:"Geist Variable","Noto Sans SC Variable","Microsoft YaHei",sans-serif;--el-font-family:var(--ui-font);--el-font-size-base:14px;--el-font-size-small:12px;--el-border-radius-base:5px;--el-component-size:36px;font-family:var(--ui-font);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
body,button,input,select,textarea,.el-input__inner,.el-select__placeholder,.el-select-dropdown__item,.el-button{font-family:var(--ui-font)}
.ui-icon{display:inline-block;vertical-align:middle;flex-shrink:0;width:16px;height:16px}.lucide{stroke-width:1.75;flex-shrink:0}.site-header .game-menu>summary{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;height:32px;padding:0 12px;line-height:1}.game-menu>summary .menu-leading,.game-menu>summary .menu-caret{display:flex}.game-menu>summary .menu-leading{display:none}.game-menu>summary .menu-caret{margin-left:2px}.game-menu>summary .menu-caret .ui-icon{width:14px;height:14px}.game-menu[open]>summary{background:var(--soft)}.game-menu[open]>summary .menu-caret{transform:rotate(180deg)}#theme-toggle,.reset-filters{display:inline-flex;align-items:center;gap:7px;line-height:1.4}#theme-toggle{height:32px;padding:0 10px;font-size:12px}.roster-search .el-input__wrapper{padding:1px 12px;min-height:36px}.roster-search .el-input__inner{font-size:14px;height:34px;line-height:34px}.roster-search .el-input__prefix-inner{margin-right:8px}.el-input__icon svg,.el-select__caret svg{width:16px;height:16px}.open-filters.el-button{font-size:14px;height:36px;font-weight:600;letter-spacing:0}.open-filters.el-button>span{display:flex;align-items:center;gap:9px}.roster-table th{font-size:14px;line-height:20px;font-weight:700}.roster-table th a{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;font-size:12px}.roster-table th .ui-icon{width:13px;height:13px}.roster-table td{font-size:12px;line-height:18px;font-weight:600}.roster-table .card-link strong{font-size:14px;font-weight:700;line-height:20px}.roster-table .card-link small{font-size:10px;line-height:14px;margin-top:1px}.found-count{font-size:14px;line-height:20px}.profile-info h1{font-size:28px;line-height:1.2;font-weight:700;letter-spacing:-.45px}.profile-facts dd{font-weight:700;font-size:14px;line-height:20px}.profile-facts dt{font-size:11px;line-height:16px}.profile-tabs a{font-size:14px;font-weight:500}.compact-stat-group dl>div{font-size:13px;line-height:20px}.compact-stat-group h3{font-size:12px;line-height:18px}.badge-tile strong{font-size:12px;line-height:16px}.badge-shield .ui-icon{width:22px;height:22px}.pagination a,.update-heading a{display:inline-flex;align-items:center;gap:6px}.native-filter-toggle>summary{display:flex;align-items:center;justify-content:center;gap:9px;font-size:14px}.native-filter-toggle>summary::-webkit-details-marker{display:none}
.game-menu{position:relative}.game-menu-backdrop,.drawer-header,.drawer-group-toggle{display:none}.game-menu-panel.function-columns{grid-template-columns:repeat(2,minmax(0,1fr));width:440px;max-width:94vw;left:0;top:calc(100% + 14px);gap:24px;padding:16px;max-height:75vh}.desktop-menu-heading{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;height:35px;padding:0 10px;margin:0 0 8px;border:1px solid var(--line)}.site-header .function-columns .game-option{display:flex;align-items:center;min-height:32px;font-size:13px;font-weight:500;padding:6px 10px;border-radius:4px;line-height:20px;color:var(--muted)}.site-header .function-columns .game-option:hover,.site-header .function-columns .game-option:focus-visible{background:var(--soft);color:var(--ink)}.site-header .function-columns .game-option[aria-current]{color:var(--accent);background:var(--el-color-primary-light-9)}

/* One compact header row on phones; the desktop utility link stays out of the way. */
@media(max-width:700px){
  .site-header{height:56px;min-height:56px;flex-wrap:nowrap;padding:0 12px;gap:8px;position:sticky;top:0;z-index:80}
  .site-header .brand{flex:0 1 auto;min-width:0}
  .site-header .main-navigation{order:0;width:auto;height:32px;margin:0 0 0 auto}
  .site-header .game-menu>summary{width:38px;padding:0;justify-content:center}
  .site-header .game-menu>summary .menu-leading{display:flex}
  .site-header .game-menu>summary .game-menu-label,.site-header .game-menu>summary .menu-caret{display:none}
  .site-header .game-menu>summary .menu-leading .ui-icon{width:19px;height:19px}
  #theme-toggle{margin:0;flex:0 0 auto}
  .game-menu{position:static}
  .game-menu-backdrop{position:fixed;inset:0;display:block;border:0;background:#0b102066;z-index:81}
  .game-menu-panel.function-columns{position:fixed;display:block;inset:0 auto 0 0;z-index:82;width:min(330px,88vw);max-width:none;max-height:none;overflow-y:auto;padding:0 12px 24px;border:0;border-right:1px solid var(--line);border-radius:0 9px 9px 0;animation:playerdb-drawer-in .18s ease-out}
  .drawer-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;height:58px;padding:0 4px 0 8px;background:var(--panel);border-bottom:1px solid var(--line)}
  .drawer-header strong{font-size:14px}.drawer-header button{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:5px;background:var(--soft);color:var(--ink)}
  .desktop-menu-heading{display:none}.drawer-group-toggle{display:flex;align-items:center;width:100%;height:46px;margin-top:10px;padding:0 10px;border:0;border-radius:5px;background:var(--soft);color:var(--ink);font-size:13px;font-weight:650;text-align:left}.drawer-group-toggle span{margin-left:9px}.drawer-group-toggle .ui-icon:last-child{margin-left:auto;transition:transform .15s}.drawer-group-toggle[aria-expanded=true] .ui-icon:last-child{transform:rotate(180deg)}
  .drawer-options{padding:5px 0}.site-header .function-columns .game-option{font-size:12px;padding:7px 12px;min-height:34px}.game-drawer-open{overflow:hidden}
  .mobile-player-sticky{position:fixed;top:56px;left:0;right:0;z-index:70;display:flex;align-items:baseline;justify-content:center;gap:8px;min-height:42px;padding:8px 14px;background:color-mix(in srgb,var(--panel) 96%,transparent);border-bottom:1px solid var(--line);box-shadow:0 5px 15px #11182712;backdrop-filter:blur(8px)}.mobile-player-sticky strong{max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.mobile-player-sticky small{max-width:30%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:var(--muted)}
}
@keyframes playerdb-drawer-in{from{transform:translateX(-100%)}to{transform:translateX(0)}}
/* All Element menus are teleported to body: style the shared popper class too. */
#filter-panel{gap:16px;padding:18px;border-radius:7px;background:var(--panel)}#filter-panel>label{font-size:12px;font-weight:500;line-height:18px;gap:6px;min-width:140px}#filter-panel>label:first-child{flex:1;min-width:140px}.enhanced-filters .el-input__wrapper,.enhanced-filters .el-select__wrapper,.version-form .el-select__wrapper{height:36px;min-height:36px;border-radius:5px;padding:4px 11px;box-shadow:0 0 0 1px var(--line) inset;background:var(--el-fill-color-blank);transition:box-shadow .15s}.enhanced-filters .el-input__inner,.enhanced-filters .el-select__placeholder,.version-form .el-select__placeholder{font-size:14px;font-weight:400;line-height:24px}.enhanced-filters .el-input__wrapper:hover,.enhanced-filters .el-select__wrapper:hover,.version-form .el-select__wrapper:hover{box-shadow:0 0 0 1px var(--muted) inset}.enhanced-filters .el-input__wrapper.is-focus,.enhanced-filters .el-select__wrapper.is-focused,.version-form .el-select__wrapper.is-focused{box-shadow:0 0 0 1px var(--el-color-primary) inset,0 0 0 3px var(--el-color-primary-light-9)}.enhanced-filters .el-button{height:36px;font-size:13px;font-weight:600;padding:0 16px}.advanced-filters summary{font-size:12px;font-weight:500;line-height:20px}.advanced-row{gap:10px;margin:14px 0}.advanced-row>span{font-size:12px;line-height:18px}.reset-filters{font-size:12px;color:var(--muted)}.playerdb-select-menu.el-popper{font-family:var(--ui-font);background:var(--panel);border:1px solid var(--line);border-radius:6px;box-shadow:0 8px 28px #00000024;overflow:hidden}.playerdb-select-menu .el-select-dropdown__list{padding:5px}.playerdb-select-menu .el-select-dropdown__item{height:34px;line-height:34px;font-size:14px;font-weight:400;padding:0 12px;margin:1px 0;border-radius:4px;color:var(--ink)}.playerdb-select-menu .el-select-dropdown__item.is-hovering{background:var(--soft);color:var(--ink)}.playerdb-select-menu .el-select-dropdown__item.is-selected{background:var(--el-color-primary-light-9);color:var(--el-color-primary);font-weight:600}.playerdb-select-menu .el-select-dropdown__empty{font-size:13px;color:var(--muted)}.playerdb-select-menu .el-scrollbar__thumb{background:var(--muted)}:root[data-theme=dark]{--el-fill-color-blank:#202430}:root[data-theme=dark] .playerdb-select-menu{box-shadow:0 8px 28px #0006}:root[data-theme=dark] .playerdb-select-menu .el-select-dropdown__item.is-selected{background:#332650;color:#c3a8ff}
@media(max-width:700px){#filter-panel{padding:14px;gap:12px}#filter-panel>label,#filter-panel>label:first-child{min-width:40%}.profile-info h1{font-size:22px}.profile-tabs a{font-size:13px}.compact-stat-group dl>div{font-size:12px}.game-menu-panel .game-menu-item strong{font-size:12px}.game-menu-panel .game-menu-item a{font-size:11px}}
