: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(1420px, 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: 7px;
}
.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: 12px;
  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;
}
.contact-zone-wrap {
  width: min(100%, 470px);
  margin: 0 auto;
}
.contact-zone-wrap--small {
  width: min(100%, 320px);
}
.contact-zone-svg {
  display: block;
  width: 100%;
  height: auto;
}
.contact-zone-svg--small {
  max-width: 320px;
}
.contact-zone-value {
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
  paint-order: stroke fill;
  stroke: rgba(255,255,255,0.92);
  stroke-width: 1.4px;
}
.contact-zone-value--outer {
  font-size: 14px;
  font-weight: 900;
  paint-order: stroke fill;
  stroke: rgba(255,255,255,0.94);
  stroke-width: 1.6px;
}
.contact-zone-value--small {
  font-size: 9px;
}
.contact-zone-summary {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.contact-zone-summary--single {
  grid-template-columns: minmax(0, 180px);
  justify-content: start;
}
.contact-zone-summary-item {
  border-radius: 14px;
  background: #f8fafc;
  padding: 10px 12px;
}
.contact-zone-summary-label {
  font-size: 12px;
  color: var(--muted);
}
.contact-zone-summary-value {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 800;
}
.contact-zone-desc {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.contact-zone-svg { overflow: visible; }

#overall-zone-chart svg, .zone-panel svg {
  width: min(100%, 470px);
  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: 720px) {
  .contact-zone-value { font-size: 10px; }
  .contact-zone-value--outer { font-size: 12px; }
}
@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;
}



