/* =========================================================
   篮球日历 · cal.maqian1632.cn
   ========================================================= */

:root {
  --bg: #06070a;
  --bg-soft: #0a0c11;
  --panel: #0d1016;
  --panel-2: #11151c;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f5f9;
  --muted: #98a2b3;
  --muted-2: #6b7484;
  --accent: #f59e0b;
  --accent-2: #fb923c;
  --green: #34d399;
  --red: #f87171;
  --radius: 22px;
  --radius-sm: 14px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", system-ui, -apple-system,
    "Segoe UI", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Cascadia Code", ui-monospace, monospace;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.9);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(245, 158, 11, 0.16), transparent 62%),
    radial-gradient(760px 520px at 8% 4%, rgba(249, 115, 22, 0.07), transparent 60%),
    radial-gradient(900px 900px at 50% 110%, rgba(56, 189, 248, 0.05), transparent 65%),
    var(--bg);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
}

img {
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
}

code {
  font-family: var(--mono);
}

::selection {
  background: rgba(245, 158, 11, 0.35);
  color: #fff;
}

.wrap {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: #fff;
  color: #000;
  border-radius: 8px;
}

.skip:focus {
  left: 12px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------------- header ---------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-head.is-scrolled {
  background: rgba(6, 7, 10, 0.72);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(150deg, #ffb347, #f97316 60%, #c2410c);
  color: #170d02;
  box-shadow: 0 8px 24px -8px rgba(249, 115, 22, 0.8);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.brand-name {
  font-size: 17px;
}

.brand-tag {
  padding: 2px 7px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 14px;
}

.nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s, background 0.2s;
}

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

.nav a.is-active {
  color: var(--text);
}

.head-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.sync {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: 12px;
}

.sync i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.12);
  animation: breathe 2.8s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.1); }
  50% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0.03); }
}

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, color 0.18s ease;
}

.btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.btn-sm {
  height: 36px;
  padding: 0 15px;
  font-size: 13px;
}

.btn-lg {
  height: 52px;
  padding: 0 26px;
  font-size: 15px;
}

.btn-primary {
  background: linear-gradient(135deg, #ffc46b, #f59e0b 42%, #f97316);
  color: #1c1103;
  box-shadow: 0 12px 34px -12px rgba(245, 158, 11, 0.62);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px -14px rgba(245, 158, 11, 0.75);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.26);
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.icon-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.07);
}

