.itoba-schedule-page #content {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.itoba-schedule-page #sidebar { display: none !important; }
.itoba-schedule-page .p-breadcrumb { display: none; }

.itoba-schedule {
  --sc-navy: var(--itoba-navy-900);
  --sc-navy-dark: var(--itoba-navy-950);
  --sc-teal: var(--itoba-teal);
  --sc-lime: var(--itoba-lime);
  --sc-lime-soft: var(--itoba-lime-soft);
  --sc-mist: var(--itoba-mist);
  --sc-ink: var(--itoba-ink);
  --sc-muted: var(--itoba-muted);
  --sc-line: var(--itoba-line);
  color: var(--sc-ink);
  background: var(--sc-mist);
  font-family: "Zen Kaku Gothic New", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
}

.itoba-schedule *, .itoba-schedule *::before, .itoba-schedule *::after { box-sizing: border-box; }
.itoba-schedule a { color: inherit; text-decoration: none; }
.itoba-schedule button { font: inherit; }
.itoba-schedule-container { width: min(var(--itoba-content), calc(100% - 40px)); margin-inline: auto; }

.itoba-schedule-hero { position: relative; overflow: hidden; color: var(--itoba-white); background: linear-gradient(135deg, var(--sc-teal), var(--sc-navy-dark)); }
.itoba-schedule-hero::before, .itoba-schedule-hero::after { position: absolute; content: ""; border: 1px solid rgba(217,239,141,.16); border-radius: 50%; }
.itoba-schedule-hero::before { width: 420px; height: 420px; top: -250px; right: -60px; }
.itoba-schedule-hero::after { width: 260px; height: 260px; right: 180px; bottom: -200px; }
.itoba-schedule-hero .itoba-schedule-container { position: relative; z-index: 1; padding-block: 50px 58px; }
.itoba-schedule-breadcrumb { display: flex; margin-bottom: 34px; gap: 9px; color: rgba(255,255,255,.78); font-size: 11px; }
.itoba-schedule-heading { display: grid; grid-template-columns: 92px minmax(0,1fr); align-items: end; gap: 26px; }
.itoba-schedule-year { display: grid; width: 92px; height: 92px; place-content: center; color: var(--sc-navy-dark); background: var(--sc-lime); border-radius: var(--itoba-radius-md); text-align: center; box-shadow: 0 14px 35px rgba(3,44,60,.2); }
.itoba-schedule-year strong { font-size: 24px; line-height: 1.1; }
.itoba-schedule-year span { margin-top: 3px; font-size: 10px; font-weight: 900; }
.itoba-schedule-heading small, .itoba-schedule-intro small, .itoba-calendar-panel small, .itoba-schedule-archives small { color: var(--sc-lime); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.itoba-schedule-heading h1 { margin: 6px 0 0; color: var(--itoba-white); font-size: clamp(30px,4.2vw,48px); line-height: 1.28; letter-spacing: .04em; }
.itoba-schedule-heading p { margin: 10px 0 0; color: rgba(255,255,255,.84); font-size: 13px; }

.itoba-schedule-main { padding: 56px 0 80px; }
.itoba-schedule-intro, .itoba-schedule-archives > div > header { display: flex; margin-bottom: 20px; align-items: flex-end; justify-content: space-between; gap: 20px; }
.itoba-schedule-intro small, .itoba-calendar-panel small, .itoba-schedule-archives small { color: var(--sc-teal); }
.itoba-schedule-intro h2, .itoba-schedule-archives h2 { margin: 4px 0 0; color: var(--sc-navy-dark); font-size: clamp(24px,3vw,34px); }
.itoba-schedule-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 15px; color: var(--sc-muted); font-size: 10px; font-weight: 700; }
.itoba-schedule-legend span { display: inline-flex; align-items: center; gap: 6px; }
.itoba-schedule-legend i { width: 8px; height: 8px; background: var(--sc-line); border-radius: 50%; }
.itoba-schedule-legend .is-open i { background: var(--sc-lime); }
.itoba-schedule-legend .is-finished i { background: var(--sc-teal); }
.itoba-schedule-note { margin: 0 0 22px; padding: 13px 17px; color: var(--sc-muted); background: var(--itoba-white); border: 1px solid var(--sc-line); border-radius: var(--itoba-radius-sm); font-size: 11px; }
.itoba-schedule-controls { display: flex; margin-bottom: 24px; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.itoba-view-switch, .itoba-schedule-filters { display: grid; padding: 5px; background: var(--sc-mist); border: 1px solid var(--sc-line); border-radius: var(--itoba-radius-pill); }
.itoba-view-switch { width: min(100%,420px); grid-template-columns: repeat(2,1fr); }
.itoba-schedule-filters { width: min(100%,520px); grid-template-columns: repeat(4,1fr); }
.itoba-view-tab, .itoba-filter { min-height: 44px; padding: 0 12px; color: var(--sc-muted); background: transparent; border: 0; border-radius: var(--itoba-radius-pill); font-size: 10px; font-weight: 900; cursor: pointer; }
.itoba-view-tab.is-active, .itoba-filter.is-active { color: var(--itoba-white); background: var(--sc-navy); box-shadow: 0 7px 18px rgba(6,46,59,.16); }
.itoba-view-tab:focus-visible, .itoba-filter:focus-visible, .itoba-tournament-actions a:focus-visible, .itoba-archive-grid a:focus-visible, .itoba-legacy-link:focus-visible { outline: 3px solid var(--sc-lime); outline-offset: 3px; }
.itoba-list-title { display: flex; margin: 34px 0 16px; align-items: center; gap: 11px; color: var(--sc-navy-dark); font-size: 21px; }
.itoba-list-title::before { width: 5px; height: 27px; content: ""; background: var(--sc-lime); border-radius: 4px; }
.itoba-schedule-list { display: grid; gap: 12px; }

.itoba-tournament-card { position: relative; display: grid; min-height: 128px; grid-template-columns: 122px minmax(0,1fr) auto; overflow: hidden; background: var(--itoba-white); border: 1px solid var(--sc-line); border-radius: var(--itoba-radius-md); box-shadow: var(--itoba-shadow-soft); }
.itoba-tournament-card[hidden] { display: none !important; }
.itoba-tournament-card::before { position: absolute; inset-block: 0; left: 0; width: 5px; content: ""; background: var(--sc-line); }
.itoba-tournament-card.status-open::before { background: var(--sc-lime); }
.itoba-tournament-card.status-finished::before { background: var(--sc-teal); }
.itoba-tournament-card time { display: grid; padding: 20px 18px; place-content: center; color: var(--sc-navy); background: var(--sc-mist); border-right: 1px solid var(--sc-line); text-align: center; }
.itoba-tournament-card time small { color: var(--sc-muted); font: 700 9px Arial,sans-serif; letter-spacing: .08em; }
.itoba-tournament-card time strong { margin: 3px 0; font: 700 32px/1 Arial,sans-serif; }
.itoba-tournament-card time span { color: var(--sc-teal); font: 900 11px Arial,sans-serif; }
.itoba-tournament-copy { display: flex; padding: 21px 24px; flex-direction: column; justify-content: center; }
.itoba-tournament-copy > div { display: flex; margin-bottom: 7px; flex-wrap: wrap; gap: 7px; }
.itoba-tournament-copy b { padding: 4px 9px; color: var(--itoba-white); background: var(--sc-navy); border-radius: var(--itoba-radius-pill); font-size: 9px; }
.itoba-tournament-copy b:first-child { color: var(--sc-navy-dark); background: var(--sc-lime-soft); }
.status-finished .itoba-tournament-copy b:first-child { color: var(--itoba-white); background: var(--sc-teal); }
.itoba-tournament-copy h3 { margin: 0; color: var(--sc-navy-dark); font-size: 18px; }
.itoba-tournament-copy p { margin: 5px 0 0; color: var(--sc-muted); font-size: 11px; }
.itoba-tournament-actions { display: flex; min-width: 165px; padding: 18px 22px; align-items: stretch; justify-content: center; flex-direction: column; gap: 7px; background: var(--sc-mist); border-left: 1px solid var(--sc-line); }
.itoba-tournament-actions a { display: grid; min-height: 44px; padding: 0 14px; place-items: center; color: var(--itoba-white); background: var(--sc-navy); border-radius: var(--itoba-radius-pill); font-size: 10px; font-weight: 900; }
.itoba-tournament-actions a.is-result { background: var(--sc-teal); }
.itoba-tournament-actions span { color: var(--sc-muted); font-size: 10px; text-align: center; }
.itoba-filter-empty { padding: 28px; color: var(--sc-muted); background: var(--itoba-white); border: 1px dashed var(--sc-line); border-radius: var(--itoba-radius-md); text-align: center; font-size: 12px; }

.itoba-calendar-panel { padding: 28px; background: var(--itoba-white); border: 1px solid var(--sc-line); border-radius: var(--itoba-radius-lg); box-shadow: var(--itoba-shadow-soft); }
.itoba-calendar-panel > header { display: flex; margin-bottom: 20px; align-items: flex-end; justify-content: space-between; gap: 20px; }
.itoba-calendar-panel h3 { margin: 4px 0 0; color: var(--sc-navy-dark); font-size: 23px; }
.itoba-calendar-panel header p { margin: 0; color: var(--sc-muted); font-size: 10px; }
.itoba-calendar-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.itoba-month { padding: 16px; background: var(--sc-mist); border: 1px solid transparent; border-radius: 14px; }
.itoba-month.has-event { background: var(--itoba-white); border-color: var(--sc-line); }
.itoba-month > header { display: flex; margin-bottom: 11px; justify-content: space-between; }
.itoba-month > header strong { color: var(--sc-navy-dark); font-size: 17px; }
.itoba-month > header span { color: var(--sc-muted); font-size: 9px; }
.itoba-month-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; text-align: center; }
.itoba-month-grid small { color: var(--sc-muted); font: 800 7px Arial,sans-serif; }
.itoba-day { display: grid; position: relative; min-height: 32px; place-items: center; color: var(--sc-muted); border-radius: 8px; font: 700 12px Arial,sans-serif; }
.itoba-day.is-empty { color: transparent; }
.itoba-day.has-event { color: var(--sc-navy-dark); background: var(--sc-lime); font-weight: 900; box-shadow: 0 4px 10px rgba(6,46,59,.12); }
.itoba-day.status-finished { color: var(--itoba-white); background: var(--sc-teal); }
.itoba-day.status-planned { color: var(--itoba-white); background: var(--sc-navy); }