.zone-section-body > .pitch-type-stats-block:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.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: grid;
  grid-template-columns: minmax(360px, 390px) minmax(620px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  margin-bottom: 16px;
}
.player-search-form {
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 8px;
  width: 100%;
  max-width: none;
  margin-left: auto;
}
.player-search-grid {
  display: grid;
  grid-template-columns: minmax(96px, 124px) minmax(96px, 124px) minmax(420px, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.player-search-select {
  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-select:focus {
  border-color: #7ba5cb;
  box-shadow: 0 0 0 4px rgba(110, 163, 201, 0.16);
}
.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 {
  grid-column: 1 / -1;
  margin-left: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  min-width: 0;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}
.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) {
  .search-toolbar {
    grid-template-columns: 1fr;
  }
  .player-search-form {
    grid-template-columns: auto minmax(0, 1fr) auto;
    max-width: none;
  }
  .player-search-status {
    grid-column: 1 / -1;
    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(1420px, 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;
}
.team-primary-nav,
.site-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.site-nav-card {
  padding: 18px 22px 18px;
  margin-top: 14px;
}

.site-nav-card .site-page-links {
  margin-top: 0;
  justify-content: flex-start;
}

.site-nav-card .site-back-link,
.site-nav-card .site-utility-note,
.site-nav-card .site-page-note {
  margin-top: 12px;
}
.team-pill,
.site-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(60, 104, 188, 0.28);
  background: #fff;
  color: #294d82;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 8px 18px rgba(25, 54, 104, 0.06);
}
.team-pill:hover,
.site-page-link:hover {
  background: #eef4ff;
  border-color: rgba(41, 77, 130, 0.42);
  text-decoration: none;
}
.site-utility-link.is-active,
.team-pill.is-active,
.site-page-link.is-active {
  background: linear-gradient(135deg, #1f57b8, #4b7ddd);
  border-color: #1f57b8;
  color: #fff;
  box-shadow: 0 12px 26px rgba(31, 87, 184, 0.2);
}
.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,
.site-wordmark--page {
  width: min(100%, 390px);
  margin-bottom: 0;
}

.site-wordmark--toolbar .site-wordmark__icon,
.site-wordmark--page .site-wordmark__icon {
  width: 74px;
  height: 74px;
}

.site-wordmark--toolbar .site-wordmark__title,
.site-wordmark--page .site-wordmark__title {
  flex-wrap: nowrap;
}

.site-wordmark--toolbar .site-wordmark__npb,
.site-wordmark--page .site-wordmark__npb {
  font-size: clamp(40px, 3vw, 54px);
}

.site-wordmark--toolbar .site-wordmark__scholar,
.site-wordmark--page .site-wordmark__scholar {
  font-size: clamp(34px, 2.6vw, 46px);
}

.site-wordmark--toolbar .site-wordmark__sub,
.site-wordmark--page .site-wordmark__sub {
  font-size: 18px;
}

@media (max-width: 980px) {
  .search-toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .site-toolbar-brand {
    justify-content: center;
  }

  .player-search-form {
    grid-template-columns: 1fr;
  }

  .player-search-grid {
    grid-template-columns: 1fr;
  }

  .player-search-label {
    grid-column: 1 / -1;
  }

  .player-search-input {
    min-width: 0;
  }

  .player-search-status {
    grid-column: 1 / -1;
  }

  .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;
  }
}


.has-metric-tooltip {
  cursor: help;
}
.kpi-label.has-metric-tooltip,
.metric-label.has-metric-tooltip,
.mini-table th.has-metric-tooltip,
.standard-table th.has-metric-tooltip,
.pitch-type-stats-table th.has-metric-tooltip,
.leaderboard-table thead button.has-metric-tooltip {
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: rgba(53, 78, 115, 0.55);
  text-underline-offset: 0.18em;
}
.leaderboard-table thead button.has-metric-tooltip {
  text-decoration-color: rgba(255, 255, 255, 0.55);
}
.metric-tooltip-popup {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: min(360px, calc(100vw - 24px));
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.96);
  color: #f8fbff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.22);
  font-size: 13px;
  line-height: 1.68;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s ease;
}
.metric-tooltip-popup.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.metric-tooltip-popup__title {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #cfe1ff;
}
.metric-tooltip-popup__body {
  color: #f8fbff;
}


body.is-batter-view .kpi-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ranking-card.is-batter .bar-axis {
  display: grid;
}

.batter-ranking-list {
  margin-top: 4px;
}

body.is-batter-view .stat-table-wrap {
  overflow-x: auto;
}

body.is-batter-view .mini-table th,
body.is-batter-view .mini-table td {
  padding: 10px 6px;
  font-size: 12px;
  white-space: nowrap;
}

body.is-batter-view .kpi-grid {
  display: none;
}


/* Static info page header layout refinement for About / Methodology / Privacy / Contact / Sitemap */
.site-page-header__brand {
  display: grid;
  grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.site-page-header__intro {
  min-width: 0;
}

.site-page-header__intro h1 {
  margin: 0;
}

.site-page-header__intro .site-page-subtitle {
  max-width: none;
}

.site-page-header .site-page-links {
  margin-top: 22px;
  justify-content: flex-start;
}

.site-page-header .site-wordmark--page {
  width: min(100%, 390px);
  margin-bottom: 0;
}

.site-page-header .site-wordmark__title {
  flex-wrap: nowrap;
}

@media (max-width: 900px) {
  .site-page-header__brand {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .site-page-header .site-page-links {
    margin-top: 18px;
  }

  .site-page-header .site-wordmark--page {
    width: auto;
  }

  .site-page-header .site-wordmark__title {
    flex-wrap: wrap;
  }
}


/* unified site header geometry override */
:root {
  --site-shell-max-width: 1420px;
  --site-header-card-padding-y: 26px;
  --site-header-card-padding-x: 28px;
  --site-header-brand-width: 390px;
  --site-header-gap: 28px;
}
.page-shell,
.info-page-shell,
.site-page-shell {
  width: min(var(--site-shell-max-width), calc(100vw - 48px));
}
.site-toolbar-card,
.site-page-header,
.info-card.site-nav-card {
  padding: var(--site-header-card-padding-y) var(--site-header-card-padding-x);
}
.search-toolbar {
  display: grid;
  grid-template-columns: minmax(360px, var(--site-header-brand-width)) minmax(0, 1fr);
  align-items: center;
  gap: var(--site-header-gap);
}
.site-toolbar-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  width: 100%;
  max-width: var(--site-header-brand-width);
}
.site-page-header__brand {
  display: grid;
  grid-template-columns: minmax(360px, var(--site-header-brand-width)) minmax(0, 1fr);
  align-items: center;
  gap: var(--site-header-gap);
}
.site-page-header__intro,
.site-page-header__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}
.site-page-header__intro h1,
.site-page-header__title,
.site-page-header__eyebrow {
  margin-left: 0;
}
@media (max-width: 900px) {
  .search-toolbar,
  .site-page-header__brand {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .site-toolbar-brand {
    max-width: none;
  }
}


/* wordmark standard size restore v53
   Restores the compact site logo sizing for class="site-wordmark site-wordmark--standard".
   v52 removed the old duplicated wordmark block but did not replace the standard-class desktop sizing. */
.site-wordmark--standard,
.site-wordmark--toolbar,
.site-wordmark--page {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: min(100%, 390px);
  max-width: 100%;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.site-wordmark--standard .site-wordmark__icon,
.site-wordmark--toolbar .site-wordmark__icon,
.site-wordmark--page .site-wordmark__icon {
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
}

.site-wordmark--standard .site-wordmark__title,
.site-wordmark--toolbar .site-wordmark__title,
.site-wordmark--page .site-wordmark__title {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  line-height: 1;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.site-wordmark--standard .site-wordmark__npb,
.site-wordmark--toolbar .site-wordmark__npb,
.site-wordmark--page .site-wordmark__npb {
  font-size: clamp(40px, 3vw, 54px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: .01em;
  color: #102a67;
}

.site-wordmark--standard .site-wordmark__scholar,
.site-wordmark--toolbar .site-wordmark__scholar,
.site-wordmark--page .site-wordmark__scholar {
  font-size: clamp(34px, 2.6vw, 46px);
  font-style: italic;
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.02em;
  color: #e53a50;
}

.site-wordmark--standard .site-wordmark__sub,
.site-wordmark--toolbar .site-wordmark__sub,
.site-wordmark--page .site-wordmark__sub {
  margin-top: 7px;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 800;
  color: #5f6d86;
}

/* 2026-04-24 AdSense mobile UI root fix v52
   Single source for mobile shell, menu, title sizing, table scrolling, and sticky Player column. */
:root {
  --site-shell-max-width: 1420px;
  --site-shell-gutter: 28px;
  --site-mobile-shell-gutter: 16px;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.page-shell,
.info-page-shell,
.site-page-shell,
.landing-shell,
.leaderboard-shell,
.team-page-shell {
  box-sizing: border-box;
  width: min(var(--site-shell-max-width), calc(100vw - var(--site-shell-gutter)));
  max-width: calc(100vw - var(--site-shell-gutter));
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
}

.site-wordmark,
.site-wordmark--standard,
.site-wordmark--toolbar,
.site-wordmark--page,
.landing-wordmark {
  min-width: 0;
  max-width: 100%;
}

.site-wordmark__title,
.site-wordmark--standard .site-wordmark__title,
.site-wordmark--toolbar .site-wordmark__title,
.site-wordmark--page .site-wordmark__title,
.landing-wordmark__title {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.mobile-site-menu {
  display: none;
}

/* Player column only: fixed during horizontal table scroll. Team column remains normal. */
.leaderboard-table th.sticky-player,
.leaderboard-table td.sticky-player,
.leaderboard-table td.player-cell.sticky-player {
  position: sticky;
  left: 0;
  z-index: 8;
  background: #ffffff;
  box-shadow: 10px 0 18px rgba(16, 38, 77, 0.08);
}

.leaderboard-table thead th.sticky-player {
  z-index: 12;
  background: #f7f9fd;
}

.leaderboard-table td.player-cell.sticky-player,
.leaderboard-table th.sticky-player {
  min-width: 180px;
  width: 180px;
  max-width: 180px;
}

@media (max-width: 720px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-shell,
  .info-page-shell,
  .site-page-shell,
  .landing-shell,
  .leaderboard-shell,
  .team-page-shell {
    width: calc(100vw - var(--site-mobile-shell-gutter)) !important;
    max-width: calc(100vw - var(--site-mobile-shell-gutter)) !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .card,
  .landing-card,
  .site-toolbar-card,
  .site-page-header,
  .leaderboard-shell .card,
  .info-card.site-nav-card {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .team-primary-nav,
  .site-page-links,
  .site-page-nav,
  .landing-top-nav {
    display: none !important;
  }

  .mobile-site-menu {
    display: block !important;
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    left: max(12px, env(safe-area-inset-left));
    z-index: 2147483647;
  }

  .mobile-site-menu[open]::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.26);
    z-index: -1;
  }

  .mobile-site-menu__button {
    width: 58px !important;
    height: 58px !important;
    display: grid !important;
    place-content: center !important;
    gap: 7px !important;
    padding: 0 !important;
    border-radius: 18px !important;
    border: 1px solid rgba(15, 35, 70, 0.18) !important;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 14px 32px rgba(10, 25, 55, 0.18) !important;
    cursor: pointer !important;
    list-style: none !important;
    touch-action: manipulation !important;
  }

  .mobile-site-menu__button::marker,
  .mobile-site-menu__button::-webkit-details-marker {
    display: none !important;
    content: "" !important;
  }

  .mobile-site-menu__bar {
    display: block !important;
    width: 31px !important;
    height: 4px !important;
    border-radius: 999px !important;
    background: #102a55 !important;
  }

  .mobile-site-menu__panel {
    position: fixed !important;
    top: calc(max(12px, env(safe-area-inset-top)) + 68px) !important;
    left: max(12px, env(safe-area-inset-left)) !important;
    right: max(12px, env(safe-area-inset-right)) !important;
    max-height: min(72vh, 620px) !important;
    overflow: auto !important;
    display: grid !important;
    gap: 10px !important;
    padding: 16px !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(15, 35, 70, 0.16) !important;
    box-shadow: 0 22px 50px rgba(10, 25, 55, 0.24) !important;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-site-menu:not([open]) .mobile-site-menu__panel {
    display: none !important;
  }

  .mobile-site-menu__panel a {
    display: block !important;
    padding: 13px 15px !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    font-weight: 900 !important;
    color: #23446f !important;
    background: #f7fbff !important;
    border: 1px solid rgba(120, 150, 190, 0.32) !important;
    white-space: nowrap !important;
  }

  .search-toolbar,
  .landing-hero__top,
  .leaderboard-header-row,
  .site-page-header__brand {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .site-toolbar-brand,
  .site-page-header__brand > :first-child,
  .leaderboard-header-row > :first-child,
  .landing-hero__top > :first-child,
  .site-page-header__intro,
  .site-page-header__copy,
  .leaderboard-header-copy,
  .landing-hero__copy,
  .page-title-block,
  .player-search-form,
  .player-search-grid,
  .landing-searchbox,
  .landing-search-grid,
  .landing-search-row {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .leaderboard-title,
  .site-page-title,
  .site-page-header h1,
  .site-page-header__title,
  .landing-title,
  .hero-title {
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    line-height: 1.12 !important;
    letter-spacing: -0.035em !important;
    font-size: clamp(13px, 3.35vw, 23px) !important;
    max-width: 100% !important;
    overflow: visible !important;
    padding-bottom: 0.12em !important;
  }

  .leaderboard-hero,
  .site-page-hero,
  .hero-card,
  .landing-hero {
    overflow: visible !important;
    padding-bottom: 34px !important;
  }

  .leaderboard-scroll-top,
  .leaderboard-table-wrap,
  .table-scroller,
  .stat-table-wrap,
  .daily-ranking-table-wrap,
  .pitch-page-tabs {
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch;
  }

  .leaderboard-scroll-top,
  .leaderboard-table-wrap {
    margin-left: -16px !important;
    margin-right: -16px !important;
    max-width: calc(100% + 32px) !important;
  }



  /* 2026-04-25: keep sticky Player column compact on mobile leaderboards. */
  .leaderboard-table td.player-cell.sticky-player,
  .leaderboard-table th.sticky-player {
    min-width: 136px !important;
    width: 136px !important;
    max-width: 136px !important;
  }

  .leaderboard-table td.player-cell.sticky-player {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .leaderboard-table td.player-cell.sticky-player .leaderboard-player-link,
  .leaderboard-table td.player-cell.sticky-player .leaderboard-player-romaji {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .site-wordmark__icon,
  .site-wordmark--standard .site-wordmark__icon,
  .site-wordmark--toolbar .site-wordmark__icon,
  .site-wordmark--page .site-wordmark__icon {
    width: 54px !important;
    height: 54px !important;
  }

  .site-wordmark__npb,
  .site-wordmark--standard .site-wordmark__npb,
  .site-wordmark--toolbar .site-wordmark__npb,
  .site-wordmark--page .site-wordmark__npb {
    font-size: clamp(30px, 8.8vw, 38px) !important;
  }

  .site-wordmark__scholar,
  .site-wordmark--standard .site-wordmark__scholar,
  .site-wordmark--toolbar .site-wordmark__scholar,
  .site-wordmark--page .site-wordmark__scholar {
    font-size: clamp(26px, 7.8vw, 34px) !important;
  }

  .site-wordmark__sub,
  .site-wordmark--standard .site-wordmark__sub,
  .site-wordmark--toolbar .site-wordmark__sub,
  .site-wordmark--page .site-wordmark__sub {
    font-size: 13px !important;
    margin-top: 5px !important;
  }
}


/* NPB_FARM_NO_ADS_LOGO_FIX_V3 */
.site-footer__brand {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  text-align: center;
  color: #10264d;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.35;
}
.site-footer__logo[alt] {
  display: none;
}
