/* メジャーリーグtimes - MLB-inspired editorial UI */
:root {
  --mlb-navy: #041e42;
  --mlb-navy-2: #062a5c;
  --mlb-red: #bf0d3e;
  --navy: var(--mlb-navy);
  --navy-2: var(--mlb-navy-2);
  --navy-3: #0b3b75;
  --red: var(--mlb-red);
  --red-dark: #9f0a32;
  --ink: #101923;
  --muted: #5d6b7a;
  --line: #dce3eb;
  --bg: #f3f6fa;
  --card: #ffffff;
  --field: #1f6f4a;
  --clay: #b46a36;
  --gold: #d7a944;
  --radius: 8px;
  --shadow: 0 8px 24px rgba(4, 30, 66, .08);
  --shadow-lg: 0 18px 44px rgba(4, 30, 66, .16);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, system-ui, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(4, 30, 66, .04), transparent 250px),
    var(--bg);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
.text-link {
  color: var(--mlb-navy);
  text-decoration: underline;
  text-decoration-color: rgba(191, 13, 62, .45);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.text-link:hover { color: var(--mlb-red); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: rgba(4, 30, 66, .96);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--mlb-red);
  box-shadow: 0 10px 30px rgba(4, 30, 66, .22);
  backdrop-filter: blur(12px);
}
.league-bar {
  background: #fff;
  color: var(--mlb-navy);
  border-bottom: 1px solid rgba(4, 30, 66, .12);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
}
.league-bar .wrap {
  min-height: 28px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .03em; }
.brand .mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, var(--mlb-navy) 0 50%, var(--mlb-red) 50% 100%);
  display: grid;
  place-items: center;
  font-size: 18px;
  border: 2px solid rgba(255,255,255,.82);
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
}
.brand .name { font-size: 15px; line-height: 1.05; white-space: nowrap; }
.brand .name small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .24em;
  color: #bdd0e6;
}
.nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
}
.nav a {
  padding: 7px 5px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  color: #dbe7f5;
  transition: background .16s, color .16s, transform .16s;
  white-space: nowrap;
}
.nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav a.active { background: #fff; color: var(--mlb-navy); }
.nav a.cta {
  background: var(--mlb-red);
  color: #fff;
  margin-left: 4px;
  box-shadow: 0 8px 18px rgba(191, 13, 62, .3);
}
.nav a.cta:hover { background: #d7194b; transform: translateY(-1px); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 30, 66, .96) 0%, rgba(4, 30, 66, .86) 42%, rgba(4, 30, 66, .42) 74%, rgba(4, 30, 66, .18) 100%),
    linear-gradient(0deg, rgba(4, 30, 66, .66), rgba(4, 30, 66, .1)),
    url("ballpark-hero.png") center / cover no-repeat,
    var(--mlb-navy);
  border-bottom: 5px solid var(--mlb-red);
}
.hero .wrap {
  min-height: 500px;
  padding: 76px 20px 70px;
  display: grid;
  align-content: center;
  position: relative;
  z-index: 1;
}
.hero .eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .2em;
  font-weight: 900;
  color: #fff;
  padding: 7px 12px;
  margin-bottom: 18px;
  border-left: 4px solid var(--mlb-red);
  background: rgba(255,255,255,.12);
}
.hero h1 {
  max-width: 720px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  margin: 0 0 18px;
  font-weight: 900;
}
.hero p {
  max-width: 650px;
  margin: 0 0 30px;
  color: #dce8f6;
  font-size: 16px;
}
.hero .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 124px));
  gap: 12px;
  margin-top: 42px;
}
.hero-stats div {
  padding: 14px 13px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-left: 4px solid var(--mlb-red);
  border-radius: 6px;
}
.hero-stats strong {
  display: block;
  font-size: 20px;
  line-height: 1;
  color: #fff;
}
.hero-stats span {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  color: #c6d7ea;
  letter-spacing: .14em;
  font-weight: 900;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 11px 20px;
  border-radius: 6px;
  font-weight: 900;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  transition: transform .16s, box-shadow .16s, background .16s;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--mlb-red); color: #fff; box-shadow: 0 12px 24px rgba(191, 13, 62, .28); }
