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

:root {
  --paper: #F5F0E8;
  --ink: #0F1A2C;
  --orange: #F25C05;
  --purple: #8B2FC9;
  --yellow: #FFD400;
  --white: #FFFFFF;
  --muted: #E3E9F0;
  --gray-text: #555555;
  --line: #D0D0D0;
  --grad: linear-gradient(135deg, #F25C05 0%, #8B2FC9 100%);
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --content-w: 1240px;
  --speed-fast: 0.18s ease;
  --speed-base: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-float: 0 14px 34px rgba(15, 26, 44, 0.16);
  --shadow-soft: 0 6px 20px rgba(15, 26, 44, 0.1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--orange);
  transition: color var(--speed-fast);
}

a:hover {
  color: var(--purple);
}

img {
  max-width: 100%;
  display: block;
}

strong {
  font-weight: 900;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: 100%;
  line-height: inherit;
  color: inherit;
}

::selection {
  background: var(--orange);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 6px;
}

#main-content {
  scroll-margin-top: calc(var(--header-h) + 14px);
}

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

.container {
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.section {
  padding: clamp(44px, 7vw, 88px) 0;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--orange);
  color: var(--white);
  font-weight: 900;
  font-size: 0.9rem;
  border-radius: 0 0 14px 14px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(15, 26, 44, 0.3);
  transition: top var(--speed-fast);
}

.skip-link:focus {
  top: 0;
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 4px 18px rgba(15, 26, 44, 0.18);
}

.site-header-inner {
  position: relative;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 28px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}

.reading-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 5;
  background: transparent;
}

.reading-progress-bar {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--grad);
  border-radius: 0 6px 6px 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper);
  line-height: 1;
}

.brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--grad);
  box-shadow: 0 6px 16px rgba(242, 92, 5, 0.38);
  transform: rotate(-4deg);
  transition: transform var(--speed-base);
}

.site-brand:hover .brand-mark,
.footer-brand:hover .brand-mark {
  transform: rotate(0deg) scale(1.04);
}

.brand-mark-bar {
  width: 6px;
  height: 3px;
  border-radius: 3px;
  background: var(--white);
  transform: translateX(3px);
}

.brand-mark-tri {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid var(--white);
  transform: translateX(1px);
}

.brand-name {
  font-size: 1.38rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--paper);
  transition: color var(--speed-fast);
  white-space: nowrap;
}

.site-brand:hover .brand-name,
.footer-brand:hover .brand-name {
  color: var(--yellow);
}

.brand-tag {
  display: block;
  writing-mode: vertical-rl;
  align-self: flex-start;
  margin: 6px 0 0 4px;
  padding: 0;
  max-height: 58px;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.24em;
  color: var(--yellow);
  border: none;
  opacity: 0.9;
  white-space: nowrap;
}

.header-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--paper);
  white-space: nowrap;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: livePulse 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.live-text {
  color: rgba(245, 240, 232, 0.9);
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 92, 5, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(242, 92, 5, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(242, 92, 5, 0);
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color var(--speed-fast), background var(--speed-fast);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--orange);
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--paper);
  transition: transform var(--speed-base), opacity var(--speed-fast);
  pointer-events: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.4);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 12px;
  color: rgba(245, 240, 232, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 10px;
  transition: color var(--speed-fast), background var(--speed-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--speed-base);
}

.nav-link:hover {
  color: var(--yellow);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"] {
  color: var(--orange);
  font-weight: 900;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-top: 4px solid var(--orange);
}

.footer-glyph {
  position: absolute;
  right: -6px;
  bottom: -14px;
  z-index: 0;
  writing-mode: vertical-rl;
  font-size: clamp(4.5rem, 9vw, 7.5rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.1;
  color: rgba(139, 47, 201, 0.28);
  -webkit-text-stroke: 1px rgba(242, 92, 5, 0.3);
  pointer-events: none;
  user-select: none;
}

.site-footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 54px 28px 30px;
}

.footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
  line-height: 1;
}