.itoba-schedule-archives { padding: 64px 0 82px; background: var(--itoba-white); border-top: 1px solid var(--sc-line); }
.itoba-schedule-archives header p { margin: 0; color: var(--sc-muted); font-size: 12px; }
.itoba-archive-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.itoba-archive-grid a { display: flex; min-height: 110px; padding: 20px; align-items: center; justify-content: space-between; color: var(--sc-navy-dark); background: var(--sc-mist); border: 1px solid var(--sc-line); border-radius: var(--itoba-radius-md); transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.itoba-archive-grid a:hover { color: var(--itoba-white); background: var(--sc-navy); border-color: var(--sc-navy); }
.itoba-archive-grid small, .itoba-archive-grid strong { display: block; }
.itoba-archive-grid small { color: var(--sc-teal); font-size: 9px; }
.itoba-archive-grid strong { margin-top: 5px; font-size: 17px; }
.itoba-legacy-link { display: inline-block; margin-top: 18px; color: var(--sc-teal) !important; font-size: 11px; font-weight: 900; }

@media (max-width: 1040px) {
  .itoba-schedule-controls { flex-direction: column; }
  .itoba-view-switch, .itoba-schedule-filters { width: 100%; }
  .itoba-tournament-card { grid-template-columns: 112px minmax(0,1fr); }
  .itoba-tournament-actions { min-width: 0; padding: 0 22px 20px; grid-column: 2; flex-direction: row; background: var(--itoba-white); border: 0; }
  .itoba-tournament-actions a { flex: 1; }
  .itoba-calendar-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .itoba-archive-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 760px) {
  .itoba-schedule-container { width: min(100% - 28px,var(--itoba-content)); }
  .itoba-schedule-hero .itoba-schedule-container { padding-block: 32px 40px; }
  .itoba-schedule-breadcrumb { margin-bottom: 22px; }
  .itoba-schedule-heading { grid-template-columns: 66px minmax(0,1fr); gap: 15px; }
  .itoba-schedule-year { width: 66px; height: 66px; border-radius: var(--itoba-radius-sm); }
  .itoba-schedule-year strong { font-size: 17px; }
  .itoba-schedule-heading h1 { font-size: 30px; }
  .itoba-schedule-heading p { font-size: 11px; }
  .itoba-schedule-main { padding: 38px 0 58px; }
  .itoba-schedule-intro, .itoba-schedule-archives > div > header, .itoba-calendar-panel > header { align-items: flex-start; flex-direction: column; }
  .itoba-schedule-legend { justify-content: flex-start; }
  .itoba-view-tab, .itoba-filter { min-height: 41px; padding-inline: 5px; font-size: 9px; }
  .itoba-tournament-card { grid-template-columns: 82px minmax(0,1fr); }
  .itoba-tournament-card time { padding: 16px 8px; }
  .itoba-tournament-card time strong { font-size: 23px; }
  .itoba-tournament-copy { padding: 17px 15px; }
  .itoba-tournament-copy h3 { font-size: 15px; }
  .itoba-tournament-actions { padding: 0 15px 16px; }
  .itoba-calendar-panel { padding: 18px 0 21px; overflow: hidden; }
  .itoba-calendar-panel > header { padding-inline: 18px; }
  .itoba-calendar-grid { display: flex; padding: 0 18px 8px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .itoba-month { width: min(78vw,290px); flex: 0 0 auto; scroll-snap-align: start; }
  .itoba-archive-grid { grid-template-columns: 1fr; }
}

/* DESIGN-SYSTEM.md: annual schedule, 2026-09-06 */
body:has(.itoba-schedule) #breadcrumb { display: none; }

.itoba-schedule {
  font-size: 15px;
  line-height: 1.75;
}

.itoba-schedule-heading h1 { line-height: 1.3; }
.itoba-schedule-year span,
.itoba-schedule-heading small,
.itoba-schedule-intro small,
.itoba-calendar-panel small,
.itoba-schedule-archives small { font-size: 11px; }
.itoba-schedule-heading p { font-size: 15px; line-height: 1.75; }
.itoba-schedule-hero { background: linear-gradient(135deg, var(--itoba-navy-800), var(--itoba-navy-950)); }
.itoba-schedule-intro { margin-bottom: 28px; }
.itoba-schedule-intro h2, .itoba-schedule-archives h2 { color: var(--itoba-navy-900); font-size: clamp(31px, 3vw, 34px); line-height: 1.4; }
.itoba-schedule-list, .itoba-archive-grid { gap: 16px; }
.itoba-tournament-card { box-shadow: none; }
.itoba-tournament-copy h3 { color: var(--itoba-navy-900); line-height: 1.5; }
.itoba-tournament-copy p { font-size: 13px; line-height: 1.75; }
.itoba-tournament-copy b { font-size: 11px; line-height: 1.5; }
.itoba-tournament-actions a { min-height: 48px; padding: 10px 20px; font-size: 12px; line-height: 1.5; }
.itoba-tournament-actions a.is-result, .status-finished .itoba-tournament-copy b:first-child { background: var(--itoba-navy-800); }
.itoba-view-tab, .itoba-filter { min-height: 44px; font-size: 12px; font-weight: 700; }
.itoba-schedule-legend, .itoba-schedule-note { font-size: 12px; }
.itoba-month { border-radius: var(--itoba-radius-sm); }
.itoba-month > header span, .itoba-month-grid small { font-size: 11px; }
.itoba-day { min-height: 44px; }
.itoba-day.status-finished { background: var(--itoba-navy-800); }
.itoba-tournament-card time small { font-size: 11px; }
.itoba-tournament-card time span, .itoba-archive-grid small { color: var(--itoba-navy-800); }
.itoba-tournament-actions span, .itoba-calendar-panel header p, .itoba-archive-grid small { font-size: 11px; }

.itoba-schedule-intro small,
.itoba-calendar-panel small,
.itoba-schedule-archives small { font-family: Arial, sans-serif; }

.itoba-schedule-intro > div > small,
.itoba-calendar-panel header small,
.itoba-schedule-archives header small {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--itoba-navy-800);
}

.itoba-schedule-intro > div > small::before,
.itoba-calendar-panel header small::before,
.itoba-schedule-archives header small::before {
  width: 34px;
  height: 2px;
  content: "";
  background: var(--itoba-teal);
}

.itoba-legacy-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--itoba-navy-800) !important;
  text-decoration: underline !important;
}

