/* 樱花视频·在线版 · 全站视觉规范
   浅色樱花粉主题：柔和、清爽、适合长时间阅读直播内容。
   纯本地 CSS，不引用外部字体与 CDN。
*/

/* ========== 1. 主题变量 ========== */
:root {
  --sakura: #ff6f9c;
  --sakura-deep: #e0447a;
  --sakura-soft: #ffd9e4;
  --sakura-mist: #fff0f5;
  --warm: #ffb27a;
  --bg: #fff7fa;
  --panel: #ffffff;
  --ink: #2b2028;
  --ink-2: #463640;
  --muted: #77636f;
  --muted-soft: #8d7a85;
  --line: rgba(224, 68, 122, 0.12);
  --line-strong: rgba(224, 68, 122, 0.22);
  --shadow: 0 10px 30px rgba(224, 68, 122, 0.08);
  --shadow-lg: 0 18px 44px rgba(224, 68, 122, 0.15);
  --radius: 18px;
  --radius-sm: 14px;
  --radius-lg: 22px;
  --grad: linear-gradient(135deg, #ff6f9c, #ff9fbd);
  --grad-text: linear-gradient(135deg, #e0447a, #ff7f9f);
  --footer-bg: #2b1a26;
  --ease: 0.25s ease;
  --content: 1200px;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    system-ui, sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(900px 520px at 2% -10%, rgba(255, 111, 156, 0.12), transparent 62%),
    radial-gradient(760px 460px at 100% 0, rgba(255, 178, 122, 0.1), transparent 58%);
  background-repeat: no-repeat;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--sakura-deep);
  text-decoration: none;
}

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

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

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

.page {
  overflow-x: clip;
}

.container {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--sakura);
  color: #fff;
  transition: top var(--ease);
}

.skip-link:focus {
  top: 14px;
  color: #fff;
}

/* ========== 2. 顶部导航 ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(150%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  white-space: nowrap;
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(224, 68, 122, 0.24);
}

.logo-text strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo-text small {
  display: block;
  color: var(--muted-soft);
  font-size: 11px;
  letter-spacing: 0.08em;
}

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

.nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: background-color var(--ease), color var(--ease);
}

.nav a:hover {
  background: var(--sakura-mist);
  color: var(--ink);
}

.nav a.is-active {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 16px rgba(224, 68, 122, 0.22);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(224, 68, 122, 0.22);
  transition: transform var(--ease), box-shadow var(--ease);
}

.header-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--panel);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--ink);
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 0;
  height: 3px;
  background: var(--grad);
  pointer-events: none;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--panel);
  color: var(--sakura-deep);
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow: var(--shadow);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ========== 3. 首屏 ========== */
.hero {
  position: relative;
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -20% -10% auto;
  height: 90%;
  background: radial-gradient(circle at 30% 40%, rgba(255, 111, 156, 0.18), transparent 62%),
    radial-gradient(circle at 78% 20%, rgba(255, 178, 122, 0.16), transparent 58%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--sakura-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-title span {
  display: inline-block;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 640px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform var(--ease), box-shadow var(--ease), background-color var(--ease);
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 28px rgba(224, 68, 122, 0.24);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--ink);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--sakura);
  transform: translateY(-3px);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  color: var(--muted-soft);
  font-size: 13px;
}

.hero-points span::before {
  content: "·";
  margin-right: 6px;
  color: var(--sakura);
}

.hero-visual {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-lg);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 8px);
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.signal {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--sakura-mist);
  color: var(--muted);
  font-size: 13px;
}

.signal b {
  margin-right: 6px;
  color: var(--sakura-deep);
}

/* ========== 4. 通用区块 ========== */
.section {
  padding: 60px 0;
}

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

.section-label {
  display: block;
  margin-bottom: 8px;
  color: var(--sakura-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.section-title {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.section-sub {
  max-width: 680px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.link-more {
  font-size: 14px;
  font-weight: 700;
}

/* ========== 5. 频道卡 ========== */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.channel-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.channel-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
}

.channel-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--sakura-mist);
  color: var(--sakura-deep);
  font-size: 13px;
  font-weight: 800;
}

.channel-card h3 {
  margin: 18px 0 8px;
  font-size: 18px;
}

.channel-card p {
  color: var(--muted);
  font-size: 14px;
}

.channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sakura-mist);
  color: var(--sakura-deep);
  font-size: 12px;
  font-weight: 600;
}

/* ========== 6. 直播卡 ========== */
.live-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.live-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
}

.live-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.live-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--sakura-mist);
}

.live-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.live-card:hover .live-cover img {
  transform: scale(1.06);
}