.btn-red:hover { background: #d7194b; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.46); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-navy { background: var(--mlb-navy); color: #fff; box-shadow: 0 12px 24px rgba(4, 30, 66, .18); }
.btn-navy:hover { background: var(--mlb-navy-2); }
.btn-block { width: 100%; }

/* Sections */
.section { padding: 58px 0; }
.section-band {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  border-bottom: 2px solid var(--line);
  padding-bottom: 13px;
}
.section-head h2 {
  font-size: 24px;
  line-height: 1.3;
  margin: 0;
  font-weight: 900;
  color: var(--mlb-navy);
  position: relative;
  padding-left: 15px;
}
.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 5px;
  background: var(--mlb-red);
}
.section-head .more {
  font-size: 13px;
  font-weight: 900;
  color: var(--mlb-red);
}
.section-head .more:hover { color: var(--mlb-navy); }
.section-head.compact { margin-top: 34px; }
.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.filter-bar > span {
  margin-right: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}
.filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 6px;
  background: #f7f9fc;
  color: var(--mlb-navy);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 900;
}
.filter:hover {
  border-color: rgba(191, 13, 62, .35);
  color: var(--mlb-red);
}
.filter.active {
  background: var(--mlb-navy);
  color: #fff;
  border-color: var(--mlb-navy);
  box-shadow: 0 10px 22px rgba(4, 30, 66, .18);
}

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .18s, box-shadow .18s, border-color .18s;
  border: 1px solid var(--line);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(191, 13, 62, .3); }
.card .thumb {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(4, 30, 66, .9), rgba(191, 13, 62, .22)),
    linear-gradient(45deg, var(--field) 0 35%, var(--clay) 35% 48%, #f6f1de 48% 52%, var(--field) 52% 100%);
}
.card .thumb::after {
  content: "";
  position: absolute;
  inset: 18% 12%;
  border: 1px solid rgba(255,255,255,.32);
  transform: rotate(45deg);
}
.card .thumb .tag {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  background: var(--mlb-red);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 5px 10px;
  border-radius: 5px;
  box-shadow: 0 8px 18px rgba(4, 30, 66, .2);
}
.card .body { padding: 16px 17px 18px; }
.card .body .meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 7px;
  font-weight: 700;
}
.card .body h2,
.card .body h3 {
  min-height: 3.2em;
  font-size: 16px;
  margin: 0;
  line-height: 1.55;
  font-weight: 900;
}
.draft-card .body h2,
.draft-card .body h3 { min-height: 0; }
.draft-card .body p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.wp-post-grid {
  margin: 18px 0 24px;
}
.wp-post-card .body h2,
.wp-post-card .body h3 { min-height: 0; }
.wp-post-card .body p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.article-content {
  font-size: 16px;
  line-height: 1.95;
}
.article-content h2 {
  margin-top: 34px;
  padding-left: 12px;
  border-left: 5px solid var(--mlb-red);
  color: var(--mlb-navy);
  font-size: 22px;
}
.article-content h3 {
  margin-top: 24px;
  color: var(--mlb-navy);
  font-size: 18px;
}
.article-content p { margin: 0 0 18px; }
.card:hover .body h2,
.card:hover .body h3 { color: var(--mlb-navy-2); }