.itoba-schedule a:focus-visible,
.itoba-schedule button:focus-visible {
  outline: 3px solid var(--itoba-navy-800);
  outline-offset: 3px;
}

.itoba-schedule-hero a:focus-visible { outline-color: var(--itoba-lime); }
.itoba-schedule-note + .itoba-filter-empty { display: none; }

@media (max-width: 760px) {
  .itoba-schedule-heading { grid-template-columns: 1fr; gap: 18px; }
  .itoba-schedule-year {
    display: flex;
    width: auto;
    height: auto;
    padding: 8px 16px;
    align-items: baseline;
    justify-self: start;
    gap: 5px;
    border-radius: var(--itoba-radius-pill);
    box-shadow: none;
  }
  .itoba-schedule-heading p { font-size: 15px; }
  .itoba-schedule-intro h2, .itoba-schedule-archives h2 { font-size: 27px; }
  .itoba-view-tab, .itoba-filter { min-height: 44px; font-size: 11px; }
  .itoba-tournament-card { grid-template-columns: 76px minmax(0, 1fr); }
  .itoba-tournament-copy { padding: 17px 12px; }
  .itoba-tournament-actions { grid-column: 1 / -1; flex-direction: column; padding: 0 14px 16px; }
  .itoba-tournament-actions a { width: 100%; }
  .itoba-calendar-grid { display: grid; grid-template-columns: minmax(0, 1fr); overflow: visible; padding-inline: 14px; gap: 16px; }
  .itoba-month { width: auto; min-width: 0; padding: 12px; }
  .itoba-month-grid { gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .itoba-schedule *, .itoba-schedule *::before, .itoba-schedule *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
