:root {
  --yellow: #1d58dc;
  --yellow-2: #2f7df6;
  --ink: #16294f;
  --muted: #757575;
  --line: #e3e5eb;
  --bg: #f6f6f6;
  --panel: #fff;
  --blue: #1d58dc;
  --orange: #2563eb;
}

/* Source qtty.tv alignment pass: user-facing PC shell */
.site-header {
  height: 66px;
  background: #1d58dc;
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .14);
}

.header-inner {
  width: min(1200px, 100%);
  gap: 0;
}

.brand {
  width: 176px;
  height: 66px;
  padding-left: 12px;
  background: #eaf2ff;
  font-size: 22px;
  line-height: 1.05;
  color: #121212;
}

.brand-ball {
  width: 40px;
  height: 40px;
  background: #eaf2ff;
  color: var(--yellow);
  border: 2px solid #6c5411;
}

.brand span:last-child::after {
  content: "球探直播";
  display: block;
  margin-top: 1px;
  font-size: 15px;
  font-style: italic;
  letter-spacing: 1px;
}

.main-nav {
  height: 66px;
  gap: 0;
  color: #111;
}

.main-nav a {
  height: 66px;
  min-width: 84px;
  padding: 0 18px;
  display: grid;
  place-items: center;
  line-height: 1;
  font-weight: 700;
}

.main-nav a.active,
.main-nav a:hover {
  background: rgba(255, 255, 255, .16);
  border-bottom: 0;
}

body[data-route="home"] .main-nav a[data-route="/world"] {
  position: relative;
}

body[data-route="home"] .main-nav a[data-route="/world"]::after {
  content: "HOT";
  position: absolute;
  right: 8px;
  top: 14px;
  padding: 1px 4px;
  border-radius: 8px 8px 8px 0;
  background: #f5222d;
  color: #fff;
  font-size: 7px;
  line-height: 1;
  font-weight: 900;
  transform: rotate(-10deg);
}

body[data-route="home"] .main-nav a[data-route="/messages"],
body[data-route="score"] .main-nav a[data-route="/world"],
body[data-route="score"] .main-nav a[data-route="/messages"],
body[data-route="schedules"] .main-nav a[data-route="/world"],
body[data-route="schedules"] .main-nav a[data-route="/messages"],
body[data-route="data"] .main-nav a[data-route="/world"],
body[data-route="data"] .main-nav a[data-route="/messages"] {
  display: none;
}

.auth-nav {
  padding-right: 14px;
  color: #111;
  font-weight: 700;
}

.page-shell {
  width: 1200px;
  margin-top: 0;
}

.source-hero {
  height: 424px;
  margin: 0 calc((1200px - 100vw) / 2);
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(520px, 760px) minmax(210px, 1fr);
  align-items: stretch;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .5)),
    radial-gradient(circle at 50% 30%, rgba(255, 201, 39, .2), transparent 36%),
    linear-gradient(135deg, #17130b, #050505 58%, #241806);
}

.source-side-ad,
.source-main-ad {
  color: #fff;
  position: relative;
  overflow: hidden;
}

.source-side-ad {
  padding: 44px 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .65);
}

.source-side-ad::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 52% 20%, rgba(255, 255, 255, .28), transparent 14%),
    linear-gradient(145deg, #7a1025, #111 62%);
  transform: skew(-6deg);
  opacity: .9;
}

.source-side-ad.right::before {
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, .24), transparent 14%),
    linear-gradient(145deg, #111, #12305d 68%);
  transform: skew(6deg);
}

.source-side-ad b,
.source-side-ad span,
.source-side-ad em {
  position: relative;
  z-index: 1;
}

.source-side-ad b {
  max-width: 150px;
  font-size: 34px;
  line-height: 1.05;
  color: #ffe070;
}

.source-side-ad span {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 900;
}

.source-side-ad em {
  width: fit-content;
  margin-top: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: #161616;
  font-style: normal;
  font-weight: 900;
}

