/* 海角社区 全站样式 */
*, *::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;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1677EE; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #075FC6; }
a:focus-visible { outline: 2px solid #3395FF; outline-offset: 2px; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.container-mid { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* 颜色变量 */
:root {
  --brand: #1677EE;
  --brand-light: #3395FF;
  --brand-dark: #075FC6;
  --brand-deep: #08488D;
  --navy: #0A315E;
  --navy-dark: #071D37;
  --title: #16243A;
  --text: #3C485A;
  --text-secondary: #6B7787;
  --text-muted: #929BA8;
  --bg: #FFFFFF;
  --bg-soft: #F7FAFF;
  --bg-blue: #EDF5FF;
  --bg-soft-blue: #E5F1FF;
  --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);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

/* 顶部导航 */
.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: 72px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1320px;
  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;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.desktop-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--text);
  border-radius: 8px;
  min-height: 44px;
  position: relative;
  white-space: nowrap;
}
.desktop-nav a:hover { background: var(--bg-blue); color: var(--brand); }
.desktop-nav a.active {
  background: var(--bg-soft-blue);
  color: var(--brand);
  font-weight: 600;
}
.desktop-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: var(--brand);
  border-radius: 50%;
}
.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: 8px 12px;
  font-size: 14px;
  color: var(--text);
  border-radius: 8px;
}
.header-actions a:hover, .header-actions button:hover {
  background: var(--bg-blue);
  color: var(--brand);
}
.btn-app {
  background: linear-gradient(135deg, #3998FF 0%, #1677EE 55%, #075FC6 100%);
  color: #FFFFFF !important;
  font-weight: 600;
  padding: 8px 16px !important;
  border-radius: 20px;
}
.btn-app:hover { filter: brightness(1.05); color: #FFFFFF !important; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--title);
  position: relative;
}
.menu-toggle span::before, .menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--title);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* 手机顶部 */
.mobile-header {
  display: none;
  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: 62px;
}
.mobile-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 0 12px;
}
.mobile-header .brand img { height: 30px; }
.mobile-header .brand-name { font-size: 16px; }

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

/* Hero Banner */
.hero-banner {
  position: relative;
  width: 100%;
  max-height: 520px;
  aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, #0A315E 0%, #1677EE 50%, #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;
  color: #FFFFFF;
  padding: 40px 24px;
  max-width: 800px;
}
.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.hero-content p {
  font-size: 18px;
  color: #DCEEFF;
  margin-bottom: 28px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(135deg, #3998FF 0%, #1677EE 55%, #075FC6 100%);
  border-radius: 24px;
  min-height: 48px;
  box-shadow: var(--shadow-brand);
  transition: transform 0.2s, filter 0.2s;
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); color: #FFFFFF; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 24px;
  min-height: 48px;
  backdrop-filter: blur(4px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.28); color: #FFFFFF; }

/* 四格入口 */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: -40px auto 48px;
  position: relative;
  z-index: 5;
  max-width: 1320px;
  padding: 0 24px;
}
.entry-card {
  background: #FFFFFF;
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}
.entry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-brand);
}
.entry-card h3 {
  font-size: 18px;
  color: var(--title);
  margin-bottom: 8px;
  font-weight: 600;
}
.entry-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 通用区块 */
.section {
  padding: 56px 0;
}
.section-soft { background: var(--bg-soft); }
.section-blue { background: var(--bg-blue); }
.section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 12px;
  line-height: 1.3;
}
.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 640px;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-header .more {
  font-size: 14px;
  color: var(--brand);
  font-weight: 500;
  white-space: nowrap;
}

/* 今日值得看 */
.featured-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
.featured-main {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.featured-main .media-slot {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #E5F1FF, #F7FAFF);
}
.featured-main .content {
  padding: 24px;
}
.featured-main h3 {
  font-size: 22px;
  color: var(--title);
  margin-bottom: 10px;
  line-height: 1.35;
}
.featured-main p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
}
.featured-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.featured-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color 0.2s;
}
.featured-item:hover { border-color: rgba(22,119,238,0.3); }
.featured-item h4 {
  font-size: 16px;
  color: var(--title);
  margin-bottom: 6px;
  font-weight: 600;
}
.featured-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.featured-short {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.featured-short .item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.featured-short h5 {
  font-size: 15px;
  color: var(--title);
  margin-bottom: 4px;
  font-weight: 600;
}
.featured-short p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 城市生活志图文 */
.city-feature {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 40px;
  align-items: center;
}
.city-feature-image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #E5F1FF, #F7FAFF);
  border: 1px solid var(--border);
}
.city-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.city-feature-text h2 {
  font-size: 28px;
  color: var(--title);
  margin-bottom: 16px;
}
.city-feature-text p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.7;
}
.city-feature-text .btn-primary { margin-top: 8px; }

