/* ============================================================
   羊窝 Studio · W3.0.0 深色高级感主题(蓝色主调)
   ============================================================ */
:root {
  --bg: #000000;
  --bg-2: #05070c;
  --card: #10141f;
  --card-2: #151b2b;
  --line: rgba(255, 255, 255, 0.09);
  --text: #e9edf5;
  --muted: #959db1;
  --accent: #2f9bff;
  --accent-2: #7a5cff;
  --teal: #7cc7bf;
  --red: #e26d6d;
  --green: #7bc98b;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Microsoft YaHei", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.75;
  overflow-x: hidden;
  touch-action: manipulation; /* 禁用移动端双击放大 */
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(47, 155, 255, 0.35); }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.85; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: min(1140px, 92%); margin: 0 auto; position: relative; z-index: 1; }
section { padding: 88px 0; scroll-margin-top: 76px; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(5, 7, 12, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: min(1240px, 94%);
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-sans);
  font-size: 17px; font-weight: 600; letter-spacing: .5px;
  color: var(--text); white-space: nowrap;
}
.nav-logo .sheep { font-size: 24px; line-height: 1; }
.nav-logo em { color: var(--accent); font-style: normal; }
.nav-links {
  display: flex; gap: 4px; margin-left: auto;
  flex-wrap: nowrap;
}
.nav-links a {
  color: var(--muted); font-size: 13.5px;
  padding: 7px 12px; border-radius: 999px;
  white-space: nowrap; transition: 0.25s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-links a.active { color: #fff; background: var(--accent); font-weight: 600; }
.nav-cta {
  white-space: nowrap;
  font-size: 13px; font-weight: 600;
  color: #fff !important;
  background: var(--accent);
  padding: 8px 16px; border-radius: 999px;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none; border: 1px solid var(--line);
  color: var(--text); border-radius: 10px;
  width: 40px; height: 40px; font-size: 18px;
}
@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(0,0,0,.97);
    border-bottom: 1px solid transparent;
    max-height: 0; opacity: 0;
    padding-top: 0; padding-bottom: 0;
    overflow: hidden;
    pointer-events: none;
    display: flex;
    transition: max-height .42s ease, opacity .3s ease, padding .42s ease, border-bottom-color .3s ease;
  }
  .nav-links.open {
    max-height: calc(100vh - 64px);
    opacity: 1;
    padding: 12px 4%;
    border-bottom-color: var(--line);
    pointer-events: auto;
  }
  .nav-cta { display: none; }
}

