.sc-layout {
  padding-bottom: clamp(22px, 4vw, 54px);
}

.sc-hero {
  min-height: 205px;
  margin-bottom: clamp(25px, 3.5vw, 46px);
}

.sc-hero h1 {
  font-size: clamp(56px, 6.7vw, 91px);
}

.sc-directory {
  display: grid;
  grid-template-columns: minmax(205px, .31fr) minmax(0, 1fr);
  gap: clamp(24px, 3.3vw, 52px);
  align-items: start;
}

.sc-layout ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sc-contents {
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
}

.sc-contents h2 {
  margin: 0;
  border-bottom: 1px solid var(--border);
  padding: 15px 17px;
  background: var(--panel-head);
  font: 700 1.45rem/1.2 var(--cond);
}

.sc-contents li {
  padding: 14px 16px 15px;
}

.sc-contents li + li {
  border-top: 1px solid var(--border);
}

.sc-month-jump,
.sc-day-head,
.sc-month-head,
.sc-date-head,
.sc-note,
.sc-near,
.sc-crumb {
  display: flex;
  align-items: center;
}

.sc-month-jump {
  justify-content: space-between;
  gap: 7px;
  color: var(--text);
  font: 700 1.2rem/1.1 var(--cond);
}

.sc-month-jump small {
  color: var(--muted);
  font: 500 .82rem/1.2 var(--ui);
  white-space: nowrap;
}

.sc-date-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 10px;
}

.sc-date-jumps a {
  display: grid;
  min-width: 31px;
  min-height: 30px;
  place-items: center;
  border-radius: 4px;
  background: #282c28;
  color: #e6ebe2;
  font-size: .875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sc-date-jumps a:hover,
.sc-date-jumps a:focus-visible {
  background: var(--lime);
  color: #18210f;
}

.sc-note {
  gap: 7px;
  margin: 0 0 17px;
  color: var(--muted);
  font-size: .9rem;
}

.sc-note .icon {
  width: 15px;
  height: 15px;
}

.sc-month,
.sc-day {
  scroll-margin-top: 15px;
}

.sc-month + .sc-month {
  margin-top: 41px;
}

.sc-month-head {
  gap: 12px;
  margin-bottom: 15px;
}

.sc-month-head::before {
  width: 4px;
  height: 23px;
  border-radius: 2px;
  background: var(--lime);
  content: "";
}

.sc-month-head h2 {
  font: 700 clamp(1.7rem, 3.4vw, 2.55rem)/1 var(--cond);
}

.sc-month-head > span,
.sc-date-head > span {
  margin-left: auto;
  color: var(--muted);
  font-size: .95rem;
  white-space: nowrap;
}

.sc-day,
.sc-daily > .sc-matches {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--panel);
}

.sc-day + .sc-day {
  margin-top: 13px;
}

.sc-day-head {
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  padding: 9px 17px;
  background: var(--panel-head);
}

.sc-day-head h3 {
  font: 700 1.34rem/1.25 var(--cond);
}

.sc-day-head h3 a {
  text-decoration: underline;
  text-decoration-color: #747b70;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.sc-day-head > span {
  color: #bcc2b7;
  font-size: .9rem;
}

.sc-day-head a:hover,
.sc-month-jump:hover,
.sc-crumb a:hover,
.sc-near a:hover {
  color: var(--lime);
}

.sc-matches li + li {
  border-top: 1px solid var(--border);
}

.sc-match {
  display: grid;
  grid-template-columns: minmax(66px, .33fr) minmax(0, 2.6fr) minmax(102px, .85fr);
  align-items: center;
  gap: clamp(12px, 1.45vw, 22px);
  min-height: 62px;
  padding: 10px 17px;
}

.sc-match:hover,
.sc-match:focus-visible {
  background: #272d25;
  box-shadow: inset 3px 0 var(--lime);
}

.sc-match:focus-visible {
  outline-offset: -3px;
}

