/* ===== 浅蓝青 · 刘.site（非首页） ===== */
:root, [data-theme="light"] {
  --paper: #dceefa;
  --surface: #fafdff;
  --ink: #1c3a52;
  --muted: #4f6b80;
  --line: rgba(28, 58, 82, 0.12);
  --red: #c8442f;
  --orange: #d9772e;
  --yellow: #e9c84a;
  --green: #3e8e6a;
  --blue: #5a9dc0;
  --shadow: rgba(58, 90, 114, 0.09);
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); scroll-behavior: smooth; }
body:not(.home-atlas-page) {
  background: linear-gradient(180deg, #c7e7f5 0%, #cfeaf6 30%, #dceefa 70%, #d3e9f5 100%);
  background-attachment: fixed;
}
body {
  margin: 0;
  min-width: 280px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Songti SC", "Noto Serif SC", "SimSun", serif; font-weight: 700; line-height: 1.2; }
a { color: inherit; }
img, svg { max-width: 100%; }

.skip-link { position: fixed; left: 12px; top: -80px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 4px; white-space: nowrap; }
.skip-link:focus { top: 12px; }

/* ===== 顶栏（统一为首页 atlas-header 视觉：纯文字品牌 + 小号粗体导航）===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 70px; padding: 20px clamp(22px, 4vw, 72px); gap: 28px;
  color: var(--ink);
  font-family: Arial, "PingFang SC", sans-serif;
  background: color-mix(in srgb, var(--paper) 66%, transparent);
  backdrop-filter: saturate(140%) blur(6px);
}
.site-brand {
  color: inherit; font-size: clamp(21px, 2vw, 32px); font-weight: 900; letter-spacing: -.07em;
  text-decoration: none; font-family: Arial, "PingFang SC", sans-serif;
}
.site-nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.4vw, 34px); white-space: nowrap; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.site-nav-link {
  display: inline-flex; align-items: center; min-height: 32px; padding: 3px 0;
  color: inherit; text-decoration: none; font-size: inherit; font-weight: 700; letter-spacing: inherit;
  transition: color 150ms ease;
}
.site-nav-link:hover, .site-nav-link:focus-visible { color: var(--blue); }
.site-nav-link.is-active { color: var(--ink); opacity: .62; }

main { min-height: calc(100vh - 200px); padding: 8px clamp(20px, 4vw, 56px) 64px; }
/* 非首页：顶栏改为 fixed 不占位，给正文顶部留出顶栏高度，避免内容被遮挡 */
body:not(.home-atlas-page) main { padding-top: calc(64px + 18px); }
body.works-page { min-height: 100vh; display: flex; flex-direction: column; }
body.works-page main { flex: 1 0 auto; min-height: 100vh; }
body.works-page .site-footer { margin-top: 0; }

/* ===== 通用区块 ===== */
.section { padding: 56px 0; border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: clamp(26px, 4vw, 36px); }
.section-head p { margin: 0; color: var(--muted); font-size: 15px; }
.section-foot { margin-top: 24px; }
.section-foot a, .text-link { color: var(--blue); text-decoration: none; font-weight: 600; }
.section-foot a:hover, .text-link:hover { text-decoration: underline; }

.eyebrow { margin: 0 0 10px; color: var(--red); font: 700 12px/1.2 Consolas, "Space Mono", monospace; letter-spacing: 1px; }

/* ===== 按钮 ===== */
.btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 15px; }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { opacity: 0.9; }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: color-mix(in oklab, var(--ink) 6%, var(--surface)); }

/* ===== 首页 Hero ===== */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); gap: clamp(30px, 6vw, 80px); align-items: center; padding: clamp(48px, 9vh, 96px) 0 56px; border-bottom: 1px solid var(--line); }
.hero-left { min-width: 0; }
.hero h1 { margin: 0; font-size: clamp(40px, 6vw, 68px); text-wrap: balance; }
.hero-underline { width: 300px; max-width: 80%; margin: 10px 0 22px; }
.hero-underline svg { width: 100%; height: auto; display: block; }
.hero-sub { max-width: 540px; color: var(--muted); font-size: 17px; margin: 0 0 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-right { display: flex; justify-content: center; }
.hero-card {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 16px; transform: rotate(3deg); box-shadow: 8px 8px 0 var(--shadow); max-width: 380px; width: 100%;
}
.hero-card-inner { border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.hero-card-cap { margin: 12px 0 0; text-align: center; color: var(--muted); font: 700 12px Consolas, monospace; }

/* ===== 作品（拍立得）===== */
.polaroid-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.polaroid {
  display: block; text-decoration: none; background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 8px; padding: 14px; box-shadow: 6px 6px 0 var(--shadow); transition: transform 160ms ease;
}
.polaroid:nth-child(3n+1) { transform: rotate(-3deg); }
.polaroid:nth-child(3n+2) { transform: rotate(2deg); }
.polaroid:nth-child(3n+3) { transform: rotate(-1deg); }
.polaroid:hover { transform: rotate(0deg) translateY(-4px); }
.polaroid-thumb { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 12px; background: var(--paper); }
.polaroid-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.polaroid-body h3 { margin: 0 0 6px; font-size: 19px; }
.polaroid-body p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.tag { display: inline-block; font: 700 11px Consolas, monospace; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }

/* ===== 每日小作品 ===== */
.daily-card { display: flex; gap: 24px; align-items: center; background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 20px 24px; flex-wrap: wrap; }
.daily-thumb { width: 240px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); flex-shrink: 0; }
.daily-body { flex: 1; min-width: 240px; }
.daily-body h3 { margin: 0 0 8px; font-size: 22px; }
.daily-body p { margin: 0 0 12px; color: var(--muted); }
.daily-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 60px); align-items: center; }
.daily-detail-img { border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 6px 6px 0 var(--shadow); }
.daily-detail-meta h2 { margin: 0 0 10px; font-size: clamp(24px, 4vw, 34px); }

/* ===== 博客 ===== */
.blog-page-head { max-width: 760px; padding: clamp(48px, 9vh, 82px) 0 42px; }
.blog-page-head h1 { margin: 0; font-size: clamp(40px, 7vw, 62px); text-wrap: balance; }
.blog-page-head .lead { margin-bottom: 0; }
.post-list { border-bottom: 1px solid var(--line); }
.post-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 0;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.article-row:first-child { margin-top: 34px; }
.post-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--muted);
  font: 12px/1.5 Consolas, "Space Mono", monospace;
}
.post-body { min-width: 0; }
.post-body h2, .post-body h3 { margin: 0 0 8px; font-size: clamp(25px, 4vw, 42px); line-height: 1.2; }
.post-body h3 a { text-decoration: none; }
.post-body h3 a:hover { color: var(--red); }
.post-body > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.article-row details { margin-top: 20px; }
.article-row summary { cursor: pointer; color: var(--blue); font-weight: 700; }
.article-content { max-width: 720px; padding-top: 14px; }
.article-content p { margin: 0 0 15px; font-size: 16px; line-height: 1.95; text-wrap: pretty; }
.article-content p:last-child { margin-bottom: 0; }
.article-content a { color: var(--blue); font-weight: 600; }
.article-content blockquote {
  margin: 26px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--red);
  font-family: "Songti SC", "Noto Serif SC", "SimSun", serif;
  font-size: 22px;
}

/* ===== 内页页头 ===== */
.page-head { padding: clamp(40px, 8vh, 80px) 0 36px; border-bottom: 3px solid var(--ink); margin-bottom: 40px; }
.page-head h1 { margin: 0; font-size: clamp(38px, 7vw, 60px); }
.lead { max-width: 640px; margin: 18px 0 0; color: var(--muted); font-size: 17px; }

/* ===== 作品详情 ===== */
.work-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 70px); }
.work-stage { position: sticky; top: 90px; align-self: start; }
.work-placeholder { aspect-ratio: 4 / 3; border: 2px dashed var(--line); border-radius: 10px; display: grid; place-items: center; color: var(--muted); background: var(--surface); }
.work-story h2 { margin: 0 0 16px; font-size: 26px; }
.work-story p { margin: 0 0 16px; line-height: 1.85; }

/* ===== 关于 ===== */
.about-grid { max-width: 720px; }
.about-bio p { margin: 0 0 18px; font-size: 17px; line-height: 1.9; }
.contact-line { margin: 18px 0 0 !important; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px !important; }
.contact-line span { display: inline-block; min-width: 64px; font-weight: 700; margin-right: 8px; }
.idea-box { margin-top: 28px; padding: 22px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; }
.idea-box h2 { margin: 0 0 10px; font-size: 22px; }
.idea-box p { margin: 0 0 10px; color: var(--muted); }

/* ===== 404 / 空状态 ===== */
.empty-state {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(64px, 12vh, 120px) 0;
  text-align: center;
}
.big-404 {
  font-family: "Songti SC", "Noto Serif SC", "SimSun", serif;
  font-size: clamp(140px, 24vw, 280px);
  font-weight: 700;
  line-height: 1;
  color: var(--muted);
  opacity: 0.22;
  letter-spacing: -0.04em;
  user-select: none;
  margin-bottom: -0.32em;
}
.empty-state h1 { margin: 0 0 16px; font-size: clamp(36px, 6vw, 56px); }
.empty-state p { margin: 0 auto 32px; color: var(--muted); font-size: 17px; max-width: 480px; line-height: 1.8; }
.empty-state .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== 页脚（浅色细线分隔，去掉黑色块）===== */
.site-footer { background: var(--surface); color: var(--ink); border-top: 1px solid var(--line); margin-top: 56px; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 22px clamp(20px, 4vw, 56px) 28px; color: var(--muted); font-size: 13px;
}
.foot-bottom > * { flex-shrink: 0; }
.foot-meta a { color: inherit; text-decoration: none; }
.foot-meta a:hover { text-decoration: underline; }

