:root {
  --bg: #eef2f7;
  --card: #ffffff;
  --line: #d8dee9;
  --line-strong: #6ea3c9;
  --text: #17212f;
  --muted: #637186;
  --navy: #111827;
  --rose: #e64b6a;
  --amber: #e69b2f;
  --orange: #f2a33a;
  --emerald: #37b772;
  --blue: #3a7ed9;
  --soft-blue: #eff7ff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: linear-gradient(180deg, #f4f7fb 0%, #eef2f7 100%);
  color: var(--text);
  font-family: "Segoe UI", "Hiragino Sans", "Yu Gothic UI", sans-serif;
}
.page-shell {
  width: min(1480px, calc(100vw - 28px));
  margin: 14px auto 24px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
}
.top-nav {
  padding: 16px 18px;
  margin-bottom: 16px;
}
.tab-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.tab {
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 16px;
}
.tab.active {
  background: var(--navy);
  color: white;
}
.top-nav-meta {
  margin-top: 10px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.top-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.18fr 1.05fr;
  gap: 16px;
}
.player-card, .ranking-card, .profile-card, .middle-card, .bottom-card {
  padding: 18px;
}
.player-hero {
  height: 210px;
  border-radius: 16px 16px 0 0;
  background: radial-gradient(circle at 20% 18%, rgba(255,255,255,0.16), transparent 16%), linear-gradient(135deg, #111827, #1f2937 48%, #485b74);
}
.player-avatar {
  width: 82px;
  height: 82px;
  margin: -38px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #dff0ff;
  border: 4px solid white;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  font-size: 28px;
  font-weight: 900;
  color: #37526f;
}
.player-header {
  text-align: center;
  margin-top: 10px;
}
.player-header h1 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.02em;
}
.player-header p { margin: 6px 0 0; }
.muted { color: var(--muted); }
.stat-table-wrap {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.mini-table, .standard-table { width: 100%; border-collapse: collapse; }
.mini-table thead th, .standard-table thead th {
  background: #f6f8fb;
  color: var(--muted);
  font-weight: 700;
}
.mini-table th, .mini-table td {
  padding: 11px 8px;
  text-align: center;
  font-size: 13px;
}
.standard-table th, .standard-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid #edf1f6;
  white-space: nowrap;
  font-size: 14px;
}
.standard-table tbody tr:last-child { background: #f8fafc; font-weight: 700; }
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.kpi-tile {
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 14px 10px;
  text-align: center;
}
.kpi-tile.primary {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.kpi-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kpi-value {
  margin-top: 6px;
  font-size: 26px;
  font-weight: 800;
}
.note-box {
  margin-top: 16px;
  background: #f8fafc;
  border-radius: 16px;
  padding: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
}
.usage-box { margin-top: 18px; }
.usage-box h2, .usage-summary-title, .zone-section-body h2 {
  margin: 0 0 14px;
  text-align: center;
  font-size: 24px;
}
.usage-row {
  display: grid;
  grid-template-columns: 92px 1fr 72px;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.usage-name { font-size: 14px; color: var(--text); }
.usage-track {
  height: 24px;
  border-radius: 999px;
  background: #e6ebf2;
  padding: 2px;
}
.usage-fill { height: 100%; border-radius: 999px; }
.usage-val { text-align: right; font-size: 14px; font-weight: 700; }
.usage-sub { margin-left: 104px; margin-top: -4px; margin-bottom: 8px; font-size: 12px; color: var(--muted); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.border-head {
  border-bottom: 2px solid var(--line-strong);
  padding-bottom: 12px;
}
.eyebrow {
  margin: 0;
  font-size: 15px;
  color: #384b64;
}
.section-head h2 { margin: 8px 0 0; font-size: 28px; }
.bar-axis {
  display: grid;
  grid-template-columns: 120px 1fr 74px;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 4px;
}
.axis-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: #8fa0b7;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
}
.metric-row {
  display: grid;
  grid-template-columns: 120px 1fr 74px;
  gap: 12px;
  align-items: center;
  padding: 5px 0;
}
.metric-label { font-size: 15px; color: #334155; }
.metric-track {
  position: relative;
  height: 32px;
  background: #e4e9f0;
  background-image: none !important;
  overflow: visible;
  margin-right: 10px;
}
.metric-track::before,
.metric-track::after,
.metric-track .midline {
  content: none !important;
  display: none !important;
}
.metric-track::before { left: 25%; }
.metric-track .midline { left: 50%; }
.metric-track::after { left: 75%; }
.metric-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background-image: none !important;
  box-shadow: none !important;
  outline: none !important;
}
.metric-badge {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 12px;
  border: 2px solid white;
  box-sizing: border-box;
}
.metric-badge--triple {
  min-width: 40px;
  font-size: 11px;
}
.metric-value { text-align: right; font-size: 15px; font-weight: 700; color: #334155; }
.zone-wrap {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}
#overall-zone-chart, .zone-panel svg {
  width: min(100%, 430px);
  height: auto;
  display: block;
}
.zone-panel svg {
  width: min(100%, 360px);
  margin: 0 auto;
}
.usage-summary {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.usage-summary-title { text-align: left; font-size: 20px; }
.usage-summary-item {
  display: grid;
  grid-template-columns: 96px 20px 1fr 86px;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 12px;
}
.dot { width: 14px; height: 14px; border-radius: 999px; }
.middle-card, .bottom-card { margin-top: 18px; }
.sub-tabs, .section-tabs { justify-content: center; }
.table-scroller { margin-top: 16px; overflow-x: auto; }
.glossary-link {
  margin-top: 12px;
  text-align: center;
  color: #4592d0;
  font-size: 13px;
}
.zone-section-body {
  margin-top: 18px;
  background: #f7fafc;
  border-radius: 18px;
  padding: 20px;
}
.zone-split-tabs {
  margin: 6px 0 18px;
}
.zone-split-tabs .tab {
  min-width: 88px;
}
.zone-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.zone-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  padding: 16px;
}
.zone-panel-title {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
}
.zone-stats-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.zone-stat {
  border-radius: 14px;
  background: #f8fafc;
  padding: 10px 12px;
}
.zone-stat-label {
  font-size: 12px;
  color: var(--muted);
}
.zone-stat-value {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 800;
}
.empty {
  color: var(--muted);
  text-align: center;
  padding: 24px 0;
}
@media (max-width: 1200px) {
  .top-grid { grid-template-columns: 1fr; }
  .zone-panel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .search-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .site-toolbar-brand {
    justify-content: center;
  }
  .player-search-form {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
  }
  .player-search-status {
    min-width: 0;
    width: 100%;
    text-align: left;
    margin-left: 0;
  }
}

.build-badge{margin-top:8px;text-align:center;color:#b91c1c;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;}

.zone-panel-note{margin-top:4px;text-align:center;color:var(--muted);font-size:12px;}

.zone-wrap svg image, .zone-panel svg image { image-rendering: auto; }

.usage-split-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 108px minmax(0, 1fr) 52px;
  align-items: end;
  gap: 6px;
  padding: 0 0 5px;
  margin-bottom: 4px;
  border-bottom: 2px solid #cfe1f0;
}
.usage-side-head, .usage-mid-head {
  font-size: 13px;
  font-weight: 800;
  color: #17212f;
  text-align: center;
}
.usage-split-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 108px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.usage-side-pct {
  font-size: 12px;
  color: #6b7280;
  font-weight: 700;
}
.usage-side-pct.is-left { text-align: right; }
.usage-side-pct.is-right { text-align: left; }
.usage-side-bar {
  height: 14px;
  background: #e6ebf2;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}
.usage-side-bar.is-left {
  display: flex;
  justify-content: space-between;
}
.usage-side-bar.is-right {
  display: flex;
  justify-content: flex-start;
}
.usage-side-fill {
  height: 100%;
  border-radius: 999px;
  min-width: 4px;
}
.usage-pitch-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}
.usage-pitch-main {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  min-width: 0;
}
.usage-pitch-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  border-radius: 999px;
  color: white;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 0 8px;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.08);
  flex: 0 0 auto;
}
.usage-pitch-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.usage-pitch-overall-inline {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  line-height: 1;
  white-space: nowrap;
}



.pitch-type-stats-block {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.pitch-type-stats-block h3 {
  margin: 0;
  font-size: 24px;
  text-align: left;
}
.pitch-type-stats-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.pitch-type-stats-scroller {
  margin-top: 14px;
  overflow-x: auto;
}
.pitch-type-stats-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.pitch-type-stats-table thead th {
  position: sticky;
  top: 0;
  background: #f6f8fb;
  color: var(--muted);
  font-weight: 800;
  z-index: 1;
}
.pitch-type-stats-table th,
.pitch-type-stats-table td {
  padding: 12px 14px;
  text-align: right;
  border-bottom: 1px solid #edf1f6;
  white-space: nowrap;
  font-size: 13px;
}
.pitch-type-stats-table th:first-child,
.pitch-type-stats-table td:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  background: white;
  z-index: 2;
}
.pitch-type-stats-table thead th:first-child {
  background: #f6f8fb;
  z-index: 3;
}
.pitch-type-stats-table tbody tr:nth-child(even) td {
  background: #fbfdff;
}
.pitch-type-stats-table tbody tr:nth-child(even) td:first-child {
  background: #fbfdff;
}
.pitch-stats-pitch {
  font-weight: 700;
  color: #1f3b61;
}

.search-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  margin-bottom: 16px;
}
.player-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(560px, 100%);
  margin-left: auto;
}
.site-toolbar-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  flex: 1 1 auto;
}
.site-header-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.site-header-logo {
  display: block;
  width: min(660px, 100%);
  max-width: 100%;
  height: auto;
}
.site-toolbar-icon {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.10);
  background: white;
}
.player-search-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  white-space: nowrap;
}
.player-search-input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--text);
  padding: 0 14px;
  font-size: 14px;
  outline: none;
}
.player-search-input:focus {
  border-color: #7ba5cb;
  box-shadow: 0 0 0 4px rgba(110, 163, 201, 0.16);
}
.player-search-button {
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--navy);
  color: white;
  font-size: 14px;
  font-weight: 800;
  padding: 0 16px;
  cursor: pointer;
}
.player-search-status {
  margin-left: 10px;
  font-size: 12px;
  color: var(--muted);
  min-width: 140px;
  text-align: right;
}
.player-romaji {
  margin-top: 8px !important;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.glossary-card {
  margin-top: 18px;
  padding: 20px 22px;
}
.glossary-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
}
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}
.glossary-item {
  border: 1px solid #e5edf6;
  background: #f8fbff;
  border-radius: 16px;
  padding: 12px 14px;
}
.glossary-term {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 800;
  color: #1d2e44;
}
.glossary-desc {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}
@media (max-width: 1200px) {
  .player-search-form {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .player-search-status {
    width: 100%;
    text-align: left;
    margin-left: 0;
  }
  .glossary-grid {
    grid-template-columns: 1fr;
  }
}


/* site footer */
.site-footer {
  margin: 28px auto 40px;
  padding: 20px 24px;
  max-width: 1200px;
  border: 1px solid #d6e0ee;
  border-radius: 20px;
  background: #ffffff;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer__logo {
  display: block;
  width: min(420px, 100%);
  height: auto;
  object-fit: contain;
}

.site-footer__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.site-footer__title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  color: #142746;
}

