.hero{min-height:auto;padding:12px 14px}
.hero-inner{align-items:stretch;flex-direction:column;gap:8px}
.hero-title-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:6px;width:100%}
.hero-copy{flex-basis:auto;width:100%}
.hero-heading{min-width:0}
.hero-copy h1{margin:0;font-size:clamp(1.5rem,5.2vw,4rem);line-height:1;letter-spacing:-.04em;justify-self:start;grid-column:1}
.hero-byline{margin:4px 0 0;color:rgba(255,255,255,.78);font-size:.78rem;font-weight:700;letter-spacing:.02em}
.hero-refresh{grid-column:2;justify-self:center}
.hero-nav{grid-column:3;justify-self:end}
.hero-controls{align-items:stretch;width:100%}
.hero-controls-league{flex:1 1 auto;margin-left:0}
.header-league{margin:0;width:100%;min-width:0}
.header-league select{min-width:0;font-size:.78rem;padding:9px 10px;line-height:1.25}
.header-league-select{width:100%}
.header-btn{align-self:center}
.header-btn-compact{padding:7px 11px;font-size:.72rem;border-radius:11px;font-weight:800}
.header-btn-refresh{padding:5px 10px;font-size:.65rem;border-radius:999px;font-weight:800;white-space:nowrap}
.header-btn-warn{background:rgba(255,196,120,.22);border-color:rgba(255,196,120,.55);color:#fff}
.header-btn-warn:hover:not(:disabled){background:rgba(255,196,120,.35)}
.header-btn-warn:disabled{opacity:.65;cursor:not-allowed}

.header-admin-token{display:grid;gap:4px;width:100%;font-weight:800;font-size:.72rem;color:rgba(255,255,255,.88)}
.header-admin-token-label{text-transform:uppercase;letter-spacing:.06em}
.header-admin-token-input{width:100%;min-width:0;border:1px solid rgba(255,255,255,.28);border-radius:12px;padding:8px 10px;background:rgba(7,25,43,.35);color:white;backdrop-filter:blur(6px);font-size:.78rem}
.header-admin-token-input::placeholder{color:rgba(255,255,255,.45)}

.refresh-report h2{margin:0 0 6px}
.refresh-report-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.refresh-report-lead{margin:0 0 6px;font-size:1.05rem;font-weight:700}
.refresh-report-meta{margin:0 0 18px}
.refresh-badge{border-radius:999px;font-size:.75rem;font-weight:800;padding:6px 12px}
.refresh-badge-ok{background:#dff7e9;color:#176b3a}
.refresh-badge-neutral{background:#eef4f8;color:#526a7d}
.refresh-badge-error{background:#fde8e8;color:#b42318}
.refresh-report-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:0 0 18px}
.refresh-report-block{background:#f8fbfd;border:1px solid #e7eef4;border-radius:14px;padding:14px 16px}
.refresh-report-block h3{margin:0 0 10px;font-size:.92rem}
.refresh-dl{margin:0;display:grid;gap:8px}
.refresh-detail{display:grid;gap:2px}
.refresh-detail dt{color:#526a7d;font-size:.74rem;font-weight:800;text-transform:uppercase;letter-spacing:.03em}
.refresh-detail dd{margin:0;font-weight:700}
.refresh-note{margin:0 0 16px}
.refresh-note-warn{color:#9a6700;font-weight:700}
.refresh-report-actions{display:flex;flex-wrap:wrap;gap:10px}
.refresh-back-btn{background:#102033;border:1px solid #102033;border-radius:12px;color:#fff;cursor:pointer;font-weight:800;min-height:44px;padding:10px 18px}
.refresh-back-btn:hover{background:#1a3048}

@media (max-width:799px){
  .hero{padding:10px 12px}
  .hero-inner{gap:6px}
  .hero-title-row{grid-template-columns:minmax(0,1fr) auto auto;gap:8px}
  .hero-copy h1{font-size:clamp(2rem,9vw,3rem);line-height:.94;letter-spacing:-.055em}
  .hero-byline{font-size:.7rem;line-height:1.2}
  .header-league select{font-size:.68rem;padding:7px 8px}
  .header-btn-refresh{padding:4px 8px;font-size:.62rem}
}

@media (min-width:800px){
  .hero-inner{flex-direction:row;align-items:center;gap:14px}
  .hero-copy{flex:1 1 340px}
  .hero-copy h1{font-size:clamp(2.5rem,4.5vw,3.6rem)}
  .hero-byline{font-size:.8rem}
  .hero-controls-league{flex:1 1 320px;max-width:520px}
  .header-league select{font-size:.82rem;padding:10px 12px}
}
