.mast,
.match-mast {
  background: linear-gradient(125deg, var(--m950), var(--m800));
  color: white;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}
.mast::after,
.match-mast::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: #bc648046;
  clip-path: polygon(75% 0, 76.5% 0, 61% 100%, 59.5% 100%);
  z-index: -1;
}
.mast-photo {
  position: absolute;
  height: 100%;
  right: 0;
  top: 0;
  width: 48%;
  object-fit: cover;
  z-index: -2;
  mask-image: linear-gradient(to right, transparent, #000 72%);
  opacity: 0.62;
}
.mast-inner {
  min-height: 260px;
  padding: 1.25rem 0 clamp(2.7rem, 5vw, 4.9rem);
}
.mast h1 {
  max-width: 980px;
}
.mast-mark {
  color: #fff2;
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-40%);
  z-index: -2;
  font: italic 900 clamp(5.5rem, 17vw, 17rem) / 0.8 var(--display);
  letter-spacing: -0.03em;
}
.mast-intro {
  margin-top: 1.2rem;
  max-width: 46rem;
  font-size: clamp(1.04rem, 1.4vw, 1.28rem);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  margin: 0.12rem 0 1.55rem;
}
.crumbs li {
  overflow-wrap: anywhere;
}
.crumbs li + li::before {
  content: "/";
  color: #f0ece7b0;
  margin-right: 0.35rem;
}
.crumbs a {
  color: #fff;
}
.inner {
  padding-block: var(--flow);
}
.inner > section + section,
.inner > .read + section,
.inner > * + .actions,
.inner > .notice + section {
  margin-top: clamp(1.5rem, 3vw, 3rem);
}
.inner h2,
.notice h2 {
  margin-bottom: 0.85rem;
}
.inner :is(p, address) + .actions {
  margin-top: 1.05rem;
}
.inner p,
.inner address,
.read li {
  max-width: 72ch;
}
.read {
  max-width: 780px;
  font-size: 1.075rem;
}
.read section + section {
  margin-top: clamp(1.7rem, 3vw, 3rem);
}
.read .actions {
  margin-top: 1.4rem;
}
.read > section + .button {
  margin-top: 1.1rem;
}
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin-block: 1rem;
}
.link-card,
.people-card,
.video-card {
  padding: clamp(0.9rem, 2vw, 1.65rem);
  background: white;
  border-top: 3px solid var(--m800);
  text-decoration: none;
  min-width: 0;
}
.link-card .card-title,
.people-card h3 {
  font-size: clamp(1.45rem, 2.1vw, 2.1rem);
  color: var(--m900);
  margin-bottom: 0.45rem;
}
.link-card:hover {
  background: var(--cream2);
}
.link-card:hover .card-title {
  text-decoration: underline;
  text-underline-offset: 0.13em;
}
.notice {
  background: white;
  padding: clamp(1.2rem, 3vw, 2.1rem);
  border-left: 4px solid var(--m800);
  max-width: 860px;
}
.notice .actions {
  margin-top: 1.25rem;
}
.subnav {
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.6rem;
}
.subnav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: clamp(0.6rem, 2.35vw, 2.4rem);
}
.subnav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.28rem 0.25rem;
  color: var(--m900);
  border-bottom: 2px solid transparent;
  font-weight: 700;
  text-decoration: none;
}
.subnav a:hover,
.subnav [aria-current] {
  border-color: var(--m800);
}
.filters {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  flex-wrap: wrap;
  background: var(--cream2);
  padding: 0.92rem;
  margin-block: 0.8rem;
}
.filters label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 700;
  min-width: 0;
}
.filters :is(select, input) {
  background-color: white;
  min-height: 44px;
  padding: 0.5rem 0.65rem;
  border: 1px solid #98847d;
  color: var(--ink);
  max-width: 100%;
}
.filters select {
  appearance: none;
  padding-right: 1.8rem;
  background-image: url("/media/select-chevron.svg");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-size: 12px;
}
.filter-status {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 700;
  margin: 0.8rem 0;
}
.match-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.match-mast > .wrap {
  padding-block: 1.25rem 2.45rem;
}
.match-mast h1 {
  font-size: clamp(2rem, 4.1vw, 4.15rem);
  text-align: center;
  margin: 0.7rem 0 1.4rem;
}
.match-mast .eyebrow,
.match-status {
  text-align: center;
}
.match-mast .teams-line {
  max-width: 890px;
  margin: 0 auto;
  gap: clamp(0.6rem, 3vw, 2rem);
}
.match-mast .team {
  font-size: clamp(1.17rem, 3vw, 2.7rem);
}
.match-mast .team-crest {
  width: clamp(34px, 5vw, 70px);
  height: clamp(44px, 5vw, 80px);
}
.match-mast .score {
  color: white;
  font-size: clamp(3.1rem, 7vw, 7rem);
}
.match-status {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.86rem;
  margin: 0.8rem 0 0;
}
.details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.35rem 0.9rem;
  margin-top: 0;
}
.details > div {
  padding: 0.66rem;
  border-bottom: 1px solid var(--line);
}
.details dt {
  font-size: 0.83rem;
  color: var(--muted);
  font-weight: 700;
}
.details dd {
  margin: 0;
  font-weight: 600;
}
.match-sections > section {
  scroll-margin-top: 16px;
}
.timeline {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.timeline li {
  display: grid;
  grid-template-columns: minmax(64px, 1fr) minmax(0, 6fr);
  gap: 1rem;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.timeline .minute {
  color: var(--m800);
  font: italic 800 clamp(1.45rem, 3.2vw, 2.5rem) / 1 var(--display);
}
.match-events li > div {
  display: grid;
}
.match-events li > div span {
  font-size: 0.88rem;
  color: var(--muted);
}
.club-timeline h3 {
  margin-bottom: 0.4rem;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: var(--gap);
  align-items: start;
}
.side-card {
  background: var(--m800);
  padding: 1.5rem;
  color: white;
}
.split .ladder-scroll {
  margin-bottom: 0.9rem;
}
.data-table {
  min-width: 385px;
}
.data-table td,
.data-table th {
  text-align: left;
}
.pager {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.35rem;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}
.video-card .text-link {
  display: inline-block;
  margin-top: 0.9rem;
}
.video-slot {
  margin-bottom: 0.85rem;
  display: grid;
  place-items: center;
  min-height: 8rem;
  background: linear-gradient(120deg, var(--m950), var(--m700));
}
.video-slot iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  display: block;
}
.replay .actions {
  margin-top: 0.65rem;
}
.match-photo {
  width: 100%;
  height: auto;
  margin-inline: auto;
}
.crest-explainer {
  max-width: 220px;
  margin-bottom: 1.5rem;
}
.video-archive {
  margin-top: 2rem;
  border-block: 1px solid var(--line);
}
.video-archive summary {
  font-weight: 700;
  color: var(--m800);
  min-height: 44px;
  padding: 0.7rem 0;
  cursor: pointer;
}
.video-archive .video-grid {
  padding-bottom: 1.2rem;
}
.ground-figure {
  max-width: 512px;
  margin: 1.5rem 0;
}
.heritage-media .credit {
  font-size: 0.78rem;
}
