/* ============================================================
   18N-MSPA 北纬18度椰青摄联
   视觉体系：深炭灰 + 磨砂玻璃 + 银色渐变 + 青蓝强调色
   ============================================================ */

:root {
  --bg:          #101113;
  --bg-soft:     #17191c;
  --glass:       rgba(255, 255, 255, 0.045);
  --glass-hover: rgba(255, 255, 255, 0.075);
  --line:        rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text:        #e9ecef;
  --muted:       #8f979f;
  --accent-a:    #4fb3e8;
  --accent-b:    #35d6c0;
  --radius:      20px;
  --maxw:        1180px;
  --nav-h:       68px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 720px at 78% -14%, rgba(79, 179, 232, 0.11), transparent 62%),
    radial-gradient(900px 620px at 4% 6%, rgba(53, 214, 192, 0.07), transparent 64%),
    radial-gradient(1300px 820px at 52% 110%, rgba(79, 179, 232, 0.07), transparent 62%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
               "Hiragino Sans GB", "Source Han Sans SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

/* ---------- 通用工具类 ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.silver {
  background: linear-gradient(180deg, #ffffff 0%, #d7dde3 44%, #8b939b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grad {
  background: linear-gradient(100deg, var(--accent-a), var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}

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

/* ---------- 导航 ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(16, 17, 19, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.brand .mark {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.brand .cn {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* 导航栏图标：从整张 logo 里裁出「相机+椰树」，黑底用滤色剔除 */
.logo-mark {
  position: relative;
  width: 38px;
  height: 44px;
  flex: 0 0 auto;
  overflow: hidden;
}

.logo-mark img {
  position: absolute;
  width: 131px;
  max-width: none;
  left: -46px;
  top: -30px;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav ul a {
  font-size: 14.5px;
  color: var(--muted);
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}

.nav ul a:hover { color: var(--text); }

.nav ul a.is-active { color: var(--text); }

.nav ul a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
  transform: scale(1.04);
  filter: saturate(116%) contrast(1.04) brightness(1.03);
  animation: heroDrift 26s cubic-bezier(0.22, 0.7, 0.2, 1) both;
}

/* 极慢的推近，让静态照片有一点呼吸 */
@keyframes heroDrift {
  from { transform: scale(1.09); }
  to   { transform: scale(1.01); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; transform: scale(1.02); }
}

/* 遮罩：顶部压一点保证导航衔接，中间几乎放开让火烧云透出来，
   底部再收暗接回页面背景。原来中下部 0.90 把水面的细节全压没了。 */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(16,17,19,0.74) 0%,
      rgba(16,17,19,0.34) 14%,
      rgba(16,17,19,0.08) 32%,
      rgba(16,17,19,0.14) 50%,
      rgba(16,17,19,0.46) 72%,
      rgba(16,17,19,0.82) 89%,
      #101113 100%),
    radial-gradient(120% 92% at 50% 42%, transparent 46%, rgba(10, 12, 15, 0.5) 100%);
}

.hero-body {
  position: relative;
  z-index: 1;
  padding: 0 0 110px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* 文字底下垫一层很淡的暗雾，保证压在高光云上也读得清 */
.hero-body::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1120px, 96vw);
  height: min(560px, 76vh);
  transform: translate(-50%, -52%);
  background: radial-gradient(closest-side, rgba(6, 8, 10, 0.62), rgba(6, 8, 10, 0.34) 55%, rgba(6, 8, 10, 0.10) 74%, transparent 88%);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