/* ---------- Apple 风首页 Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 110px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; width: min(900px, 92%); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--muted);
  letter-spacing: 4px;
  opacity: 0; animation: riseIn .8s .2s ease forwards;
}
.hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(58px, 12vw, 128px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 26px 0 6px;
  opacity: 0; animation: riseIn .9s .45s ease forwards;
}
.hero h1 .grad {
  background: linear-gradient(110deg, #4f9cff, #9a5cff, #ff5f9e, #ffb64f, #45e8c0, #4f9cff);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 9s linear infinite, hueSpin 8s linear infinite;
}
@keyframes hueSpin { to { filter: hue-rotate(360deg); } }
@keyframes shimmer { to { background-position: 300% 0; } }
.hero-slogan {
  font-size: clamp(15px, 2.2vw, 21px);
  letter-spacing: 3px;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 20px;
  opacity: 0; animation: riseIn .9s .65s ease forwards;
}
.hero p.lead {
  color: var(--muted); font-size: clamp(14px, 1.8vw, 16.5px);
  max-width: 560px; margin: 0 auto;
  opacity: 0; animation: riseIn .9s .8s ease forwards;
}
.hero-actions {
  display: flex; gap: 16px; margin-top: 38px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: riseIn .9s 1s ease forwards;
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
.hero-scroll {
  position: absolute; bottom: 30px; left: 0; right: 0;
  margin: 0 auto; width: max-content; max-width: 92%;
  color: var(--muted); font-size: 12px; letter-spacing: 2px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: 0; animation: riseIn 1s 1.4s ease forwards;
}
.hero-scroll .arrow { animation: bounceY 1.8s ease-in-out infinite; color: var(--accent); font-size: 16px; }
@keyframes bounceY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: none; border-radius: 999px;
  padding: 14px 30px; font-size: 15px; font-weight: 600;
  transition: transform .25s, box-shadow .25s, opacity .25s;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 30px rgba(47,155,255,.32);
}
.btn-primary:hover { box-shadow: 0 14px 38px rgba(47,155,255,.45); transform: translateY(-2px); opacity: 1; }
.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); opacity: 1; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.link-more { font-size: 14.5px; font-weight: 600; }
.link-more::after { content: " ›"; }

/* ---------- Apple 风竖向大海报 ---------- */
.poster-stack { display: flex; flex-direction: column; gap: 22px; padding: 22px 0 0; }
.poster {
  position: relative;
  min-height: 480px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  isolation: isolate;
}
.poster .p-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform 8s ease;
}
.poster:hover .p-bg { transform: scale(1.06); }
.poster::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at center 68%, rgba(5,7,12,.28), rgba(5,7,12,.82) 90%);
}
.poster .p-body { padding: 70px 24px; max-width: 640px; }
.poster .p-kicker { font-size: 13px; letter-spacing: 4px; color: var(--accent); font-weight: 600; }
.poster .p-title {
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 800; margin: 12px 0 10px;
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
}
.poster .p-desc {
  color: rgba(233,237,245,.88); font-size: clamp(14px, 1.8vw, 16.5px);
  text-shadow: 0 2px 14px rgba(0,0,0,.7);
}
.poster .p-actions { margin-top: 26px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.poster .p-ico { font-size: 64px; margin-bottom: 8px; filter: drop-shadow(0 10px 26px rgba(47,155,255,.35)); }
.poster.lib { background: linear-gradient(150deg, #0d1b33, #131830 55%, #0b0f1e); }
.poster.win95 { background: linear-gradient(150deg, #0f2b4d, #10325c 45%, #0a1a30); }
.poster.win95 .p-ico { filter: none; }
@media (max-width: 640px) {
  /* 手机海报:沉浸式背景+文字缩小收拢左下角,遮罩只压底部,尽量露出完整图片 */
  .poster {
    min-height: 0;
    aspect-ratio: 1536 / 931;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
  }
  .poster::after {
    background: linear-gradient(180deg, rgba(5,7,12,0) 34%, rgba(5,7,12,.4) 62%, rgba(5,7,12,.88) 100%);
  }
  .poster .p-body { padding: 0 18px 15px; max-width: 100%; }
  .poster .p-kicker { font-size: 9.5px; letter-spacing: 2.5px; }
  .poster .p-title { font-size: 21px; margin: 5px 0 4px; }
  .poster .p-desc { font-size: 11.5px; line-height: 1.55; }
  .poster .p-actions { margin-top: 10px; justify-content: flex-start; }
  .poster .p-actions .btn { padding: 8px 18px; font-size: 12px; }
  .poster .p-ico { font-size: 32px; margin-bottom: 4px; }

  /* 手机 hero:向平板端密度看齐,字号收小+间距拉开,更透气 */
  .hero { padding: 92px 0 54px; }
  .hero-badge { font-size: 10.5px; letter-spacing: 3px; }
  .hero h1 { font-size: 44px; margin: 18px 0 4px; letter-spacing: 0; }
  .hero-slogan { font-size: 13px; letter-spacing: 5px; margin-bottom: 14px; }
  .hero p.lead { font-size: 13px; line-height: 2; max-width: 88%; }
  .hero-actions { margin-top: 30px; gap: 10px; }
  .hero-actions .btn { padding: 12px 24px; font-size: 13.5px; }
}

/* ---------- 通用板块头 ---------- */
.sec-head { margin-bottom: 44px; }
.sec-head.center { text-align: center; }
.sec-head.center .sec-kicker { justify-content: center; }
.sec-kicker {
  font-size: 12.5px; letter-spacing: 3px;
  color: var(--accent); text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.sec-kicker::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.sec-head.center .sec-kicker::after { content: ""; width: 26px; height: 1px; background: var(--accent); }
.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800; margin-top: 10px;
}
.sec-sub { color: var(--muted); margin-top: 8px; max-width: 640px; font-size: 15px; }
.sec-head.center .sec-sub { margin-left: auto; margin-right: auto; }

/* 卡片通用 */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: .3s;
}
.card:hover { border-color: rgba(255,255,255,.16); }

/* ---------- 近期动态 ---------- */
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: .3s;
}
.news-item:hover { border-color: rgba(47,155,255,.4); transform: translateX(6px); }
.news-date { font-size: 12.5px; color: var(--accent); font-weight: 600; padding-top: 3px; }
.news-item h4 { font-size: 16px; margin-bottom: 4px; }
.news-item p { font-size: 13.5px; color: var(--muted); }
@media (max-width: 560px) { .news-item { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- 关于 ---------- */
.about-quote {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.9;
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 26px;
  margin-bottom: 44px;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-grid h3 {
  font-family: var(--font-serif); font-size: 18px;
  margin-bottom: 14px; color: var(--accent);
}
.about-grid p { color: var(--muted); font-size: 14.5px; }
.team-row { display: flex; flex-direction: column; gap: 10px; }
.team-row .t {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-radius: 10px;
  background: rgba(255,255,255,.04); font-size: 14px;
}
.team-row .t span { color: var(--muted); font-size: 13px; }
.recruit {
  margin-top: 12px; font-size: 13px; color: var(--teal);
  background: rgba(124,199,191,.08);
  border: 1px dashed rgba(124,199,191,.35);
  border-radius: 10px; padding: 10px 14px;
}
.value-list { display: flex; flex-direction: column; gap: 12px; }
.value-list li { list-style: none; display: flex; gap: 14px; font-size: 14px; }
.value-list li b { color: var(--accent); white-space: nowrap; min-width: 66px; font-family: var(--font-serif); }
.value-list li span { color: var(--muted); }
.feedback-box { display: flex; flex-direction: column; gap: 12px; }
.feedback-box p { font-size: 14px; color: var(--muted); }
.copy-row { display: flex; flex-wrap: wrap; gap: 10px; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(47,155,255,.1);
  border: 1px solid rgba(47,155,255,.35);
  color: var(--accent); border-radius: 10px;
  padding: 9px 15px; font-size: 13px; transition: .25s;
}
.copy-btn:hover { background: rgba(47,155,255,.2); }
.copy-btn.copied { background: rgba(123,201,139,.15); border-color: rgba(123,201,139,.4); color: var(--green); }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- 作品海报卡(首页预告,各端统一:上图下文) ---------- */
.work-promo-stack { display: flex; flex-direction: column; gap: 26px; }
.work-promo {
  border-radius: 24px; overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  transition: .35s;
}
.work-promo:hover { border-color: rgba(47,155,255,.4); box-shadow: var(--shadow); }
.work-promo .wp-img { position: relative; aspect-ratio: 21/9; overflow: hidden; }
.work-promo .wp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s ease; }
.work-promo:hover .wp-img img { transform: scale(1.05); }
.work-promo .wp-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16,20,31,.96) 100%);
}
.work-promo .wp-body { padding: 8px 34px 32px; margin-top: -64px; position: relative; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip {
  font-size: 12px; padding: 4px 12px; border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line); color: var(--muted);
  backdrop-filter: blur(6px);
}
.chip.hot { background: rgba(122,92,255,.18); border-color: rgba(122,92,255,.5); color: #b9a8ff; }
.chip.doing { background: rgba(47,155,255,.16); border-color: rgba(47,155,255,.5); color: var(--accent); }
.work-promo h3 { font-family: var(--font-serif); font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.work-sub { color: var(--accent); font-size: 13.5px; margin: 6px 0 12px; }
.work-line { font-family: var(--font-serif); font-size: 16px; margin-bottom: 6px; }
.work-sum { color: var(--muted); font-size: 14.5px; max-width: 720px; }
.wp-foot { display: flex; align-items: center; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.wp-cap { font-size: 12px; color: var(--muted); margin-left: auto; }
@media (max-width: 640px) {
  .work-promo .wp-img { aspect-ratio: 16/10; }
  .work-promo .wp-body { padding: 6px 22px 26px; }
  .wp-cap { display: none; }
}

/* ---------- 作品详情页 ---------- */
.page-hero { padding: 140px 0 50px; text-align: center; }
.page-hero .sec-kicker { justify-content: center; }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 6vw, 58px); font-weight: 800; margin-top: 14px;
}
.page-hero p { color: var(--muted); margin-top: 10px; max-width: 620px; margin-left: auto; margin-right: auto; }
.work-block { margin-bottom: 64px; }
.work-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.work-detail .full { grid-column: 1 / -1; }
.work-detail h4 { font-family: var(--font-serif); font-size: 17px; margin-bottom: 12px; color: var(--accent); }
.work-detail p { font-size: 14px; color: var(--muted); }
@media (max-width: 800px) { .work-detail { grid-template-columns: 1fr; } }
.meta-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px; margin-top: 24px;
}
.meta-cell {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 16px;
}
.meta-cell span { display: block; font-size: 12px; color: var(--muted); }
.meta-cell b { font-size: 14px; }

/* 进度条 */
.progress-list { display: flex; flex-direction: column; gap: 14px; }
.progress-row { display: grid; grid-template-columns: 52px 1fr 46px; gap: 12px; align-items: center; font-size: 13.5px; }
.progress-row .pct { text-align: right; color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.bar i {
  display: block; height: 100%; width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 1.2s cubic-bezier(.22,.8,.3,1);
}

/* 角色卡 */
.char-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.char-card {
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  text-align: center; transition: .3s;
}
.char-card:hover { transform: translateY(-4px); border-color: rgba(47,155,255,.4); }
.char-card .face { font-size: 44px; margin-bottom: 10px; }
.char-card h5 { font-size: 16px; font-family: var(--font-serif); }
.char-card .meta { font-size: 12px; color: var(--accent); margin: 4px 0 10px; }
.char-card p { font-size: 13px; color: var(--muted); text-align: left; }

/* 玩法列表 */
.play-list { display: flex; flex-direction: column; gap: 12px; }
.play-item {
  display: grid; grid-template-columns: 46px 1fr; gap: 16px;
  padding: 16px 18px; border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line); transition: .3s;
}
.play-item:hover { border-color: rgba(47,155,255,.35); }
.play-item .no { font-family: var(--font-serif); font-size: 20px; font-weight: 800; color: rgba(47,155,255,.5); }
.play-item b { display: block; font-size: 14.5px; margin-bottom: 2px; }
.play-item p { font-size: 13px; color: var(--muted); }

.song-note {
  display: flex; gap: 12px; align-items: center;
  background: rgba(122,92,255,.09);
  border: 1px solid rgba(122,92,255,.32);
  border-radius: 12px; padding: 14px 18px;
  font-size: 13.5px;
}
.song-note .ico { font-size: 22px; }

/* ---------- 画廊 ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.g-item {
  position: relative; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line);
  cursor: zoom-in;
}
.g-item img { aspect-ratio: 3/2; object-fit: cover; width: 100%; transition: transform .6s; }
.g-item:hover img { transform: scale(1.05); }
.g-item .cap {
  position: absolute; inset: auto 0 0 0;
  padding: 40px 20px 16px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
}
.g-item .cap b { font-size: 15px; display: block; }
.g-item .cap span { font-size: 12.5px; color: rgba(255,255,255,.75); }
@media (max-width: 700px) { .gallery-grid { grid-template-columns: 1fr; } }
.center-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 26px; }
.gallery-page .g-item img { aspect-ratio: 16/10; }

/* 灯箱(高质量弹窗) */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(3,4,8,.93);
  backdrop-filter: blur(8px);
  display: none; place-items: center;
  padding: 4vw;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: 84vh; border-radius: 14px; box-shadow: var(--shadow); }
.lightbox .lb-cap { color: var(--muted); margin-top: 14px; text-align: center; font-size: 14px; }
.lightbox .lb-close {
  position: absolute; top: 22px; right: 26px;
  background: rgba(255,255,255,.08); border: 1px solid var(--line);
  color: var(--text); font-size: 20px;
  width: 42px; height: 42px; border-radius: 50%;
}

/* ---------- 公告 ---------- */
.anno-list { display: flex; flex-direction: column; gap: 16px; }
.anno {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 28px;
  position: relative; transition: .3s;
}
.anno:hover { border-color: rgba(47,155,255,.35); }
.anno.pinned { border-color: rgba(47,155,255,.5); background: linear-gradient(135deg, rgba(47,155,255,.08), var(--card)); }
.anno .pin {
  position: absolute; top: 22px; right: 24px;
  font-size: 11.5px; color: #fff; font-weight: 700;
  background: var(--accent); border-radius: 6px; padding: 3px 10px;
}
.anno .date { font-size: 12.5px; color: var(--accent); font-weight: 600; }
.anno h4 { font-size: 17px; font-family: var(--font-serif); margin: 6px 0 8px; }
.anno p { font-size: 14px; color: var(--muted); }

/* ---------- 大事记时间线 ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(47,155,255,.05));
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -28px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
}
.tl-date { font-size: 13px; color: var(--accent); font-weight: 700; letter-spacing: 1px; }
.tl-item h4 { font-size: 17px; font-family: var(--font-serif); margin: 4px 0; }
.tl-item p { font-size: 14px; color: var(--muted); }

/* ---------- 图书馆 ---------- */
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.book {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 20px;
  text-align: center; transition: .3s; cursor: pointer;
}
.book:hover { transform: translateY(-5px); border-color: rgba(47,155,255,.45); box-shadow: var(--shadow); }
.book .cover { font-size: 42px; margin-bottom: 12px; }
.book .ch { font-size: 12px; color: var(--accent); }
.book h4 { font-family: var(--font-serif); font-size: 15.5px; margin: 6px 0 8px; line-height: 1.5; }
.book p { font-size: 12px; color: var(--muted); line-height: 1.6; }
.lib-search {
  width: min(460px, 100%); margin: 0 auto 30px; display: block;
  padding: 13px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  color: var(--text); font-size: 14px; outline: none;
  transition: .25s;
}
.lib-search:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47,155,255,.15); }
.lib-stats { display: flex; gap: 30px; justify-content: center; margin-bottom: 34px; flex-wrap: wrap; }
.lib-stats .stat b { display: block; font-family: var(--font-serif); font-size: 30px; color: var(--accent); text-align: center; }
.lib-stats .stat span { font-size: 12.5px; color: var(--muted); }