/* 时间板 */
.time-boards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.time-board {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  min-height: 200px;
}
.time-board .label {
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.time-board h3 {
  font-size: 18px;
  color: var(--title);
  margin-bottom: 10px;
}
.time-board p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 兴趣墙 */
.interest-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.interest-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  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: 600;
}
.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: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.exp-item h3 {
  font-size: 17px;
  color: var(--title);
  margin-bottom: 10px;
  font-weight: 600;
}
.exp-item p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
}

/* 故事 */
.story-main {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.story-main h3 {
  font-size: 22px;
  color: var(--title);
  margin-bottom: 14px;
}
.story-main p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 12px;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.story-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.story-card h4 {
  font-size: 16px;
  color: var(--title);
  margin-bottom: 8px;
  font-weight: 600;
}
.story-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 热议 */
.topic-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.topic-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.topic-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
  flex-shrink: 0;
  width: 32px;
}
.topic-item h3 {
  font-size: 16px;
  color: var(--title);
  margin-bottom: 6px;
  font-weight: 600;
}
.topic-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* 指南 */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.guide-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.guide-card h3 {
  font-size: 17px;
  color: var(--title);
  margin-bottom: 10px;
  font-weight: 600;
}
.guide-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
}

/* 影集 */
.album-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.media-slot {
  background: linear-gradient(145deg, #E5F1FF 0%, #F7FAFF 60%, #FFFFFF 100%);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.media-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-slot.wide { grid-column: 1; grid-row: 1 / 3; aspect-ratio: 3 / 4; min-height: 360px; }
.media-slot.mid { aspect-ratio: 4 / 3; min-height: 170px; }
.media-slot.small { aspect-ratio: 1 / 1; min-height: 140px; }

/* 脉搏 */
.pulse-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pulse-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  flex-shrink: 0;
}
.pulse-item p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}

/* APP 区 */
.app-section {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 40px;
  align-items: center;
}
.app-text h2 {
  font-size: 28px;
  color: var(--title);
  margin-bottom: 16px;
}
.app-text p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.7;
}
.app-preview-image {
  max-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #E5F1FF, #F7FAFF);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 24px;
  overflow: hidden;
}
.app-preview-image img {
  max-height: 480px;
  width: auto;
  object-fit: contain;
}

/* 安全区 */
.security-block {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #FFFFFF;
}
.security-block h2 {
  font-size: 26px;
  color: #FFFFFF;
  margin-bottom: 16px;
}
.security-block p {
  font-size: 15px;
  color: #DCEEFF;
  margin-bottom: 12px;
  line-height: 1.7;
}
.security-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.security-list li {
  font-size: 14px;
  color: #DCEEFF;
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}
.security-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: #3395FF;
  border-radius: 50%;
}

/* 隐私 */
.privacy-block {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.privacy-block h2 {
  font-size: 24px;
  color: var(--title);
  margin-bottom: 14px;
}
.privacy-block p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.7;
}
.privacy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.privacy-tags span {
  background: var(--bg-blue);
  color: var(--brand-deep);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
}

/* 内页通用 */
.page-hero {
  background: linear-gradient(135deg, #0A315E 0%, #1677EE 100%);
  padding: 56px 0 48px;
  color: #FFFFFF;
}
.page-hero h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.25;
}
.page-hero p {
  font-size: 17px;
  color: #DCEEFF;
  max-width: 640px;
  line-height: 1.6;
}
.page-content {
  padding: 48px 0 64px;
}
.page-content h2 {
  font-size: 26px;
  color: var(--title);
  margin: 36px 0 16px;
  font-weight: 700;
}
.page-content h3 {
  font-size: 20px;
  color: var(--title);
  margin: 28px 0 12px;
  font-weight: 600;
}
.page-content p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.75;
  max-width: 820px;
}
.page-content ul, .page-content ol {
  margin: 12px 0 20px 24px;
  max-width: 820px;
}
.page-content li {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.65;
  list-style: disc;
}
.article-block {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}
.article-block h3 {
  font-size: 18px;
  color: var(--title);
  margin: 0 0 12px;
}
.article-block p {
  font-size: 15px;
  margin-bottom: 0;
  max-width: none;
}