.live-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(43, 26, 38, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.live-body {
  padding: 16px 18px 18px;
}

.live-cat {
  color: var(--sakura-deep);
  font-size: 12px;
  font-weight: 700;
}

.live-title {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.live-desc {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.live-meta {
  margin-top: 12px;
  color: var(--muted-soft);
  font-size: 12px;
}

/* ========== 7. 列表 ========== */
.list {
  display: grid;
  gap: 12px;
}

.list-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: border-color var(--ease), transform var(--ease);
}

.list-item:hover {
  border-color: var(--line-strong);
  transform: translateX(3px);
}

.list-item-main {
  flex: 1 1 420px;
  min-width: 0;
}

.list-item h3 {
  font-size: 16px;
  line-height: 1.5;
}

.list-item p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13.5px;
}

.list-item time,
.list-item .more {
  color: var(--muted-soft);
  font-size: 12.5px;
  white-space: nowrap;
}

.list-item .more {
  color: var(--sakura-deep);
  font-weight: 700;
}

/* ========== 8. 分页 ========== */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 34px 0 6px;
}

.pager a,
.pager span {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--panel);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.pager a:hover {
  border-color: var(--sakura);
  color: var(--sakura-deep);
}

.pager .is-current {
  border-color: transparent;
  background: var(--grad);
  color: #fff;
}

.pager .is-disabled {
  color: var(--muted-soft);
  background: var(--sakura-mist);
  cursor: default;
}

.pager-total {
  width: 100%;
  margin-top: 4px;
  color: var(--muted-soft);
  font-size: 13px;
  text-align: center;
}

/* ========== 9. 面包屑与文章页 ========== */
.breadcrumb {
  padding: 22px 0 0;
  color: var(--muted-soft);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--sakura-deep);
}

.article-header {
  padding: 28px 0 8px;
}

.article-kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--sakura-mist);
  color: var(--sakura-deep);
  font-size: 12px;
  font-weight: 700;
}

.article-title {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 14px;
  color: var(--muted-soft);
  font-size: 13px;
}

.article-layout {
  padding: 26px 0 10px;
}

.article-main {
  padding: 0 0 12px;
}

.article-cover {
  overflow: hidden;
  margin-bottom: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-body {
  padding: 32px clamp(20px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.article-body p {
  margin-bottom: 16px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.9;
}

.article-body h2 {
  position: relative;
  margin: 32px 0 14px;
  padding-left: 14px;
  font-size: 20px;
  line-height: 1.4;
}

.article-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 4px;
  background: var(--grad);
}

.article-body ul {
  margin: 0 0 16px 20px;
}

.article-body li {
  margin-bottom: 8px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.85;
}

.article-body code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--sakura-mist);
  color: var(--sakura-deep);
  font-size: 13.5px;
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 10px;
}

.article-nav a {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: border-color var(--ease), transform var(--ease);
}

.article-nav a:hover {
  border-color: var(--sakura);
  transform: translateY(-2px);
}

.nav-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted-soft);
  font-size: 12px;
}

.nav-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.nav-next {
  text-align: right;
}

.back-home {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 14px;
}

/* ========== 10. FAQ ========== */
.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-item {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.faq-item summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--sakura-deep);
  font-size: 18px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

/* ========== 11. CTA 区块 ========== */
.cta-band {
  margin: 10px 0 60px;
  padding: 40px clamp(22px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 111, 156, 0.12), rgba(255, 178, 122, 0.12));
  border: 1px solid var(--line);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.35;
}

.cta-band p {
  max-width: 640px;
  margin: 10px auto 20px;
  color: var(--muted);
  font-size: 14.5px;
}

/* ========== 12. 页脚 ========== */
.site-footer {
  padding: 54px 0 24px;
  background: var(--footer-bg);
  color: #f6e9ef;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr;
  gap: clamp(28px, 5vw, 60px);
}

.footer-brand h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 24px;
}

.footer-brand p,
.footer-col p {
  margin-bottom: 8px;
  color: rgba(246, 233, 239, 0.72);
  font-size: 13.5px;
}

.footer-col h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 15px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(246, 233, 239, 0.76);
  font-size: 13.5px;
}

.footer-links a:hover {
  color: #ffb1c8;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(246, 233, 239, 0.6);
  font-size: 12.5px;
}

/* ========== 13. 响应式 ========== */
@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0 12px;
    min-height: 0;
  }

  .nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

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

  .nav a {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    white-space: nowrap;
  }

  .nav-toggle {
    display: none;
  }

  .header-cta {
    display: none;
  }

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

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

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

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

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

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--content));
  }

  .hero {
    padding: 40px 0 36px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-visual img {
    aspect-ratio: 16 / 10;
  }

  .signal-row,
  .channel-grid,
  .live-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 42px 0;
  }

  .section-head {
    align-items: flex-start;
  }

  .list-item {
    padding: 16px 18px;
  }

  .list-item-main {
    flex-basis: 100%;
  }

  .article-body {
    padding: 22px 18px;
  }

  .article-body p,
  .article-body li {
    font-size: 15px;
  }

  .article-body h2 {
    font-size: 18px;
  }

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

  .nav-next {
    text-align: left;
  }

  .pager a,
  .pager span {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
