/* 海角社区 全站样式 */
/* 品牌色系 */
:root {
  --brand-blue: #1677EE;
  --bright-blue: #3395FF;
  --deep-blue: #075FC6;
  --dark-blue: #08488D;
  --navy: #0A315E;
  --footer-bg: #071D37;
  --white: #FFFFFF;
  --bg-light: #F7FAFF;
  --bg-blue: #EDF5FF;
  --bg-soft: #E5F1FF;
  --title: #16243A;
  --text: #3C485A;
  --text-secondary: #6B7787;
  --text-muted: #929BA8;
  --text-light: #DCEEFF;
  --border: rgba(22,119,238,0.12);
  --border-dark: rgba(255,255,255,0.12);
  --shadow: 0 12px 34px rgba(30,72,120,0.08);
  --shadow-brand: 0 14px 40px rgba(22,119,238,0.14);
  --btn-grad: linear-gradient(135deg,#3998FF 0%,#1677EE 55%,#075FC6 100%);
  --max-w: 1320px;
  --content-w: 1100px;
  --article-w: 780px;
  --radius: 12px;
  --radius-sm: 8px;
  --nav-h: 72px;
  --m-nav-h: 62px;
  --bottom-nav-h: 58px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--deep-blue);
}

a:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--title);
  font-weight: 600;
  line-height: 1.35;
}

/* ========== 布局工具 ========== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 24px;
}

.article-width {
  max-width: var(--article-w);
  margin: 0 auto;
}

.section {
  padding: 56px 0;
}

.section-sm {
  padding: 40px 0;
}

.section-lg {
  padding: 72px 0;
}

.bg-light {
  background: var(--bg-light);
}

.bg-blue {
  background: var(--bg-blue);
}

.bg-soft {
  background: var(--bg-soft);
}

.bg-navy {
  background: var(--navy);
  color: var(--text-light);
}

.bg-navy h1,
.bg-navy h2,
.bg-navy h3,
.bg-navy h4 {
  color: var(--white);
}

.bg-navy p,
.bg-navy li {
  color: var(--text-light);
}

/* ========== 顶部导航 ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-height: 44px;
}

.brand img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--title);
  letter-spacing: 0.5px;
}

.brand:hover .brand-name {
  color: var(--brand-blue);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: 20px;
  white-space: nowrap;
  position: relative;
}

.desktop-nav a:hover {
  color: var(--brand-blue);
  background: var(--bg-blue);
}

.desktop-nav a.active {
  color: var(--brand-blue);
  background: var(--bg-soft);
}

.desktop-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-actions a,
.header-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: 10px;
}

.header-actions a:hover,
.header-actions button:hover {
  background: var(--bg-blue);
  color: var(--brand-blue);
}

.header-actions .btn-app {
  background: var(--btn-grad);
  color: var(--white);
  border-radius: 20px;
  padding: 0 16px;
}

.header-actions .btn-app:hover {
  opacity: 0.92;
  color: var(--white);
}

.menu-btn,
.search-btn {
  font-size: 15px;
}

/* 手机顶部 */
.mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  height: var(--m-nav-h);
  padding: 0 16px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.mobile-header .brand img {
  height: 30px;
}

.mobile-header .brand-name {
  font-size: 16px;
}

/* ========== Mega Menu / 频道抽屉 ========== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(7,29,55,0.45);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: var(--white);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s ease;
  box-shadow: var(--shadow);
}

.mega-menu.open {
  max-height: 90vh;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  overflow-y: auto;
}

.mega-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.mega-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.mega-brand img {
  height: 40px;
  object-fit: contain;
}

.mega-brand-text strong {
  display: block;
  font-size: 20px;
  color: var(--title);
}

.mega-brand-text span {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.mega-col h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.mega-col a {
  display: block;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text);
  min-height: 40px;
}

.mega-col a:hover {
  color: var(--brand-blue);
}

.mega-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--text-secondary);
  border-radius: 50%;
}

.mega-close:hover {
  background: var(--bg-blue);
  color: var(--brand-blue);
}

/* 搜索面板 */
.search-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: var(--white);
  padding: 24px;
  box-shadow: var(--shadow);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.25s ease, visibility 0.25s ease;
}

.search-panel.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
}

.search-form input {
  flex: 1;
  height: 48px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  font-size: 16px;
  color: var(--text);
  background: var(--bg-light);
  outline: none;
}

.search-form input:focus {
  border-color: var(--brand-blue);
  background: var(--white);
}

.search-form button {
  height: 48px;
  padding: 0 24px;
  background: var(--btn-grad);
  color: var(--white);
  border-radius: 24px;
  font-size: 15px;
  font-weight: 500;
}

.search-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-secondary);
}

/* ========== 手机底部导航 ========== */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: var(--bottom-nav-h);
  max-width: 560px;
  margin: 0 auto;
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 56px;
  min-height: 48px;
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

.bottom-nav a.active {
  color: var(--brand-blue);
}

.bottom-nav a span.icon {
  font-size: 20px;
  line-height: 1;
}

