:root {
  color-scheme: light;
  --green: #14532D;
  --green-deep: #0E3D22;
  --lime: #C7ED45;
  --paper: #FAFAF5;
  --muted: #5C6B5E;
  font-family: system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
  color: var(--green-deep);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.7; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.shell { width: min(740px, calc(100% - 32px)); margin: 0 auto; }
.site-header { padding: 16px 0; border-bottom: 1px solid #E7EFD9; }
.brand { font-size: 1rem; font-weight: 800; letter-spacing: 0.025em; text-decoration: none; }
.breadcrumb { margin: 16px 0 12px; font-size: 0.76rem; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 3px 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 8px; }
.hero { padding: 24px 0 20px; color: var(--green-deep); border-bottom: 1px solid #DFE5DD; }
.eyebrow { margin: 0 0 9px; color: var(--muted); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.09em; }
h1 { margin: 0; font-size: clamp(1.45rem, 4.6vw, 2.25rem); font-weight: 800; line-height: 1.3; letter-spacing: -0.015em; }
.hero p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 0.85rem; }
.table-card { margin-top: 22px; padding: 20px; background: #fff; border: 1px solid #E2E7DE; border-radius: 12px; box-shadow: 0 4px 24px rgba(9,31,22,.025); }
table { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
caption { text-align: left; padding: 0 0 16px; color: var(--green); }
.caption-condition { display: block; margin-bottom: 5px; color: var(--muted); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; }
.caption-title { display: block; font-size: 1rem; font-weight: 750; line-height: 1.45; text-wrap: balance; }
th, td { padding: 8px 4px; text-align: center; border-bottom: 1px solid #E7EFD9; font-size: 0.95rem; }
thead th { background: transparent; color: var(--muted); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; }
tbody th[scope="row"] { color: #5C6B5E; font-size: 0.76rem; font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: none; }
.round-column { width: 3rem; }
.rest-column { width: 4.5rem; }
.court-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid #E4EAE1; }
.legend-label { flex-basis: 100%; color: var(--muted); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.04em; }
.diagram-guide { max-width: 620px; margin: 0 0 18px; color: #64746C; font-size: 0.74rem; line-height: 1.65; }
.court-diagram { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; width: 100%; max-width: 220px; min-height: 94px; margin: 0 auto; padding: 8px; border-radius: 3px; background: #12372A; }
.court-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(255,255,255,.65); stroke-width: 0.75; pointer-events: none; }
.court-lines rect, .court-lines path, .court-lines line { vector-effect: non-scaling-stroke; }
.court-lines .court-net { stroke: #FFFFFF; stroke-opacity: 0.9; stroke-width: 1; stroke-dasharray: 2 2; }
.court-pair { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-width: 0; }
.player { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 30px; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; color: #FFFFFF; background: var(--player-fill); font-size: 15px; font-weight: 800; line-height: 1; }
.player-1 { --player-fill: #244C3A; }
.player-2 { --player-fill: #263D59; }
.player-3 { --player-fill: #705238; }
.player-4 { --player-fill: #63506F; }
.player-5 { --player-fill: #733E4D; }
.player-6 { --player-fill: #245B5B; }
.player-7 { --player-fill: #704738; }
.player-8 { --player-fill: #505D34; }
.rest-bench { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; max-width: 52px; min-height: 94px; margin: 0 auto; padding: 8px 4px; border-radius: 3px; background: #F3F0E7; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.court-diagram, .player, .rest-bench { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.table-summary { margin: 14px 0 0; color: var(--muted); font-size: 0.82rem; }
section { margin: 28px 0; }
h2 { margin: 0 0 12px; color: var(--green); font-size: 1.15rem; line-height: 1.5; }
.notes p { margin: 0 0 12px; font-size: 0.9rem; }
.actions { padding: 22px; border: 1px solid #E7EFD9; border-radius: 18px; background: #fff; }
.button { display: inline-block; padding: 12px 18px; color: var(--green-deep); background: var(--lime); border-radius: 999px; font-size: 0.95rem; font-weight: 800; text-decoration: none; }
.button:hover { background: #D6F45A; }
.actions p { font-size: 0.85rem; color: var(--muted); margin: 12px 0; }
.next-event { font-weight: 700; }
.guide-links { display: flex; flex-wrap: wrap; gap: 10px; }
.guide-links a { padding: 8px 14px; border: 1px solid #B6CCAA; border-radius: 999px; font-size: 0.85rem; }
.promo-banner { width: 100%; max-width: 640px; margin: 24px auto 0; padding: 0 16px; position: relative; z-index: 1; }
.promo-link { display: block; text-decoration: none; position: relative; border-radius: 12px; overflow: hidden; transition: box-shadow .2s, transform .15s; box-shadow: 0 2px 12px rgba(0,0,0,.15); aspect-ratio: 16/6; min-height: 120px; }
.promo-link:hover { box-shadow: 0 6px 24px rgba(0,0,0,.3); transform: translateY(-2px); }
.promo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.promo-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,10,30,.75) 0%, rgba(10,10,30,.3) 50%, rgba(10,10,30,.6) 100%); }
.promo-content { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; height: 100%; padding: 16px 20px; gap: 6px; }
.promo-text { display: flex; align-items: baseline; gap: 8px; }
.promo-title { font-size: 1.1rem; font-weight: 300; color: #fff; letter-spacing: .15em; font-family: Georgia, 'Times New Roman', serif; }
.promo-subtitle { font-size: .85rem; font-weight: 600; color: #d4af37; letter-spacing: .05em; }
.promo-tags { display: flex; gap: 6px; }
.promo-tag { font-size: .6rem; color: rgba(255,255,255,.8); background: rgba(255,255,255,.12); padding: 2px 8px; border-radius: 10px; letter-spacing: .05em; backdrop-filter: blur(4px); }
.promo-cta { font-size: .65rem; color: #d4af37; letter-spacing: .12em; font-weight: 600; margin-top: 2px; }
.site-footer { padding: 20px 0 28px; border-top: 1px solid #E7EFD9; color: var(--muted); font-size: 0.76rem; }
.site-footer p { margin: 0 0 10px; }
@media (max-width: 480px) {
  .promo-link { aspect-ratio: 16/7; }
  .promo-title { font-size: .95rem; }
  .promo-subtitle { font-size: .75rem; }
}
@media (min-width: 481px) {
  .legend-label { flex-basis: auto; margin-right: 8px; }
}
@media (max-width: 375px) {
  .hero { padding: 18px 0; }
  .table-card { padding: 12px 8px; }
  .actions { padding: 18px; }
  th, td { font-size: 0.9rem; }
  .button { padding: 12px 14px; font-size: 0.88rem; }
}
@media print {
  .site-header, .breadcrumb, .actions, .other-guides, .promo-banner, .site-footer { display: none; }
  .shell { width: 100%; }
  .hero { background: none; color: #000; padding: 0; }
  .eyebrow { color: #000; }
  .table-card { break-inside: auto; }
  tr { break-inside: avoid; }
  thead { display: table-header-group; }
}