/* ---------------- shared bits ---------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pulse {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
  animation: ping 2.4s ease-out infinite;
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.section {
  padding: 88px 0;
  position: relative;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-copy h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.section-sub {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 560px;
}

.lede {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  max-width: 540px;
}

.tlogo {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 7px;
  background-color: rgba(255, 255, 255, 0.05);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.tlogo-lg {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.tlogo-xl {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  background-color: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -20px rgba(0, 0, 0, 0.8);
}

.league-pill {
  display: inline-flex;
  align-items: center;
  height: 20px;
  margin-right: 8px;
  padding: 0 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  vertical-align: 2px;
}

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  padding: 74px 0 40px;
  overflow: hidden;
}

.hero-court {
  position: absolute;
  top: -140px;
  right: -180px;
  width: 900px;
  height: 720px;
  opacity: 0.14;
  pointer-events: none;
  transform: rotate(-8deg);
}

.hero-court svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(245, 158, 11, 0.55);
  stroke-width: 1.2;
  mask-image: radial-gradient(circle at 60% 45%, #000 10%, transparent 68%);
  -webkit-mask-image: radial-gradient(circle at 60% 45%, #000 10%, transparent 68%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 48px;
  min-height: 580px;
}

.hero-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(46px, 6.6vw, 84px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.hero-copy h1 .grad {
  background: linear-gradient(115deg, #ffe0a8 4%, #fbbf24 36%, #f97316 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 30px rgba(245, 158, 11, 0.18));
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 44px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 38px;
  margin: 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-stats dt {
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-bottom: 3px;
}

.hero-stats dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.phone {
  position: relative;
  width: 296px;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(160deg, #2a2f39, #12151b 32%, #0a0c10);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: rotate(3.2deg);
  animation: floatPhone 7s ease-in-out infinite;
  z-index: 2;
}

@keyframes floatPhone {
  0%, 100% { transform: rotate(3.2deg) translateY(0); }
  50% { transform: rotate(3.2deg) translateY(-12px); }
}

.phone-notch {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 96px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #05060a;
  z-index: 3;
}

.phone-screen {
  overflow: hidden;
  border-radius: 38px;
  background: linear-gradient(180deg, #0d1117, #090b10 70%);
  min-height: 556px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 14px 22px 0;
  color: #cfd6e0;
  font-family: var(--mono);
  font-size: 10px;
}

.phone-app {
  padding: 18px 16px 0;
}

.phone-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 14px;
}

.phone-title {
  font-size: 12px;
  font-weight: 700;
}

.phone-month {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
}

.phone-today {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  color: var(--accent);
  font-size: 9px;
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px 0;
  padding: 10px 4px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pg-dow {
  color: var(--muted-2);
  font-size: 8px;
  text-align: center;
  padding-bottom: 4px;
}

.pg-day {
  display: grid;
  place-items: center;
  height: 28px;
  color: #c9d1dc;
  font-family: var(--mono);
  font-size: 10px;
  border-radius: 8px;
}

.pg-day.is-muted {
  color: #3d4450;
}

.pg-day.is-today {
  background: var(--accent);
  color: #1a1002;
  font-weight: 700;
  box-shadow: 0 6px 16px -6px rgba(245, 158, 11, 0.8);
}

.phone-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 2px;
}

.phone-event {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.028);
}

.pe-time {
  color: #cfd6e0;
  font-family: var(--mono);
  font-size: 9px;
  width: 32px;
}

.pe-bar {
  width: 3px;
  height: 24px;
  border-radius: 2px;
  opacity: 0.85;
}

.pe-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pe-body b {
  overflow: hidden;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pe-body small {
  color: var(--muted-2);
  font-size: 8.5px;
}

.phone-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 8px;
  color: var(--muted-2);
  font-size: 9px;
}

.pe-bell svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
}

.float-card {
  position: absolute;
  left: 0;
  bottom: 92px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(14, 17, 23, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  animation: floatCard 6s ease-in-out infinite;
  z-index: 3;
}

.float-card-alt {
  left: auto;
  right: -6px;
  bottom: auto;
  top: 74px;
  animation-delay: 1.6s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.float-card b {
  display: block;
  font-size: 12.5px;
}

.float-card small {
  color: var(--muted-2);
  font-size: 10.5px;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.14);
  color: var(--accent);
}

.float-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------------- tabs ---------------- */

.tabs {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s, background 0.2s;
}

.tab:hover {
  color: var(--text);
}

.tab.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
}

.tab.is-active .tab-dot {
  opacity: 1;
  box-shadow: 0 0 10px var(--accent);
}

/* ---------------- scoreboard ---------------- */

.scoreboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--line);
}

.panel-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.panel-sub {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 11px;
}

.panel-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
}

.panel-link:hover {
  color: var(--accent);
}

.panel-link svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.panel-empty {
  padding: 26px 22px;
  color: var(--muted-2);
  font-size: 13px;
}

.match-list {
  display: flex;
  flex-direction: column;
}

.match {
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  transition: background 0.2s;
}

.match:last-child {
  border-bottom: 0;
}

.match:hover {
  background: rgba(255, 255, 255, 0.022);
}

.match-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--muted-2);
  font-size: 11px;
}

.match-when b {
  margin-left: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-weight: 600;
}

.match-phase {
  overflow: hidden;
  max-width: 46%;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.match-teams {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.match-team {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 2px 0;
  border-radius: 8px;
}

.match-team:hover .match-name {
  color: var(--accent);
}

.match-name {
  font-size: 14.5px;
  font-weight: 600;
  transition: color 0.2s;
}

.match-score {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.match-score.is-win {
  color: var(--text);
}

.match-score.is-loss {
  color: var(--muted-2);
}

.match-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.status-final {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.status-live {
  background: rgba(248, 113, 113, 0.14);
  color: var(--red);
}

.status-live .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
  50% { opacity: 0.25; }
}

.status-scheduled {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent);
}

.status-postponed {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-2);
}

.match-venue {
  overflow: hidden;
  color: var(--muted-2);
  font-size: 10.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ---------------- team grid ---------------- */

.section-teams {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.014), transparent 40%);
}