/* ========== 主内容区 ========== */
main {
  min-height: 60vh;
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 22px;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--btn-grad);
  color: var(--white);
}

.btn-primary:hover {
  opacity: 0.92;
  color: var(--white);
}

.btn-outline {
  border: 1.5px solid var(--brand-blue);
  color: var(--brand-blue);
  background: transparent;
}

.btn-outline:hover {
  background: var(--bg-blue);
}

.btn-ghost {
  color: var(--brand-blue);
  background: var(--bg-soft);
}

.btn-ghost:hover {
  background: var(--bg-blue);
}

/* ========== Hero Banner ========== */
.hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  max-height: 520px;
  background: linear-gradient(135deg, #E5F1FF 0%, #C5DFFF 40%, #A8CFFF 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(to bottom, rgba(10,49,94,0.35) 0%, rgba(7,29,55,0.55) 100%);
}

.hero-content h1 {
  font-size: 48px;
  color: var(--white);
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
  max-width: 800px;
}

.hero-content p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 560px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* 四格入口 */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -48px;
  position: relative;
  z-index: 10;
  padding: 0 24px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.entry-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.entry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-brand);
}

.entry-card .icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.entry-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.entry-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========== 通用卡片与内容块 ========== */
.section-title {
  font-size: 30px;
  margin-bottom: 8px;
  text-align: center;
}

.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 36px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.card-body {
  padding: 22px 20px;
}

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

.card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-blue);
}

/* 特色图文 */
.feature-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature-row.reverse {
  grid-template-columns: 1fr 1.15fr;
}

.feature-row.reverse .feature-text {
  order: -1;
}

.feature-image {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #EDF5FF, #E5F1FF);
  aspect-ratio: 4 / 3;
  position: relative;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.city-feature-image {
  aspect-ratio: 16 / 10;
}

.feature-text h2 {
  font-size: 28px;
  margin-bottom: 14px;
}

.feature-text p {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 12px;
  color: var(--text);
}

/* 时间板 */
.time-boards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.time-board {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 18px;
  border: 1px solid var(--border);
  text-align: center;
}

.time-board .time-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.time-board h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.time-board p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 兴趣墙 */
.interest-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.interest-item {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 14px;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}

.interest-item:hover {
  background: var(--bg-blue);
  border-color: rgba(22,119,238,0.25);
}

.interest-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.interest-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 经验列表 */
.exp-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.exp-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.exp-item h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.exp-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 故事 */
.story-main {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 36px 32px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
}

.story-main h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.story-main p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

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

.story-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.story-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.story-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* 热议 */
.topic-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.topic-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  transition: border-color 0.2s;
}

.topic-item:hover {
  border-color: rgba(22,119,238,0.3);
}

.topic-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.topic-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.topic-item p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* 指南 */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guide-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.guide-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.guide-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 影集媒体槽 */
.media-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

.media-slot {
  background: linear-gradient(145deg, #EDF5FF 0%, #F7FAFF 50%, #E5F1FF 100%);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}

.media-slot.wide {
  grid-row: span 2;
  aspect-ratio: 3 / 4;
  min-height: 320px;
}

.media-slot.mid {
  aspect-ratio: 4 / 3;
}

.media-slot.small {
  aspect-ratio: 1 / 1;
}

.media-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: linear-gradient(transparent, rgba(7,29,55,0.75));
  color: var(--white);
  font-size: 13px;
}

/* 脉搏条 */
.pulse-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pulse-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.pulse-tag {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-blue);
  background: var(--bg-soft);
  padding: 4px 10px;
  border-radius: 12px;
}

.pulse-item p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

/* APP 预览 */
.app-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.app-preview-image {
  max-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #EDF5FF, #E5F1FF);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}

.app-preview-image img {
  max-height: 460px;
  width: auto;
  object-fit: contain;
}

.app-text h2 {
  font-size: 28px;
  margin-bottom: 14px;
}

.app-text p {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 12px;
}

.app-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0 28px;
}

.app-features li {
  font-size: 14px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}

.app-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-blue);
  font-weight: 600;
}

/* 安全页深蓝 */
.security-hero {
  background: var(--navy);
  padding: 64px 0;
  text-align: center;
}

.security-hero h1 {
  color: var(--white);
  font-size: 36px;
  margin-bottom: 12px;
}

.security-hero p {
  color: var(--text-light);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
}

.security-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.security-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.security-item h3 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 10px;
}

.security-item p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* 隐私 */
.privacy-box {
  background: var(--white);
  border: 1px solid rgba(22,119,238,0.18);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 20px;
}

.privacy-box h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--title);
}

.privacy-box p,
.privacy-box li {
  font-size: 14px;
  color: var(--text);
  line-height: 1.75;
}

.privacy-box ul {
  margin-top: 10px;
  padding-left: 18px;
}

.privacy-box li {
  list-style: disc;
  margin-bottom: 6px;
}

/* 页内标题区 */
.page-hero {
  padding: 48px 0 36px;
  text-align: center;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: 38px;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}