/* ---------- 日志 ---------- */
.tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.tab-btn {
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  color: var(--muted); border-radius: 999px;
  padding: 8px 20px; font-size: 13.5px; transition: .25s;
}
.tab-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 600; }
.log-list { display: flex; flex-direction: column; gap: 14px; }
.log-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.log-item .v { font-size: 12.5px; color: var(--teal); font-weight: 600; }
.log-item h4 { font-size: 15.5px; margin: 4px 0 6px; }
.log-item p { font-size: 13.5px; color: var(--muted); }

/* ---------- 数据中心 ---------- */
.data-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; margin-bottom: 18px; }
.data-cell { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; text-align: center; }
.data-cell b { font-family: var(--font-serif); font-size: 30px; color: var(--accent); font-variant-numeric: tabular-nums; }
.data-cell .trend { font-size: 12.5px; font-weight: 700; margin-left: 4px; }
.trend.up { color: var(--red); }
.trend.down { color: var(--green); }
.data-cell span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.chart-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.chart-card h4 { font-size: 15px; margin-bottom: 14px; }
.chart-card h4 span { color: var(--muted); font-size: 12px; font-weight: 400; margin-left: 8px; }
.chart-wrap { position: relative; height: 260px; }
.chart-wrap canvas { width: 100%; height: 100%; display: block; }
.chart-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; }
.chart-legend .lg { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
.chart-legend .dot { width: 10px; height: 10px; border-radius: 3px; }
.analyst {
  background: var(--card); border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius); padding: 20px 24px;
  font-size: 14px; color: var(--muted);
}
.analyst b { color: var(--teal); }