.site-footer__link {
  font-size: 15px;
  font-weight: 700;
  color: #142746;
  text-decoration: none;
}

.site-footer__link:hover {
  text-decoration: underline;
}

.site-footer__contact {
  font-size: 15px;
  font-weight: 700;
  color: #142746;
  line-height: 1.5;
}


.site-utility-card {
  margin-bottom: 16px;
  padding: 14px 18px;
}
.site-utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.site-utility-link,
.site-page-link,
.site-back-link,
.article-list-card h2 a,
.site-footer__nav-link {
  color: #17304f;
  text-decoration: none;
}
.site-utility-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f5f8fc;
  border: 1px solid #dbe5f1;
  font-size: 14px;
  font-weight: 800;
}
.site-utility-link:hover,
.site-page-link:hover,
.site-back-link:hover,
.article-list-card h2 a:hover,
.site-footer__nav-link:hover {
  text-decoration: underline;
}
.site-utility-note {
  margin: 10px 2px 0;
  font-size: 13px;
  color: var(--muted);
}

.content-page-body {
  background: linear-gradient(180deg, #f4f7fb 0%, #eef2f7 100%);
}
.info-page-shell {
  width: min(1120px, calc(100vw - 28px));
}
.site-page-header {
  padding: 22px 24px;
  margin-bottom: 16px;
}
.site-page-header__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.site-page-header h1 {
  margin: 6px 0 0;
  font-size: 36px;
  letter-spacing: -0.02em;
}
.site-page-subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 680px;
}
.site-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.site-page-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #dbe5f1;
  background: #f6f9fc;
  font-size: 14px;
  font-weight: 700;
}
.site-utility-link.is-active,
.site-page-link.is-active {
  background: #152846;
  border-color: #152846;
  color: #fff;
}
.site-back-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
}
.prose-card {
  padding: 24px 26px;
  margin-bottom: 16px;
}
.prose-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
}
.prose-body p,
.content-hero p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.9;
  color: #22344d;
}
.content-hero p:last-child,
.prose-body p:last-child {
  margin-bottom: 0;
}
.summary-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.summary-card {
  border: 1px solid #e2ebf5;
  background: #f8fbff;
  border-radius: 18px;
  padding: 14px 15px;
}
.summary-card__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #617086;
}
.summary-card__name {
  margin-top: 6px;
  font-size: 22px;
  font-weight: 800;
  color: #17304f;
}
.summary-card__meta,
.summary-card__line {
  margin-top: 6px;
  font-size: 13px;
  color: #526074;
  line-height: 1.6;
}
.article-table {
  width: 100%;
  border-collapse: collapse;
}
.article-table thead th {
  background: #f6f8fb;
  color: var(--muted);
  font-weight: 800;
}
.article-table th,
.article-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #edf1f6;
  text-align: left;
  white-space: nowrap;
  font-size: 13px;
}
.article-list {
  display: grid;
  gap: 14px;
}
.article-list-card {
  border: 1px solid #e2ebf5;
  border-radius: 18px;
  background: #f8fbff;
  padding: 18px 18px 16px;
}
.article-list-card__date {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a6980;
}
.article-list-card h2 {
  margin: 8px 0 10px;
  font-size: 25px;
}
.article-list-card p {
  margin: 0;
  color: #26374f;
  line-height: 1.8;
  font-size: 15px;
}
.article-list-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.article-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ecf3fb;
  color: #28486b;
  font-size: 12px;
  font-weight: 800;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.site-footer__nav-link {
  font-size: 14px;
  font-weight: 800;
}
.site-footer__meta {
  gap: 10px;
}