.footer-trust {
  max-width: 460px;
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid var(--orange);
  color: rgba(245, 240, 232, 0.78);
  font-size: 0.92rem;
  line-height: 1.75;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 2fr;
  gap: 40px;
  padding: 38px 0 30px;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--yellow);
}

.footer-title::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-block;
  padding: 3px 0;
  color: rgba(245, 240, 232, 0.8);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color var(--speed-fast), transform var(--speed-fast);
}

.footer-links a:hover {
  color: var(--orange);
  transform: translateX(4px);
}

.footer-col-contact {
  background: rgba(139, 47, 201, 0.12);
  border: 1px solid rgba(139, 47, 201, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.footer-contact-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.8);
  word-break: break-all;
}

.footer-contact-line:last-child {
  margin-bottom: 0;
}

.contact-label {
  flex: 0 0 auto;
  min-width: 2.6em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(242, 92, 5, 0.14);
  border: 1px solid rgba(242, 92, 5, 0.4);
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
  letter-spacing: 0.08em;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(245, 240, 232, 0.6);
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--speed-base), box-shadow var(--speed-base), background var(--speed-fast), color var(--speed-fast), border-color var(--speed-fast);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(242, 92, 5, 0.32);
}

.btn-primary:hover {
  color: var(--white);
  box-shadow: 0 12px 28px rgba(139, 47, 201, 0.34);
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 4px;
  border-radius: 99px;
  background: var(--grad);
}

.eyebrow--invert {
  color: var(--yellow);
}

.eyebrow--invert::before {
  background: var(--yellow);
}

.breadcrumbs {
  margin: 0;
  padding: 26px 0 6px;
  font-size: 0.82rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--line);
  font-weight: 400;
}

.breadcrumbs a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--orange);
}

.breadcrumbs [aria-current="page"] {
  color: var(--orange);
  font-weight: 900;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 80% 20%, rgba(242, 92, 5, 0.16), transparent 40%),
    linear-gradient(135deg, rgba(139, 47, 201, 0.14), rgba(15, 26, 44, 0.06));
  aspect-ratio: 16 / 9;
}

.media-frame--wide {
  aspect-ratio: 21 / 9;
}

.media-frame--portrait {
  aspect-ratio: 4 / 5;
}

.media-frame::before {
  content: "金喜体育 · 赛事图板";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(15, 26, 44, 0.18);
  border-radius: var(--radius-lg);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  color: rgba(15, 26, 44, 0.45);
  text-align: center;
  padding: 0 16px;
}

.media-frame img,
.media-frame video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.data-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: middle;
}

.data-table thead th {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  border-bottom: 3px solid var(--orange);
}

.data-table tbody td {
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.data-table tbody tr:nth-child(even) td {
  background: var(--muted);
}

.data-table tbody tr:hover td {
  background: rgba(255, 212, 0, 0.2);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
}

@media (max-width: 1120px) {
  .brand-tag {
    display: none;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 62px;
  }

  .site-header-inner {
    padding: 0 20px;
    gap: 12px;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .header-live {
    margin-left: 0;
    padding: 5px 10px;
  }

  .live-text {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 18px;
    background: var(--ink);
    border-bottom: 3px solid var(--orange);
    border-radius: 0 0 24px 24px;
    box-shadow: 0 26px 40px rgba(15, 26, 44, 0.24);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--speed-base), transform var(--speed-base), visibility 0s linear var(--speed-base);
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity var(--speed-base), transform var(--speed-base);
  }

  .nav-link {
    display: block;
    padding: 13px 12px;
    border-radius: 10px;
    font-size: 1rem;
    color: var(--paper);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.07);
  }

  .nav-link[aria-current="page"] {
    color: var(--yellow);
    background: rgba(242, 92, 5, 0.14);
    padding-left: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-header-inner {
    gap: 8px;
  }

  .site-brand {
    gap: 8px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 11px;
  }

  .header-live {
    display: none;
  }

  .site-footer-inner {
    padding: 40px 20px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-col-contact {
    grid-column: auto;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-glyph {
    opacity: 0.6;
  }
}

@media (min-width: 641px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1025px) {
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