/* ---------- 投票 ---------- */
.vote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .vote-grid { grid-template-columns: 1fr; } }
.vote-card { text-align: center; }
.vote-card h4 { font-size: 15px; margin-bottom: 14px; }
.vote-bar { height: 12px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; margin-bottom: 10px; }
.vote-bar i {
  display: block; height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 1.4s cubic-bezier(.22,.8,.3,1);
}
.vote-pct { font-family: var(--font-serif); font-size: 40px; font-weight: 800; color: var(--accent); }
.vote-card .cnt { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.vote-btns { display: flex; gap: 10px; justify-content: center; }
.vote-btn {
  border-radius: 10px; padding: 9px 20px; font-size: 13.5px;
  border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--text);
  transition: .25s;
}
.vote-btn:hover { background: rgba(47,155,255,.16); border-color: rgba(47,155,255,.45); }
.vote-thanks { font-size: 12.5px; color: var(--green); margin-top: 10px; min-height: 20px; }
.expect {
  margin-top: 16px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap; justify-content: center;
}
.donut { position: relative; width: 130px; height: 130px; }
.donut svg { transform: rotate(-90deg); }
.donut .d-num {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 24px; font-weight: 800; color: var(--accent);
}
.donut circle { fill: none; stroke-width: 11; }
.donut .d-bg { stroke: rgba(255,255,255,.08); }
.donut .d-fg {
  stroke: url(#donutGrad);
  stroke-linecap: round;
  stroke-dasharray: 339.29;
  stroke-dashoffset: 339.29;
  transition: stroke-dashoffset 1.6s cubic-bezier(.22,.8,.3,1);
}
.expect .e-info { max-width: 420px; }
.expect .e-info h4 { font-size: 16px; margin-bottom: 6px; }
.expect .e-info p { font-size: 13.5px; color: var(--muted); }
.expect .e-legend { display: flex; gap: 16px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.expect .e-legend .dot { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; }

/* ---------- 路线图 ---------- */
.road-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.road-cell {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 18px;
  transition: .3s;
}
.road-cell:hover { border-color: rgba(47,155,255,.45); transform: translateY(-4px); }
.road-cell .when {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 6px; padding: 3px 10px; margin-bottom: 12px;
}
.road-cell h4 { font-size: 14.5px; line-height: 1.6; }
@media (max-width: 800px) { .road-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .road-grid { grid-template-columns: 1fr; } }

/* ---------- 商城 LED 轮播大海报 ---------- */
.led-shell {
  border-radius: 24px; padding: 10px;
  background:
    radial-gradient(circle at 8px 8px, rgba(47,155,255,.4) 2.2px, transparent 2.6px) 0 0/26px 26px,
    #0a0d16;
  border: 1px solid rgba(47,155,255,.3);
  box-shadow: 0 0 60px rgba(47,155,255,.12), var(--shadow);
}
.led-screen {
  position: relative;
  border-radius: 16px; overflow: hidden;
  min-height: 380px;
  background: #0b0f1a;
}
.led-slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 24px;
  opacity: 0; transform: translateX(60px);
  transition: opacity .6s, transform .6s;
  pointer-events: none;
}
.led-slide.on { opacity: 1; transform: none; pointer-events: auto; }
.led-slide .g-ico { font-size: 84px; filter: drop-shadow(0 14px 34px rgba(47,155,255,.4)); }
.led-slide .g-tag {
  margin-top: 14px;
  font-size: 11.5px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 6px; padding: 3px 12px; letter-spacing: 2px;
}
.led-slide h3 { font-family: var(--font-serif); font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; margin-top: 12px; }
.led-slide .g-desc { color: var(--muted); font-size: 14px; margin-top: 6px; }
.led-slide .g-price {
  font-family: var(--font-serif); font-size: 42px; font-weight: 800; margin-top: 14px;
  background: linear-gradient(135deg, #6ec1ff, var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.led-slide .g-price::before { content: "¥"; font-size: 20px; margin-right: 3px; }
.led-scan {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 2px, transparent 2px 5px);
}
.led-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.07); border: 1px solid var(--line);
  color: var(--text); font-size: 18px; z-index: 5;
  transition: .25s;
}
.led-arrow:hover { background: rgba(47,155,255,.25); border-color: var(--accent); }
.led-arrow.prev { left: 16px; }
.led-arrow.next { right: 16px; }
.led-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.led-dots .dot {
  width: 8px; height: 8px; border-radius: 99px;
  background: rgba(255,255,255,.25); border: none;
  transition: .3s; padding: 0;
}
.led-dots .dot.on { width: 26px; background: var(--accent); }
.disclaimer { font-size: 12px; color: var(--muted); text-align: center; margin-top: 18px; opacity: .8; }