.search {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 250px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-2);
  transition: border-color 0.2s, background 0.2s;
}

.search:focus-within {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(255, 255, 255, 0.05);
}

.search svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  flex: none;
}

.search input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  outline: none;
}

.search input::placeholder {
  color: var(--muted-2);
}

.team-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--muted-2);
  font-size: 12px;
}

.team-group-head p {
  margin: 0;
}

.team-group-head .hint {
  color: var(--muted-2);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(246px, 1fr));
  gap: 10px;
}

.team-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.022);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.team-card:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-2px);
}

.team-card.is-selected {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.07);
}

.team-card[hidden] {
  display: none;
}

.team-main {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  flex: 1;
}

.team-names {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.team-names b {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.team-names small {
  overflow: hidden;
  color: var(--muted-2);
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.team-add {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
  transition: all 0.18s;
  flex: none;
}

.team-add:hover {
  border-color: rgba(245, 158, 11, 0.45);
  color: var(--accent);
}

.team-add[aria-pressed="true"] {
  border-color: transparent;
  background: var(--accent);
  color: #1c1103;
  font-weight: 600;
}

.add-icon {
  display: grid;
  place-items: center;
  width: 13px;
  height: 13px;
}

.add-icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform 0.25s;
}

.team-add[aria-pressed="true"] .add-icon svg {
  transform: rotate(45deg);
}

.team-empty {
  padding: 40px 0;
  color: var(--muted-2);
  text-align: center;
}

/* ---------------- feeds ---------------- */

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

.feed-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
}

.feed-card {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.feed-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.55;
}

.feed-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.feed-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feed-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}