/* Product cards */
.product .thumb {
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(255,255,255,.9), rgba(220,227,235,.82)),
    repeating-linear-gradient(90deg, #fff 0 18px, #f4f7fb 18px 36px);
}
.product .thumb::before {
  content: "";
  position: absolute;
  width: 48%;
  height: 62%;
  border-radius: 7px 7px 16px 16px;
  background:
    linear-gradient(90deg, transparent 0 43%, rgba(4,30,66,.12) 43% 57%, transparent 57%),
    #fff;
  border: 2px solid #c8d3df;
  box-shadow: 0 18px 34px rgba(4,30,66,.18);
}
.product .thumb .ph {
  position: relative;
  z-index: 1;
  margin-top: 70%;
  color: var(--mlb-navy);
  font-size: 12px;
  font-weight: 900;
}
.product .body .player { font-size: 12px; color: var(--mlb-red); font-weight: 900; margin-bottom: 5px; }
.product .price { margin-top: 12px; font-weight: 900; font-size: 18px; color: var(--mlb-navy); }
.product .price small { font-size: 11px; color: var(--muted); font-weight: 700; }
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 9px;
  border-radius: 5px;
}
.badge.open { background: #e7f4ec; color: #136b3e; }
.badge.talk { background: #fff3d9; color: #9a6a12; }
.badge.sold { background: #f4e3e8; color: var(--red-dark); }
.badge.coa { background: #eef4fb; color: var(--mlb-navy); }

/* Standings */
.standings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.stand-table {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.stand-table { overflow-x: auto; }
.stand-table table { min-width: 520px; }
.stand-table tbody tr:hover td,
.stand-table tr:hover td {
  background-color: rgba(4, 30, 66, .035);
}
.stand-table h3 {
  margin: 0;
  padding: 13px 16px;
  background: var(--mlb-navy);
  color: #fff;
  font-size: 14px;
  letter-spacing: .05em;
}
table { width: 100%; border-collapse: collapse; font-size: 14px; }
.stand-table th, .stand-table td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--line); }
.stand-table th { background: #f0f4f8; color: var(--muted); font-size: 12px; font-weight: 900; }
.stand-table td.team, .stand-table th.team { text-align: left; font-weight: 900; }
.stand-table tr:last-child td { border-bottom: 0; }
.stand-table .lead td { background: linear-gradient(90deg, rgba(191,13,62,.09), transparent); }
.rank { display: inline-block; width: 22px; color: var(--mlb-red); font-weight: 900; }

/* Scores strip */
.scores {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  margin-top: -26px;
  position: relative;
  z-index: 3;
}
.score-card {
  flex: 0 0 auto;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--mlb-red);
  border-radius: var(--radius);
  padding: 13px 14px;
  box-shadow: var(--shadow);
}
.score-card .st { font-size: 11px; font-weight: 900; color: var(--mlb-red); margin-bottom: 8px; }
.score-card .row { display: flex; justify-content: space-between; gap: 18px; font-weight: 900; line-height: 1.55; }
.score-card .row.win { color: var(--mlb-navy); }
.score-card .row.lose { color: var(--muted); }

/* Subpage header */
.page-head {
  background:
    linear-gradient(110deg, rgba(4, 30, 66, .98), rgba(4, 30, 66, .88) 64%, rgba(191, 13, 62, .82)),
    var(--mlb-navy);
  color: #fff;
  padding: 42px 0;
  border-bottom: 4px solid var(--mlb-red);
}
.page-head .wrap {
  position: relative;
}
.page-head .wrap::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(255,255,255,.14);
  transform: translateY(-50%) rotate(45deg);
  opacity: .5;
}
.page-head h1 { margin: 0; font-size: 32px; line-height: 1.25; font-weight: 900; }
.page-head .crumb { font-size: 12px; color: #c2d3e7; margin-bottom: 9px; font-weight: 800; }
.page-lead {
  margin: 8px 0 0;
  color: #cfdcec;
  font-size: 14px;
  max-width: 760px;
}

/* Product detail */
.detail { display: grid; grid-template-columns: 1.08fr 1fr; gap: 36px; align-items: start; }
.gallery .main {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--mlb-navy);
  font-weight: 900;
  background:
    linear-gradient(145deg, rgba(255,255,255,.9), rgba(220,227,235,.84)),
    repeating-linear-gradient(90deg, #fff 0 22px, #f3f6fa 22px 44px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery .thumbs div {
  aspect-ratio: 1/1;
  background: linear-gradient(160deg, #fff, #dfe7f0);
  border-radius: 6px;
  border: 1px solid var(--line);
}
.detail h1 { font-size: 28px; line-height: 1.32; margin: 6px 0 5px; color: var(--mlb-navy); }
.detail .player-line { color: var(--mlb-red); font-weight: 900; font-size: 14px; }
.spec { width: 100%; margin: 18px 0; font-size: 14px; }
.spec th, .spec td { padding: 10px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.spec th { width: 120px; color: var(--muted); font-weight: 900; }
.price-box {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--mlb-red);
  border-radius: var(--radius);
  padding: 19px;
  box-shadow: var(--shadow);
  margin-top: 4px;
}
.price-box .big { font-size: 30px; font-weight: 900; color: var(--mlb-navy); letter-spacing: 0; }
.note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.article-wrap {
  max-width: 820px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding-top: 28px;
  padding-bottom: 34px;
  box-shadow: var(--shadow);
}
.article-wrap > h1 {
  color: var(--mlb-navy);
}
.article-wrap p {
  color: #223040;
}

/* Data and content pages */
.scoreboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.game-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--mlb-navy);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.game-card.live { border-top-color: var(--mlb-red); }
.game-card.scheduled { border-top-color: var(--gold); }
.game-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.game-top span { color: var(--mlb-red); }
.game-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  color: var(--mlb-navy);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.7;
}
.game-row strong { font-size: 24px; line-height: 1; }
.game-row.muted { color: var(--muted); }
.game-note {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.timeline {
  display: grid;
  gap: 12px;
}
.timeline div {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--mlb-red);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.timeline span {
  display: block;
  color: var(--mlb-red);
  font-size: 12px;
  font-weight: 900;
}
.timeline strong {
  display: block;
  margin-top: 3px;
  color: var(--mlb-navy);
  font-size: 16px;
}
.timeline p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.summary-panel,
.seo-text {
  margin-top: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--mlb-red);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.summary-panel p,
.seo-text p {
  margin: 0;
  color: #273747;
  font-size: 14px;
}
.summary-panel p + p,
.seo-text p + p { margin-top: 12px; }
.seo-text h2 {
  margin: 0 0 10px;
  color: var(--mlb-navy);
  font-size: 22px;
}
.inline-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.inline-link-grid a {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--mlb-red);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.inline-link-grid strong {
  display: block;
  color: var(--mlb-navy);
  font-size: 16px;
}
.inline-link-grid span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.inline-link-grid a:hover strong { color: var(--mlb-red); }

.player-directory {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.player-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.player-card:hover {
  transform: translateY(-2px);
  border-color: rgba(191, 13, 62, .35);
  box-shadow: var(--shadow-lg);
}
.player-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mlb-navy), var(--mlb-red));
  color: #fff;
  font-weight: 900;
}
.player-card p { margin: 0; color: var(--mlb-red); font-size: 11px; font-weight: 900; }
.player-card h2 { margin: 2px 0 1px; color: var(--mlb-navy); font-size: 18px; line-height: 1.25; }
.player-card span { color: var(--muted); font-size: 12px; font-weight: 800; }
.player-avatar.large {
  width: 84px;
  height: 84px;
  font-size: 24px;
}
.player-profile-hero,
.team-profile-hero {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--mlb-red);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.player-profile-hero h2,
.team-profile-hero h2 {
  margin: 8px 0 4px;
  color: var(--mlb-navy);
  font-size: 32px;
  line-height: 1.2;
}
.player-profile-hero p,
.team-profile-hero p { margin: 0; color: var(--muted); font-weight: 800; }
.profile-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.data-table { margin-top: 10px; }

.feature-lead {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: center;
  margin-bottom: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.feature-visual {
  min-height: 300px;
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(4,30,66,.78), rgba(191,13,62,.22)),
    linear-gradient(45deg, var(--field) 0 34%, var(--clay) 34% 48%, #f4ead0 48% 52%, var(--field) 52% 100%);
  position: relative;
  overflow: hidden;
}
.feature-visual::after {
  content: "";
  position: absolute;
  inset: 24%;
  border: 1px solid rgba(255,255,255,.45);
  transform: rotate(45deg);
}
.feature-lead h2 {
  margin: 12px 0 10px;
  color: var(--mlb-navy);
  font-size: 28px;
  line-height: 1.35;
}
.feature-lead p { color: var(--muted); margin: 0 0 18px; }

.rank-panels,
.team-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.metric-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--mlb-red);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.metric-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}
.metric-card strong {
  display: block;
  color: var(--mlb-navy);
  font-size: 32px;
  line-height: 1.1;
  margin-top: 5px;
}
.metric-card p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