/* ---------- 壁纸 ---------- */
.wp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.wp {
  border-radius: var(--radius); padding: 26px 14px;
  text-align: center; border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--card-2), var(--card));
  transition: .3s;
}
.wp:hover { transform: translateY(-4px); border-color: rgba(124,199,191,.45); }
.wp .ico { font-size: 40px; margin-bottom: 10px; }
.wp b { display: block; font-size: 14px; }
.wp span { font-size: 11.5px; color: var(--muted); }

/* ---------- 技术 ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.tech-badge {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 10px; text-align: center;
  transition: .3s; display: block; color: var(--text);
}
.tech-badge:hover { border-color: rgba(47,155,255,.5); transform: translateY(-3px); opacity: 1; }
.tech-badge .ico { font-size: 26px; }
.tech-badge b { display: block; font-size: 13px; margin-top: 8px; }
.tech-badge span { font-size: 11px; color: var(--muted); }
.rhythm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; }
.rhythm-cell {
  text-align: center; border-radius: 14px; padding: 18px 10px;
  border: 1px dashed var(--line); background: rgba(255,255,255,.02);
}
.rhythm-cell .ico { font-size: 24px; }
.rhythm-cell b { display: block; font-size: 13.5px; margin-top: 8px; }
.rhythm-cell span { font-size: 12px; color: var(--accent); }
@media (max-width: 700px) { .rhythm-grid { grid-template-columns: repeat(2, 1fr); } }
/* 技术详情页 */
.tech-detail-list { display: flex; flex-direction: column; gap: 16px; }
.tech-detail {
  display: grid; grid-template-columns: 74px 1fr; gap: 20px; align-items: start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  scroll-margin-top: 90px; transition: .3s;
}
.tech-detail:target { border-color: rgba(47,155,255,.55); box-shadow: 0 0 0 4px rgba(47,155,255,.12); }
.tech-detail .ico { font-size: 42px; text-align: center; }
.tech-detail h4 { font-size: 17px; font-family: var(--font-serif); }
.tech-detail .role { font-size: 12.5px; color: var(--accent); margin: 3px 0 8px; }
.tech-detail p { font-size: 14px; color: var(--muted); }
@media (max-width: 560px) { .tech-detail { grid-template-columns: 1fr; } }