/* 兴趣索引页 */
.interest-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.interest-block {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.interest-block h2 {
  font-size: 20px;
  color: var(--title);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.interest-block p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.65;
  max-width: none;
}
.interest-block .meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* 页脚 */
.site-footer {
  background: var(--navy-dark);
  color: #DCEEFF;
  padding: 56px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-brand img {
  height: 32px;
  margin-bottom: 12px;
  object-fit: contain;
}
.footer-brand .name {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}
.footer-brand .en {
  font-size: 13px;
  color: #929BA8;
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}
.footer-brand p {
  font-size: 14px;
  color: #B8C4D4;
  line-height: 1.65;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 14px;
  color: #FFFFFF;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: #A8B8CC;
  margin-bottom: 10px;
  min-height: 28px;
}
.footer-col a:hover { color: #FFFFFF; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #7A8BA0;
}

/* 超级菜单 / Mega Menu */
.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, visibility 0.25s;
}
.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;
  box-shadow: -12px 0 40px rgba(0,0,0,0.12);
}
.mega-menu.open { transform: translateX(0); }
.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: #FFFFFF;
  z-index: 2;
}
.mega-header .brand img { height: 32px; }
.mega-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 24px;
  color: var(--text);
}
.mega-close:hover { background: var(--bg-blue); }
.mega-body {
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.mega-group h3 {
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.mega-group a {
  display: block;
  font-size: 15px;
  color: var(--title);
  padding: 8px 0;
  min-height: 40px;
  border-bottom: 1px solid transparent;
}
.mega-group a:hover {
  color: var(--brand);
  border-bottom-color: var(--border);
}

/* 搜索面板 */
.search-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  z-index: 1300;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  visibility: hidden;
  pointer-events: none;
}
.search-panel.open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}
.search-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
}
.search-inner input {
  flex: 1;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 0 20px;
  font-size: 16px;
  color: var(--text);
  outline: none;
}
.search-inner input:focus { border-color: var(--brand); }
.search-inner button {
  height: 48px;
  padding: 0 24px;
  background: linear-gradient(135deg, #3998FF, #1677EE);
  color: #FFFFFF;
  border-radius: 24px;
  font-weight: 600;
  font-size: 15px;
}
.search-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  font-size: 22px;
  color: var(--text-secondary);
}

/* 手机底部导航 */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--border);
  z-index: 900;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.04);
}
.mobile-bottom-nav ul {
  display: flex;
  height: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.mobile-bottom-nav li {
  flex: 1;
  display: flex;
}
.mobile-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-secondary);
  gap: 2px;
  min-height: 44px;
}
.mobile-bottom-nav a.active { color: var(--brand); font-weight: 600; }
.mobile-bottom-nav .icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: currentColor;
  opacity: 0.25;
}
.mobile-bottom-nav a.active .icon { opacity: 0.9; background: var(--brand); }

/* FAQ */
details {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  padding: 0;
}
summary {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--title);
  cursor: pointer;
  list-style: none;
  min-height: 52px;
  display: flex;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
details[open] summary { border-bottom: 1px solid var(--border); }
details p {
  padding: 16px 20px 20px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
  max-width: none;
}

/* 响应式 */
@media (max-width: 1280px) {
  .entry-grid { gap: 16px; }
  .interest-wall { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
  .footer-top .footer-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .desktop-nav { gap: 0; }
  .desktop-nav a { padding: 8px 10px; font-size: 14px; }
  .featured-layout { grid-template-columns: 1fr; }
  .city-feature { grid-template-columns: 1fr; gap: 24px; }
  .city-feature-image { order: -1; max-height: 360px; }
  .time-boards { grid-template-columns: repeat(2, 1fr); }
  .interest-wall { grid-template-columns: repeat(3, 1fr); }
  .exp-list { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .album-grid { grid-template-columns: 1fr 1fr; }
  .media-slot.wide { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; min-height: 220px; }
  .app-section { grid-template-columns: 1fr; gap: 28px; }
  .app-preview-image { max-width: 320px; margin: 0 auto; }
  .security-list { grid-template-columns: 1fr; }
  .mega-body { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  .site-header { display: none; }
  .mobile-header { display: block; }
  .mobile-bottom-nav { display: block; }
  main { padding-bottom: 80px; }
  .hero-banner { aspect-ratio: 16 / 10; max-height: 380px; }
  .hero-content h1 { font-size: 32px; }
  .hero-content p { font-size: 15px; }
  .entry-grid { grid-template-columns: repeat(2, 1fr); margin-top: -28px; gap: 12px; }
  .entry-card { padding: 20px 14px; }
  .entry-card h3 { font-size: 16px; }
  .section { padding: 40px 0; }
  .section-title { font-size: 24px; }
  .featured-short { grid-template-columns: 1fr; }
  .time-boards { grid-template-columns: 1fr; }
  .interest-wall { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .topic-list { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .album-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .interest-index { grid-template-columns: 1fr; }
  .page-hero { padding: 40px 0 36px; }
  .page-hero h1 { font-size: 30px; }
  .page-content { padding: 36px 0 48px; }
  .page-content h2 { font-size: 22px; }
  .mega-menu { width: 100%; }
  .mega-body { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .security-block { padding: 28px 20px; }
  .privacy-block { padding: 24px 18px; }
}
@media (max-width: 560px) {
  .container, .container-mid, .container-narrow { padding: 0 16px; }
  .hero-content h1 { font-size: 28px; }
  .entry-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .entry-card { padding: 16px 12px; }
  .section-title { font-size: 22px; }
  .interest-wall { grid-template-columns: 1fr 1fr; gap: 10px; }
  .interest-item { padding: 14px 10px; }
  .interest-item h3 { font-size: 15px; }
}

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