:root {
  color-scheme: light;
  --ink: #182825;
  --muted: #53615d;
  --green: #155b46;
  --line: #d2dcd6;
  font-family: Inter, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; line-height: 1.6; }
main { flex: 1; }
h1, h2, p, ul, dl, dd { margin: 0; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 3px solid #2788cc; outline-offset: 3px; }
.wrap { width: min(1080px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; left: 5px; top: -60px; background: #fff; padding: 5px 12px; }
.skip:focus { top: 3px; z-index: 2; }
.mast { border-top: 4px solid var(--green); border-bottom: 1px solid var(--line); }
.mast-inner, .mast nav, .event-label, .when { display: flex; align-items: center; }
.mast-inner { min-height: 75px; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; flex: none; }
.brand img { display: block; width: 124px; height: auto; filter: brightness(0) saturate(100%); }
.mast nav { gap: clamp(16px,3vw,34px); }
.mast nav a, #language { font-weight: 660; font-size: .9rem; white-space: nowrap; }
.mast nav a { text-decoration: none; padding-block: 10px; }
.mast nav a:hover, .back-today:hover { text-decoration: underline; text-underline-offset: 4px; color: var(--green); }
#language { color: var(--muted); border: 0; border-inline-start: 1px solid var(--line); padding: 5px 0 5px 18px; background: transparent; }
#today { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.98fr); gap: clamp(28px,5vw,76px); align-items: center; padding: clamp(30px,4.5vw,58px) 0; }
.event-copy { min-width: 0; }
.event-label { gap: 13px; color: var(--green); font-weight: 720; font-size: .88rem; }
#event-status { padding: 0 8px; border: 1px solid #cdd8d0; border-radius: 3px; color: #45544c; font-size: .76rem; font-weight: 600; }
#event-status[data-state="live"] { color: #005537; background: #e1f2e6; border-color: #b2cdbd; }
h1 { margin: 9px 0 15px; font-size: clamp(2.45rem,4.4vw,3.9rem); font-weight: 790; line-height: 1.19; letter-spacing: -.045em; overflow-wrap: anywhere; }
.when { gap: 4px 14px; align-items: baseline; flex-wrap: wrap; color: #344840; font-size: 1rem; font-variant-numeric: tabular-nums; }
#event-time { font-size: .91rem; color: var(--muted); }
.venue-link, .back-today { display: inline-flex; align-items: center; min-height: 43px; margin-top: 24px; font-weight: 680; font-size: .88rem; }
.venue-link { padding: 8px 16px; background: var(--green); color: white; text-decoration: none; border-radius: 3px; }
.venue-link:hover { background: #104735; }
.back-today { color: var(--green); text-underline-offset: 4px; }
.board-photo { display: block; width: 100%; height: clamp(190px,20vw,255px); object-fit: cover; object-position: 68% 50%; border-radius: 3px; }
.listings { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(28px,5vw,76px); padding: 30px 0 56px; border-top: 1px solid var(--line); }
h2 { font-size: clamp(1.2rem,2vw,1.55rem); font-weight: 760; line-height: 1.4; margin-bottom: 16px; letter-spacing: -.02em; }
ul { padding: 0; list-style: none; }
#schedule-list a { display: grid; grid-template-columns: max-content minmax(0,1fr) auto; align-items: baseline; gap: 15px; padding: 12px 2px; border-bottom: 1px solid var(--line); text-decoration: none; }
#schedule-list li:first-child a { padding-top: 0; }
#schedule-list a::after { content: "›"; color: var(--green); font-size: 1.15rem; }
#schedule-list a:hover strong { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
#schedule-list time, #results-event, .winners dt, .empty { color: var(--muted); font-size: .87rem; }
#schedule-list time { font-variant-numeric: tabular-nums; }
#schedule-list strong, .winners dd { font-weight: 670; overflow-wrap: anywhere; }
#results-event { margin-bottom: 7px; }
.winners > div { display: grid; grid-template-columns: minmax(76px, auto) 1fr; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); padding: 8px 2px; }
.winners dt { font-weight: 570; }
.notice { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 16px; color: var(--muted); font-size: .87rem; }
.notice button { background: transparent; border: 0; color: var(--green); text-decoration: underline; padding: 5px; }
footer { border-top: 1px solid var(--line); background: #f5f7f5; }
footer .wrap { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px; padding-block: 22px; }
footer span { font-size: .77rem; font-weight: 760; letter-spacing: .06em; }
footer p { color: var(--muted); font-size: .78rem; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 38px); }
  .mast-inner { min-height: 62px; }
  #today, .listings { gap: 24px; }
  .when { flex-direction: column; gap: 2px; }
  .listings { padding-bottom: 35px; }
}
@media (max-width: 580px) {
  .brand img { width: 95px; }
  .mast nav { gap: 12px; }
  .mast nav a, #language { font-size: .78rem; }
  #language { padding-inline-start: 10px; }
  #today { grid-template-columns: minmax(0,1fr); gap: 18px; padding-block: 24px; }
  h1 { margin: 7px 0; font-size: 2.35rem; }
  .when { flex-direction: row; gap: 2px 12px; }
  .venue-link, .back-today { margin-top: 15px; }
  .board-photo { height: clamp(95px,28vw,140px); object-position: 65% 47%; }
  .listings { grid-template-columns: minmax(0,1fr); padding-top: 24px; }
  h2 { margin-bottom: 12px; }
  footer .wrap { padding-block: 16px; }
}
@media (max-width: 360px) {
  .brand img { width: 84px; }
  .mast-inner, .mast nav { gap: 9px; }
}