/* ---------- V版 ---------- */
.v-banner {
  border-radius: 26px; overflow: hidden;
  border: 1px solid rgba(47,155,255,.35);
  background: linear-gradient(135deg, #0e1a30, #0a0e1a 60%);
  padding: clamp(30px, 5vw, 60px);
}
.v-banner h3 { font-family: var(--font-serif); font-size: clamp(24px, 3.4vw, 34px); }
.v-banner .tag { color: var(--teal); font-size: 13px; margin: 10px 0 16px; }
.v-banner > p { color: var(--muted); font-size: 15px; max-width: 760px; }
.v-feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 30px 0; }
.v-feat .vf { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.v-feat .vf .ico { font-size: 26px; }
.v-feat .vf b { display: block; font-size: 14.5px; margin: 10px 0 4px; }
.v-feat .vf p { font-size: 12.5px; color: var(--muted); }
.v-updates { margin-bottom: 30px; }
.v-updates h5 { font-size: 14px; color: var(--accent); margin-bottom: 12px; }
.v-updates .vu {
  display: flex; gap: 14px; padding: 11px 16px; font-size: 13px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  border-radius: 10px; margin-bottom: 8px;
}
.v-updates .vu b { color: var(--teal); white-space: nowrap; }
.v-updates .vu span { color: var(--muted); }

/* ---------- 执法(丰富版) ---------- */
.police-intro { color: var(--muted); font-size: 14.5px; max-width: 760px; margin-bottom: 30px; }
.flow-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 18px; }
.flow-step {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 12px; font-size: 12px; color: var(--muted);
  text-align: center;
}
.flow-step b {
  display: block; width: 24px; height: 24px; line-height: 24px; margin: 0 auto 8px;
  border-radius: 50%; font-size: 12px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
@media (max-width: 900px) { .flow-steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .flow-steps { grid-template-columns: repeat(2, 1fr); } }
.police-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .police-grid { grid-template-columns: 1fr; } }
.police-grid h4 { font-size: 15.5px; margin-bottom: 14px; }
.police-grid p { font-size: 13.5px; color: var(--muted); }
.police-nums { display: flex; gap: 30px; margin-bottom: 14px; }
.police-nums b { font-family: var(--font-serif); font-size: 32px; }
.police-nums .ok b { color: var(--green); }
.police-nums .no b { color: var(--red); }
.police-nums span { display: block; font-size: 12px; color: var(--muted); }
.record-list { display: flex; flex-direction: column; gap: 6px; max-height: 240px; overflow-y: auto; }
.record-list .rc {
  display: grid; grid-template-columns: 86px 1fr 84px 30px; gap: 10px;
  font-size: 12.5px; padding: 8px 12px; border-radius: 8px;
  background: rgba(255,255,255,.03); align-items: center;
}
.record-list .rc .id { color: var(--teal); font-weight: 600; }
.record-list .rc .dt { color: var(--muted); font-size: 11.5px; }
.record-list .rc .st-ok { color: var(--green); font-weight: 700; }
.record-list .rc .st-no { color: var(--red); font-weight: 700; }
.week-bars { display: flex; align-items: flex-end; gap: 14px; height: 130px; margin-top: 8px; }
.week-bars .wb { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.week-bars .wb i {
  width: 100%; max-width: 44px; border-radius: 8px 8px 3px 3px; height: 0;
  background: linear-gradient(180deg, var(--accent), rgba(47,155,255,.25));
  transition: height 1.1s cubic-bezier(.22,.8,.3,1);
}
.week-bars .wb span { font-size: 11px; color: var(--muted); }
.week-bars .wb b { font-size: 11.5px; color: var(--accent); }
.role-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .role-cards { grid-template-columns: 1fr; } }
.role-card { background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.role-card .ico { font-size: 24px; }
.role-card b { display: block; font-size: 14px; margin: 8px 0 4px; }
.role-card p { font-size: 12.5px; color: var(--muted); }

/* ---------- 联名(加大版) ---------- */
.collab-banner {
  text-align: center;
  border-radius: 26px;
  border: 1px solid rgba(122,92,255,.4);
  background: linear-gradient(135deg, rgba(47,155,255,.1), rgba(122,92,255,.07)), var(--card);
  padding: clamp(36px, 6vw, 64px) 30px;
}
.collab-banner .duo { font-size: clamp(40px, 6vw, 56px); letter-spacing: 8px; }
.collab-banner h3 { font-family: var(--font-serif); font-size: clamp(22px, 3.4vw, 30px); margin-top: 16px; }
.collab-banner .sub { color: var(--accent); font-size: 14px; margin: 8px 0 14px; }
.collab-banner > p { color: var(--muted); font-size: 14.5px; max-width: 640px; margin: 0 auto 26px; }
.collab-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; text-align: left; }
.collab-feats .cf { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.collab-feats .cf .ico { font-size: 26px; }
.collab-feats .cf b { display: block; font-size: 14.5px; margin: 10px 0 4px; }
.collab-feats .cf p { font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) { .collab-feats { grid-template-columns: 1fr; } }

/* ---------- 加入我们(宏大版) ---------- */
.join-hero {
  border-radius: 26px; overflow: hidden;
  border: 1px solid rgba(47,155,255,.4);
  background: linear-gradient(135deg, rgba(47,155,255,.14), rgba(122,92,255,.08)), var(--card);
  padding: clamp(36px, 6vw, 60px);
  text-align: center; margin-bottom: 18px;
}
.join-hero h3 { font-family: var(--font-serif); font-size: clamp(24px, 3.6vw, 34px); }
.join-hero .qq-big {
  font-family: var(--font-serif); font-size: clamp(38px, 7vw, 64px); font-weight: 800;
  letter-spacing: 4px; margin: 16px 0 6px;
  background: linear-gradient(135deg, #6ec1ff, var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.join-hero .desc { color: var(--muted); font-size: 14.5px; }
/* 复制成功态:整张海报变绿 + 对号 */
.join-hero .jh-ok {
  display: none; flex-direction: column; align-items: center; gap: 4px;
}
.join-hero.copied {
  background: linear-gradient(135deg, #0e4d2b, #0a5c33);
  border-color: rgba(123,201,139,.55);
}
.join-hero.copied .jh-body { display: none; }
.join-hero.copied .jh-ok { display: flex; }
.join-hero .jh-ok .ico { font-size: 60px; line-height: 1.2; }
.join-hero .jh-ok b { font-family: var(--font-serif); font-size: 25px; margin-top: 10px; }
.join-hero .jh-ok span { color: rgba(233,237,245,.85); font-size: 13.5px; }
.benefit-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 22px 0 26px; }
.benefit-row .bf {
  font-size: 13px; padding: 8px 16px; border-radius: 999px;
  background: rgba(47,155,255,.1); border: 1px solid rgba(47,155,255,.35);
  color: var(--text);
}
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 800px) { .join-grid { grid-template-columns: 1fr; } }
.join-grid h4 { font-family: var(--font-serif); font-size: 17px; margin-bottom: 14px; color: var(--accent); }
.join-grid p { font-size: 13.5px; color: var(--muted); }
.recruit-cards { display: flex; flex-direction: column; gap: 12px; }
.recruit-card { display: flex; gap: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.recruit-card .ico { font-size: 28px; }
.recruit-card b { display: block; font-size: 14.5px; }
.recruit-card p { font-size: 12.5px; color: var(--muted); }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 560px) { .tier-grid { grid-template-columns: 1fr; } }
.tier {
  text-align: center; border-radius: 14px; padding: 20px 12px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  transition: .3s;
}
.tier:hover { border-color: rgba(47,155,255,.5); transform: translateY(-3px); }
.tier .ico { font-size: 30px; }
.tier b { display: block; font-size: 15px; margin-top: 8px; }
.tier .price { font-family: var(--font-serif); font-size: 22px; color: var(--accent); font-weight: 800; margin: 4px 0; }
.tier p { font-size: 11.5px; color: var(--muted); }
.platform-list { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.platform-list .pf {
  display: flex; justify-content: space-between;
  background: rgba(255,255,255,.04); border-radius: 10px;
  padding: 10px 14px; font-size: 13.5px;
}
.platform-list .pf span { color: var(--muted); }

/* ---------- 团队字幕 ---------- */
.credit-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .credit-cols { grid-template-columns: 1fr; } }
.credit-cols h4 { font-size: 15.5px; margin-bottom: 14px; }
.credit-cols .row { font-size: 13px; margin-bottom: 10px; }
.credit-cols .row b { color: var(--accent); display: block; font-size: 12px; }
.credit-cols .row span { color: var(--muted); }

/* ---------- 主理人(Apple 海报 + 详情页) ---------- */
.founder-poster {
  border-radius: 26px; overflow: hidden;
  border: 1px solid rgba(47,155,255,.35);
  background:
    radial-gradient(700px 380px at 50% -10%, rgba(47,155,255,.16), transparent 65%),
    linear-gradient(180deg, #0c1322, #080b14);
  padding: clamp(44px, 7vw, 80px) 26px;
  text-align: center;
}
.founder-poster .avatar { margin: 0 auto 20px; width: 120px; }
.founder-poster h3 { font-family: var(--font-serif); font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
.founder-poster .meta { color: var(--accent); font-size: 14px; margin: 10px 0 16px; letter-spacing: 1px; }
.founder-poster .quote {
  font-family: var(--font-serif); font-size: clamp(16px, 2.2vw, 20px);
  max-width: 480px; margin: 0 auto 28px; line-height: 2;
}
.founder-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 18px; }
@media (max-width: 860px) { .founder-grid { grid-template-columns: 1fr; } }
.founder-card { text-align: center; }
.founder-card .avatar { width: 110px; margin: 6px auto 16px; }
.founder-card h3 { font-family: var(--font-serif); font-size: 24px; }
.founder-card .meta { color: var(--accent); font-size: 13px; margin: 6px 0 14px; }
.founder-card > p { font-size: 13.5px; color: var(--muted); text-align: left; }
.hobby-list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.hobby-list .hb { font-size: 13px; display: flex; gap: 10px; }
.hobby-list .hb b { color: var(--teal); min-width: 40px; }
.hobby-list .hb span { color: var(--muted); }
.founder-letter {
  background: linear-gradient(160deg, #141a2a, #0d111d);
  border: 1px solid rgba(47,155,255,.3);
  border-radius: var(--radius);
  padding: 34px;
  font-family: var(--font-serif);
  position: relative;
}
.founder-letter::before {
  content: "📄 小羊的话";
  position: absolute; top: -13px; left: 26px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  font-size: 12px; font-weight: 700; font-family: var(--font-sans);
  border-radius: 6px; padding: 3px 12px;
}
.founder-letter p { font-size: 14.5px; line-height: 2.1; margin-bottom: 10px; }
.founder-letter p:last-child { text-align: right; color: var(--accent); }
.making-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
@media (max-width: 560px) { .making-grid { grid-template-columns: 1fr; } }
.making-cell { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-align: left; }
.making-cell b { display: block; font-size: 13px; color: var(--accent); margin-bottom: 5px; }
.making-cell p { font-size: 12.5px; color: var(--muted); }

/* ---------- Beta ---------- */
.beta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 800px) { .beta-grid { grid-template-columns: 1fr; } }
.beta-grid .ico { font-size: 30px; }
.beta-grid h4 { font-size: 15.5px; margin: 10px 0 8px; }
.beta-grid p { font-size: 13.5px; color: var(--muted); }

/* ---------- 页脚 ---------- */
footer { border-top: 1px solid var(--line); padding: 44px 0 30px; margin-top: 40px; background: rgba(255,255,255,.015); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.footer-top .brand { max-width: 420px; }
.footer-top .brand p { color: var(--muted); font-size: 12.5px; margin-top: 10px; }
.footer-contact { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; color: var(--muted); text-align: right; }
.footer-contact a { color: var(--muted); }
.footer-contact a:hover { color: var(--text); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-nav a { color: var(--muted); font-size: 13px; }
.footer-nav a:hover { color: var(--text); }
.copyright { text-align: center; color: var(--muted); font-size: 12px; margin-top: 36px; opacity: .7; }
.copyright b { color: var(--accent); font-family: var(--font-serif); }

/* ---------- 滚动动效 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* 回到顶部 */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--card-2); border: 1px solid var(--line);
  color: var(--accent); font-size: 19px;
  display: none; place-items: center;
  transition: .3s;
}
.to-top.show { display: grid; }
.to-top:hover { border-color: var(--accent); transform: translateY(-3px); }

/* Toast 提示 */
.toast {
  position: fixed; left: 50%; bottom: 34px; z-index: 300;
  transform: translateX(-50%) translateY(80px);
  background: var(--card-2); color: var(--text);
  border: 1px solid rgba(47,155,255,.45);
  padding: 11px 22px; border-radius: 999px;
  font-size: 13.5px; box-shadow: var(--shadow);
  transition: transform .35s;
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ============================================================
   画廊 · 全屏逐张浏览页(gallery.html)
   ============================================================ */
html.g-full { scroll-snap-type: y mandatory; }
.gslide {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; position: relative;
  padding: 110px 5% 70px;
  scroll-snap-align: start;
}
.gslide .gs-idx {
  position: absolute; top: 90px; left: 50%; transform: translateX(-50%);
  font-size: 12px; letter-spacing: 4px; color: var(--muted);
}
.gslide .gs-img {
  width: min(1060px, 92%);
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.gslide .gs-img img { width: 100%; max-height: 58vh; object-fit: cover; display: block; }
.gslide .gs-info { width: min(760px, 94%); margin-top: 30px; }
.gslide .gs-sub {
  font-size: 12.5px; letter-spacing: 3px;
  color: var(--accent); font-weight: 600; text-transform: uppercase;
}
.gslide .gs-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  margin: 10px 0 8px;
}
.gslide .gs-desc { font-size: 15px; color: var(--text); opacity: .85; }
.gslide .gs-story { font-size: 14px; color: var(--muted); line-height: 2; margin-top: 14px; }
.gslide .gs-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: 12px; color: var(--muted); letter-spacing: 2px;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.gslide .gs-hint .arrow { animation: bounceY 1.8s ease-in-out infinite; color: var(--accent); font-size: 16px; }
/* 画廊结尾卡 */
.gslide.gs-end { gap: 6px; }
.gslide.gs-end .gs-end-ico { font-size: 64px; }
.gslide.gs-end h2 { font-family: var(--font-serif); font-size: clamp(26px, 4vw, 38px); margin: 14px 0 4px; }
.gslide.gs-end > p { color: var(--muted); font-size: 14.5px; max-width: 560px; }
.gslide.gs-end .gs-end-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; justify-content: center; }
/* 画廊右侧进度点 */
.g-dots {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%);
  z-index: 60; display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.g-dots a {
  width: 8px; height: 8px; border-radius: 99px; padding: 0;
  background: rgba(255,255,255,.22); transition: .3s;
}
.g-dots a.on { height: 24px; background: var(--accent); }
@media (max-width: 640px) {
  html.g-full { scroll-snap-type: y proximity; }
  .gslide { padding: 96px 6% 56px; }
  .gslide .gs-idx { top: 80px; }
  .gslide .gs-img img { max-height: 42vh; }
  .gslide .gs-info { margin-top: 22px; }
  .gslide .gs-story { font-size: 13px; }
  .g-dots { display: none; }
}

/* ============================================================
   在线阅读器(read.html)
   ============================================================ */
.r-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 110; }
.r-progress i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .4s ease;
}
.reader-shell {
  display: grid; grid-template-columns: 250px minmax(0, 1fr);
  gap: 46px; width: min(1160px, 94%); margin: 0 auto;
  padding: 104px 0 70px; align-items: start;
}
.reader-side {
  position: sticky; top: 88px;
  max-height: calc(100vh - 110px); overflow-y: auto;
  padding-right: 6px; scrollbar-width: thin;
}
.reader-side h5 { font-size: 13px; color: var(--accent); margin-bottom: 10px; letter-spacing: 1px; }
.reader-side a {
  display: block; padding: 7px 12px; border-radius: 8px;
  font-size: 13px; color: var(--muted); line-height: 1.5;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: .2s;
}
.reader-side a:hover { color: var(--text); background: rgba(255,255,255,.05); opacity: 1; }
.reader-side a.cur { color: var(--accent); background: rgba(47,155,255,.14); font-weight: 600; }
.reader-main { min-width: 0; }
.r-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.r-head .back { font-size: 13.5px; color: var(--muted); }
.r-head .back:hover { color: var(--accent); }
.r-book { font-size: 12.5px; color: var(--muted); }
.r-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.4vw, 34px); font-weight: 800;
  margin-bottom: 6px; line-height: 1.4;
}
.r-meta { font-size: 12.5px; color: var(--accent); margin-bottom: 30px; letter-spacing: 1px; }
.r-paras { font-family: var(--font-serif); font-size: 16.5px; line-height: 2.15; }
.r-paras p { margin-bottom: 1.15em; text-indent: 2em; color: #ccd4e3; }
.r-note {
  font-size: 13px; color: var(--teal);
  background: rgba(124,199,191,.07);
  border: 1px dashed rgba(124,199,191,.3); border-radius: 10px;
  padding: 10px 16px; margin: 10px 0 1.4em; text-indent: 0;
}
.r-nav {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line);
}
.r-menu-btn {
  display: none; align-items: center; gap: 6px;
  background: rgba(47,155,255,.12); border: 1px solid rgba(47,155,255,.4);
  color: var(--accent); border-radius: 999px; padding: 7px 16px; font-size: 13px;
}
@media (max-width: 900px) {
  .reader-shell { grid-template-columns: 1fr; padding-top: 92px; gap: 0; }
  .reader-side {
    position: fixed; inset: 0; top: 64px; z-index: 80;
    background: rgba(3,5,10,.98); backdrop-filter: blur(10px);
    max-height: none; padding: 26px 6%; display: none;
  }
  .reader-side.open { display: block; }
  .r-menu-btn { display: inline-flex; }
  .r-paras { font-size: 15.5px; }
}