/* 内容块 */
.content-block {
  padding: 40px 0;
}

.content-block h2 {
  font-size: 24px;
  margin-bottom: 16px;
  margin-top: 32px;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block h3 {
  font-size: 18px;
  margin: 24px 0 10px;
}

.content-block p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px;
  color: var(--text);
}

.content-block ul,
.content-block ol {
  margin: 12px 0 16px 20px;
}

.content-block li {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 8px;
  list-style: disc;
  color: var(--text);
}

/* FAQ */
.faq-list details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  padding: 0;
}

.faq-list summary {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--title);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
}

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

.faq-list summary::after {
  content: "+";
  font-size: 20px;
  color: var(--brand-blue);
  font-weight: 400;
}

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

.faq-list details p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ========== 页脚 ========== */
.site-footer {
  background: var(--footer-bg);
  color: var(--text-light);
  padding: 56px 0 32px;
  margin-top: 60px;
  border-top: 1px solid rgba(220,238,255,0.12);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 36px;
  object-fit: contain;
  margin-bottom: 12px;
}

.footer-brand strong {
  display: block;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-brand .en {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--text-light);
  opacity: 0.8;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-light);
  opacity: 0.85;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 14px;
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-light);
  opacity: 0.8;
  padding: 6px 0;
  min-height: 32px;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(220,238,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  opacity: 0.7;
}

/* 今日值得看 特殊布局 */
.today-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.today-main {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.today-main h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.today-main p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 14px;
}

.today-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.today-mid {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
}

.today-mid h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.today-mid p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.today-short-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
}

.today-short-item h4 {
  font-size: 15px;
  margin-bottom: 6px;
}

.today-short-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* 路线结构 */
.route-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.route-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  position: relative;
}

.route-step .step-num {
  position: absolute;
  top: -12px;
  left: 18px;
  background: var(--btn-grad);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
}

.route-step h3 {
  font-size: 16px;
  margin: 8px 0 8px;
}

.route-step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ========== 响应式 ========== */
@media (max-width: 1280px) {
  .entry-grid {
    gap: 16px;
  }
  .mega-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
  }
  .footer-top .footer-col:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
  .header-actions .btn-app {
    display: none;
  }
  .mobile-header {
    display: flex;
  }
  .header-inner {
    display: none;
  }
  .site-header {
    height: var(--m-nav-h);
  }
  .hero-content h1 {
    font-size: 36px;
  }
  .entry-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -32px;
  }
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature-row.reverse .feature-text {
    order: 0;
  }
  .time-boards {
    grid-template-columns: repeat(2, 1fr);
  }
  .interest-wall {
    grid-template-columns: repeat(3, 1fr);
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .today-grid {
    grid-template-columns: 1fr;
  }
  .app-section {
    grid-template-columns: 1fr;
  }
  .app-preview-image {
    max-height: 400px;
    order: -1;
  }
  .app-preview-image img {
    max-height: 360px;
    max-width: 280px;
  }
  .media-grid {
    grid-template-columns: 1fr 1fr;
  }
  .media-slot.wide {
    grid-row: span 1;
    aspect-ratio: 16 / 10;
    min-height: 200px;
  }
  .route-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .security-list {
    grid-template-columns: 1fr;
  }
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .section-title {
    font-size: 26px;
  }
  .page-hero h1 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .bottom-nav {
    display: block;
  }
  body {
    padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  }
  .hero-banner {
    aspect-ratio: 16 / 10;
    max-height: 380px;
  }
  .hero-content h1 {
    font-size: 28px;
  }
  .hero-content p {
    font-size: 14px;
  }
  .entry-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: -24px;
  }
  .entry-card {
    padding: 18px 14px;
    min-height: 120px;
  }
  .entry-card h3 {
    font-size: 15px;
  }
  .time-boards,
  .interest-wall,
  .card-grid,
  .exp-list,
  .story-grid,
  .topic-list,
  .guide-grid,
  .route-steps {
    grid-template-columns: 1fr;
  }
  .interest-wall {
    grid-template-columns: 1fr 1fr;
  }
  .today-short {
    grid-template-columns: 1fr;
  }
  .media-grid {
    grid-template-columns: 1fr;
  }
  .mega-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding: 40px 0;
  }
  .section-title {
    font-size: 24px;
  }
  .page-hero {
    padding: 36px 0 28px;
  }
  .page-hero h1 {
    font-size: 28px;
  }
  .feature-text h2,
  .app-text h2 {
    font-size: 24px;
  }
  .story-main {
    padding: 24px 18px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .container,
  .container-narrow {
    padding: 0 16px;
  }
}

@media (max-width: 560px) {
  .hero-content h1 {
    font-size: 26px;
  }
  .entry-grid {
    grid-template-columns: 1fr;
  }
  .interest-wall {
    grid-template-columns: 1fr;
  }
  .mega-grid {
    grid-template-columns: 1fr;
  }
  .app-preview-image img {
    max-width: 240px;
  }
  .btn {
    width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }
}

/* 工具类 */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.mb-24 { margin-bottom: 24px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
