.cup-page {
  background: #0a080b;
  color: #eeeef2;
  --red: #ff3748;
}
.cup-page .site-header {
  background: rgba(12, 9, 12, 0.96);
  border-color: #382026;
}
.cup-page .header-location {
  color: #b2adb5;
}
.cup-page .menu-toggle {
  color: white;
  border-color: #6f3c46;
}
.cup-page .skip-link {
  color: #171316;
}
.cup-page .site-footer {
  background: #100c10;
}
.cup-page .footer-bottom {
  border-color: #382026;
  color: #b2adb5;
}
.cup-page .footer-contact span {
  color: #b2adb5;
}
.cup-page [hidden] {
  display: none !important;
}

.cup-shell {
  position: relative;
  isolation: isolate;
  padding: 0 clamp(16px, 4vw, 72px) 48px;
  background: radial-gradient(ellipse at 50% 0, rgba(148, 7, 31, 0.23), transparent 38%), repeating-linear-gradient(128deg, transparent 0 5px, rgba(255, 255, 255, 0.012) 5px 6px), #0a080b;
}
.cup-shell::before, .cup-shell::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
  top: 0;
  width: 32%;
  height: 420px;
  opacity: 0.9;
  background: linear-gradient(138deg, transparent 6%, #ff3043 6.3%, #560416 7%, transparent 8%, transparent 14%, #c50018 14.5%, #ff3447 17%, #fff 17.2%, #6a0011 18%, transparent 19%, transparent 26%, #ff152c 26.4%, transparent 27%), repeating-linear-gradient(35deg, transparent 0 26px, rgba(255, 21, 44, 0.1882352941) 27px 28px);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  mask-image: linear-gradient(#000 40%, transparent);
}
.cup-shell::before {
  left: 0;
}
.cup-shell::after {
  right: 0;
  transform: scaleX(-1);
}

.cup-content {
  max-width: 1440px;
  margin-inline: auto;
}

