:root {
  --blue: #0878d1;
  --blue-dark: #075a9c;
  --green: #118848;
  --orange: #f09a22;
  --red: #e8342f;
  --purple: #7857c8;
  --cyan: #0797ae;
  --ink: #17202a;
  --muted: #6b7785;
  --line: #dbe2e8;
  --soft: #f4f7f9;
  --paper: #fff;
  --shadow: 0 8px 24px rgba(32, 55, 74, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  background: #eef2f5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-width {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
}

.top-line {
  color: #dbe8f2;
  background: #182c3d;
  font-size: 13px;
}

.top-line-inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.top-line-inner div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-line a:hover {
  color: #fff;
}

.top-line button {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
}

.beijing-clock {
  color: #ffd96a;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.site-header {
  background: var(--paper);
  box-shadow: var(--shadow);
}

.brand-row {
  display: grid;
  grid-template-columns: 260px minmax(340px, 1fr) 230px;
  gap: 30px;
  align-items: center;
  min-height: 112px;
}

.brand {
  display: block;
  width: 260px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.search-box label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
}

.search-control {
  display: flex;
  border: 2px solid var(--blue);
  border-radius: 5px;
  overflow: hidden;
}

.search-control input {
  min-width: 0;
  height: 42px;
  flex: 1;
  padding: 0 14px;
  border: 0;
  outline: 0;
}

.search-control button {
  width: 86px;
  color: #fff;
  background: var(--blue);
  border: 0;
  font-weight: 700;
}

.header-badge {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.header-badge strong,
.header-badge span {
  display: block;
}

.header-badge strong {
  color: var(--green);
  font-size: 17px;
}

.header-badge span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.main-nav {
  background: var(--blue);
}

.nav-list {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-list::-webkit-scrollbar {
  display: none;
}

.nav-list a,
.nav-list .nav-action {
  min-width: 124px;
  padding: 14px 22px;
  color: #fff;
  background: transparent;
  border: 0;
  text-align: center;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700;
}

.nav-list a:hover,
.nav-list a.active,
.nav-list .nav-action:hover {
  background: var(--blue-dark);
}

main {
  padding-top: 14px;
  padding-bottom: 30px;
}

.notice-strip {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  min-height: 42px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}

.notice-strip > strong {
  align-self: stretch;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  transition: background 0.2s;
}

.notice-strip > strong.live {
  background: var(--red);
}

.notice-window {
  position: relative;
  height: 40px;
  color: #44515c;
  overflow: hidden;
  white-space: nowrap;
}

.match-ticker-link {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: max-content;
  min-width: 100%;
  height: 40px;
  padding: 0 15px;
  align-items: center;
  font-weight: 700;
}

.match-ticker-link:hover {
  color: var(--blue);
}

.match-ticker-link.run {
  animation: ticker-slide 6.2s linear both;
}

@keyframes ticker-slide {
  0% {
    transform: translateX(55%);
  }

  12%,
  88% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-8%);
  }
}

.notice-time {
  padding-right: 14px;
  color: var(--muted);
  font-size: 12px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 220px;
  gap: 12px;
  margin-top: 12px;
}

.side-panel,
.hero-banner {
  min-height: 228px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.side-panel h2 {
  margin: 0;
  padding: 12px 15px;
  color: #fff;
  background: var(--green);
  font-size: 17px;
}

.hot-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hot-links a {
  padding: 12px 6px;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.hot-links a:nth-child(2n) {
  border-right: 0;
}

.hot-links a:hover {
  color: var(--red);
  background: #fff9e7;
}

.hero-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 42px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(2, 17, 39, 0.7) 0%, rgba(3, 23, 52, 0.4) 47%, rgba(2, 14, 31, 0.06) 76%),
    url("assets/world-cup-2026-hero.jpg") center/cover no-repeat;
}

.hero-kicker {
  position: relative;
  z-index: 1;
  color: #9ed9ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero-label {
  position: relative;
  z-index: 1;
  width: max-content;
  margin-top: 10px;
  padding: 4px 9px;
  color: #241700;
  background: #f3c654;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
}

.hero-banner h1 {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 9px 0 8px;
  font-size: clamp(30px, 4vw, 48px);
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}

.hero-banner p {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0;
  color: #e4f3ff;
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hero-tags a {
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  font-size: 12px;
  backdrop-filter: blur(4px);
}

.hero-tags a:hover {
  color: #241700;
  background: #f3c654;
  border-color: #f3c654;
}

.match-panel h2 {
  background: var(--orange);
}

.match-card {
  margin: 14px;
  padding: 17px 12px;
  text-align: center;
  background: #f4f8fb;
  border: 1px solid #dbe5ed;
}

.match-card span,
.match-card small,
.match-card strong {
  display: block;
}

.match-card span,
.match-card small {
  color: var(--muted);
  font-size: 12px;
}

.match-card strong {
  margin: 8px 0;
  color: var(--blue-dark);
  font-size: 18px;
}

.safety-tip {
  margin: 0 14px;
  padding: 11px 12px;
  color: #8b5d10;
  background: #fff8e4;
  border-left: 3px solid #f1aa22;
}

.safety-tip strong {
  font-size: 13px;
}

.safety-tip p {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.world-cup-strip {
  position: relative;
  display: grid;
  min-height: 96px;
  margin: 12px 0;
  padding: 14px 22px;
  grid-template-columns: 210px minmax(360px, 1fr) auto;
  align-items: center;
  gap: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 50%, rgba(28, 191, 121, 0.28), transparent 28%),
    linear-gradient(110deg, #071c38, #0b5596 62%, #087c62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(13, 52, 83, 0.18);
  overflow: hidden;
}

.world-cup-strip::after {
  position: absolute;
  right: 30%;
  content: "⚽";
  font-size: 78px;
  opacity: 0.09;
}

.countdown-block {
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-block span,
.countdown-block strong {
  display: block;
}

.countdown-block span {
  color: #acd6f3;
  font-size: 12px;
}

.countdown-block strong {
  margin-top: 4px;
  color: #ffd96a;
  font-size: 27px;
}

.opening-match {
  position: relative;
  z-index: 1;
  text-align: center;
}

.opening-match small,
.opening-match span {
  color: #c4def0;
  font-size: 11px;
}

.opening-match div {
  display: flex;
  margin: 6px 0;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.opening-match strong {
  font-size: 18px;
}

.opening-match b {
  color: #ffd96a;
  font-size: 13px;
}

.strip-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
}

.strip-actions a,
.strip-actions button {
  padding: 9px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  white-space: nowrap;
  font-size: 12px;
}

.strip-actions a:hover,
.strip-actions button:hover {
  color: #17202a;
  background: #ffd96a;
  border-color: #ffd96a;
}

.directory-sections {
  display: grid;
  gap: 12px;
}

.directory-section,
.tools-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(32, 55, 74, 0.04);
  scroll-margin-top: 12px;
}

.section-heading {
  display: flex;
  min-height: 48px;
  padding-right: 16px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.section-heading > div {
  display: flex;
  align-items: center;
}

.section-icon {
  display: grid;
  width: 50px;
  align-self: stretch;
  place-items: center;
  color: #fff;
  background: var(--section-color, var(--blue));
  font-size: 18px;
  font-weight: 800;
}

.section-heading h2 {
  margin: 0;
  padding-left: 14px;
  font-size: 19px;
}

.section-heading small {
  color: var(--muted);
}

.section-disclaimer {
  display: flex;
  padding: 10px 14px;
  align-items: center;
  gap: 12px;
  color: #755020;
  background: #fff8e8;
  border-bottom: 1px solid #ead8b6;
  font-size: 12px;
  line-height: 1.6;
}

.section-disclaimer strong {
  flex: 0 0 auto;
  padding: 2px 7px;
  color: #fff;
  background: #c36a16;
  border-radius: 3px;
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.site-link {
  position: relative;
  display: flex;
  min-height: 76px;
  padding: 14px 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.15s, transform 0.15s;
}

.site-link-button {
  width: 100%;
  color: inherit;
  background: #fff;
  border-top: 0;
  border-left: 0;
  border-radius: 0;
  font-family: inherit;
}

.site-route-card {
  padding: 0;
  cursor: pointer;
  overflow: visible;
}

.site-route-card summary {
  display: flex;
  min-height: 76px;
  padding: 14px 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  list-style: none;
}

.site-route-card summary::-webkit-details-marker {
  display: none;
}

.site-route-card summary::after {
  position: absolute;
  right: 9px;
  bottom: 7px;
  content: "线路 ▾";
  color: var(--section-color);
  font-size: 9px;
}

.route-menu {
  position: absolute;
  top: calc(100% - 3px);
  left: 50%;
  z-index: 30;
  display: none;
  width: 150px;
  padding: 5px;
  background: #d89218;
  border-radius: 3px;
  box-shadow: 0 12px 28px rgba(29, 35, 42, 0.28);
  transform: translateX(-50%);
}

.site-route-card:hover .route-menu,
.site-route-card:focus-within .route-menu,
.site-route-card[open] .route-menu {
  display: block;
}

.route-menu a {
  display: flex;
  min-height: 38px;
  padding: 8px 10px;
  align-items: center;
  gap: 7px;
  color: #201b13;
  background: #ffe2a9;
  border-bottom: 1px solid #c17b09;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.route-menu a:last-child {
  border-bottom: 0;
}

.route-menu a:hover {
  color: #fff;
  background: #e87317;
}

.route-menu a > span {
  margin: 0;
  color: #ff7015;
  font-size: 18px;
}

#credit-platforms,
#credit-platforms .site-grid {
  overflow: visible;
}

#credit-platforms {
  position: relative;
  z-index: 5;
}

.site-link:nth-child(6n) {
  border-right: 0;
}

.site-link:hover,
.site-link:focus-visible {
  z-index: 1;
  color: var(--section-color, var(--blue));
  background: #f8fbfd;
  box-shadow: inset 0 -3px var(--section-color, var(--blue));
  outline: none;
}

.site-link strong {
  font-size: 16px;
}

.site-link span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.site-link.disabled {
  color: #8b95a0;
  background:
    repeating-linear-gradient(-45deg, #fafbfc 0 10px, #f5f7f8 10px 20px);
  cursor: not-allowed;
}

.site-link.disabled:hover {
  color: #8b95a0;
  background:
    repeating-linear-gradient(-45deg, #fafbfc 0 10px, #f5f7f8 10px 20px);
  box-shadow: none;
}

.site-link.hot::after {
  position: absolute;
  top: 7px;
  right: 8px;
  content: "HOT";
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
}

.tools-section {
  margin-top: 12px;
  --section-color: var(--purple);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.tool-grid a {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.tool-grid a:last-child {
  border-right: 0;
}

.tool-grid strong,
.tool-grid span {
  display: block;
}

.tool-grid strong {
  color: var(--purple);
}

.tool-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.responsible-note {
  display: flex;
  margin-top: 12px;
  padding: 14px 18px;
  align-items: center;
  gap: 18px;
  color: #6d5936;
  background: #fffaf0;
  border: 1px solid #ead9b8;
  border-radius: 6px;
}

.responsible-note strong {
  white-space: nowrap;
}

.responsible-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.site-footer {
  padding: 26px 0;
  color: #bac7d1;
  background: #182c3d;
}

.site-footer .page-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer div div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.site-footer strong {
  color: #fff;
  font-size: 20px;
}

.site-footer p {
  margin: 0;
  text-align: right;
  font-size: 12px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10;
  max-width: 360px;
  padding: 12px 16px;
  color: #fff;
  background: rgba(23, 32, 42, 0.94);
  border-radius: 5px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.modal-open {
  overflow: hidden;
}

.score-modal[hidden] {
  display: none;
}

.score-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  padding: 24px;
  place-items: center;
}

.score-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 28, 0.78);
  backdrop-filter: blur(4px);
}

.score-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1440px, 96vw);
  height: min(900px, 94vh);
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.score-modal-header {
  display: flex;
  min-height: 58px;
  padding: 10px 14px 10px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
  background: #15354e;
}

.score-modal-header strong,
.score-modal-header span {
  display: block;
}

.score-modal-header strong {
  font-size: 18px;
}

.score-modal-header span {
  margin-top: 3px;
  color: #b9cad7;
  font-size: 11px;
}

.score-modal-actions {
  display: flex;
  gap: 8px;
}

.score-modal-actions a,
.score-modal-actions button {
  padding: 8px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  font-size: 13px;
}

.score-modal-actions a:hover,
.score-modal-actions button:hover {
  background: var(--blue);
}

.score-frame-wrap {
  position: relative;
  min-height: 0;
  background: #eef2f5;
  overflow: hidden;
}

.score-frame-loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.score-frame-loading[hidden] {
  display: none;
}

#scoreFrame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  border: 0;
}

.score-modal-note {
  margin: 0;
  padding: 8px 16px;
  color: #6f5a36;
  background: #fff8e8;
  border-top: 1px solid #ead8b6;
  font-size: 11px;
  line-height: 1.5;
}

.site-link.search-match {
  background: #fff7c7;
  box-shadow: inset 0 0 0 2px #f2c94c;
}

@media (max-width: 980px) {
  .brand-row {
    grid-template-columns: 230px 1fr;
  }

  .header-badge {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .match-panel {
    display: none;
  }

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

  .site-link:nth-child(6n) {
    border-right: 1px solid var(--line);
  }

  .site-link:nth-child(4n) {
    border-right: 0;
  }
}

@media (max-width: 680px) {
  .page-width {
    width: min(100% - 18px, 1240px);
  }

  .top-line-inner > span,
  .top-line-inner div > #currentDate {
    display: none;
  }

  .top-line-inner {
    justify-content: flex-end;
  }

  .brand-row {
    display: block;
    padding: 16px 0;
  }

  .brand {
    margin-bottom: 16px;
  }

  .brand {
    width: min(300px, 100%);
  }

  .notice-strip {
    grid-template-columns: 58px 1fr;
  }

  .notice-time {
    display: none;
  }

  .match-ticker-link {
    font-size: 13px;
  }

  .hero-grid {
    display: block;
  }

  .side-panel {
    min-height: auto;
    margin-bottom: 10px;
  }

  .hot-links {
    grid-template-columns: repeat(4, 1fr);
  }

  .hot-links a {
    padding: 10px 4px;
    font-size: 12px;
  }

  .hero-banner {
    min-height: 220px;
    padding: 26px 22px;
  }

  .hero-banner {
    background-position: 62% center;
  }

  .hero-banner p {
    max-width: 290px;
  }

  .world-cup-strip {
    padding: 14px;
    grid-template-columns: 1fr;
    gap: 13px;
    text-align: center;
  }

  .world-cup-strip::after {
    right: 18px;
    top: 12px;
  }

  .countdown-block {
    padding: 0 0 11px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .countdown-block strong {
    font-size: 24px;
  }

  .strip-actions {
    justify-content: center;
  }

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

  .site-link:nth-child(4n) {
    border-right: 1px solid var(--line);
  }

  .site-link:nth-child(2n) {
    border-right: 0;
  }

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

  .tool-grid a {
    border-bottom: 1px solid var(--line);
  }

  .responsible-note,
  .site-footer .page-width {
    display: block;
  }

  .responsible-note p {
    margin-top: 7px;
  }

  .section-disclaimer {
    display: block;
  }

  .section-disclaimer span {
    display: block;
    margin-top: 6px;
  }

  .site-footer p {
    margin-top: 10px;
    text-align: left;
    line-height: 1.6;
  }

  .score-modal {
    padding: 0;
  }

  .score-modal-panel {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }

  .score-modal-header {
    padding: 8px 9px 8px 12px;
  }

  .score-modal-header strong {
    font-size: 15px;
  }

  .score-modal-header span,
  .score-modal-note {
    display: none;
  }

  .score-modal-actions a,
  .score-modal-actions button {
    padding: 7px 8px;
    font-size: 12px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .match-ticker-link.run {
    animation: none;
  }
}
/* QUANXUN_DIVIDEND_STYLES */
.dividend-modal[hidden] {
  display: none;
}

.score-modal,
.dividend-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  padding: 24px;
  place-items: center;
}

.dividend-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(900px, 94vw);
  max-height: 88vh;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.dividend-list {
  display: grid;
  padding: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  overflow-y: auto;
}

.dividend-period {
  min-height: 92px;
  padding: 16px;
  background: #fbf8fc;
  border: 1px solid #e7d9e9;
  border-radius: 6px;
}

.dividend-period strong,
.dividend-period span {
  display: block;
}

.dividend-period strong {
  color: #9a4d9d;
  font-size: 18px;
}

.dividend-period span {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.score-modal-backdrop {
  position: absolute;
  inset: 0;