@media (max-width: 1200px) {
  .summary-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .site-page-header__top {
    flex-direction: column;
  }
  .site-page-links {
    justify-content: flex-start;
  }
}
@media (max-width: 720px) {
  .summary-card-grid {
    grid-template-columns: 1fr;
  }
  .site-page-header,
  .prose-card {
    padding: 18px;
  }
  .site-page-header h1 {
    font-size: 30px;
  }
  .article-table th,
  .article-table td {
    padding: 10px 12px;
  }
}

.daily-archive-grid {
  display: grid;
  gap: 14px;
}

.daily-archive-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e2ebf5;
  border-radius: 20px;
  background: #f8fbff;
  padding: 18px 18px 16px;
}

.daily-archive-card:hover {
  border-color: #c9d8ea;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
}

.daily-archive-card__date {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a6980;
}

.daily-archive-card h3 {
  margin: 8px 0 10px;
  font-size: 24px;
  color: #17304f;
}

.daily-archive-card p,
.daily-archive-card__meta {
  margin: 0;
  color: #26374f;
  line-height: 1.8;
  font-size: 15px;
}

.daily-archive-card__meta {
  margin-top: 10px;
  font-size: 13px;
  color: #5b6a80;
  font-weight: 700;
}

.daily-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  margin-bottom: 16px;
}