.cup-hero {
  text-align: center;
  padding: 38px 0 25px;
  position: relative;
}
.cup-hero .cup-edition {
  color: #d6c0c5;
  font-size: 10px;
  letter-spacing: 0.28em;
}
.cup-hero .crown {
  width: 112px;
  height: 50px;
  margin: 16px auto -3px;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.1882352941));
}
.cup-hero h1 {
  font-family: Impact, "Arial Black", Arial, sans-serif;
  font-size: clamp(54px, 7.8vw, 116px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  font-weight: 900;
  font-style: italic;
  transform: skew(-5deg);
}
.cup-hero .silver-title {
  display: block;
  color: #eee;
  background: linear-gradient(#fff 9%, #ededf1 37%, #7f7e86 49%, #fff 53%, #d5d4da 68%, #64616c 93%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 #3b333c);
}
.cup-hero .cup-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: #ff152d;
  font-size: 0.59em;
  letter-spacing: 0.06em;
  margin-top: 6px;
  text-shadow: 0 0 28px rgba(255, 18, 44, 0.4);
}
.cup-hero .cup-title::before, .cup-hero .cup-title::after {
  content: "";
  width: clamp(60px, 12vw, 180px);
  height: 3px;
  background: linear-gradient(90deg, transparent, #ff1532);
}
.cup-hero .cup-title::after {
  transform: scaleX(-1);
}
.cup-hero .cup-chinese-title {
  font-size: clamp(19px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: 0.25em;
  margin-top: 14px;
}
.cup-hero .stage-title {
  margin-top: 5px;
  font-size: 13px;
  letter-spacing: 0.15em;
  font-weight: 700;
  font-style: italic;
  color: #bbb7be;
}

.cup-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  font-size: 11px;
  color: #b2adb5;
}
.cup-toolbar .cup-jump-links {
  display: flex;
  gap: 24px;
}
.cup-toolbar a {
  padding-block: 10px;
  color: #eee;
  border-bottom: 1px solid #6b2631;
  white-space: nowrap;
}
.cup-toolbar a:hover {
  color: #ff8b96;
}
.cup-toolbar button {
  color: #b2adb5;
  border: 1px solid #67404a;
  border-radius: 3px;
  background: #170e13;
  padding: 10px 14px;
  font-size: 11px;
  white-space: nowrap;
  margin-left: auto;
}

.cup-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 27px;
}
.cup-section-heading h2 {
  font-size: 18px;
  letter-spacing: 0.05em;
}
.cup-section-heading h2 span {
  color: #b2adb5;
  font: italic 12px Arial, sans-serif;
  letter-spacing: 0.1em;
  margin-left: 12px;
}
.cup-section-heading p {
  font-size: 11px;
  color: #b2adb5;
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.group-card {
  border: 1px solid rgba(255, 38, 57, 0.85);
  box-shadow: 0 0 0 3px rgba(255, 38, 57, 0.07), 0 0 22px rgba(255, 38, 57, 0.13), inset 0 0 18px rgba(255, 38, 57, 0.06);
  min-width: 0;
  border-radius: 11px;
  background: linear-gradient(150deg, #210e14, #0b090c 60%);
  padding: 0 12px 10px;
  position: relative;
}
.group-card::after {
  content: "";
  position: absolute;
  height: 1px;
  bottom: -1px;
  left: 17%;
  right: 17%;
  background: linear-gradient(90deg, transparent, #fff2ee, transparent);
  box-shadow: 0 0 8px #ff122c;
}
.group-card .group-heading {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.group-card h2 {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  transform: skew(-8deg);
  font-size: 31px;
  font-weight: 900;
}
.group-card h2 small {
  font-size: 20px;
}
.group-card h2 span {
  font: italic 700 11px Arial, sans-serif;
  letter-spacing: 0.04em;
  margin-left: 5px;
}
.group-card .home-group-label {
  color: #ffb5bd;
  font-size: 9px;
  text-align: right;
  line-height: 1.6;
}

.home-group {
  border-color: #ffb7bd;
  background: linear-gradient(135deg, #440d1a, #120b10 65%);
  box-shadow: 0 0 0 3px rgba(255, 38, 57, 0.0941176471), 0 0 28px rgba(255, 38, 57, 0.2235294118);
}

.standings {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.standings caption {
  text-align: left;
}
.standings th, .standings td {
  padding: 13px 2px;
  text-align: center;
}
.standings thead th {
  font-size: 10px;
  color: #c5b9c0;
  font-weight: 400;
  padding-block: 9px;
  border-block: 1px solid rgba(255, 255, 255, 0.0901960784);
}
.standings th:first-child {
  width: 20px;
}
.standings th:nth-child(n+3) {
  width: 25px;
}
.standings th:last-child {
  width: 32px;
}
.standings .team-heading {
  text-align: left;
  padding-left: 5px;
}
.standings tbody tr + tr {
  border-top: 1px solid rgba(255, 255, 255, 0.062745098);
}
.standings tbody th {
  text-align: left;
}
.standings abbr {
  text-decoration: none;
}
.standings .rank {
  font-size: 10px;
  color: #b8aab2;
}
.standings .points {
  font-weight: 800;
  font-size: 17px;
  color: white;
}
.standings .team-identity {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.standings .team-mark {
  flex: 0 0 22px;
  height: 27px;
  display: grid;
  place-items: center;
  background: #211e27;
  color: #ded9e4;
  font-size: 8px;
  clip-path: polygon(0 0, 100% 0, 90% 75%, 50% 100%, 10% 75%);
  border-top: 1px solid #96838c;
}
.standings .team-identity img {
  width: 27px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.standings .home-team {
  background: linear-gradient(90deg, rgba(239, 24, 59, 0.2392156863), rgba(239, 24, 59, 0.0705882353));
  box-shadow: inset 2px 0 #ff435c;
}
.standings .home-team .points {
  color: #ffb3bb;
}
.standings .home-team img {
  animation: foxfire-glow 3s ease-in-out infinite;
}
.standings .home-tag {
  display: block;
  font-size: 8px;
  font-weight: 400;
  color: #ffc2ca;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.standings-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  font-size: 10px;
  color: #b8aab2;
}

.home-key {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #ffd4da;
}
.home-key::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #ff5267;
  box-shadow: 0 0 10px #f12;
  border-radius: 50%;
}

.cup-schedule {
  margin-top: 48px;
  scroll-margin-top: 110px;
}

.schedule-title {
  position: relative;
  text-align: center;
  margin-bottom: 24px;
}
.schedule-title::before {
  content: "";
  height: 1px;
  position: absolute;
  inset: 50% 0 auto;
  background: linear-gradient(90deg, transparent, #ff2639, transparent);
}
.schedule-title h2 {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 12px 35px;
  background: linear-gradient(#d8152c, #5f0615);
  border-block: 1px solid #ffb4ba;
  font-size: 23px;
  font-style: italic;
  clip-path: polygon(20px 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
}
.schedule-title h2 span {
  font-size: 17px;
  align-self: center;
}

.schedule-frame {
  border: 1px solid rgba(255, 38, 57, 0.85);
  box-shadow: 0 0 0 3px rgba(255, 38, 57, 0.07), 0 0 22px rgba(255, 38, 57, 0.22), inset 0 0 18px rgba(255, 38, 57, 0.06);
  border-radius: 13px;
  padding: 7px;
  background: #170b11;
  overflow: hidden;
}

.schedule-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  background: #0c090d;
}
.schedule-table .col-round {
  width: 7%;
}
.schedule-table .col-time {
  width: 17%;
}
.schedule-table .col-field {
  width: 38%;
}
.schedule-table thead {
  background: linear-gradient(#bb0c25, #580715);
}
.schedule-table thead th {
  padding: 15px 8px;
  font-size: 15px;
  border-right: 1px solid rgba(255, 140, 155, 0.3137254902);
}
.schedule-table thead small {
  display: block;
  font: italic 10px Arial, sans-serif;
  color: #ffe0e5;
  margin-top: 4px;
}
.schedule-table td, .schedule-table tbody th {
  padding: 18px 8px;
  border-bottom: 1px solid rgba(255, 38, 57, 0.36);
  border-right: 1px solid rgba(255, 38, 57, 0.36);
}
.schedule-table tr:last-child td, .schedule-table tr:last-child th {
  border-bottom: 0;
}
.schedule-table tr > :last-child {
  border-right: 0;
}
.schedule-table .round-number {
  font-size: 22px;
  font-style: italic;
}
.schedule-table .round-time {
  text-align: center;
  font-size: clamp(12px, 1.25vw, 17px);
  font-weight: 700;
  white-space: nowrap;
}
.schedule-table .round-time span {
  margin-inline: 5px;
  color: #bda5af;
}
.schedule-table tr:first-child .round-time, .schedule-table tr:last-child .round-time {
  color: #ffe07d;
}
.schedule-table .fox-round .round-number {
  color: #ff9aaa;
}

.fixture-cell {
  position: relative;
}

.fixture {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
  gap: 5px;
  align-items: center;
  text-align: center;
  min-height: 30px;
}

.fixture-team {
  font-size: clamp(11px, 1.15vw, 16px);
  font-weight: 700;
  line-height: 1.3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  overflow-wrap: anywhere;
  min-width: 0;
}

.fixture-fox {
  color: #ffe0e6;
}
.fixture-fox img {
  width: 24px;
  height: 34px;
  object-fit: contain;
}

.versus {
  color: #ff344c;
  font-style: italic;
  font-size: 16px;
}

.home-fixture {
  background: linear-gradient(105deg, rgba(163, 15, 45, 0.2196078431), rgba(239, 24, 59, 0.0392156863));
  box-shadow: inset 2px 0 #ff5267;
}

.fixture-home-label {
  position: absolute;
  right: 8px;
  top: 3px;
  font-size: 8px;
  color: #ffb4c1;
  letter-spacing: 0.1em;
}

.field-label {
  display: none;
}

.schedule-note {
  margin-top: 14px;
  font-size: 10px;
  color: #b2adb5;
  text-align: right;
}

.cup-facts {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.75fr 1.25fr;
  margin-top: 36px;
  padding-block: 25px;
  border-block: 1px solid rgba(255, 38, 57, 0.36);
}
.cup-facts > div {
  padding-inline: 25px;
  border-right: 1px solid rgba(255, 38, 57, 0.36);
}
.cup-facts > div:first-child {
  padding-left: 0;
}
.cup-facts > div:last-child {
  border: 0;
  padding-right: 0;
}
.cup-facts dt {
  font-size: 12px;
  color: #ddd3d9;
  margin-bottom: 12px;
}
.cup-facts dt span {
  display: block;
  font-size: 9px;
  color: #b2adb5;
  letter-spacing: 0.09em;
  margin-top: 5px;
}
.cup-facts dd {
  margin: 0;
  font-size: clamp(17px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.35;
}
.cup-facts dd small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #b8aab2;
  margin-top: 5px;
}
.cup-facts .fact-start {
  color: #ff4259;
  font-size: 42px;
  font-style: italic;
  line-height: 1;
}
.cup-facts .fact-fields {
  font-size: 42px;
  font-style: italic;
  line-height: 1;
}
.cup-facts .fact-duration {
  color: #ff8a9c;
}

.cup-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
}

.cup-home-message {
  display: flex;
  gap: 15px;
  align-items: center;
}
.cup-home-message img {
  width: 34px;
  height: 51px;
  object-fit: contain;
}
.cup-home-message strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
}
.cup-home-message small {
  display: block;
  color: #b2adb5;
  font-size: 9px;
  letter-spacing: 0.12em;
  margin-top: 7px;
}

.cup-period {
  text-align: right;
}
.cup-period span {
  display: block;
  color: #b2adb5;
  font-size: 9px;
  letter-spacing: 0.1em;
}
.cup-period strong {
  display: block;
  font-size: 27px;
  font-style: italic;
  letter-spacing: 0.03em;
  margin-top: 5px;
}

.cup-error {
  border: 1px solid #ff2639;
  padding: 20px;
  color: #ffd4dc;
  font-size: 14px;
}

.cup-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@keyframes foxfire-glow {
  0%, 100% {
    filter: drop-shadow(0 0 3px rgba(255, 60, 91, 0.3333333333));
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(255, 60, 91, 0.8));
  }
}
.cup-motion-paused .home-team img {
  animation-play-state: paused;
}

@media (max-width: 1190px) {
  .group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .group-card {
    padding-inline: 18px;
  }
  .group-card h2 span {
    font-size: 13px;
    margin-left: 10px;
  }
  .group-card .home-group-label {
    max-width: none;
  }
  .standings th:nth-child(n+3) {
    width: 34px;
  }
  .standings .team-identity {
    font-size: 13px;
    gap: 9px;
  }
  .standings .team-mark {
    flex-basis: 25px;
  }
}
@media (max-width: 760px) {
  .cup-page .site-nav {
    background: #130d13;
    border-color: #5b1d2a;
  }
  .cup-shell {
    padding-bottom: 32px;
  }
  .cup-shell::before, .cup-shell::after {
    width: 43%;
    height: 270px;
    opacity: 0.65;
  }
  .cup-hero {
    padding-top: 30px;
  }
  .cup-hero .cup-edition {
    font-size: 8px;
    letter-spacing: 0.16em;
  }
  .cup-hero .crown {
    width: 85px;
    height: 40px;
  }
  .cup-hero h1 {
    font-size: clamp(43px, 10vw, 73px);
  }
  .cup-hero .cup-chinese-title {
    font-size: clamp(17px, 4vw, 25px);
    letter-spacing: 0.12em;
  }
  .cup-hero .stage-title {
    font-size: 10px;
  }
  .cup-toolbar {
    gap: 12px;
    padding-top: 6px;
  }
  .cup-toolbar .cup-jump-links {
    gap: 18px;
  }
  .cup-section-heading {
    display: block;
    margin-bottom: 22px;
  }
  .cup-section-heading h2 {
    font-size: 16px;
  }
  .cup-section-heading h2 span {
    font-size: 10px;
  }
  .cup-section-heading p {
    font-size: 10px;
    margin-top: 8px;
  }
  .group-grid {
    gap: 18px;
  }
  .group-card {
    padding-inline: 10px;
  }
  .group-card h2 {
    font-size: 28px;
  }
  .group-card h2 span {
    font-size: 10px;
    margin-left: 3px;
  }
  .group-card .home-group-label {
    max-width: 46px;
  }
  .standings .team-identity {
    font-size: 11px;
    gap: 5px;
  }
  .standings th:nth-child(n+3) {
    width: 25px;
  }
  .standings .team-mark {
    display: none;
  }
  .standings .team-identity img {
    width: 23px;
  }
  .cup-schedule {
    margin-top: 35px;
  }
  .schedule-title {
    margin-bottom: 18px;
  }
  .schedule-title h2 {
    font-size: 19px;
    padding: 12px 25px;
    gap: 5px;
  }
  .schedule-title h2 span {
    font-size: 11px;
    flex-basis: 100%;
  }
  .schedule-frame {
    border: 0;
    box-shadow: none;
    background: none;
    padding: 0;
    overflow: visible;
  }
  .schedule-table {
    display: block;
    background: none;
  }
  .schedule-table colgroup {
    display: none;
  }
  .schedule-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .schedule-table tbody {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .schedule-table tbody tr {
    display: grid;
    grid-template-columns: 65px 1fr;
    border: 1px solid rgba(255, 38, 57, 0.85);
    box-shadow: 0 0 0 3px rgba(255, 38, 57, 0.07), 0 0 22px rgba(255, 38, 57, 0.07), inset 0 0 18px rgba(255, 38, 57, 0.06);
    border-color: #a32940;
    border-radius: 8px;
    overflow: hidden;
    background: #100b11;
  }
  .schedule-table td, .schedule-table tbody th {
    border: 0;
    padding: 14px 12px;
  }
  .schedule-table .round-number {
    background: #600c21;
    text-align: center;
    font-size: 22px;
    padding: 12px;
  }
  .schedule-table .round-time {
    background: #2f0d19;
    text-align: right;
    font-size: 16px;
    padding: 15px;
  }
  .schedule-table .fixture-cell {
    grid-column: 1/-1;
    border-top: 1px solid #632034;
    padding: 12px 14px 16px;
  }
  .schedule-table .fox-round {
    border-color: #ff697f;
  }
  .field-label {
    display: block;
    font-size: 10px;
    color: #c6a8b2;
    margin-bottom: 12px;
  }
  .field-label span {
    font-size: 8px;
    color: #b8aab2;
    letter-spacing: 0.08em;
    margin-left: 6px;
  }
  .fixture {
    grid-template-columns: minmax(0, 1fr) 35px minmax(0, 1fr);
    gap: 8px;
  }
  .fixture-team {
    font-size: 13px;
  }
  .fixture-home-label {
    top: 12px;
    right: 14px;
  }
  .schedule-note {
    text-align: left;
  }
  .cup-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
    margin-top: 28px;
  }
  .cup-facts > div {
    padding: 20px 10px;
  }
  .cup-facts > div:first-child {
    padding-left: 10px;
  }
  .cup-facts > div:nth-child(2) {
    border-right: 0;
  }
  .cup-facts > div:nth-child(n+3) {
    border-top: 1px solid rgba(255, 38, 57, 0.36);
  }
  .cup-facts dt {
    font-size: 11px;
  }
  .cup-facts dd {
    font-size: 18px;
  }
  .cup-facts .fact-start, .cup-facts .fact-fields {
    font-size: 34px;
  }
  .cup-bottom {
    gap: 12px;
    align-items: flex-end;
  }
  .cup-home-message {
    gap: 8px;
  }
  .cup-home-message strong {
    font-size: 11px;
    letter-spacing: 0.02em;
  }
  .cup-home-message small {
    font-size: 8px;
    max-width: 140px;
    line-height: 1.5;
  }
  .cup-period {
    flex-shrink: 0;
  }
  .cup-period strong {
    font-size: 20px;
  }
  .cup-period span {
    font-size: 8px;
  }
}
@media (max-width: 540px) {
  .group-grid {
    grid-template-columns: 1fr;
  }
  .group-card {
    padding-inline: 15px;
  }
  .group-card .group-heading {
    min-height: 58px;
  }
  .group-card h2 span {
    font-size: 12px;
    margin-left: 8px;
  }
  .group-card .home-group-label {
    max-width: none;
    font-size: 10px;
  }
  .standings .team-identity {
    font-size: 13px;
    gap: 8px;
  }
  .standings th:nth-child(n+3) {
    width: 31px;
  }
  .standings .team-mark {
    display: grid;
    flex-basis: 24px;
  }
  .standings .home-tag {
    font-size: 9px;
  }
  .standings th, .standings td {
    padding-block: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-team img {
    animation: none !important;
  }
  #cup-motion {
    display: none;
  }
}
@media print {
  .cup-toolbar, .cup-shell::before, .cup-shell::after {
    display: none;
  }
  .group-card, .schedule-frame {
    box-shadow: none;
    break-inside: avoid;
  }
  .cup-page {
    print-color-adjust: exact;
  }
}