/* 书卡「立即阅读」徽标 */
.book .book-open {
  display: inline-block; margin-top: 12px;
  font-size: 12.5px; color: var(--accent); font-weight: 600;
  transition: .25s;
}
.book:hover .book-open { letter-spacing: 1.5px; }

/* ============================================================
   技术页 · 全屏逐张(tech.html)
   ============================================================ */
.tslide .ts-ico {
  font-size: clamp(90px, 15vw, 150px); line-height: 1.15;
  filter: drop-shadow(0 20px 50px rgba(47,155,255,.45));
}
.tslide .ts-img {
  width: min(980px, 90%);
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.tslide .ts-img img { width: 100%; max-height: 50vh; object-fit: cover; display: block; }
.tslide .ts-ico + .gs-info { margin-top: 18px; }
.tslide .rhythm-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; }
@media (max-width: 700px) {
  .tslide .rhythm-row { grid-template-columns: repeat(2, 1fr); }
  .tslide .ts-img img { max-height: 38vh; }
}

/* ============ 登录 / 注册 · 图书馆海报风 ============ */
.auth-area { margin-left: 16px; display: inline-flex; align-items: center; gap: 10px; }
.nav-login { color: #2f9bff; text-decoration: none; font-size: 14px; }
.nav-login:hover { text-decoration: underline; }
.nav-user { color: #9aa4b2; font-size: 13px; }

.login-poster {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 88px 6% 56px; box-sizing: border-box;
}
.login-poster .lp-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: url(../img/lib_all.jpg);
  background-size: cover; background-position: center;
  transition: transform 8s ease;
}
.login-poster::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(5,7,12,.6), rgba(5,7,12,.92) 82%);
}
.lp-inner { position: relative; z-index: 1; width: 100%; max-width: 420px; text-align: center; }
.lp-kicker { font-size: 13px; letter-spacing: 4px; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.lp-title {
  font-family: var(--font-serif); font-weight: 800;
  font-size: clamp(34px, 6vw, 52px); line-height: 1.15; margin: 0 0 10px;
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
}
.lp-hint { color: rgba(233,237,245,.85); font-size: 15px; margin: 0 0 28px;
  text-shadow: 0 2px 14px rgba(0,0,0,.7); }

.lp-form { text-align: left; }
.fld { display: block; margin-bottom: 14px; }
.fld span { display: block; font-size: 13px; margin-bottom: 6px; color: rgba(233,237,245,.9); }
.fld input { width: 100%; padding: 12px 14px; background: rgba(8,11,18,.55);
  border: 1px solid rgba(255,255,255,.16); border-radius: 10px; color: #e9edf5;
  font-size: 15px; font-family: inherit; box-sizing: border-box; }
.fld input:focus { outline: none; border-color: var(--accent); background: rgba(8,11,18,.75); }
.auth-msg { font-size: 13px; margin: 4px 0 12px; min-height: 16px; text-align: left; }
.auth-msg.err { color: #ff8585; }
.auth-msg.ok { color: #7ee0a0; }
.lp-form .btn-primary { width: 100%; margin-top: 4px; padding: 13px 22px; font-size: 16px; }
.auth-switch, .auth-note { text-align: center; font-size: 13px; color: rgba(233,237,245,.7); margin-top: 16px; }
.auth-switch a, .auth-note a { color: var(--accent); }

@media (max-width: 640px) {
  .login-poster { padding-top: 76px; }
  .lp-inner { max-width: 100%; }
  .lp-title { font-size: 32px; }
}

/* ============ 留言板 ============ */
.msg-section { padding: 50px 0 70px; }
.msg-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.msg-head h3 { margin: 0; font-size: 22px; }
.msg-count { color: #9aa4b2; font-size: 13px; }
.msg-list { display: flex; flex-direction: column; gap: 12px; }
.msg-item { position: relative; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09); border-radius: 12px; padding: 14px 16px; }
.msg-meta { display: flex; justify-content: space-between; font-size: 12px;
  color: #9aa4b2; margin-bottom: 6px; }
.msg-meta b { color: #e9edf5; }
.msg-body { margin: 0; line-height: 1.7; white-space: pre-wrap; font-size: 15px; }
.msg-del { position: absolute; top: 12px; right: 14px; font-size: 11px;
  color: #9aa4b2; background: none; border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px; padding: 2px 8px; cursor: pointer; }
.msg-del:hover { color: #ff6b6b; border-color: #ff6b6b; }
.msg-empty { color: #9aa4b2; }
.msg-compose { margin-top: 20px; transition: opacity .3s; }
.msg-compose textarea { width: 100%; box-sizing: border-box; padding: 12px 14px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px; color: #e9edf5; font-family: inherit; font-size: 15px; resize: vertical; }
.msg-compose textarea:focus { outline: none; border-color: #2f9bff; }
.msg-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.msg-tip { font-size: 12px; color: #9aa4b2; }

@media (max-width: 640px) {
  .auth-area { margin-left: 0; }
  .msg-head h3 { font-size: 19px; }
}