.team-tiles { margin-top: 20px; }
.team-tiles div {
  background: var(--mlb-navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px;
  border-bottom: 4px solid var(--mlb-red);
}
.team-tiles strong { display: block; font-size: 24px; }
.team-tiles span { color: #c9d8e9; font-size: 13px; font-weight: 800; }

.result-list { display: grid; gap: 14px; }
.result-date-group {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  scroll-margin-top: 110px;
}
.date-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}
.date-heading h2 {
  margin: 0;
  color: var(--mlb-navy);
  font-size: 22px;
}
.date-heading span {
  color: var(--mlb-red);
  font-size: 13px;
  font-weight: 900;
}
.result-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--mlb-red);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.compact-metrics { margin: 0; min-width: 390px; }
.result-card span { color: var(--mlb-red); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.result-card h2 { margin: 3px 0; color: var(--mlb-navy); font-size: 21px; }
.result-card p { margin: 0; color: var(--muted); }
.is-hidden { display: none !important; }
.inline-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid #d7e2ef;
  border-left: 4px solid var(--mlb-red);
  border-radius: var(--radius);
  background: #f7faff;
  color: var(--mlb-navy);
  box-shadow: var(--shadow);
}
.inline-notice p {
  margin: 0;
  color: #52677f;
  font-size: 13px;
  font-weight: 700;
}

