/* 海角社区 HAI JIAO - 全站样式 */
*,
*::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: #3C485A;
  background: #FFFFFF;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: #1677EE;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #075FC6;
}

a:focus-visible {
  outline: 2px solid #1677EE;
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

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

/* 颜色变量 */
:root {
  --brand-blue: #1677EE;
  --light-blue: #3395FF;
  --deep-blue: #075FC6;
  --dark-blue: #08488D;
  --navy: #0A315E;
  --footer-bg: #071D37;
  --main-bg: #FFFFFF;
  --soft-bg: #F7FAFF;
  --pale-bg: #EDF5FF;
  --gentle-bg: #E5F1FF;
  --title: #16243A;
  --text: #3C485A;
  --muted: #6B7787;
  --hint: #929BA8;
  --white: #FFFFFF;
  --pale-text: #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);
  --brand-shadow: 0 14px 40px rgba(22, 119, 238, 0.14);
  --btn-gradient: linear-gradient(135deg, #3998FF 0%, #1677EE 55%, #075FC6 100%);
  --max-w: 1320px;
  --content-w: 1240px;
  --article-w: 820px;
  --nav-h: 74px;
  --m-nav-h: 62px;
  --b-nav-h: 58px;
}

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

.container-narrow {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ========== 顶部导航 ========== */
.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.02em;
}

.brand-en {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-left: 2px;
}

.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;
  color: var(--text);
  border-radius: 8px;
  position: relative;
  white-space: nowrap;
}

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

.desktop-nav a.active {
  color: var(--brand-blue);
  background: var(--gentle-bg);
  font-weight: 600;
}

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

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

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

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

.header-actions .btn-app {
  background: var(--btn-gradient);
  color: var(--white) !important;
  padding: 0 16px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: var(--brand-shadow);
}

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

.menu-toggle,
.search-toggle {
  display: none;
}

/* 手机顶部 */
.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;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--title);
}

.icon-btn:hover {
  background: var(--pale-bg);
}

.icon-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ========== 超级菜单 / 频道抽屉 ========== */
.mega-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;
}

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

.mega-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(920px, 100%);
  height: 100%;
  background: #FFFFFF;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
}

.mega-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mega-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}

.mega-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.mega-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--title);
}

.mega-close:hover {
  background: var(--pale-bg);
}

.mega-body {
  padding: 28px 32px 48px;
}

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

.mega-group h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.mega-group a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid transparent;
  min-height: 44px;
  display: flex;
  align-items: center;
}

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

/* 搜索面板 */
.search-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  z-index: 1300;
  padding: 20px 24px 28px;
  box-shadow: var(--shadow);
  transform: translateY(-100%);
  transition: transform 0.28s ease;
  visibility: hidden;
  pointer-events: none;
}

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

.search-form {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-form input {
  flex: 1;
  height: 48px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 0 18px;
  font-size: 16px;
  color: var(--title);
  background: var(--soft-bg);
}

.search-form input:focus {
  outline: none;
  border-color: var(--brand-blue);
  background: #fff;
}

.search-form button {
  height: 48px;
  padding: 0 24px;
  background: var(--btn-gradient);
  color: #fff;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
}

.search-close {
  margin-left: 8px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

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

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

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

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px;
  max-width: 780px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.hero-content p {
  font-size: 17px;
  color: #DCEEFF;
  line-height: 1.7;
  margin-bottom: 28px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--btn-gradient);
  color: #FFFFFF !important;
  box-shadow: var(--brand-shadow);
}

.btn-primary:hover {
  opacity: 0.93;
  color: #FFFFFF !important;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #FFFFFF !important;
}

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

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

/* 四格导航 */
.quad-nav {
  background: var(--soft-bg);
  padding: 36px 0 40px;
  border-bottom: 1px solid var(--border);
}

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

.quad-card {
  background: #fff;
  border-radius: 16px;
  padding: 26px 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  min-height: 150px;
}

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

.quad-card h3 {
  font-size: 18px;
  color: var(--title);
  margin-bottom: 8px;
  font-weight: 700;
}

.quad-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.quad-card .link-more {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-blue);
}

/* 通用区块 */
.section {
  padding: 56px 0;
}

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

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

.section-head h2 {
  font-size: 30px;
  font-weight: 750;
  color: var(--title);
  line-height: 1.3;
}

.section-head .sub {
  font-size: 15px;
  color: var(--muted);
  margin-top: 6px;
}

.section-head .more {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-blue);
  white-space: nowrap;
}

/* 今日值得看 */
.today-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
}

