@import url('/static/base.css');

.brand { gap: 11px; letter-spacing: 0; }
.pick { display: inline-grid; place-items: center; padding: 0; line-height: 1; vertical-align: middle; position: relative; }
.pick:not(.picked) { font-size: 0; }
.pick:not(.picked)::before, .pick:not(.picked)::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: currentColor; border-radius: 1px; }
.pick:not(.picked)::before { width: 11px; height: 1.5px; }
.pick:not(.picked)::after { width: 1.5px; height: 11px; }
.reset-card { border-color: #d9b8ac; }
.button.danger { background: #873d30; border-color: #873d30; }
.button.danger:hover:not(:disabled) { background: #6f2e23; }
#reset-form { max-width: 420px; }
.draft-deadline { display: flex; justify-content: space-between; gap: 20px; padding: 20px 24px; margin-bottom: 20px; border: 1px solid #cbd9b8; border-radius: 6px; background: #edf3e3; }
.draft-deadline > div { display: flex; flex-direction: column; gap: 5px; }
.draft-deadline strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.draft-deadline > div:last-child { text-align: right; }
#draft-deadline-help { font-size: 11px; color: var(--muted); max-width: 320px; }
@media (max-width: 640px) { .draft-deadline { flex-direction: column; padding: 18px; } .draft-deadline > div:last-child { text-align: left; } }
.brand-mark { flex: 0 0 auto; width: 44px; height: 44px; }
.brand-name { font-size: 25px; font-weight: 850; letter-spacing: -1px; line-height: 1; }
.brand-name > span { display: block; margin-top: 6px; font-size: 13px; font-weight: 650; letter-spacing: .1px; white-space: nowrap; }
@media (max-width: 850px) {
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 20px; }
  .brand-name > span { margin-top: 4px; font-size: 11px; }
}

#maintenance-notice{padding:16px 24px;background:#fff0bb;color:#44320a;border-radius:12px;margin-bottom:20px;white-space:pre-wrap}.queue-row{display:flex;align-items:center;gap:16px;padding:10px 0}.queue-row>span:first-child{flex:1}

.league-picker-bar{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:22px 0 6px}
.league-switch{display:inline-flex;gap:4px;padding:5px;background:#e9ede3;border:1px solid #d8dfcf;border-radius:999px;flex-shrink:0}
.league-switch-option{display:flex;align-items:center;justify-content:center;gap:9px;min-width:128px;padding:10px 18px;border:0;border-radius:999px;background:transparent;color:#61725f;font-size:12px;font-weight:650;transition:background .18s,color .18s,box-shadow .18s}
.league-switch-option:hover:not(:disabled){background:#f6f8f1;color:var(--green)}
.league-switch-option.selected,.league-switch-option.selected:hover{background:var(--green);color:#f5f9ed;box-shadow:0 2px 5px #102a2320}
.league-switch-option.selected svg{color:var(--accent)}
.league-live-dot{width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.7}
.selected .league-live-dot{background:var(--accent);opacity:1;box-shadow:0 0 0 3px #c8ec821a}
#league-progress{margin:0;flex:1;min-width:180px}
.historical-league-options{display:flex;gap:8px;flex-wrap:wrap;width:100%}
.historical-league-choice{padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--muted);font-size:11px}
.historical-league-choice[aria-pressed=true]{background:#e4efcf;border-color:#b5c99a;color:var(--green)}
#historical-visible{display:inline-block;width:auto;margin:0 8px 0 0;accent-color:var(--green)}
#historical-admin form{max-width:560px;margin-bottom:26px}
#historical-admin details{overflow-wrap:anywhere}
#historical-import-info:not(:empty){padding:16px;border:1px solid #d8dfcf;border-radius:6px;background:#f3f6ed;margin:16px 0}
#historical-import-info progress{display:block;width:100%;height:8px;margin:12px 0;accent-color:var(--green)}
#historical-import-info p{margin:6px 0;font-size:12px}
#historical-results{margin-top:18px}
#historical-reveal .button{margin:8px 8px 0 0;gap:8px}
@media(max-width:640px){.league-picker-bar{gap:10px;margin-top:18px}.league-switch{width:100%}.league-switch-option{flex:1;min-width:0}#league-progress{flex-basis:100%;padding-left:6px}}
@media(prefers-reduced-motion:reduce){.league-switch-option{transition:none}}
