:root {
  color-scheme: light;
  --bg: #f4f7f5;
  --card: #ffffff;
  --text: #17231f;
  --muted: #5f6f68;
  --brand: #115740;
  --brand-2: #1f7a5c;
  --border: #dce7e1;
  --danger: #9f2d2d;
  --warning: #8a5a00;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #e6f2ed 0%, var(--bg) 42%, #fff 100%);
}

.page-shell {
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 24px;
  align-items: start;
}

.shell {
  min-width: 0;
}

.hero {
  margin-bottom: 24px;
}

.eyebrow {
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.beta-notice {
  width: 100%;
  margin: 0;
  border-bottom: 1px solid rgba(17, 87, 64, 0.14);
  padding: 10px 16px;
  color: #143126;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 208, 89, 0.3), transparent 34%),
    linear-gradient(135deg, #fff8df 0%, #f3fbf6 58%, #e8f3ee 100%);
  box-shadow: 0 16px 44px rgba(17, 87, 64, 0.1);
}

.beta-notice__inner {
  width: min(1180px, calc(100% - 16px));
  margin: 0 auto;
  border: 1px solid rgba(17, 87, 64, 0.16);
  border-radius: 22px;
  padding: 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(17, 87, 64, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
}

.beta-notice__header {
  border-radius: 16px;
  padding: 10px 12px;
  display: grid;
  gap: 8px;
  align-content: center;
  justify-items: center;
  background: linear-gradient(135deg, rgba(17, 87, 64, 0.08), rgba(31, 122, 92, 0.04));
}

.beta-notice__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 87, 64, 0.18);
  border-radius: 999px;
  padding: 6px 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 20px rgba(17, 87, 64, 0.18);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.11em;
}

.beta-notice__title {
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.beta-notice__list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
}

.beta-notice__list li {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(17, 87, 64, 0.12);
  border-radius: 14px;
  padding: 9px 12px 9px 32px;
  color: #244138;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.42;
  letter-spacing: -0.01em;
}

.beta-notice__list li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 1.05em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #f3b63f);
  box-shadow: 0 0 0 4px rgba(31, 122, 92, 0.09);
}

.lede {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.site-sidebar {
  min-width: 0;
}

.site-sidebar-card {
  position: sticky;
  top: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 18px;
  background: color-mix(in srgb, var(--card) 90%, transparent);
  box-shadow: 0 24px 80px rgba(17, 87, 64, 0.12);
}

.site-sidebar-eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.homepage-banners {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}

.homepage-banner {
  --banner-bg: linear-gradient(135deg, var(--brand), var(--brand-2));
  --banner-text: #fff;
  --banner-muted: rgba(255, 255, 255, 0.82);
  --banner-panel: rgba(255, 255, 255, 0.14);
  --banner-border: rgba(255, 255, 255, 0.18);
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 148px;
  overflow: hidden;
  border: 1px solid var(--banner-border);
  border-radius: 20px;
  padding: 14px;
  color: var(--banner-text);
  background: var(--banner-bg);
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(17, 87, 64, 0.16);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.homepage-banner::after {
  content: "↗";
  position: absolute;
  right: 14px;
  top: 12px;
  color: var(--banner-muted);
  font-weight: 900;
}

.homepage-banner:hover,
.homepage-banner:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(17, 87, 64, 0.22);
}

.homepage-banner:focus-visible {
  outline: 3px solid rgba(17, 87, 64, 0.22);
  outline-offset: 3px;
}

.site-logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  border: 1px solid var(--banner-border);
  border-radius: 16px;
  padding: 10px;
  background: var(--banner-panel);
}

.site-logo-frame img {
  display: block;
  max-width: 100%;
  max-height: 68px;
  object-fit: contain;
}

.site-banner-copy,
.site-banner-copy strong,
.site-banner-copy span,
.site-banner-copy small {
  display: block;
}

