/* 海角社区 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;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1677EE; text-decoration: none; transition: color .2s, background .2s, opacity .2s; }
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; }
h1, h2, h3, h4, h5, h6 { color: #16243A; font-weight: 650; line-height: 1.35; }
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* 顶部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(22,119,238,0.12);
  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-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: #16243A;
  white-space: nowrap;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.desktop-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 15px;
  color: #3C485A;
  border-radius: 8px;
  min-height: 44px;
  white-space: nowrap;
  position: relative;
}
.desktop-nav a:hover { background: #EDF5FF; color: #1677EE; }
.desktop-nav a.active {
  background: #E5F1FF;
  color: #1677EE;
  font-weight: 600;
}
.desktop-nav a.active::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1677EE;
  flex-shrink: 0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header-actions a,
.header-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 14px;
  color: #3C485A;
  border-radius: 8px;
}
.header-actions a:hover,
.header-actions button:hover { background: #EDF5FF; color: #1677EE; }
.header-actions a.active { background: #E5F1FF; color: #1677EE; font-weight: 600; }
.btn-menu-icon,
.btn-search-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.mobile-top {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 62px;
}
.mobile-top .brand-logo { height: 30px; }
.mobile-top .brand-name { font-size: 16px; }

/* 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 .25s, visibility .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 .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 rgba(22,119,238,0.12);
  background: #F7FAFF;
}
.mega-header .brand { gap: 12px; }
.mega-header .brand-logo { height: 34px; }
.mega-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #3C485A;
  font-size: 24px;
}
.mega-close:hover { background: #EDF5FF; color: #1677EE; }
.mega-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 28px;
}
.mega-group h3 {
  font-size: 14px;
  color: #6B7787;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mega-group a {
  display: block;
  padding: 10px 12px;
  font-size: 15px;
  color: #16243A;
  border-radius: 8px;
  min-height: 44px;
  line-height: 1.4;
}
.mega-group a:hover { background: #EDF5FF; color: #1677EE; }

/* 搜索面板 */
.search-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  z-index: 1300;
  padding: 24px;
  border-bottom: 1px solid rgba(22,119,238,0.12);
  box-shadow: 0 12px 34px rgba(30,72,120,0.08);
  transform: translateY(-100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .25s, visibility .25s;
}
.search-panel.open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}
.search-form {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
}
.search-form input {
  flex: 1;
  height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(22,119,238,0.2);
  border-radius: 10px;
  font-size: 16px;
  color: #16243A;
  background: #F7FAFF;
}
.search-form input:focus { outline: none; border-color: #1677EE; background: #fff; }
.search-form button {
  height: 48px;
  padding: 0 24px;
  background: linear-gradient(135deg, #3998FF 0%, #1677EE 55%, #075FC6 100%);
  color: #FFFFFF;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  min-width: 88px;
}
.search-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #6B7787;
  border-radius: 8px;
}
.search-close:hover { background: #EDF5FF; color: #1677EE; }

/* 手机底部导航 */
.mobile-bottom {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 58px;
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: rgba(255,255,255,0.97);
  border-top: 1px solid rgba(22,119,238,0.12);
  z-index: 900;
  justify-content: space-around;
  align-items: center;
}
.mobile-bottom a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1;
  min-height: 48px;
  font-size: 11px;
  color: #6B7787;
  padding: 6px 4px;
}
.mobile-bottom a.active,
.mobile-bottom a:hover { color: #1677EE; }
.mobile-bottom svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 主内容区 */
main { min-height: 60vh; padding-bottom: 40px; }
.page-hero {
  background: linear-gradient(160deg, #0A315E 0%, #08488D 45%, #1677EE 100%);
  color: #FFFFFF;
  padding: 48px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: 40px;
  color: #FFFFFF;
  margin-bottom: 14px;
  max-width: 800px;
}
.page-hero .lead {
  font-size: 17px;
  color: #DCEEFF;
  max-width: 680px;
  line-height: 1.75;
}
.section {
  padding: 56px 0;
}
.section-alt { background: #F7FAFF; }
.section-soft { background: #EDF5FF; }
.section-title {
  font-size: 30px;
  margin-bottom: 12px;
}
.section-desc {
  font-size: 15px;
  color: #6B7787;
  margin-bottom: 32px;
  max-width: 720px;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-header .more {
  font-size: 14px;
  color: #1677EE;
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* 首页 Banner */
.hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  max-height: 520px;
  background: linear-gradient(135deg, #0A315E 0%, #1677EE 50%, #3395FF 100%);
  overflow: hidden;
  border-radius: 0 0 16px 16px;
}
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 40px 48px;
  background: linear-gradient(to top, rgba(7,29,55,0.78) 0%, rgba(7,29,55,0.25) 50%, transparent 100%);
}
.hero-banner-content .inner {
  max-width: 640px;
}
.hero-banner-content h1 {
  font-size: 48px;
  color: #FFFFFF;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.hero-banner-content p {
  font-size: 17px;
  color: #DCEEFF;
  margin-bottom: 20px;
  line-height: 1.7;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  background: linear-gradient(135deg, #3998FF 0%, #1677EE 55%, #075FC6 100%);
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(22,119,238,0.14);
}
.btn-primary:hover { opacity: 0.92; color: #FFFFFF !important; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #FFFFFF !important;
  font-size: 15px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
}
.btn-outline:hover { background: rgba(255,255,255,0.18); color: #FFFFFF !important; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* 四格导航 */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -36px;
  position: relative;
  z-index: 2;
}
.nav-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 12px 34px rgba(30,72,120,0.08);
  border: 1px solid rgba(22,119,238,0.1);
  transition: transform .2s, box-shadow .2s;
  min-height: 140px;
}
.nav-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(22,119,238,0.14);
}
.nav-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #16243A;
}
.nav-card p {
  font-size: 14px;
  color: #6B7787;
  line-height: 1.55;
}
.nav-card a {
  display: block;
  color: inherit;
  height: 100%;
}

/* 内容卡片 */
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.content-card {
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid rgba(22,119,238,0.1);
  overflow: hidden;
  transition: box-shadow .2s;
}
.content-card:hover { box-shadow: 0 12px 34px rgba(30,72,120,0.08); }
.content-card .card-body { padding: 20px 22px; }
.content-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.content-card h3 a { color: #16243A; }
.content-card h3 a:hover { color: #1677EE; }
.content-card p {
  font-size: 14.5px;
  color: #6B7787;
  line-height: 1.65;
}
.tag {
  display: inline-block;
  font-size: 12px;
  color: #1677EE;
  background: #EDF5FF;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.media-slot {
  background: linear-gradient(145deg, #E5F1FF 0%, #F7FAFF 60%, #FFFFFF 100%);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.media-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-slot-wide { aspect-ratio: 16 / 9; }
.media-slot-mid { aspect-ratio: 4 / 3; }
.media-slot-sq { aspect-ratio: 1 / 1; }
.media-slot-portrait { aspect-ratio: 9 / 16; max-height: 520px; }

/* 城市生活重点视觉 */
.city-feature {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 36px;
  align-items: center;
}
.city-feature-image {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #E5F1FF, #F7FAFF);
}
.city-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.city-feature-text h2 {
  font-size: 28px;
  margin-bottom: 14px;
}
.city-feature-text p {
  font-size: 15.5px;
  color: #3C485A;
  margin-bottom: 12px;
  line-height: 1.75;
}

/* 时间板 */
.time-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.time-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 22px 18px;
  border: 1px solid rgba(22,119,238,0.1);
}
.time-card .time-label {
  font-size: 13px;
  color: #1677EE;
  font-weight: 600;
  margin-bottom: 8px;
}
.time-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.time-card p {
  font-size: 14px;
  color: #6B7787;
  line-height: 1.6;
}

/* 兴趣墙 */
.interest-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.interest-item {
  background: #FFFFFF;
  border: 1px solid rgba(22,119,238,0.12);
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.interest-item:hover {
  border-color: #1677EE;
  box-shadow: 0 8px 24px rgba(22,119,238,0.1);
}
.interest-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.interest-item p {
  font-size: 13px;
  color: #6B7787;
  line-height: 1.5;
}

/* 故事 */
.story-main {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 32px;
  border: 1px solid rgba(22,119,238,0.1);
  margin-bottom: 24px;
}
.story-main h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
.story-main p {
  font-size: 15.5px;
  line-height: 1.8;
  color: #3C485A;
  margin-bottom: 12px;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.story-short {
  background: #F7FAFF;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid rgba(22,119,238,0.08);
}
.story-short h4 {
  font-size: 16px;
  margin-bottom: 8px;
}
.story-short p {
  font-size: 14px;
  color: #6B7787;
  line-height: 1.65;
}

/* 讨论主题 */
.topic-list {
  display: grid;
  gap: 14px;
}
.topic-item {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 18px 22px;
  border: 1px solid rgba(22,119,238,0.1);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.topic-item .num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #EDF5FF;
  color: #1677EE;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.topic-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.topic-item p {
  font-size: 14px;
  color: #6B7787;
}

/* 影集 */
.album-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.album-grid .slot-1 { grid-row: 1 / 3; }
.album-grid .media-slot { border-radius: 12px; }

/* APP 区 */
.app-feature {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 40px;
  align-items: center;
}
.app-preview-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.app-preview-image img {
  max-height: 480px;
  width: auto;
  object-fit: contain;
  max-width: 100%;
}
.app-feature-text h2 {
  font-size: 28px;
  margin-bottom: 14px;
}
.app-feature-text p {
  font-size: 15.5px;
  margin-bottom: 12px;
  color: #3C485A;
  line-height: 1.75;
}
.app-feature-text ul {
  margin: 16px 0 24px;
}
.app-feature-text li {
  font-size: 15px;
  color: #3C485A;
  padding: 6px 0 6px 20px;
  position: relative;
}
.app-feature-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1677EE;
}

/* 安全中心深蓝 */
.security-block {
  background: #0A315E;
  border-radius: 14px;
  padding: 36px 32px;
  color: #DCEEFF;
}
.security-block h2 {
  color: #FFFFFF;
  font-size: 26px;
  margin-bottom: 16px;
}
.security-block p,
.security-block li {
  color: #DCEEFF;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 10px;
}
.security-block ul { margin-top: 12px; }
.security-block li {
  padding-left: 18px;
  position: relative;
}
.security-block li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #3395FF;
  font-weight: 700;
}

/* 隐私块 */
.privacy-block {
  background: #FFFFFF;
  border: 1.5px solid #E5F1FF;
  border-radius: 14px;
  padding: 32px;
}
.privacy-block h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.privacy-block p {
  font-size: 15px;
  color: #3C485A;
  line-height: 1.7;
}

/* 信息条 */
.pulse-list {
  display: grid;
  gap: 12px;
}
.pulse-item {
  background: #FFFFFF;
  border-left: 3px solid #1677EE;
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  border: 1px solid rgba(22,119,238,0.1);
  border-left: 3px solid #1677EE;
}
.pulse-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.pulse-item p {
  font-size: 14px;
  color: #6B7787;
}

/* 指南列表 */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.guide-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(22,119,238,0.1);
}
.guide-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.guide-card p {
  font-size: 14.5px;
  color: #6B7787;
  line-height: 1.65;
}

/* 文章正文区 */
.article-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.article-body {
  font-size: 16px;
  line-height: 1.85;
  color: #3C485A;
}
.article-body p { margin-bottom: 16px; }
.article-body h2 {
  font-size: 24px;
  margin: 32px 0 14px;
}
.article-body h3 {
  font-size: 19px;
  margin: 24px 0 10px;
}
.article-body ul, .article-body ol {
  margin: 12px 0 20px 24px;
}
.article-body li {
  margin-bottom: 8px;
  list-style: disc;
}
.article-body ol li { list-style: decimal; }

/* FAQ */
.faq-list details {
  background: #FFFFFF;
  border: 1px solid rgba(22,119,238,0.12);
  border-radius: 10px;
  margin-bottom: 12px;
  padding: 0;
  overflow: hidden;
}
.faq-list summary {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #16243A;
  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 rgba(22,119,238,0.1); background: #F7FAFF; }
.faq-list details p {
  padding: 16px 20px 20px;
  font-size: 15px;
  color: #3C485A;
  line-height: 1.75;
}

/* 页脚 */
.site-footer {
  background: #071D37;
  color: #DCEEFF;
  padding: 56px 0 32px;
  margin-top: 40px;
  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 .brand {
  margin-bottom: 16px;
}
.footer-brand .brand-logo {
  height: 32px;
  filter: brightness(1.1);
}
.footer-brand .brand-name {
  color: #FFFFFF;
  font-size: 17px;
}
.footer-brand p {
  font-size: 14px;
  color: #A8C0D8;
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 14px;
  color: #FFFFFF;
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: #A8C0D8;
  padding: 6px 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;
}

/* 面包屑与内页标题 */
.breadcrumb {
  font-size: 13px;
  color: #6B7787;
  margin-bottom: 16px;
}
.breadcrumb a { color: #6B7787; }
.breadcrumb a:hover { color: #1677EE; }
.page-intro {
  padding: 40px 0 20px;
}
.page-intro h1 {
  font-size: 38px;
  margin-bottom: 12px;
}
.page-intro .lead {
  font-size: 16px;
  color: #6B7787;
  max-width: 720px;
  line-height: 1.7;
}

/* 编辑墙 */
.edit-wall {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
.edit-main {
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(22,119,238,0.1);
}
.edit-main .media-slot { aspect-ratio: 16 / 9; border-radius: 0; }
.edit-main .card-body { padding: 24px; }
.edit-main h2 {
  font-size: 22px;
  margin-bottom: 10px;
}
.edit-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.edit-side .content-card { flex: 1; }

/* 路线结构 */
.route-steps {
  display: grid;
  gap: 16px;
}
.route-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 22px;
  border: 1px solid rgba(22,119,238,0.1);
}
.route-step .step-label {
  font-size: 13px;
  font-weight: 700;
  color: #1677EE;
  text-align: center;
  padding-top: 4px;
}
.route-step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.route-step p {
  font-size: 14.5px;
  color: #6B7787;
  line-height: 1.65;
}

/* 原则列表 */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.principle-item {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(22,119,238,0.1);
}
.principle-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: #1677EE;
}
.principle-item p {
  font-size: 14.5px;
  color: #3C485A;
  line-height: 1.7;
}

/* 今日值得看特殊布局 */
.today-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}
.today-featured {
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(22,119,238,0.1);
}
.today-featured .media-slot { aspect-ratio: 16 / 9; border-radius: 0; }
.today-featured .card-body { padding: 24px; }
.today-featured h2 {
  font-size: 22px;
  margin-bottom: 10px;
}
.today-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.today-side .content-card h3 { font-size: 16px; }
.today-shorts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

/* 响应式 */
@media (max-width: 1280px) {
  .container { padding: 0 20px; }
  .nav-grid { gap: 16px; }
  .interest-wall { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; }
  .footer-top > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .mobile-top { display: flex; }
  .header-inner { height: 62px; }
  .site-header { height: 62px; }
  .mega-body { grid-template-columns: repeat(2, 1fr); }
  .nav-grid { grid-template-columns: repeat(2, 1fr); margin-top: -28px; }
  .city-feature { grid-template-columns: 1fr; }
  .city-feature-image { order: -1; max-height: 360px; }
  .app-feature { grid-template-columns: 1fr; }
  .app-preview-image { order: -1; }
  .app-preview-image img { max-height: 360px; max-width: 280px; }
  .time-board { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3, .card-grid-4, .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .interest-wall { grid-template-columns: repeat(3, 1fr); }
  .album-grid { grid-template-columns: 1fr 1fr; }
  .album-grid .slot-1 { grid-row: auto; grid-column: 1 / -1; }
  .edit-wall, .today-layout { grid-template-columns: 1fr; }
  .today-shorts { grid-template-columns: 1fr; }
  .hero-banner-content h1 { font-size: 36px; }
  .page-hero h1, .page-intro h1 { font-size: 32px; }
  .section-title { font-size: 26px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .mobile-bottom { display: flex; }
  main { padding-bottom: 80px; }
  .site-footer { margin-bottom: 58px; }
  .mega-body { grid-template-columns: 1fr; padding: 20px; }
  .mega-menu { width: 100%; }
  .hero-banner { aspect-ratio: 16 / 10; border-radius: 0; }
  .hero-banner-content { padding: 28px 20px; }
  .hero-banner-content h1 { font-size: 28px; }
  .hero-banner-content p { font-size: 15px; }
  .nav-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
  .nav-card { min-height: 120px; padding: 18px 14px; }
  .section { padding: 40px 0; }
  .time-board { grid-template-columns: 1fr; }
  .card-grid-2, .card-grid-3, .card-grid-4, .guide-grid { grid-template-columns: 1fr; }
  .interest-wall { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .principle-grid { grid-template-columns: 1fr; }
  .route-step { grid-template-columns: 1fr; gap: 8px; }
  .page-intro h1 { font-size: 28px; }
  .section-title { font-size: 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .story-main { padding: 22px; }
  .security-block { padding: 28px 20px; }
  .app-preview-image img { max-width: 240px; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .nav-grid { grid-template-columns: 1fr; }
  .interest-wall { grid-template-columns: 1fr 1fr; gap: 10px; }
  .interest-item { padding: 14px 10px; }
  .interest-item h3 { font-size: 15px; }
  .hero-banner-content h1 { font-size: 26px; }
  .btn-row { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; }
  .header-actions .hide-xs { display: none; }
}

/* 工具类 */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mb-16 { margin-bottom: 16px; }
.mt-16 { margin-top: 16px; }
.soft-box {
  background: #F7FAFF;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(22,119,238,0.08);
}
.list-check li {
  padding: 8px 0 8px 22px;
  position: relative;
  font-size: 15px;
  color: #3C485A;
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1677EE;
}