.collector-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--mlb-red);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.collector-card span { color: var(--mlb-red); font-size: 12px; font-weight: 900; }
.collector-card h3 { color: var(--mlb-navy); margin: 6px 0; font-size: 19px; }
.collector-card p { color: var(--muted); margin: 0; font-size: 13px; }

.ohtani-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 26px;
  padding: 26px;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(4,30,66,.97), rgba(4,30,66,.82) 58%, rgba(191,13,62,.72)),
    url("ballpark-hero.png") center / cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.ohtani-hero h2 {
  margin: 12px 0 10px;
  font-size: 34px;
  line-height: 1.25;
}
.compact-hero { margin-bottom: 0; }
.ohtani-article-grid { margin-top: 18px; }
.ohtani-hero p { color: #d7e4f2; margin: 0; }
.ohtani-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ohtani-metrics div {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24);
  border-left: 4px solid var(--mlb-red);
  border-radius: 7px;
  padding: 18px;
}
.ohtani-metrics span {
  display: block;
  color: #c9d8e9;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}
.ohtani-metrics strong {
  display: block;
  margin-top: 6px;
  font-size: 36px;
  line-height: 1;
}
.ohtani-metrics p {
  margin: 8px 0 0;
  color: #d7e4f2;
  font-size: 12px;
  font-weight: 800;
}

.contact-section { padding-top: 34px; }
.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--mlb-navy);
  color: #fff;
  border-bottom: 4px solid var(--mlb-red);
  box-shadow: var(--shadow-lg);
}
.contact-panel h2 {
  margin: 10px 0 8px;
  font-size: 26px;
  line-height: 1.35;
}
.contact-panel p {
  margin: 0;
  color: #c9d8e9;
}
.contact-form {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--mlb-navy);
  font-weight: 900;
  font-size: 13px;
}
.contact-form label span {
  color: var(--mlb-red);
  font-size: 11px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--mlb-navy);
  font: inherit;
  background: #f8fbff;
}
.contact-form textarea {
  margin-top: 14px;
  resize: vertical;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}
.contact-notice { margin: 18px 0 0; }
.last-updated {
  text-align: right;
  margin-top: 18px;
  color: #91a9c3;
  font-size: 11px;
  font-weight: 800;
}
.disclaimer {
  margin-top: 18px;
  padding: 14px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-left: 4px solid var(--mlb-red);
  border-radius: 6px;
  color: #b9c9dc;
  font-size: 12px;
  line-height: 1.8;
}
.mock-note {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 80;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(4, 30, 66, .9);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.data-status {
  margin: 14px auto 0;
  max-width: var(--maxw);
  padding: 10px 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.data-status[data-type="error"] {
  color: var(--mlb-red);
}
.mini-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  color: var(--mlb-red);
  font-size: 12px;
  font-weight: 900;
}
.mini-link:hover { color: var(--mlb-navy); }
.game-detail-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--mlb-red);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.game-detail-score {
  display: grid;
  grid-template-columns: 1fr auto auto auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 18px 0;
  color: var(--mlb-navy);
  font-size: 22px;
  font-weight: 900;
}
.game-detail-score strong {
  font-size: 42px;
  line-height: 1;
}
.game-detail-score span {
  color: var(--muted);
  font-size: 13px;
}