.feed-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feed-head h3 {
  margin: 2px 0 2px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feed-head p {
  margin: 0;
  color: var(--muted-2);
  font-size: 11.5px;
}

.feed-badge {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.feed-url {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 15px 0 12px;
  padding: 8px 8px 8px 12px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
}

.feed-url code {
  overflow: hidden;
  flex: 1;
  color: #c7d0dc;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.feed-url-lg {
  margin: 18px 0 14px;
  padding: 12px 12px 12px 15px;
}

.feed-url-lg code {
  font-size: 12.5px;
}

.feed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.feed-actions .btn svg {
  width: 15px;
  height: 15px;
}

/* ---------------- platforms ---------------- */

.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}

.platform {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
}

.platform header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.platform h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.platform .p-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.platform .p-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.platform ol {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.platform ol li {
  margin-bottom: 5px;
}

.platform ol li::marker {
  color: var(--accent);
  font-family: var(--mono);
}

.platform .p-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11px;
}

/* ---------------- faq ---------------- */

.faq-wrap {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
  align-items: start;
}

.faq-wrap .section-head {
  display: block;
  margin: 0;
  position: sticky;
  top: 110px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 2px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary i {
  flex: none;
  color: var(--muted-2);
  transition: transform 0.25s;
}

.faq-item summary svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.faq-item[open] summary i {
  transform: rotate(180deg);
}

.faq-a {
  padding: 0 2px 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.faq-a p {
  margin: 0;
}

/* ---------------- dock ---------------- */

.dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px 12px 10px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(12, 15, 21, 0.88);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 26px 60px -20px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: translate(-50%, 0);
  animation: dockIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.dock[hidden] {
  display: none;
}

/* 我的订阅页已有完整列表，隐藏底部浮层避免遮挡 */
.page-my .dock {
  display: none;
}

@keyframes dockIn {
  from { opacity: 0; transform: translate(-50%, 18px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.dock-info {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.dock-info b {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
}

.dock-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------------- pages: my ---------------- */

.my-hero {
  padding: 76px 0 12px;
}

.my-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.my-section {
  padding-top: 40px;
}

.my-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: 22px;
  align-items: start;
}

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.card h2,
.card h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-sub {
  margin: -4px 0 0;
  color: var(--muted-2);
  font-size: 12px;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
}

.badge-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 2s infinite;
}

.card-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11.5px;
}

.card-note svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  flex: none;
}

.sub-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.sub-team {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.022);
}

.sub-team-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sub-team-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.sub-team-name b {
  font-size: 15px;
}

.sub-team-name small {
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--muted-2);
  font-size: 11.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sub-team-head .icon-btn {
  transform: rotate(45deg);
  color: var(--muted-2);
}

.sub-team-head .icon-btn:hover {
  border-color: rgba(248, 113, 113, 0.4);
  color: var(--red);
}

.sub-team-next {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.sub-team-foot {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
}

.sub-team-foot a {
  color: var(--muted-2);
  transition: color 0.2s;
}

.sub-team-foot a:hover {
  color: var(--accent);
}

.my-tip {
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
}

.my-tip h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.my-tip p {
  margin: 0 0 12px;
  color: var(--muted-2);
  font-size: 12px;
}

.my-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 96px;
}

.mini-steps {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.mini-steps li {
  margin-bottom: 8px;
}

.mini-steps b {
  color: var(--text);
  font-weight: 600;
}

.quick-feeds {
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-feeds li + li {
  border-top: 1px solid var(--line);
}

.quick-feeds a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 0;
  font-size: 13px;
}

.quick-feeds a:hover {
  color: var(--accent);
}

.qf-count {
  margin-left: auto;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10.5px;
}

/* ---------------- team page ---------------- */

.team-hero {
  padding: 44px 0 8px;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--muted-2);
  font-size: 11.5px;
}

.crumbs a:hover {
  color: var(--accent);
}

.crumbs b {
  color: var(--muted);
  font-weight: 500;
}

.team-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.team-identity {
  display: flex;
  align-items: center;
  gap: 24px;
}

.team-identity h1 {
  margin: 0 0 8px;
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.team-identity .eyebrow {
  margin-bottom: 10px;
}

.team-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  color: var(--muted-2);
  font-size: 12px;
}

.team-meta span + span {
  position: relative;
  padding-left: 18px;
}

.team-meta span + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-2);
  transform: translateY(-50%);
}

.team-subscribe h2 {
  font-size: 15px;
}

.team-subscribe .feed-url {
  margin-top: 14px;
}

.next-game {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 34px;
  padding: 15px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.08), transparent 55%);
  font-size: 12px;
}

.ng-label {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--accent);
  color: #1c1103;
  font-size: 10px;
  font-weight: 700;
}

.ng-time b {
  margin-left: 4px;
  color: var(--accent);
  font-family: var(--mono);
}

.ng-match {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
}

.ng-match i {
  color: var(--muted-2);
  font-style: normal;
  font-size: 10px;
}

.ng-venue {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 11px;
}

