.division-tabs {
  display: flex;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin: 0 0 22px;
  padding: 6px;
  border: 1px solid #c8d8e9;
  border-radius: 14px;
  background: #dfeaf6;
}

.division-tabs button {
  padding: 12px 24px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #173a67;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.division-tabs button.active {
  background: #123b6a;
  color: #fff;
  box-shadow: 0 4px 12px #123b6a2e;
}

.division-tabs button:focus-visible {
  outline: 3px solid #f5ba21;
  outline-offset: 2px;
}

.schedule-page .pole-group { margin: 0 0 48px; }

.schedule-page .pole-group-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  padding: 15px 19px;
  border-left: 7px solid #f5ba21;
  border-radius: 14px;
  background: linear-gradient(125deg, #0d2f5c, #175a98);
  color: #fff;
}

.schedule-page .pole-group-title span {
  color: #f5ba21;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.schedule-page .pole-group-title h2 {
  margin: 2px 0 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.schedule-page .pole-group-title p { margin: 0; white-space: nowrap; opacity: .86; }

.schedule-page .schedule-poles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.schedule-page .schedule-pole { min-width: 0; padding: 11px; border-radius: 16px; }
.schedule-page .schedule-pole > h3 { margin: 0 0 9px; padding: 9px 11px; border-radius: 9px; font-size: 1rem; }
.schedule-page .schedule-pole > div { gap: 8px; }
.schedule-page .schedule-game { min-width: 0; border-radius: 11px; }
.schedule-page .schedule-game > header { padding: 6px 9px; font-size: .72rem; }

.schedule-page .teams-line {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 5px;
  padding: 9px 7px;
}

.schedule-page .teams-line p,
.schedule-page .teams-line p:last-child {
  min-width: 0;
  justify-content: center;
  text-align: center;
  font-size: .76rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.schedule-page .teams-line em { font-size: 1rem; }

.schedule-page .schedule-game > footer {
  grid-template-columns: 1fr 1fr;
  gap: 4px 7px;
  padding: 7px 9px;
  font-size: .71rem;
}

.schedule-page .schedule-game > footer .time { text-align: right; }
.schedule-page .schedule-game > footer .venue { grid-column: 1 / -1; line-height: 1.15; overflow-wrap: anywhere; }

.schedule-page .match-info { display:flex;align-items:center;gap:7px;min-width:0;font-size:.82rem;line-height:1.15; }
.schedule-page .match-info svg { flex:0 0 17px;width:17px;height:17px;fill:none;stroke:#176199;stroke-width:2;stroke-linecap:round;stroke-linejoin:round; }
.schedule-page .match-info small { display:block;margin-bottom:2px;color:#71839a;font-size:.56rem;font-weight:900;letter-spacing:.08em; }
.schedule-page .match-info.venue { margin-top:3px;padding-top:7px;border-top:1px solid #dbe5f0;font-size:.86rem; }
.schedule-page .match-info.venue svg { stroke:#0c7543; }
.share-mode .public-head nav,.share-mode .division-tabs{display:none!important}.share-mode .public-head{grid-template-columns:auto 1fr}.share-mode .schedule-title label{display:none}.share-mode .schedule-title{justify-content:flex-start}

@media (max-width: 1450px) {
  .schedule-page .schedule-poles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1050px) {
  .schedule-page .schedule-poles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .schedule-page .schedule-poles { grid-template-columns: 1fr; }
  .schedule-page .pole-group-title { align-items: flex-start; flex-direction: column; }
  .schedule-page .pole-group-title p { white-space: normal; }
  .division-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; box-sizing: border-box; }
  .division-tabs button { padding: 11px 8px; }
}

@media (max-width: 520px) {
  .schedule-page .schedule-game > footer { grid-template-columns: 1fr; }
  .schedule-page .schedule-game > footer .time { text-align: left; }
  .schedule-page .schedule-game > footer .venue { grid-column: 1; }
}
