@font-face {
  font-family: 'Matchday Display';
  src: url('/news/sports/shenzhen-leopards/resources/font') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

.sports-matchday {
  --sm-ink: #0d1d49;
  --sm-muted: #3b5576;
  --sm-link: #004fbc;
  --sm-blue: #0077f0;
  --sm-cyan: #069bd9;
  --sm-line: #acd3f1;
  --sm-ice: #ecf8ff;
  --sm-panel: linear-gradient(135deg, #fff 22%, #f1faff 68%, #deeffc);
  --sm-primary: linear-gradient(180deg, #0071d4, #0053ca 72%, #064bb8);
  --sm-soft: linear-gradient(180deg, #fff, #e1f4ff 55%, #c7e9fb);
  --sm-shadow: 0 2px 5px #0e579016, inset 0 1px 0 #fff;
  margin: 0;
  padding: 0;
  max-width: none;
  background: #f3f9fe;
  color: var(--sm-ink);
  font: 400 1rem/1.5 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-wrap: anywhere;
}

.sports-matchday *,
.sports-matchday *::before,
.sports-matchday *::after {
  box-sizing: border-box;
}

.sports-matchday :is(h1, h2, h3, h4) {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -.035em;
}

.sports-matchday :is(h2, h3, h4) {
  font-family: 'Matchday Display', 'Arial Narrow', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -.012em;
}

.sports-matchday h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.sports-matchday h3 { font-size: 1.18rem; }
.sports-matchday p { margin: 0 0 .65em; }
.sports-matchday p:last-child { margin-bottom: 0; }
.sports-matchday a { color: var(--sm-link); text-underline-offset: .17em; }
.sports-matchday a:hover { text-decoration: underline; }
.sports-matchday [id] { scroll-margin-top: 95px; }
.sports-matchday [hidden] { display: none !important; }

.sports-matchday :is(a, button, input, select, summary):focus-visible {
  outline: 3px solid #be5400;
  outline-offset: 3px;
}

.sports-matchday .sm-hero :is(a, button):focus-visible { outline-color: #ffd36d; }

.sports-matchday .sm-icon {
  display: inline-block;
  width: 1.35em;
  height: 1.35em;
  flex: none;
  vertical-align: -.25em;
  color: var(--sm-blue);
}

.sm-container,
.sm-hero-inner {
  width: min(100%, 1440px);
  margin-inline: auto;
  padding-inline: clamp(.75rem, 2.35vw, 2rem);
}

.sm-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 18rem;
  color: #fff;
  background: #062247 var(--sm-hero-image, none) center 48% / cover no-repeat;
  border-bottom: 3px solid #1d8de7;
}

.sm-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background: linear-gradient(90deg, #061b3fed 0%, #062047e8 30%, #06234aa3 51%, #061f4326 75%, #04193712),
    linear-gradient(0deg, #031d43a4, transparent 40%);
  pointer-events: none;
}

.sm-hero :is(.sm-hero-picture, .sm-hero-image) {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  max-width: none;
  object-fit: cover;
  object-position: center 48%;
}

.sm-hero picture img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 48%;
}

.sm-hero-inner { padding-block: 1rem 1.65rem; }

.sports-matchday .sm-hero h1 {
  max-width: 63%;
  margin: .2rem 0 .45rem;
  color: #fff;
  font-size: clamp(2.05rem, 4.1vw, 4.3rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.055em;
  text-wrap: balance;
  text-shadow: 0 2px 10px #020c26b3;
}

.sm-breadcrumbs,
.sm-breadcrumbs :is(ol, ul) {
  display: flex;
  flex-wrap: wrap;
  gap: .18rem .55rem;
  margin: 0 0 .5rem;
  padding: 0;
  list-style: none;
  font-size: .82rem;
}

.sm-breadcrumbs :is(ol, ul) { margin: 0; }
.sm-breadcrumbs li + li::before { content: '›'; margin-right: .55rem; opacity: .76; }
.sports-matchday .sm-breadcrumbs a { color: inherit; }
.sm-hero .sm-breadcrumbs { color: #e3f4ff; }

.sm-eyebrow {
  width: fit-content;
  color: #c9ecff;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.sm-hero :is(.sm-deck, .sm-summary, .sm-hero-description) {
  max-width: 37rem;
  color: #edf8ff;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 590;
  line-height: 1.4;
}

.sm-meta,
.sm-tags,
.sm-actions,
.sm-venue-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem .7rem;
}

.sm-meta { margin-block: .45rem .6rem; font-weight: 750; }
.sm-hero .sm-meta { color: #fff; }
.sm-meta > :is(span, time), .sm-tags > * { display: inline-flex; align-items: center; gap: .35rem; }
.sm-meta .sm-icon, .sm-button-primary .sm-icon { color: inherit; }

.sm-tags { margin-block: .65rem .8rem; padding: 0; list-style: none; }
.sm-tags > * {
  padding: .24rem .65rem;
  border: 1px solid #acd7f8;
  border-radius: .55rem;
  background: var(--sm-soft);
  color: var(--sm-ink);
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.35;
}

.sm-hero .sm-actions { align-items: stretch; margin-top: .65rem; }
.sm-panel .sm-actions { margin-top: .65rem; }
.sm-actions > *, .sm-venue-links > * { min-width: 0; }

.sports-matchday .sm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  min-height: 2.65rem;
  padding: .48rem .9rem;
  border: 1px solid #9fc9ec;
  border-radius: .65rem;
  background: var(--sm-soft);
  box-shadow: var(--sm-shadow);
  color: var(--sm-link);
  cursor: pointer;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.sports-matchday .sm-button:is(:hover, [aria-pressed='true']) {
  border-color: #3d92d7;
  background: #d9efff;
  color: #003c94;
  text-decoration: none;
}

.sports-matchday .sm-button-primary {
  border-color: #0876d1;
  background: var(--sm-primary);
  box-shadow: 0 2px 6px #064b8b30, inset 0 1px 0 #80c6ff82;
  color: #fff;
}

.sports-matchday .sm-button-primary:hover {
  border-color: #1259ad;
  background: linear-gradient(#006cd1, #0747a6);
  color: #fff;
}

.sports-matchday .sm-button:disabled { opacity: .65; cursor: default; }
.sports-matchday .sm-button-small { min-height: 2.3rem; padding: .35rem .7rem; font-size: .81rem; }
.sm-hero .sm-button { min-width: 9.5rem; }
.sm-hero .sm-button-primary { border-color: #87cbff; }

.sm-image-credit {
  margin: 0;
  color: var(--sm-muted);
  font-size: .75rem;
  font-style: italic;
  line-height: 1.4;
}

.sm-hero .sm-image-credit {
  position: absolute;
  right: clamp(.75rem, 2.35vw, 2rem);
  bottom: .4rem;
  margin: 0;
  padding: .1rem .38rem;
  border-radius: .3rem;
  background: #051d3fdf;
  color: #fff;
}

.sm-topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-block: .65rem;
  padding: .45rem;
  border: 1px solid var(--sm-line);
  border-radius: .85rem;
  background: var(--sm-panel);
}

.sm-topic-nav :is(ul, ol) { display: contents; list-style: none; }
.sm-topic-nav li { list-style: none; }

.sports-matchday .sm-topic-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 2.45rem;
  padding: .33rem .7rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  color: var(--sm-ink);
  font-size: .83rem;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
}

.sports-matchday .sm-topic-nav a:hover { border-color: #a3cdf0; background: #e4f4ff; }
.sports-matchday .sm-topic-nav [aria-current='page'] {
  border-color: #0876d1;
  background: var(--sm-primary);
  color: #fff;
}

.sm-topic-nav [aria-current='page'] .sm-icon { color: inherit; }

.sm-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 26%);
  align-items: start;
  gap: .65rem;
  margin-block: .65rem 1rem;
}

.sm-main,
.sm-sidebar {
  display: grid;
  align-content: start;
  gap: .65rem;
  min-width: 0;
  margin: 0;
}

.sm-panel {
  min-width: 0;
  margin: 0;
  padding: clamp(.65rem, 1.45vw, 1rem);
  border: 1px solid var(--sm-line);
  border-radius: .85rem;
  background: var(--sm-panel);
  box-shadow: var(--sm-shadow);
}

.sm-section-title {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding-bottom: .58rem;
}

.sm-section-title .sm-icon { flex-shrink: 0; }
.sm-sidebar .sm-panel { padding: .75rem; font-size: .9rem; }
.sm-sidebar h2, .sm-sidebar h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); }
.sm-sidebar :is(h2, h3):not(.sm-section-title), .sm-card h3 { margin-bottom: .4rem; }
.sm-sidebar .sm-panel > .sm-button { display: flex; margin-top: .55rem; }
.sm-sidebar .sm-actions > .sm-button { flex: 1; }

.sm-venue { padding: .55rem; }
.sm-venue > .sm-section-title { padding-inline: .2rem; }
.sm-venue figure { position: relative; margin: 0; }
.sm-venue-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 26rem;
  aspect-ratio: 2.45;
  object-fit: cover;
  object-position: center;
  border: 1px solid #b1d6ef;
  border-radius: .65rem;
  background: #d4eefd;
}

.sm-venue-label,
.sm-venue-marker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  padding: .24rem .65rem;
  border: 1px solid #fff;
  border-radius: 1.2rem;
  background: #f8fcffef;
  box-shadow: 0 2px 6px #13336166;
  color: var(--sm-ink);
  font-size: .79rem;
  font-weight: 800;
  line-height: 1.2;
}

.sm-venue-label {
  top: 31%;
  left: 56%;
  justify-content: center;
  max-width: 55%;
  padding: .42rem .75rem;
  transform: translateX(-50%);
  font-size: clamp(.82rem, 1.45vw, 1.15rem);
  text-align: center;
}

.sm-venue-label .sm-icon { color: #ac2038; }
.sm-venue-marker-west { top: 53%; left: 3%; }
.sm-venue-marker-east { top: 78%; right: 3%; }
.sm-venue figure > figcaption { margin-top: .3rem; }

.sm-venue-body {
  display: grid;
  gap: .5rem;
  margin-top: .55rem;
  padding: .65rem .75rem;
  border: 1px solid #b5daf3;
  border-radius: .65rem;
  background: linear-gradient(110deg, #f9fdff, #e2f3ff);
}

.sm-venue-body p { margin: 0; }
.sm-venue-links { margin-bottom: .5rem; }

.sm-facts, .sm-facts-strip { margin: 0; padding: 0; }
.sm-facts > div {
  display: grid;
  grid-template-columns: minmax(4.65rem, .7fr) minmax(0, 1fr);
  gap: .25rem .55rem;
  padding: .3rem 0;
  border-bottom: 1px solid #bddaf0;
}

.sm-facts > div:last-child { border-bottom: 0; }
.sm-facts dt, .sm-facts-strip dt { font-weight: 800; }
.sm-facts dt { display: flex; align-items: flex-start; gap: .3rem; }
.sm-facts dd, .sm-facts-strip dd { margin: 0; }
.sm-facts dd { line-height: 1.35; }

.sm-facts-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(6.85rem, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #bbdef5;
  border-radius: .65rem;
  background: #c6e3f9;
  font-size: .85rem;
  line-height: 1.3;
}

.sm-facts-strip > * { min-width: 0; padding: .52rem .5rem; background: #f4fbff; }
.sm-facts-strip dd { margin-top: .15rem; }
.sm-facts-strip .sm-icon { margin-right: .2em; }
.sm-facts-strip + p { margin-top: .65rem; }

.sm-matchup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: .45rem;
}

.sm-team {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 5rem;
  padding: .55rem;
  border: 1px solid #efabb4;
  border-radius: .65rem;
  background: linear-gradient(100deg, #ffe4e8, #fff7f8);
  color: #8b1024;
  font-size: clamp(.9rem, 1.8vw, 1.3rem);
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

.sm-team:last-child {
  border-color: #89bdf3;
  background: linear-gradient(100deg, #f3faff, #d9eeff);
  color: #123e7e;
}

.sm-team img { width: auto; max-width: 34%; max-height: 3rem; object-fit: contain; }
.sm-team .sm-icon { width: 1.65em; height: 1.65em; color: inherit; }
.sm-versus {
  display: grid;
  place-items: center;
  width: 2.65rem;
  min-height: 2.1rem;
  padding-inline: .25rem;
  border: 1px solid #2f96f1;
  border-radius: .5rem;
  background: var(--sm-primary);
  color: #fff;
  font-size: .9rem;
  font-weight: 850;
  font-style: italic;
}

.sm-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: .55rem;
}

.sm-card-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.sm-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: .6rem;
  border: 1px solid #afd4f0;
  border-radius: .75rem;
  background: linear-gradient(#fff 18%, #e9f6ff);
  font-size: .875rem;
  line-height: 1.4;
}

.sm-card:has(> img, > picture, > .sm-card-body) { padding: 0; }
.sm-card :is(picture, img) { display: block; width: 100%; }
.sm-card img { aspect-ratio: 2; object-fit: cover; }
.sm-card-body { display: flex; flex: 1; flex-direction: column; padding: .6rem; }
.sm-card:has(> img, > picture) > :is(h3, h4, p, a, button) { margin-inline: .6rem; }
.sm-card:has(> img, > picture) > :is(h3, h4) { margin-top: .65rem; }
.sm-card:has(> img, > picture) > :last-child { margin-bottom: .65rem; }
.sm-card :is(.sm-button, .sm-card-link) { margin-top: auto; }

.sports-matchday .sm-note {
  margin: .65rem 0 0;
  padding: .5rem .65rem;
  border-left: 3px solid #54a5ec;
  border-radius: .45rem;
  background: #e0f2ff;
  color: #254b74;
  font-size: .85rem;
  line-height: 1.4;
}

.sports-matchday .sm-note-warning { border-color: #bd6100; background: #fff1d8; color: #713a06; }
.sm-status { min-width: 0; color: #224d70; font-size: .85rem; }
.sm-status:empty { display: none; }

.sm-checklist,
.sm-link-list { margin: 0; padding: 0; list-style: none; }
.sm-checklist > li, .sm-link-list > li { list-style: none; }
.sm-checklist > :is(li, label) + *, .sm-link-list > li + li { border-top: 1px solid #c4e0f6; }

.sm-checklist label {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  min-height: 2rem;
  padding-block: .27rem;
  cursor: pointer;
}

.sm-checklist input[type='checkbox'] {
  appearance: auto;
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  margin: .2rem 0 0;
  accent-color: var(--sm-blue);
}

.sm-link-list a { display: inline-block; padding-block: .26rem; font-weight: 650; }

.sm-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: .65rem;
}

.sm-route-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: end;
  gap: .55rem .65rem;
  margin: 0;
}

.sm-route-form label {
  display: grid;
  min-width: 0;
  gap: .24rem;
  color: var(--sm-ink);
  font-size: .88rem;
  font-weight: 750;
}

.sm-route-form :is(input, select) {
  width: 100%;
  min-width: 0;
  min-height: 2.65rem;
  padding: .42rem .55rem;
  border: 1px solid #8bb5d8;
  border-radius: .55rem;
  background: #fff;
  color: var(--sm-ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
}

.sm-route-form select { appearance: auto; }
.sm-route-form > :is(button, .sm-actions, .sm-status, .sm-note) { grid-column: 1 / -1; }
.sm-route-form .sm-note { margin-top: 0; }

.sm-qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: .45rem; }
.sm-qa details, .sm-qa > div {
  padding: .5rem .65rem;
  border: 1px solid #b9d9f0;
  border-radius: .58rem;
  background: #f6fcff;
}

.sm-qa summary { min-height: 2rem; padding-block: .2rem; color: #123974; font-weight: 750; cursor: pointer; }
.sm-qa details p { margin-top: .35rem; }

.sm-details, .sm-guide { min-width: 0; }
.sm-guide > h3 { margin-top: 1.1rem; }
.sm-guide > :is(h2, h3) + :is(p, ul, ol) { margin-top: .55rem; }
.sm-guide > :is([id], .sm-route-form) + :is([id], h3), .sm-guide > p + [id] { margin-top: 1.1rem; }
.sm-guide [id] > h3 + p { margin-top: .55rem; }
.sm-guide :is(ul, ol), .sm-panel :is(ul, ol):not(.sm-link-list, .sm-checklist, .sm-tags) { padding-left: 1.25rem; }
.sm-guide li + li { margin-top: .3rem; }

.sm-footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .65rem 1rem;
  margin-block: .65rem 1.25rem;
  padding: .8rem 1rem;
  border: 1px solid #277fcb;
  border-radius: .75rem;
  background: linear-gradient(175deg, #0a72c6 0%, #003e85 68%, #052d64);
  box-shadow: inset 0 1px 0 #86c9fcab;
  color: #fff;
}

.sm-footer-cta .sm-icon { color: inherit; }
.sm-footer-cta h2 { font-size: clamp(1.13rem, 2.2vw, 1.65rem); }
.sm-footer-cta p { margin: 0; }

@media (max-width: 950px) {
  .sm-hero::after { background: linear-gradient(90deg, #061b3ff7 0%, #062047e6 34%, #06234aaa 58%, #061f4354 100%); }
  .sports-matchday .sm-hero h1 { max-width: 76%; }
  .sm-layout { grid-template-columns: minmax(0, 1fr) minmax(13rem, 28%); }
  .sm-card-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .sm-layout { grid-template-columns: minmax(0, 1fr); }
  .sm-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sports-matchday .sm-hero h1 { max-width: 86%; }
  .sm-hero-inner { padding-bottom: 2rem; }
  .sm-hero :is(.sm-hero-picture, .sm-hero-image), .sm-hero picture img { object-position: 68% center; }
  .sm-hero { background-position: 68% center; }
  .sm-venue-image { aspect-ratio: 1.85; }
  .sm-venue-label { top: 24%; left: 53%; max-width: 76%; }
  .sm-venue-marker { position: static; margin: .4rem .22rem 0 0; box-shadow: none; border-color: var(--sm-line); }
}

@media (max-width: 495px) {
  .sm-hero { min-height: 0; }
  .sm-hero::after { background: linear-gradient(90deg, #041b3ff2, #061f43a8); }
  .sports-matchday .sm-hero h1 { max-width: none; font-size: clamp(1.95rem, 8.5vw, 2.65rem); text-wrap: initial; }
  .sm-hero .sm-button { min-width: 0; padding-inline: .55rem; }
  .sm-hero .sm-actions > * { flex: 1 1 9rem; }
  .sm-topic-nav { gap: .2rem; }
  .sports-matchday .sm-topic-nav a { min-height: 2.6rem; padding-inline: .43rem; }
  .sm-sidebar, .sm-tools, .sm-qa { grid-template-columns: minmax(0, 1fr); }
  .sm-venue-image { aspect-ratio: 1.5; }
  .sm-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-card-grid > :only-child { grid-column: 1 / -1; }
  .sm-matchup { gap: .25rem; }
  .sm-team { padding-inline: .3rem; }
  .sm-versus { width: 2rem; }
}

@media (max-width: 340px) {
  .sm-card-grid, .sm-card-grid:has(> :nth-child(4):last-child), .sm-route-form { grid-template-columns: minmax(0, 1fr); }
  .sm-facts-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media print {
  .sports-matchday, .sm-hero, .sm-panel, .sm-facts-strip, .sm-facts-strip > *, .sm-venue-body,
  .sm-card, .sm-team, .sm-qa details, .sm-note {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none;
  }

  .sm-hero { min-height: 0; border-color: #999; }
  .sports-matchday .sm-hero h1, .sm-hero :is(.sm-deck, .sm-meta, .sm-eyebrow, .sm-breadcrumbs, .sm-summary) {
    max-width: none;
    color: #000;
    text-shadow: none;
  }

  .sm-hero::after, .sm-hero :is(.sm-hero-picture, .sm-hero-image), .sm-hero .sm-image-credit,
  .sm-topic-nav, .sm-actions, .sm-route-form, .sm-footer-cta, .sports-matchday .sm-button { display: none !important; }
  .sm-container, .sm-hero-inner { width: auto; padding-inline: 0; }
  .sm-layout, .sm-main, .sm-sidebar, .sm-tools { display: block; }
  .sm-panel { break-inside: avoid; margin-block: .6rem; border-color: #aaa; }
  .sm-venue-image { max-height: 12rem; }
}