.source-main-ad {
  margin: 42px 0;
  padding: 0 32px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  border-radius: 4px;
  background:
    radial-gradient(circle at 55% 42%, rgba(255, 255, 255, .3), transparent 18%),
    linear-gradient(100deg, #ffe371 0 24%, #fff 24% 27%, #ff9a30 27% 100%);
  color: #171717;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .42);
}

.source-main-ad span {
  padding: 3px 12px;
  background: #eaf2ff;
  color: #fff;
  font-weight: 900;
  transform: rotate(-4deg);
}

.source-main-ad strong {
  margin-top: 18px;
  font-size: 44px;
  line-height: 1.1;
  color: #fff;
  -webkit-text-stroke: 1px #583400;
  text-shadow: 0 4px 0 #ec7d00;
}

.source-main-ad em {
  margin-top: 18px;
  padding: 10px 26px;
  border-radius: 999px;
  background: #fff;
  color: #e77800;
  font-style: normal;
  font-weight: 900;
}

.source-league-tabs {
  width: 760px;
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.source-league-tabs button {
  height: 34px;
  border: 0;
  border-radius: 3px;
  background: #1d58dc;
  color: #6f5a18;
  font-weight: 900;
}

.source-league-tabs button.active {
  background: var(--yellow);
  color: #161616;
}

.source-score-strip {
  width: 820px;
  margin: 8px auto 28px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.source-score-strip a {
  min-height: 54px;
  padding: 7px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #eee2a6;
  text-align: center;
}

.source-score-strip b,
.source-score-strip span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-score-strip b {
  font-size: 12px;
  color: #222;
}

.source-score-strip span {
  margin-top: 4px;
  color: #777;
  font-size: 11px;
}

.section-head {
  width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2::before {
  content: "🏆";
  margin-right: 6px;
}

.source-live-grid {
  width: 920px;
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px 14px;
}

.source-live-card {
  min-width: 0;
}

.source-cover {
  height: 84px;
  padding: 8px;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  color: #fff;
  background: #eaf2ff;
}

.source-cover::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
}

.source-cover span {
  position: relative;
  z-index: 1;
  font-weight: 900;
  color: #ffe070;
}

.source-cover i {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #e72838;
  font-style: normal;
  font-size: 11px;
}

.source-cover.tone-0 { background: #eaf2ff; }
.source-cover.tone-1 { background: #eaf2ff; }
.source-cover.tone-2 { background: #eaf2ff; }
.source-cover.tone-3 { background: #eaf2ff; }
.source-cover.tone-4 { background: #eaf2ff; }
.source-cover.tone-5 { background: #eaf2ff; }
.source-cover.tone-6 { background: #eaf2ff; }
.source-cover.tone-7 { background: #eaf2ff; }

.source-live-card strong {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.3;
  color: #222;
}

.source-live-card p {
  margin: 4px 0 0;
  display: flex;
  justify-content: space-between;
  color: #888;
  font-size: 12px;
}

.source-live-card em {
  color: #c43d39;
  font-style: normal;
}

.source-bottom-banner {
  height: 54px;
  margin: 0 calc((1200px - 100vw) / 2) 26px;
  padding: 0 calc((100vw - 920px) / 2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: linear-gradient(90deg, #35105b, #f2b12a, #35105b);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.source-bottom-banner a {
  padding: 8px 18px;
  border-radius: 999px;
  background: #1d58dc;
  color: #5a3b00;
  font-size: 14px;
}

.source-home-split {
  width: 920px;
  margin-left: auto;
  margin-right: auto;
}

/* Final source qtty.tv PC overrides */
.site-header {
  height: 66px;
  background: #1d58dc;
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .14);
}
.header-inner { width: min(1200px, 100%); gap: 0; }
.brand {
  width: 176px;
  height: 66px;
  padding-left: 12px;
  background: #eaf2ff;
  font-size: 22px;
  line-height: 1.05;
  color: #121212;
}
.brand-ball {
  width: 40px;
  height: 40px;
  background: #eaf2ff;
  color: #1d58dc;
  border: 2px solid #6c5411;
}
.brand span:last-child::after {
  content: "球探直播";
  display: block;
  margin-top: 1px;
  font-size: 15px;
  font-style: italic;
  letter-spacing: 1px;
}
.main-nav { height: 66px; gap: 0; color: #111; }
.main-nav a {
  height: 66px;
  min-width: 84px;
  padding: 0 18px;
  display: grid;
  place-items: center;
  line-height: 1;
  font-weight: 700;
}
.main-nav a.active,
.main-nav a:hover {
  background: rgba(255, 255, 255, .16);
  border-bottom: 0;
}
.auth-nav { padding-right: 14px; color: #111; font-weight: 700; }
.page-shell { width: 1200px; margin-top: 0; }

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: #333;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  height: 58px;
  background: #fff;
  border-bottom: 1px solid #efefef;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  width: 150px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  color: #1b1b1b;
}

.brand-ball {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: #fff;
  font-weight: 900;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  color: #333;
}

.main-nav a {
  line-height: 58px;
  white-space: nowrap;
}

.main-nav a.active {
  color: #000;
  font-weight: 700;
  border-bottom: 3px solid var(--yellow);
}

.auth-nav {
  display: flex;
  gap: 9px;
  color: #666;
}

.link-button {
  border: 0;
  background: transparent;
  color: #333;
  padding: 0;
}

.page-shell {
  width: 1200px;
  margin: 18px auto 40px;
}

.score-hero {
  height: 154px;
  background: #eaf2ff;
  color: #fff;
  border-radius: 2px 2px 0 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-hero::before,
.score-hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(37, 99, 235, .16);
  transform: rotate(45deg);
}

.score-hero::before {
  left: -90px;
  top: -100px;
}

.score-hero::after {
  right: -120px;
  bottom: -160px;
}

.league-pill {
  min-width: 72px;
  text-align: center;
  padding: 5px 14px;
  border-radius: 16px;
  background: rgba(37, 99, 235, .95);
  color: #fff;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.match-time {
  margin-top: 9px;
  color: rgba(255, 255, 255, .68);
  position: relative;
  z-index: 1;
}

.score-row {
  width: 700px;
  margin-top: 15px;
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  align-items: center;
  position: relative;
  z-index: 1;
}

.team {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 18px;
}

.team-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.qatar {
  background: #8a1738;
}

.swiss {
  background: #db1f2f;
}

.score-board {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
}

.score-board span {
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.score-board em {
  color: rgba(255, 255, 255, .6);
  font-style: normal;
  font-size: 13px;
}

.live-layout {
  display: grid;
  grid-template-columns: 826px 374px;
  align-items: stretch;
}

.left-column,
.chat-panel,
.data-card,
.schedule-card,
.recommend-card {
  background: var(--panel);
}

.player-panel {
  border-right: 1px solid #ededed;
}

.player-topbar {
  height: 74px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f0f0;
}

.anchor-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.anchor-profile h1 {
  font-size: 18px;
  margin: 0 0 5px;
  color: #202020;
}

.anchor-profile p {
  margin: 0;
  color: #888;
  font-size: 12px;
}

.follow-btn {
  height: 32px;
  min-width: 78px;
  border: 0;
  border-radius: 16px;
  background: var(--yellow);
  color: #fff;
  font-weight: 700;
}

.follow-btn.following {
  background: #f1f1f1;
  color: #777;
}

.video-stage {
  height: 465px;
  background:
    radial-gradient(circle at 48% 45%, rgba(37, 99, 235, .12), transparent 34%),
    linear-gradient(135deg, #111926, #06090e 62%, #171410);
  position: relative;
  overflow: hidden;
}

.live-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #eaf2ff;
}

.video-stage::before {
  content: "";
  position: absolute;
  inset: 38px 54px 80px;
  border-radius: 24px;
  background:
    linear-gradient(120deg, transparent 0 25%, rgba(255, 255, 255, .06) 25% 26%, transparent 26% 100%),
    linear-gradient(150deg, rgba(42, 101, 214, .35), rgba(37, 99, 235, .2));
  filter: blur(.2px);
  opacity: .75;
}

.video-watermark {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 3;
  color: rgba(255, 255, 255, .56);
  font-weight: 700;
  letter-spacing: 0;
}

.pc-playback-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  max-width: 260px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  background: rgba(10, 16, 24, .72);
  color: #e9f8ff;
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
  backdrop-filter: blur(10px);
}

.pc-playback-badge small {
  display: block;
  color: rgba(233, 248, 255, .72);
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .85);
  background: #eaf2ff;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.play-button span {
  display: block;
  margin-left: 32px;
  width: 0;
  height: 0;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 28px solid #fff;
}

.play-button.playing span {
  width: 28px;
  height: 34px;
  margin: 0 auto;
  border: 0;
  background: linear-gradient(90deg, #fff 0 36%, transparent 36% 64%, #fff 64%);
}

.video-gradient {
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: #eaf2ff;
  z-index: 2;
}

.video-controls {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  z-index: 4;
}

.live-source-note {
  position: absolute;
  left: 22px;
  top: 50px;
  z-index: 4;
  max-width: 360px;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(37, 99, 235, .9);
  color: #151515;
  font-size: 12px;
  font-weight: 800;
}

.live-error-state {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  width: min(360px, calc(100% - 44px));
  padding: 18px;
  border-radius: 8px;
  background: rgba(8, 12, 18, .88);
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}

.live-error-state strong,
.live-error-state span {
  display: block;
}

.live-error-state span {
  margin: 8px 0 14px;
  color: rgba(255, 255, 255, .74);
  line-height: 1.5;
}

.live-error-state button {
  height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 17px;
  background: var(--yellow);
  color: #fff;
  font-weight: 800;
}

.video-controls button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .14);
}

.progress {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, .24);
  border-radius: 4px;
  overflow: hidden;
}

.progress span {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--yellow);
}

.timecode {
  font-size: 12px;
  color: rgba(255, 255, 255, .76);
}

.chat-panel {
  height: 539px;
  display: flex;
  flex-direction: column;
}

.chat-tabs {
  height: 50px;
  display: flex;
  border-bottom: 1px solid #eee;
}

.chat-tab {
  flex: 1;
  border: 0;
  background: #fff;
  color: #757575;
  position: relative;
  font-size: 15px;
}

.chat-tab.active {
  color: #000;
  font-weight: 700;
}

.chat-tab.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 34px;
  height: 4px;
  background: var(--yellow);
  border-radius: 4px 4px 0 0;
  transform: translateX(-50%);
}

.notice {
  min-height: 54px;
  padding: 9px 14px;
  display: flex;
  gap: 9px;
  border-bottom: 1px solid #f1f1f1;
  color: #666;
  font-size: 12px;
  line-height: 18px;
}

.notice span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: #fff;
  flex: 0 0 auto;
  font-weight: 800;
}

.notice p {
  margin: 0;
}

.notice a {
  color: #1d58dc;
}

.chat-view {
  display: none;
  min-height: 1px;
  flex: 1;
  position: relative;
}

.chat-view.active {
  display: block;
}

.message-list {
  height: 100%;
  margin: 0;
  padding: 12px 12px 46px;
  list-style: none;
  overflow-y: auto;
}

.message-list li {
  margin-bottom: 9px;
  line-height: 20px;
  word-break: break-word;
  color: #333;
}

.message-list b {
  display: inline-block;
  min-width: 34px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 3px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 11px;
  margin-right: 5px;
  font-weight: 700;
}

.message-list .name {
  color: #2563eb;
}

.system-card {
  margin: 14px 8px;
  padding: 12px;
  border-radius: 7px;
  background: #f9f8f2;
  border: 1px solid #bfdbfe;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #666;
  font-size: 12px;
}

.system-card strong {
  color: #333;
}

.join-toast {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 30px;
  border-radius: 15px;
  background: #eaf2ff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.join-toast span {
  color: var(--yellow);
  margin: 0 3px;
}

.dm-empty {
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: #9ca9c5;
}

.dm-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f0f1f5;
  color: #999;
  font-weight: 800;
}

.dm-empty p {
  margin: 0;
}

.dm-empty button {
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: var(--yellow);
  color: #fff;
  font-weight: 800;
}

.chat-actionbar {
  height: 58px;
  padding: 10px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #eee;
  background: #fafafa;
  position: relative;
}

.chat-actionbar input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #e7e7e7;
  border-radius: 18px;
  background: #fff;
  color: #333;
  outline: none;
}

.shield,
#emojiButton {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #777;
}

.send-button {
  height: 34px;
  padding: 0 15px;
  border: 0;
  border-radius: 17px;
  color: #777;
  background: #ececec;
}

.send-button.active {
  background: var(--yellow);
  color: #fff;
  font-weight: 700;
}

.send-button:disabled,
.login-submit:disabled,
.pc-sendbar button:disabled {
  cursor: wait;
  opacity: .68;
}

.emoji-popover {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 58px;
  padding: 14px;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 -8px 18px rgba(0, 0, 0, .08);
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.emoji-popover.open {
  display: grid;
}

.emoji-popover button {
  border: 1px solid #eee;
  background: #fafafa;
  height: 32px;
  border-radius: 16px;
}

.data-card {
  margin-top: 14px;
  padding-bottom: 22px;
}

.data-tabs {
  height: 56px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.arrow-tab,
.data-tab {
  height: 100%;
  border: 0;
  background: #fff;
}

.arrow-tab {
  width: 46px;
  color: #9c9c9c;
  font-size: 24px;
}

.data-tab {
  padding: 0 26px;
  color: #757575;
  position: relative;
}

.data-tab.active {
  color: #000;
  font-weight: 700;
}

.data-tab.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 42px;
  height: 4px;
  border-radius: 4px 4px 0 0;
  background: var(--yellow);
  transform: translateX(-50%);
}

.tab-panel {
  display: none;
  padding: 22px 28px 0;
}

.tab-panel.active {
  display: block;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 150px 1fr;
  gap: 8px 18px;
  align-items: center;
  text-align: center;
}

.team-label {
  font-weight: 700;
  text-align: left;
}

.team-label.right {
  text-align: right;
}

.metric-number {
  font-weight: 800;
  font-size: 20px;
}

.metric-name {
  color: #777;
}

.bar {
  height: 7px;
  background: #f1f3f8;
  border-radius: 7px;
  overflow: hidden;
  position: relative;
}

.bar::before {
  content: "";
  display: block;
  width: var(--value);
  height: 100%;
}

.bar.home::before {
  margin-left: auto;
  background: var(--blue);
}

.bar.away::before {
  background: var(--orange);
}

.data-card h2 {
  margin: 28px 0 16px;
  font-size: 18px;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid #eee;
}

.timeline li {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 36px;
  padding-left: 14px;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.timeline time {
  color: #999;
}

.timeline em {
  color: #999;
  font-style: normal;
}

.odds {
  padding-top: 18px;
}

.odds-row {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid #f1f1f1;
  text-align: center;
}

.odds-row.head {
  background: #fafafa;
  color: #777;
  font-weight: 700;
}

.odds-row span:first-child {
  text-align: left;
  padding-left: 14px;
}

.odds-row em {
  color: #e55353;
  font-style: normal;
}

.below-layout {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 14px;
}

.schedule-card,
.recommend-card {
  padding: 18px;
}

.schedule-card h2,
.recommend-card h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.schedule-card p {
  color: #999;
  margin: 0 0 10px;
}

.schedule-card a {
  height: 60px;
  border-radius: 6px;
  background: #fafafa;
  display: grid;
  grid-template-columns: 1fr 54px 28px 1fr;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  text-align: center;
}

.schedule-card strong {
  color: var(--yellow);
}

.schedule-card em {
  color: #aaa;
  font-style: normal;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.recommend-grid a {
  min-height: 92px;
  padding: 12px;
  border-radius: 6px;
  background: #eaf2ff;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}

.recommend-grid span {
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
}

.recommend-grid em {
  color: var(--yellow);
  font-style: normal;
}

.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: #eaf2ff;
  z-index: 50;
  place-items: center;
}

.modal-backdrop.open {
  display: grid;
}

.login-dialog {
  width: 380px;
  padding: 30px;
  border-radius: 8px;
  background: #fff;
  position: relative;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
}

.login-dialog h2 {
  margin: 0 0 22px;
  text-align: center;
}

.login-dialog label {
  display: block;
  color: #666;
  margin-bottom: 14px;
}

.login-dialog input {
  width: 100%;
  height: 42px;
  margin-top: 7px;
  padding: 0 12px;
  border: 1px solid #e4e4e4;
  border-radius: 4px;
  outline: none;
}

.login-submit {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 22px;
  background: var(--yellow);
  color: #fff;
  font-weight: 800;
  margin-top: 8px;
}

.login-dialog p {
  text-align: center;
  color: #999;
  margin: 18px 0 0;
  min-height: 18px;
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  font-size: 26px;
  color: #999;
}

.text-action {
  border: 0;
  background: transparent;
  color: #777;
  padding: 0;
}

.home-hero {
  display: grid;
  grid-template-columns: 1fr 374px;
  gap: 14px;
}

.hero-banner {
  min-height: 328px;
  padding: 46px 54px;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, .12) 0 18%, transparent 18% 100%),
    linear-gradient(135deg, #202938, #121720 58%, #1e3a8a);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-banner::after {
  content: "";
  position: absolute;
  right: 60px;
  top: 54px;
  width: 260px;
  height: 190px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(29, 88, 220, .28), rgba(37, 99, 235, .26));
  border: 1px solid rgba(255, 255, 255, .08);
}

.hero-tag,
.download-copy span,
.world-hero span {
  width: max-content;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--yellow);
  color: #fff;
  font-weight: 800;
}

.hero-banner h1,
.world-hero h1,
.download-copy h1 {
  margin: 18px 0 12px;
  font-size: 38px;
  line-height: 1.1;
}

.hero-banner p,
.world-hero p,
.download-copy p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
}

.hero-banner button,
.world-hero a,
.download-buttons button {
  width: max-content;
  height: 42px;
  border: 0;
  border-radius: 21px;
  padding: 0 22px;
  background: var(--yellow);
  color: #fff;
  font-weight: 800;
}

.score-strip {
  background: #fff;
  border: 1px solid #eee;
}

.score-mini {
  min-height: 82px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 70px 58px 1fr 28px;
  gap: 6px 8px;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}

.score-mini:last-child {
  border-bottom: 0;
}

.score-mini span,
.score-mini time {
  color: #999;
  font-size: 12px;
}

.score-mini b {
  font-weight: 500;
  color: #333;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.score-mini strong {
  color: #111;
  font-size: 20px;
  text-align: right;
}

.section-head {
  margin-top: 22px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-head h2,
.page-title h1 {
  margin: 0;
  color: #222;
}

.section-head a {
  color: #888;
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

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

.live-card {
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  min-height: 218px;
}

.thumb,
.video-thumb {
  height: 142px;
  padding: 12px;
  color: #fff;
  background: #eaf2ff;
  position: relative;
}

.thumb span {
  font-size: 12px;
  color: rgba(255, 255, 255, .7);
}

.thumb button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 32px;
  border: 0;
  border-radius: 16px;
  padding: 0 16px;
  background: rgba(37, 99, 235, .96);
  color: #fff;
  font-weight: 700;
}

.tone-1 {
  background: #eaf2ff;
}

.tone-2 {
  background: #eaf2ff;
}

.tone-3 {
  background: linear-gradient(135deg, #eef6ff, #dbeafe);
}

.tone-4 {
  background: linear-gradient(135deg, #1e3a8a, #eff6ff);
}

.live-meta {
  padding: 12px;
  display: grid;
  gap: 6px;
}

.live-meta strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-meta span {
  color: #666;
}

.live-meta em,
.compact-live em {
  color: #999;
  font-style: normal;
}

.home-split,
.world-grid,
.news-layout {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.panel-card {
  background: #fff;
  padding: 18px;
  border: 1px solid #eee;
}

.panel-card h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.news-line,
.compact-live {
  min-height: 42px;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  border-bottom: 1px solid #f1f1f1;
}

.news-line b {
  color: var(--yellow);
}

.news-line span,
.compact-live span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.compact-live {
  grid-template-columns: 1fr 96px 58px;
  gap: 10px;
}

.compact-live b {
  color: #333;
  font-weight: 600;
}

.world-hero,
.download-page {
  min-height: 300px;
  padding: 42px 54px;
  background: #eaf2ff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}

.world-hero div,
.download-copy {
  max-width: 520px;
}

.match-list,
.schedule-list {
  display: grid;
  gap: 10px;
}

.match-item,
.schedule-row {
  min-height: 64px;
  background: #fff;
  border: 1px solid #eee;
  display: grid;
  grid-template-columns: 92px 72px 1fr 40px 32px 40px 1fr 112px;
  gap: 10px;
  align-items: center;
  padding: 0 18px;
}

.match-item .league,
.state {
  color: #999;
}

.match-item b {
  font-size: 22px;
  color: #111;
  text-align: center;
}

.match-item em,
.schedule-row em {
  color: #aaa;
  font-style: normal;
  text-align: center;
}

.page-title {
  min-height: 92px;
  background: #fff;
  padding: 22px 26px;
  border: 1px solid #eee;
}

.page-title p {
  margin: 9px 0 0;
  color: #888;
}

.filter-tabs,
.date-tabs {
  margin: 14px 0;
  background: #fff;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid #eee;
}

.filter-tabs button,
.date-tabs button {
  min-width: 72px;
  height: 32px;
  border: 0;
  border-radius: 16px;
  background: #f3f3f3;
  color: #666;
}

.filter-tabs button.active,
.date-tabs button.active {
  background: var(--yellow);
  color: #fff;
  font-weight: 800;
}

.schedule-row {
  grid-template-columns: 100px 80px 1fr 36px 1fr 82px;
}

.schedule-row button {
  height: 32px;
  border: 0;
  border-radius: 16px;
  background: var(--yellow);
  color: #fff;
  font-weight: 700;
}

.standings {
  display: grid;
}

.standings > div {
  min-height: 42px;
  display: grid;
  grid-template-columns: 1fr repeat(5, 50px);
  align-items: center;
  border-bottom: 1px solid #f1f1f1;
}

.stand-head {
  color: #999;
  background: #fafafa;
}

.standings b {
  color: #111;
}

.ranking > div {
  min-height: 48px;
  display: grid;
  grid-template-columns: 36px 1fr 90px 42px;
  align-items: center;
  border-bottom: 1px solid #f1f1f1;
}

.ranking b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: #fff;
}

.ranking em {
  color: #999;
  font-style: normal;
}

.ranking strong {
  font-size: 20px;
}

.data-wide {
  margin-top: 14px;
}

.team-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.team-stats div {
  display: grid;
  gap: 14px;
}

.team-stats span {
  height: 34px;
  line-height: 34px;
  padding-left: 12px;
  border-radius: 17px;
  background: linear-gradient(90deg, rgba(37, 99, 235, .9) 0 var(--value), #f3f3f3 var(--value));
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.video-card {
  background: #fff;
  border: 1px solid #eee;
  padding-bottom: 12px;
  display: grid;
  gap: 8px;
}

.video-thumb {
  height: 156px;
  display: grid;
  place-items: center;
}

.video-thumb button {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .9);
  background: #eaf2ff;
  color: #fff;
}

.video-card strong,
.video-card span {
  margin: 0 12px;
}

.video-card span {
  color: #888;
}

.news-layout {
  grid-template-columns: 1fr 330px;
}

.news-list {
  display: grid;
  gap: 12px;
}

.news-card {
  min-height: 150px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid #eee;
  padding: 14px;
}

.news-cover {
  display: grid;
  place-items: center;
  background: #eaf2ff;
  color: var(--yellow);
  font-weight: 800;
}

.news-card span {
  color: var(--yellow);
  font-weight: 700;
}

.news-card h2 {
  margin: 8px 0;
  font-size: 20px;
}

.news-card p {
  margin: 0 0 12px;
  color: #777;
  line-height: 1.7;
}

.news-card a {
  color: #1d58dc;
}

.message-dashboard {
  display: grid;
  grid-template-columns: 1fr 286px;
  gap: 14px;
}

.pc-message-main,
.pc-conversion-side,
.pc-side-card {
  background: #fff;
  border: 1px solid #eee;
}

.pc-message-head {
  height: 58px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
}

.pc-message-head a {
  color: #1d58dc;
  font-weight: 700;
}

.pc-message-tabs {
  display: flex;
  gap: 8px;
}

.pc-message-tabs button {
  height: 34px;
  padding: 0 18px;
  border: 1px solid #e7e7e7;
  border-radius: 17px;
  background: #fff;
  color: #666;
}

.pc-message-tabs button.active {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #fff;
  font-weight: 800;
}

.pc-message-section {
  display: none;
  min-height: 520px;
}

.pc-message-section.active {
  display: grid;
}

.pc-message-section[data-pc-message-view="community"] {
  grid-template-columns: 320px 1fr;
  grid-template-rows: 1fr 60px;
}

.pc-message-list {
  padding: 14px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.pc-message-section[data-pc-message-view="community"] .pc-message-list {
  border-right: 1px solid #eee;
  grid-row: 1 / 3;
}

.pc-message-item {
  width: 100%;
  min-height: 74px;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
  color: #333;
  text-align: left;
  display: grid;
  gap: 5px;
}

.pc-message-item.active {
  border-color: #93c5fd;
  background: #eff6ff;
}

.pc-message-item strong {
  color: #181818;
}

.pc-message-item span {
  color: #777;
  line-height: 1.5;
}

.pc-message-item em {
  color: #999;
  font-style: normal;
  font-size: 12px;
}

.pc-message-item.skeleton {
  color: #999;
}

.state-card,
.inline-state,
.empty-state {
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  background: #eff6ff;
  color: #1d4ed8;
}

.state-card {
  margin-bottom: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.state-card strong,
.inline-state strong,
.empty-state strong {
  color: #181818;
}

.state-card span,
.inline-state span,
.empty-state span {
  line-height: 1.5;
}

.state-card button,
.empty-state a {
  margin-left: auto;
  min-width: 86px;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 17px;
  background: var(--yellow);
  color: #fff;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
}

.inline-state {
  margin: 10px 12px;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
}

.inline-state button {
  justify-self: start;
  height: 30px;
  padding: 0 14px;
  border: 0;
  border-radius: 15px;
  background: var(--yellow);
  color: #fff;
  font-weight: 800;
}

.empty-state {
  min-height: 150px;
  padding: 22px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
}

.pc-chat-stream {
  min-height: 460px;
  max-height: 460px;
  padding: 18px;
  overflow-y: auto;
  background: #fafafa;
}

.pc-chat-bubble {
  max-width: 78%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #eee;
  display: grid;
  gap: 5px;
}

.pc-chat-bubble b {
  color: #2563eb;
}

.pc-toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 80;
  max-width: min(420px, calc(100vw - 40px));
  padding: 11px 16px;
  border-radius: 22px;
  background: rgba(24, 24, 24, .92);
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

.pc-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.pc-toast.warning {
  background: #1e3a8a;
  color: #dbeafe;
}

.pc-chat-bubble span {
  line-height: 1.6;
}

.pc-sendbar {
  height: 60px;
  padding: 10px 14px;
  display: flex;
  gap: 10px;
  border-top: 1px solid #eee;
  background: #fff;
}

.pc-sendbar input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 1px solid #e6e6e6;
  border-radius: 20px;
  padding: 0 15px;
  outline: none;
}

.pc-sendbar button {
  width: 78px;
  border: 0;
  border-radius: 20px;
  background: var(--yellow);
  color: #fff;
  font-weight: 800;
}

.pc-conversion-side {
  padding: 14px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.pc-side-card {
  min-height: 104px;
  padding: 15px;
  border-radius: 6px;
  display: grid;
  align-content: start;
  gap: 7px;
}

.pc-side-card span {
  color: #777;
}

.pc-side-card strong {
  font-size: 30px;
  line-height: 1;
}

.pc-side-card p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

.download-page {
  min-height: 520px;
  display: grid;
  grid-template-columns: 1fr 320px 220px;
  gap: 40px;
}

.download-buttons {
  display: flex;
  gap: 14px;
}

.phone-mock {
  width: 260px;
  height: 420px;
  border-radius: 36px;
  padding: 16px;
  background: #eaf2ff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .4);
}

.phone-screen {
  height: 100%;
  border-radius: 26px;
  padding: 22px;
  background: #fff;
  color: #181818;
  display: grid;
  align-content: start;
  gap: 18px;
}

.mini-score {
  height: 54px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f6f6f6;
  font-weight: 800;
}

.mini-video {
  height: 150px;
  border-radius: 16px;
  background: #eaf2ff;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 34px;
}

.mini-chat {
  height: 42px;
  border-radius: 21px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  font-weight: 800;
}

.qr-panel {
  align-self: center;
  justify-self: center;
  text-align: center;
  color: #fff;
}

.qr {
  width: 150px;
  height: 150px;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px) 0 0 / 30px 30px,
    linear-gradient(#111 10px, transparent 10px) 0 0 / 30px 30px,
    #fff;
  color: #111;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 14px;
}

@media (max-width: 900px) {
  .header-inner,
  .page-shell {
    width: 100%;
  }

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

  .main-nav {
    overflow-x: auto;
    gap: 16px;
  }

  .auth-nav {
    display: none;
  }

  .score-hero {
    border-radius: 0;
  }

  .score-row {
    width: 100%;
    grid-template-columns: 1fr 130px 1fr;
  }

  .live-layout,
  .below-layout,
  .message-dashboard,
  .pc-message-section[data-pc-message-view="community"] {
    grid-template-columns: 1fr;
  }

  .pc-message-section[data-pc-message-view="community"] {
    grid-template-rows: auto 360px 60px;
  }

  .pc-message-section[data-pc-message-view="community"] .pc-message-list {
    border-right: 0;
    border-bottom: 1px solid #eee;
    grid-row: auto;
  }

  .chat-panel {
    height: 520px;
  }

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

/* P41 full blue/white visual normalization: no black or yellow surfaces */
:root {
  --yellow: #1d58dc;
  --yellow-2: #2f7df6;
  --ink: #16294f;
  --blue: #1d58dc;
  --bg: #f4f8ff;
  --panel: #fff;
}

html,
body,
.app-shell,
.page-shell,
.source-mobile-im,
.source-mobile-im-list {
  background: #f4f8ff;
  color: #16294f;
}

.site-header,
.h5-header,
.bottom-tabs,
.source-bottom-banner,
.ttkq-bottom-banner,
.source-live-entry-bottom,
.h5-live-entry-bottom {
  background: #fff;
  color: #123d92;
  border-color: #dbe8ff;
  box-shadow: 0 1px 0 rgba(29, 88, 220, .12);
}

.brand,
.auth-nav,
.main-nav,
.main-nav a,
.bottom-tabs a,
.status-row strong,
.source-bottom-banner,
.ttkq-bottom-banner {
  color: #123d92;
}

.brand,
.brand-ball,
.status-row strong::before,
.status-row button,
.auth-nav .login-btn,
.login-btn,
.primary-btn,
.watch-btn,
.source-cta,
.source-live-entry-main span,
.h5-live-entry-main span,
.ttkq-match-row i,
.ttkq-match-row button,
.source-score-card button,
.source-score-card .tag,
.source-league-tabs button.active,
.source-date-tabs button.active,
.ttkq-filter-tabs button.active,
.ttkq-date-tabs button.active,
.score-filter-tabs button.active,
.world-tab.active,
.world-date.active,
.world-group.active,
.data-tab.active,
.data-league.active,
.schedule-filter.active,
.schedule-date.active {
  background: #1d58dc;
  color: #fff;
  border-color: #1d58dc;
}

.main-nav a.active,
.main-nav a:hover,
.source-league-tabs button,
.source-date-tabs button,
.ttkq-filter-tabs button,
.ttkq-date-tabs button,
.score-filter-tabs button,
.world-tab,
.world-date,
.world-group,
.data-tab,
.data-league,
.schedule-filter,
.schedule-date {
  background: #eaf2ff;
  color: #123d92;
  border-color: #cfe0ff;
}

.source-hero,
.home-real-hero,
.source-main-ad,
.source-side-ad,
.source-live-entry,
.h5-live-entry,
.live-stage,
.player-shell,
.video-shell,
.video-panel,
.room-player,
.live-player,
.match-player,
.world-hero,
.world-main,
.ttkq-home-hero,
.ttkq-wall-cover,
.source-cover,
.source-h5-cover,
.h5-source-cover,
.h5-wall-cover,
.app-promo,
.download-strip,
.promo-card,
.data-empty-visual {
  background: linear-gradient(135deg, #eef6ff 0%, #dbeafe 58%, #f8fbff 100%);
  color: #123d92;
  border-color: #cfe0ff;
  text-shadow: none;
  box-shadow: 0 12px 32px rgba(29, 88, 220, .10);
}

.source-side-ad::before,
.source-cover::after,
.source-h5-cover::after,
.ttkq-wall-cover::after,
.h5-wall-cover::after,
.video-overlay,
.cover-mask {
  background: linear-gradient(180deg, rgba(219, 234, 254, .08), rgba(29, 88, 220, .18));
}

.source-card,
.source-score-card,
.source-live-card,
.ttkq-match-table,
.ttkq-match-row,
.panel,
.card,
.chat-panel,
.chat-list,
.message-shell,
.conversation-list,
.source-conversation-card,
.source-community-detail-head,
.source-h5-message-head,
.world-panel,
.data-panel,
.schedule-panel,
.score-panel {
  background: #fff;
  color: #16294f;
  border-color: #dbe8ff;
}

.source-card:hover,
.source-score-card:hover,
.source-live-card:hover,
.ttkq-match-row:hover {
  background: #f7fbff;
}

.section-head::before,
.section-head::after,
.divider::before,
.divider::after {
  background: #cfe0ff;
}

.section-head span,
.divider span,
.source-match-row b,
.ttkq-match-row b,
.score-score,
.match-score {
  color: #123d92;
}

.source-match-row .match-league,
.ttkq-match-row .match-league,
.league-tag,
.hot-badge,
.live-badge,
.state-live {
  color: #1d58dc;
}

.source-home-real,
.source-world-real,
.source-schedule-real,
.source-data-real,
.source-score-real {
  background: #f4f8ff;
}

.home-real-hero,
.ttkq-home-hero,
.source-hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 30%, rgba(29, 88, 220, .18), transparent 28%),
    radial-gradient(circle at 78% 24%, rgba(47, 125, 246, .16), transparent 26%),
    linear-gradient(135deg, #f8fbff 0%, #dbeafe 58%, #eff6ff 100%);
}

.home-real-hero::before,
.ttkq-home-hero::before,
.source-hero::before {
  content: "球探直播";
  position: absolute;
  left: 52px;
  top: 72px;
  z-index: 1;
  color: #123d92;
  font-size: 54px;
  font-weight: 900;
  letter-spacing: 0;
}

.home-real-hero::after,
.ttkq-home-hero::after,
.source-hero::after {
  content: "世界杯赛事 · 实时比分 · 高清直播";
  position: absolute;
  left: 56px;
  top: 146px;
  z-index: 1;
  color: #1d58dc;
  font-size: 24px;
  font-weight: 800;
}

.ttkq-home-bottom-app,
.world-pixel-bottom,
.ttkq-app-strip {
  background: #1d58dc;
  color: #fff;
  border-top: 1px solid #2f7df6;
  box-shadow: 0 -8px 20px rgba(29, 88, 220, .16);
}

.ttkq-home-bottom-app b,
.world-pixel-bottom b,
.ttkq-app-strip b,
.ttkq-home-bottom-app em,
.world-pixel-bottom em {
  color: #fff;
}

.ttkq-home-bottom-app span,
.world-pixel-bottom a,
.ttkq-app-strip a {
  background: #fff;
  color: #1d58dc;
  border-color: #fff;
}

/* P42 visible navigation + World/Schedule blue-white correction */
.site-header {
  background: #fff;
  border-bottom: 1px solid #dbe8ff;
  box-shadow: 0 2px 10px rgba(29, 88, 220, .08);
}

.brand.brand-text-only,
.brand {
  background: #fff;
  color: #123d92;
}

.main-nav {
  background: #fff;
  color: #123d92;
}

.main-nav a {
  color: #123d92;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
}

.main-nav a.active,
.main-nav a:hover {
  background: #1d58dc;
  color: #fff;
}

.auth-nav,
.auth-nav a,
.auth-nav button {
  color: #123d92;
}

body[data-route="home"] .main-nav a[data-route="/world"]::after {
  background: #eaf2ff;
  color: #1d58dc;
  border: 1px solid #cfe0ff;
}

.world-real-page,
.source-schedule-page,
.source-score-page,
.source-data-page {
  background: #f4f8ff;
  color: #16294f;
}

.world-real-tabs,
.source-sport-tabs,
.source-date-tabs,
.source-score-tabs,
.source-data-tabs,
.source-data-leagues,
.world-date-strip,
.score-control-row,
.source-schedule-filter {
  background: #fff;
  border: 1px solid #dbe8ff;
  box-shadow: 0 8px 22px rgba(29, 88, 220, .08);
}

.world-real-tabs button,
.source-sport-tabs button,
.source-date-tabs button,
.source-score-tabs button,
.source-data-tabs button,
.source-data-leagues button,
.world-date-strip button,
.world-group-grid button,
.world-stage-link,
.world-rule-link,
.world-stage-select,
.score-control-row button,
.score-control-row select,
.source-schedule-filter button {
  background: #eaf2ff;
  color: #123d92;
  border-color: #cfe0ff;
}

.world-real-tabs button.active,
.source-sport-tabs button.active,
.source-date-tabs button.active,
.source-score-tabs button.active,
.source-data-tabs button.active,
.source-data-leagues button.active,
.world-date-strip button.active,
.world-group-grid button.active,
.score-control-row button.active,
.source-schedule-filter button.active {
  background: #1d58dc;
  color: #fff;
  border-color: #1d58dc;
}

.world-real-shell,
.world-real-sidebar,
.world-real-main,
.world-schedule-section,
.world-schedule-table,
.source-schedule-day,
.source-schedule-table,
.source-rank-table,
.source-score-table,
.source-data-table {
  background: #fff;
  color: #16294f;
  border-color: #dbe8ff;
}

.world-schedule-head,
.source-schedule-head,
.source-score-head,
.source-data-head {
  background: #eaf2ff;
  color: #123d92;
  border-color: #cfe0ff;
}

.world-schedule-row,
.source-schedule-row,
.source-score-row,
.source-data-row {
  background: #fff;
  color: #16294f;
  border-color: #e5efff;
}

.world-schedule-row:hover,
.source-schedule-row:hover,
.source-score-row:hover,
.source-data-row:hover {
  background: #f7fbff;
}

.world-date-arrow.left,
.world-date-arrow.right {
  background: #eaf2ff;
  color: #1d58dc;
}

.source-schedule-banner {
  background:
    radial-gradient(circle at 18% 50%, rgba(29, 88, 220, .18), transparent 24%),
    linear-gradient(135deg, #f8fbff, #dbeafe 60%, #eff6ff);
  border: 1px solid #cfe0ff;
}

/* Source qtty.tv pass 4: real source assets, chat and message alignment */
@font-face {
  font-family: D-DIN-PRO;
  src: url("assets/source/static/fonts/D-DIN-PRO-500-Medium.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: D-TITLE;
  src: url("assets/source/static/fonts/D-TITLE.woff2") format("woff2");
  font-display: swap;
}

.source-image-cover {
  position: relative;
  overflow: hidden;
  background: #eaf2ff;
}

.source-image-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.source-image-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #eaf2ff;
}

.source-image-cover span,
.source-image-cover button,
.ttkq-wall-cover span {
  position: relative;
  z-index: 1;
}

.ttkq-wall-card p i,
.source-room-chat > li > img,
.source-chat-bubble > img,
.source-session-item > img {
  overflow: hidden;
  background: #f2f2f2;
}

.ttkq-wall-card p i img,
.source-room-chat > li > img,
.source-chat-bubble > img,
.source-session-item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.source-chat-panel {
  border: 1px solid #ededed;
  background: #fff;
}

.source-room-chat {
  padding: 10px 12px 54px;
  background: #fff;
}

.source-room-chat > li:not(.system-card) {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 8px;
  align-items: start;
  margin-bottom: 10px;
}

.source-room-chat > li > img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.source-room-chat > li > div {
  min-width: 0;
  padding: 6px 8px;
  border-radius: 4px;
  background: #f7f7f7;
  line-height: 19px;
}

.source-room-chat .system-card {
  border-color: #ffe69a;
  background: #fff9df;
}

.source-message-hero {
  height: 96px;
  margin: 0 0 18px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.source-message-hero h1 {
  margin: 0;
  color: #222;
  font-size: 28px;
  font-weight: 900;
}

.source-message-hero p {
  flex: 1;
  margin: 0;
  color: #777;
}

.source-message-hero a {
  height: 34px;
  padding: 0 16px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: #1d58dc;
  color: #111;
  font-weight: 900;
}

.source-message-dashboard {
  margin-top: 0;
}

.source-session-list {
  background: #fff;
}

.source-session-item {
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.source-session-item > img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.source-session-item > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.source-session-item strong,
.source-session-item span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.source-im-stream {
  background: #f6f6f6;
}

.source-chat-bubble {
  max-width: 86%;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
}

.source-chat-bubble > img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.source-chat-bubble > div {
  min-width: 0;
  padding: 9px 11px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid #eee;
  display: grid;
  gap: 4px;
}

/* Source qtty.tv World Cup pixel pass */
body[data-route="world"] {
  background: #fff;
}

body[data-route="world"] .page-shell {
  width: 1200px;
  max-width: 1200px;
}

body[data-route="world"] .brand {
  width: 174px;
  flex: 0 0 174px;
  padding-left: 0;
  background: #eaf2ff;
}

body[data-route="world"] .main-nav a {
  min-width: 0;
  padding: 0;
}

body[data-route="world"] .main-nav a[data-route="/"] { width: 68px; }
body[data-route="world"] .main-nav a[data-route="/world"] { width: 88px; }
body[data-route="world"] .main-nav a[data-route="/score"] { width: 90px; }
body[data-route="world"] .main-nav a[data-route="/lives"] { width: 112px; }
body[data-route="world"] .main-nav a[data-route="/schedules"] { width: 74px; }
body[data-route="world"] .main-nav a[data-route="/data"] { width: 74px; }
body[data-route="world"] .main-nav a[data-route="/videos"] { width: 84px; }
body[data-route="world"] .main-nav a[data-route="/news"] { width: 74px; }
body[data-route="world"] .main-nav a[data-route="/app"] { width: 116px; }

body[data-route="world"] .main-nav a[data-route="/messages"] {
  display: none;
}

body[data-route="world"] .main-nav a[data-route="/world"] {
  display: none;
}

body[data-route="world"] .auth-nav::before {
  content: "⬇ 添加到桌面";
  margin-right: 24px;
  color: #111;
  font-weight: 700;
}

.world-pixel-hero {
  width: 1200px;
  height: 422px;
  display: grid;
  grid-template-columns: 176px 13px 682px 12px 121px 10px 186px;
  background:
    radial-gradient(circle at 50% 35%, rgba(107, 83, 23, .42), transparent 34%),
    linear-gradient(180deg, #111 0%, #050805 100%);
  overflow: hidden;
}

.world-pixel-left,
.world-pixel-main,
.world-pixel-side,
.world-pixel-right {
  display: block;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.world-pixel-left {
  grid-column: 1;
  background-image: url("assets/source/world-pixel/left-ad.png");
}

.world-pixel-main {
  grid-column: 3;
  width: 682px;
  height: 402px;
  margin-top: 0;
  align-self: start;
  border-radius: 6px;
  background-image: url("assets/source/world-pixel/main-banner.png");
}

.world-pixel-side {
  grid-column: 5;
  width: 121px;
  height: 386px;
  margin-top: 18px;
  background-image: url("assets/source/world-pixel/side-list.png");
}

.world-pixel-right {
  grid-column: 7;
  background-image: url("assets/source/world-pixel/right-ad.png");
}

.world-pixel-hot {
  height: 313px;
  background: #fff;
  padding-top: 54px;
}

.world-pixel-title {
  height: 36px;
  display: grid;
  grid-template-columns: 292px 118px 292px;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.world-pixel-title::before,
.world-pixel-title::after {
  content: "";
  height: 1px;
  background: #eaf2ff;
}

.world-pixel-title span {
  height: 31px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #5c5c5c, #333);
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%);
  font-size: 18px;
  font-weight: 900;
}

.world-pixel-card-row {
  position: relative;
  width: 768px;
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 145px);
  gap: 10px;
}

.world-pixel-card {
  height: 118px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
  overflow: hidden;
  color: #222;
}

.world-pixel-card > div {
  height: 45px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #1d58dc;
}

.world-pixel-card > div b {
  max-width: 54px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
}

.world-pixel-card > div b::before {
  content: "⚽";
  margin-right: 3px;
}

.world-pixel-card > div span {
  color: #7a650d;
  font-size: 12px;
}

.world-pixel-card p {
  height: 33px;
  margin: 0;
  padding: 0 10px;
  display: grid;
  grid-template-columns: 18px 1fr 24px;
  align-items: center;
  gap: 5px;
}

.world-pixel-card p i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  overflow: hidden;
  background: #f2f2f2;
}

.world-pixel-card p i img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.world-pixel-card p strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
}

.world-pixel-card p em {
  color: #f00;
  text-align: right;
  font-style: normal;
  font-size: 13px;
}

.world-pixel-arrow {
  position: absolute;
  top: 47px;
  width: 28px;
  height: 46px;
  border: 0;
  background: transparent;
}

.world-pixel-arrow::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  border-top: 3px solid #d6d6d6;
  border-left: 3px solid #d6d6d6;
}

.world-pixel-arrow.left {
  left: -31px;
}

.world-pixel-arrow.left::before {
  transform: rotate(-45deg);
}

.world-pixel-arrow.right {
  right: -41px;
}

.world-pixel-arrow.right::before {
  transform: rotate(135deg);
}

.world-pixel-live-head {
  width: 818px;
  height: 58px;
  margin: -10px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.world-pixel-live-head h2 {
  margin: 0;
  color: #151515;
  font-size: 26px;
  font-weight: 900;
}

.world-pixel-live-head h2::before {
  content: "♣";
  margin-right: 8px;
  color: #79bb1b;
  font-size: 32px;
  vertical-align: -2px;
}

.world-pixel-live-head::after {
  content: "";
  height: 2px;
  background: #eaf2ff;
}

.world-pixel-live-head a {
  color: #9b9b9b;
  font-size: 16px;
}

body[data-route="world"] .world-live-wall {
  width: 818px;
  margin: 24px auto 70px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.world-real-page {
  width: 1200px;
  min-height: 780px;
  margin: 0 auto;
  padding: 0 0 34px;
  background:
    radial-gradient(circle at 76% 18%, rgba(47, 93, 170, .38), transparent 24%),
    linear-gradient(140deg, rgba(7, 13, 31, .96), rgba(4, 16, 40, .94) 54%, rgba(6, 10, 25, .98)),
    #07132d;
}

.world-real-tabs {
  height: 83px;
  padding: 14px 0 0;
  display: flex;
  align-items: flex-start;
  background:
    linear-gradient(180deg, rgba(2, 15, 42, .98), rgba(6, 25, 60, .92)),
    #081a42;
}

.world-real-tabs button {
  width: 124px;
  height: 35px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .16);
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.world-real-tabs button.active {
  background: #f7c623;
  color: #1a1a1a;
}

.world-real-shell {
  display: grid;
  grid-template-columns: 215px 1fr;
  gap: 15px;
  align-items: start;
  padding: 0;
}

.world-real-sidebar {
  min-height: 667px;
  background: #fff;
}

.world-stage-select {
  width: 100%;
  height: 48px;
  border: 0;
  border-bottom: 1px solid #eee;
  background: #fff;
  color: #2c2c2c;
  font-size: 14px;
  font-weight: 700;
}

.world-stage-select i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-right: 1px solid #777;
  border-bottom: 1px solid #777;
  transform: rotate(45deg) translateY(-3px);
}

.world-group-grid {
  padding: 20px 19px 12px;
  display: grid;
  grid-template-columns: repeat(3, 52px);
  gap: 10px;
}

.world-group-grid button,
.world-stage-link {
  height: 33px;
  border: 1px solid #e7e7e7;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 700;
}

.world-group-grid button.active {
  border-color: #1d58dc;
  background: #1d58dc;
}

.world-stage-link {
  width: 158px;
  margin: 0 0 10px 28px;
}

.world-rule-link {
  width: 100%;
  height: 54px;
  margin-top: 52px;
  border: 0;
  border-top: 10px solid rgba(8, 18, 42, .96);
  background: #fff;
  color: #1d1d1d;
  font-size: 14px;
  font-weight: 800;
}

.world-rule-link span {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 50%;
  border: 1px solid #222;
  font-size: 12px;
}

.world-real-main {
  width: 970px;
}

.world-date-strip {
  position: relative;
  height: 80px;
  padding: 13px 38px 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  background: #fff;
}

.world-date-strip > button:not(.world-date-arrow) {
  height: 54px;
  border: 0;
  border-right: 1px solid #efefef;
  background: #fff;
  display: grid;
  place-items: center;
  gap: 0;
  color: #2e2e2e;
}

.world-date-strip > button.active {
  background: #f3be1c;
  color: #151515;
}

.world-date-strip span {
  font-size: 12px;
  line-height: 14px;
}

.world-date-strip b {
  font-size: 15px;
  line-height: 18px;
}

.world-date-strip em {
  color: #838383;
  font-size: 12px;
  line-height: 14px;
  font-style: normal;
}

.world-date-strip .active em {
  color: #573f00;
}

.world-date-arrow {
  position: absolute;
  top: 13px;
  width: 38px;
  height: 54px;
  border: 0;
  background: #fff;
}

.world-date-arrow.left { left: 0; }
.world-date-arrow.right { right: 0; }

.world-date-arrow::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 15px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #b9b9b9;
  border-left: 2px solid #b9b9b9;
}

.world-date-arrow.left::before {
  transform: rotate(-45deg);
}

.world-date-arrow.right::before {
  transform: rotate(135deg);
}

.world-schedule-list {
  margin-top: 16px;
}

.world-schedule-section {
  margin-bottom: 14px;
  background: #fff;
}

.world-schedule-section h2 {
  height: 41px;
  margin: 0;
  padding-left: 17px;
  display: flex;
  align-items: center;
  background: #1d58dc;
  color: #171717;
  font-size: 15px;
  font-weight: 900;
}

.world-schedule-head,
.world-schedule-row {
  display: grid;
  grid-template-columns: 174px 112px 108px 1fr 108px 1fr;
  align-items: center;
  min-height: 45px;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
}

.world-schedule-head {
  height: 42px;
  background: #fff9de;
  color: #866d14;
  font-size: 13px;
  font-weight: 800;
}

.world-schedule-row {
  color: #333;
  font-size: 13px;
}

.world-schedule-row:hover {
  background: #fffdf2;
}

.world-schedule-row time,
.world-schedule-row em {
  color: #606060;
  font-style: normal;
}

.world-schedule-row strong {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #202020;
  font-weight: 800;
}

.world-schedule-row b {
  color: #111;
  font-size: 16px;
  font-weight: 900;
}

.world-flag {
  width: 31px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #e2e2e2;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  font-size: 18px;
  line-height: 1;
  font-style: normal;
}

.world-pixel-bottom {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 30;
  width: 1200px;
  height: 34px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: linear-gradient(90deg, #31115d, #d38b25 44%, #2d0b56);
  color: #fff;
}

.world-pixel-bottom b {
  font-size: 22px;
}

.world-pixel-bottom a {
  height: 22px;
  padding: 0 14px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff1a4;
  color: #5f4200;
  font-size: 12px;
  font-weight: 900;
}

.world-pixel-bottom em {
  color: #fff;
  font-size: 24px;
  font-style: italic;
  font-weight: 900;
}

/* Source qtty.tv 1:1 home alignment pass */
body {
  background: #f6f6f6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 58px;
  background: #1d58dc;
}

.header-inner {
  width: 1200px;
  height: 58px;
}

.brand {
  width: 172px;
  height: 58px;
  gap: 9px;
  background: rgba(255, 255, 255, .18);
  font-size: 20px;
  font-weight: 900;
}

.brand-ball {
  width: 38px;
  height: 38px;
}

.brand span:last-child::after {
  margin-top: 0;
  font-size: 15px;
}

.main-nav {
  height: 58px;
  flex: 1;
}

.main-nav a {
  height: 58px;
  min-width: 78px;
  padding: 0 16px;
  font-size: 15px;
}

.auth-nav {
  min-width: 112px;
  justify-content: flex-end;
}

.page-shell {
  width: 1200px;
  background: #fff;
}

.ttkq-home-hero-source {
  position: relative;
  width: 1200px;
  height: 423px;
  background: #eaf2ff;
}

.home-hit {
  position: absolute;
  display: block;
}

.home-hit-left {
  left: 0;
  top: 0;
  width: 174px;
  height: 423px;
}

.home-hit-main {
  left: 190px;
  top: 20px;
  width: 682px;
  height: 384px;
}

.home-hit-right {
  right: 0;
  top: 0;
  width: 180px;
  height: 423px;
}

.home-hit-side {
  left: 886px;
  width: 119px;
  height: 62px;
}

.home-hit-side.side-1 { top: 20px; }
.home-hit-side.side-2 { top: 98px; }
.home-hit-side.side-3 { top: 177px; }
.home-hit-side.side-4 { top: 256px; }

.ttkq-exact-hero {
  height: 395px;
  display: grid;
  grid-template-columns: 174px 680px 154px 192px;
  background: #eaf2ff;
  overflow: hidden;
}

.ttkq-exact-side,
.ttkq-exact-main,
.ttkq-exact-right a {
  color: #fff;
}

.ttkq-exact-side {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 18px 34px;
  background: #eaf2ff;
  overflow: hidden;
}

.ttkq-exact-side::before {
  content: "";
  position: absolute;
  inset: 26px 20px 96px;
  border-radius: 50% 50% 18px 18px;
  background: #eaf2ff;
  opacity: .86;
}

.ttkq-exact-side.right::before {
  background: #eaf2ff;
}

.ttkq-exact-side strong,
.ttkq-exact-side b,
.ttkq-exact-side span {
  position: relative;
  z-index: 1;
  display: block;
}

.ttkq-exact-side strong {
  width: 1em;
  color: #ffe457;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 900;
}

.ttkq-exact-side b {
  margin-top: 10px;
  color: #fff;
  font-size: 19px;
}

.ttkq-exact-side span {
  width: fit-content;
  margin-top: 13px;
  padding: 5px 13px;
  border-radius: 999px;
  background: #1d58dc;
  color: #191919;
  font-size: 13px;
  font-weight: 900;
}

.ttkq-exact-main {
  height: 332px;
  margin: 31px 0 0;
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  border-radius: 4px;
  background:
    radial-gradient(circle at 60% 38%, rgba(255,255,255,.72), transparent 18%),
    linear-gradient(104deg, #ffef8d 0 27%, #fff 27% 30%, #ff9b35 30% 100%);
}

.ttkq-exact-main::before {
  content: "";
  position: absolute;
  width: 245px;
  height: 245px;
  top: 48px;
  right: 102px;
  border-radius: 48% 52% 45% 55%;
  background: linear-gradient(180deg, rgba(40, 22, 18, .32), rgba(255, 255, 255, .12));
  filter: blur(2px);
}

.ttkq-exact-main i {
  position: absolute;
  left: 42px;
  top: 34px;
  color: #d2a410;
  font-size: 26px;
  font-weight: 900;
  font-style: italic;
}

.ttkq-exact-main em {
  position: relative;
  z-index: 1;
  padding: 6px 16px;
  background: #eaf2ff;
  color: #fff;
  font-size: 26px;
  font-style: normal;
  font-weight: 900;
  transform: rotate(-5deg);
}

.ttkq-exact-main strong {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  color: #111;
  font-size: 54px;
  font-weight: 900;
  letter-spacing: 0;
}

.ttkq-exact-main b {
  position: absolute;
  left: 94px;
  bottom: 36px;
  padding: 12px 34px;
  background: #fff;
  color: #f28a22;
  font-size: 25px;
  font-weight: 900;
  transform: skew(-14deg);
  box-shadow: 0 6px 0 #f4b15b;
}

.ttkq-exact-main span {
  position: absolute;
  left: 328px;
  bottom: 138px;
  width: 132px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.82);
  background: #eaf2ff;
  color: #fff;
  font-size: 16px;
}

.ttkq-exact-right {
  padding: 30px 10px;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 9px;
  background: #eaf2ff;
}

.ttkq-exact-right a {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.ttkq-exact-right span {
  overflow: hidden;
  color: #f5f5f5;
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.mini-cover {
  height: 44px;
  border-radius: 3px;
  overflow: hidden;
  padding: 5px;
  color: #ffe457;
  font-size: 10px;
  font-weight: 900;
  background: #eaf2ff;
}

.ttkq-source-title {
  width: 920px;
  height: 116px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-bottom: 1px solid transparent;
}

.ttkq-source-title::before,
.ttkq-source-title::after {
  content: "";
  width: 310px;
  height: 1px;
  background: #eaf2ff;
}

.ttkq-source-title span {
  margin: 0 22px -11px;
  padding: 8px 25px;
  background: #4e4e4e;
  color: #1d58dc;
  border-radius: 3px;
  font-size: 18px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}

.ttkq-hot-events {
  width: 820px;
  margin: 38px auto 57px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.ttkq-event-card {
  height: 118px;
  padding: 0;
  border-radius: 7px;
  background: #fff;
  color: #1e1e1e;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
  overflow: hidden;
}

.ttkq-event-card div {
  height: 45px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #1d58dc;
  font-size: 12px;
}

.ttkq-event-card b {
  font-weight: 900;
}

.ttkq-event-card span {
  color: #6a5b20;
  font-size: 12px;
}

.ttkq-event-card p {
  height: 33px;
  margin: 0;
  padding: 0 11px;
  display: grid;
  grid-template-columns: 1fr 24px;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
}

.ttkq-event-card p + p {
  border-top: 1px solid #f5f5f5;
}

.ttkq-event-card p strong {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ttkq-event-card p i {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #88a8cc 42%, #244b86 43%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}

.ttkq-event-card em {
  color: #f00;
  text-align: right;
  font-style: normal;
  font-weight: 900;
}

.ttkq-home-bottom-app {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 32;
  width: 1200px;
  height: 34px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(90deg, #32105f, #bd1745 28%, #edaf22 64%, #2f0c61);
  color: #fff;
}

.ttkq-home-bottom-app b {
  font-size: 22px;
  line-height: 1;
}

.ttkq-home-bottom-app span {
  padding: 4px 14px;
  border-radius: 14px;
  background: #ffe25d;
  color: #6d4300;
  font-size: 12px;
  font-weight: 900;
}

.ttkq-home-bottom-app em {
  color: #fff;
  font-size: 24px;
  font-style: italic;
  font-weight: 900;
}

.source-schedule-page {
  width: 1200px;
  min-height: 834px;
  padding-top: 23px;
  background: #f6f6f6;
}

.source-schedule-filter {
  height: 62px;
  display: grid;
  grid-template-columns: 352px 540px;
  justify-content: space-between;
  align-items: start;
}

.source-sport-tabs {
  height: 58px;
  display: grid;
  grid-template-columns: repeat(4, 88px);
  overflow: hidden;
  border-radius: 4px;
  background: #2a2223;
}

.source-sport-tabs button {
  border: 0;
  background: transparent;
  color: #cfcaca;
  font-size: 16px;
}

.source-sport-tabs button.active {
  background: #1d58dc;
  color: #161616;
}

.source-date-tabs {
  height: 58px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  border: 1px solid #9aa1b5;
  border-radius: 4px;
  background: #fff;
}

.source-date-tabs button {
  border: 0;
  background: #fff;
  color: #606b80;
  display: grid;
  place-items: center;
  gap: 4px;
  font-size: 14px;
}

.source-date-tabs button.active {
  background: #3a3334;
  color: #fff;
}

.source-date-tabs b {
  font-size: 14px;
  font-weight: 500;
}

.source-schedule-banner {
  width: 1200px;
  height: 92px;
  display: block;
  margin-top: 20px;
  background: url("assets/source/schedules-real/banner.png") center / 1200px 92px no-repeat;
}

.source-schedule-day {
  margin-top: 26px;
  background: #fff;
}

.source-schedule-day h1 {
  height: 46px;
  margin: 0;
  padding-left: 14px;
  display: flex;
  align-items: center;
  border-left: 4px solid #1d58dc;
  color: #1d58dc;
  font-size: 21px;
  font-weight: 500;
}

.source-schedule-head,
.source-schedule-row {
  display: grid;
  grid-template-columns: 132px 116px 178px 110px 178px 1fr;
  align-items: center;
}

.source-schedule-head {
  height: 51px;
  background: #1d58dc;
  color: #161616;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.source-schedule-row {
  min-height: 72px;
  border-bottom: 1px solid #e8edf3;
  color: #1f2937;
  font-size: 14px;
}

.source-schedule-row:hover {
  background: #fffdf3;
}

.schedule-league {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: #8390a3;
}

.schedule-league b {
  color: #222;
  font-size: 22px;
  font-weight: 500;
}

.source-schedule-row > em {
  color: #f00;
  text-align: center;
  font-style: normal;
  line-height: 1.35;
}

.source-schedule-row > strong {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  color: #263548;
  font-size: 16px;
  font-weight: 900;
}

.source-schedule-row > strong:nth-of-type(2) {
  justify-content: flex-start;
}

.source-schedule-row > b {
  color: #f00;
  text-align: center;
  font-size: 21px;
  font-weight: 500;
}

.team-badge {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #d7e4ef 44%, #4068a5 45%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}

.team-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.schedule-anchors {
  min-width: 0;
  height: 72px;
  padding: 7px 8px 5px 16px;
  display: flex;
  align-items: center;
  gap: 22px;
  overflow: hidden;
}

.schedule-anchors i {
  width: 54px;
  flex: 0 0 54px;
  display: grid;
  justify-items: center;
  gap: 4px;
  color: #7d8795;
  font-style: normal;
  font-size: 12px;
}

.schedule-anchors img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.schedule-anchors small {
  max-width: 64px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
}

.source-data-page.real-data-page {
  width: 1200px;
  min-height: 834px;
  display: grid;
  grid-template-columns: 196px 1fr;
  gap: 59px;
  background: #fff;
}

.source-data-sidebar {
  padding-top: 49px;
  display: grid;
  align-content: start;
}

.source-data-sidebar button {
  position: relative;
  width: 196px;
  height: 58px;
  border: 0;
  background: #fff;
  color: #2d3f54;
  text-align: left;
  padding-left: 16px;
  font-size: 20px;
  font-weight: 800;
}

.source-data-sidebar button.active {
  background: #fff1bd;
  color: #111;
}

.source-data-sidebar button.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #263241;
}

.source-data-main {
  padding-top: 49px;
  padding-right: 5px;
}

.source-data-tabs {
  height: 57px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
}

.source-data-tabs button {
  height: 38px;
  border: 0;
  background: #fff;
  color: #111;
  font-size: 20px;
  font-weight: 900;
}

.source-data-tabs button.active {
  justify-self: center;
  min-width: 92px;
  border-radius: 20px;
  background: #1d58dc;
}

.source-rank-table h1 {
  height: 54px;
  margin: 0;
  display: grid;
  place-items: center;
  background: #1d58dc;
  color: #111;
  font-size: 20px;
  font-weight: 500;
}

.source-data-group {
  margin: 0;
}

.source-data-group-head,
.source-data-row {
  display: grid;
  grid-template-columns: 90px 243px repeat(8, 1fr);
  align-items: center;
  min-height: 60px;
}

.source-data-group-head {
  background: #eee;
  color: #111;
  font-size: 16px;
}

.source-data-group-head span {
  text-align: center;
}

.source-data-group-head span:first-child,
.source-data-row > span:first-child {
  text-align: left;
  padding-left: 9px;
}

.source-data-row {
  height: 60px;
  background: #fff9e7;
  color: #111;
  font-size: 16px;
}

.source-data-row:nth-child(n + 6) {
  background: #fff;
}

.source-data-row > span {
  text-align: center;
}

.source-data-row strong {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #111;
  font-size: 16px;
  font-weight: 500;
}

.source-data-row strong i {
  width: 29px;
  display: inline-grid;
  place-items: center;
  font-size: 22px;
  font-style: normal;
  line-height: 1;
}

.source-score-page {
  width: 1200px;
  min-height: 834px;
  background: #f5f5f7;
  color: #222;
}

.source-score-tabs {
  height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding-top: 24px;
  background: #fff;
}

.source-score-tabs nav {
  display: flex;
}

.source-score-tabs nav button {
  width: 110px;
  height: 50px;
  border: 0;
  background: #fff;
  color: #25344a;
  font-size: 16px;
}

.source-score-tabs nav button.active {
  background: #1d58dc;
  color: #fff;
}

.source-score-tabs > div {
  height: 40px;
  margin-right: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #586272;
  font-size: 14px;
}

.source-score-tabs > div button {
  height: 30px;
  border: 1px solid #d7dbe3;
  border-radius: 5px;
  background: #fff;
  color: #25344a;
  padding: 0 10px;
}

.source-score-tabs .score-tool {
  border: 0;
  font-size: 15px;
  font-weight: 500;
}

.source-score-head,
.source-score-row {
  display: grid;
  grid-template-columns: 88px 76px 90px 135px 70px 135px 70px 70px 82px 165px 70px 78px;
  align-items: center;
}

.source-score-head {
  height: 54px;
  margin-top: 16px;
  background: #fff;
  color: #9ca3ad;
  font-size: 14px;
  text-align: center;
}

.source-score-section h1 {
  height: 70px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f5f5f7;
  color: #222;
  font-size: 18px;
  font-weight: 500;
}

.source-score-section h1 i {
  width: 5px;
  height: 22px;
  border-radius: 3px;
  background: #1fc231;
}

.source-score-table {
  background: #fff;
}

.source-score-row {
  min-height: 52px;
  border-bottom: 1px solid #f0f1f4;
  color: #1f2933;
  font-size: 14px;
  text-align: center;
}

.source-score-row:hover {
  background: #fffdf2;
}

.source-score-row .score-league {
  color: #5f90e8;
}

.source-score-row .score-league.pink {
  color: #d45b88;
}

.source-score-row .score-league.green {
  color: #40a758;
}

.source-score-row time {
  color: #222;
}

.source-score-row > em {
  color: #f00;
  font-style: normal;
}

.source-score-row > strong {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: #222;
  font-weight: 500;
  white-space: nowrap;
}

.source-score-row > strong:nth-of-type(2) {
  justify-content: flex-start;
}

.source-score-row > strong i {
  width: 14px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  background: #1d58dc;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  line-height: 1;
}

.source-score-row > b {
  color: #f00;
  font-size: 14px;
  font-weight: 500;
}

.source-score-row .corner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.source-score-row .corner i {
  width: 10px;
  height: 18px;
  display: inline-block;
  border-left: 2px solid #ddd;
  border-top: 2px solid #ff7f50;
}

.source-score-row .live-icon {
  font-size: 18px;
}

.source-score-row .odds {
  color: #7b8088;
  white-space: pre-line;
  line-height: 1.55;
}

.score-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.score-actions i {
  font-style: normal;
}

.score-actions b {
  color: #ffc000;
  font-size: 22px;
  font-weight: 900;
}

.score-actions em {
  color: #c6ccd5;
  font-size: 24px;
  font-style: normal;
}

.score-actions button {
  border: 0;
  background: transparent;
  color: #b8c1d4;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.score-actions button.active {
  color: #1d58dc;
}

.source-unavailable {
  min-height: 260px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  border: 1px dashed #b9c7e8;
  background: #f7faff;
  color: #5f6f8c;
  text-align: center;
}

.source-unavailable strong {
  color: #153f9f;
  font-size: 22px;
}

.source-unavailable span {
  max-width: 560px;
  line-height: 1.7;
}

/* P39 public blue/white sports theme */
:root {
  --yellow: #1d58dc;
  --yellow-2: #2f7df6;
  --ink: #12213a;
  --muted: #6d7a92;
  --line: #dce5f4;
  --bg: #f4f7fc;
  --panel: #fff;
  --blue: #1d58dc;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #dbe5f5;
  box-shadow: 0 8px 24px rgba(23, 74, 155, .08);
}

.brand {
  background: #f0f6ff;
  color: #123d92;
}

.brand-ball {
  background: #1d58dc;
  color: #fff;
  border-color: #bdd4ff;
}

.main-nav,
.auth-nav {
  color: #16396f;
}

.main-nav a.active,
.main-nav a:hover {
  background: #eaf2ff;
  color: #0f4fd1;
}

body[data-route="home"] .main-nav a[data-route="/world"]::after {
  background: #ff4d4f;
}

.ttkq-source-title span,
.ttkq-source-head h2,
.source-schedule-day h1,
.source-rank-table h1 {
  color: #1d58dc;
}

.ttkq-source-title span::before,
.ttkq-source-title span::after,
.source-schedule-day h1,
.world-schedule-section h2 {
  border-color: #1d58dc;
}

.source-score-tabs nav button.active,
.source-sport-tabs button.active,
.source-schedule-head,
.source-data-tabs button.active,
.world-real-tabs button.active,
.world-date-strip button.active,
.world-schedule-head,
.source-rank-table h1 {
  background: #1d58dc;
  color: #fff;
}

.source-score-section h1 i,
.source-data-sidebar button.active::before,
.world-schedule-section h2::before {
  background: #1d58dc;
}

.source-score-row > strong i {
  background: #2f7df6;
}

.source-score-row:hover,
.source-schedule-row:hover,
.world-schedule-row:hover {
  background: #f1f6ff;
}

.source-data-sidebar button.active {
  background: #eaf2ff;
  color: #123d92;
}

.source-data-row {
  background: #f7faff;
}

/* P40 brand rename: text-only header, no legacy logo mark */
.brand.brand-text-only {
  width: 156px;
  padding-left: 0;
  justify-content: center;
  gap: 0;
  background: transparent;
  color: #123d92;
  font-size: 24px;
  font-weight: 900;
}

.brand.brand-text-only span::after,
.brand span:last-child::after {
  content: none;
}

.brand-ball {
  display: none;
}

.ttkq-source-head {
  width: 840px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
}

.ttkq-source-head h2 {
  margin: 0;
  color: #262626;
  font-size: 18px;
  font-weight: 900;
}

.ttkq-source-head h2::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: -3px;
  border-radius: 50%;
  background: #1d58dc;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.15);
}

.ttkq-source-head a {
  margin-left: auto;
  color: #9a9a9a;
  font-size: 13px;
}

.ttkq-live-wall {
  width: 840px;
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px 18px;
}

.ttkq-wall-card {
  display: block;
  min-width: 0;
}

.ttkq-wall-cover {
  height: 86px;
  padding: 8px;
  display: flex;
  align-items: flex-end;
  border-radius: 7px;
  overflow: hidden;
  color: #fff;
  background: #eaf2ff;
  box-shadow: 0 7px 14px rgba(0,0,0,.12);
}

.ttkq-wall-cover span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #fff;
  font-size: 14px;
  line-height: 1.18;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}

.ttkq-wall-cover.tone-0 { background: #eaf2ff; }
.ttkq-wall-cover.tone-1 { background: #eaf2ff; }
.ttkq-wall-cover.tone-2 { background: #eaf2ff; }
.ttkq-wall-cover.tone-3 { background: #eaf2ff; }
.ttkq-wall-cover.tone-4 { background: #eaf2ff; }
.ttkq-wall-cover.tone-5 { background: #eaf2ff; }
.ttkq-wall-cover.tone-6 { background: #eaf2ff; }
.ttkq-wall-cover.tone-7 { background: #eaf2ff; }
.ttkq-wall-cover.tone-8 { background: #eaf2ff; }
.ttkq-wall-cover.tone-9 { background: #eaf2ff; }
.ttkq-wall-cover.tone-10 { background: linear-gradient(135deg, #f3bdd5, #b25988 55%, #fff); }
.ttkq-wall-cover.tone-11 { background: #eaf2ff; }
.ttkq-wall-cover.tone-12 { background: #eaf2ff; }
.ttkq-wall-cover.tone-13 { background: linear-gradient(135deg, #cddfed, #4982a8 55%, #fff); }
.ttkq-wall-cover.tone-14 { background: #eaf2ff; }

.ttkq-wall-card strong {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: #222;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 500;
}

.ttkq-wall-card p {
  margin: 6px 0 0;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: #a0a0a0;
  font-size: 13px;
}

.ttkq-wall-card i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f1ece6;
  color: #8c5b31;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.ttkq-wall-card span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ttkq-wall-card em {
  margin-left: auto;
  color: #ef5b4c;
  font-style: normal;
  font-family: D-DIN-PRO, Arial, sans-serif;
}

.ttkq-wall-card em::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 12px;
  margin-right: 3px;
  vertical-align: -1px;
  border-radius: 8px 8px 8px 0;
  background: #ef5b4c;
}

/* Source qtty.tv next batch: world, live entry, score and schedule */
.ttkq-world-hero,
.ttkq-live-entry {
  height: 424px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 210px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,.7)),
    radial-gradient(circle at 50% 60%, rgba(68, 132, 56, .6), transparent 33%),
    linear-gradient(180deg, #181818, #050505 72%);
  overflow: hidden;
  color: #fff;
}

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

.world-left-player,
.world-right-player,
.live-entry-side {
  position: relative;
  padding: 0 26px 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.world-left-player::before,
.world-right-player::before,
.live-entry-side::before {
  content: "";
  position: absolute;
  inset: 38px 22px 106px;
  border-radius: 48% 52% 20px 20px;
  background: #eaf2ff;
  opacity: .9;
}

.world-right-player::before,
.live-entry-side.right::before {
  background: #eaf2ff;
}

.world-left-player strong,
.world-left-player b,
.world-left-player span,
.world-right-player strong,
.world-right-player b,
.world-right-player span,
.live-entry-side strong,
.live-entry-side b,
.live-entry-side span {
  position: relative;
  z-index: 1;
  display: block;
}

.world-left-player strong,
.world-right-player strong,
.live-entry-side strong {
  width: 1em;
  color: #ffe457;
  font-size: 33px;
  line-height: 1.05;
  font-weight: 900;
}

.world-left-player b,
.world-right-player b,
.live-entry-side b {
  margin-top: 12px;
  color: #fff;
  font-size: 20px;
}

.world-left-player span,
.world-right-player span,
.live-entry-side span {
  width: fit-content;
  margin-top: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #1d58dc;
  color: #1b1b1b;
  font-size: 13px;
  font-weight: 900;
}

.world-center {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 48%, rgba(255,201,39,.24), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0));
}

.world-center span {
  color: #1d58dc;
  font-family: D-DIN-PRO, Arial, sans-serif;
  font-size: 22px;
  letter-spacing: 0;
  font-weight: 900;
}

.world-center h1 {
  margin: 10px 0 0;
  color: #fff;
  font-size: 68px;
  line-height: 1;
  font-weight: 900;
  text-shadow: 0 5px 0 rgba(0,0,0,.35);
}

.world-center p {
  margin: 18px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 18px;
}

.world-center a,
.live-entry-center span {
  margin-top: 28px;
  width: 148px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 2px solid #1d58dc;
  border-radius: 4px;
  color: #fff;
  background: #eaf2ff;
  font-size: 16px;
}

.world-title {
  height: 96px;
}

.ttkq-world-board {
  width: 840px;
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
}

.world-score-card,
.world-table-card {
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.world-score-card {
  padding: 24px;
}

.world-score-card small {
  color: #a38728;
  font-weight: 900;
}

.world-score-card div {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 130px 1fr;
  align-items: center;
  text-align: center;
}

.world-score-card strong {
  color: #111;
  font-size: 42px;
}

.world-score-card b {
  color: #222;
  font-size: 20px;
}

.world-score-card span {
  display: block;
  margin-top: 12px;
  color: #777;
}

.world-score-card a {
  display: inline-grid;
  place-items: center;
  height: 34px;
  margin-top: 18px;
  padding: 0 18px;
  border-radius: 999px;
  background: #1d58dc;
  color: #111;
  font-weight: 900;
}

.world-table-card {
  padding: 16px;
}

.world-live-wall {
  margin-bottom: 70px;
}

.live-entry-center {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 52%, rgba(255,201,39,.15), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.25));
}

.ttkq-live-loading {
  height: 296px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  background: #bdbdbd;
  color: #666;
}

.ttkq-live-loading i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 5px solid #f0cd42;
  border-top-color: transparent;
  animation: spin 1.1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.ttkq-app-strip {
  height: 58px;
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: linear-gradient(90deg, #33115c, #f1b12c 52%, #35105b);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.ttkq-app-strip a {
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0 17px;
  border-radius: 999px;
  background: #1d58dc;
  color: #5f4200;
  font-size: 13px;
}

.ttkq-list-page {
  width: 840px;
  margin: 0 auto;
  padding: 36px 0 70px;
}

.ttkq-list-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 16px;
}

.ttkq-list-head h1 {
  margin: 0;
  color: #222;
  font-size: 30px;
}

.ttkq-list-head p {
  margin: 0;
  color: #8a8a8a;
}

.ttkq-filter-tabs,
.ttkq-date-tabs {
  margin: 18px 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.ttkq-filter-tabs button,
.ttkq-date-tabs button {
  height: 34px;
  padding: 0 18px;
  border-radius: 4px;
  background: #1d58dc;
  color: #6f5a18;
  font-weight: 900;
}

.ttkq-filter-tabs button.active,
.ttkq-date-tabs button.active {
  background: #1d58dc;
  color: #111;
}

.ttkq-match-table {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.ttkq-match-row {
  min-height: 62px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 94px 70px 1fr 42px 36px 42px 1fr 104px 58px;
  align-items: center;
  border-bottom: 1px solid #f1f1f1;
  color: #222;
  font-size: 14px;
}

.ttkq-match-row:hover {
  background: #fffdf1;
}

.ttkq-match-row .match-league {
  color: #a18727;
  font-weight: 900;
}

.ttkq-match-row time,
.ttkq-match-row .match-state {
  color: #888;
}

.ttkq-match-row b {
  text-align: center;
  color: #111;
  font-family: D-DIN-PRO, Arial, sans-serif;
  font-size: 18px;
}

.ttkq-match-row em {
  color: #aaa;
  text-align: center;
  font-style: normal;
}

.ttkq-match-row i,
.ttkq-match-row button {
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #1d58dc;
  color: #111;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

/* Final source qtty.tv PC overrides at file end */
.site-header {
  height: 66px;
  background: #1d58dc;
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .14);
}

.header-inner {
  width: min(1200px, 100%);
  gap: 0;
  padding: 0;
}

.brand {
  width: 176px;
  height: 66px;
  padding-left: 12px;
  background: #eaf2ff;
  font-size: 22px;
  line-height: 1.05;
  color: #121212;
}

.brand-ball {
  width: 40px;
  height: 40px;
  background: #eaf2ff;
  color: #1d58dc;
  border: 2px solid #6c5411;
}

.brand span:last-child::after {
  content: "球探直播";
  display: block;
  margin-top: 1px;
  font-size: 15px;
  font-style: italic;
  letter-spacing: 1px;
}

.main-nav {
  height: 66px;
  gap: 0;
  color: #111;
  overflow-x: auto;
}

.main-nav a {
  height: 66px;
  min-width: 84px;
  padding: 0 18px;
  display: grid;
  place-items: center;
  line-height: 1;
  font-weight: 700;
}

.main-nav a.active,
.main-nav a:hover {
  background: rgba(255, 255, 255, .16);
  border-bottom: 0;
}

.auth-nav {
  padding-right: 14px;
  color: #111;
  font-weight: 700;
}

.page-shell {
  width: min(1200px, 100%);
  margin-top: 0;
}

@media (max-width: 900px) {
  .site-header {
    overflow: hidden;
  }

  .brand {
    flex: 0 0 160px;
  }

  .source-hero {
    height: 230px;
    margin: 0;
    grid-template-columns: 74px minmax(0, 1fr) 74px;
  }

  .source-side-ad {
    padding: 14px 6px;
  }

  .source-side-ad::before {
    inset: 8px 2px;
    border-radius: 8px;
  }

  .source-side-ad b {
    font-size: 19px;
  }

  .source-side-ad span {
    font-size: 12px;
  }

  .source-side-ad em {
    display: none;
  }

  .source-main-ad {
    margin: 10px 0;
    padding: 0 10px;
  }

  .source-main-ad strong {
    font-size: 28px;
  }

  .source-league-tabs,
  .source-score-strip,
  .section-head,
  .source-live-grid,
  .source-home-split {
    width: auto;
    margin-left: 10px;
    margin-right: 10px;
  }

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

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

  .source-bottom-banner {
    margin-left: 0;
    margin-right: 0;
    padding: 0 12px;
    font-size: 16px;
  }
}

/* P42 final end-of-file override: top menu, World Cup and schedules must stay blue-white */
.site-header,
.header-inner,
.main-nav,
.brand,
.brand.brand-text-only {
  background: #fff;
  color: #123d92;
  border-color: #dbe8ff;
}

.site-header {
  border-bottom: 1px solid #dbe8ff;
  box-shadow: 0 2px 10px rgba(29, 88, 220, .08);
}

.main-nav a {
  color: #123d92;
  background: transparent;
}

.main-nav a.active,
.main-nav a:hover {
  background: #1d58dc;
  color: #fff;
  border-bottom: 0;
}

.auth-nav,
.auth-nav a,
.auth-nav button {
  color: #123d92;
  background: transparent;
}

.world-real-tabs,
.world-date-strip,
.source-schedule-filter,
.source-sport-tabs,
.source-date-tabs,
.source-score-tabs,
.source-data-tabs,
.source-data-leagues {
  background: #fff;
  color: #16294f;
  border: 1px solid #dbe8ff;
  box-shadow: 0 8px 22px rgba(29, 88, 220, .08);
}

.world-real-tabs button,
.world-date-strip button,
.source-sport-tabs button,
.source-date-tabs button,
.world-group-grid button,
.world-stage-select,
.world-stage-link,
.world-rule-link,
.source-score-tabs button,
.source-data-tabs button,
.source-data-leagues button {
  background: #eaf2ff;
  color: #123d92;
  border-color: #cfe0ff;
}

.world-real-tabs button.active,
.world-date-strip button.active,
.source-sport-tabs button.active,
.source-date-tabs button.active,
.world-group-grid button.active,
.source-score-tabs button.active,
.source-data-tabs button.active,
.source-data-leagues button.active {
  background: #1d58dc;
  color: #fff;
  border-color: #1d58dc;
}

.world-real-shell,
.world-real-sidebar,
.world-real-main,
.world-schedule-section,
.world-schedule-table,
.source-schedule-day,
.source-schedule-table,
.source-score-table,
.source-rank-table,
.source-data-table {
  background: #fff;
  color: #16294f;
  border-color: #dbe8ff;
}

.world-schedule-head,
.source-schedule-head,
.source-score-head,
.source-data-head {
  background: #eaf2ff;
  color: #123d92;
  border-color: #cfe0ff;
}

.world-schedule-row,
.source-schedule-row,
.source-score-row,
.source-data-row {
  background: #fff;
  color: #16294f;
  border-color: #e5efff;
}

.world-schedule-row:hover,
.source-schedule-row:hover,
.source-score-row:hover,
.source-data-row:hover {
  background: #f7fbff;
}

.source-schedule-banner {
  background:
    radial-gradient(circle at 18% 50%, rgba(29, 88, 220, .18), transparent 24%),
    linear-gradient(135deg, #f8fbff, #dbeafe 60%, #eff6ff);
  border: 1px solid #cfe0ff;
}