/* ===== 备案号徽标（官方盾牌 + 工信部链接）===== */
.copyright { font-size: 13px; }
.icp-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 32px; border-radius: 999px; text-decoration: none;
  font-size: 13px; font-weight: 600; color: var(--ink);
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--ink) 5%, transparent);
  white-space: nowrap;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.icp-badge:hover {
  background: color-mix(in oklab, var(--ink) 10%, transparent);
  border-color: color-mix(in oklab, var(--ink) 30%, transparent);
  transform: translateY(-1px);
}
.icp-shield { width: 16px; height: 16px; flex-shrink: 0; }
.police-badge {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.police-badge:hover { text-decoration: underline; }
.police-badge img { width: 18px; height: 20px; object-fit: contain; }

/* ===== 焦点 / 动效 ===== */
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
@media (hover: hover) {
  .post-body h3 a, .polaroid, .btn, .nav-link, .sticky { transition: color 150ms ease, transform 150ms ease, background 150ms ease; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* ===== 响应式 ===== */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; }
  .hero-right { justify-content: flex-start; }
  .sticky-grid { grid-template-columns: 1fr; }
  .work-detail { grid-template-columns: 1fr; }
  .work-stage { position: static; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .blog-page-head { padding-top: 48px; }
  .post-row { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 560px) {
  .foot-bottom { flex-direction: column; justify-content: center; text-align: center; gap: 18px; padding: 26px 20px 32px; }
  .icp-badge { padding: 10px 36px; }
}
@media (max-width: 480px) {
  .site-header { min-height: 58px; padding: 16px 20px; gap: 12px; }
  .site-brand { font-size: 21px; }
  .site-nav { position: static; transform: none; max-width: 230px; margin-left: auto; gap: 8px 12px; flex-wrap: wrap; font-size: 10px; line-height: 1; }
  .site-nav-link { min-height: 22px; padding: 3px 0; }
  .polaroid-grid { grid-template-columns: 1fr; }
}

/* ===== 友情链接 / 外链卡片 ===== */
.friend-links { margin-top: 32px; }
.friend-links h2 { font-size: 20px; margin: 0 0 14px; }
.fl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.fl-item {
  flex: 1 1 240px; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; background: var(--surface);
}
.fl-item a { font-weight: 600; color: var(--ink); text-decoration: none; }
.fl-item a:hover { color: var(--red); }
.fl-desc { margin: 6px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* ===== UNO 启动页 ===== */
.launch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-bottom: 48px; }
.launch-card {
  position: relative; display: block; text-decoration: none; background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 32px 28px; box-shadow: 6px 6px 0 var(--shadow);
  transition: transform 160ms ease, border-color 160ms ease;
}
.launch-card:hover { transform: translateY(-4px); border-color: var(--yellow); }
.launch-badge {
  position: absolute; top: 18px; right: 18px;
  font: 700 11px Consolas, monospace; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px;
}
.launch-badge-multi { color: var(--red); border-color: color-mix(in oklab, var(--red) 40%, var(--line)); }
.launch-card h2 { margin: 0 0 12px; font-size: 26px; padding-top: 18px; }
.launch-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

@media (max-width: 480px) {
  .launch-grid { grid-template-columns: 1fr; }
}

/* ===== UNO 联机对战 ===== */
.uno-page { max-width: 980px; margin: 0 auto; padding: 8px 4px 40px; }
.uno-topbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 6px 4px 16px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.uno-back { color: var(--muted); text-decoration: none; font-size: 14px; }
.uno-back:hover { color: var(--ink); }
.uno-room { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.uno-room-label { font-size: 13px; color: var(--muted); }
.uno-code { font: 700 16px Consolas, monospace; letter-spacing: 2px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 12px; cursor: pointer; color: var(--ink); }
.uno-code:hover { border-color: var(--yellow); }
.uno-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.uno-topbar-right { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); display: inline-block; }
.dot.on { background: #3FA45B; }
.dot.off { background: #c0392b; }
.uno-leave { margin-left: 4px; font-size: 13px; color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.uno-leave:hover { color: var(--ink); border-color: var(--ink); }

.uno-entry { max-width: 460px; margin: 40px auto; text-align: center; }
.uno-entry h1 { font-size: 30px; margin: 0 0 10px; }
.uno-sub { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0 0 22px; }
.uno-field { text-align: left; margin-bottom: 18px; }
.uno-field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.uno-field input, .uno-join input { width: 100%; box-sizing: border-box; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 9px; font-size: 15px; background: var(--surface); color: var(--ink); }
.uno-entry-actions { display: flex; flex-direction: column; gap: 12px; }
.uno-join { display: flex; gap: 10px; }
.uno-join input { flex: 0 0 110px; text-transform: uppercase; letter-spacing: 2px; text-align: center; }
.uno-err { color: #c0392b; font-size: 13px; min-height: 18px; margin: 12px 0 0; }
.uno-conn-log { margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: var(--surface); border: 1.5px solid var(--line); font-size: 12px; color: var(--muted); text-align: left; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; }
.uno-conn-log:empty, .uno-conn-log[hidden] { display: none !important; }

[hidden] { display: none !important; }

.uno-mode-switch { display: flex; gap: 10px; justify-content: center; margin-bottom: 20px; }
.uno-mode-switch .btn { flex: 1; max-width: 140px; }
.uno-create-panel, .uno-join-panel { text-align: left; }
.uno-segmented { display: flex; gap: 6px; flex-wrap: wrap; }
.uno-segmented button { flex: 1; min-width: 48px; padding: 9px 8px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); cursor: pointer; font-size: 14px; }
.uno-segmented button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.uno-field-hint { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.uno-select { width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 9px; font-size: 15px; background: var(--surface); color: var(--ink); }
.btn-block { width: 100%; box-sizing: border-box; }

/* 大厅 */
.uno-lobby { max-width: 560px; margin: 24px auto; text-align: center; }
.lobby-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 18px 0 24px; }
.lobby-chip { background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; }
.lobby-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lobby-settings { background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 16px; text-align: left; margin-bottom: 18px; }
.lobby-settings .uno-field:last-child { margin-bottom: 0; }
.uno-hint { color: var(--muted); font-size: 13px; margin-top: 16px; }

.score-board { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; font-size: 13px; }
.score-title { color: var(--muted); }
.score-chip { background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 10px; }

/* 牌桌 */
.uno-table { display: flex; flex-direction: column; gap: 18px; }
.pl-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pl { background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 14px; min-width: 96px; }
.pl.cur { border-color: var(--yellow); box-shadow: 0 0 0 3px color-mix(in oklab, var(--yellow) 35%, transparent); }
.pl.off { opacity: 0.5; border-style: dashed; }
.pl-name { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pl-count { font-size: 12px; color: var(--muted); margin-top: 2px; }
.uno-badge { display: inline-block; background: var(--red); color: #fff; font: 700 10px/1 Consolas, monospace; padding: 3px 6px; border-radius: 5px; letter-spacing: 1px; }
.off-badge { background: var(--muted); color: #fff; font-size: 10px; padding: 3px 6px; border-radius: 5px; font-weight: 700; }
.catch-badge { background: #E85D75; color: #fff; font-size: 10px; padding: 3px 7px; border-radius: 5px; font-weight: 700; animation: catch-pulse 0.8s ease-in-out infinite alternate; }
@keyframes catch-pulse { from { opacity: 0.65; } to { opacity: 1; } }

.center { display: flex; align-items: center; gap: 26px; justify-content: center; padding: 12px 0; }
.uno-draw { width: 76px; height: 104px; border-radius: 10px; background: var(--surface); border: 2px dashed var(--line); color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }
.uno-draw:hover { border-color: var(--yellow); }
.uno-draw-count { font-size: 22px; font-weight: 700; color: var(--ink); }
.uno-draw-label { font-size: 12px; }
.uno-discard { width: 76px; height: 104px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,.12); }
.uno-discard .uno-card-val { font-size: 30px; font-weight: 800; }
.center-meta { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.uno-pending { color: var(--red); font-weight: 700; }
.wait-hint { font-size: 12px; color: var(--muted); text-align: center; margin-top: 8px; }

.my-info { display: flex; align-items: center; gap: 12px; justify-content: center; flex-wrap: wrap; }
.my-name { font-weight: 700; }
.turn-flag { background: var(--yellow); color: #3a2f00; font-size: 12px; padding: 3px 10px; border-radius: 999px; font-weight: 700; }

.my-hand { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; min-height: 110px; align-items: center; }
.hand-empty { color: var(--muted); }

.uno-card { width: 68px; height: 96px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.14); user-select: none; }
.uno-card-val { font-size: 30px; font-weight: 800; }
.uno-red { background: #D6453D; }
.uno-yellow { background: #E9C84A; color: #3a2f00; }
.uno-green { background: #3FA45B; }
.uno-blue { background: #3D7DD8; }
.uno-wild { background: linear-gradient(135deg, #D6453D 0 25%, #E9C84A 25% 50%, #3FA45B 50% 75%, #3D7DD8 75% 100%); }
.uno-card.uno-disabled { opacity: 0.4; filter: grayscale(0.4); }
.uno-card.uno-playable { cursor: pointer; outline: 3px solid var(--yellow); outline-offset: 2px; transform: translateY(-4px); }

.act-bar { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; min-height: 44px; align-items: center; }
.btn-catch { background: var(--red); color: #fff; border: none; border-radius: 9px; padding: 11px 20px; font-weight: 700; cursor: pointer; }
.btn-catch:hover { filter: brightness(1.05); }

.color-pick { display: flex; gap: 10px; }
.color-btn { width: 52px; height: 52px; border-radius: 10px; border: 2px solid rgba(0,0,0,.1); cursor: pointer; color: #fff; font-weight: 700; }
.color-btn.uno-red { background: #D6453D; }
.color-btn.uno-yellow { background: #E9C84A; color: #3a2f00; }
.color-btn.uno-green { background: #3FA45B; }
.color-btn.uno-blue { background: #3D7DD8; }

/* 结算 */
.uno-ended { max-width: 460px; margin: 48px auto; text-align: center; }
.uno-ended h2 { font-size: 32px; margin: 0 0 10px; }
.ended-actions { display: flex; gap: 12px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.ended-scores { display: flex; flex-direction: column; gap: 8px; margin: 18px 0; }
.ended-score { display: flex; justify-content: space-between; align-items: center; background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.ended-score strong { font-size: 20px; }

@media (max-width: 560px) {
  .uno-draw, .uno-discard { width: 62px; height: 88px; }
  .uno-card { width: 56px; height: 80px; }
  .uno-card-val { font-size: 24px; }
  .center { gap: 16px; }
  .uno-segmented button { min-width: 56px; }
  .score-board { gap: 6px; }
}

/* ===== 首页：实验海报 ===== */
body.home-atlas-page {
  --atlas-bg: #c6e5f4;
  --atlas-paper: #fbf7ef;
  --atlas-ink: #071148;
  --atlas-copy: #0b1238;
  --atlas-line: rgba(7, 17, 72, 0.19);
  --atlas-blue: #2755dd;
  --atlas-lime: #c8ff13;
  --atlas-pink: #ff447e;
  --atlas-yellow: #ffc62c;
  --atlas-green: #83d56f;
  background: var(--atlas-paper);
  color: var(--atlas-copy);
  overflow-x: hidden;
}

[data-theme="dark"] body.home-atlas-page {
  --atlas-bg: #071756;
  --atlas-paper: #e9eef8;
  --atlas-ink: #f8f7f0;
  --atlas-copy: #f8f7f0;
  --atlas-line: rgba(248, 247, 240, 0.18);
  --atlas-blue: #627fff;
  --atlas-lime: #c8ff13;
  --atlas-pink: #ff4e87;
  --atlas-yellow: #ffd042;
  --atlas-green: #9ee58e;
}

body.home-atlas-page .site-header,
body.home-atlas-page .site-footer { display: none; }
body.home-atlas-page main {
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
}

.atlas-hero {
  position: relative;
  isolation: isolate;
  min-height: max(760px, 100svh);
  color: var(--atlas-ink);
  background: var(--atlas-bg);
  overflow: hidden;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", "Microsoft YaHei", monospace;
}
.atlas-hero * { box-sizing: border-box; }
.atlas-grain {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .22;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 18%, rgba(255,255,255,.7) 0 1px, transparent 1.8px),
    radial-gradient(circle at 75% 64%, rgba(7,17,72,.18) 0 1px, transparent 1.6px),
    linear-gradient(116deg, transparent 32%, rgba(255,252,240,.52) 47%, transparent 65%);
  background-size: 17px 17px, 21px 21px, 120% 100%;
  mix-blend-mode: soft-light;
}
.atlas-canvas {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .82;
  mix-blend-mode: multiply;
}
[data-theme="dark"] body.home-atlas-page .atlas-canvas { mix-blend-mode: screen; opacity: .75; }
.atlas-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -18%;
  pointer-events: none;
  opacity: .55;
  background:
    radial-gradient(circle at 50% 53%, rgba(255,255,255,.6), transparent 26%),
    radial-gradient(circle at 16% 15%, rgba(255,255,255,.55), transparent 21%),
    radial-gradient(circle at 84% 60%, rgba(255,198,44,.17), transparent 24%);
  filter: blur(24px);
  transition: opacity 350ms ease;
}
[data-theme="dark"] body.home-atlas-page .atlas-hero::before {
  opacity: .7;
  background:
    radial-gradient(circle at 53% 48%, rgba(98,127,255,.33), transparent 26%),
    radial-gradient(circle at 14% 12%, rgba(200,255,19,.12), transparent 20%),
    radial-gradient(circle at 83% 60%, rgba(255,78,135,.16), transparent 24%);
}
.atlas-guide {
  position: absolute;
  z-index: -1;
  background: var(--atlas-line);
  pointer-events: none;
}
.atlas-guide-v { width: 1px; top: 0; bottom: 0; }
.atlas-guide-a { left: 3.1%; }
.atlas-guide-b { left: 34.4%; }
.atlas-guide-c { left: 65.6%; }
.atlas-guide-h { height: 1px; left: 0; right: 0; top: 31.8%; }
.atlas-guide-h::before,
.atlas-guide-h::after {
  content: "+";
  position: absolute;
  top: -14px;
  color: var(--atlas-line);
  font: 27px/1 Arial, sans-serif;
}
.atlas-guide-h::before { left: 2.6%; }
.atlas-guide-h::after { right: 2.6%; }

.atlas-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 25px clamp(26px, 3.6vw, 92px);
  font-family: Arial, "PingFang SC", sans-serif;
}
.atlas-brand {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  font-size: clamp(20px, 1.65vw, 28px);
  font-weight: 900;
  letter-spacing: .02em;
}
.atlas-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 3.8vw, 76px);
  font-size: clamp(12px, 1.1vw, 18px);
  letter-spacing: .04em;
  white-space: nowrap;
}
.atlas-nav a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 3px 0;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.atlas-nav a:hover,
.atlas-nav a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

.atlas-copy-grid {
  position: absolute;
  z-index: 2;
  top: clamp(118px, 9vw, 172px);
  left: clamp(26px, 3.6vw, 92px);
  right: clamp(26px, 3.6vw, 92px);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(30px, 4vw, 92px);
  font-size: clamp(13px, 1.25vw, 21px);
  line-height: 1.52;
}
.atlas-copy-grid p { margin: 0; max-width: 31ch; }
.atlas-role { font-family: Arial, "PingFang SC", sans-serif; font-size: clamp(20px, 2.1vw, 36px); font-weight: 800; line-height: 1.14 !important; letter-spacing: -.035em; }
.atlas-motto { justify-self: center; }
.atlas-intro { justify-self: end; }

.atlas-title {
  position: absolute;
  z-index: 3;
  left: clamp(26px, 3.6vw, 92px);
  bottom: clamp(74px, 8.4vw, 150px);
  max-width: 10.8ch;
  margin: 0;
  color: var(--atlas-ink);
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(44px, 6.15vw, 136px);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.065em;
}
.atlas-time,
.atlas-coordinates {
  position: absolute;
  z-index: 3;
  bottom: 33px;
  margin: 0;
  font-size: clamp(11px, 1vw, 16px);
  letter-spacing: .04em;
}
.atlas-time { left: clamp(26px, 3.6vw, 92px); }
.atlas-coordinates { left: 50%; transform: translateX(-50%); }
.atlas-next {
  position: absolute;
  z-index: 5;
  right: clamp(26px, 3.6vw, 92px);
  bottom: 27px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-size: 12px;
  letter-spacing: .08em;
  text-decoration: none;
}
.atlas-next i { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid currentColor; border-radius: 50%; font-style: normal; }
.atlas-next:hover i { background: var(--atlas-ink); color: var(--atlas-bg); }

.atlas-sticker {
  --drag-x: 0px;
  --drag-y: 0px;
  --sticker-angle: 0deg;
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  transform: translate(var(--drag-x), var(--drag-y)) rotate(var(--sticker-angle));
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: filter 180ms ease, box-shadow 180ms ease;
}
.atlas-sticker:hover { filter: saturate(1.08) brightness(1.03); }
.atlas-sticker.is-dragging { cursor: grabbing; filter: drop-shadow(0 20px 12px rgba(7,17,72,.2)); }
.atlas-sticker-star {
  --sticker-angle: 10deg;
  top: 14%; left: 21%;
  width: clamp(54px, 6.1vw, 112px); height: clamp(54px, 6.1vw, 112px);
  padding-top: .1em;
  color: #18224d;
  background: var(--atlas-yellow);
  clip-path: polygon(50% 0, 61% 33%, 97% 36%, 68% 57%, 78% 92%, 50% 72%, 22% 92%, 32% 57%, 3% 36%, 39% 33%);
  font-family: "Arial Black", "PingFang SC", sans-serif;
  font-size: clamp(24px, 3.2vw, 58px);
  text-shadow: 1px 1px 0 rgba(255,255,255,.5);
}
.atlas-sticker-ring {
  --sticker-angle: -12deg;
  top: 45%; right: 17%;
  width: clamp(68px, 8vw, 140px); height: clamp(68px, 8vw, 140px);
  border: clamp(7px, .75vw, 13px) solid var(--atlas-green);
  border-radius: 50%;
  background: color-mix(in srgb, var(--atlas-paper) 74%, transparent);
  box-shadow: inset 0 0 0 2px var(--atlas-ink);
}
.atlas-sticker-ring b { position: absolute; top: -29%; left: 50%; transform: translateX(-50%); color: var(--atlas-pink); font: 900 clamp(35px, 5vw, 86px)/1 Arial, sans-serif; }
.atlas-sticker-ring em { font-style: normal; font-family: "Arial Black", "PingFang SC", sans-serif; font-size: clamp(16px, 1.8vw, 31px); }
.atlas-sticker-note {
  --sticker-angle: 9deg;
  top: 49%; left: 34%;
  width: clamp(68px, 7vw, 128px); height: clamp(46px, 4.9vw, 88px);
  padding: 9px;
  background: var(--atlas-pink);
  color: #fffaf4;
  outline: 4px solid #fffaf4;
  outline-offset: 3px;
  font-family: Arial, sans-serif;
  text-align: center;
  box-shadow: 5px 7px 0 rgba(7,17,72,.15);
}
.atlas-sticker-note span { position: absolute; left: 8px; top: 4px; font: 700 10px/1 monospace; }
.atlas-sticker-note b { font-size: clamp(14px, 1.5vw, 25px); letter-spacing: -.04em; }
.atlas-sticker-arrow {
  --sticker-angle: -18deg;
  right: 5.2%; bottom: 24%;
  width: clamp(82px, 10vw, 175px); height: clamp(60px, 7vw, 122px);
  color: var(--atlas-paper);
  background: var(--atlas-blue);
  clip-path: polygon(0 41%, 64% 41%, 64% 0, 100% 50%, 64% 100%, 64% 59%, 0 59%);
  font: 900 clamp(32px, 4.3vw, 74px)/1 Arial, sans-serif;
  filter: drop-shadow(3px 5px 0 rgba(7,17,72,.13));
}
.atlas-sticker-orbit {
  --sticker-angle: 8deg;
  top: 26%; right: 8.5%;
  width: clamp(80px, 9.2vw, 156px); height: clamp(80px, 9.2vw, 156px);
  border: clamp(7px, .7vw, 12px) solid var(--atlas-ink);
  border-radius: 50%;
  background: color-mix(in srgb, var(--atlas-paper) 74%, transparent);
  box-shadow: inset 0 0 0 4px var(--atlas-paper);
}
.atlas-sticker-orbit::before,
.atlas-sticker-orbit::after { content: ""; position: absolute; left: 50%; top: 50%; width: 136%; height: 38%; border: 5px solid var(--atlas-green); border-radius: 50%; transform: translate(-50%, -50%) rotate(-28deg); }
.atlas-sticker-orbit::after { transform: translate(-50%, -50%) rotate(62deg); border-color: var(--atlas-pink); opacity: .85; }
.atlas-sticker-orbit span { width: 28%; height: 28%; background: var(--atlas-yellow); border-radius: 50%; box-shadow: 0 0 0 3px var(--atlas-ink); }
.atlas-sticker-cloud {
  --sticker-angle: -6deg;
  left: 57%; bottom: 15%;
  min-width: clamp(76px, 8vw, 142px); height: clamp(43px, 4.4vw, 78px);
  padding: 0 16px;
  color: #173416;
  background: var(--atlas-green);
  border-radius: 48% 52% 43% 57% / 53% 40% 60% 47%;
  outline: 3px solid #173416;
  outline-offset: 2px;
  font-family: "Arial Black", "PingFang SC", sans-serif;
  font-size: clamp(15px, 1.8vw, 28px);
  white-space: nowrap;
}

.atlas-manifesto {
  position: relative;
  isolation: isolate;
  min-height: max(760px, 100svh);
  overflow: hidden;
  color: var(--atlas-ink);
  background: var(--atlas-bg);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", "Microsoft YaHei", monospace;
}
.atlas-manifesto-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .72;
  background-image: linear-gradient(var(--atlas-line) 1px, transparent 1px), linear-gradient(90deg, var(--atlas-line) 1px, transparent 1px);
  background-size: 33.33% 33.33%, 33.33% 33.33%;
  mask-image: linear-gradient(to bottom, #000 0 76%, transparent 100%);
}
.atlas-manifesto::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -20%;
  opacity: .62;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 54% 44%, rgba(255,255,255,.73), transparent 31%),
    radial-gradient(ellipse at 17% 72%, rgba(39,85,221,.16), transparent 24%),
    radial-gradient(ellipse at 83% 16%, rgba(255,198,44,.16), transparent 21%);
  filter: blur(30px);
}
.atlas-manifesto-copy {
  position: absolute;
  z-index: 4;
  top: clamp(34px, 6vw, 104px);
  left: clamp(26px, 7vw, 146px);
  right: clamp(26px, 7vw, 146px);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: var(--atlas-copy);
  font-size: clamp(12px, 1.15vw, 18px);
  line-height: 1.55;
}
.atlas-manifesto-copy p { margin: 0; }
.atlas-manifesto-copy p:first-child { color: color-mix(in srgb, var(--atlas-ink) 74%, transparent); }
.atlas-manifesto h2 {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 39%;
  width: min(1100px, 82vw);
  margin: 0;
  color: var(--atlas-ink);
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(54px, 8.2vw, 150px);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.075em;
  text-align: center;
  transform: translate(-50%, 20px);
  opacity: .05;
  transition: opacity 850ms cubic-bezier(.22, 1, .36, 1), transform 900ms cubic-bezier(.22, 1, .36, 1);
}
.atlas-manifesto.is-visible h2 { opacity: 1; transform: translate(-50%, 0); }
.atlas-sculpture {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 47%;
  width: min(720px, 61vw);
  height: min(500px, 43vw);
  transform: translate(-50%, -50%) rotate(-4deg);
  filter: drop-shadow(0 38px 24px rgba(7,17,72,.18));
  opacity: .18;
  transition: opacity 850ms ease, transform 1100ms cubic-bezier(.22, 1, .36, 1);
}
.atlas-manifesto.is-visible .atlas-sculpture { opacity: .78; transform: translate(-50%, -50%) rotate(-4deg) scale(1.02); }
.atlas-finger,
.atlas-palm {
  position: absolute;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.62);
  background:
    linear-gradient(107deg, rgba(255,255,255,.78) 3%, rgba(255,255,255,.08) 28%, transparent 42%),
    linear-gradient(154deg, #e5effe 0%, #a1bce9 43%, #4774d7 74%, #2856c9 100%);
  box-shadow:
    inset -12px -17px 30px rgba(29,62,166,.34),
    inset 11px 10px 20px rgba(255,255,255,.5),
    0 9px 16px rgba(39,65,149,.2);
}
.atlas-finger::after,
.atlas-palm::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 16%;
  height: 22%;
  border-radius: 50%;
  background: rgba(255,255,255,.47);
  filter: blur(9px);
  transform: rotate(-15deg);
}
.atlas-finger { bottom: 3%; width: 17%; height: 74%; border-radius: 52% 48% 35% 38% / 23% 27% 73% 77%; transform-origin: 50% 92%; }
.atlas-finger-a { left: 10%; transform: rotate(12deg); height: 61%; }
.atlas-finger-b { left: 26%; transform: rotate(4deg); height: 82%; }
.atlas-finger-c { left: 43%; transform: rotate(-2deg); height: 91%; }
.atlas-finger-d { left: 59%; transform: rotate(-8deg); height: 84%; }
.atlas-finger-e { left: 75%; transform: rotate(-17deg); height: 67%; }
.atlas-palm { left: 17%; bottom: 2%; width: 68%; height: 49%; border-radius: 42% 58% 44% 56% / 48% 47% 53% 52%; transform: rotate(-1deg); }
.atlas-palm::before {
  content: "";
  position: absolute;
  width: 34%; height: 30%; right: 5%; top: 23%;
  border-radius: 50%;
  background: linear-gradient(130deg, #eef5ff, #7194df 68%, #456aca);
  transform: rotate(-21deg);
  box-shadow: inset 7px 8px 13px rgba(255,255,255,.5);
}
.atlas-glint { position: absolute; z-index: 5; width: 34px; height: 3px; border-radius: 99px; background: rgba(255,255,255,.9); box-shadow: 0 0 26px 9px rgba(255,255,255,.9); opacity: .75; }
.atlas-glint-a { left: 23%; top: 45%; transform: rotate(-23deg); }
.atlas-glint-b { right: 16%; top: 42%; transform: rotate(25deg); }
.atlas-manifesto-sticker { position: absolute; z-index: 6; display: grid; place-items: center; color: #111b50; font-family: Arial, "PingFang SC", sans-serif; font-weight: 900; user-select: none; }
.atlas-manifesto-sticker-a { top: 21%; left: 17%; width: clamp(55px, 6vw, 112px); height: clamp(55px, 6vw, 112px); background: var(--atlas-yellow); clip-path: polygon(50% 0, 62% 32%, 100% 36%, 68% 57%, 78% 100%, 50% 73%, 22% 100%, 31% 57%, 0 36%, 38% 32%); font-size: clamp(27px, 3vw, 54px); transform: rotate(11deg); }
.atlas-manifesto-sticker-b { right: 10%; top: 61%; width: clamp(76px, 8vw, 150px); height: clamp(54px, 5.6vw, 104px); color: #fff; background: var(--atlas-blue); clip-path: polygon(0 40%, 63% 40%, 63% 0, 100% 50%, 63% 100%, 63% 60%, 0 60%); font-size: clamp(32px, 4vw, 70px); transform: rotate(-15deg); }
.atlas-manifesto-sticker-c { left: 8%; bottom: 21%; width: clamp(55px, 5.5vw, 100px); height: clamp(55px, 5.5vw, 100px); border: 9px solid var(--atlas-green); border-radius: 50%; background: rgba(255,255,255,.4); font-size: clamp(23px, 2.6vw, 48px); transform: rotate(-10deg); }
.atlas-manifesto-foot { position: absolute; z-index: 5; left: clamp(26px, 7vw, 146px); bottom: clamp(52px, 6vw, 94px); margin: 0; font-size: 12px; letter-spacing: .06em; }
.atlas-manifesto-foot span { color: var(--atlas-blue); font-size: 24px; margin-left: 8px; }
@media (prefers-reduced-motion: reduce) {
  .atlas-manifesto h2 { opacity: 1; transform: translate(-50%, 0); transition: none; }
  .atlas-sculpture { opacity: .78; transform: translate(-50%, -50%) rotate(-4deg); transition: none; }
}

.atlas-main {
  position: relative;
  z-index: 2;
  padding: clamp(66px, 10vw, 160px) clamp(26px, 7vw, 146px) clamp(90px, 13vw, 200px);
  background: var(--atlas-paper);
  color: #112146;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", "Microsoft YaHei", monospace;
}
.atlas-section-head { display: grid; grid-template-columns: minmax(150px, .72fr) minmax(280px, 1.2fr) minmax(230px, .75fr); gap: clamp(20px, 4vw, 76px); align-items: start; padding-bottom: clamp(48px, 7vw, 100px); }
.atlas-section-head p { margin: 4px 0 0; color: #53627d; font-size: 13px; line-height: 1.6; }
.atlas-section-head h2,
.atlas-notes h2,
.atlas-daily h2 { margin: 0; font-family: Arial, "PingFang SC", sans-serif; font-weight: 900; letter-spacing: -.055em; line-height: .97; }
.atlas-section-head h2 { font-size: clamp(34px, 5vw, 86px); }
.atlas-project-list { border-top: 1px solid #aab5c4; }
.atlas-project { display: grid; grid-template-columns: minmax(52px, .24fr) minmax(170px, .9fr) minmax(220px, 1.3fr) minmax(130px, .6fr); gap: 20px; align-items: baseline; padding: clamp(20px, 2.2vw, 34px) 0; border-bottom: 1px solid #aab5c4; color: inherit; text-decoration: none; transition: padding 220ms ease, color 220ms ease; }
.atlas-project:hover { padding-left: 18px; color: #194be0; }
.atlas-project-no,
.atlas-project-meta { color: #53627d; font-size: 12px; }
.atlas-project-name { font-family: Arial, "PingFang SC", sans-serif; font-size: clamp(23px, 2.5vw, 44px); font-weight: 900; letter-spacing: -.045em; }
.atlas-project-desc { color: #53627d; font-size: clamp(13px, 1.25vw, 18px); line-height: 1.5; }
.atlas-project-meta { justify-self: end; text-align: right; }
.atlas-section-link { margin: 24px 0 0; text-align: right; }
.atlas-section-link a,
.atlas-all-notes,
.atlas-daily a { color: #194be0; font-size: 13px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.atlas-notes { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(300px, 1.2fr); gap: clamp(32px, 10vw, 180px); margin-top: clamp(100px, 14vw, 220px); padding-top: 20px; }
.atlas-notes > div > p,
.atlas-daily > div > p:first-child { margin: 0 0 25px; color: #53627d; font-size: 13px; }
.atlas-notes h2 { font-size: clamp(34px, 4vw, 70px); }
.atlas-note-list { border-top: 1px solid #aab5c4; }
.atlas-note { padding: 22px 0 24px; border-bottom: 1px solid #aab5c4; }
.atlas-note time { display: block; margin-bottom: 8px; color: #53627d; font-size: 12px; }
.atlas-note a { color: inherit; font-family: Arial, "PingFang SC", sans-serif; font-size: clamp(20px, 2vw, 32px); font-weight: 900; letter-spacing: -.04em; line-height: 1.1; text-decoration: none; }
.atlas-note a:hover { color: #194be0; }
.atlas-note a span { color: #194be0; }
.atlas-note p { max-width: 62ch; margin: 10px 0 0; color: #53627d; font-size: 14px; line-height: 1.65; }
.atlas-all-notes { display: inline-block; margin-top: 22px; }

.atlas-daily { display: grid; grid-template-columns: minmax(220px, .82fr) minmax(300px, 1.18fr); gap: clamp(32px, 10vw, 180px); align-items: center; margin-top: clamp(100px, 14vw, 220px); }
.atlas-daily img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; background: #c6e5f4; outline: 1px solid #aab5c4; outline-offset: 12px; }
.atlas-daily h2 { max-width: 12ch; font-size: clamp(34px, 4.4vw, 76px); }
.atlas-daily > div > p:not(:first-child) { max-width: 48ch; margin: 24px 0; color: #53627d; font-size: 15px; line-height: 1.7; }

@media (prefers-reduced-motion: no-preference) {
  .atlas-sticker-star { animation: atlas-bob 7s ease-in-out infinite alternate; }
  .atlas-sticker-cloud { animation: atlas-bob 8.5s ease-in-out -3s infinite alternate; }
  .atlas-sticker-orbit { animation: atlas-bob 9s ease-in-out -2s infinite alternate; }
  @keyframes atlas-bob { to { margin-top: 12px; } }
}
@media (prefers-reduced-motion: reduce) {
  .atlas-sticker { transition: none; }
}
@media (max-width: 860px) {
  .atlas-copy-grid { grid-template-columns: 1fr 1fr; }
  .atlas-intro { grid-column: 1 / -1; justify-self: start; max-width: 58ch !important; }
  .atlas-section-head { grid-template-columns: 1fr 1.3fr; }
  .atlas-section-head > :last-child { grid-column: 2; }
  .atlas-project { grid-template-columns: 48px 1fr auto; }
  .atlas-project-desc { grid-column: 2 / 4; }
  .atlas-project-meta { grid-column: 3; grid-row: 1; }
}
@media (max-width: 620px) {
  .atlas-hero { min-height: max(700px, 100svh); }
  .atlas-header { align-items: flex-start; padding: 18px 20px; gap: 14px; }
  .atlas-brand { font-size: 22px; }
  .atlas-nav { max-width: 230px; gap: 9px 13px; justify-content: flex-end; flex-wrap: wrap; font-size: 10px; line-height: 1; }
  .atlas-nav a { min-height: 22px; padding: 3px 0; }
  .atlas-copy-grid { top: 110px; left: 20px; right: 20px; grid-template-columns: 1fr 1fr; gap: 18px; font-size: 11px; line-height: 1.45; }
  .atlas-role { font-size: 18px; }
  .atlas-intro { max-width: 42ch !important; }
  .atlas-guide-b { left: 50%; }
  .atlas-guide-c { display: none; }
  .atlas-guide-h { top: 36%; }
  .atlas-title { left: 20px; bottom: 88px; font-size: clamp(42px, 12.5vw, 70px); }
  .atlas-time { left: 20px; bottom: 32px; font-size: 10px; }
  .atlas-coordinates { display: none; }
  .atlas-next { right: 20px; bottom: 25px; }
  .atlas-next span { display: none; }
  .atlas-sticker-star { left: 14%; top: 30%; }
  .atlas-sticker-ring { top: 45%; right: 10%; }
  .atlas-sticker-note { top: 58%; left: 26%; }
  .atlas-sticker-arrow { right: -2%; bottom: 24%; }
  .atlas-sticker-orbit { top: 29%; right: 2%; opacity: .82; }
  .atlas-sticker-cloud { left: 57%; bottom: 17%; }
  .atlas-main { padding: 78px 20px 110px; }
  .atlas-manifesto { min-height: max(700px, 100svh); }
  .atlas-manifesto-copy { top: 26px; left: 20px; right: 20px; gap: 12px; font-size: 10px; }
  .atlas-manifesto-copy p:last-child { text-align: right; }
  .atlas-manifesto h2 { top: 40%; width: 92vw; font-size: clamp(50px, 15vw, 76px); }
  .atlas-sculpture { top: 52%; width: 92vw; height: 66vw; }
  .atlas-manifesto-sticker-a { top: 18%; left: 11%; }
  .atlas-manifesto-sticker-b { right: 3%; top: 56%; }
  .atlas-manifesto-sticker-c { left: 6%; bottom: 18%; border-width: 7px; }
  .atlas-manifesto-foot { left: 20px; bottom: 49px; font-size: 10px; }
  .atlas-section-head { display: block; padding-bottom: 56px; }
  .atlas-section-head > p:last-child { max-width: 38ch; margin-top: 22px; }
  .atlas-project { grid-template-columns: 34px 1fr; gap: 8px 14px; padding: 20px 0; }
  .atlas-project-name { font-size: 25px; }
  .atlas-project-desc { grid-column: 2; font-size: 12px; }
  .atlas-project-meta { grid-column: 2; grid-row: auto; justify-self: start; text-align: left; }
  .atlas-notes,
  .atlas-daily { display: grid; grid-template-columns: 1fr; gap: 38px; margin-top: 105px; }
  .atlas-daily img { width: min(70vw, 310px); margin-left: 12px; }
  .atlas-note p { font-size: 12px; }
}

/* ===== 首页全屏章节重构 ===== */
body.home-atlas-page {
  --atlas-sky: #c7e7f5;
  --atlas-sky-deep: #a8d7ed;
  --atlas-paper: #f8f5ee;
  --atlas-ink: #0d1947;
  --atlas-muted: #52627e;
  --atlas-line: rgba(13, 25, 71, .17);
  --atlas-blue: #2f5ce0;
  --atlas-cyan: #6dd5e9;
  --atlas-lime: #c6ef4e;
  --atlas-pink: #f35b84;
  --atlas-yellow: #ffca4c;
  --atlas-green: #6ebd87;
  background: var(--atlas-paper);
  color: var(--atlas-ink);
  overflow: hidden;
}
body.home-atlas-page main { width: 100%; max-width: none; height: 100svh; margin: 0; padding: 0; }
body.home-atlas-page .site-header,
body.home-atlas-page .site-footer { display: none; }
.atlas-home-shell { position: relative; height: 100svh; }
.atlas-background-stage { position: absolute; z-index: 0; inset: 0; overflow: hidden; background: var(--atlas-sky); pointer-events: none; }
.atlas-background-layer { position: absolute; inset: 0; background: var(--atlas-sky); opacity: 1; will-change: opacity; }
.atlas-background-to { opacity: 0; }
.atlas-scroll { position: relative; z-index: 1; height: 100%; overflow-y: auto; overflow-x: hidden; background: transparent; scroll-snap-type: y proximity; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: rgba(13,25,71,.28) transparent; }
.atlas-chapter { position: relative; min-height: 100svh; scroll-snap-align: start; isolation: isolate; }
.atlas-header { position: fixed !important; z-index: 30; inset: 0 0 auto; display: flex !important; align-items: center; justify-content: space-between; min-height: 70px; padding: 20px clamp(22px, 4vw, 72px); color: var(--atlas-ink); pointer-events: none; font-family: Arial, "PingFang SC", sans-serif; mix-blend-mode: normal; }
.atlas-header > * { pointer-events: auto; }
.atlas-brand { color: inherit; font-size: clamp(21px, 2vw, 32px); font-weight: 900; letter-spacing: -.07em; text-decoration: none; }
.atlas-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); font-size: 12px; font-weight: 700; }
.atlas-nav a { color: inherit; text-decoration: none; }
.atlas-nav a:hover, .atlas-nav a:focus-visible { color: var(--atlas-blue); }
.atlas-header-index { min-width: 55px; color: currentColor; font: 11px/1 "SFMono-Regular", Consolas, monospace; text-align: right; opacity: .75; }
.atlas-header { transition: color 360ms ease; }
.atlas-header[data-scene="uno-spotlight"],
.atlas-header[data-scene="warp"] { color: #f5f8ff; }
.atlas-loader { position: fixed; z-index: 100; inset: 0; display: grid; place-content: center; gap: 18px; background: var(--atlas-sky); color: var(--atlas-ink); text-align: center; transition: opacity 420ms ease, visibility 420ms ease; }
.atlas-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.atlas-loader[hidden] { display: none; }
.atlas-loader-mark { font: 900 clamp(38px, 6vw, 80px)/1 Arial, "PingFang SC", sans-serif; letter-spacing: -.08em; }
.atlas-loader-track { width: min(220px, 52vw); height: 2px; overflow: hidden; background: rgba(13,25,71,.18); }
.atlas-loader-track span { display: block; width: 0; height: 100%; background: var(--atlas-blue); animation: atlas-load 720ms cubic-bezier(.22,1,.36,1) forwards; }
.atlas-loader small { font: 11px/1.4 "SFMono-Regular", Consolas, monospace; opacity: .7; }
@keyframes atlas-load { to { width: 100%; } }
.atlas-hero { color: var(--atlas-ink); background: var(--atlas-sky); font-family: "SFMono-Regular", Consolas, "Liberation Mono", "Microsoft YaHei", monospace; }
.atlas-hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: radial-gradient(circle at 28% 18%, rgba(255,255,255,.84), transparent 25%), radial-gradient(circle at 81% 61%, rgba(110,213,233,.45), transparent 29%), linear-gradient(135deg, var(--atlas-sky), var(--atlas-sky-deep)); }
.atlas-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .34; background: linear-gradient(115deg, transparent 0 36%, rgba(255,255,255,.36) 47%, transparent 60%); transform: translateX(-20%); transition: transform 1.1s cubic-bezier(.22,1,.36,1); pointer-events: none; }
.atlas-hero.is-visible::after { transform: translateX(18%); }
.atlas-grain { position: absolute; z-index: 4; inset: 0; pointer-events: none; opacity: .13; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }
.atlas-canvas, .atlas-webgl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.atlas-canvas { z-index: 0; mix-blend-mode: multiply; opacity: .6; }
.atlas-webgl { z-index: 1; opacity: 0; transition: opacity 800ms ease; }
.atlas-webgl.is-ready { opacity: .9; }
.atlas-webgl canvas { display: block; width: 100%; height: 100%; }
[data-theme="dark"] body.home-atlas-page .atlas-canvas { mix-blend-mode: screen; opacity: .7; }
.atlas-guide { position: absolute; z-index: 0; background: var(--atlas-line); pointer-events: none; }
.atlas-guide-v { width: 1px; top: 0; bottom: 0; }
.atlas-guide-a { left: 3.1%; }.atlas-guide-b { left: 34.4%; }.atlas-guide-c { left: 65.6%; }
.atlas-guide-h { height: 1px; left: 0; right: 0; top: 31.8%; }
.atlas-guide-h::before, .atlas-guide-h::after { content: "+"; position: absolute; top: -14px; color: var(--atlas-line); font: 27px/1 Arial, sans-serif; }
.atlas-guide-h::before { left: 2.6%; }.atlas-guide-h::after { right: 2.6%; }
.atlas-cloud { position: absolute; z-index: 0; width: 34vw; max-width: 520px; height: 16vw; max-height: 230px; border-radius: 50%; background: rgba(255,255,255,.24); filter: blur(28px); pointer-events: none; }
.atlas-cloud-a { top: 18%; left: 54%; transform: rotate(-11deg); }.atlas-cloud-b { right: -7%; bottom: 11%; width: 31vw; opacity: .6; transform: rotate(12deg); }
.atlas-mouse-light { position: absolute; z-index: 1; inset: 0; pointer-events: none; opacity: .88; mix-blend-mode: screen; transition: opacity 380ms ease; }
.atlas-mouse-light::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 17% 6% at calc(var(--mouse-x-p, 50%) - 18%) calc(var(--mouse-y-p, 50%) - 15%), rgba(255,252,229,.34), rgba(255,255,255,0) 72%), radial-gradient(ellipse 22% 7% at calc(var(--mouse-x-p, 50%) + 14%) calc(var(--mouse-y-p, 50%) - 12%), rgba(255,255,244,.27), rgba(255,255,255,0) 72%), radial-gradient(ellipse 14% 5% at calc(var(--mouse-x-p, 50%) - 10%) calc(var(--mouse-y-p, 50%) + 13%), rgba(255,247,211,.3), rgba(255,255,255,0) 72%), radial-gradient(ellipse 21% 6% at calc(var(--mouse-x-p, 50%) + 19%) calc(var(--mouse-y-p, 50%) + 11%), rgba(255,255,255,.24), rgba(255,255,255,0) 72%), radial-gradient(ellipse 13% 5% at calc(var(--mouse-x-p, 50%) + 2%) calc(var(--mouse-y-p, 50%) + 20%), rgba(255,252,229,.22), rgba(255,255,255,0) 70%); filter: blur(14px); transform: rotate(-18deg); transform-origin: var(--mouse-x-p, 50%) var(--mouse-y-p, 50%); transition: transform 180ms ease-out; }
.atlas-mouse-light::after { content: ""; position: absolute; width: min(68vw, 980px); height: min(22vw, 300px); left: var(--mouse-x-p, 50%); top: var(--mouse-y-p, 50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(255,255,244,.22) 0, rgba(255,247,220,.1) 42%, rgba(255,255,255,0) 74%); filter: blur(24px); transform: translate(-50%, -50%) rotate(-18deg); }
.atlas-copy-grid { position: absolute; z-index: 5; top: clamp(104px, 14vh, 160px); left: clamp(26px, 7vw, 146px); right: clamp(26px, 7vw, 146px); display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(20px, 4vw, 80px); font-size: clamp(11px, 1vw, 15px); line-height: 1.52; }
.atlas-copy-grid p { margin: 0; max-width: 31ch; }.atlas-role { font: 900 clamp(20px, 2.1vw, 36px)/1.14 Arial, "PingFang SC", sans-serif; letter-spacing: -.035em; }.atlas-role span { font: 500 .46em/1.5 "SFMono-Regular", Consolas, monospace; letter-spacing: 0; }.atlas-motto { justify-self: center; }.atlas-intro { justify-self: end; }
.atlas-title { position: absolute; z-index: 5; left: clamp(26px, 7vw, 146px); bottom: clamp(92px, 12vh, 150px); width: min(90vw, 12ch); margin: 0; color: var(--atlas-ink); font: 900 clamp(44px, 6.15vw, 136px)/.9 Arial, "PingFang SC", sans-serif; letter-spacing: -.065em; white-space: nowrap; }
.atlas-time, .atlas-coordinates { position: absolute; z-index: 5; bottom: 27px; margin: 0; font: 11px/1 "SFMono-Regular", Consolas, monospace; letter-spacing: .04em; }.atlas-time { left: clamp(26px, 3.6vw, 92px); }.atlas-coordinates { left: 50%; transform: translateX(-50%); }
.atlas-next { position: absolute; z-index: 6; right: clamp(26px, 7vw, 146px); bottom: 25px; display: flex; align-items: center; gap: 12px; color: inherit; font: 11px/1 "SFMono-Regular", Consolas, monospace; text-decoration: none; }.atlas-next i { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid currentColor; border-radius: 50%; font-style: normal; transition: background 180ms ease, color 180ms ease; }.atlas-next:hover i { background: var(--atlas-ink); color: var(--atlas-sky); }
.atlas-curve, .atlas-manifesto-curve { position: absolute; z-index: 6; right: -5%; bottom: -1px; left: -5%; height: clamp(48px, 6vw, 100px); border-radius: 50% 50% 0 0 / 100% 100% 0 0; pointer-events: none; }
.atlas-hero > .atlas-curve { background: linear-gradient(180deg, rgba(199,231,245,0), var(--atlas-sky) 88%); }
.atlas-manifesto > .atlas-manifesto-curve { background: linear-gradient(180deg, rgba(199,231,245,0), var(--atlas-paper) 88%); }
.atlas-curve span { position: absolute; top: 18%; left: 50%; width: min(240px, 20vw); height: 1px; background: color-mix(in srgb, var(--atlas-blue) 58%, transparent); transform: translateX(-50%); }
.atlas-sticker { position: absolute; z-index: 6; display: grid; place-items: center; user-select: none; }.atlas-sticker-star { top: 14%; left: 21%; width: clamp(42px, 5vw, 82px); height: clamp(42px, 5vw, 82px); color: #18224d; background: var(--atlas-yellow); clip-path: polygon(50% 0,61% 33%,97% 36%,68% 57%,78% 92%,50% 72%,22% 92%,32% 57%,3% 36%,39% 33%); font: 900 clamp(16px, 2.1vw, 34px)/1 Arial, sans-serif; }.atlas-sticker-ring { top: 45%; right: 17%; width: clamp(68px, 8vw, 140px); height: clamp(68px, 8vw, 140px); border: clamp(7px, .75vw, 13px) solid var(--atlas-green); border-radius: 50%; background: rgba(248,245,238,.52); box-shadow: inset 0 0 0 2px var(--atlas-ink); }.atlas-sticker-ring b { position: absolute; top: -29%; left: 50%; transform: translateX(-50%); color: var(--atlas-pink); font: 900 clamp(35px, 5vw, 86px)/1 Arial, sans-serif; }.atlas-sticker-ring em { font: normal clamp(16px, 1.8vw, 31px)/1 "Arial Black", "PingFang SC", sans-serif; }.atlas-sticker-note { top: 49%; left: 34%; width: clamp(68px, 7vw, 128px); height: clamp(46px, 4.9vw, 88px); padding: 9px; background: var(--atlas-pink); color: #fffaf4; outline: 4px solid #fffaf4; box-shadow: 5px 7px 0 rgba(7,17,72,.15); transform: rotate(9deg); }.atlas-sticker-note span { position: absolute; left: 8px; top: 4px; font: 700 10px/1 monospace; }.atlas-sticker-note b { font-size: clamp(14px, 1.5vw, 25px); }.atlas-sticker-arrow { right: 5.2%; bottom: 24%; width: clamp(82px, 10vw, 175px); height: clamp(60px, 7vw, 122px); color: var(--atlas-paper); background: var(--atlas-blue); clip-path: polygon(0 41%,64% 41%,64% 0,100% 50%,64% 100%,64% 59%,0 59%); font: 900 clamp(32px, 4.3vw, 74px)/1 Arial, sans-serif; transform: rotate(-18deg); }.atlas-sticker-orbit { top: 26%; right: 8.5%; width: clamp(80px, 9.2vw, 156px); height: clamp(80px, 9.2vw, 156px); border: clamp(7px, .7vw, 12px) solid var(--atlas-ink); border-radius: 50%; background: rgba(248,245,238,.45); box-shadow: inset 0 0 0 4px var(--atlas-paper); transform: rotate(8deg); }.atlas-sticker-orbit::before,.atlas-sticker-orbit::after { content: ""; position: absolute; left: 50%; top: 50%; width: 136%; height: 38%; border: 5px solid var(--atlas-green); border-radius: 50%; transform: translate(-50%,-50%) rotate(-28deg); }.atlas-sticker-orbit::after { transform: translate(-50%,-50%) rotate(62deg); border-color: var(--atlas-pink); opacity: .85; }.atlas-sticker-orbit span { width: 28%; height: 28%; background: var(--atlas-yellow); border-radius: 50%; box-shadow: 0 0 0 3px var(--atlas-ink); }.atlas-sticker-cloud { left: 57%; bottom: 15%; padding: 9px 16px; color: #173416; background: var(--atlas-green); border-radius: 48% 52% 43% 57% / 53% 40% 60% 47%; outline: 3px solid #173416; transform: rotate(-6deg); font: 800 clamp(13px, 1.2vw, 20px)/1 Arial, sans-serif; }
.atlas-manifesto { background: var(--atlas-sky); color: var(--atlas-ink); font-family: "SFMono-Regular", Consolas, monospace; }.atlas-manifesto-grid, .atlas-chapter-grid { position: absolute; inset: 0; opacity: .66; background-image: linear-gradient(var(--atlas-line) 1px, transparent 1px), linear-gradient(90deg, var(--atlas-line) 1px, transparent 1px); background-size: 33.33% 33.33%,33.33% 33.33%; mask-image: linear-gradient(to bottom,#000 0 76%,transparent 100%); pointer-events: none; }.atlas-manifesto::before { content: ""; position: absolute; z-index: -1; width: 72vw; height: 72vw; max-width: 980px; max-height: 980px; right: -18%; top: -16%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.72), rgba(255,255,255,0) 68%); filter: blur(12px); }.atlas-manifesto-copy { position: absolute; z-index: 4; top: clamp(28px, 7vw, 110px); left: clamp(26px, 7vw, 146px); right: clamp(26px, 7vw, 146px); display: flex; justify-content: space-between; gap: 30px; font-size: clamp(12px,1.15vw,18px); line-height: 1.55; }.atlas-manifesto-copy p { margin: 0; }.atlas-manifesto-copy p:first-child { opacity: .72; }.atlas-manifesto h2 { position: absolute; z-index: 5; top: 29%; left: 50%; width: min(1100px,82vw); margin: 0; font: 900 clamp(54px,8.2vw,150px)/.87 Arial,"PingFang SC",sans-serif; letter-spacing: -.08em; transform: translate(-50%, 34px); opacity: 0; transition: opacity 850ms ease, transform 900ms cubic-bezier(.22,1,.36,1); }.atlas-manifesto.is-visible h2 { opacity: 1; transform: translate(-50%,0); }.atlas-sculpture { position: absolute; z-index: 2; left: 54%; top: 63%; width: min(58vw,900px); height: min(28vw,420px); transform: translate(-50%,-50%) rotate(-4deg); opacity: .8; filter: drop-shadow(18px 25px 22px rgba(13,25,71,.13)); }.atlas-palm { position: absolute; left: 13%; bottom: 13%; width: 58%; height: 53%; border-radius: 54% 46% 46% 42%; background: linear-gradient(135deg,#d2f6f5,#8ecde6 70%,#6b9ed2); transform: rotate(-11deg); }.atlas-finger { position: absolute; bottom: 47%; width: 17%; height: 62%; border-radius: 60px; background: linear-gradient(90deg,#dff9f4,#87c8e3); transform-origin: bottom center; }.atlas-finger-a { left: 11%; transform: rotate(-36deg); }.atlas-finger-b { left: 25%; transform: rotate(-23deg); }.atlas-finger-c { left: 39%; transform: rotate(-8deg); }.atlas-finger-d { left: 53%; transform: rotate(8deg); }.atlas-finger-e { left: 66%; transform: rotate(25deg); }.atlas-glint { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: white; box-shadow: 0 0 20px 8px rgba(255,255,255,.7); }.atlas-glint-a { left: 49%; top: 19%; }.atlas-glint-b { right: 12%; top: 38%; }.atlas-manifesto-sticker { position: absolute; z-index: 6; display: grid; place-items: center; border-radius: 50%; color: var(--atlas-ink); font: 900 clamp(24px,3vw,50px)/1 Arial,sans-serif; }.atlas-manifesto-sticker-a { top: 17%; left: 17%; width: 64px; height: 64px; background: var(--atlas-lime); transform: rotate(-13deg); }.atlas-manifesto-sticker-b { right: 7%; top: 47%; color: var(--atlas-pink); font-size: 78px; transform: rotate(15deg); }.atlas-manifesto-sticker-c { left: 8%; bottom: 18%; width: 82px; height: 82px; border: 9px solid var(--atlas-blue); transform: rotate(13deg); }.atlas-manifesto-foot { position: absolute; z-index: 5; left: clamp(26px,7vw,146px); bottom: 35px; margin: 0; font-size: 11px; }.atlas-manifesto-foot span { color: var(--atlas-blue); font-size: 18px; }
.atlas-works-chapter, .atlas-notes-chapter, .atlas-daily-chapter { min-height: 100svh; padding: clamp(88px, 10vh, 150px) clamp(26px, 7vw, 146px); background: linear-gradient(180deg, var(--atlas-sky) 0, var(--atlas-paper) clamp(100px, 13vh, 170px), var(--atlas-paper) 100%); color: var(--atlas-ink); font-family: "SFMono-Regular", Consolas, monospace; }.atlas-section-head { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(150px,.72fr) minmax(280px,1.2fr) minmax(230px,.75fr); gap: clamp(20px,4vw,76px); align-items: start; padding-bottom: clamp(36px,5vw,72px); }.atlas-section-head p { margin: 4px 0 0; color: var(--atlas-muted); font-size: 13px; line-height: 1.6; }.atlas-section-head h2, .atlas-notes h2, .atlas-daily h2 { margin: 0; font: 900 clamp(34px,5vw,86px)/.97 Arial,"PingFang SC",sans-serif; letter-spacing: -.055em; }.atlas-project-list { position: relative; z-index: 2; border-top: 1px solid color-mix(in srgb,var(--atlas-ink) 35%,transparent); }.atlas-project { display: grid; grid-template-columns: minmax(52px,.24fr) minmax(170px,.9fr) minmax(220px,1.3fr) minmax(130px,.6fr); gap: 20px; align-items: baseline; padding: clamp(16px,1.8vw,28px) 0; border-bottom: 1px solid color-mix(in srgb,var(--atlas-ink) 35%,transparent); color: inherit; text-decoration: none; transition: padding 220ms ease, color 220ms ease, background 220ms ease; }.atlas-project:hover { padding-left: 18px; color: var(--atlas-blue); background: linear-gradient(90deg,rgba(47,92,224,.08),transparent 68%); }.atlas-project-no,.atlas-project-meta { color: var(--atlas-muted); font-size: 12px; }.atlas-project-name { font: 900 clamp(23px,2.5vw,44px)/1 Arial,"PingFang SC",sans-serif; letter-spacing: -.045em; }.atlas-project-desc { color: var(--atlas-muted); font-size: clamp(13px,1.25vw,18px); line-height: 1.5; }.atlas-project-meta { justify-self: end; text-align: right; }.atlas-section-link { position: relative; z-index: 2; margin: 24px 0 0; text-align: right; }.atlas-section-link a { color: var(--atlas-blue); font-size: 13px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.atlas-spotlight { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(30px,7vw,130px); padding: clamp(86px,10vh,120px) clamp(26px,10vw,190px); font-family: "SFMono-Regular", Consolas, monospace; }.atlas-spotlight-uno { color: #fff6ec; background: linear-gradient(180deg, var(--atlas-paper) 0, #e94b3d clamp(100px, 13vh, 170px), #e94b3d 100%); }.atlas-spotlight-bg { position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 72% 32%,rgba(255,205,84,.72),transparent 18%), radial-gradient(circle at 15% 82%,rgba(255,104,84,.76),transparent 32%), linear-gradient(135deg,#c9273b,#f47747); }.atlas-spotlight-uno::before { content: "UNO"; position: absolute; right: -4vw; bottom: -9vw; color: rgba(255,255,255,.11); font: 900 37vw/1 Arial Black,sans-serif; letter-spacing: -.13em; transform: rotate(-11deg); }.atlas-spotlight-copy { position: relative; z-index: 2; max-width: 580px; }.atlas-kicker { margin: 0 0 28px; font: 11px/1.4 "SFMono-Regular",Consolas,monospace; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }.atlas-spotlight h2 { margin: 0 0 24px; font: 900 clamp(52px,7vw,124px)/.87 Arial,"PingFang SC",sans-serif; letter-spacing: -.08em; }.atlas-spotlight-copy > p:not(.atlas-kicker) { max-width: 34ch; margin: 0 0 34px; font-size: 15px; line-height: 1.7; opacity: .86; }.atlas-button { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; padding: 11px 15px; border: 1px solid currentColor; color: inherit; font: 700 12px/1 Arial,"PingFang SC",sans-serif; text-decoration: none; transition: transform 180ms ease, background 180ms ease, color 180ms ease; }.atlas-button span { font-size: 17px; }.atlas-button:hover,.atlas-button:focus-visible { transform: translateY(-3px); }.atlas-button-dark { background: #16204d; color: #fff6ec; border-color: #16204d; }.atlas-button-dark:hover { background: #fff6ec; color: #16204d; }.atlas-spotlight-art { position: relative; z-index: 2; display: grid; place-items: center; min-height: min(52vh,520px); }.atlas-uno-art img { width: min(100%,560px); aspect-ratio: 1.21; object-fit: cover; border-radius: 47% 53% 46% 54% / 52% 43% 57% 48%; box-shadow: 20px 28px 0 rgba(13,25,71,.18), 0 30px 72px rgba(104,20,28,.32); transform: rotate(5deg); }.atlas-art-label { position: absolute; right: 4%; bottom: 8%; padding: 8px 12px; background: rgba(255,246,236,.9); color: #16204d; font: 700 10px/1 "SFMono-Regular",Consolas,monospace; letter-spacing: .1em; }.atlas-spotlight-handou { color: #153d36; background: #b9e5cb; }.atlas-spotlight-handou::before { content: "字"; position: absolute; left: -4vw; bottom: -15vw; color: rgba(255,255,255,.34); font: 900 48vw/1 serif; }.atlas-button-light { background: #153d36; color: #dff9e6; border-color: #153d36; }.atlas-button-light:hover { background: #dff9e6; color: #153d36; }.atlas-handou-art { min-height: min(47vw,550px); }.atlas-handou-mark { display: grid; place-items: center; width: min(36vw,480px); aspect-ratio: 1; border: 2px solid #153d36; border-radius: 49% 51% 43% 57% / 53% 45% 55% 47%; color: #153d36; background: rgba(244,253,241,.55); box-shadow: 17px 21px 0 rgba(21,61,54,.16); font: 900 clamp(60px,11vw,180px)/1 "PingFang SC",sans-serif; letter-spacing: -.18em; transform: rotate(-8deg); }.atlas-spotlight-handou .atlas-art-label { background: #153d36; color: #dff9e6; }
.atlas-warp { display: grid; place-items: center; min-height: 100svh; background: #07112f; color: #eff4ff; }.atlas-warp-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }.atlas-warp-copy { position: relative; z-index: 2; display: grid; gap: 20px; text-align: center; }.atlas-warp-copy span { color: #a7bddf; font: 11px/1 "SFMono-Regular",Consolas,monospace; letter-spacing: .1em; }.atlas-warp-copy strong { font: 900 clamp(48px,8vw,140px)/.88 Arial,"PingFang SC",sans-serif; letter-spacing: -.08em; }
.atlas-notes-chapter { background: #edf2f8; }.atlas-notes { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(220px,.8fr) minmax(300px,1.2fr); gap: clamp(32px,10vw,180px); align-items: start; margin-top: 0; }.atlas-notes > div > p { margin: 0 0 25px; color: var(--atlas-muted); font-size: 13px; }.atlas-notes h2 { margin-bottom: 34px; }.atlas-button-outline { color: var(--atlas-ink); }.atlas-button-outline:hover { background: var(--atlas-ink); color: var(--atlas-paper); }.atlas-note-list { border-top: 1px solid rgba(13,25,71,.3); }.atlas-note { padding: 22px 0 24px; border-bottom: 1px solid rgba(13,25,71,.3); }.atlas-note time { display: block; margin-bottom: 8px; color: var(--atlas-muted); font-size: 12px; }.atlas-note a { color: inherit; font: 900 clamp(20px,2vw,32px)/1.1 Arial,"PingFang SC",sans-serif; letter-spacing: -.04em; text-decoration: none; }.atlas-note a:hover { color: var(--atlas-blue); }.atlas-note a span { color: var(--atlas-blue); }.atlas-note p { max-width: 62ch; margin: 10px 0 0; color: var(--atlas-muted); font-size: 14px; line-height: 1.65; }
.atlas-notes-chapter { background: linear-gradient(180deg, #e94b3d 0, #edf2f8 clamp(100px, 13vh, 170px), #edf2f8 100%); }
.atlas-daily-chapter { background: var(--atlas-paper); }.atlas-daily { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(220px,.82fr) minmax(300px,1.18fr); gap: clamp(32px,10vw,180px); align-items: center; min-height: 0; margin-top: 0; }.atlas-daily-art { width: min(100%,460px); padding: 14px; border: 1px solid rgba(13,25,71,.28); border-radius: 48% 52% 44% 56% / 54% 43% 57% 46%; transform: rotate(-7deg); }.atlas-daily-art img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: inherit; background: var(--atlas-sky); }.atlas-daily h2 { max-width: 12ch; margin-bottom: 24px; }.atlas-daily > div > p:not(.atlas-kicker) { max-width: 48ch; margin: 0 0 28px; color: var(--atlas-muted); font-size: 15px; line-height: 1.7; }.atlas-reading { position: absolute; right: clamp(26px,7vw,146px); bottom: 35px; left: clamp(26px,7vw,146px); display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(13,25,71,.28); padding-top: 14px; font: 11px/1.4 "SFMono-Regular",Consolas,monospace; }.atlas-reading a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.atlas-daily-chapter { background: linear-gradient(180deg, #edf2f8 0, var(--atlas-paper) clamp(100px, 13vh, 170px), var(--atlas-paper) 100%); }
@media (prefers-reduced-motion: no-preference) { .atlas-sticker-star { animation: atlas-bob 7s ease-in-out infinite alternate; }.atlas-sticker-cloud { animation: atlas-bob 8.5s ease-in-out -3s infinite alternate; }.atlas-sticker-orbit { animation: atlas-bob 9s ease-in-out -2s infinite alternate; } @keyframes atlas-bob { to { margin-top: 12px; } } }
@media (max-width: 860px) { .atlas-header-index { display: none; }.atlas-copy-grid { grid-template-columns: 1fr 1fr; }.atlas-intro { grid-column: 1 / -1; justify-self: start; max-width: 58ch !important; }.atlas-section-head { grid-template-columns: 1fr 1.3fr; }.atlas-section-head > :last-child { grid-column: 2; }.atlas-project { grid-template-columns: 48px 1fr auto; }.atlas-project-desc { grid-column: 2 / 4; }.atlas-project-meta { grid-column: 3; grid-row: 1; }.atlas-spotlight { gap: 28px; padding-right: 7vw; padding-left: 7vw; }.atlas-spotlight h2 { font-size: clamp(48px,7vw,88px); }.atlas-notes { gap: 48px; } }
@media (max-width: 620px) { body.home-atlas-page { overflow: hidden; }.atlas-header { min-height: 58px; padding: 16px 20px; gap: 12px; }.atlas-brand { font-size: 21px; }.atlas-nav { max-width: 230px; gap: 8px 12px; justify-content: flex-end; flex-wrap: wrap; font-size: 10px; line-height: 1; }.atlas-nav a, .atlas-theme-toggle { min-height: 22px; padding: 3px 0; }.atlas-theme-toggle { padding: 4px 5px; }.atlas-copy-grid { top: 91px; left: 20px; right: 20px; gap: 18px; font-size: 10px; line-height: 1.45; }.atlas-role { font-size: 18px; }.atlas-intro { max-width: 42ch !important; }.atlas-guide-c { display: none; }.atlas-guide-h { top: 36%; }.atlas-title { left: 20px; bottom: 88px; font-size: clamp(42px,12.5vw,70px); }.atlas-time { left: 20px; bottom: 32px; font-size: 10px; }.atlas-coordinates { display: none; }.atlas-next { right: 20px; bottom: 25px; }.atlas-next span { display: none; }.atlas-sticker-star { left: 14%; top: 30%; }.atlas-sticker-ring { top: 45%; right: 7%; }.atlas-sticker-note { top: 58%; left: 26%; }.atlas-sticker-arrow { right: -2%; bottom: 24%; }.atlas-sticker-orbit { top: 29%; right: 0; opacity: .82; }.atlas-sticker-cloud { left: 57%; bottom: 17%; }.atlas-manifesto-copy { top: 26px; left: 20px; right: 20px; gap: 12px; font-size: 10px; }.atlas-manifesto-copy p:last-child { text-align: right; }.atlas-manifesto h2 { top: 39%; width: 92vw; font-size: clamp(50px,15vw,76px); }.atlas-sculpture { left: 55%; top: 58%; width: 94vw; height: 66vw; }.atlas-manifesto-sticker-a { top: 18%; left: 11%; }.atlas-manifesto-sticker-b { right: 3%; top: 56%; }.atlas-manifesto-sticker-c { left: 6%; bottom: 18%; border-width: 7px; }.atlas-manifesto-foot { left: 20px; bottom: 49px; font-size: 10px; }.atlas-works-chapter, .atlas-notes-chapter, .atlas-daily-chapter { padding: 100px 20px 112px; }.atlas-section-head { display: block; padding-bottom: 56px; }.atlas-section-head > p:last-child { max-width: 38ch; margin-top: 22px; }.atlas-section-head h2 { font-size: clamp(37px,10.5vw,64px); }.atlas-project { grid-template-columns: 34px 1fr; gap: 8px 14px; padding: 20px 0; }.atlas-project-name { font-size: 25px; }.atlas-project-desc { grid-column: 2; font-size: 12px; }.atlas-project-meta { grid-column: 2; grid-row: auto; justify-self: start; text-align: left; }.atlas-spotlight { display: flex; flex-direction: column; justify-content: center; align-items: stretch; min-height: 100svh; padding: 100px 20px 80px; }.atlas-spotlight-copy { max-width: none; }.atlas-spotlight h2 { font-size: clamp(52px,14vw,78px); }.atlas-spotlight-art { min-height: 42vh; }.atlas-uno-art img { width: min(90vw,410px); }.atlas-handou-art { min-height: 39vh; }.atlas-handou-mark { width: min(70vw,310px); font-size: clamp(70px,20vw,120px); }.atlas-warp-copy strong { font-size: clamp(46px,13vw,75px); }.atlas-notes { display: grid; grid-template-columns: 1fr; gap: 42px; }.atlas-note p { font-size: 12px; }.atlas-daily { display: grid; grid-template-columns: 1fr; gap: 46px; min-height: auto; }.atlas-daily-art { width: min(76vw,310px); margin: 0 0 0 12px; }.atlas-daily h2 { font-size: clamp(40px,11vw,70px); }.atlas-reading { position: relative; right: auto; bottom: auto; left: auto; margin-top: 88px; flex-direction: column; gap: 10px; }.atlas-cloud { filter: blur(20px); }.atlas-canvas { opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .atlas-loader-track span { animation-duration: 180ms; }.atlas-hero::after { transition: none; }.atlas-sticker-star, .atlas-sticker-cloud, .atlas-sticker-orbit { animation: none; }.atlas-scroll { scroll-behavior: auto; }.atlas-button, .atlas-project { transition: none; } }
[data-theme="dark"] body.home-atlas-page { --atlas-paper: #e8eef8; --atlas-ink: #f7f9ff; --atlas-muted: #c2cce0; --atlas-line: rgba(247,249,255,.2); --atlas-sky: #14255d; --atlas-sky-deep: #07112f; --atlas-blue: #7aa0ff; }
[data-theme="dark"] body.home-atlas-page .atlas-works-chapter, [data-theme="dark"] body.home-atlas-page .atlas-daily-chapter { background: #e8eef8; color: #0d1947; }
[data-theme="dark"] body.home-atlas-page .atlas-notes-chapter { background: #152344; color: #f7f9ff; }
@media (max-width: 620px) {
  .atlas-title { left: 20px; right: 14px; bottom: 88px; width: auto; font-size: clamp(38px,10.8vw,62px); letter-spacing: -.08em; }
}

/* ===== 首页 hello 主视觉与背景落点 ===== */
.atlas-hello-halo { position: absolute; z-index: 1; top: 39%; left: 50%; width: min(58vw, 820px); height: min(33vw, 440px); border-radius: 50%; background: radial-gradient(ellipse, rgba(255,255,255,.72) 0%, rgba(122,184,255,.26) 34%, rgba(255,255,255,0) 72%); filter: blur(25px); transform: translate(-50%, -50%) scale(calc(1 + var(--hello-focus, 0))); opacity: .82; pointer-events: none; mix-blend-mode: screen; transition: transform 500ms ease, opacity 500ms ease; }
.atlas-hello-scene { z-index: 2; pointer-events: auto; cursor: grab; }
.atlas-hello-scene:active { cursor: grabbing; }
.atlas-hello-scene canvas { pointer-events: auto; }
.atlas-fallers { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.atlas-fallers .atlas-faller { z-index: 0; top: -18%; right: auto; bottom: auto; left: auto; opacity: .28; filter: saturate(.82) blur(.1px); transform: translate3d(0, -18vh, 0) rotate(var(--fall-angle, 0deg)); animation: atlas-fall 17s linear infinite; }
.atlas-fallers .atlas-faller-a { left: 16%; --fall-angle: 10deg; animation-delay: -3s; animation-duration: 15s; }
.atlas-fallers .atlas-faller-b { left: 45%; --fall-angle: -12deg; animation-delay: -11s; animation-duration: 21s; }
.atlas-fallers .atlas-faller-c { left: 29%; --fall-angle: 9deg; animation-delay: -6s; animation-duration: 18s; }
.atlas-fallers .atlas-faller-d { left: 81%; --fall-angle: -18deg; animation-delay: -13s; animation-duration: 23s; }
.atlas-fallers .atlas-faller-e { left: 68%; --fall-angle: 8deg; animation-delay: -4s; animation-duration: 19s; }
.atlas-fallers .atlas-faller-f { left: 55%; --fall-angle: -6deg; animation-delay: -9s; animation-duration: 24s; }
@keyframes atlas-fall { 0% { transform: translate3d(0, -18vh, 0) rotate(var(--fall-angle, 0deg)); opacity: 0; } 12% { opacity: .28; } 55% { transform: translate3d(4vw, 53vh, 0) rotate(calc(var(--fall-angle, 0deg) + 80deg)); opacity: .22; } 100% { transform: translate3d(-5vw, 124vh, 0) rotate(calc(var(--fall-angle, 0deg) + 180deg)); opacity: 0; } }
.atlas-warp { --warp-progress: 0; --warp-focus: 0; background: radial-gradient(circle at 50% calc(50% + (var(--warp-focus) * 12%)), rgba(52,90,190,.26), transparent 36%), linear-gradient(180deg, var(--atlas-paper) 0, #07112f clamp(110px, 15vh, 190px), #050b26 100%); transition: background 450ms ease; }
.atlas-warp::before { content: ""; position: absolute; z-index: 1; inset: 8%; border: 1px solid rgba(131,165,255,.16); border-radius: 50%; transform: scale(calc(.58 + var(--warp-focus) * .58)); opacity: calc(.18 + var(--warp-focus) * .48); box-shadow: 0 0 90px rgba(80,134,255,.25), inset 0 0 90px rgba(80,134,255,.13); pointer-events: none; }
.atlas-warp::after { content: ""; position: absolute; z-index: 1; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 4px, rgba(255,255,255,.025) 5px 6px); mix-blend-mode: screen; opacity: calc(.2 + var(--warp-focus) * .4); pointer-events: none; }
.atlas-warp-noise { position: absolute; z-index: 1; inset: 0; opacity: calc(.04 + var(--warp-focus) * .14); background-image: radial-gradient(circle at 20% 30%, #ff5a8e 0 1px, transparent 2px), radial-gradient(circle at 70% 65%, #7aa0ff 0 1px, transparent 2px), radial-gradient(circle at 52% 18%, #ffd45c 0 1px, transparent 2px); background-size: 110px 130px, 150px 170px, 90px 120px; animation: atlas-warp-noise 8s linear infinite; pointer-events: none; }
.atlas-warp-copy { transform: translateY(calc((.5 - var(--warp-focus)) * 34px)) scale(calc(.86 + var(--warp-focus) * .14)); opacity: calc(.28 + var(--warp-focus) * .72); filter: blur(calc((1 - var(--warp-focus)) * 2px)); transition: transform 350ms ease, opacity 350ms ease, filter 350ms ease; }
.atlas-warp-copy small { max-width: 34ch; margin: 0 auto; color: rgba(222,233,255,.68); font: 13px/1.7 "SFMono-Regular", Consolas, monospace; }
@keyframes atlas-warp-noise { to { background-position: 110px 130px, -150px 170px, 90px -120px; } }
.atlas-warp { background: radial-gradient(circle at 50% calc(50% + (var(--warp-focus) * 12%)), rgba(52,90,190,.26), transparent 36%), linear-gradient(180deg, var(--atlas-paper) 0, #07112f clamp(110px, 15vh, 190px), #050b26 100%); }

/* Fixed-scene drawer scroll: chapter textures stay pinned while content moves. */
.atlas-background-stage {
  position: fixed;
  z-index: 0;
  inset: 0;
  height: 100svh;
  background-color: var(--atlas-sky);
  background-image:
    radial-gradient(circle at 24% 18%, rgba(255,255,255,.76), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(109,213,233,.32), transparent 31%),
    linear-gradient(135deg, var(--atlas-sky), var(--atlas-sky-deep));
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}
.atlas-scroll { scroll-padding-top: 0; perspective: none; }
.atlas-chapter--drawer {
  --drawer-progress: 0;
  position: sticky;
  top: 0;
  z-index: calc(10 + var(--drawer-index, 0));
  min-height: 100svh;
  overflow: hidden;
  scroll-snap-stop: normal;
  transform-style: flat;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  box-shadow: 0 -22px 58px rgba(7, 17, 47, .16);
}
.atlas-chapter--content {
  z-index: calc(10 + var(--drawer-index, 0));
  min-height: 100svh;
  overflow: visible;
  scroll-snap-stop: normal;
}
.atlas-chapter--drawer::before {
  content: "";
  position: absolute;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background: rgba(5, 17, 48, .2);
  transition: opacity 80ms linear;
}
.atlas-chapter--drawer.is-drawer-active::before { opacity: 0; }
.atlas-hero {
  background-color: transparent;
  background-image:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.84), transparent 25%),
    radial-gradient(circle at 81% 61%, rgba(110,213,233,.36), transparent 29%);
  box-shadow: none;
}
.atlas-manifesto,
.atlas-works-chapter,
.atlas-spotlight,
.atlas-notes-chapter,
.atlas-daily-chapter,
.atlas-warp {
  border-top: 1px solid rgba(255,255,255,.24);
}
.atlas-manifesto {
  background-color: var(--atlas-sky);
  background-image:
    radial-gradient(circle at 76% 24%, rgba(255,255,255,.66), transparent 34%),
    linear-gradient(rgba(13,25,71,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,25,71,.07) 1px, transparent 1px);
  background-size: cover, 33.33vw 33.33vh, 33.33vw 33.33vh !important;
}
.atlas-works-chapter {
  background-color: var(--atlas-sky);
  background-image:
    radial-gradient(circle at 76% 24%, rgba(255,255,255,.66), transparent 34%),
    linear-gradient(rgba(13,25,71,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,25,71,.07) 1px, transparent 1px);
  background-size: cover, 33.33vw 33.33vh, 33.33vw 33.33vh !important;
}
.atlas-spotlight-uno {
  background-color: #e94b3d;
  background-image:
    radial-gradient(circle at 72% 32%, rgba(255,205,84,.72), transparent 18%),
    radial-gradient(circle at 15% 82%, rgba(255,104,84,.76), transparent 32%),
    linear-gradient(135deg, #c9273b, #f47747);
}
.atlas-spotlight-bg { background: transparent; }
.atlas-notes-chapter {
  background-color: #edf2f8;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(199,231,245,.8), transparent 28%),
    linear-gradient(rgba(13,25,71,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,25,71,.045) 1px, transparent 1px);
  background-size: cover, 20vw 20vh, 20vw 20vh !important;
}
.atlas-daily-chapter {
  background-color: var(--atlas-paper);
  background-image:
    radial-gradient(circle at 82% 68%, rgba(255,202,76,.16), transparent 28%),
    radial-gradient(circle at 18% 25%, rgba(199,231,245,.64), transparent 28%);
}
.atlas-warp {
  background-color: #050b26;
  background-image:
    radial-gradient(circle at 50% calc(50% + (var(--warp-focus) * 12%)), rgba(52,90,190,.26), transparent 36%),
    linear-gradient(180deg, #07112f, #050b26);
}
@media (max-width: 620px) {
  .atlas-hello-halo { top: 43%; width: 105vw; height: 62vw; filter: blur(18px); }
  .atlas-mouse-light { opacity: .62; }
  .atlas-mouse-light::before { filter: blur(14px); }
  .atlas-mouse-light::after { width: 104vw; height: 30vw; filter: blur(18px); }
  .atlas-fallers .atlas-faller { opacity: .2; }
  .atlas-fallers .atlas-faller-d, .atlas-fallers .atlas-faller-e { display: none; }
  .atlas-warp-copy small { padding: 0 30px; font-size: 11px; }
  .atlas-works-chapter, .atlas-notes-chapter, .atlas-daily-chapter { padding: 86px 20px 90px; }
  .atlas-section-head { padding-bottom: 42px; }
  .atlas-spotlight { padding: 86px 20px 70px; }
  .atlas-spotlight-art { min-height: 36vh; }
  .atlas-daily { gap: 34px; min-height: 0; }
  .atlas-reading { margin-top: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .atlas-fallers .atlas-faller, .atlas-warp-noise { animation: none; }
  .atlas-hello-halo, .atlas-warp-copy { transition: none; }
  .atlas-mouse-light { opacity: .58; }
}

/* 首页与内页共用同一套居中导航，移动端恢复为右侧自适应排列。 */
.atlas-header .atlas-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  justify-content: center;
}
@media (max-width: 620px) {
  .atlas-header .atlas-nav {
    position: static;
    transform: none;
    margin-left: auto;
    justify-content: flex-end;
  }
}

/* ===== 首页第 08 章：备案与版权（抽屉收尾）===== */
.atlas-legal-chapter {
  background-color: #050b26;
  background-image: linear-gradient(180deg, #07112f, #050b26);
  color: #c4d4ee;
  display: grid; place-items: center;
}
.atlas-legal-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  text-align: center; padding: 40px 24px;
}
.atlas-legal-copy { margin: 0; font: 11px/1.6 "SFMono-Regular", Consolas, monospace; color: #7e98c4; letter-spacing: .04em; }
.atlas-legal-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 30px; }
.atlas-legal-badge {
  display: inline-flex; align-items: center; gap: 8px;
  color: #c4d4ee; text-decoration: none; white-space: nowrap;
  transition: color 150ms ease;
}
.atlas-legal-badge:hover { color: #fff; }
.atlas-legal-icon { width: 16px; height: 16px; flex-shrink: 0; }
.atlas-legal-badge img { width: 16px; height: 18px; object-fit: contain; }
@media (max-width: 620px) {
  .atlas-legal-badges { gap: 12px 18px; }
  .atlas-legal-badge span { font-size: 10px; }
}

/* 内页导航与首页使用同一条视口中心线，避免滚动条让导航向左偏移。 */
.site-header {
  width: 100vw;
  right: auto;
}
.site-nav {
  font-weight: 700;
}

/* 作品页内容至少占满一整个视口，页脚不会提前出现在首屏底部。 */
body.works-page main {
  min-height: 100vh;
}

/* 内页移动端沿用首页的导航密度与断点。 */
@media (max-width: 620px) {
  .site-header {
    align-items: center;
    min-height: 58px;
    padding: 16px 20px;
    gap: 12px;
  }
  .site-brand { font-size: 21px; }
  .site-nav {
    position: static;
    transform: none;
    max-width: 230px;
    margin-left: auto;
    justify-content: flex-end;
    gap: 8px 12px;
    flex-wrap: wrap;
    font-size: 10px;
    line-height: 1;
  }
  .site-nav-link { min-height: 22px; padding: 3px 0; }
}