.hero h1.silver {
  background-image: linear-gradient(180deg, #ffffff 0%, #f4f7fa 42%, #cdd6de 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(38px, 6.4vw, 78px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 8px 56px rgba(0, 0, 0, 0.55);
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.hero p.lead {
  margin: 0 auto 38px;
  max-width: 40em;
  font-size: clamp(15px, 1.6vw, 18px);
  color: #d8dee4;
  line-height: 1.9;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.6);
}

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

.hero-meta {
  position: absolute;
  right: 28px;
  bottom: 34px;
  text-align: right;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
}

.hero-meta::after {
  content: "";
  display: block;
  width: 1px;
  height: 54px;
  margin: 12px 0 0 auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  transform-origin: top center;
  animation: scrollCue 2.6s ease-in-out infinite;
}

@keyframes scrollCue {
  0%, 100% { transform: scaleY(0.35); opacity: 0.35; }
  45%      { transform: scaleY(1);    opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-meta::after { animation: none; transform: scaleY(1); opacity: 0.5; }
}

/* ---------- 首屏 logo 展示 ---------- */

.hero-logo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  /* 抵消 logo 图片自身上下的大片透明留白，让内容整体上移 */
  margin: -66px 0 -86px;
}

/* 背后的柔光，让 logo 从照片里浮起来 */
.hero-logo-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 380px;
  height: 240px;
  max-width: 86vw;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(79, 179, 232, 0.18), transparent 74%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-logo {
  position: relative;
  display: block;
  width: 300px;
  max-width: 68vw;
  height: auto;
  animation: logoIn 1.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* 开场：从模糊到清晰 */
@keyframes logoIn {
  0% {
    opacity: 0;
    filter: blur(22px) brightness(1.8) drop-shadow(0 0 0 rgba(79, 179, 232, 0));
    transform: scale(1.06);
  }
  55% {
    opacity: 0.92;
  }
  100% {
    opacity: 1;
    filter: blur(0) brightness(1) drop-shadow(0 2px 22px rgba(0, 0, 0, 0.55))
            drop-shadow(0 0 26px rgba(79, 179, 232, 0.22));
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo {
    animation: none;
    filter: drop-shadow(0 2px 22px rgba(0, 0, 0, 0.55));
  }
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
  background: linear-gradient(100deg, var(--accent-a), var(--accent-b));
  color: #06171d;
  font-weight: 600;
  box-shadow: 0 12px 34px rgba(79, 179, 232, 0.26);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(79, 179, 232, 0.34);
}

.btn-ghost {
  background: var(--glass);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.btn-ghost:hover {
  background: var(--glass-hover);
  transform: translateY(-2px);
}

/* 强调用的次级按钮（青蓝描边） */
.btn-accent {
  background: rgba(79, 179, 232, 0.13);
  border-color: rgba(79, 179, 232, 0.5);
  color: #a8d8f4;
}

.btn-accent:hover {
  background: rgba(79, 179, 232, 0.22);
  border-color: rgba(79, 179, 232, 0.75);
  transform: translateY(-2px);
}

/* ---------- 区块 ---------- */

.section {
  padding: 108px 0;
}

.section-head {
  margin-bottom: 54px;
  max-width: 680px;
}

.section-head h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.3;
  font-weight: 700;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- 卡片网格 ---------- */

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

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

.card {
  padding: 34px 30px;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  background: var(--glass-hover);
  border-color: var(--line-strong);
}

.card .idx {
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--muted);
}

.card h3 {
  margin: 16px 0 10px;
  font-size: 19px;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.85;
}

/* ---------- 数字条 ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stats > div {
  background: rgba(20, 22, 25, 0.72);
  padding: 34px 24px;
  text-align: center;
}

.stats strong {
  display: block;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 6px;
}

.stats span {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.12em;
}

/* ---------- 作品墙 ---------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.chip {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.chip:hover { color: var(--text); background: var(--glass-hover); }

.chip.is-on {
  color: #06171d;
  background: linear-gradient(100deg, var(--accent-a), var(--accent-b));
  border-color: transparent;
  font-weight: 600;
}

.wall {
  column-count: 3;
  column-gap: 16px;
}

.wall figure {
  margin: 0 0 16px;
  break-inside: avoid;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #1a1d20;
  cursor: zoom-in;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.wall img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
  opacity: 0;
}

.wall img.is-loaded { opacity: 1; }

.wall figure:hover img { transform: scale(1.035); }

.wall figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 18px 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #e6eaee;
  background: linear-gradient(0deg, rgba(6, 8, 10, 0.82), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wall figure:hover figcaption { opacity: 1; }

/* 触屏没有 hover，标题直接显示 */
@media (hover: none) {
  .wall figcaption {
    opacity: 1;
    background: linear-gradient(0deg, rgba(6, 8, 10, 0.86), rgba(6, 8, 10, 0.10) 62%, transparent);
  }
}

/* ---------- 灯箱 ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  background: rgba(8, 9, 11, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox.is-open { display: flex; }

.lightbox {
  flex-direction: column;
  gap: 14px;
}

.lightbox-cap {
  margin: 0;
  max-width: 90vw;
  text-align: center;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: #c8cfd6;
}

.lightbox img {
  max-width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- 成员 ---------- */

.member {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.member:hover { transform: translateY(-3px); background: var(--glass-hover); }

.member .name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.member .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.member .tags span {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- 引用 ---------- */

.quote {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 70px 40px;
}

.quote blockquote {
  margin: 0 0 26px;
  font-size: clamp(19px, 2.6vw, 27px);
  line-height: 1.75;
  font-weight: 300;
  letter-spacing: 0.03em;
}

.quote cite {
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--muted);
}

/* ---------- 页脚 ---------- */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 60px 0 44px;
  margin-top: 40px;
}

.footer .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.footer .logo {
  height: 132px;
  width: auto;
  opacity: 1;
}

/* 关于页大 logo */
.about-logo {
  width: 100%;
  max-width: 460px;
  margin: 0 auto 20px;
}

.footer .links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

.footer .links a:hover { color: var(--text); }

.footer .copy {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  color: #6d757c;
  letter-spacing: 0.08em;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- 内页页头 ---------- */

.page-head {
  padding: 92px 0 62px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-head h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.2;
  font-weight: 700;
}

.page-head p {
  margin: 0;
  max-width: 46em;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- 正文排版 ---------- */

.prose p {
  margin: 0 0 22px;
  color: #c2c9cf;
  font-size: 16px;
  line-height: 1.95;
}

.prose h3 {
  margin: 46px 0 16px;
  font-size: 21px;
  font-weight: 600;
}

.prose ul {
  margin: 0 0 24px;
  padding-left: 20px;
  color: #c2c9cf;
}

.prose li { margin-bottom: 10px; }

.two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}

/* ---------- 加入页 ---------- */

.auditor {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.auditor:last-of-type { border-bottom: 0; }

.auditor-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.auditor-note {
  margin-top: 6px;
  font-size: 12.8px;
  color: var(--muted);
  line-height: 1.8;
}

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

.step {
  padding: 30px 26px;
}

.step-num {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--accent-a);
}

.step p {
  margin: 0;
  font-size: 14.5px;
  color: #c2c9cf;
  line-height: 1.9;
}

.rules {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 16px;
}

.rules li {
  font-size: 15px;
  color: #c2c9cf;
  line-height: 1.9;
  padding-left: 6px;
}

.rules li::marker {
  color: var(--accent-a);
  font-weight: 600;
}

@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .step { padding: 24px 22px; }
  .rules { padding-left: 18px; }
  .rules li { font-size: 14px; }
}

/* ---------- 入场动画 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .wall { column-count: 2; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  :root { --nav-h: 60px; }

  .nav-toggle { display: block; }

  .nav ul {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 18px;
    background: rgba(14, 15, 17, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
  }

  .nav ul.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav ul li { width: 100%; }

  .nav ul a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav ul a.is-active::after { display: none; }

  .brand .cn { display: none; }

  .section { padding: 72px 0; }

  .hero { min-height: 88vh; }
  .hero-body { padding-bottom: 62px; }
  .hero-meta { display: none; }

  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .wall { column-count: 1; }

  .card { padding: 26px 22px; }
  .quote { padding: 52px 22px; }
  .page-head { padding: 62px 0 44px; }
  .footer .logo { height: 104px; }

  .hero-brand { padding: 8px 16px; margin-bottom: 22px; border-radius: 20px; }
  .hero-logo { width: 220px; }
  .hero-logo-wrap { margin: -48px 0 -64px; }
}

/* ============================================================
   霞光预报页
   ============================================================ */

.fc-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.fc-modes {
  display: flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
}

.fc-mode {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 14.5px;
  letter-spacing: 0.05em;
  padding: 9px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fc-mode.is-on {
  background: linear-gradient(100deg, var(--accent-a), var(--accent-b));
  color: #06171d;
  font-weight: 600;
}

.fc-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fc-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fc-stamp {
  font-size: 12.5px;
  color: #6d757c;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  min-height: 18px;
}

.fc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 等级图例 */
.fc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 22px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.fc-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.fc-legend i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.fc-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 22px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.fc-row:hover {
  background: var(--glass-hover);
  transform: translateX(3px);
  border-color: var(--line-strong);
}

.fc-row.is-top {
  border-color: rgba(79, 179, 232, 0.38);
  box-shadow: 0 10px 34px rgba(79, 179, 232, 0.12);
}

.fc-score {
  --p: 0;
  --c: #8f979f;
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(255, 255, 255, 0.08) 0);
}

.fc-score span {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #15171a;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
}

.fc-main {
  flex: 1 1 auto;
  min-width: 0;
}

.fc-name {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.fc-name b {
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
  margin-right: 6px;
}

.fc-face {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
}

.fc-meta {
  font-size: 12.8px;
  color: var(--muted);
  margin-top: 5px;
  letter-spacing: 0.03em;
}

/* 云层结构判断 */
.fc-prof {
  margin-top: 4px;
  font-size: 12.5px;
  color: #9fd4f2;
  letter-spacing: 0.03em;
}

.fc-faceoff {
  margin-top: 6px;
  font-size: 12.5px;
  color: #e8a96b;
  letter-spacing: 0.02em;
}

.fc-tag {  display: inline-block;
  margin-top: 7px;
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 5px;
  background: rgba(79, 179, 232, 0.14);
  color: #9fd4f2;
}

.fc-level {
  flex: 0 0 auto;
  min-width: 66px;
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.fc-empty {
  padding: 52px 26px;
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 16px;
}

.fc-note {
  margin-top: 36px;
  padding: 30px 32px;
}

.fc-note p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.95;
}

.fc-note p:last-child { margin-bottom: 0; }

.fc-note a { color: var(--accent-a); }

/* ---------- 参考文献 ---------- */

.fc-refs {
  margin-top: 18px;
  padding: 0 30px;
}

.fc-refs summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 0.2s ease;
}

.fc-refs summary:hover { color: var(--text); }
.fc-refs summary::-webkit-details-marker { display: none; }

.fc-refs summary::after {
  content: "＋";
  margin-left: auto;
  font-size: 16px;
  color: var(--accent-a);
}

.fc-refs[open] summary::after { content: "－"; }

.fc-refs ol {
  margin: 0 0 24px;
  padding-left: 20px;
  display: grid;
  gap: 18px;
}

.fc-refs li {
  padding-left: 4px;
  font-size: 13.5px;
  line-height: 1.85;
  color: #c2c9cf;
}

.fc-refs li::marker {
  color: var(--accent-a);
  font-weight: 600;
}

.fc-refs a {
  color: var(--accent-a);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.ref-note {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

.ref-disclaimer {
  margin: 0 0 26px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12.8px;
  line-height: 1.9;
  color: var(--muted);
}

.ref-disclaimer b { color: #c2c9cf; }

@media (max-width: 760px) {
  .fc-refs { padding: 0 20px; }
  .fc-refs li { font-size: 12.8px; }
  .ref-note { font-size: 12px; }
}

/* ---------- 海口详细面板 ---------- */

.fc-detail {
  padding: 28px 30px;
  margin-bottom: 22px;
}

.fcd-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.fcd-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.fcd-sub {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.fcd-share { padding: 11px 22px; font-size: 14px; }

.fcd-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fcd-row {
  display: grid;
  grid-template-columns: 1.1fr repeat(5, 1fr) 0.9fr;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  color: #c2c9cf;
  font-variant-numeric: tabular-nums;
}

.fcd-row:nth-child(even) { background: rgba(255, 255, 255, 0.025); }

.fcd-row-head {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
  background: transparent !important;
  padding-bottom: 6px;
}

.fcd-time { color: #e9ecef; font-weight: 600; }

.fcd-score { font-weight: 700; }

.fcd-tip {
  margin: 20px 0 0;
  font-size: 12.8px;
  color: var(--muted);
  line-height: 1.85;
}

/* ---------- 行内分享按钮 ---------- */

.fc-share {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 15px;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.fc-share:hover {
  background: rgba(79, 179, 232, 0.16);
  color: #9fd4f2;
  border-color: rgba(79, 179, 232, 0.4);
}

/* 反馈按钮 */
.fc-fb {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 14px;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.fc-fb:hover {
  background: rgba(53, 214, 192, 0.16);
  color: #8ff0dc;
  border-color: rgba(53, 214, 192, 0.45);
}

.fc-fb.is-done {
  background: rgba(53, 214, 192, 0.18);
  color: #8ff0dc;
  border-color: rgba(53, 214, 192, 0.5);
}

.fc-fb-hint {
  margin: 24px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  text-align: center;
}

.fc-fb-hint b { color: #c2c9cf; }

/* ---------- 反馈弹窗 ---------- */

.fb-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 9, 11, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.fb-modal.is-open { display: flex; }

.fb-panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 32px 30px 26px;
  border-radius: 22px;
}

.fb-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

.fb-title {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 700;
}

.fb-sub {
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
}

.fb-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.fb-options button {
  font-family: inherit;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s ease;
}

.fb-options button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
}

.fb-options button.is-on {
  background: linear-gradient(100deg, var(--accent-a), var(--accent-b));
  color: #06171d;
  border-color: transparent;
  font-weight: 600;
}

.fb-input {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.fb-input::placeholder { color: #6d757c; }

.fb-input:focus { border-color: rgba(79, 179, 232, 0.5); }

.fb-submit {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

.fb-submit[disabled] {
  opacity: 0.6;
  cursor: default;
}

.fb-tip {
  margin: 14px 0 0;
  font-size: 12px;
  color: #6d757c;
  text-align: center;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .fc-fb { width: 30px; height: 30px; font-size: 13px; }
  .fc-fb, .fc-share { order: 3; }
  .fb-panel { padding: 26px 20px 22px; }
  .fb-title { font-size: 18px; }
  .fb-options button { font-size: 13px; padding: 8px 13px; }
}

.fc-row.is-hl {
  border-color: rgba(53, 214, 192, 0.55);
  box-shadow: 0 0 0 1px rgba(53, 214, 192, 0.25),
              0 12px 34px rgba(53, 214, 192, 0.12);
}

/* ---------- 复制提示 ---------- */

.fc-toast {
  position: fixed;
  left: 50%;
  bottom: 38px;
  transform: translate(-50%, 14px);
  z-index: 300;
  padding: 13px 26px;
  border-radius: 999px;
  background: rgba(20, 22, 25, 0.92);
  color: #e9ecef;
  font-size: 14px;
  letter-spacing: 0.05em;
  border: 1px solid rgba(53, 214, 192, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: all 0.28s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.fc-toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 760px) {
  .fc-row { gap: 13px; padding: 14px 16px; }
  .fc-score { width: 54px; height: 54px; }
  .fc-score span { width: 44px; height: 44px; font-size: 14.5px; }
  .fc-meta { font-size: 11.5px; }
  .fc-level { min-width: auto; font-size: 13px; }
  .fc-name { font-size: 15px; }
  .fc-note { padding: 24px 22px; }

  .fc-detail { padding: 22px 18px; }
  .fcd-title { font-size: 20px; }
  .fcd-row {
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    gap: 6px;
    padding: 9px 10px;
    font-size: 12px;
  }
  .fcd-row > span:nth-child(2),
  .fcd-row > span:nth-child(3) { display: none; }
  .fc-share { width: 30px; height: 30px; font-size: 13px; }
  .fc-toast { font-size: 13px; padding: 11px 20px; }
}

/* ============================================================
   移动端修补（统一覆盖，优先级最高）
   ============================================================ */

@media (max-width: 760px) {
  /* 首屏——原来 88vh + 底部大留白，小屏上会很挤 */
  .hero { min-height: 80vh; }
  /* 竖屏裁切时把地平线压到文字下方，别让亮点正好穿过正文 */
  .hero-media img { object-position: 50% 30%; }
  .hero-body::before {
    width: 112vw;
    height: 64vh;
    background: radial-gradient(closest-side, rgba(6, 8, 10, 0.70), rgba(6, 8, 10, 0.42) 56%, transparent 86%);
  }
  .hero-body { padding: 44px 0 56px; }
  .hero h1 { font-size: clamp(28px, 8.6vw, 40px); line-height: 1.24; }
  .hero p.lead {
    font-size: 14.5px;
    line-height: 1.85;
    margin-bottom: 26px;
  }

  /* 三个按钮竖排，避免 2+1 的难看换行 */
  .hero-actions { flex-direction: column; align-items: center; gap: 10px; }
  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* 区块间距收紧 */
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: clamp(22px, 6.4vw, 30px); }

  /* 预报列表：改成两行式，第一行分数/等级/分享，第二行名称与指标 */
  .fc-row {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 14px 16px;
  }
  .fc-score { order: 1; width: 52px; height: 52px; }
  .fc-score span { width: 42px; height: 42px; font-size: 14px; }
  .fc-level { order: 2; margin-left: auto; min-width: auto; font-size: 13px; }
  .fc-share { order: 3; width: 30px; height: 30px; }
  .fc-main { order: 4; flex: 1 1 100%; min-width: 0; margin-top: 2px; }
  .fc-name { font-size: 15px; }
  .fc-meta { font-size: 11.5px; line-height: 1.75; margin-top: 4px; }
  .fc-prof { font-size: 12px; }

  /* 控制区竖排 */
  .fc-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .fc-picks { justify-content: center; gap: 8px; }
  .fc-modes { justify-content: center; }
  .fc-mode { padding: 9px 15px; font-size: 13.5px; }

  /* 海口详细表格 */
  .fc-detail { padding: 20px 16px; }
  .fcd-head { gap: 14px; margin-bottom: 16px; }
  .fcd-share { width: 100%; justify-content: center; }
  .fcd-row { font-size: 11.5px; gap: 4px; padding: 8px 6px; }
  .fcd-title { font-size: 19px; }
  .fcd-sub { font-size: 12.5px; line-height: 1.8; }

  /* 导航 */
  .nav .wrap { gap: 10px; }
  .brand .mark { font-size: 16px; letter-spacing: 0.12em; }

  /* 卡片内边距 */
  .card { padding: 24px 20px; }
  .stats > div { padding: 26px 16px; }

  /* 图片墙在窄屏逐张显示时不要太高 */
  .wall figure { border-radius: 12px; }
}

@media (max-width: 420px) {
  /* 更窄的屏：详细表格再省一列（AOD） */
  .fcd-row { grid-template-columns: 1.1fr 1fr 1fr 1fr; }
  .fcd-row > span:nth-child(2),
  .fcd-row > span:nth-child(3),
  .fcd-row > span:nth-child(5) { display: none; }

  .hero-brand { display: none; }
  .wrap { padding: 0 16px; }
  .section { padding: 48px 0; }
  .btn { padding: 13px 22px; font-size: 14.5px; }
}