/* Form */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.form-card h2 { margin: 0 0 4px; font-size: 22px; color: var(--mlb-navy); }
.field { margin-top: 16px; }
.field label { display: block; font-size: 13px; font-weight: 900; margin-bottom: 6px; }
.field label .req { color: var(--mlb-red); margin-left: 4px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  background: #fbfcfe;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 3px solid rgba(191, 13, 62, .16);
  border-color: var(--mlb-red);
}
.field textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.check input { width: auto; margin-top: 3px; }

/* Footer */
.site-footer { background: var(--mlb-navy); color: #bed0e5; margin-top: 40px; border-top: 4px solid var(--mlb-red); }
.site-footer .wrap { padding: 42px 20px 25px; }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.foot-cols h4 { color: #fff; font-size: 13px; letter-spacing: .08em; margin: 0 0 12px; }
.foot-cols a { display: block; font-size: 13px; padding: 4px 0; color: #bed0e5; }
.foot-cols a:hover { color: #fff; }
.copy { border-top: 1px solid rgba(255,255,255,.14); margin-top: 26px; padding-top: 16px; font-size: 12px; color: #91a9c3; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .standings-grid { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .topbar { flex-wrap: wrap; gap: 12px; padding-top: 12px; padding-bottom: 10px; }
  .nav {
    order: 2;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .nav a { flex: 0 0 auto; }
  .hero .wrap { min-height: 450px; }
  .league-bar { display: none; }
  .scoreboard-grid,
  .player-directory,
  .feature-lead,
  .rank-panels,
  .team-dashboard,
  .ohtani-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .topbar { min-height: 66px; }
  .brand .mark { width: 36px; height: 36px; }
  .brand .name { font-size: 15px; }
  .hero {
    background:
      linear-gradient(180deg, rgba(4, 30, 66, .94), rgba(4, 30, 66, .78)),
      url("ballpark-hero.png") center / cover no-repeat,
      var(--mlb-navy);
  }
  .hero .wrap { min-height: 430px; padding: 58px 16px 56px; }
  .hero h1 { font-size: 34px; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 30px; }
  .hero-stats div { padding: 11px 9px; }
  .hero-stats strong { font-size: 16px; }
  .hero-stats span { font-size: 9px; letter-spacing: .08em; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 42px 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .card .body h2,
  .card .body h3 { min-height: 0; }
  .filter-bar { padding: 12px; gap: 8px; }
  .filter { flex: 1 1 calc(50% - 8px); padding: 8px 10px; }
  .article-wrap { border-radius: 0; border-left: 0; border-right: 0; }
  .game-row { font-size: 16px; }
  .player-card { align-items: flex-start; }
  .player-profile-hero,
  .team-profile-hero {
    grid-template-columns: 1fr;
  }
  .profile-actions { justify-content: flex-start; }
  .compact-metrics { min-width: 0; }
  .feature-lead { padding: 14px; }
  .feature-visual { min-height: 210px; }
  .feature-lead h2,
  .ohtani-hero h2 { font-size: 24px; }
  .ohtani-hero { padding: 20px; }
  .ohtani-metrics { grid-template-columns: 1fr; }
  .contact-panel { align-items: flex-start; flex-direction: column; }
  .contact-panel h2 { font-size: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions { justify-content: stretch; }
  .form-actions .btn { width: 100%; justify-content: center; }
  .inline-link-grid { grid-template-columns: 1fr; }
  .result-card { align-items: flex-start; flex-direction: column; }
  .foot-cols { grid-template-columns: 1fr; }
}