.sc-clock {
  color: var(--text);
  font: 600 1.17rem/1.15 var(--cond);
  font-variant-numeric: tabular-nums;
}

.sc-clock small,
.sc-unknown {
  display: block;
  color: var(--muted);
  font: 500 .82rem/1.2 var(--ui);
}

.sc-clock small {
  margin-top: 4px;
}

.sc-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.sc-club {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.sc-crest {
  display: block;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.sc-monogram {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #353b34;
  color: #dde3d7;
  font: 600 .72rem/1 var(--cond);
}

.sc-dash,
.sc-league small {
  color: var(--muted);
}

.sc-league {
  display: block;
  color: #d7dcd1;
  font-size: .91rem;
  font-weight: 600;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

.sc-league small {
  display: block;
  margin-top: 3px;
  font-size: .82rem;
  font-weight: 400;
}

.sc-daily {
  max-width: 990px;
  margin: clamp(23px, 3.5vw, 48px) auto 0;
}

.sc-crumb {
  gap: 10px;
  margin-bottom: 19px;
  color: var(--muted);
  font-size: .9rem;
}

.sc-crumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sc-date-head {
  gap: 12px;
  margin-bottom: 15px;
  border-top: 1px solid var(--border);
  padding-top: 21px;
}

.sc-date-head p {
  margin-bottom: 5px;
  color: var(--lime);
  font-weight: 600;
}

.sc-date-head h1 {
  font: 700 clamp(2rem, 5vw, 3.7rem)/1.06 var(--cond);
}

.sc-near {
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.sc-near a {
  padding: 5px 0;
  color: var(--muted);
  font-size: .95rem;
}

.sc-near [rel="prev"] { margin-right: auto; }
.sc-near [rel="next"] { margin-left: auto; text-align: right; }
.sc-near strong, .sc-near small { display: block; }
.sc-near strong { color: var(--text); }
.sc-near small { font-size: .82rem; }
.sc-layout :target > .sc-day-head { background: #2e3729; }
.primary-nav a[aria-current="location"] { color: var(--lime); }

@media (max-width: 930px) {
  .sc-directory { grid-template-columns: 1fr; gap: 22px; }
  .sc-contents {
    position: static;
    max-height: none;
    overflow: visible;
    border: 0;
    background: none;
  }
  .sc-contents h2 { margin-bottom: 9px; border: 0; padding: 0; background: none; font-size: 1.25rem; }
  .sc-contents ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 135px), 1fr)); gap: 7px; }
  .sc-contents li, .sc-contents li + li { border: 1px solid var(--border); border-radius: 6px; padding: 0; background: var(--panel); }
  .sc-month-jump { display: block; padding: 9px 12px; }
  .sc-month-jump small { display: block; margin-top: 3px; }
  .sc-date-jumps { display: none; }
}

@media (max-width: 600px) {
  .sc-hero { min-height: 155px; margin-bottom: 20px; }
  .sc-hero h1 { font-size: clamp(50px, 12vw, 65px); }
  .sc-hero p { line-height: 1.3; }
  .sc-contents ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sc-month-jump { padding: 8px; font-size: 1.05rem; }
  .sc-month-jump small { font-size: .8rem; }
  .sc-month-head { gap: 8px; }
  .sc-day-head { padding: 8px 12px; }
  .sc-match { grid-template-columns: 63px minmax(0, 1fr); gap: 5px 12px; padding: 11px 12px; }
  .sc-pair { grid-template-columns: 1fr; gap: 5px; }
  .sc-club { gap: 7px; }
  .sc-crest { width: 21px; height: 21px; flex-basis: 21px; }
  .sc-dash { display: none; }
  .sc-league { grid-column: 2; font-size: .83rem; }
  .sc-league small { display: inline; font-size: inherit; }
  .sc-league small::before { content: " · "; }
  .sc-date-head { align-items: end; }
  .sc-near { gap: 10px; }
}