.daily-highlight-card {
  border: 1px solid #e2ebf5;
  background: #f8fbff;
  border-radius: 18px;
  padding: 16px;
}

.daily-highlight-label {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #617086;
}

.daily-highlight-card h3 {
  margin: 8px 0 8px;
  font-size: 24px;
  color: #17304f;
}

.daily-highlight-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #26374f;
}

.daily-ranking-card {
  padding: 22px 24px;
  margin-bottom: 16px;
}

.daily-ranking-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 14px;
}

.daily-ranking-head h2 {
  margin: 6px 0 0;
  font-size: 28px;
}

.daily-ranking-meta {
  color: #5c6c82;
  font-size: 14px;
  font-weight: 700;
}

.daily-ranking-image-wrap {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #e2ebf5;
  background: #f8fbff;
  margin-bottom: 16px;
}

.daily-ranking-image {
  display: block;
  width: 100%;
  height: auto;
}

.daily-ranking-table-wrap {
  border: 1px solid #e6edf6;
  border-radius: 18px;
}

.daily-ranking-table thead th {
  background: #f7faff;
  color: #64748b;
  font-weight: 800;
}

.daily-ranking-table td,
.daily-ranking-table th {
  font-size: 13px;
  padding: 12px 14px;
}

.daily-ranking-note {
  margin: 12px 2px 0;
  color: #6a778b;
  font-size: 13px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .daily-highlight-grid {
    grid-template-columns: 1fr;
  }

  .daily-ranking-head {
    flex-direction: column;
    align-items: flex-start;
  }
}