.site-banner-copy strong {
  padding-right: 24px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.site-banner-copy span {
  margin-top: 5px;
  color: var(--banner-muted);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

.site-banner-copy small {
  margin-top: 8px;
  color: var(--banner-muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.homepage-banner-gameone {
  --banner-bg: linear-gradient(135deg, #064e3b, #022c22);
  --banner-muted: rgba(255, 211, 57, 0.88);
  --banner-panel: rgba(0, 0, 0, 0.18);
  --banner-border: rgba(255, 211, 57, 0.24);
}

.homepage-banner-gameone .site-logo-frame {
  background: #0f513b;
}

.homepage-banner-uniqueplay {
  --banner-bg: linear-gradient(135deg, #1f3e69, #0f2747);
  --banner-muted: rgba(255, 255, 255, 0.84);
  --banner-panel: rgba(255, 255, 255, 0.10);
  --banner-border: rgba(255, 255, 255, 0.18);
}

.homepage-banner-uniqueplay .site-logo-frame img {
  max-height: 62px;
}

.homepage-banner-yagooshop {
  --banner-bg: linear-gradient(135deg, #ffffff, #f3f4f6);
  --banner-text: #1f2937;
  --banner-muted: #4b5563;
  --banner-panel: #fff;
  --banner-border: #d5d8df;
}

.homepage-banner-yagooshop::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #b91c1c, #1d4ed8);
}

.homepage-banner-jjangbaseball {
  --banner-bg: linear-gradient(135deg, #ffffff, #f8fafc);
  --banner-text: #111827;
  --banner-muted: #4b5563;
  --banner-panel: #fff;
  --banner-border: #e11d48;
}

.homepage-banner-jjangbaseball::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: #ef1c25;
}

.card {
  background: color-mix(in srgb, var(--card) 94%, transparent);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(17, 87, 64, 0.10);
  padding: 24px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.provider-card {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,0.64);
}

.provider-card legend {
  padding: 0 8px;
  color: var(--brand);
  font-weight: 900;
}

.provider-note {
  margin: -2px 0 0;
  border: 1px solid color-mix(in srgb, #f3b63f 36%, var(--border));
  border-radius: 14px;
  padding: 10px 12px;
  color: #6b4a00;
  background: color-mix(in srgb, #fff8e1 72%, #fff);
  font-size: 0.88rem;
  font-weight: 720;
  line-height: 1.5;
}

.season-grid {
  grid-template-columns: minmax(160px, 260px);
}

label span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 700;
}

.remember-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.remember-row input {
  width: auto;
  margin: 0;
}

.remember-row span {
  display: inline;
  margin: 0;
  font-weight: 700;
}

input, textarea, select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

textarea { resize: vertical; }
input:focus, textarea:focus, select:focus {
  outline: 3px solid rgba(17, 87, 64, 0.15);
  border-color: var(--brand);
}

.actions, .exports {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.manual-team-search {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,0.64);
}

.manual-team-search h2 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 1.05rem;
}

.manual-search-grid {
  display: grid;
  grid-template-columns: minmax(140px, 180px) minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 12px;
}

.manual-team-results, .manual-teams {
  margin-top: 12px;
}

.manual-team-result-title {
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 800;
}

.manual-team-message {
  margin: 0;
  color: var(--muted);
}

.manual-team-message.error { color: var(--danger); font-weight: 800; }
.manual-team-message.warning { color: var(--warning); font-weight: 800; }

.manual-team-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.manual-team-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}

.manual-team-item.selected {
  background: #f5faf7;
}

.manual-team-item .team-logo {
  display: inline-block;
  width: 32px;
  height: 32px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  object-fit: cover;
  background: #f5faf7;
  flex: 0 0 auto;
}

.manual-team-item div {
  min-width: 0;
}

.manual-team-item strong {
  display: block;
  color: var(--text);
}

.manual-team-item em {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.manual-team-item button {
  margin-left: auto;
  padding: 8px 12px;
  color: var(--brand);
  background: #e6f2ed;
  font-size: 0.92rem;
}

button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 800;
  color: white;
  background: var(--brand);
  cursor: pointer;
}

button:hover { background: var(--brand-2); }
button:disabled { opacity: 0.6; cursor: wait; }
button.secondary, .exports button {
  color: var(--brand);
  background: #e6f2ed;
}

.privacy, .status, .summary {
  color: var(--muted);
  line-height: 1.6;
}

.status, .notices, .summary, .changes, .team-selector, .exports, .table-wrap {
  margin-top: 20px;
}

.status.error {
  color: var(--danger);
  font-weight: 700;
}

.status.warning {
  color: var(--warning);
  font-weight: 700;
}

.notices {
  border-color: #fde68a;
  background: #fffbeb;
}

.notices h2 {
  margin: 0 0 8px;
  color: #92400e;
  font-size: 1.1rem;
}

.notices ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #78350f;
  line-height: 1.6;
}

.summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.summary-item {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,0.75);
}

.summary-item strong {
  display: block;
  color: var(--text);
  font-size: 1.5rem;
}

.changes h2,
.changes h3 {
  margin: 0;
}

.changes-header {
  margin-bottom: 14px;
}

.change-summary {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.change-summary span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--brand);
  background: #e6f2ed;
  font-weight: 800;
}

.change-group {
  margin-top: 16px;
}

.change-group ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.field-changes {
  color: var(--muted);
}

.change-history {
  border-top: 1px solid var(--border);
  margin-top: 18px;
  padding-top: 16px;
}

.change-history > ol {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.change-history > ol > li {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f8fbfa;
  padding: 12px;
}

.change-history-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.change-history-title span {
  color: var(--brand);
  font-weight: 800;
}

.change-history-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 4px 0 8px;
}

.change-history-details {
  margin-top: 6px;
}

.change-history-details summary {
  color: var(--brand);
  cursor: pointer;
  font-weight: 800;
}

.change-history-details ul {
  margin: 6px 0 0;
  padding-left: 20px;
}

.team-selector {
  padding: 18px;
}

.team-selector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.team-selector-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.team-selector-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.team-selector-actions button {
  padding: 8px 12px;
  color: var(--brand);
  background: #e6f2ed;
  font-size: 0.92rem;
}

.team-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.team-option {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
}

.team-option input {
  width: auto;
}

.team-option .team-logo {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  object-fit: cover;
  background: #f5faf7;
  flex: 0 0 auto;
}

.team-logo-placeholder {
  display: inline-block;
}

.team-logo-broken {
  opacity: 0.35;
  filter: grayscale(1);
}

.team-option span {
  margin: 0;
  color: var(--text);
  min-width: 0;
}

.team-option em {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  white-space: nowrap;
}

.hidden { display: none !important; }

.table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.table-header h2 { margin: 0; }
.table-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.status-filter {
  width: min(100%, 520px);
  min-width: 260px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px 12px;
  margin: 0;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.status-filter legend {
  padding: 0 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.status-filter-actions {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.status-filter-actions button {
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
}

.status-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.status-option {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #f8fbfa;
  font-size: 0.86rem;
  cursor: pointer;
}

.status-option input {
  width: auto;
  margin: 0;
}

.status-filter-empty {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.table-header input { max-width: 320px; }
.scroll { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1080px;
}

th, td {
  border-bottom: 1px solid var(--border);
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.9rem;
}

td a { color: var(--brand); font-weight: 700; }

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 24px;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.provider-badge {
  color: #0f5132;
  background: #e6f4ee;
  border-color: #b7e0cc;
}

.provider-uniqueplay,
.provider-unique-play {
  color: #1d4ed8;
  background: #eaf1ff;
  border-color: #bfd2ff;
}

.status-badge.status-upcoming {
  color: #1d4ed8;
  background: #eaf1ff;
  border-color: #bfd2ff;
}

.status-badge.status-final {
  color: #365314;
  background: #ecfdf3;
  border-color: #bbf7d0;
}

.status-badge.status-forfeit {
  color: #7c2d12;
  background: #fff7ed;
  border-color: #fed7aa;
}

.status-badge.status-canceled {
  color: #991b1b;
  background: #fef2f2;
  border-color: #fecaca;
}

.status-badge.status-neutral,
.result-none {
  color: var(--muted);
  background: #f8fbfa;
}

.result-badge,
.score-badge {
  min-width: 42px;
}

.result-win,
.score-badge.result-win {
  color: #0f5132;
  background: #e6f4ee;
  border-color: #a7d7bd;
}

.result-loss,
.score-badge.result-loss {
  color: #9f2d2d;
  background: #fff1f2;
  border-color: #fecdd3;
}

.result-draw,
.score-badge.result-draw {
  color: #8a5a00;
  background: #fff8e1;
  border-color: #f8df93;
}

.score-badge {
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.schedule-row.date-group-odd td {
  background: #f8fbfa;
}

.schedule-row.date-group-start:not(:first-child) td {
  border-top: 3px solid color-mix(in srgb, var(--brand-2) 32%, var(--border));
}

.schedule-row.date-group-continue td {
  border-bottom-color: color-mix(in srgb, var(--border) 70%, transparent);
}

.date-cell {
  min-width: 132px;
  white-space: nowrap;
}

.date-label {
  font-weight: 800;
}

.date-label-repeat {
  color: var(--muted);
  font-weight: 700;
}

.same-date-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border: 1px solid color-mix(in srgb, var(--brand-2) 24%, var(--border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-2) 10%, #fff);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  vertical-align: middle;
}

.team-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.team-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.team-chip .team-logo {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  object-fit: cover;
  background: #f5faf7;
  flex: 0 0 auto;
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 32px;
}

@media (max-width: 1180px) {
  .page-shell { grid-template-columns: 1fr; }
  .site-sidebar { order: -1; }
  .site-sidebar-card { position: static; }
  .homepage-banners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .beta-notice { padding: 8px 10px; }
  .beta-notice__inner {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 10px;
  }
  .beta-notice__header {
    grid-template-columns: auto auto;
    justify-content: center;
    padding: 9px 10px;
  }
  .beta-notice__list {
    grid-template-columns: 1fr;
  }
  .beta-notice__list li {
    padding: 8px 11px 8px 30px;
    font-size: 0.86rem;
  }
  .page-shell { width: min(100% - 24px, 720px); padding-top: 28px; }
  .shell { order: 1; }
  .site-sidebar { order: 2; }
  .site-sidebar-card {
    margin-top: 10px;
  }
  .grid, .provider-grid, .homepage-banners { grid-template-columns: 1fr; }
  .manual-search-grid { grid-template-columns: 1fr; }
  .table-header { align-items: stretch; flex-direction: column; }
  .table-filters { justify-content: stretch; }
  .status-filter { width: 100%; min-width: 0; }
  .table-header input { max-width: none; }

  .table-wrap {
    padding: 16px;
  }

  .scroll {
    margin: 0;
    overflow-x: visible;
  }

  table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
  }

  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  tbody {
    display: grid;
    gap: 12px;
  }

  .schedule-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 10px;
    border: 1px solid color-mix(in srgb, var(--brand-2) 18%, var(--border));
    border-radius: 20px;
    padding: 14px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 250, 0.96)),
      #fff;
    box-shadow: 0 16px 38px rgba(17, 87, 64, 0.1);
  }

  .schedule-row.date-group-start:not(:first-child) td,
  .schedule-row.date-group-continue td,
  .schedule-row.date-group-odd td {
    border-top: 0;
    border-bottom-color: transparent;
    background: transparent;
  }

  .schedule-row td {
    border: 0;
    padding: 0;
    background: transparent;
  }

  .schedule-date {
    grid-column: 1;
    grid-row: 1;
    color: var(--brand);
  }

  .schedule-date .same-date-badge {
    margin-left: 4px;
  }

  .schedule-time {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    border-radius: 999px;
    padding: 4px 9px;
    color: #244138;
    background: #eef7f2;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
  }

  .schedule-source {
    grid-column: 1;
    grid-row: 2;
  }

  .schedule-status {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }

  .schedule-team,
  .schedule-opponent {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 9px 10px;
    background: #fff;
  }

  .schedule-team {
    margin-top: 4px;
    border-color: color-mix(in srgb, var(--brand-2) 28%, var(--border));
  }

  .schedule-team::before,
  .schedule-opponent::before,
  .schedule-league::before,
  .schedule-ground::before,
  .schedule-result::before,
  .schedule-score::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: -0.01em;
  }

  .schedule-league,
  .schedule-ground,
  .schedule-result,
  .schedule-score {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
  }

  .schedule-league,
  .schedule-ground {
    grid-column: 1 / -1;
    color: #405a51;
    font-size: 0.92rem;
  }

  .schedule-result,
  .schedule-score {
    grid-column: span 1;
    border-radius: 14px;
    padding: 8px 10px;
    background: #f8fbfa;
  }

  .schedule-score {
    justify-items: stretch;
  }

  .schedule-team .team-cell {
    min-width: 0;
  }

  .schedule-team .team-chip {
    max-width: 100%;
  }

  .schedule-team .team-chip span {
    overflow-wrap: anywhere;
  }

  .schedule-row .badge {
    width: fit-content;
    max-width: 100%;
  }

  .schedule-row .empty {
    display: block;
    width: 100%;
  }

  tbody tr:has(.empty) {
    display: block;
    border: 0;
    padding: 0;
    box-shadow: none;
    background: transparent;
  }
}