.today-main {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.today-main .media-slot {
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #EDF5FF, #E5F1FF 50%, #F7FAFF);
  position: relative;
}

.today-main .body {
  padding: 24px 26px 28px;
}

.today-main h3 {
  font-size: 22px;
  color: var(--title);
  margin-bottom: 10px;
  line-height: 1.4;
  font-weight: 700;
}

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

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

.today-mid {
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  flex: 1;
}

.today-mid h4 {
  font-size: 17px;
  color: var(--title);
  margin-bottom: 8px;
  font-weight: 650;
}

.today-mid p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.today-shorts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.today-short {
  background: var(--pale-bg);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
  border: 1px solid transparent;
}

.today-short:hover {
  border-color: var(--border);
  background: #fff;
}

/* 城市生活志 feature */
.city-feature {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 36px;
  align-items: center;
}

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

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

.city-feature-text h2 {
  font-size: 30px;
  color: var(--title);
  margin-bottom: 14px;
  font-weight: 750;
}

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

.city-feature-text .btn {
  margin-top: 18px;
}

/* 周末四时段 */
.time-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.time-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.time-card .label {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.time-card h3 {
  font-size: 17px;
  color: var(--title);
  margin-bottom: 10px;
  font-weight: 650;
}

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

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

.route-step {
  background: #fff;
  border-radius: 14px;
  padding: 22px 20px;
  border: 1px solid var(--border);
}

.route-step .num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gentle-bg);
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.route-step h3 {
  font-size: 16px;
  color: var(--title);
  margin-bottom: 8px;
}

.route-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

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

.interest-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.interest-item:hover {
  border-color: rgba(22, 119, 238, 0.35);
  box-shadow: var(--shadow);
}

.interest-item h3 {
  font-size: 16px;
  color: var(--title);
  margin-bottom: 6px;
  font-weight: 650;
}

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

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

.exp-item {
  background: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  border: 1px solid var(--border);
}

.exp-item h3 {
  font-size: 17px;
  color: var(--title);
  margin-bottom: 10px;
  font-weight: 650;
}

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

/* 文化专题 */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.culture-card {
  background: #fff;
  border-radius: 16px;
  padding: 26px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.culture-card .tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.culture-card h3 {
  font-size: 18px;
  color: var(--title);
  margin-bottom: 10px;
  font-weight: 700;
}

.culture-card p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.7;
}

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

.story-main h3 {
  font-size: 22px;
  color: var(--title);
  margin-bottom: 14px;
  font-weight: 700;
}

.story-main p {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.8;
}

.story-shorts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.story-short {
  background: #fff;
  border-radius: 12px;
  padding: 18px 16px;
  border: 1px solid var(--border);
}

.story-short h4 {
  font-size: 15px;
  color: var(--title);
  margin-bottom: 8px;
  font-weight: 650;
}

.story-short p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

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

.topic-item {
  background: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.topic-item .q {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--gentle-bg);
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.topic-item h3 {
  font-size: 16px;
  color: var(--title);
  font-weight: 650;
  line-height: 1.45;
}

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

.guide-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px 22px;
  border: 1px solid var(--border);
}

.guide-card h3 {
  font-size: 17px;
  color: var(--title);
  margin-bottom: 10px;
  font-weight: 650;
}

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

/* 影集 media slots */
.album-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
}

.album-wide {
  grid-row: span 2;
}

.media-slot {
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, #EDF5FF 0%, #E5F1FF 45%, #F7FAFF 100%);
  border: 1px solid var(--border);
  position: relative;
  aspect-ratio: 16 / 9;
}

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

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

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

.album-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

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

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

.pulse-item {
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.pulse-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
  margin-top: 7px;
  flex-shrink: 0;
}

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