.team-filters {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.filter {
  padding: 6px 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.filter:hover {
  color: var(--text);
}

.filter.is-active {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 13px;
}

.schedule-table th {
  padding: 13px 18px;
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.schedule-table td {
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.schedule-table tr:last-child td {
  border-bottom: 0;
}

.schedule-table tr:hover td {
  background: rgba(255, 255, 255, 0.018);
}

.tr-hidden {
  display: none;
}

.td-time {
  white-space: nowrap;
}

.td-time b {
  display: block;
  font-weight: 600;
}

.td-time span {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10.5px;
}

.td-opp {
  min-width: 240px;
}

.opp-cell {
  display: flex;
  align-items: center;
  gap: 9px;
}

.opp-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.opp-main a {
  font-weight: 600;
}

.td-opp a {
  font-weight: 600;
}

.td-opp a:hover {
  color: var(--accent);
}

.td-opp small {
  overflow: hidden;
  max-width: 150px;
  color: var(--muted-2);
  font-size: 10.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ha-tag {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 5px;
  font-size: 9px;
  flex: none;
}

.ha-home {
  background: rgba(245, 158, 11, 0.16);
  color: var(--accent);
}

.ha-away {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-2);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  white-space: nowrap;
}

.chip-win {
  background: rgba(52, 211, 153, 0.13);
  color: var(--green);
}

.chip-loss {
  background: rgba(248, 113, 113, 0.12);
  color: var(--red);
}

.chip-live {
  background: rgba(248, 113, 113, 0.16);
  color: var(--red);
}

.chip-muted {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-2);
}

.td-phase,
.td-venue {
  color: var(--muted-2);
  font-size: 11.5px;
}

.related {
  margin-top: 48px;
}

.related h3 {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

.related-team {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12.5px;
  transition: border-color 0.2s, background 0.2s;
}

.related-team:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

/* ---------------- schedule page ---------------- */

.schedule-hero {
  padding: 44px 0 26px;
}

.schedule-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.schedule-title h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.schedule-cta {
  display: flex;
  gap: 10px;
  flex: none;
}

.schedule-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.team-select label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-2);
  font-size: 12px;
}

.team-select select {
  height: 38px;
  padding: 0 34px 0 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 4.5 3.5 3.5 3.5-3.5' fill='none' stroke='%2398a2b3' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat right 12px center;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  appearance: none;
  cursor: pointer;
}

.month-block + .month-block {
  margin-top: 54px;
}

.month-title {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.month-title span {
  margin-left: 8px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
}

.match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
}

.match-grid .match {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.018);
}

/* ---------------- empty / 404 ---------------- */

.empty {
  padding: 66px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
}

.empty-ball {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  border-radius: 20px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent);
}

.empty-ball svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.empty h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.empty p {
  margin: 0 auto 22px;
  max-width: 420px;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------------- footer ---------------- */

.site-foot {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.24);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 54px 0 40px;
}

.foot-brand .brand {
  margin-bottom: 14px;
}

.foot-brand p {
  margin: 0 0 12px;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.8;
}

.foot-update {
  font-family: var(--mono);
  font-size: 10.5px !important;
  color: var(--muted-2);
}

.foot-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.foot-col h3 {
  margin: 0 0 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.foot-col a {
  width: fit-content;
  color: var(--muted-2);
  font-size: 12px;
  transition: color 0.2s;
}

.foot-col a:hover {
  color: var(--text);
}

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10.5px;
}

.foot-bottom p {
  margin: 0;
}

/* ---------------- toast ---------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 90;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(20, 24, 31, 0.95);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 12.5px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.22s, transform 0.22s;
}

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

/* ---------------- reveal ---------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------------- responsive ---------------- */

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 9vw, 72px);
  }

  .hero-visual {
    min-height: 500px;
  }

  .phone {
    transform: rotate(0deg);
    animation: none;
  }

  .float-card {
    left: 4%;
  }

  .float-card-alt {
    right: 2%;
  }

  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .faq-wrap .section-head {
    position: static;
  }

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

  .my-aside {
    position: static;
  }

  .team-hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .head-right .sync {
    display: none;
  }

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

  .feed-grid,
  .feed-grid-3 {
    grid-template-columns: 1fr;
  }

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

  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .search {
    width: 100%;
  }

  .schedule-title {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-identity {
    gap: 16px;
  }

  .tlogo-xl {
    width: 68px;
    height: 68px;
    border-radius: 18px;
  }

  .schedule-tools {
    flex-direction: column;
    align-items: flex-start;
  }

  .next-game {
    gap: 10px 16px;
  }

  .ng-venue {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .hero {
    padding-top: 46px;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 28px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 470px;
  }

  .phone {
    width: 262px;
  }

  .phone-screen {
    min-height: 500px;
  }

  .float-card,
  .float-card-alt {
    display: none;
  }

  .match {
    padding: 13px 16px;
  }

  .panel-head {
    padding: 15px 16px 12px;
  }

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

  .dock {
    left: 16px;
    right: 16px;
    bottom: 14px;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 10px 9px 16px;
    transform: none;
    animation: none;
  }

  .dock-info span {
    display: none;
  }

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

  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .toast {
    bottom: 84px;
    max-width: calc(100% - 32px);
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* 首屏与赛程速览之间收紧一点，让首屏能看到赛程 */
#games { padding-top: 58px; }
.hero { padding-bottom: 22px; }
