.espor-page { max-width: 1040px; margin: 0 auto; padding: 16px 0 40px; color: var(--ink); }
.espor-heading, .espor-heading > div, .espor-progress-label { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.espor-heading h1 { margin: 0; font-size: clamp(26px, 4vw, 36px); letter-spacing: -.025em; }
.espor-heading a { color: var(--muted); font-size: 13px; text-decoration: none; }
.espor-heading button { min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--ink); cursor: pointer; }
.espor-heading button:disabled { opacity: .5; cursor: default; }
.espor-page h2 { margin: 0; font-size: 16px; font-weight: 650; }
.espor-overall { padding: 40px 0 24px; }
.espor-progress-label strong { font-size: clamp(42px, 7vw, 64px); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.espor-progress-label small { margin-left: 5px; font-size: .45em; color: var(--muted); }
.espor-page progress { display: block; width: 100%; height: 7px; appearance: none; border: 0; border-radius: 20px; overflow: hidden; background: var(--line); color: #a46c3f; }
.espor-page progress::-webkit-progress-bar { background: var(--line); border-radius: 20px; }
.espor-page progress::-webkit-progress-value { background: #a46c3f; border-radius: 20px; transition: width .3s ease; }
.espor-page progress::-moz-progress-bar { background: #a46c3f; border-radius: 20px; }
.espor-page .espor-main-progress { margin-top: 22px; height: 12px; }
.espor-overall p, .espor-collection p, .espor-updated { color: var(--muted); font-size: 13px; line-height: 1.6; }
.espor-counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0 0 38px; padding: 20px 0; border-block: 1px solid var(--line); }
.espor-counts dt { color: var(--muted); font-size: 12px; }
.espor-counts dd { margin: 8px 0 0; font-size: 28px; font-variant-numeric: tabular-nums; }
.espor-levels table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 13px; font-variant-numeric: tabular-nums; }
.espor-levels th, .espor-levels td { padding: 16px 12px; text-align: right; border-bottom: 1px solid var(--line); }
.espor-levels th:first-child { padding-left: 0; text-align: left; }
.espor-levels th:last-child, .espor-levels td:last-child { padding-right: 0; }
.espor-levels thead th { color: var(--muted); font-size: 11px; font-weight: 500; }
.espor-levels td:nth-child(2) { width: 38%; text-align: left; }
.espor-levels td:nth-child(2) span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11px; }
.espor-styles { display: flex; flex-wrap: wrap; gap: 24px; padding: 22px 0; color: var(--muted); font-size: 12px; }
.espor-styles strong { margin-left: 5px; color: var(--ink); }
.espor-collection { padding-top: 22px; border-top: 1px solid var(--line); }
.espor-updated { margin-top: 30px; font-size: 11px; }
.espor-page .espor-error { color: #a34234; font-size: 13px; line-height: 1.6; }
.espor-empty { margin-top: 36px; color: var(--muted); }
:root[data-theme="dark"] .espor-page .espor-error { color: #eea095; }
@media (max-width: 600px) {
  .espor-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .espor-counts { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .espor-levels th, .espor-levels td { padding-inline: 7px; }
  .espor-levels td:nth-child(2) { width: 30%; }
  .espor-overall { padding-top: 32px; }
}