/* APP 区 */
.app-section {
  background: linear-gradient(160deg, #0A315E 0%, #08488D 40%, #075FC6 100%);
  color: #fff;
  padding: 64px 0;
  border-radius: 0;
}

.app-layout {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 40px;
  align-items: center;
}

.app-text h2 {
  font-size: 32px;
  font-weight: 750;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.app-text p {
  font-size: 15.5px;
  color: #DCEEFF;
  line-height: 1.75;
  margin-bottom: 12px;
}

.app-text .btn {
  margin-top: 20px;
}

.app-preview-image {
  max-height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-preview-image img {
  max-height: 480px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.app-preview-image .slot-fallback {
  width: 260px;
  height: 480px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
  border: 1.5px solid rgba(255,255,255,0.2);
}

/* 安全中心卡片 */
.security-block {
  background: var(--navy);
  border-radius: 20px;
  padding: 40px 36px;
  color: #fff;
}

.security-block h2 {
  font-size: 28px;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.security-block p,
.security-block li {
  font-size: 15px;
  color: #DCEEFF;
  line-height: 1.75;
}

.security-block ul {
  margin-top: 16px;
}

.security-block li {
  padding: 8px 0 8px 18px;
  position: relative;
}

.security-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3395FF;
}

/* 隐私块 */
.privacy-block {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
}

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

.privacy-block p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.7;
}

/* 页内通用标题区 */
.page-hero {
  background: linear-gradient(135deg, #F7FAFF 0%, #EDF5FF 100%);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--title);
  margin-bottom: 12px;
  line-height: 1.25;
}

.page-hero .lead {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.7;
}

/* 内容页文章体 */
.page-body {
  padding: 48px 0 64px;
}

.page-body h2 {
  font-size: 26px;
  color: var(--title);
  margin: 36px 0 14px;
  font-weight: 700;
}

.page-body h3 {
  font-size: 20px;
  color: var(--title);
  margin: 28px 0 12px;
  font-weight: 650;
}

.page-body p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-body ul,
.page-body ol {
  margin: 12px 0 20px 4px;
}

.page-body li {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.75;
  padding: 6px 0 6px 20px;
  position: relative;
}

.page-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
}

.content-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 26px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.content-card h3 {
  margin-top: 0;
}

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

.faq-list summary {
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--title);
  cursor: pointer;
  list-style: none;
  min-height: 52px;
  display: flex;
  align-items: center;
}

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

.faq-list details[open] summary {
  border-bottom: 1px solid var(--border);
  background: var(--soft-bg);
}

.faq-list details p {
  padding: 16px 22px 20px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
  margin: 0;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand .logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  height: 34px;
  object-fit: contain;
}

.footer-brand .name {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
}

.footer-brand .en {
  font-size: 12px;
  color: #A8C4E0;
  letter-spacing: 0.1em;
}

.footer-brand p {
  font-size: 14px;
  color: #A8C4E0;
  line-height: 1.7;
  max-width: 360px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: #A8C4E0;
  padding: 7px 0;
  min-height: 36px;
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #7A94B0;
}

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

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

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

.bottom-nav svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* 通用工具类 */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }

/* ========== 响应式 ========== */
@media (max-width: 1279px) {
  .desktop-nav a {
    padding: 0 10px;
    font-size: 14px;
  }
  .quad-grid {
    gap: 14px;
  }
  .interest-wall {
    grid-template-columns: repeat(4, 1fr);
  }
  .route-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1023px) {
  .desktop-nav {
    display: none;
  }
  .header-actions .btn-app,
  .header-actions .nav-extra {
    display: none;
  }
  .menu-toggle,
  .search-toggle {
    display: inline-flex;
  }
  .site-header {
    height: var(--m-nav-h);
  }
  .header-inner {
    display: none;
  }
  .mobile-header {
    display: flex;
    height: var(--m-nav-h);
  }
  .mega-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-content h1 {
    font-size: 36px;
  }
  .city-feature {
    grid-template-columns: 1fr;
  }
  .city-feature-image {
    order: -1;
  }
  .today-grid {
    grid-template-columns: 1fr;
  }
  .time-board {
    grid-template-columns: 1fr 1fr;
  }
  .interest-wall {
    grid-template-columns: repeat(3, 1fr);
  }
  .exp-list,
  .culture-grid,
  .topic-list {
    grid-template-columns: 1fr;
  }
  .story-shorts {
    grid-template-columns: 1fr 1fr;
  }
  .guide-grid {
    grid-template-columns: 1fr 1fr;
  }
  .album-layout {
    grid-template-columns: 1fr;
  }
  .album-wide {
    grid-row: auto;
  }
  .app-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .app-preview-image {
    order: -1;
  }
  .app-preview-image img {
    max-width: 280px;
    max-height: 420px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
  .bottom-nav {
    display: flex;
  }
  main {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }
  .section-head h2 {
    font-size: 26px;
  }
  .page-hero h1 {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .container,
  .container-narrow {
    padding: 0 16px;
  }
  .hero-banner {
    aspect-ratio: 16 / 10;
    max-height: 380px;
  }
  .hero-content h1 {
    font-size: 30px;
  }
  .hero-content p {
    font-size: 15px;
  }
  .quad-grid {
    grid-template-columns: 1fr 1fr;
  }
  .time-board {
    grid-template-columns: 1fr;
  }
  .route-steps {
    grid-template-columns: 1fr;
  }
  .interest-wall {
    grid-template-columns: 1fr 1fr;
  }
  .story-shorts {
    grid-template-columns: 1fr;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .album-smalls {
    grid-template-columns: 1fr;
  }
  .mega-menu {
    width: 100%;
  }
  .mega-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .mega-body {
    padding: 20px 20px 40px;
  }
  .section {
    padding: 40px 0;
  }
  .page-hero {
    padding: 36px 0 28px;
  }
  .page-hero h1 {
    font-size: 28px;
  }
  .page-body h2 {
    font-size: 22px;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .security-block {
    padding: 28px 20px;
  }
  .story-main {
    padding: 24px 20px;
  }
}

@media (max-width: 559px) {
  .quad-grid {
    grid-template-columns: 1fr;
  }
  .interest-wall {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 26px;
  }
  .btn {
    width: 100%;
  }
  .hero-actions {
    flex-direction: column;
  }
}

/* 打印与无障碍 */
@media print {
  .site-header,
  .bottom-nav,
  .mega-menu,
  .mega-overlay,
  .search-panel {
    display: none !important;
  }
}