.site-page-header-logo {
  display: block;
  width: min(620px, 100%);
  max-width: 100%;
  height: auto;
  margin-bottom: 14px;
}

.daily-ranking-table-wrap {
  overflow-x: auto;
  border: 1px solid #dbe4ef;
  border-radius: 20px;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f8fc 100%);
}

.daily-ranking-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 980px;
}

.daily-ranking-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #eef3f8;
  color: #66768c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 14px 12px;
  border-bottom: 1px solid #d9e3ee;
  text-align: center;
}

.daily-ranking-table thead th:nth-child(2),
.daily-ranking-table thead th:nth-child(3),
.daily-ranking-table tbody td.player-cell,
.daily-ranking-table tbody td.team-cell {
  text-align: left;
}

.daily-ranking-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid #e6edf6;
  text-align: center;
  font-size: 14px;
  color: #203149;
  background: #ffffff;
}

.daily-ranking-table tbody tr:last-child td {
  border-bottom: 0;
}

.daily-rank-row.rank-top-1 td { background: #f7eed1; }
.daily-rank-row.rank-top-2 td { background: #eef2f8; }
.daily-rank-row.rank-top-3 td { background: #f5ece5; }
.daily-rank-row.rank-top-1 td:first-child { box-shadow: inset 6px 0 0 #e1a51a; }
.daily-rank-row.rank-top-2 td:first-child { box-shadow: inset 6px 0 0 #9ba8ba; }
.daily-rank-row.rank-top-3 td:first-child { box-shadow: inset 6px 0 0 #c86f33; }

.rank-cell {
  width: 64px;
  font-weight: 800;
  font-size: 18px;
}

.player-cell {
  min-width: 150px;
  font-weight: 800;
}

.team-cell {
  min-width: 140px;
}

.count-cell {
  width: 72px;
  font-weight: 700;
}

.pitch-name-cell {
  min-width: 90px;
  font-weight: 700;
}

.team-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.team-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  flex: 0 0 14px;
}

.daily-player-link,
.daily-player-text {
  color: #183b6e;
  text-decoration: none;
}

.daily-player-link {
  font-weight: 800;
}

.daily-player-link:hover {
  text-decoration: underline;
}

.score-cell {
  min-width: 72px;
}

.score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 34px;
  padding: 0 10px;
  border-radius: 12px;
  font-weight: 800;
  border: 1px solid #dbe4ef;
  background: #ffffff;
}

.score-pill--good {
  background: #dff1e2;
  border-color: #bfe2c5;
  color: #18793f;
}

.score-pill--warn {
  background: #f6ead9;
  border-color: #ead2b5;
  color: #b36a17;
}

.score-pill--bad {
  background: #f8dcdd;
  border-color: #ecc3c7;
  color: #bf3c46;
}

.score-pill--empty {
  background: #eef2f7;
  border-color: #e4e9f0;
  color: transparent;
}

.score-pill--emphasize {
  min-width: 64px;
  font-size: 16px;
}

@media (max-width: 860px) {
  .site-header-logo {
    width: min(100%, 520px);
  }

  .site-page-header-logo {
    width: min(100%, 440px);
  }

  .daily-ranking-table {
    min-width: 860px;
  }
}


.site-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.site-wordmark__icon {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-wordmark__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 18px rgba(16, 38, 77, 0.14));
}

.site-wordmark__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.site-wordmark__title {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  line-height: 1;
  flex-wrap: wrap;
}

.site-wordmark__npb {
  font-size: 82px;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #102a67;
}

.site-wordmark__scholar {
  font-size: 72px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #e53a50;
}

.site-wordmark__sub {
  margin-top: 8px;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
  color: #5f6d86;
}

.site-wordmark--toolbar {
  width: min(100%, 660px);
}

.site-wordmark--toolbar .site-wordmark__icon {
  width: 92px;
  height: 92px;
}

.site-wordmark--toolbar .site-wordmark__npb {
  font-size: clamp(56px, 4.4vw, 86px);
}

.site-wordmark--toolbar .site-wordmark__scholar {
  font-size: clamp(48px, 4vw, 74px);
}

.site-wordmark--toolbar .site-wordmark__sub {
  font-size: clamp(20px, 1.65vw, 28px);
}

.site-wordmark--page {
  margin-bottom: 14px;
}

.site-wordmark--page .site-wordmark__icon {
  width: 74px;
  height: 74px;
}

.site-wordmark--page .site-wordmark__npb {
  font-size: clamp(40px, 3.1vw, 58px);
}

.site-wordmark--page .site-wordmark__scholar {
  font-size: clamp(34px, 2.8vw, 50px);
}

.site-wordmark--page .site-wordmark__sub {
  font-size: 18px;
}

@media (max-width: 980px) {
  .search-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .site-toolbar-brand {
    justify-content: center;
  }

  .site-wordmark--toolbar {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .site-wordmark {
    gap: 10px;
  }

  .site-wordmark__icon {
    width: 64px !important;
    height: 64px !important;
  }

  .site-wordmark__title {
    gap: 8px;
  }

  .site-wordmark--toolbar .site-wordmark__npb,
  .site-wordmark--page .site-wordmark__npb {
    font-size: clamp(32px, 8vw, 48px);
  }

  .site-wordmark--toolbar .site-wordmark__scholar,
  .site-wordmark--page .site-wordmark__scholar {
    font-size: clamp(28px, 7vw, 42px);
  }

  .site-wordmark--toolbar .site-wordmark__sub,
  .site-wordmark--page .site-wordmark__sub {
    font-size: 15px;
  }
}
